accounts

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2017 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountListNodeAgentSkusDefault

type AccountListNodeAgentSkusDefault struct {
	Payload *models.BatchError
	// contains filtered or unexported fields
}

AccountListNodeAgentSkusDefault handles this case with default header values.

The error from the Batch service.

func NewAccountListNodeAgentSkusDefault

func NewAccountListNodeAgentSkusDefault(code int) *AccountListNodeAgentSkusDefault

NewAccountListNodeAgentSkusDefault creates a AccountListNodeAgentSkusDefault with default headers values

func (*AccountListNodeAgentSkusDefault) Code

Code gets the status code for the account list node agent skus default response

func (*AccountListNodeAgentSkusDefault) Error

type AccountListNodeAgentSkusOK

type AccountListNodeAgentSkusOK struct {
	/*The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Modified-Since, If-Unmodified-Since, If-Match or If-None-Match headers.
	 */
	ETag string
	/*The time at which the resource was last modified.
	 */
	LastModified string
	/*The client-request-id provided by the client during the request. This will be returned only if the return-client-request-id parameter was set to true.
	 */
	ClientRequestID string
	/*This header uniquely identifies the request that was made and can be used for troubleshooting the request. If a request is consistently failing and you have verified that the request is properly formulated, you may use this value to report the error to Microsoft. In your report, include the value of this header, the approximate time that the request was made, the Batch account against which the request was made, and the region that account resides in.
	 */
	RequestID string

	Payload *models.AccountListNodeAgentSkusResult
}

AccountListNodeAgentSkusOK handles this case with default header values.

A response containing the list of node agent SKUs.

func NewAccountListNodeAgentSkusOK

func NewAccountListNodeAgentSkusOK() *AccountListNodeAgentSkusOK

NewAccountListNodeAgentSkusOK creates a AccountListNodeAgentSkusOK with default headers values

func (*AccountListNodeAgentSkusOK) Error

type AccountListNodeAgentSkusParams

type AccountListNodeAgentSkusParams struct {

	/*NrDollarFilter
	  An OData $filter clause.

	*/
	DollarFilter *string
	/*APIVersion
	  Client API Version.

	*/
	APIVersion string
	/*ClientRequestID
	  The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.

	*/
	ClientRequestID *string
	/*Maxresults
	  The maximum number of items to return in the response. A maximum of 1000 results will be returned.

	*/
	Maxresults *int32
	/*OcpDate
	  The time the request was issued. If not specified, this header will be automatically populated with the current system clock time.

	*/
	OcpDate *string
	/*ReturnClientRequestID
	  Whether the server should return the client-request-id in the response.

	*/
	ReturnClientRequestID *bool
	/*Timeout
	  The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.

	*/
	Timeout *int32

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

AccountListNodeAgentSkusParams contains all the parameters to send to the API endpoint for the account list node agent skus operation typically these are written to a http.Request

func NewAccountListNodeAgentSkusParams

func NewAccountListNodeAgentSkusParams() *AccountListNodeAgentSkusParams

NewAccountListNodeAgentSkusParams creates a new AccountListNodeAgentSkusParams object with the default values initialized.

func NewAccountListNodeAgentSkusParamsWithContext

func NewAccountListNodeAgentSkusParamsWithContext(ctx context.Context) *AccountListNodeAgentSkusParams

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

func NewAccountListNodeAgentSkusParamsWithTimeout

func NewAccountListNodeAgentSkusParamsWithTimeout(timeout time.Duration) *AccountListNodeAgentSkusParams

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

func (*AccountListNodeAgentSkusParams) SetAPIVersion

func (o *AccountListNodeAgentSkusParams) SetAPIVersion(aPIVersion string)

SetAPIVersion adds the apiVersion to the account list node agent skus params

func (*AccountListNodeAgentSkusParams) SetClientRequestID

func (o *AccountListNodeAgentSkusParams) SetClientRequestID(clientRequestID *string)

SetClientRequestID adds the clientRequestId to the account list node agent skus params

func (*AccountListNodeAgentSkusParams) SetContext

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

SetContext adds the context to the account list node agent skus params

func (*AccountListNodeAgentSkusParams) SetDollarFilter

func (o *AccountListNodeAgentSkusParams) SetDollarFilter(dollarFilter *string)

SetDollarFilter adds the dollarFilter to the account list node agent skus params

func (*AccountListNodeAgentSkusParams) SetMaxresults

func (o *AccountListNodeAgentSkusParams) SetMaxresults(maxresults *int32)

SetMaxresults adds the maxresults to the account list node agent skus params

func (*AccountListNodeAgentSkusParams) SetOcpDate

func (o *AccountListNodeAgentSkusParams) SetOcpDate(ocpDate *string)

SetOcpDate adds the ocpDate to the account list node agent skus params

func (*AccountListNodeAgentSkusParams) SetRequestTimeout

func (o *AccountListNodeAgentSkusParams) SetRequestTimeout(timeout time.Duration)

SetRequestTimeout adds the timeout to the account list node agent skus params

func (*AccountListNodeAgentSkusParams) SetReturnClientRequestID

func (o *AccountListNodeAgentSkusParams) SetReturnClientRequestID(returnClientRequestID *bool)

SetReturnClientRequestID adds the returnClientRequestId to the account list node agent skus params

func (*AccountListNodeAgentSkusParams) SetTimeout

func (o *AccountListNodeAgentSkusParams) SetTimeout(timeout *int32)

SetTimeout adds the timeout to the account list node agent skus params

func (*AccountListNodeAgentSkusParams) WithAPIVersion

WithAPIVersion adds the aPIVersion to the account list node agent skus params

func (*AccountListNodeAgentSkusParams) WithClientRequestID

func (o *AccountListNodeAgentSkusParams) WithClientRequestID(clientRequestID *string) *AccountListNodeAgentSkusParams

WithClientRequestID adds the clientRequestID to the account list node agent skus params

func (*AccountListNodeAgentSkusParams) WithContext

WithContext adds the context to the account list node agent skus params

func (*AccountListNodeAgentSkusParams) WithDollarFilter

func (o *AccountListNodeAgentSkusParams) WithDollarFilter(dollarFilter *string) *AccountListNodeAgentSkusParams

WithDollarFilter adds the dollarFilter to the account list node agent skus params

func (*AccountListNodeAgentSkusParams) WithMaxresults

WithMaxresults adds the maxresults to the account list node agent skus params

func (*AccountListNodeAgentSkusParams) WithOcpDate

WithOcpDate adds the ocpDate to the account list node agent skus params

func (*AccountListNodeAgentSkusParams) WithRequestTimeout

WithRequestTimeout adds the timeout to the account list node agent skus params

func (*AccountListNodeAgentSkusParams) WithReturnClientRequestID

func (o *AccountListNodeAgentSkusParams) WithReturnClientRequestID(returnClientRequestID *bool) *AccountListNodeAgentSkusParams

WithReturnClientRequestID adds the returnClientRequestID to the account list node agent skus params

func (*AccountListNodeAgentSkusParams) WithTimeout

WithTimeout adds the timeout to the account list node agent skus params

func (*AccountListNodeAgentSkusParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AccountListNodeAgentSkusReader

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

AccountListNodeAgentSkusReader is a Reader for the AccountListNodeAgentSkus structure.

func (*AccountListNodeAgentSkusReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type Client

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

Client for accounts API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new accounts API client.

func (*Client) AccountListNodeAgentSkus

func (a *Client) AccountListNodeAgentSkus(params *AccountListNodeAgentSkusParams) (*AccountListNodeAgentSkusOK, error)

AccountListNodeAgentSkus lists all node agent s k us supported by the azure batch service

func (*Client) SetTransport

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

SetTransport changes the transport on the client

Jump to

Keyboard shortcuts

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