alibaba

package
v0.0.0-...-192cafe Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

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 alibaba API

func (*Client) ListAlibabaInstanceTypes

func (a *Client) ListAlibabaInstanceTypes(params *ListAlibabaInstanceTypesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAlibabaInstanceTypesOK, error)

ListAlibabaInstanceTypes lists available alibaba instance types

func (*Client) ListAlibabaInstanceTypesNoCredentials

func (a *Client) ListAlibabaInstanceTypesNoCredentials(params *ListAlibabaInstanceTypesNoCredentialsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAlibabaInstanceTypesNoCredentialsOK, error)

ListAlibabaInstanceTypesNoCredentials Lists available Alibaba Instance Types

func (*Client) ListAlibabaInstanceTypesNoCredentialsV2

ListAlibabaInstanceTypesNoCredentialsV2 Lists available Alibaba Instance Types

func (*Client) ListAlibabaVSwitches

func (a *Client) ListAlibabaVSwitches(params *ListAlibabaVSwitchesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAlibabaVSwitchesOK, error)

ListAlibabaVSwitches lists available alibaba v switches

func (*Client) ListAlibabaVSwitchesNoCredentialsV2

func (a *Client) ListAlibabaVSwitchesNoCredentialsV2(params *ListAlibabaVSwitchesNoCredentialsV2Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAlibabaVSwitchesNoCredentialsV2OK, error)

ListAlibabaVSwitchesNoCredentialsV2 Lists available Alibaba vSwitches

func (*Client) ListAlibabaZones

func (a *Client) ListAlibabaZones(params *ListAlibabaZonesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAlibabaZonesOK, error)

ListAlibabaZones lists available alibaba zones

func (*Client) ListAlibabaZonesNoCredentials

func (a *Client) ListAlibabaZonesNoCredentials(params *ListAlibabaZonesNoCredentialsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAlibabaZonesNoCredentialsOK, error)

ListAlibabaZonesNoCredentials Lists available Alibaba Instance Types

func (*Client) ListAlibabaZonesNoCredentialsV2

func (a *Client) ListAlibabaZonesNoCredentialsV2(params *ListAlibabaZonesNoCredentialsV2Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAlibabaZonesNoCredentialsV2OK, error)

ListAlibabaZonesNoCredentialsV2 Lists available Alibaba Instance Types

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	ListAlibabaInstanceTypes(params *ListAlibabaInstanceTypesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAlibabaInstanceTypesOK, error)

	ListAlibabaInstanceTypesNoCredentials(params *ListAlibabaInstanceTypesNoCredentialsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAlibabaInstanceTypesNoCredentialsOK, error)

	ListAlibabaInstanceTypesNoCredentialsV2(params *ListAlibabaInstanceTypesNoCredentialsV2Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAlibabaInstanceTypesNoCredentialsV2OK, error)

	ListAlibabaVSwitches(params *ListAlibabaVSwitchesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAlibabaVSwitchesOK, error)

	ListAlibabaVSwitchesNoCredentialsV2(params *ListAlibabaVSwitchesNoCredentialsV2Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAlibabaVSwitchesNoCredentialsV2OK, error)

	ListAlibabaZones(params *ListAlibabaZonesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAlibabaZonesOK, error)

	ListAlibabaZonesNoCredentials(params *ListAlibabaZonesNoCredentialsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAlibabaZonesNoCredentialsOK, error)

	ListAlibabaZonesNoCredentialsV2(params *ListAlibabaZonesNoCredentialsV2Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAlibabaZonesNoCredentialsV2OK, 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 describes a response with status code -1, with default header values.

errorResponse

func NewListAlibabaInstanceTypesDefault

func NewListAlibabaInstanceTypesDefault(code int) *ListAlibabaInstanceTypesDefault

NewListAlibabaInstanceTypesDefault creates a ListAlibabaInstanceTypesDefault with default headers values

func (*ListAlibabaInstanceTypesDefault) Code

Code gets the status code for the list alibaba instance types default response

func (*ListAlibabaInstanceTypesDefault) Error

func (*ListAlibabaInstanceTypesDefault) GetPayload

type ListAlibabaInstanceTypesNoCredentialsDefault

type ListAlibabaInstanceTypesNoCredentialsDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
ListAlibabaInstanceTypesNoCredentialsDefault describes a response with status code -1, with default header values.

errorResponse

func NewListAlibabaInstanceTypesNoCredentialsDefault

func NewListAlibabaInstanceTypesNoCredentialsDefault(code int) *ListAlibabaInstanceTypesNoCredentialsDefault

NewListAlibabaInstanceTypesNoCredentialsDefault creates a ListAlibabaInstanceTypesNoCredentialsDefault with default headers values

func (*ListAlibabaInstanceTypesNoCredentialsDefault) Code

Code gets the status code for the list alibaba instance types no credentials default response

func (*ListAlibabaInstanceTypesNoCredentialsDefault) Error

func (*ListAlibabaInstanceTypesNoCredentialsDefault) GetPayload

type ListAlibabaInstanceTypesNoCredentialsOK

type ListAlibabaInstanceTypesNoCredentialsOK struct {
	Payload models.AlibabaInstanceTypeList
}
ListAlibabaInstanceTypesNoCredentialsOK describes a response with status code 200, with default header values.

AlibabaInstanceTypeList

func NewListAlibabaInstanceTypesNoCredentialsOK

func NewListAlibabaInstanceTypesNoCredentialsOK() *ListAlibabaInstanceTypesNoCredentialsOK

NewListAlibabaInstanceTypesNoCredentialsOK creates a ListAlibabaInstanceTypesNoCredentialsOK with default headers values

func (*ListAlibabaInstanceTypesNoCredentialsOK) Error

func (*ListAlibabaInstanceTypesNoCredentialsOK) GetPayload

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 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 NewListAlibabaInstanceTypesNoCredentialsParamsWithContext

func NewListAlibabaInstanceTypesNoCredentialsParamsWithContext(ctx context.Context) *ListAlibabaInstanceTypesNoCredentialsParams

NewListAlibabaInstanceTypesNoCredentialsParamsWithContext creates a new ListAlibabaInstanceTypesNoCredentialsParams object with 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 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 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

SetContext adds the context to the list alibaba instance types no credentials params

func (*ListAlibabaInstanceTypesNoCredentialsParams) SetDC

SetDC adds the dc to the list alibaba instance types no credentials params

func (*ListAlibabaInstanceTypesNoCredentialsParams) SetDefaults

SetDefaults hydrates default values in the list alibaba instance types no credentials params (not the query body).

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

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

SetRegion adds the region to the list alibaba instance types no credentials params

func (*ListAlibabaInstanceTypesNoCredentialsParams) SetTimeout

SetTimeout adds the timeout to the list alibaba instance types no credentials params

func (*ListAlibabaInstanceTypesNoCredentialsParams) WithClusterID

WithClusterID adds the clusterID to the list alibaba instance types no credentials params

func (*ListAlibabaInstanceTypesNoCredentialsParams) WithContext

WithContext adds the context to the list alibaba instance types no credentials params

func (*ListAlibabaInstanceTypesNoCredentialsParams) WithDC

WithDC adds the dc to the list alibaba instance types no credentials params

func (*ListAlibabaInstanceTypesNoCredentialsParams) WithDefaults

WithDefaults hydrates default values in the list alibaba instance types no credentials params (not the query body).

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

func (*ListAlibabaInstanceTypesNoCredentialsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list alibaba instance types no credentials params

func (*ListAlibabaInstanceTypesNoCredentialsParams) WithProjectID

WithProjectID adds the projectID to the list alibaba instance types no credentials params

func (*ListAlibabaInstanceTypesNoCredentialsParams) WithRegion

WithRegion adds the region to the list alibaba instance types no credentials params

func (*ListAlibabaInstanceTypesNoCredentialsParams) WithTimeout

WithTimeout adds the timeout to the list alibaba instance types no credentials params

func (*ListAlibabaInstanceTypesNoCredentialsParams) WriteToRequest

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 ListAlibabaInstanceTypesNoCredentialsV2Default

type ListAlibabaInstanceTypesNoCredentialsV2Default struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
ListAlibabaInstanceTypesNoCredentialsV2Default describes a response with status code -1, with default header values.

errorResponse

func NewListAlibabaInstanceTypesNoCredentialsV2Default

func NewListAlibabaInstanceTypesNoCredentialsV2Default(code int) *ListAlibabaInstanceTypesNoCredentialsV2Default

NewListAlibabaInstanceTypesNoCredentialsV2Default creates a ListAlibabaInstanceTypesNoCredentialsV2Default with default headers values

func (*ListAlibabaInstanceTypesNoCredentialsV2Default) Code

Code gets the status code for the list alibaba instance types no credentials v2 default response

func (*ListAlibabaInstanceTypesNoCredentialsV2Default) Error

func (*ListAlibabaInstanceTypesNoCredentialsV2Default) GetPayload

type ListAlibabaInstanceTypesNoCredentialsV2OK

type ListAlibabaInstanceTypesNoCredentialsV2OK struct {
	Payload models.AlibabaInstanceTypeList
}
ListAlibabaInstanceTypesNoCredentialsV2OK describes a response with status code 200, with default header values.

AlibabaInstanceTypeList

func NewListAlibabaInstanceTypesNoCredentialsV2OK

func NewListAlibabaInstanceTypesNoCredentialsV2OK() *ListAlibabaInstanceTypesNoCredentialsV2OK

NewListAlibabaInstanceTypesNoCredentialsV2OK creates a ListAlibabaInstanceTypesNoCredentialsV2OK with default headers values

func (*ListAlibabaInstanceTypesNoCredentialsV2OK) Error

func (*ListAlibabaInstanceTypesNoCredentialsV2OK) GetPayload

type ListAlibabaInstanceTypesNoCredentialsV2Params

type ListAlibabaInstanceTypesNoCredentialsV2Params struct {

	// Region.
	Region *string

	// ClusterID.
	ClusterID string

	// ProjectID.
	ProjectID string

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

ListAlibabaInstanceTypesNoCredentialsV2Params contains all the parameters to send to the API endpoint

for the list alibaba instance types no credentials v2 operation.

Typically these are written to a http.Request.

func NewListAlibabaInstanceTypesNoCredentialsV2Params

func NewListAlibabaInstanceTypesNoCredentialsV2Params() *ListAlibabaInstanceTypesNoCredentialsV2Params

NewListAlibabaInstanceTypesNoCredentialsV2Params creates a new ListAlibabaInstanceTypesNoCredentialsV2Params 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 NewListAlibabaInstanceTypesNoCredentialsV2ParamsWithContext

func NewListAlibabaInstanceTypesNoCredentialsV2ParamsWithContext(ctx context.Context) *ListAlibabaInstanceTypesNoCredentialsV2Params

NewListAlibabaInstanceTypesNoCredentialsV2ParamsWithContext creates a new ListAlibabaInstanceTypesNoCredentialsV2Params object with the ability to set a context for a request.

func NewListAlibabaInstanceTypesNoCredentialsV2ParamsWithHTTPClient

func NewListAlibabaInstanceTypesNoCredentialsV2ParamsWithHTTPClient(client *http.Client) *ListAlibabaInstanceTypesNoCredentialsV2Params

NewListAlibabaInstanceTypesNoCredentialsV2ParamsWithHTTPClient creates a new ListAlibabaInstanceTypesNoCredentialsV2Params object with the ability to set a custom HTTPClient for a request.

func NewListAlibabaInstanceTypesNoCredentialsV2ParamsWithTimeout

func NewListAlibabaInstanceTypesNoCredentialsV2ParamsWithTimeout(timeout time.Duration) *ListAlibabaInstanceTypesNoCredentialsV2Params

NewListAlibabaInstanceTypesNoCredentialsV2ParamsWithTimeout creates a new ListAlibabaInstanceTypesNoCredentialsV2Params object with the ability to set a timeout on a request.

func (*ListAlibabaInstanceTypesNoCredentialsV2Params) SetClusterID

func (o *ListAlibabaInstanceTypesNoCredentialsV2Params) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the list alibaba instance types no credentials v2 params

func (*ListAlibabaInstanceTypesNoCredentialsV2Params) SetContext

SetContext adds the context to the list alibaba instance types no credentials v2 params

func (*ListAlibabaInstanceTypesNoCredentialsV2Params) SetDefaults

SetDefaults hydrates default values in the list alibaba instance types no credentials v2 params (not the query body).

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

func (*ListAlibabaInstanceTypesNoCredentialsV2Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list alibaba instance types no credentials v2 params

func (*ListAlibabaInstanceTypesNoCredentialsV2Params) SetProjectID

func (o *ListAlibabaInstanceTypesNoCredentialsV2Params) SetProjectID(projectID string)

SetProjectID adds the projectId to the list alibaba instance types no credentials v2 params

func (*ListAlibabaInstanceTypesNoCredentialsV2Params) SetRegion

SetRegion adds the region to the list alibaba instance types no credentials v2 params

func (*ListAlibabaInstanceTypesNoCredentialsV2Params) SetTimeout

SetTimeout adds the timeout to the list alibaba instance types no credentials v2 params

func (*ListAlibabaInstanceTypesNoCredentialsV2Params) WithClusterID

WithClusterID adds the clusterID to the list alibaba instance types no credentials v2 params

func (*ListAlibabaInstanceTypesNoCredentialsV2Params) WithContext

WithContext adds the context to the list alibaba instance types no credentials v2 params

func (*ListAlibabaInstanceTypesNoCredentialsV2Params) WithDefaults

WithDefaults hydrates default values in the list alibaba instance types no credentials v2 params (not the query body).

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

func (*ListAlibabaInstanceTypesNoCredentialsV2Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list alibaba instance types no credentials v2 params

func (*ListAlibabaInstanceTypesNoCredentialsV2Params) WithProjectID

WithProjectID adds the projectID to the list alibaba instance types no credentials v2 params

func (*ListAlibabaInstanceTypesNoCredentialsV2Params) WithRegion

WithRegion adds the region to the list alibaba instance types no credentials v2 params

func (*ListAlibabaInstanceTypesNoCredentialsV2Params) WithTimeout

WithTimeout adds the timeout to the list alibaba instance types no credentials v2 params

func (*ListAlibabaInstanceTypesNoCredentialsV2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListAlibabaInstanceTypesNoCredentialsV2Reader

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

ListAlibabaInstanceTypesNoCredentialsV2Reader is a Reader for the ListAlibabaInstanceTypesNoCredentialsV2 structure.

func (*ListAlibabaInstanceTypesNoCredentialsV2Reader) ReadResponse

func (o *ListAlibabaInstanceTypesNoCredentialsV2Reader) 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 describes a response with status code 200, with default header values.

AlibabaInstanceTypeList

func NewListAlibabaInstanceTypesOK

func NewListAlibabaInstanceTypesOK() *ListAlibabaInstanceTypesOK

NewListAlibabaInstanceTypesOK creates a ListAlibabaInstanceTypesOK with default headers values

func (*ListAlibabaInstanceTypesOK) Error

func (*ListAlibabaInstanceTypesOK) GetPayload

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 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 NewListAlibabaInstanceTypesParamsWithContext

func NewListAlibabaInstanceTypesParamsWithContext(ctx context.Context) *ListAlibabaInstanceTypesParams

NewListAlibabaInstanceTypesParamsWithContext creates a new ListAlibabaInstanceTypesParams object with 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 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 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) SetDefaults

func (o *ListAlibabaInstanceTypesParams) SetDefaults()

SetDefaults hydrates default values in the list alibaba instance types params (not the query body).

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

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

WithContext adds the context to the list alibaba instance types params

func (*ListAlibabaInstanceTypesParams) WithCredential

WithCredential adds the credential to the list alibaba instance types params

func (*ListAlibabaInstanceTypesParams) WithDefaults

WithDefaults hydrates default values in the list alibaba instance types params (not the query body).

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

func (*ListAlibabaInstanceTypesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list alibaba instance types params

func (*ListAlibabaInstanceTypesParams) WithRegion

WithRegion adds the region to the list alibaba instance types params

func (*ListAlibabaInstanceTypesParams) WithTimeout

WithTimeout adds the timeout to the list alibaba instance types params

func (*ListAlibabaInstanceTypesParams) WriteToRequest

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 ListAlibabaVSwitchesDefault

type ListAlibabaVSwitchesDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
ListAlibabaVSwitchesDefault describes a response with status code -1, with default header values.

errorResponse

func NewListAlibabaVSwitchesDefault

func NewListAlibabaVSwitchesDefault(code int) *ListAlibabaVSwitchesDefault

NewListAlibabaVSwitchesDefault creates a ListAlibabaVSwitchesDefault with default headers values

func (*ListAlibabaVSwitchesDefault) Code

func (o *ListAlibabaVSwitchesDefault) Code() int

Code gets the status code for the list alibaba v switches default response

func (*ListAlibabaVSwitchesDefault) Error

func (*ListAlibabaVSwitchesDefault) GetPayload

type ListAlibabaVSwitchesNoCredentialsV2Default

type ListAlibabaVSwitchesNoCredentialsV2Default struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
ListAlibabaVSwitchesNoCredentialsV2Default describes a response with status code -1, with default header values.

errorResponse

func NewListAlibabaVSwitchesNoCredentialsV2Default

func NewListAlibabaVSwitchesNoCredentialsV2Default(code int) *ListAlibabaVSwitchesNoCredentialsV2Default

NewListAlibabaVSwitchesNoCredentialsV2Default creates a ListAlibabaVSwitchesNoCredentialsV2Default with default headers values

func (*ListAlibabaVSwitchesNoCredentialsV2Default) Code

Code gets the status code for the list alibaba v switches no credentials v2 default response

func (*ListAlibabaVSwitchesNoCredentialsV2Default) Error

func (*ListAlibabaVSwitchesNoCredentialsV2Default) GetPayload

type ListAlibabaVSwitchesNoCredentialsV2OK

type ListAlibabaVSwitchesNoCredentialsV2OK struct {
	Payload models.AlibabaVSwitchList
}
ListAlibabaVSwitchesNoCredentialsV2OK describes a response with status code 200, with default header values.

AlibabaVSwitchList

func NewListAlibabaVSwitchesNoCredentialsV2OK

func NewListAlibabaVSwitchesNoCredentialsV2OK() *ListAlibabaVSwitchesNoCredentialsV2OK

NewListAlibabaVSwitchesNoCredentialsV2OK creates a ListAlibabaVSwitchesNoCredentialsV2OK with default headers values

func (*ListAlibabaVSwitchesNoCredentialsV2OK) Error

func (*ListAlibabaVSwitchesNoCredentialsV2OK) GetPayload

type ListAlibabaVSwitchesNoCredentialsV2Params

type ListAlibabaVSwitchesNoCredentialsV2Params struct {

	// Region.
	Region *string

	// ClusterID.
	ClusterID string

	// ProjectID.
	ProjectID string

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

ListAlibabaVSwitchesNoCredentialsV2Params contains all the parameters to send to the API endpoint

for the list alibaba v switches no credentials v2 operation.

Typically these are written to a http.Request.

func NewListAlibabaVSwitchesNoCredentialsV2Params

func NewListAlibabaVSwitchesNoCredentialsV2Params() *ListAlibabaVSwitchesNoCredentialsV2Params

NewListAlibabaVSwitchesNoCredentialsV2Params creates a new ListAlibabaVSwitchesNoCredentialsV2Params 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 NewListAlibabaVSwitchesNoCredentialsV2ParamsWithContext

func NewListAlibabaVSwitchesNoCredentialsV2ParamsWithContext(ctx context.Context) *ListAlibabaVSwitchesNoCredentialsV2Params

NewListAlibabaVSwitchesNoCredentialsV2ParamsWithContext creates a new ListAlibabaVSwitchesNoCredentialsV2Params object with the ability to set a context for a request.

func NewListAlibabaVSwitchesNoCredentialsV2ParamsWithHTTPClient

func NewListAlibabaVSwitchesNoCredentialsV2ParamsWithHTTPClient(client *http.Client) *ListAlibabaVSwitchesNoCredentialsV2Params

NewListAlibabaVSwitchesNoCredentialsV2ParamsWithHTTPClient creates a new ListAlibabaVSwitchesNoCredentialsV2Params object with the ability to set a custom HTTPClient for a request.

func NewListAlibabaVSwitchesNoCredentialsV2ParamsWithTimeout

func NewListAlibabaVSwitchesNoCredentialsV2ParamsWithTimeout(timeout time.Duration) *ListAlibabaVSwitchesNoCredentialsV2Params

NewListAlibabaVSwitchesNoCredentialsV2ParamsWithTimeout creates a new ListAlibabaVSwitchesNoCredentialsV2Params object with the ability to set a timeout on a request.

func (*ListAlibabaVSwitchesNoCredentialsV2Params) SetClusterID

func (o *ListAlibabaVSwitchesNoCredentialsV2Params) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the list alibaba v switches no credentials v2 params

func (*ListAlibabaVSwitchesNoCredentialsV2Params) SetContext

SetContext adds the context to the list alibaba v switches no credentials v2 params

func (*ListAlibabaVSwitchesNoCredentialsV2Params) SetDefaults

SetDefaults hydrates default values in the list alibaba v switches no credentials v2 params (not the query body).

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

func (*ListAlibabaVSwitchesNoCredentialsV2Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list alibaba v switches no credentials v2 params

func (*ListAlibabaVSwitchesNoCredentialsV2Params) SetProjectID

func (o *ListAlibabaVSwitchesNoCredentialsV2Params) SetProjectID(projectID string)

SetProjectID adds the projectId to the list alibaba v switches no credentials v2 params

func (*ListAlibabaVSwitchesNoCredentialsV2Params) SetRegion

func (o *ListAlibabaVSwitchesNoCredentialsV2Params) SetRegion(region *string)

SetRegion adds the region to the list alibaba v switches no credentials v2 params

func (*ListAlibabaVSwitchesNoCredentialsV2Params) SetTimeout

SetTimeout adds the timeout to the list alibaba v switches no credentials v2 params

func (*ListAlibabaVSwitchesNoCredentialsV2Params) WithClusterID

WithClusterID adds the clusterID to the list alibaba v switches no credentials v2 params

func (*ListAlibabaVSwitchesNoCredentialsV2Params) WithContext

WithContext adds the context to the list alibaba v switches no credentials v2 params

func (*ListAlibabaVSwitchesNoCredentialsV2Params) WithDefaults

WithDefaults hydrates default values in the list alibaba v switches no credentials v2 params (not the query body).

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

func (*ListAlibabaVSwitchesNoCredentialsV2Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list alibaba v switches no credentials v2 params

func (*ListAlibabaVSwitchesNoCredentialsV2Params) WithProjectID

WithProjectID adds the projectID to the list alibaba v switches no credentials v2 params

func (*ListAlibabaVSwitchesNoCredentialsV2Params) WithRegion

WithRegion adds the region to the list alibaba v switches no credentials v2 params

func (*ListAlibabaVSwitchesNoCredentialsV2Params) WithTimeout

WithTimeout adds the timeout to the list alibaba v switches no credentials v2 params

func (*ListAlibabaVSwitchesNoCredentialsV2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListAlibabaVSwitchesNoCredentialsV2Reader

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

ListAlibabaVSwitchesNoCredentialsV2Reader is a Reader for the ListAlibabaVSwitchesNoCredentialsV2 structure.

func (*ListAlibabaVSwitchesNoCredentialsV2Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListAlibabaVSwitchesOK

type ListAlibabaVSwitchesOK struct {
	Payload models.AlibabaVSwitchList
}
ListAlibabaVSwitchesOK describes a response with status code 200, with default header values.

AlibabaVSwitchList

func NewListAlibabaVSwitchesOK

func NewListAlibabaVSwitchesOK() *ListAlibabaVSwitchesOK

NewListAlibabaVSwitchesOK creates a ListAlibabaVSwitchesOK with default headers values

func (*ListAlibabaVSwitchesOK) Error

func (o *ListAlibabaVSwitchesOK) Error() string

func (*ListAlibabaVSwitchesOK) GetPayload

type ListAlibabaVSwitchesParams

type ListAlibabaVSwitchesParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListAlibabaVSwitchesParams contains all the parameters to send to the API endpoint

for the list alibaba v switches operation.

Typically these are written to a http.Request.

func NewListAlibabaVSwitchesParams

func NewListAlibabaVSwitchesParams() *ListAlibabaVSwitchesParams

NewListAlibabaVSwitchesParams creates a new ListAlibabaVSwitchesParams 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 NewListAlibabaVSwitchesParamsWithContext

func NewListAlibabaVSwitchesParamsWithContext(ctx context.Context) *ListAlibabaVSwitchesParams

NewListAlibabaVSwitchesParamsWithContext creates a new ListAlibabaVSwitchesParams object with the ability to set a context for a request.

func NewListAlibabaVSwitchesParamsWithHTTPClient

func NewListAlibabaVSwitchesParamsWithHTTPClient(client *http.Client) *ListAlibabaVSwitchesParams

NewListAlibabaVSwitchesParamsWithHTTPClient creates a new ListAlibabaVSwitchesParams object with the ability to set a custom HTTPClient for a request.

func NewListAlibabaVSwitchesParamsWithTimeout

func NewListAlibabaVSwitchesParamsWithTimeout(timeout time.Duration) *ListAlibabaVSwitchesParams

NewListAlibabaVSwitchesParamsWithTimeout creates a new ListAlibabaVSwitchesParams object with the ability to set a timeout on a request.

func (*ListAlibabaVSwitchesParams) SetContext

func (o *ListAlibabaVSwitchesParams) SetContext(ctx context.Context)

SetContext adds the context to the list alibaba v switches params

func (*ListAlibabaVSwitchesParams) SetDefaults

func (o *ListAlibabaVSwitchesParams) SetDefaults()

SetDefaults hydrates default values in the list alibaba v switches params (not the query body).

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

func (*ListAlibabaVSwitchesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list alibaba v switches params

func (*ListAlibabaVSwitchesParams) SetTimeout

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

SetTimeout adds the timeout to the list alibaba v switches params

func (*ListAlibabaVSwitchesParams) WithContext

WithContext adds the context to the list alibaba v switches params

func (*ListAlibabaVSwitchesParams) WithDefaults

WithDefaults hydrates default values in the list alibaba v switches params (not the query body).

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

func (*ListAlibabaVSwitchesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list alibaba v switches params

func (*ListAlibabaVSwitchesParams) WithTimeout

WithTimeout adds the timeout to the list alibaba v switches params

func (*ListAlibabaVSwitchesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListAlibabaVSwitchesReader

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

ListAlibabaVSwitchesReader is a Reader for the ListAlibabaVSwitches structure.

func (*ListAlibabaVSwitchesReader) ReadResponse

func (o *ListAlibabaVSwitchesReader) 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 describes a response with status code -1, 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 describes a response with status code -1, with default header values.

errorResponse

func NewListAlibabaZonesNoCredentialsDefault

func NewListAlibabaZonesNoCredentialsDefault(code int) *ListAlibabaZonesNoCredentialsDefault

NewListAlibabaZonesNoCredentialsDefault creates a ListAlibabaZonesNoCredentialsDefault with default headers values

func (*ListAlibabaZonesNoCredentialsDefault) Code

Code gets the status code for the list alibaba zones no credentials default response

func (*ListAlibabaZonesNoCredentialsDefault) Error

func (*ListAlibabaZonesNoCredentialsDefault) GetPayload

type ListAlibabaZonesNoCredentialsOK

type ListAlibabaZonesNoCredentialsOK struct {
	Payload models.AlibabaZoneList
}
ListAlibabaZonesNoCredentialsOK describes a response with status code 200, with default header values.

AlibabaZoneList

func NewListAlibabaZonesNoCredentialsOK

func NewListAlibabaZonesNoCredentialsOK() *ListAlibabaZonesNoCredentialsOK

NewListAlibabaZonesNoCredentialsOK creates a ListAlibabaZonesNoCredentialsOK with default headers values

func (*ListAlibabaZonesNoCredentialsOK) Error

func (*ListAlibabaZonesNoCredentialsOK) GetPayload

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 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 NewListAlibabaZonesNoCredentialsParamsWithContext

func NewListAlibabaZonesNoCredentialsParamsWithContext(ctx context.Context) *ListAlibabaZonesNoCredentialsParams

NewListAlibabaZonesNoCredentialsParamsWithContext creates a new ListAlibabaZonesNoCredentialsParams object with 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 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 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

SetContext adds the context to the list alibaba zones no credentials params

func (*ListAlibabaZonesNoCredentialsParams) SetDC

SetDC adds the dc to the list alibaba zones no credentials params

func (*ListAlibabaZonesNoCredentialsParams) SetDefaults

func (o *ListAlibabaZonesNoCredentialsParams) SetDefaults()

SetDefaults hydrates default values in the list alibaba zones no credentials params (not the query body).

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

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

WithClusterID adds the clusterID to the list alibaba zones no credentials params

func (*ListAlibabaZonesNoCredentialsParams) WithContext

WithContext adds the context to the list alibaba zones no credentials params

func (*ListAlibabaZonesNoCredentialsParams) WithDC

WithDC adds the dc to the list alibaba zones no credentials params

func (*ListAlibabaZonesNoCredentialsParams) WithDefaults

WithDefaults hydrates default values in the list alibaba zones no credentials params (not the query body).

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

func (*ListAlibabaZonesNoCredentialsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list alibaba zones no credentials params

func (*ListAlibabaZonesNoCredentialsParams) WithProjectID

WithProjectID adds the projectID to the list alibaba zones no credentials params

func (*ListAlibabaZonesNoCredentialsParams) WithRegion

WithRegion adds the region to the list alibaba zones no credentials params

func (*ListAlibabaZonesNoCredentialsParams) WithTimeout

WithTimeout adds the timeout to the list alibaba zones no credentials params

func (*ListAlibabaZonesNoCredentialsParams) WriteToRequest

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 ListAlibabaZonesNoCredentialsV2Default

type ListAlibabaZonesNoCredentialsV2Default struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
ListAlibabaZonesNoCredentialsV2Default describes a response with status code -1, with default header values.

errorResponse

func NewListAlibabaZonesNoCredentialsV2Default

func NewListAlibabaZonesNoCredentialsV2Default(code int) *ListAlibabaZonesNoCredentialsV2Default

NewListAlibabaZonesNoCredentialsV2Default creates a ListAlibabaZonesNoCredentialsV2Default with default headers values

func (*ListAlibabaZonesNoCredentialsV2Default) Code

Code gets the status code for the list alibaba zones no credentials v2 default response

func (*ListAlibabaZonesNoCredentialsV2Default) Error

func (*ListAlibabaZonesNoCredentialsV2Default) GetPayload

type ListAlibabaZonesNoCredentialsV2OK

type ListAlibabaZonesNoCredentialsV2OK struct {
	Payload models.AlibabaZoneList
}
ListAlibabaZonesNoCredentialsV2OK describes a response with status code 200, with default header values.

AlibabaZoneList

func NewListAlibabaZonesNoCredentialsV2OK

func NewListAlibabaZonesNoCredentialsV2OK() *ListAlibabaZonesNoCredentialsV2OK

NewListAlibabaZonesNoCredentialsV2OK creates a ListAlibabaZonesNoCredentialsV2OK with default headers values

func (*ListAlibabaZonesNoCredentialsV2OK) Error

func (*ListAlibabaZonesNoCredentialsV2OK) GetPayload

type ListAlibabaZonesNoCredentialsV2Params

type ListAlibabaZonesNoCredentialsV2Params struct {

	// Region.
	Region *string

	// ClusterID.
	ClusterID string

	// ProjectID.
	ProjectID string

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

ListAlibabaZonesNoCredentialsV2Params contains all the parameters to send to the API endpoint

for the list alibaba zones no credentials v2 operation.

Typically these are written to a http.Request.

func NewListAlibabaZonesNoCredentialsV2Params

func NewListAlibabaZonesNoCredentialsV2Params() *ListAlibabaZonesNoCredentialsV2Params

NewListAlibabaZonesNoCredentialsV2Params creates a new ListAlibabaZonesNoCredentialsV2Params 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 NewListAlibabaZonesNoCredentialsV2ParamsWithContext

func NewListAlibabaZonesNoCredentialsV2ParamsWithContext(ctx context.Context) *ListAlibabaZonesNoCredentialsV2Params

NewListAlibabaZonesNoCredentialsV2ParamsWithContext creates a new ListAlibabaZonesNoCredentialsV2Params object with the ability to set a context for a request.

func NewListAlibabaZonesNoCredentialsV2ParamsWithHTTPClient

func NewListAlibabaZonesNoCredentialsV2ParamsWithHTTPClient(client *http.Client) *ListAlibabaZonesNoCredentialsV2Params

NewListAlibabaZonesNoCredentialsV2ParamsWithHTTPClient creates a new ListAlibabaZonesNoCredentialsV2Params object with the ability to set a custom HTTPClient for a request.

func NewListAlibabaZonesNoCredentialsV2ParamsWithTimeout

func NewListAlibabaZonesNoCredentialsV2ParamsWithTimeout(timeout time.Duration) *ListAlibabaZonesNoCredentialsV2Params

NewListAlibabaZonesNoCredentialsV2ParamsWithTimeout creates a new ListAlibabaZonesNoCredentialsV2Params object with the ability to set a timeout on a request.

func (*ListAlibabaZonesNoCredentialsV2Params) SetClusterID

func (o *ListAlibabaZonesNoCredentialsV2Params) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the list alibaba zones no credentials v2 params

func (*ListAlibabaZonesNoCredentialsV2Params) SetContext

SetContext adds the context to the list alibaba zones no credentials v2 params

func (*ListAlibabaZonesNoCredentialsV2Params) SetDefaults

func (o *ListAlibabaZonesNoCredentialsV2Params) SetDefaults()

SetDefaults hydrates default values in the list alibaba zones no credentials v2 params (not the query body).

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

func (*ListAlibabaZonesNoCredentialsV2Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list alibaba zones no credentials v2 params

func (*ListAlibabaZonesNoCredentialsV2Params) SetProjectID

func (o *ListAlibabaZonesNoCredentialsV2Params) SetProjectID(projectID string)

SetProjectID adds the projectId to the list alibaba zones no credentials v2 params

func (*ListAlibabaZonesNoCredentialsV2Params) SetRegion

func (o *ListAlibabaZonesNoCredentialsV2Params) SetRegion(region *string)

SetRegion adds the region to the list alibaba zones no credentials v2 params

func (*ListAlibabaZonesNoCredentialsV2Params) SetTimeout

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

SetTimeout adds the timeout to the list alibaba zones no credentials v2 params

func (*ListAlibabaZonesNoCredentialsV2Params) WithClusterID

WithClusterID adds the clusterID to the list alibaba zones no credentials v2 params

func (*ListAlibabaZonesNoCredentialsV2Params) WithContext

WithContext adds the context to the list alibaba zones no credentials v2 params

func (*ListAlibabaZonesNoCredentialsV2Params) WithDefaults

WithDefaults hydrates default values in the list alibaba zones no credentials v2 params (not the query body).

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

func (*ListAlibabaZonesNoCredentialsV2Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list alibaba zones no credentials v2 params

func (*ListAlibabaZonesNoCredentialsV2Params) WithProjectID

WithProjectID adds the projectID to the list alibaba zones no credentials v2 params

func (*ListAlibabaZonesNoCredentialsV2Params) WithRegion

WithRegion adds the region to the list alibaba zones no credentials v2 params

func (*ListAlibabaZonesNoCredentialsV2Params) WithTimeout

WithTimeout adds the timeout to the list alibaba zones no credentials v2 params

func (*ListAlibabaZonesNoCredentialsV2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListAlibabaZonesNoCredentialsV2Reader

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

ListAlibabaZonesNoCredentialsV2Reader is a Reader for the ListAlibabaZonesNoCredentialsV2 structure.

func (*ListAlibabaZonesNoCredentialsV2Reader) ReadResponse

func (o *ListAlibabaZonesNoCredentialsV2Reader) 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 describes a response with status code 200, 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 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 NewListAlibabaZonesParamsWithContext

func NewListAlibabaZonesParamsWithContext(ctx context.Context) *ListAlibabaZonesParams

NewListAlibabaZonesParamsWithContext creates a new ListAlibabaZonesParams object with 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 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 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) SetDefaults

func (o *ListAlibabaZonesParams) SetDefaults()

SetDefaults hydrates default values in the list alibaba zones params (not the query body).

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

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

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) WithDefaults

WithDefaults hydrates default values in the list alibaba zones params (not the query body).

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

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

WithTimeout adds the timeout to the list alibaba zones params

func (*ListAlibabaZonesParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL