cloud_azure_registration

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2025 License: MIT Imports: 11 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 cloud azure registration API

func (*Client) CloudRegistrationAzureDownloadScript

func (a *Client) CloudRegistrationAzureDownloadScript(params *CloudRegistrationAzureDownloadScriptParams, opts ...ClientOption) (*CloudRegistrationAzureDownloadScriptOK, error)

CloudRegistrationAzureDownloadScript retrieves script to create resources

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 {
	CloudRegistrationAzureDownloadScript(params *CloudRegistrationAzureDownloadScriptParams, opts ...ClientOption) (*CloudRegistrationAzureDownloadScriptOK, 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 cloud azure registration API client.

type CloudRegistrationAzureDownloadScriptBadRequest

type CloudRegistrationAzureDownloadScriptBadRequest struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaspecResponseFields
}

CloudRegistrationAzureDownloadScriptBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewCloudRegistrationAzureDownloadScriptBadRequest

func NewCloudRegistrationAzureDownloadScriptBadRequest() *CloudRegistrationAzureDownloadScriptBadRequest

NewCloudRegistrationAzureDownloadScriptBadRequest creates a CloudRegistrationAzureDownloadScriptBadRequest with default headers values

func (*CloudRegistrationAzureDownloadScriptBadRequest) Code

Code gets the status code for the cloud registration azure download script bad request response

func (*CloudRegistrationAzureDownloadScriptBadRequest) Error

func (*CloudRegistrationAzureDownloadScriptBadRequest) GetPayload

func (*CloudRegistrationAzureDownloadScriptBadRequest) IsClientError

IsClientError returns true when this cloud registration azure download script bad request response has a 4xx status code

func (*CloudRegistrationAzureDownloadScriptBadRequest) IsCode

IsCode returns true when this cloud registration azure download script bad request response a status code equal to that given

func (*CloudRegistrationAzureDownloadScriptBadRequest) IsRedirect

IsRedirect returns true when this cloud registration azure download script bad request response has a 3xx status code

func (*CloudRegistrationAzureDownloadScriptBadRequest) IsServerError

IsServerError returns true when this cloud registration azure download script bad request response has a 5xx status code

func (*CloudRegistrationAzureDownloadScriptBadRequest) IsSuccess

IsSuccess returns true when this cloud registration azure download script bad request response has a 2xx status code

func (*CloudRegistrationAzureDownloadScriptBadRequest) String

type CloudRegistrationAzureDownloadScriptForbidden

type CloudRegistrationAzureDownloadScriptForbidden struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaspecResponseFields
}

CloudRegistrationAzureDownloadScriptForbidden describes a response with status code 403, with default header values.

Forbidden

func NewCloudRegistrationAzureDownloadScriptForbidden

func NewCloudRegistrationAzureDownloadScriptForbidden() *CloudRegistrationAzureDownloadScriptForbidden

NewCloudRegistrationAzureDownloadScriptForbidden creates a CloudRegistrationAzureDownloadScriptForbidden with default headers values

func (*CloudRegistrationAzureDownloadScriptForbidden) Code

Code gets the status code for the cloud registration azure download script forbidden response

func (*CloudRegistrationAzureDownloadScriptForbidden) Error

func (*CloudRegistrationAzureDownloadScriptForbidden) GetPayload

func (*CloudRegistrationAzureDownloadScriptForbidden) IsClientError

IsClientError returns true when this cloud registration azure download script forbidden response has a 4xx status code

func (*CloudRegistrationAzureDownloadScriptForbidden) IsCode

IsCode returns true when this cloud registration azure download script forbidden response a status code equal to that given

func (*CloudRegistrationAzureDownloadScriptForbidden) IsRedirect

IsRedirect returns true when this cloud registration azure download script forbidden response has a 3xx status code

func (*CloudRegistrationAzureDownloadScriptForbidden) IsServerError

IsServerError returns true when this cloud registration azure download script forbidden response has a 5xx status code

func (*CloudRegistrationAzureDownloadScriptForbidden) IsSuccess

IsSuccess returns true when this cloud registration azure download script forbidden response has a 2xx status code

func (*CloudRegistrationAzureDownloadScriptForbidden) String

type CloudRegistrationAzureDownloadScriptInternalServerError

type CloudRegistrationAzureDownloadScriptInternalServerError struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaspecResponseFields
}

CloudRegistrationAzureDownloadScriptInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewCloudRegistrationAzureDownloadScriptInternalServerError

func NewCloudRegistrationAzureDownloadScriptInternalServerError() *CloudRegistrationAzureDownloadScriptInternalServerError

NewCloudRegistrationAzureDownloadScriptInternalServerError creates a CloudRegistrationAzureDownloadScriptInternalServerError with default headers values

func (*CloudRegistrationAzureDownloadScriptInternalServerError) Code

Code gets the status code for the cloud registration azure download script internal server error response

func (*CloudRegistrationAzureDownloadScriptInternalServerError) Error

func (*CloudRegistrationAzureDownloadScriptInternalServerError) GetPayload

func (*CloudRegistrationAzureDownloadScriptInternalServerError) IsClientError

IsClientError returns true when this cloud registration azure download script internal server error response has a 4xx status code

func (*CloudRegistrationAzureDownloadScriptInternalServerError) IsCode

IsCode returns true when this cloud registration azure download script internal server error response a status code equal to that given

func (*CloudRegistrationAzureDownloadScriptInternalServerError) IsRedirect

IsRedirect returns true when this cloud registration azure download script internal server error response has a 3xx status code

func (*CloudRegistrationAzureDownloadScriptInternalServerError) IsServerError

IsServerError returns true when this cloud registration azure download script internal server error response has a 5xx status code

func (*CloudRegistrationAzureDownloadScriptInternalServerError) IsSuccess

IsSuccess returns true when this cloud registration azure download script internal server error response has a 2xx status code

func (*CloudRegistrationAzureDownloadScriptInternalServerError) String

type CloudRegistrationAzureDownloadScriptOK

type CloudRegistrationAzureDownloadScriptOK struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.RestAzureProvisionGetAccountScriptResponseV1
}

CloudRegistrationAzureDownloadScriptOK describes a response with status code 200, with default header values.

OK

func NewCloudRegistrationAzureDownloadScriptOK

func NewCloudRegistrationAzureDownloadScriptOK() *CloudRegistrationAzureDownloadScriptOK

NewCloudRegistrationAzureDownloadScriptOK creates a CloudRegistrationAzureDownloadScriptOK with default headers values

func (*CloudRegistrationAzureDownloadScriptOK) Code

Code gets the status code for the cloud registration azure download script o k response

func (*CloudRegistrationAzureDownloadScriptOK) Error

func (*CloudRegistrationAzureDownloadScriptOK) GetPayload

func (*CloudRegistrationAzureDownloadScriptOK) IsClientError

func (o *CloudRegistrationAzureDownloadScriptOK) IsClientError() bool

IsClientError returns true when this cloud registration azure download script o k response has a 4xx status code

func (*CloudRegistrationAzureDownloadScriptOK) IsCode

IsCode returns true when this cloud registration azure download script o k response a status code equal to that given

func (*CloudRegistrationAzureDownloadScriptOK) IsRedirect

IsRedirect returns true when this cloud registration azure download script o k response has a 3xx status code

func (*CloudRegistrationAzureDownloadScriptOK) IsServerError

func (o *CloudRegistrationAzureDownloadScriptOK) IsServerError() bool

IsServerError returns true when this cloud registration azure download script o k response has a 5xx status code

func (*CloudRegistrationAzureDownloadScriptOK) IsSuccess

IsSuccess returns true when this cloud registration azure download script o k response has a 2xx status code

func (*CloudRegistrationAzureDownloadScriptOK) String

type CloudRegistrationAzureDownloadScriptParams

type CloudRegistrationAzureDownloadScriptParams struct {

	// Body.
	Body *models.RestAzureDownloadScriptRequestV1

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

CloudRegistrationAzureDownloadScriptParams contains all the parameters to send to the API endpoint

for the cloud registration azure download script operation.

Typically these are written to a http.Request.

func NewCloudRegistrationAzureDownloadScriptParams

func NewCloudRegistrationAzureDownloadScriptParams() *CloudRegistrationAzureDownloadScriptParams

NewCloudRegistrationAzureDownloadScriptParams creates a new CloudRegistrationAzureDownloadScriptParams 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 NewCloudRegistrationAzureDownloadScriptParamsWithContext

func NewCloudRegistrationAzureDownloadScriptParamsWithContext(ctx context.Context) *CloudRegistrationAzureDownloadScriptParams

NewCloudRegistrationAzureDownloadScriptParamsWithContext creates a new CloudRegistrationAzureDownloadScriptParams object with the ability to set a context for a request.

func NewCloudRegistrationAzureDownloadScriptParamsWithHTTPClient

func NewCloudRegistrationAzureDownloadScriptParamsWithHTTPClient(client *http.Client) *CloudRegistrationAzureDownloadScriptParams

NewCloudRegistrationAzureDownloadScriptParamsWithHTTPClient creates a new CloudRegistrationAzureDownloadScriptParams object with the ability to set a custom HTTPClient for a request.

func NewCloudRegistrationAzureDownloadScriptParamsWithTimeout

func NewCloudRegistrationAzureDownloadScriptParamsWithTimeout(timeout time.Duration) *CloudRegistrationAzureDownloadScriptParams

NewCloudRegistrationAzureDownloadScriptParamsWithTimeout creates a new CloudRegistrationAzureDownloadScriptParams object with the ability to set a timeout on a request.

func (*CloudRegistrationAzureDownloadScriptParams) SetBody

SetBody adds the body to the cloud registration azure download script params

func (*CloudRegistrationAzureDownloadScriptParams) SetContext

SetContext adds the context to the cloud registration azure download script params

func (*CloudRegistrationAzureDownloadScriptParams) SetDefaults

SetDefaults hydrates default values in the cloud registration azure download script params (not the query body).

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

func (*CloudRegistrationAzureDownloadScriptParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the cloud registration azure download script params

func (*CloudRegistrationAzureDownloadScriptParams) SetTimeout

SetTimeout adds the timeout to the cloud registration azure download script params

func (*CloudRegistrationAzureDownloadScriptParams) WithBody

WithBody adds the body to the cloud registration azure download script params

func (*CloudRegistrationAzureDownloadScriptParams) WithContext

WithContext adds the context to the cloud registration azure download script params

func (*CloudRegistrationAzureDownloadScriptParams) WithDefaults

WithDefaults hydrates default values in the cloud registration azure download script params (not the query body).

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

func (*CloudRegistrationAzureDownloadScriptParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the cloud registration azure download script params

func (*CloudRegistrationAzureDownloadScriptParams) WithTimeout

WithTimeout adds the timeout to the cloud registration azure download script params

func (*CloudRegistrationAzureDownloadScriptParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CloudRegistrationAzureDownloadScriptReader

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

CloudRegistrationAzureDownloadScriptReader is a Reader for the CloudRegistrationAzureDownloadScript structure.

func (*CloudRegistrationAzureDownloadScriptReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CloudRegistrationAzureDownloadScriptTooManyRequests

type CloudRegistrationAzureDownloadScriptTooManyRequests struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	/* Too many requests, retry after this time (as milliseconds since epoch)
	 */
	XRateLimitRetryAfter int64

	Payload *models.MsaReplyMetaOnly
}

CloudRegistrationAzureDownloadScriptTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewCloudRegistrationAzureDownloadScriptTooManyRequests

func NewCloudRegistrationAzureDownloadScriptTooManyRequests() *CloudRegistrationAzureDownloadScriptTooManyRequests

NewCloudRegistrationAzureDownloadScriptTooManyRequests creates a CloudRegistrationAzureDownloadScriptTooManyRequests with default headers values

func (*CloudRegistrationAzureDownloadScriptTooManyRequests) Code

Code gets the status code for the cloud registration azure download script too many requests response

func (*CloudRegistrationAzureDownloadScriptTooManyRequests) Error

func (*CloudRegistrationAzureDownloadScriptTooManyRequests) GetPayload

func (*CloudRegistrationAzureDownloadScriptTooManyRequests) IsClientError

IsClientError returns true when this cloud registration azure download script too many requests response has a 4xx status code

func (*CloudRegistrationAzureDownloadScriptTooManyRequests) IsCode

IsCode returns true when this cloud registration azure download script too many requests response a status code equal to that given

func (*CloudRegistrationAzureDownloadScriptTooManyRequests) IsRedirect

IsRedirect returns true when this cloud registration azure download script too many requests response has a 3xx status code

func (*CloudRegistrationAzureDownloadScriptTooManyRequests) IsServerError

IsServerError returns true when this cloud registration azure download script too many requests response has a 5xx status code

func (*CloudRegistrationAzureDownloadScriptTooManyRequests) IsSuccess

IsSuccess returns true when this cloud registration azure download script too many requests response has a 2xx status code

func (*CloudRegistrationAzureDownloadScriptTooManyRequests) String

Jump to

Keyboard shortcuts

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