Documentation ¶
Index ¶
- type Client
- func (a *Client) ListAlibabaInstanceTypes(params *ListAlibabaInstanceTypesParams, authInfo runtime.ClientAuthInfoWriter) (*ListAlibabaInstanceTypesOK, error)
- func (a *Client) ListAlibabaInstanceTypesNoCredentials(params *ListAlibabaInstanceTypesNoCredentialsParams, ...) (*ListAlibabaInstanceTypesNoCredentialsOK, error)
- func (a *Client) ListAlibabaZones(params *ListAlibabaZonesParams, authInfo runtime.ClientAuthInfoWriter) (*ListAlibabaZonesOK, error)
- func (a *Client) ListAlibabaZonesNoCredentials(params *ListAlibabaZonesNoCredentialsParams, ...) (*ListAlibabaZonesNoCredentialsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type ListAlibabaInstanceTypesDefault
- type ListAlibabaInstanceTypesNoCredentialsDefault
- type ListAlibabaInstanceTypesNoCredentialsOK
- type ListAlibabaInstanceTypesNoCredentialsParams
- func NewListAlibabaInstanceTypesNoCredentialsParams() *ListAlibabaInstanceTypesNoCredentialsParams
- func NewListAlibabaInstanceTypesNoCredentialsParamsWithContext(ctx context.Context) *ListAlibabaInstanceTypesNoCredentialsParams
- func NewListAlibabaInstanceTypesNoCredentialsParamsWithHTTPClient(client *http.Client) *ListAlibabaInstanceTypesNoCredentialsParams
- func NewListAlibabaInstanceTypesNoCredentialsParamsWithTimeout(timeout time.Duration) *ListAlibabaInstanceTypesNoCredentialsParams
- func (o *ListAlibabaInstanceTypesNoCredentialsParams) SetClusterID(clusterID string)
- func (o *ListAlibabaInstanceTypesNoCredentialsParams) SetContext(ctx context.Context)
- func (o *ListAlibabaInstanceTypesNoCredentialsParams) SetDC(dc string)
- func (o *ListAlibabaInstanceTypesNoCredentialsParams) SetHTTPClient(client *http.Client)
- func (o *ListAlibabaInstanceTypesNoCredentialsParams) SetProjectID(projectID string)
- func (o *ListAlibabaInstanceTypesNoCredentialsParams) SetRegion(region *string)
- func (o *ListAlibabaInstanceTypesNoCredentialsParams) SetTimeout(timeout time.Duration)
- func (o *ListAlibabaInstanceTypesNoCredentialsParams) WithClusterID(clusterID string) *ListAlibabaInstanceTypesNoCredentialsParams
- func (o *ListAlibabaInstanceTypesNoCredentialsParams) WithContext(ctx context.Context) *ListAlibabaInstanceTypesNoCredentialsParams
- func (o *ListAlibabaInstanceTypesNoCredentialsParams) WithDC(dc string) *ListAlibabaInstanceTypesNoCredentialsParams
- func (o *ListAlibabaInstanceTypesNoCredentialsParams) WithHTTPClient(client *http.Client) *ListAlibabaInstanceTypesNoCredentialsParams
- func (o *ListAlibabaInstanceTypesNoCredentialsParams) WithProjectID(projectID string) *ListAlibabaInstanceTypesNoCredentialsParams
- func (o *ListAlibabaInstanceTypesNoCredentialsParams) WithRegion(region *string) *ListAlibabaInstanceTypesNoCredentialsParams
- func (o *ListAlibabaInstanceTypesNoCredentialsParams) WithTimeout(timeout time.Duration) *ListAlibabaInstanceTypesNoCredentialsParams
- func (o *ListAlibabaInstanceTypesNoCredentialsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListAlibabaInstanceTypesNoCredentialsReader
- type ListAlibabaInstanceTypesOK
- type ListAlibabaInstanceTypesParams
- func NewListAlibabaInstanceTypesParams() *ListAlibabaInstanceTypesParams
- func NewListAlibabaInstanceTypesParamsWithContext(ctx context.Context) *ListAlibabaInstanceTypesParams
- func NewListAlibabaInstanceTypesParamsWithHTTPClient(client *http.Client) *ListAlibabaInstanceTypesParams
- func NewListAlibabaInstanceTypesParamsWithTimeout(timeout time.Duration) *ListAlibabaInstanceTypesParams
- func (o *ListAlibabaInstanceTypesParams) SetAccessKeyID(accessKeyID *string)
- func (o *ListAlibabaInstanceTypesParams) SetAccessKeySecret(accessKeySecret *string)
- func (o *ListAlibabaInstanceTypesParams) SetContext(ctx context.Context)
- func (o *ListAlibabaInstanceTypesParams) SetCredential(credential *string)
- func (o *ListAlibabaInstanceTypesParams) SetHTTPClient(client *http.Client)
- func (o *ListAlibabaInstanceTypesParams) SetRegion(region *string)
- func (o *ListAlibabaInstanceTypesParams) SetTimeout(timeout time.Duration)
- func (o *ListAlibabaInstanceTypesParams) WithAccessKeyID(accessKeyID *string) *ListAlibabaInstanceTypesParams
- func (o *ListAlibabaInstanceTypesParams) WithAccessKeySecret(accessKeySecret *string) *ListAlibabaInstanceTypesParams
- func (o *ListAlibabaInstanceTypesParams) WithContext(ctx context.Context) *ListAlibabaInstanceTypesParams
- func (o *ListAlibabaInstanceTypesParams) WithCredential(credential *string) *ListAlibabaInstanceTypesParams
- func (o *ListAlibabaInstanceTypesParams) WithHTTPClient(client *http.Client) *ListAlibabaInstanceTypesParams
- func (o *ListAlibabaInstanceTypesParams) WithRegion(region *string) *ListAlibabaInstanceTypesParams
- func (o *ListAlibabaInstanceTypesParams) WithTimeout(timeout time.Duration) *ListAlibabaInstanceTypesParams
- func (o *ListAlibabaInstanceTypesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListAlibabaInstanceTypesReader
- type ListAlibabaZonesDefault
- type ListAlibabaZonesNoCredentialsDefault
- type ListAlibabaZonesNoCredentialsOK
- type ListAlibabaZonesNoCredentialsParams
- func NewListAlibabaZonesNoCredentialsParams() *ListAlibabaZonesNoCredentialsParams
- func NewListAlibabaZonesNoCredentialsParamsWithContext(ctx context.Context) *ListAlibabaZonesNoCredentialsParams
- func NewListAlibabaZonesNoCredentialsParamsWithHTTPClient(client *http.Client) *ListAlibabaZonesNoCredentialsParams
- func NewListAlibabaZonesNoCredentialsParamsWithTimeout(timeout time.Duration) *ListAlibabaZonesNoCredentialsParams
- func (o *ListAlibabaZonesNoCredentialsParams) SetClusterID(clusterID string)
- func (o *ListAlibabaZonesNoCredentialsParams) SetContext(ctx context.Context)
- func (o *ListAlibabaZonesNoCredentialsParams) SetDC(dc string)
- func (o *ListAlibabaZonesNoCredentialsParams) SetHTTPClient(client *http.Client)
- func (o *ListAlibabaZonesNoCredentialsParams) SetProjectID(projectID string)
- func (o *ListAlibabaZonesNoCredentialsParams) SetRegion(region *string)
- func (o *ListAlibabaZonesNoCredentialsParams) SetTimeout(timeout time.Duration)
- func (o *ListAlibabaZonesNoCredentialsParams) WithClusterID(clusterID string) *ListAlibabaZonesNoCredentialsParams
- func (o *ListAlibabaZonesNoCredentialsParams) WithContext(ctx context.Context) *ListAlibabaZonesNoCredentialsParams
- func (o *ListAlibabaZonesNoCredentialsParams) WithDC(dc string) *ListAlibabaZonesNoCredentialsParams
- func (o *ListAlibabaZonesNoCredentialsParams) WithHTTPClient(client *http.Client) *ListAlibabaZonesNoCredentialsParams
- func (o *ListAlibabaZonesNoCredentialsParams) WithProjectID(projectID string) *ListAlibabaZonesNoCredentialsParams
- func (o *ListAlibabaZonesNoCredentialsParams) WithRegion(region *string) *ListAlibabaZonesNoCredentialsParams
- func (o *ListAlibabaZonesNoCredentialsParams) WithTimeout(timeout time.Duration) *ListAlibabaZonesNoCredentialsParams
- func (o *ListAlibabaZonesNoCredentialsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListAlibabaZonesNoCredentialsReader
- type ListAlibabaZonesOK
- type ListAlibabaZonesParams
- func NewListAlibabaZonesParams() *ListAlibabaZonesParams
- func NewListAlibabaZonesParamsWithContext(ctx context.Context) *ListAlibabaZonesParams
- func NewListAlibabaZonesParamsWithHTTPClient(client *http.Client) *ListAlibabaZonesParams
- func NewListAlibabaZonesParamsWithTimeout(timeout time.Duration) *ListAlibabaZonesParams
- func (o *ListAlibabaZonesParams) SetAccessKeyID(accessKeyID *string)
- func (o *ListAlibabaZonesParams) SetAccessKeySecret(accessKeySecret *string)
- func (o *ListAlibabaZonesParams) SetContext(ctx context.Context)
- func (o *ListAlibabaZonesParams) SetCredential(credential *string)
- func (o *ListAlibabaZonesParams) SetHTTPClient(client *http.Client)
- func (o *ListAlibabaZonesParams) SetRegion(region *string)
- func (o *ListAlibabaZonesParams) SetTimeout(timeout time.Duration)
- func (o *ListAlibabaZonesParams) WithAccessKeyID(accessKeyID *string) *ListAlibabaZonesParams
- func (o *ListAlibabaZonesParams) WithAccessKeySecret(accessKeySecret *string) *ListAlibabaZonesParams
- func (o *ListAlibabaZonesParams) WithContext(ctx context.Context) *ListAlibabaZonesParams
- func (o *ListAlibabaZonesParams) WithCredential(credential *string) *ListAlibabaZonesParams
- func (o *ListAlibabaZonesParams) WithHTTPClient(client *http.Client) *ListAlibabaZonesParams
- func (o *ListAlibabaZonesParams) WithRegion(region *string) *ListAlibabaZonesParams
- func (o *ListAlibabaZonesParams) WithTimeout(timeout time.Duration) *ListAlibabaZonesParams
- func (o *ListAlibabaZonesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListAlibabaZonesReader
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 alibaba API
func (*Client) ListAlibabaInstanceTypes ¶
func (a *Client) ListAlibabaInstanceTypes(params *ListAlibabaInstanceTypesParams, authInfo runtime.ClientAuthInfoWriter) (*ListAlibabaInstanceTypesOK, error)
ListAlibabaInstanceTypes lists available alibaba instance types
func (*Client) ListAlibabaInstanceTypesNoCredentials ¶
func (a *Client) ListAlibabaInstanceTypesNoCredentials(params *ListAlibabaInstanceTypesNoCredentialsParams, authInfo runtime.ClientAuthInfoWriter) (*ListAlibabaInstanceTypesNoCredentialsOK, error)
ListAlibabaInstanceTypesNoCredentials Lists available Alibaba Instance Types
func (*Client) ListAlibabaZones ¶
func (a *Client) ListAlibabaZones(params *ListAlibabaZonesParams, authInfo runtime.ClientAuthInfoWriter) (*ListAlibabaZonesOK, error)
ListAlibabaZones lists available alibaba zones
func (*Client) ListAlibabaZonesNoCredentials ¶
func (a *Client) ListAlibabaZonesNoCredentials(params *ListAlibabaZonesNoCredentialsParams, authInfo runtime.ClientAuthInfoWriter) (*ListAlibabaZonesNoCredentialsOK, error)
ListAlibabaZonesNoCredentials Lists available Alibaba Instance Types
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { ListAlibabaInstanceTypes(params *ListAlibabaInstanceTypesParams, authInfo runtime.ClientAuthInfoWriter) (*ListAlibabaInstanceTypesOK, error) ListAlibabaInstanceTypesNoCredentials(params *ListAlibabaInstanceTypesNoCredentialsParams, authInfo runtime.ClientAuthInfoWriter) (*ListAlibabaInstanceTypesNoCredentialsOK, error) ListAlibabaZones(params *ListAlibabaZonesParams, authInfo runtime.ClientAuthInfoWriter) (*ListAlibabaZonesOK, error) ListAlibabaZonesNoCredentials(params *ListAlibabaZonesNoCredentialsParams, authInfo runtime.ClientAuthInfoWriter) (*ListAlibabaZonesNoCredentialsOK, 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 alibaba API client.
type ListAlibabaInstanceTypesDefault ¶
type ListAlibabaInstanceTypesDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
ListAlibabaInstanceTypesDefault handles this case with default header values.
errorResponse
func NewListAlibabaInstanceTypesDefault ¶
func NewListAlibabaInstanceTypesDefault(code int) *ListAlibabaInstanceTypesDefault
NewListAlibabaInstanceTypesDefault creates a ListAlibabaInstanceTypesDefault with default headers values
func (*ListAlibabaInstanceTypesDefault) Code ¶
func (o *ListAlibabaInstanceTypesDefault) Code() int
Code gets the status code for the list alibaba instance types default response
func (*ListAlibabaInstanceTypesDefault) Error ¶
func (o *ListAlibabaInstanceTypesDefault) Error() string
func (*ListAlibabaInstanceTypesDefault) GetPayload ¶
func (o *ListAlibabaInstanceTypesDefault) GetPayload() *models.ErrorResponse
type ListAlibabaInstanceTypesNoCredentialsDefault ¶
type ListAlibabaInstanceTypesNoCredentialsDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
ListAlibabaInstanceTypesNoCredentialsDefault handles this case with default header values.
errorResponse
func NewListAlibabaInstanceTypesNoCredentialsDefault ¶
func NewListAlibabaInstanceTypesNoCredentialsDefault(code int) *ListAlibabaInstanceTypesNoCredentialsDefault
NewListAlibabaInstanceTypesNoCredentialsDefault creates a ListAlibabaInstanceTypesNoCredentialsDefault with default headers values
func (*ListAlibabaInstanceTypesNoCredentialsDefault) Code ¶
func (o *ListAlibabaInstanceTypesNoCredentialsDefault) Code() int
Code gets the status code for the list alibaba instance types no credentials default response
func (*ListAlibabaInstanceTypesNoCredentialsDefault) Error ¶
func (o *ListAlibabaInstanceTypesNoCredentialsDefault) Error() string
func (*ListAlibabaInstanceTypesNoCredentialsDefault) GetPayload ¶
func (o *ListAlibabaInstanceTypesNoCredentialsDefault) GetPayload() *models.ErrorResponse
type ListAlibabaInstanceTypesNoCredentialsOK ¶
type ListAlibabaInstanceTypesNoCredentialsOK struct {
Payload models.AlibabaInstanceTypeList
}
ListAlibabaInstanceTypesNoCredentialsOK handles this case with default header values.
AlibabaInstanceTypeList
func NewListAlibabaInstanceTypesNoCredentialsOK ¶
func NewListAlibabaInstanceTypesNoCredentialsOK() *ListAlibabaInstanceTypesNoCredentialsOK
NewListAlibabaInstanceTypesNoCredentialsOK creates a ListAlibabaInstanceTypesNoCredentialsOK with default headers values
func (*ListAlibabaInstanceTypesNoCredentialsOK) Error ¶
func (o *ListAlibabaInstanceTypesNoCredentialsOK) Error() string
func (*ListAlibabaInstanceTypesNoCredentialsOK) GetPayload ¶
func (o *ListAlibabaInstanceTypesNoCredentialsOK) GetPayload() models.AlibabaInstanceTypeList
type ListAlibabaInstanceTypesNoCredentialsParams ¶
type ListAlibabaInstanceTypesNoCredentialsParams struct { /*Region*/ Region *string /*ClusterID*/ ClusterID string /*Dc*/ DC string /*ProjectID*/ ProjectID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListAlibabaInstanceTypesNoCredentialsParams contains all the parameters to send to the API endpoint for the list alibaba instance types no credentials operation typically these are written to a http.Request
func NewListAlibabaInstanceTypesNoCredentialsParams ¶
func NewListAlibabaInstanceTypesNoCredentialsParams() *ListAlibabaInstanceTypesNoCredentialsParams
NewListAlibabaInstanceTypesNoCredentialsParams creates a new ListAlibabaInstanceTypesNoCredentialsParams object with the default values initialized.
func NewListAlibabaInstanceTypesNoCredentialsParamsWithContext ¶
func NewListAlibabaInstanceTypesNoCredentialsParamsWithContext(ctx context.Context) *ListAlibabaInstanceTypesNoCredentialsParams
NewListAlibabaInstanceTypesNoCredentialsParamsWithContext creates a new ListAlibabaInstanceTypesNoCredentialsParams object with the default values initialized, and the ability to set a context for a request
func NewListAlibabaInstanceTypesNoCredentialsParamsWithHTTPClient ¶
func NewListAlibabaInstanceTypesNoCredentialsParamsWithHTTPClient(client *http.Client) *ListAlibabaInstanceTypesNoCredentialsParams
NewListAlibabaInstanceTypesNoCredentialsParamsWithHTTPClient creates a new ListAlibabaInstanceTypesNoCredentialsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListAlibabaInstanceTypesNoCredentialsParamsWithTimeout ¶
func NewListAlibabaInstanceTypesNoCredentialsParamsWithTimeout(timeout time.Duration) *ListAlibabaInstanceTypesNoCredentialsParams
NewListAlibabaInstanceTypesNoCredentialsParamsWithTimeout creates a new ListAlibabaInstanceTypesNoCredentialsParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListAlibabaInstanceTypesNoCredentialsParams) SetClusterID ¶
func (o *ListAlibabaInstanceTypesNoCredentialsParams) SetClusterID(clusterID string)
SetClusterID adds the clusterId to the list alibaba instance types no credentials params
func (*ListAlibabaInstanceTypesNoCredentialsParams) SetContext ¶
func (o *ListAlibabaInstanceTypesNoCredentialsParams) SetContext(ctx context.Context)
SetContext adds the context to the list alibaba instance types no credentials params
func (*ListAlibabaInstanceTypesNoCredentialsParams) SetDC ¶
func (o *ListAlibabaInstanceTypesNoCredentialsParams) SetDC(dc string)
SetDC adds the dc to the list alibaba instance types no credentials params
func (*ListAlibabaInstanceTypesNoCredentialsParams) SetHTTPClient ¶
func (o *ListAlibabaInstanceTypesNoCredentialsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list alibaba instance types no credentials params
func (*ListAlibabaInstanceTypesNoCredentialsParams) SetProjectID ¶
func (o *ListAlibabaInstanceTypesNoCredentialsParams) SetProjectID(projectID string)
SetProjectID adds the projectId to the list alibaba instance types no credentials params
func (*ListAlibabaInstanceTypesNoCredentialsParams) SetRegion ¶
func (o *ListAlibabaInstanceTypesNoCredentialsParams) SetRegion(region *string)
SetRegion adds the region to the list alibaba instance types no credentials params
func (*ListAlibabaInstanceTypesNoCredentialsParams) SetTimeout ¶
func (o *ListAlibabaInstanceTypesNoCredentialsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list alibaba instance types no credentials params
func (*ListAlibabaInstanceTypesNoCredentialsParams) WithClusterID ¶
func (o *ListAlibabaInstanceTypesNoCredentialsParams) WithClusterID(clusterID string) *ListAlibabaInstanceTypesNoCredentialsParams
WithClusterID adds the clusterID to the list alibaba instance types no credentials params
func (*ListAlibabaInstanceTypesNoCredentialsParams) WithContext ¶
func (o *ListAlibabaInstanceTypesNoCredentialsParams) WithContext(ctx context.Context) *ListAlibabaInstanceTypesNoCredentialsParams
WithContext adds the context to the list alibaba instance types no credentials params
func (*ListAlibabaInstanceTypesNoCredentialsParams) WithDC ¶
func (o *ListAlibabaInstanceTypesNoCredentialsParams) WithDC(dc string) *ListAlibabaInstanceTypesNoCredentialsParams
WithDC adds the dc to the list alibaba instance types no credentials params
func (*ListAlibabaInstanceTypesNoCredentialsParams) WithHTTPClient ¶
func (o *ListAlibabaInstanceTypesNoCredentialsParams) WithHTTPClient(client *http.Client) *ListAlibabaInstanceTypesNoCredentialsParams
WithHTTPClient adds the HTTPClient to the list alibaba instance types no credentials params
func (*ListAlibabaInstanceTypesNoCredentialsParams) WithProjectID ¶
func (o *ListAlibabaInstanceTypesNoCredentialsParams) WithProjectID(projectID string) *ListAlibabaInstanceTypesNoCredentialsParams
WithProjectID adds the projectID to the list alibaba instance types no credentials params
func (*ListAlibabaInstanceTypesNoCredentialsParams) WithRegion ¶
func (o *ListAlibabaInstanceTypesNoCredentialsParams) WithRegion(region *string) *ListAlibabaInstanceTypesNoCredentialsParams
WithRegion adds the region to the list alibaba instance types no credentials params
func (*ListAlibabaInstanceTypesNoCredentialsParams) WithTimeout ¶
func (o *ListAlibabaInstanceTypesNoCredentialsParams) WithTimeout(timeout time.Duration) *ListAlibabaInstanceTypesNoCredentialsParams
WithTimeout adds the timeout to the list alibaba instance types no credentials params
func (*ListAlibabaInstanceTypesNoCredentialsParams) WriteToRequest ¶
func (o *ListAlibabaInstanceTypesNoCredentialsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListAlibabaInstanceTypesNoCredentialsReader ¶
type ListAlibabaInstanceTypesNoCredentialsReader struct {
// contains filtered or unexported fields
}
ListAlibabaInstanceTypesNoCredentialsReader is a Reader for the ListAlibabaInstanceTypesNoCredentials structure.
func (*ListAlibabaInstanceTypesNoCredentialsReader) ReadResponse ¶
func (o *ListAlibabaInstanceTypesNoCredentialsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListAlibabaInstanceTypesOK ¶
type ListAlibabaInstanceTypesOK struct {
Payload models.AlibabaInstanceTypeList
}
ListAlibabaInstanceTypesOK handles this case with default header values.
AlibabaInstanceTypeList
func NewListAlibabaInstanceTypesOK ¶
func NewListAlibabaInstanceTypesOK() *ListAlibabaInstanceTypesOK
NewListAlibabaInstanceTypesOK creates a ListAlibabaInstanceTypesOK with default headers values
func (*ListAlibabaInstanceTypesOK) Error ¶
func (o *ListAlibabaInstanceTypesOK) Error() string
func (*ListAlibabaInstanceTypesOK) GetPayload ¶
func (o *ListAlibabaInstanceTypesOK) GetPayload() models.AlibabaInstanceTypeList
type ListAlibabaInstanceTypesParams ¶
type ListAlibabaInstanceTypesParams struct { /*AccessKeyID*/ AccessKeyID *string /*AccessKeySecret*/ AccessKeySecret *string /*Credential*/ Credential *string /*Region*/ Region *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListAlibabaInstanceTypesParams contains all the parameters to send to the API endpoint for the list alibaba instance types operation typically these are written to a http.Request
func NewListAlibabaInstanceTypesParams ¶
func NewListAlibabaInstanceTypesParams() *ListAlibabaInstanceTypesParams
NewListAlibabaInstanceTypesParams creates a new ListAlibabaInstanceTypesParams object with the default values initialized.
func NewListAlibabaInstanceTypesParamsWithContext ¶
func NewListAlibabaInstanceTypesParamsWithContext(ctx context.Context) *ListAlibabaInstanceTypesParams
NewListAlibabaInstanceTypesParamsWithContext creates a new ListAlibabaInstanceTypesParams object with the default values initialized, and the ability to set a context for a request
func NewListAlibabaInstanceTypesParamsWithHTTPClient ¶
func NewListAlibabaInstanceTypesParamsWithHTTPClient(client *http.Client) *ListAlibabaInstanceTypesParams
NewListAlibabaInstanceTypesParamsWithHTTPClient creates a new ListAlibabaInstanceTypesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListAlibabaInstanceTypesParamsWithTimeout ¶
func NewListAlibabaInstanceTypesParamsWithTimeout(timeout time.Duration) *ListAlibabaInstanceTypesParams
NewListAlibabaInstanceTypesParamsWithTimeout creates a new ListAlibabaInstanceTypesParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListAlibabaInstanceTypesParams) SetAccessKeyID ¶
func (o *ListAlibabaInstanceTypesParams) SetAccessKeyID(accessKeyID *string)
SetAccessKeyID adds the accessKeyId to the list alibaba instance types params
func (*ListAlibabaInstanceTypesParams) SetAccessKeySecret ¶
func (o *ListAlibabaInstanceTypesParams) SetAccessKeySecret(accessKeySecret *string)
SetAccessKeySecret adds the accessKeySecret to the list alibaba instance types params
func (*ListAlibabaInstanceTypesParams) SetContext ¶
func (o *ListAlibabaInstanceTypesParams) SetContext(ctx context.Context)
SetContext adds the context to the list alibaba instance types params
func (*ListAlibabaInstanceTypesParams) SetCredential ¶
func (o *ListAlibabaInstanceTypesParams) SetCredential(credential *string)
SetCredential adds the credential to the list alibaba instance types params
func (*ListAlibabaInstanceTypesParams) SetHTTPClient ¶
func (o *ListAlibabaInstanceTypesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list alibaba instance types params
func (*ListAlibabaInstanceTypesParams) SetRegion ¶
func (o *ListAlibabaInstanceTypesParams) SetRegion(region *string)
SetRegion adds the region to the list alibaba instance types params
func (*ListAlibabaInstanceTypesParams) SetTimeout ¶
func (o *ListAlibabaInstanceTypesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list alibaba instance types params
func (*ListAlibabaInstanceTypesParams) WithAccessKeyID ¶
func (o *ListAlibabaInstanceTypesParams) WithAccessKeyID(accessKeyID *string) *ListAlibabaInstanceTypesParams
WithAccessKeyID adds the accessKeyID to the list alibaba instance types params
func (*ListAlibabaInstanceTypesParams) WithAccessKeySecret ¶
func (o *ListAlibabaInstanceTypesParams) WithAccessKeySecret(accessKeySecret *string) *ListAlibabaInstanceTypesParams
WithAccessKeySecret adds the accessKeySecret to the list alibaba instance types params
func (*ListAlibabaInstanceTypesParams) WithContext ¶
func (o *ListAlibabaInstanceTypesParams) WithContext(ctx context.Context) *ListAlibabaInstanceTypesParams
WithContext adds the context to the list alibaba instance types params
func (*ListAlibabaInstanceTypesParams) WithCredential ¶
func (o *ListAlibabaInstanceTypesParams) WithCredential(credential *string) *ListAlibabaInstanceTypesParams
WithCredential adds the credential to the list alibaba instance types params
func (*ListAlibabaInstanceTypesParams) WithHTTPClient ¶
func (o *ListAlibabaInstanceTypesParams) WithHTTPClient(client *http.Client) *ListAlibabaInstanceTypesParams
WithHTTPClient adds the HTTPClient to the list alibaba instance types params
func (*ListAlibabaInstanceTypesParams) WithRegion ¶
func (o *ListAlibabaInstanceTypesParams) WithRegion(region *string) *ListAlibabaInstanceTypesParams
WithRegion adds the region to the list alibaba instance types params
func (*ListAlibabaInstanceTypesParams) WithTimeout ¶
func (o *ListAlibabaInstanceTypesParams) WithTimeout(timeout time.Duration) *ListAlibabaInstanceTypesParams
WithTimeout adds the timeout to the list alibaba instance types params
func (*ListAlibabaInstanceTypesParams) WriteToRequest ¶
func (o *ListAlibabaInstanceTypesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListAlibabaInstanceTypesReader ¶
type ListAlibabaInstanceTypesReader struct {
// contains filtered or unexported fields
}
ListAlibabaInstanceTypesReader is a Reader for the ListAlibabaInstanceTypes structure.
func (*ListAlibabaInstanceTypesReader) ReadResponse ¶
func (o *ListAlibabaInstanceTypesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListAlibabaZonesDefault ¶
type ListAlibabaZonesDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
ListAlibabaZonesDefault handles this case with default header values.
errorResponse
func NewListAlibabaZonesDefault ¶
func NewListAlibabaZonesDefault(code int) *ListAlibabaZonesDefault
NewListAlibabaZonesDefault creates a ListAlibabaZonesDefault with default headers values
func (*ListAlibabaZonesDefault) Code ¶
func (o *ListAlibabaZonesDefault) Code() int
Code gets the status code for the list alibaba zones default response
func (*ListAlibabaZonesDefault) Error ¶
func (o *ListAlibabaZonesDefault) Error() string
func (*ListAlibabaZonesDefault) GetPayload ¶
func (o *ListAlibabaZonesDefault) GetPayload() *models.ErrorResponse
type ListAlibabaZonesNoCredentialsDefault ¶
type ListAlibabaZonesNoCredentialsDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
ListAlibabaZonesNoCredentialsDefault handles this case with default header values.
errorResponse
func NewListAlibabaZonesNoCredentialsDefault ¶
func NewListAlibabaZonesNoCredentialsDefault(code int) *ListAlibabaZonesNoCredentialsDefault
NewListAlibabaZonesNoCredentialsDefault creates a ListAlibabaZonesNoCredentialsDefault with default headers values
func (*ListAlibabaZonesNoCredentialsDefault) Code ¶
func (o *ListAlibabaZonesNoCredentialsDefault) Code() int
Code gets the status code for the list alibaba zones no credentials default response
func (*ListAlibabaZonesNoCredentialsDefault) Error ¶
func (o *ListAlibabaZonesNoCredentialsDefault) Error() string
func (*ListAlibabaZonesNoCredentialsDefault) GetPayload ¶
func (o *ListAlibabaZonesNoCredentialsDefault) GetPayload() *models.ErrorResponse
type ListAlibabaZonesNoCredentialsOK ¶
type ListAlibabaZonesNoCredentialsOK struct {
Payload models.AlibabaZoneList
}
ListAlibabaZonesNoCredentialsOK handles this case with default header values.
AlibabaZoneList
func NewListAlibabaZonesNoCredentialsOK ¶
func NewListAlibabaZonesNoCredentialsOK() *ListAlibabaZonesNoCredentialsOK
NewListAlibabaZonesNoCredentialsOK creates a ListAlibabaZonesNoCredentialsOK with default headers values
func (*ListAlibabaZonesNoCredentialsOK) Error ¶
func (o *ListAlibabaZonesNoCredentialsOK) Error() string
func (*ListAlibabaZonesNoCredentialsOK) GetPayload ¶
func (o *ListAlibabaZonesNoCredentialsOK) GetPayload() models.AlibabaZoneList
type ListAlibabaZonesNoCredentialsParams ¶
type ListAlibabaZonesNoCredentialsParams struct { /*Region*/ Region *string /*ClusterID*/ ClusterID string /*Dc*/ DC string /*ProjectID*/ ProjectID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListAlibabaZonesNoCredentialsParams contains all the parameters to send to the API endpoint for the list alibaba zones no credentials operation typically these are written to a http.Request
func NewListAlibabaZonesNoCredentialsParams ¶
func NewListAlibabaZonesNoCredentialsParams() *ListAlibabaZonesNoCredentialsParams
NewListAlibabaZonesNoCredentialsParams creates a new ListAlibabaZonesNoCredentialsParams object with the default values initialized.
func NewListAlibabaZonesNoCredentialsParamsWithContext ¶
func NewListAlibabaZonesNoCredentialsParamsWithContext(ctx context.Context) *ListAlibabaZonesNoCredentialsParams
NewListAlibabaZonesNoCredentialsParamsWithContext creates a new ListAlibabaZonesNoCredentialsParams object with the default values initialized, and the ability to set a context for a request
func NewListAlibabaZonesNoCredentialsParamsWithHTTPClient ¶
func NewListAlibabaZonesNoCredentialsParamsWithHTTPClient(client *http.Client) *ListAlibabaZonesNoCredentialsParams
NewListAlibabaZonesNoCredentialsParamsWithHTTPClient creates a new ListAlibabaZonesNoCredentialsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListAlibabaZonesNoCredentialsParamsWithTimeout ¶
func NewListAlibabaZonesNoCredentialsParamsWithTimeout(timeout time.Duration) *ListAlibabaZonesNoCredentialsParams
NewListAlibabaZonesNoCredentialsParamsWithTimeout creates a new ListAlibabaZonesNoCredentialsParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListAlibabaZonesNoCredentialsParams) SetClusterID ¶
func (o *ListAlibabaZonesNoCredentialsParams) SetClusterID(clusterID string)
SetClusterID adds the clusterId to the list alibaba zones no credentials params
func (*ListAlibabaZonesNoCredentialsParams) SetContext ¶
func (o *ListAlibabaZonesNoCredentialsParams) SetContext(ctx context.Context)
SetContext adds the context to the list alibaba zones no credentials params
func (*ListAlibabaZonesNoCredentialsParams) SetDC ¶
func (o *ListAlibabaZonesNoCredentialsParams) SetDC(dc string)
SetDC adds the dc to the list alibaba zones no credentials params
func (*ListAlibabaZonesNoCredentialsParams) SetHTTPClient ¶
func (o *ListAlibabaZonesNoCredentialsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list alibaba zones no credentials params
func (*ListAlibabaZonesNoCredentialsParams) SetProjectID ¶
func (o *ListAlibabaZonesNoCredentialsParams) SetProjectID(projectID string)
SetProjectID adds the projectId to the list alibaba zones no credentials params
func (*ListAlibabaZonesNoCredentialsParams) SetRegion ¶
func (o *ListAlibabaZonesNoCredentialsParams) SetRegion(region *string)
SetRegion adds the region to the list alibaba zones no credentials params
func (*ListAlibabaZonesNoCredentialsParams) SetTimeout ¶
func (o *ListAlibabaZonesNoCredentialsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list alibaba zones no credentials params
func (*ListAlibabaZonesNoCredentialsParams) WithClusterID ¶
func (o *ListAlibabaZonesNoCredentialsParams) WithClusterID(clusterID string) *ListAlibabaZonesNoCredentialsParams
WithClusterID adds the clusterID to the list alibaba zones no credentials params
func (*ListAlibabaZonesNoCredentialsParams) WithContext ¶
func (o *ListAlibabaZonesNoCredentialsParams) WithContext(ctx context.Context) *ListAlibabaZonesNoCredentialsParams
WithContext adds the context to the list alibaba zones no credentials params
func (*ListAlibabaZonesNoCredentialsParams) WithDC ¶
func (o *ListAlibabaZonesNoCredentialsParams) WithDC(dc string) *ListAlibabaZonesNoCredentialsParams
WithDC adds the dc to the list alibaba zones no credentials params
func (*ListAlibabaZonesNoCredentialsParams) WithHTTPClient ¶
func (o *ListAlibabaZonesNoCredentialsParams) WithHTTPClient(client *http.Client) *ListAlibabaZonesNoCredentialsParams
WithHTTPClient adds the HTTPClient to the list alibaba zones no credentials params
func (*ListAlibabaZonesNoCredentialsParams) WithProjectID ¶
func (o *ListAlibabaZonesNoCredentialsParams) WithProjectID(projectID string) *ListAlibabaZonesNoCredentialsParams
WithProjectID adds the projectID to the list alibaba zones no credentials params
func (*ListAlibabaZonesNoCredentialsParams) WithRegion ¶
func (o *ListAlibabaZonesNoCredentialsParams) WithRegion(region *string) *ListAlibabaZonesNoCredentialsParams
WithRegion adds the region to the list alibaba zones no credentials params
func (*ListAlibabaZonesNoCredentialsParams) WithTimeout ¶
func (o *ListAlibabaZonesNoCredentialsParams) WithTimeout(timeout time.Duration) *ListAlibabaZonesNoCredentialsParams
WithTimeout adds the timeout to the list alibaba zones no credentials params
func (*ListAlibabaZonesNoCredentialsParams) WriteToRequest ¶
func (o *ListAlibabaZonesNoCredentialsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListAlibabaZonesNoCredentialsReader ¶
type ListAlibabaZonesNoCredentialsReader struct {
// contains filtered or unexported fields
}
ListAlibabaZonesNoCredentialsReader is a Reader for the ListAlibabaZonesNoCredentials structure.
func (*ListAlibabaZonesNoCredentialsReader) ReadResponse ¶
func (o *ListAlibabaZonesNoCredentialsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListAlibabaZonesOK ¶
type ListAlibabaZonesOK struct {
Payload models.AlibabaZoneList
}
ListAlibabaZonesOK handles this case with default header values.
AlibabaZoneList
func NewListAlibabaZonesOK ¶
func NewListAlibabaZonesOK() *ListAlibabaZonesOK
NewListAlibabaZonesOK creates a ListAlibabaZonesOK with default headers values
func (*ListAlibabaZonesOK) Error ¶
func (o *ListAlibabaZonesOK) Error() string
func (*ListAlibabaZonesOK) GetPayload ¶
func (o *ListAlibabaZonesOK) GetPayload() models.AlibabaZoneList
type ListAlibabaZonesParams ¶
type ListAlibabaZonesParams struct { /*AccessKeyID*/ AccessKeyID *string /*AccessKeySecret*/ AccessKeySecret *string /*Credential*/ Credential *string /*Region*/ Region *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListAlibabaZonesParams contains all the parameters to send to the API endpoint for the list alibaba zones operation typically these are written to a http.Request
func NewListAlibabaZonesParams ¶
func NewListAlibabaZonesParams() *ListAlibabaZonesParams
NewListAlibabaZonesParams creates a new ListAlibabaZonesParams object with the default values initialized.
func NewListAlibabaZonesParamsWithContext ¶
func NewListAlibabaZonesParamsWithContext(ctx context.Context) *ListAlibabaZonesParams
NewListAlibabaZonesParamsWithContext creates a new ListAlibabaZonesParams object with the default values initialized, and the ability to set a context for a request
func NewListAlibabaZonesParamsWithHTTPClient ¶
func NewListAlibabaZonesParamsWithHTTPClient(client *http.Client) *ListAlibabaZonesParams
NewListAlibabaZonesParamsWithHTTPClient creates a new ListAlibabaZonesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListAlibabaZonesParamsWithTimeout ¶
func NewListAlibabaZonesParamsWithTimeout(timeout time.Duration) *ListAlibabaZonesParams
NewListAlibabaZonesParamsWithTimeout creates a new ListAlibabaZonesParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListAlibabaZonesParams) SetAccessKeyID ¶
func (o *ListAlibabaZonesParams) SetAccessKeyID(accessKeyID *string)
SetAccessKeyID adds the accessKeyId to the list alibaba zones params
func (*ListAlibabaZonesParams) SetAccessKeySecret ¶
func (o *ListAlibabaZonesParams) SetAccessKeySecret(accessKeySecret *string)
SetAccessKeySecret adds the accessKeySecret to the list alibaba zones params
func (*ListAlibabaZonesParams) SetContext ¶
func (o *ListAlibabaZonesParams) SetContext(ctx context.Context)
SetContext adds the context to the list alibaba zones params
func (*ListAlibabaZonesParams) SetCredential ¶
func (o *ListAlibabaZonesParams) SetCredential(credential *string)
SetCredential adds the credential to the list alibaba zones params
func (*ListAlibabaZonesParams) SetHTTPClient ¶
func (o *ListAlibabaZonesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list alibaba zones params
func (*ListAlibabaZonesParams) SetRegion ¶
func (o *ListAlibabaZonesParams) SetRegion(region *string)
SetRegion adds the region to the list alibaba zones params
func (*ListAlibabaZonesParams) SetTimeout ¶
func (o *ListAlibabaZonesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list alibaba zones params
func (*ListAlibabaZonesParams) WithAccessKeyID ¶
func (o *ListAlibabaZonesParams) WithAccessKeyID(accessKeyID *string) *ListAlibabaZonesParams
WithAccessKeyID adds the accessKeyID to the list alibaba zones params
func (*ListAlibabaZonesParams) WithAccessKeySecret ¶
func (o *ListAlibabaZonesParams) WithAccessKeySecret(accessKeySecret *string) *ListAlibabaZonesParams
WithAccessKeySecret adds the accessKeySecret to the list alibaba zones params
func (*ListAlibabaZonesParams) WithContext ¶
func (o *ListAlibabaZonesParams) WithContext(ctx context.Context) *ListAlibabaZonesParams
WithContext adds the context to the list alibaba zones params
func (*ListAlibabaZonesParams) WithCredential ¶
func (o *ListAlibabaZonesParams) WithCredential(credential *string) *ListAlibabaZonesParams
WithCredential adds the credential to the list alibaba zones params
func (*ListAlibabaZonesParams) WithHTTPClient ¶
func (o *ListAlibabaZonesParams) WithHTTPClient(client *http.Client) *ListAlibabaZonesParams
WithHTTPClient adds the HTTPClient to the list alibaba zones params
func (*ListAlibabaZonesParams) WithRegion ¶
func (o *ListAlibabaZonesParams) WithRegion(region *string) *ListAlibabaZonesParams
WithRegion adds the region to the list alibaba zones params
func (*ListAlibabaZonesParams) WithTimeout ¶
func (o *ListAlibabaZonesParams) WithTimeout(timeout time.Duration) *ListAlibabaZonesParams
WithTimeout adds the timeout to the list alibaba zones params
func (*ListAlibabaZonesParams) WriteToRequest ¶
func (o *ListAlibabaZonesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListAlibabaZonesReader ¶
type ListAlibabaZonesReader struct {
// contains filtered or unexported fields
}
ListAlibabaZonesReader is a Reader for the ListAlibabaZones structure.
func (*ListAlibabaZonesReader) ReadResponse ¶
func (o *ListAlibabaZonesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- alibaba_client.go
- list_alibaba_instance_types_no_credentials_parameters.go
- list_alibaba_instance_types_no_credentials_responses.go
- list_alibaba_instance_types_parameters.go
- list_alibaba_instance_types_responses.go
- list_alibaba_zones_no_credentials_parameters.go
- list_alibaba_zones_no_credentials_responses.go
- list_alibaba_zones_parameters.go
- list_alibaba_zones_responses.go