azure

package
v2.14.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2020 License: Apache-2.0 Imports: 10 Imported by: 11

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

func (*Client) ListAzureAvailabilityZones

func (a *Client) ListAzureAvailabilityZones(params *ListAzureAvailabilityZonesParams, authInfo runtime.ClientAuthInfoWriter) (*ListAzureAvailabilityZonesOK, error)

ListAzureAvailabilityZones Lists VM availability zones in an Azure region

func (*Client) ListAzureAvailabilityZonesNoCredentials

ListAzureAvailabilityZonesNoCredentials Lists available VM availability zones in an Azure region

func (*Client) ListAzureSizes

func (a *Client) ListAzureSizes(params *ListAzureSizesParams, authInfo runtime.ClientAuthInfoWriter) (*ListAzureSizesOK, error)

ListAzureSizes Lists available VM sizes in an Azure region

func (*Client) ListAzureSizesNoCredentials

func (a *Client) ListAzureSizesNoCredentials(params *ListAzureSizesNoCredentialsParams, authInfo runtime.ClientAuthInfoWriter) (*ListAzureSizesNoCredentialsOK, error)

ListAzureSizesNoCredentials Lists available VM sizes in an Azure region

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	ListAzureAvailabilityZones(params *ListAzureAvailabilityZonesParams, authInfo runtime.ClientAuthInfoWriter) (*ListAzureAvailabilityZonesOK, error)

	ListAzureAvailabilityZonesNoCredentials(params *ListAzureAvailabilityZonesNoCredentialsParams, authInfo runtime.ClientAuthInfoWriter) (*ListAzureAvailabilityZonesNoCredentialsOK, error)

	ListAzureSizes(params *ListAzureSizesParams, authInfo runtime.ClientAuthInfoWriter) (*ListAzureSizesOK, error)

	ListAzureSizesNoCredentials(params *ListAzureSizesNoCredentialsParams, authInfo runtime.ClientAuthInfoWriter) (*ListAzureSizesNoCredentialsOK, 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 azure API client.

type ListAzureAvailabilityZonesDefault

type ListAzureAvailabilityZonesDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

ListAzureAvailabilityZonesDefault handles this case with default header values.

errorResponse

func NewListAzureAvailabilityZonesDefault

func NewListAzureAvailabilityZonesDefault(code int) *ListAzureAvailabilityZonesDefault

NewListAzureAvailabilityZonesDefault creates a ListAzureAvailabilityZonesDefault with default headers values

func (*ListAzureAvailabilityZonesDefault) Code

Code gets the status code for the list azure availability zones default response

func (*ListAzureAvailabilityZonesDefault) Error

func (*ListAzureAvailabilityZonesDefault) GetPayload

type ListAzureAvailabilityZonesNoCredentialsDefault

type ListAzureAvailabilityZonesNoCredentialsDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

ListAzureAvailabilityZonesNoCredentialsDefault handles this case with default header values.

errorResponse

func NewListAzureAvailabilityZonesNoCredentialsDefault

func NewListAzureAvailabilityZonesNoCredentialsDefault(code int) *ListAzureAvailabilityZonesNoCredentialsDefault

NewListAzureAvailabilityZonesNoCredentialsDefault creates a ListAzureAvailabilityZonesNoCredentialsDefault with default headers values

func (*ListAzureAvailabilityZonesNoCredentialsDefault) Code

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

func (*ListAzureAvailabilityZonesNoCredentialsDefault) Error

func (*ListAzureAvailabilityZonesNoCredentialsDefault) GetPayload

type ListAzureAvailabilityZonesNoCredentialsOK

type ListAzureAvailabilityZonesNoCredentialsOK struct {
	Payload *models.AzureAvailabilityZonesList
}

ListAzureAvailabilityZonesNoCredentialsOK handles this case with default header values.

AzureAvailabilityZonesList

func NewListAzureAvailabilityZonesNoCredentialsOK

func NewListAzureAvailabilityZonesNoCredentialsOK() *ListAzureAvailabilityZonesNoCredentialsOK

NewListAzureAvailabilityZonesNoCredentialsOK creates a ListAzureAvailabilityZonesNoCredentialsOK with default headers values

func (*ListAzureAvailabilityZonesNoCredentialsOK) Error

func (*ListAzureAvailabilityZonesNoCredentialsOK) GetPayload

type ListAzureAvailabilityZonesNoCredentialsParams

type ListAzureAvailabilityZonesNoCredentialsParams struct {

	/*SKUName*/
	SKUName *string
	/*ClusterID*/
	ClusterID string
	/*Dc*/
	DC string
	/*ProjectID*/
	ProjectID string

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

ListAzureAvailabilityZonesNoCredentialsParams contains all the parameters to send to the API endpoint for the list azure availability zones no credentials operation typically these are written to a http.Request

func NewListAzureAvailabilityZonesNoCredentialsParams

func NewListAzureAvailabilityZonesNoCredentialsParams() *ListAzureAvailabilityZonesNoCredentialsParams

NewListAzureAvailabilityZonesNoCredentialsParams creates a new ListAzureAvailabilityZonesNoCredentialsParams object with the default values initialized.

func NewListAzureAvailabilityZonesNoCredentialsParamsWithContext

func NewListAzureAvailabilityZonesNoCredentialsParamsWithContext(ctx context.Context) *ListAzureAvailabilityZonesNoCredentialsParams

NewListAzureAvailabilityZonesNoCredentialsParamsWithContext creates a new ListAzureAvailabilityZonesNoCredentialsParams object with the default values initialized, and the ability to set a context for a request

func NewListAzureAvailabilityZonesNoCredentialsParamsWithHTTPClient

func NewListAzureAvailabilityZonesNoCredentialsParamsWithHTTPClient(client *http.Client) *ListAzureAvailabilityZonesNoCredentialsParams

NewListAzureAvailabilityZonesNoCredentialsParamsWithHTTPClient creates a new ListAzureAvailabilityZonesNoCredentialsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewListAzureAvailabilityZonesNoCredentialsParamsWithTimeout

func NewListAzureAvailabilityZonesNoCredentialsParamsWithTimeout(timeout time.Duration) *ListAzureAvailabilityZonesNoCredentialsParams

NewListAzureAvailabilityZonesNoCredentialsParamsWithTimeout creates a new ListAzureAvailabilityZonesNoCredentialsParams object with the default values initialized, and the ability to set a timeout on a request

func (*ListAzureAvailabilityZonesNoCredentialsParams) SetClusterID

func (o *ListAzureAvailabilityZonesNoCredentialsParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the list azure availability zones no credentials params

func (*ListAzureAvailabilityZonesNoCredentialsParams) SetContext

SetContext adds the context to the list azure availability zones no credentials params

func (*ListAzureAvailabilityZonesNoCredentialsParams) SetDC

SetDC adds the dc to the list azure availability zones no credentials params

func (*ListAzureAvailabilityZonesNoCredentialsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list azure availability zones no credentials params

func (*ListAzureAvailabilityZonesNoCredentialsParams) SetProjectID

func (o *ListAzureAvailabilityZonesNoCredentialsParams) SetProjectID(projectID string)

SetProjectID adds the projectId to the list azure availability zones no credentials params

func (*ListAzureAvailabilityZonesNoCredentialsParams) SetSKUName

func (o *ListAzureAvailabilityZonesNoCredentialsParams) SetSKUName(sKUName *string)

SetSKUName adds the sKUName to the list azure availability zones no credentials params

func (*ListAzureAvailabilityZonesNoCredentialsParams) SetTimeout

SetTimeout adds the timeout to the list azure availability zones no credentials params

func (*ListAzureAvailabilityZonesNoCredentialsParams) WithClusterID

WithClusterID adds the clusterID to the list azure availability zones no credentials params

func (*ListAzureAvailabilityZonesNoCredentialsParams) WithContext

WithContext adds the context to the list azure availability zones no credentials params

func (*ListAzureAvailabilityZonesNoCredentialsParams) WithDC

WithDC adds the dc to the list azure availability zones no credentials params

func (*ListAzureAvailabilityZonesNoCredentialsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list azure availability zones no credentials params

func (*ListAzureAvailabilityZonesNoCredentialsParams) WithProjectID

WithProjectID adds the projectID to the list azure availability zones no credentials params

func (*ListAzureAvailabilityZonesNoCredentialsParams) WithSKUName

WithSKUName adds the sKUName to the list azure availability zones no credentials params

func (*ListAzureAvailabilityZonesNoCredentialsParams) WithTimeout

WithTimeout adds the timeout to the list azure availability zones no credentials params

func (*ListAzureAvailabilityZonesNoCredentialsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListAzureAvailabilityZonesNoCredentialsReader

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

ListAzureAvailabilityZonesNoCredentialsReader is a Reader for the ListAzureAvailabilityZonesNoCredentials structure.

func (*ListAzureAvailabilityZonesNoCredentialsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListAzureAvailabilityZonesOK

type ListAzureAvailabilityZonesOK struct {
	Payload *models.AzureAvailabilityZonesList
}

ListAzureAvailabilityZonesOK handles this case with default header values.

AzureAvailabilityZonesList

func NewListAzureAvailabilityZonesOK

func NewListAzureAvailabilityZonesOK() *ListAzureAvailabilityZonesOK

NewListAzureAvailabilityZonesOK creates a ListAzureAvailabilityZonesOK with default headers values

func (*ListAzureAvailabilityZonesOK) Error

func (*ListAzureAvailabilityZonesOK) GetPayload

type ListAzureAvailabilityZonesParams

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

ListAzureAvailabilityZonesParams contains all the parameters to send to the API endpoint for the list azure availability zones operation typically these are written to a http.Request

func NewListAzureAvailabilityZonesParams

func NewListAzureAvailabilityZonesParams() *ListAzureAvailabilityZonesParams

NewListAzureAvailabilityZonesParams creates a new ListAzureAvailabilityZonesParams object with the default values initialized.

func NewListAzureAvailabilityZonesParamsWithContext

func NewListAzureAvailabilityZonesParamsWithContext(ctx context.Context) *ListAzureAvailabilityZonesParams

NewListAzureAvailabilityZonesParamsWithContext creates a new ListAzureAvailabilityZonesParams object with the default values initialized, and the ability to set a context for a request

func NewListAzureAvailabilityZonesParamsWithHTTPClient

func NewListAzureAvailabilityZonesParamsWithHTTPClient(client *http.Client) *ListAzureAvailabilityZonesParams

NewListAzureAvailabilityZonesParamsWithHTTPClient creates a new ListAzureAvailabilityZonesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewListAzureAvailabilityZonesParamsWithTimeout

func NewListAzureAvailabilityZonesParamsWithTimeout(timeout time.Duration) *ListAzureAvailabilityZonesParams

NewListAzureAvailabilityZonesParamsWithTimeout creates a new ListAzureAvailabilityZonesParams object with the default values initialized, and the ability to set a timeout on a request

func (*ListAzureAvailabilityZonesParams) SetContext

SetContext adds the context to the list azure availability zones params

func (*ListAzureAvailabilityZonesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list azure availability zones params

func (*ListAzureAvailabilityZonesParams) SetTimeout

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

SetTimeout adds the timeout to the list azure availability zones params

func (*ListAzureAvailabilityZonesParams) WithContext

WithContext adds the context to the list azure availability zones params

func (*ListAzureAvailabilityZonesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list azure availability zones params

func (*ListAzureAvailabilityZonesParams) WithTimeout

WithTimeout adds the timeout to the list azure availability zones params

func (*ListAzureAvailabilityZonesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListAzureAvailabilityZonesReader

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

ListAzureAvailabilityZonesReader is a Reader for the ListAzureAvailabilityZones structure.

func (*ListAzureAvailabilityZonesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListAzureSizesDefault

type ListAzureSizesDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

ListAzureSizesDefault handles this case with default header values.

errorResponse

func NewListAzureSizesDefault

func NewListAzureSizesDefault(code int) *ListAzureSizesDefault

NewListAzureSizesDefault creates a ListAzureSizesDefault with default headers values

func (*ListAzureSizesDefault) Code

func (o *ListAzureSizesDefault) Code() int

Code gets the status code for the list azure sizes default response

func (*ListAzureSizesDefault) Error

func (o *ListAzureSizesDefault) Error() string

func (*ListAzureSizesDefault) GetPayload

func (o *ListAzureSizesDefault) GetPayload() *models.ErrorResponse

type ListAzureSizesNoCredentialsDefault

type ListAzureSizesNoCredentialsDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

ListAzureSizesNoCredentialsDefault handles this case with default header values.

errorResponse

func NewListAzureSizesNoCredentialsDefault

func NewListAzureSizesNoCredentialsDefault(code int) *ListAzureSizesNoCredentialsDefault

NewListAzureSizesNoCredentialsDefault creates a ListAzureSizesNoCredentialsDefault with default headers values

func (*ListAzureSizesNoCredentialsDefault) Code

Code gets the status code for the list azure sizes no credentials default response

func (*ListAzureSizesNoCredentialsDefault) Error

func (*ListAzureSizesNoCredentialsDefault) GetPayload

type ListAzureSizesNoCredentialsOK

type ListAzureSizesNoCredentialsOK struct {
	Payload models.AzureSizeList
}

ListAzureSizesNoCredentialsOK handles this case with default header values.

AzureSizeList

func NewListAzureSizesNoCredentialsOK

func NewListAzureSizesNoCredentialsOK() *ListAzureSizesNoCredentialsOK

NewListAzureSizesNoCredentialsOK creates a ListAzureSizesNoCredentialsOK with default headers values

func (*ListAzureSizesNoCredentialsOK) Error

func (*ListAzureSizesNoCredentialsOK) GetPayload

type ListAzureSizesNoCredentialsParams

type ListAzureSizesNoCredentialsParams struct {

	/*ClusterID*/
	ClusterID string
	/*Dc*/
	DC string
	/*ProjectID*/
	ProjectID string

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

ListAzureSizesNoCredentialsParams contains all the parameters to send to the API endpoint for the list azure sizes no credentials operation typically these are written to a http.Request

func NewListAzureSizesNoCredentialsParams

func NewListAzureSizesNoCredentialsParams() *ListAzureSizesNoCredentialsParams

NewListAzureSizesNoCredentialsParams creates a new ListAzureSizesNoCredentialsParams object with the default values initialized.

func NewListAzureSizesNoCredentialsParamsWithContext

func NewListAzureSizesNoCredentialsParamsWithContext(ctx context.Context) *ListAzureSizesNoCredentialsParams

NewListAzureSizesNoCredentialsParamsWithContext creates a new ListAzureSizesNoCredentialsParams object with the default values initialized, and the ability to set a context for a request

func NewListAzureSizesNoCredentialsParamsWithHTTPClient

func NewListAzureSizesNoCredentialsParamsWithHTTPClient(client *http.Client) *ListAzureSizesNoCredentialsParams

NewListAzureSizesNoCredentialsParamsWithHTTPClient creates a new ListAzureSizesNoCredentialsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewListAzureSizesNoCredentialsParamsWithTimeout

func NewListAzureSizesNoCredentialsParamsWithTimeout(timeout time.Duration) *ListAzureSizesNoCredentialsParams

NewListAzureSizesNoCredentialsParamsWithTimeout creates a new ListAzureSizesNoCredentialsParams object with the default values initialized, and the ability to set a timeout on a request

func (*ListAzureSizesNoCredentialsParams) SetClusterID

func (o *ListAzureSizesNoCredentialsParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the list azure sizes no credentials params

func (*ListAzureSizesNoCredentialsParams) SetContext

SetContext adds the context to the list azure sizes no credentials params

func (*ListAzureSizesNoCredentialsParams) SetDC

SetDC adds the dc to the list azure sizes no credentials params

func (*ListAzureSizesNoCredentialsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list azure sizes no credentials params

func (*ListAzureSizesNoCredentialsParams) SetProjectID

func (o *ListAzureSizesNoCredentialsParams) SetProjectID(projectID string)

SetProjectID adds the projectId to the list azure sizes no credentials params

func (*ListAzureSizesNoCredentialsParams) SetTimeout

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

SetTimeout adds the timeout to the list azure sizes no credentials params

func (*ListAzureSizesNoCredentialsParams) WithClusterID

WithClusterID adds the clusterID to the list azure sizes no credentials params

func (*ListAzureSizesNoCredentialsParams) WithContext

WithContext adds the context to the list azure sizes no credentials params

func (*ListAzureSizesNoCredentialsParams) WithDC

WithDC adds the dc to the list azure sizes no credentials params

func (*ListAzureSizesNoCredentialsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list azure sizes no credentials params

func (*ListAzureSizesNoCredentialsParams) WithProjectID

WithProjectID adds the projectID to the list azure sizes no credentials params

func (*ListAzureSizesNoCredentialsParams) WithTimeout

WithTimeout adds the timeout to the list azure sizes no credentials params

func (*ListAzureSizesNoCredentialsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListAzureSizesNoCredentialsReader

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

ListAzureSizesNoCredentialsReader is a Reader for the ListAzureSizesNoCredentials structure.

func (*ListAzureSizesNoCredentialsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListAzureSizesOK

type ListAzureSizesOK struct {
	Payload models.AzureSizeList
}

ListAzureSizesOK handles this case with default header values.

AzureSizeList

func NewListAzureSizesOK

func NewListAzureSizesOK() *ListAzureSizesOK

NewListAzureSizesOK creates a ListAzureSizesOK with default headers values

func (*ListAzureSizesOK) Error

func (o *ListAzureSizesOK) Error() string

func (*ListAzureSizesOK) GetPayload

func (o *ListAzureSizesOK) GetPayload() models.AzureSizeList

type ListAzureSizesParams

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

ListAzureSizesParams contains all the parameters to send to the API endpoint for the list azure sizes operation typically these are written to a http.Request

func NewListAzureSizesParams

func NewListAzureSizesParams() *ListAzureSizesParams

NewListAzureSizesParams creates a new ListAzureSizesParams object with the default values initialized.

func NewListAzureSizesParamsWithContext

func NewListAzureSizesParamsWithContext(ctx context.Context) *ListAzureSizesParams

NewListAzureSizesParamsWithContext creates a new ListAzureSizesParams object with the default values initialized, and the ability to set a context for a request

func NewListAzureSizesParamsWithHTTPClient

func NewListAzureSizesParamsWithHTTPClient(client *http.Client) *ListAzureSizesParams

NewListAzureSizesParamsWithHTTPClient creates a new ListAzureSizesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewListAzureSizesParamsWithTimeout

func NewListAzureSizesParamsWithTimeout(timeout time.Duration) *ListAzureSizesParams

NewListAzureSizesParamsWithTimeout creates a new ListAzureSizesParams object with the default values initialized, and the ability to set a timeout on a request

func (*ListAzureSizesParams) SetContext

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

SetContext adds the context to the list azure sizes params

func (*ListAzureSizesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list azure sizes params

func (*ListAzureSizesParams) SetTimeout

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

SetTimeout adds the timeout to the list azure sizes params

func (*ListAzureSizesParams) WithContext

WithContext adds the context to the list azure sizes params

func (*ListAzureSizesParams) WithHTTPClient

func (o *ListAzureSizesParams) WithHTTPClient(client *http.Client) *ListAzureSizesParams

WithHTTPClient adds the HTTPClient to the list azure sizes params

func (*ListAzureSizesParams) WithTimeout

func (o *ListAzureSizesParams) WithTimeout(timeout time.Duration) *ListAzureSizesParams

WithTimeout adds the timeout to the list azure sizes params

func (*ListAzureSizesParams) WriteToRequest

func (o *ListAzureSizesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ListAzureSizesReader

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

ListAzureSizesReader is a Reader for the ListAzureSizes structure.

func (*ListAzureSizesReader) ReadResponse

func (o *ListAzureSizesReader) 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