compute_nodes

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 Client

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

Client for compute nodes API

func New

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

New creates a new compute nodes API client.

func (*Client) ComputeNodeAddUser

func (a *Client) ComputeNodeAddUser(params *ComputeNodeAddUserParams) (*ComputeNodeAddUserCreated, error)

ComputeNodeAddUser adds a user account to the specified compute node

You can add a user account to a node only when it is in the idle or running state.

func (*Client) ComputeNodeDeleteUser

func (a *Client) ComputeNodeDeleteUser(params *ComputeNodeDeleteUserParams) (*ComputeNodeDeleteUserOK, error)

ComputeNodeDeleteUser deletes a user account from the specified compute node

You can delete a user account to a node only when it is in the idle or running state.

func (*Client) ComputeNodeDisableScheduling

func (a *Client) ComputeNodeDisableScheduling(params *ComputeNodeDisableSchedulingParams) (*ComputeNodeDisableSchedulingOK, error)

ComputeNodeDisableScheduling disables task scheduling on the specified compute node

func (*Client) ComputeNodeEnableScheduling

func (a *Client) ComputeNodeEnableScheduling(params *ComputeNodeEnableSchedulingParams) (*ComputeNodeEnableSchedulingOK, error)

ComputeNodeEnableScheduling enables task scheduling on the specified compute node

func (*Client) ComputeNodeGet

func (a *Client) ComputeNodeGet(params *ComputeNodeGetParams) (*ComputeNodeGetOK, error)

ComputeNodeGet gets information about the specified compute node

func (*Client) ComputeNodeGetRemoteDesktop

func (a *Client) ComputeNodeGetRemoteDesktop(params *ComputeNodeGetRemoteDesktopParams) (*ComputeNodeGetRemoteDesktopOK, error)

ComputeNodeGetRemoteDesktop gets the remote desktop protocol file for the specified compute node

Before you can access a node by using the RDP file, you must create a user account on the node. This API can only be invoked on pools created with the cloud service configuration property.

func (*Client) ComputeNodeGetRemoteLoginSettings

func (a *Client) ComputeNodeGetRemoteLoginSettings(params *ComputeNodeGetRemoteLoginSettingsParams) (*ComputeNodeGetRemoteLoginSettingsOK, error)

ComputeNodeGetRemoteLoginSettings gets the settings required for remote login to a compute node

Before you can remotely login to a node using the remote login settings, you must create a user account on the node. This API can be invoked only on pools created with the virtual machine configuration property.

func (*Client) ComputeNodeList

func (a *Client) ComputeNodeList(params *ComputeNodeListParams) (*ComputeNodeListOK, error)

ComputeNodeList lists the compute nodes in the specified pool

func (*Client) ComputeNodeReboot

func (a *Client) ComputeNodeReboot(params *ComputeNodeRebootParams) (*ComputeNodeRebootAccepted, error)

ComputeNodeReboot restarts the specified compute node

You can restart a node only if it is in an idle or running state.

func (*Client) ComputeNodeReimage

func (a *Client) ComputeNodeReimage(params *ComputeNodeReimageParams) (*ComputeNodeReimageAccepted, error)

ComputeNodeReimage reinstalls the operating system on the specified compute node

You can reinstall the operating system on a node only if it is in an idle or running state. This API can be invoked only on pools created with the cloud service configuration property.

func (*Client) ComputeNodeUpdateUser

func (a *Client) ComputeNodeUpdateUser(params *ComputeNodeUpdateUserParams) (*ComputeNodeUpdateUserOK, error)

ComputeNodeUpdateUser updates the password or expiration time of a user account on the specified compute node

This operation replaces of all the updateable properties of the account. For example, if the expiryTime element is not specified, the current value is replaced with the default value, not left unmodified. You can update a user account on a node only when it is in the idle or running state.

func (*Client) PoolRemoveNodes

func (a *Client) PoolRemoveNodes(params *PoolRemoveNodesParams) (*PoolRemoveNodesAccepted, error)

PoolRemoveNodes removes compute nodes from the specified pool

This operation can only run when the allocation state of the pool is steady. When this operation runs, the allocation state changes from steady to resizing.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ComputeNodeAddUserCreated

type ComputeNodeAddUserCreated struct {
	/*The OData ID of the resource to which the request applied.
	 */
	DataServiceID string
	/*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
}

ComputeNodeAddUserCreated handles this case with default header values.

The request to the Batch service was successful.

func NewComputeNodeAddUserCreated

func NewComputeNodeAddUserCreated() *ComputeNodeAddUserCreated

NewComputeNodeAddUserCreated creates a ComputeNodeAddUserCreated with default headers values

func (*ComputeNodeAddUserCreated) Error

func (o *ComputeNodeAddUserCreated) Error() string

type ComputeNodeAddUserDefault

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

ComputeNodeAddUserDefault handles this case with default header values.

The error from the Batch service.

func NewComputeNodeAddUserDefault

func NewComputeNodeAddUserDefault(code int) *ComputeNodeAddUserDefault

NewComputeNodeAddUserDefault creates a ComputeNodeAddUserDefault with default headers values

func (*ComputeNodeAddUserDefault) Code

func (o *ComputeNodeAddUserDefault) Code() int

Code gets the status code for the compute node add user default response

func (*ComputeNodeAddUserDefault) Error

func (o *ComputeNodeAddUserDefault) Error() string

type ComputeNodeAddUserParams

type ComputeNodeAddUserParams struct {

	/*User
	  The user account to be created.

	*/
	User *models.ComputeNodeUser
	/*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
	/*NodeID
	  The ID of the machine on which you want to create a user account.

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

	*/
	OcpDate *string
	/*PoolID
	  The ID of the pool that contains the compute node.

	*/
	PoolID 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
}

ComputeNodeAddUserParams contains all the parameters to send to the API endpoint for the compute node add user operation typically these are written to a http.Request

func NewComputeNodeAddUserParams

func NewComputeNodeAddUserParams() *ComputeNodeAddUserParams

NewComputeNodeAddUserParams creates a new ComputeNodeAddUserParams object with the default values initialized.

func NewComputeNodeAddUserParamsWithContext

func NewComputeNodeAddUserParamsWithContext(ctx context.Context) *ComputeNodeAddUserParams

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

func NewComputeNodeAddUserParamsWithTimeout

func NewComputeNodeAddUserParamsWithTimeout(timeout time.Duration) *ComputeNodeAddUserParams

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

func (*ComputeNodeAddUserParams) SetAPIVersion

func (o *ComputeNodeAddUserParams) SetAPIVersion(aPIVersion string)

SetAPIVersion adds the apiVersion to the compute node add user params

func (*ComputeNodeAddUserParams) SetClientRequestID

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

SetClientRequestID adds the clientRequestId to the compute node add user params

func (*ComputeNodeAddUserParams) SetContext

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

SetContext adds the context to the compute node add user params

func (*ComputeNodeAddUserParams) SetNodeID

func (o *ComputeNodeAddUserParams) SetNodeID(nodeID string)

SetNodeID adds the nodeId to the compute node add user params

func (*ComputeNodeAddUserParams) SetOcpDate

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

SetOcpDate adds the ocpDate to the compute node add user params

func (*ComputeNodeAddUserParams) SetPoolID

func (o *ComputeNodeAddUserParams) SetPoolID(poolID string)

SetPoolID adds the poolId to the compute node add user params

func (*ComputeNodeAddUserParams) SetRequestTimeout

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

SetRequestTimeout adds the timeout to the compute node add user params

func (*ComputeNodeAddUserParams) SetReturnClientRequestID

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

SetReturnClientRequestID adds the returnClientRequestId to the compute node add user params

func (*ComputeNodeAddUserParams) SetTimeout

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

SetTimeout adds the timeout to the compute node add user params

func (*ComputeNodeAddUserParams) SetUser

SetUser adds the user to the compute node add user params

func (*ComputeNodeAddUserParams) WithAPIVersion

func (o *ComputeNodeAddUserParams) WithAPIVersion(aPIVersion string) *ComputeNodeAddUserParams

WithAPIVersion adds the aPIVersion to the compute node add user params

func (*ComputeNodeAddUserParams) WithClientRequestID

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

WithClientRequestID adds the clientRequestID to the compute node add user params

func (*ComputeNodeAddUserParams) WithContext

WithContext adds the context to the compute node add user params

func (*ComputeNodeAddUserParams) WithNodeID

WithNodeID adds the nodeID to the compute node add user params

func (*ComputeNodeAddUserParams) WithOcpDate

func (o *ComputeNodeAddUserParams) WithOcpDate(ocpDate *string) *ComputeNodeAddUserParams

WithOcpDate adds the ocpDate to the compute node add user params

func (*ComputeNodeAddUserParams) WithPoolID

WithPoolID adds the poolID to the compute node add user params

func (*ComputeNodeAddUserParams) WithRequestTimeout

func (o *ComputeNodeAddUserParams) WithRequestTimeout(timeout time.Duration) *ComputeNodeAddUserParams

WithRequestTimeout adds the timeout to the compute node add user params

func (*ComputeNodeAddUserParams) WithReturnClientRequestID

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

WithReturnClientRequestID adds the returnClientRequestID to the compute node add user params

func (*ComputeNodeAddUserParams) WithTimeout

func (o *ComputeNodeAddUserParams) WithTimeout(timeout *int32) *ComputeNodeAddUserParams

WithTimeout adds the timeout to the compute node add user params

func (*ComputeNodeAddUserParams) WithUser

WithUser adds the user to the compute node add user params

func (*ComputeNodeAddUserParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ComputeNodeAddUserReader

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

ComputeNodeAddUserReader is a Reader for the ComputeNodeAddUser structure.

func (*ComputeNodeAddUserReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ComputeNodeDeleteUserDefault

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

ComputeNodeDeleteUserDefault handles this case with default header values.

The error from the Batch service.

func NewComputeNodeDeleteUserDefault

func NewComputeNodeDeleteUserDefault(code int) *ComputeNodeDeleteUserDefault

NewComputeNodeDeleteUserDefault creates a ComputeNodeDeleteUserDefault with default headers values

func (*ComputeNodeDeleteUserDefault) Code

Code gets the status code for the compute node delete user default response

func (*ComputeNodeDeleteUserDefault) Error

type ComputeNodeDeleteUserOK

type ComputeNodeDeleteUserOK struct {
	/*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
}

ComputeNodeDeleteUserOK handles this case with default header values.

The request to the Batch service was successful.

func NewComputeNodeDeleteUserOK

func NewComputeNodeDeleteUserOK() *ComputeNodeDeleteUserOK

NewComputeNodeDeleteUserOK creates a ComputeNodeDeleteUserOK with default headers values

func (*ComputeNodeDeleteUserOK) Error

func (o *ComputeNodeDeleteUserOK) Error() string

type ComputeNodeDeleteUserParams

type ComputeNodeDeleteUserParams struct {

	/*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
	/*NodeID
	  The ID of the machine on which you want to delete a user account.

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

	*/
	OcpDate *string
	/*PoolID
	  The ID of the pool that contains the compute node.

	*/
	PoolID 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
	/*UserName
	  The name of the user account to delete.

	*/
	UserName string

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

ComputeNodeDeleteUserParams contains all the parameters to send to the API endpoint for the compute node delete user operation typically these are written to a http.Request

func NewComputeNodeDeleteUserParams

func NewComputeNodeDeleteUserParams() *ComputeNodeDeleteUserParams

NewComputeNodeDeleteUserParams creates a new ComputeNodeDeleteUserParams object with the default values initialized.

func NewComputeNodeDeleteUserParamsWithContext

func NewComputeNodeDeleteUserParamsWithContext(ctx context.Context) *ComputeNodeDeleteUserParams

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

func NewComputeNodeDeleteUserParamsWithTimeout

func NewComputeNodeDeleteUserParamsWithTimeout(timeout time.Duration) *ComputeNodeDeleteUserParams

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

func (*ComputeNodeDeleteUserParams) SetAPIVersion

func (o *ComputeNodeDeleteUserParams) SetAPIVersion(aPIVersion string)

SetAPIVersion adds the apiVersion to the compute node delete user params

func (*ComputeNodeDeleteUserParams) SetClientRequestID

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

SetClientRequestID adds the clientRequestId to the compute node delete user params

func (*ComputeNodeDeleteUserParams) SetContext

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

SetContext adds the context to the compute node delete user params

func (*ComputeNodeDeleteUserParams) SetNodeID

func (o *ComputeNodeDeleteUserParams) SetNodeID(nodeID string)

SetNodeID adds the nodeId to the compute node delete user params

func (*ComputeNodeDeleteUserParams) SetOcpDate

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

SetOcpDate adds the ocpDate to the compute node delete user params

func (*ComputeNodeDeleteUserParams) SetPoolID

func (o *ComputeNodeDeleteUserParams) SetPoolID(poolID string)

SetPoolID adds the poolId to the compute node delete user params

func (*ComputeNodeDeleteUserParams) SetRequestTimeout

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

SetRequestTimeout adds the timeout to the compute node delete user params

func (*ComputeNodeDeleteUserParams) SetReturnClientRequestID

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

SetReturnClientRequestID adds the returnClientRequestId to the compute node delete user params

func (*ComputeNodeDeleteUserParams) SetTimeout

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

SetTimeout adds the timeout to the compute node delete user params

func (*ComputeNodeDeleteUserParams) SetUserName

func (o *ComputeNodeDeleteUserParams) SetUserName(userName string)

SetUserName adds the userName to the compute node delete user params

func (*ComputeNodeDeleteUserParams) WithAPIVersion

func (o *ComputeNodeDeleteUserParams) WithAPIVersion(aPIVersion string) *ComputeNodeDeleteUserParams

WithAPIVersion adds the aPIVersion to the compute node delete user params

func (*ComputeNodeDeleteUserParams) WithClientRequestID

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

WithClientRequestID adds the clientRequestID to the compute node delete user params

func (*ComputeNodeDeleteUserParams) WithContext

WithContext adds the context to the compute node delete user params

func (*ComputeNodeDeleteUserParams) WithNodeID

WithNodeID adds the nodeID to the compute node delete user params

func (*ComputeNodeDeleteUserParams) WithOcpDate

WithOcpDate adds the ocpDate to the compute node delete user params

func (*ComputeNodeDeleteUserParams) WithPoolID

WithPoolID adds the poolID to the compute node delete user params

func (*ComputeNodeDeleteUserParams) WithRequestTimeout

func (o *ComputeNodeDeleteUserParams) WithRequestTimeout(timeout time.Duration) *ComputeNodeDeleteUserParams

WithRequestTimeout adds the timeout to the compute node delete user params

func (*ComputeNodeDeleteUserParams) WithReturnClientRequestID

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

WithReturnClientRequestID adds the returnClientRequestID to the compute node delete user params

func (*ComputeNodeDeleteUserParams) WithTimeout

WithTimeout adds the timeout to the compute node delete user params

func (*ComputeNodeDeleteUserParams) WithUserName

WithUserName adds the userName to the compute node delete user params

func (*ComputeNodeDeleteUserParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ComputeNodeDeleteUserReader

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

ComputeNodeDeleteUserReader is a Reader for the ComputeNodeDeleteUser structure.

func (*ComputeNodeDeleteUserReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ComputeNodeDisableSchedulingDefault

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

ComputeNodeDisableSchedulingDefault handles this case with default header values.

The error from the Batch service.

func NewComputeNodeDisableSchedulingDefault

func NewComputeNodeDisableSchedulingDefault(code int) *ComputeNodeDisableSchedulingDefault

NewComputeNodeDisableSchedulingDefault creates a ComputeNodeDisableSchedulingDefault with default headers values

func (*ComputeNodeDisableSchedulingDefault) Code

Code gets the status code for the compute node disable scheduling default response

func (*ComputeNodeDisableSchedulingDefault) Error

type ComputeNodeDisableSchedulingOK

type ComputeNodeDisableSchedulingOK struct {
	/*The OData ID of the resource to which the request applied.
	 */
	DataServiceID string
	/*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
}

ComputeNodeDisableSchedulingOK handles this case with default header values.

The request to the Batch service was successful.

func NewComputeNodeDisableSchedulingOK

func NewComputeNodeDisableSchedulingOK() *ComputeNodeDisableSchedulingOK

NewComputeNodeDisableSchedulingOK creates a ComputeNodeDisableSchedulingOK with default headers values

func (*ComputeNodeDisableSchedulingOK) Error

type ComputeNodeDisableSchedulingParams

type ComputeNodeDisableSchedulingParams struct {

	/*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
	/*NodeDisableSchedulingParameter
	  The parameters for the request.

	*/
	NodeDisableSchedulingParameter *models.NodeDisableSchedulingParameter
	/*NodeID
	  The ID of the compute node on which you want to disable task scheduling.

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

	*/
	OcpDate *string
	/*PoolID
	  The ID of the pool that contains the compute node.

	*/
	PoolID 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
}

ComputeNodeDisableSchedulingParams contains all the parameters to send to the API endpoint for the compute node disable scheduling operation typically these are written to a http.Request

func NewComputeNodeDisableSchedulingParams

func NewComputeNodeDisableSchedulingParams() *ComputeNodeDisableSchedulingParams

NewComputeNodeDisableSchedulingParams creates a new ComputeNodeDisableSchedulingParams object with the default values initialized.

func NewComputeNodeDisableSchedulingParamsWithContext

func NewComputeNodeDisableSchedulingParamsWithContext(ctx context.Context) *ComputeNodeDisableSchedulingParams

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

func NewComputeNodeDisableSchedulingParamsWithTimeout

func NewComputeNodeDisableSchedulingParamsWithTimeout(timeout time.Duration) *ComputeNodeDisableSchedulingParams

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

func (*ComputeNodeDisableSchedulingParams) SetAPIVersion

func (o *ComputeNodeDisableSchedulingParams) SetAPIVersion(aPIVersion string)

SetAPIVersion adds the apiVersion to the compute node disable scheduling params

func (*ComputeNodeDisableSchedulingParams) SetClientRequestID

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

SetClientRequestID adds the clientRequestId to the compute node disable scheduling params

func (*ComputeNodeDisableSchedulingParams) SetContext

SetContext adds the context to the compute node disable scheduling params

func (*ComputeNodeDisableSchedulingParams) SetNodeDisableSchedulingParameter

func (o *ComputeNodeDisableSchedulingParams) SetNodeDisableSchedulingParameter(nodeDisableSchedulingParameter *models.NodeDisableSchedulingParameter)

SetNodeDisableSchedulingParameter adds the nodeDisableSchedulingParameter to the compute node disable scheduling params

func (*ComputeNodeDisableSchedulingParams) SetNodeID

func (o *ComputeNodeDisableSchedulingParams) SetNodeID(nodeID string)

SetNodeID adds the nodeId to the compute node disable scheduling params

func (*ComputeNodeDisableSchedulingParams) SetOcpDate

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

SetOcpDate adds the ocpDate to the compute node disable scheduling params

func (*ComputeNodeDisableSchedulingParams) SetPoolID

func (o *ComputeNodeDisableSchedulingParams) SetPoolID(poolID string)

SetPoolID adds the poolId to the compute node disable scheduling params

func (*ComputeNodeDisableSchedulingParams) SetRequestTimeout

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

SetRequestTimeout adds the timeout to the compute node disable scheduling params

func (*ComputeNodeDisableSchedulingParams) SetReturnClientRequestID

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

SetReturnClientRequestID adds the returnClientRequestId to the compute node disable scheduling params

func (*ComputeNodeDisableSchedulingParams) SetTimeout

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

SetTimeout adds the timeout to the compute node disable scheduling params

func (*ComputeNodeDisableSchedulingParams) WithAPIVersion

WithAPIVersion adds the aPIVersion to the compute node disable scheduling params

func (*ComputeNodeDisableSchedulingParams) WithClientRequestID

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

WithClientRequestID adds the clientRequestID to the compute node disable scheduling params

func (*ComputeNodeDisableSchedulingParams) WithContext

WithContext adds the context to the compute node disable scheduling params

func (*ComputeNodeDisableSchedulingParams) WithNodeDisableSchedulingParameter

func (o *ComputeNodeDisableSchedulingParams) WithNodeDisableSchedulingParameter(nodeDisableSchedulingParameter *models.NodeDisableSchedulingParameter) *ComputeNodeDisableSchedulingParams

WithNodeDisableSchedulingParameter adds the nodeDisableSchedulingParameter to the compute node disable scheduling params

func (*ComputeNodeDisableSchedulingParams) WithNodeID

WithNodeID adds the nodeID to the compute node disable scheduling params

func (*ComputeNodeDisableSchedulingParams) WithOcpDate

WithOcpDate adds the ocpDate to the compute node disable scheduling params

func (*ComputeNodeDisableSchedulingParams) WithPoolID

WithPoolID adds the poolID to the compute node disable scheduling params

func (*ComputeNodeDisableSchedulingParams) WithRequestTimeout

WithRequestTimeout adds the timeout to the compute node disable scheduling params

func (*ComputeNodeDisableSchedulingParams) WithReturnClientRequestID

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

WithReturnClientRequestID adds the returnClientRequestID to the compute node disable scheduling params

func (*ComputeNodeDisableSchedulingParams) WithTimeout

WithTimeout adds the timeout to the compute node disable scheduling params

func (*ComputeNodeDisableSchedulingParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ComputeNodeDisableSchedulingReader

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

ComputeNodeDisableSchedulingReader is a Reader for the ComputeNodeDisableScheduling structure.

func (*ComputeNodeDisableSchedulingReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ComputeNodeEnableSchedulingDefault

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

ComputeNodeEnableSchedulingDefault handles this case with default header values.

The error from the Batch service.

func NewComputeNodeEnableSchedulingDefault

func NewComputeNodeEnableSchedulingDefault(code int) *ComputeNodeEnableSchedulingDefault

NewComputeNodeEnableSchedulingDefault creates a ComputeNodeEnableSchedulingDefault with default headers values

func (*ComputeNodeEnableSchedulingDefault) Code

Code gets the status code for the compute node enable scheduling default response

func (*ComputeNodeEnableSchedulingDefault) Error

type ComputeNodeEnableSchedulingOK

type ComputeNodeEnableSchedulingOK struct {
	/*The OData ID of the resource to which the request applied.
	 */
	DataServiceID string
	/*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
}

ComputeNodeEnableSchedulingOK handles this case with default header values.

The request to the Batch service was successful.

func NewComputeNodeEnableSchedulingOK

func NewComputeNodeEnableSchedulingOK() *ComputeNodeEnableSchedulingOK

NewComputeNodeEnableSchedulingOK creates a ComputeNodeEnableSchedulingOK with default headers values

func (*ComputeNodeEnableSchedulingOK) Error

type ComputeNodeEnableSchedulingParams

type ComputeNodeEnableSchedulingParams struct {

	/*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
	/*NodeID
	  The ID of the compute node on which you want to enable task scheduling.

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

	*/
	OcpDate *string
	/*PoolID
	  The ID of the pool that contains the compute node.

	*/
	PoolID 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
}

ComputeNodeEnableSchedulingParams contains all the parameters to send to the API endpoint for the compute node enable scheduling operation typically these are written to a http.Request

func NewComputeNodeEnableSchedulingParams

func NewComputeNodeEnableSchedulingParams() *ComputeNodeEnableSchedulingParams

NewComputeNodeEnableSchedulingParams creates a new ComputeNodeEnableSchedulingParams object with the default values initialized.

func NewComputeNodeEnableSchedulingParamsWithContext

func NewComputeNodeEnableSchedulingParamsWithContext(ctx context.Context) *ComputeNodeEnableSchedulingParams

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

func NewComputeNodeEnableSchedulingParamsWithTimeout

func NewComputeNodeEnableSchedulingParamsWithTimeout(timeout time.Duration) *ComputeNodeEnableSchedulingParams

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

func (*ComputeNodeEnableSchedulingParams) SetAPIVersion

func (o *ComputeNodeEnableSchedulingParams) SetAPIVersion(aPIVersion string)

SetAPIVersion adds the apiVersion to the compute node enable scheduling params

func (*ComputeNodeEnableSchedulingParams) SetClientRequestID

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

SetClientRequestID adds the clientRequestId to the compute node enable scheduling params

func (*ComputeNodeEnableSchedulingParams) SetContext

SetContext adds the context to the compute node enable scheduling params

func (*ComputeNodeEnableSchedulingParams) SetNodeID

func (o *ComputeNodeEnableSchedulingParams) SetNodeID(nodeID string)

SetNodeID adds the nodeId to the compute node enable scheduling params

func (*ComputeNodeEnableSchedulingParams) SetOcpDate

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

SetOcpDate adds the ocpDate to the compute node enable scheduling params

func (*ComputeNodeEnableSchedulingParams) SetPoolID

func (o *ComputeNodeEnableSchedulingParams) SetPoolID(poolID string)

SetPoolID adds the poolId to the compute node enable scheduling params

func (*ComputeNodeEnableSchedulingParams) SetRequestTimeout

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

SetRequestTimeout adds the timeout to the compute node enable scheduling params

func (*ComputeNodeEnableSchedulingParams) SetReturnClientRequestID

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

SetReturnClientRequestID adds the returnClientRequestId to the compute node enable scheduling params

func (*ComputeNodeEnableSchedulingParams) SetTimeout

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

SetTimeout adds the timeout to the compute node enable scheduling params

func (*ComputeNodeEnableSchedulingParams) WithAPIVersion

WithAPIVersion adds the aPIVersion to the compute node enable scheduling params

func (*ComputeNodeEnableSchedulingParams) WithClientRequestID

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

WithClientRequestID adds the clientRequestID to the compute node enable scheduling params

func (*ComputeNodeEnableSchedulingParams) WithContext

WithContext adds the context to the compute node enable scheduling params

func (*ComputeNodeEnableSchedulingParams) WithNodeID

WithNodeID adds the nodeID to the compute node enable scheduling params

func (*ComputeNodeEnableSchedulingParams) WithOcpDate

WithOcpDate adds the ocpDate to the compute node enable scheduling params

func (*ComputeNodeEnableSchedulingParams) WithPoolID

WithPoolID adds the poolID to the compute node enable scheduling params

func (*ComputeNodeEnableSchedulingParams) WithRequestTimeout

WithRequestTimeout adds the timeout to the compute node enable scheduling params

func (*ComputeNodeEnableSchedulingParams) WithReturnClientRequestID

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

WithReturnClientRequestID adds the returnClientRequestID to the compute node enable scheduling params

func (*ComputeNodeEnableSchedulingParams) WithTimeout

WithTimeout adds the timeout to the compute node enable scheduling params

func (*ComputeNodeEnableSchedulingParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ComputeNodeEnableSchedulingReader

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

ComputeNodeEnableSchedulingReader is a Reader for the ComputeNodeEnableScheduling structure.

func (*ComputeNodeEnableSchedulingReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ComputeNodeGetDefault

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

ComputeNodeGetDefault handles this case with default header values.

The error from the Batch service.

func NewComputeNodeGetDefault

func NewComputeNodeGetDefault(code int) *ComputeNodeGetDefault

NewComputeNodeGetDefault creates a ComputeNodeGetDefault with default headers values

func (*ComputeNodeGetDefault) Code

func (o *ComputeNodeGetDefault) Code() int

Code gets the status code for the compute node get default response

func (*ComputeNodeGetDefault) Error

func (o *ComputeNodeGetDefault) Error() string

type ComputeNodeGetOK

type ComputeNodeGetOK 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.ComputeNode
}

ComputeNodeGetOK handles this case with default header values.

A response containing the compute node.

func NewComputeNodeGetOK

func NewComputeNodeGetOK() *ComputeNodeGetOK

NewComputeNodeGetOK creates a ComputeNodeGetOK with default headers values

func (*ComputeNodeGetOK) Error

func (o *ComputeNodeGetOK) Error() string

type ComputeNodeGetParams

type ComputeNodeGetParams struct {

	/*NrDollarSelect
	  An OData $select clause.

	*/
	DollarSelect *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
	/*NodeID
	  The ID of the compute node that you want to get information about.

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

	*/
	OcpDate *string
	/*PoolID
	  The ID of the pool that contains the compute node.

	*/
	PoolID 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
}

ComputeNodeGetParams contains all the parameters to send to the API endpoint for the compute node get operation typically these are written to a http.Request

func NewComputeNodeGetParams

func NewComputeNodeGetParams() *ComputeNodeGetParams

NewComputeNodeGetParams creates a new ComputeNodeGetParams object with the default values initialized.

func NewComputeNodeGetParamsWithContext

func NewComputeNodeGetParamsWithContext(ctx context.Context) *ComputeNodeGetParams

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

func NewComputeNodeGetParamsWithTimeout

func NewComputeNodeGetParamsWithTimeout(timeout time.Duration) *ComputeNodeGetParams

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

func (*ComputeNodeGetParams) SetAPIVersion

func (o *ComputeNodeGetParams) SetAPIVersion(aPIVersion string)

SetAPIVersion adds the apiVersion to the compute node get params

func (*ComputeNodeGetParams) SetClientRequestID

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

SetClientRequestID adds the clientRequestId to the compute node get params

func (*ComputeNodeGetParams) SetContext

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

SetContext adds the context to the compute node get params

func (*ComputeNodeGetParams) SetDollarSelect

func (o *ComputeNodeGetParams) SetDollarSelect(dollarSelect *string)

SetDollarSelect adds the dollarSelect to the compute node get params

func (*ComputeNodeGetParams) SetNodeID

func (o *ComputeNodeGetParams) SetNodeID(nodeID string)

SetNodeID adds the nodeId to the compute node get params

func (*ComputeNodeGetParams) SetOcpDate

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

SetOcpDate adds the ocpDate to the compute node get params

func (*ComputeNodeGetParams) SetPoolID

func (o *ComputeNodeGetParams) SetPoolID(poolID string)

SetPoolID adds the poolId to the compute node get params

func (*ComputeNodeGetParams) SetRequestTimeout

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

SetRequestTimeout adds the timeout to the compute node get params

func (*ComputeNodeGetParams) SetReturnClientRequestID

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

SetReturnClientRequestID adds the returnClientRequestId to the compute node get params

func (*ComputeNodeGetParams) SetTimeout

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

SetTimeout adds the timeout to the compute node get params

func (*ComputeNodeGetParams) WithAPIVersion

func (o *ComputeNodeGetParams) WithAPIVersion(aPIVersion string) *ComputeNodeGetParams

WithAPIVersion adds the aPIVersion to the compute node get params

func (*ComputeNodeGetParams) WithClientRequestID

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

WithClientRequestID adds the clientRequestID to the compute node get params

func (*ComputeNodeGetParams) WithContext

WithContext adds the context to the compute node get params

func (*ComputeNodeGetParams) WithDollarSelect

func (o *ComputeNodeGetParams) WithDollarSelect(dollarSelect *string) *ComputeNodeGetParams

WithDollarSelect adds the dollarSelect to the compute node get params

func (*ComputeNodeGetParams) WithNodeID

func (o *ComputeNodeGetParams) WithNodeID(nodeID string) *ComputeNodeGetParams

WithNodeID adds the nodeID to the compute node get params

func (*ComputeNodeGetParams) WithOcpDate

func (o *ComputeNodeGetParams) WithOcpDate(ocpDate *string) *ComputeNodeGetParams

WithOcpDate adds the ocpDate to the compute node get params

func (*ComputeNodeGetParams) WithPoolID

func (o *ComputeNodeGetParams) WithPoolID(poolID string) *ComputeNodeGetParams

WithPoolID adds the poolID to the compute node get params

func (*ComputeNodeGetParams) WithRequestTimeout

func (o *ComputeNodeGetParams) WithRequestTimeout(timeout time.Duration) *ComputeNodeGetParams

WithRequestTimeout adds the timeout to the compute node get params

func (*ComputeNodeGetParams) WithReturnClientRequestID

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

WithReturnClientRequestID adds the returnClientRequestID to the compute node get params

func (*ComputeNodeGetParams) WithTimeout

func (o *ComputeNodeGetParams) WithTimeout(timeout *int32) *ComputeNodeGetParams

WithTimeout adds the timeout to the compute node get params

func (*ComputeNodeGetParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ComputeNodeGetReader

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

ComputeNodeGetReader is a Reader for the ComputeNodeGet structure.

func (*ComputeNodeGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ComputeNodeGetRemoteDesktopDefault

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

ComputeNodeGetRemoteDesktopDefault handles this case with default header values.

The error from the Batch service.

func NewComputeNodeGetRemoteDesktopDefault

func NewComputeNodeGetRemoteDesktopDefault(code int) *ComputeNodeGetRemoteDesktopDefault

NewComputeNodeGetRemoteDesktopDefault creates a ComputeNodeGetRemoteDesktopDefault with default headers values

func (*ComputeNodeGetRemoteDesktopDefault) Code

Code gets the status code for the compute node get remote desktop default response

func (*ComputeNodeGetRemoteDesktopDefault) Error

type ComputeNodeGetRemoteDesktopOK

type ComputeNodeGetRemoteDesktopOK 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 runtime.File
}

ComputeNodeGetRemoteDesktopOK handles this case with default header values.

A response containing the RDP information.

func NewComputeNodeGetRemoteDesktopOK

func NewComputeNodeGetRemoteDesktopOK() *ComputeNodeGetRemoteDesktopOK

NewComputeNodeGetRemoteDesktopOK creates a ComputeNodeGetRemoteDesktopOK with default headers values

func (*ComputeNodeGetRemoteDesktopOK) Error

type ComputeNodeGetRemoteDesktopParams

type ComputeNodeGetRemoteDesktopParams struct {

	/*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
	/*NodeID
	  The ID of the compute node for which you want to get the Remote Desktop Protocol file.

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

	*/
	OcpDate *string
	/*PoolID
	  The ID of the pool that contains the compute node.

	*/
	PoolID 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
}

ComputeNodeGetRemoteDesktopParams contains all the parameters to send to the API endpoint for the compute node get remote desktop operation typically these are written to a http.Request

func NewComputeNodeGetRemoteDesktopParams

func NewComputeNodeGetRemoteDesktopParams() *ComputeNodeGetRemoteDesktopParams

NewComputeNodeGetRemoteDesktopParams creates a new ComputeNodeGetRemoteDesktopParams object with the default values initialized.

func NewComputeNodeGetRemoteDesktopParamsWithContext

func NewComputeNodeGetRemoteDesktopParamsWithContext(ctx context.Context) *ComputeNodeGetRemoteDesktopParams

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

func NewComputeNodeGetRemoteDesktopParamsWithTimeout

func NewComputeNodeGetRemoteDesktopParamsWithTimeout(timeout time.Duration) *ComputeNodeGetRemoteDesktopParams

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

func (*ComputeNodeGetRemoteDesktopParams) SetAPIVersion

func (o *ComputeNodeGetRemoteDesktopParams) SetAPIVersion(aPIVersion string)

SetAPIVersion adds the apiVersion to the compute node get remote desktop params

func (*ComputeNodeGetRemoteDesktopParams) SetClientRequestID

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

SetClientRequestID adds the clientRequestId to the compute node get remote desktop params

func (*ComputeNodeGetRemoteDesktopParams) SetContext

SetContext adds the context to the compute node get remote desktop params

func (*ComputeNodeGetRemoteDesktopParams) SetNodeID

func (o *ComputeNodeGetRemoteDesktopParams) SetNodeID(nodeID string)

SetNodeID adds the nodeId to the compute node get remote desktop params

func (*ComputeNodeGetRemoteDesktopParams) SetOcpDate

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

SetOcpDate adds the ocpDate to the compute node get remote desktop params

func (*ComputeNodeGetRemoteDesktopParams) SetPoolID

func (o *ComputeNodeGetRemoteDesktopParams) SetPoolID(poolID string)

SetPoolID adds the poolId to the compute node get remote desktop params

func (*ComputeNodeGetRemoteDesktopParams) SetRequestTimeout

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

SetRequestTimeout adds the timeout to the compute node get remote desktop params

func (*ComputeNodeGetRemoteDesktopParams) SetReturnClientRequestID

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

SetReturnClientRequestID adds the returnClientRequestId to the compute node get remote desktop params

func (*ComputeNodeGetRemoteDesktopParams) SetTimeout

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

SetTimeout adds the timeout to the compute node get remote desktop params

func (*ComputeNodeGetRemoteDesktopParams) WithAPIVersion

WithAPIVersion adds the aPIVersion to the compute node get remote desktop params

func (*ComputeNodeGetRemoteDesktopParams) WithClientRequestID

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

WithClientRequestID adds the clientRequestID to the compute node get remote desktop params

func (*ComputeNodeGetRemoteDesktopParams) WithContext

WithContext adds the context to the compute node get remote desktop params

func (*ComputeNodeGetRemoteDesktopParams) WithNodeID

WithNodeID adds the nodeID to the compute node get remote desktop params

func (*ComputeNodeGetRemoteDesktopParams) WithOcpDate

WithOcpDate adds the ocpDate to the compute node get remote desktop params

func (*ComputeNodeGetRemoteDesktopParams) WithPoolID

WithPoolID adds the poolID to the compute node get remote desktop params

func (*ComputeNodeGetRemoteDesktopParams) WithRequestTimeout

WithRequestTimeout adds the timeout to the compute node get remote desktop params

func (*ComputeNodeGetRemoteDesktopParams) WithReturnClientRequestID

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

WithReturnClientRequestID adds the returnClientRequestID to the compute node get remote desktop params

func (*ComputeNodeGetRemoteDesktopParams) WithTimeout

WithTimeout adds the timeout to the compute node get remote desktop params

func (*ComputeNodeGetRemoteDesktopParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ComputeNodeGetRemoteDesktopReader

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

ComputeNodeGetRemoteDesktopReader is a Reader for the ComputeNodeGetRemoteDesktop structure.

func (*ComputeNodeGetRemoteDesktopReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ComputeNodeGetRemoteLoginSettingsDefault

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

ComputeNodeGetRemoteLoginSettingsDefault handles this case with default header values.

The error from the Batch service.

func NewComputeNodeGetRemoteLoginSettingsDefault

func NewComputeNodeGetRemoteLoginSettingsDefault(code int) *ComputeNodeGetRemoteLoginSettingsDefault

NewComputeNodeGetRemoteLoginSettingsDefault creates a ComputeNodeGetRemoteLoginSettingsDefault with default headers values

func (*ComputeNodeGetRemoteLoginSettingsDefault) Code

Code gets the status code for the compute node get remote login settings default response

func (*ComputeNodeGetRemoteLoginSettingsDefault) Error

type ComputeNodeGetRemoteLoginSettingsOK

type ComputeNodeGetRemoteLoginSettingsOK 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.ComputeNodeGetRemoteLoginSettingsResult
}

ComputeNodeGetRemoteLoginSettingsOK handles this case with default header values.

A response containing the login settings.

func NewComputeNodeGetRemoteLoginSettingsOK

func NewComputeNodeGetRemoteLoginSettingsOK() *ComputeNodeGetRemoteLoginSettingsOK

NewComputeNodeGetRemoteLoginSettingsOK creates a ComputeNodeGetRemoteLoginSettingsOK with default headers values

func (*ComputeNodeGetRemoteLoginSettingsOK) Error

type ComputeNodeGetRemoteLoginSettingsParams

type ComputeNodeGetRemoteLoginSettingsParams struct {

	/*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
	/*NodeID
	  The ID of the compute node for which to obtain the remote login settings.

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

	*/
	OcpDate *string
	/*PoolID
	  The ID of the pool that contains the compute node.

	*/
	PoolID 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
}

ComputeNodeGetRemoteLoginSettingsParams contains all the parameters to send to the API endpoint for the compute node get remote login settings operation typically these are written to a http.Request

func NewComputeNodeGetRemoteLoginSettingsParams

func NewComputeNodeGetRemoteLoginSettingsParams() *ComputeNodeGetRemoteLoginSettingsParams

NewComputeNodeGetRemoteLoginSettingsParams creates a new ComputeNodeGetRemoteLoginSettingsParams object with the default values initialized.

func NewComputeNodeGetRemoteLoginSettingsParamsWithContext

func NewComputeNodeGetRemoteLoginSettingsParamsWithContext(ctx context.Context) *ComputeNodeGetRemoteLoginSettingsParams

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

func NewComputeNodeGetRemoteLoginSettingsParamsWithTimeout

func NewComputeNodeGetRemoteLoginSettingsParamsWithTimeout(timeout time.Duration) *ComputeNodeGetRemoteLoginSettingsParams

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

func (*ComputeNodeGetRemoteLoginSettingsParams) SetAPIVersion

func (o *ComputeNodeGetRemoteLoginSettingsParams) SetAPIVersion(aPIVersion string)

SetAPIVersion adds the apiVersion to the compute node get remote login settings params

func (*ComputeNodeGetRemoteLoginSettingsParams) SetClientRequestID

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

SetClientRequestID adds the clientRequestId to the compute node get remote login settings params

func (*ComputeNodeGetRemoteLoginSettingsParams) SetContext

SetContext adds the context to the compute node get remote login settings params

func (*ComputeNodeGetRemoteLoginSettingsParams) SetNodeID

func (o *ComputeNodeGetRemoteLoginSettingsParams) SetNodeID(nodeID string)

SetNodeID adds the nodeId to the compute node get remote login settings params

func (*ComputeNodeGetRemoteLoginSettingsParams) SetOcpDate

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

SetOcpDate adds the ocpDate to the compute node get remote login settings params

func (*ComputeNodeGetRemoteLoginSettingsParams) SetPoolID

func (o *ComputeNodeGetRemoteLoginSettingsParams) SetPoolID(poolID string)

SetPoolID adds the poolId to the compute node get remote login settings params

func (*ComputeNodeGetRemoteLoginSettingsParams) SetRequestTimeout

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

SetRequestTimeout adds the timeout to the compute node get remote login settings params

func (*ComputeNodeGetRemoteLoginSettingsParams) SetReturnClientRequestID

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

SetReturnClientRequestID adds the returnClientRequestId to the compute node get remote login settings params

func (*ComputeNodeGetRemoteLoginSettingsParams) SetTimeout

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

SetTimeout adds the timeout to the compute node get remote login settings params

func (*ComputeNodeGetRemoteLoginSettingsParams) WithAPIVersion

WithAPIVersion adds the aPIVersion to the compute node get remote login settings params

func (*ComputeNodeGetRemoteLoginSettingsParams) WithClientRequestID

WithClientRequestID adds the clientRequestID to the compute node get remote login settings params

func (*ComputeNodeGetRemoteLoginSettingsParams) WithContext

WithContext adds the context to the compute node get remote login settings params

func (*ComputeNodeGetRemoteLoginSettingsParams) WithNodeID

WithNodeID adds the nodeID to the compute node get remote login settings params

func (*ComputeNodeGetRemoteLoginSettingsParams) WithOcpDate

WithOcpDate adds the ocpDate to the compute node get remote login settings params

func (*ComputeNodeGetRemoteLoginSettingsParams) WithPoolID

WithPoolID adds the poolID to the compute node get remote login settings params

func (*ComputeNodeGetRemoteLoginSettingsParams) WithRequestTimeout

WithRequestTimeout adds the timeout to the compute node get remote login settings params

func (*ComputeNodeGetRemoteLoginSettingsParams) WithReturnClientRequestID

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

WithReturnClientRequestID adds the returnClientRequestID to the compute node get remote login settings params

func (*ComputeNodeGetRemoteLoginSettingsParams) WithTimeout

WithTimeout adds the timeout to the compute node get remote login settings params

func (*ComputeNodeGetRemoteLoginSettingsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ComputeNodeGetRemoteLoginSettingsReader

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

ComputeNodeGetRemoteLoginSettingsReader is a Reader for the ComputeNodeGetRemoteLoginSettings structure.

func (*ComputeNodeGetRemoteLoginSettingsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ComputeNodeListDefault

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

ComputeNodeListDefault handles this case with default header values.

The error from the Batch service.

func NewComputeNodeListDefault

func NewComputeNodeListDefault(code int) *ComputeNodeListDefault

NewComputeNodeListDefault creates a ComputeNodeListDefault with default headers values

func (*ComputeNodeListDefault) Code

func (o *ComputeNodeListDefault) Code() int

Code gets the status code for the compute node list default response

func (*ComputeNodeListDefault) Error

func (o *ComputeNodeListDefault) Error() string

type ComputeNodeListOK

type ComputeNodeListOK 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.ComputeNodeListResult
}

ComputeNodeListOK handles this case with default header values.

A response containing the list of nodes.

func NewComputeNodeListOK

func NewComputeNodeListOK() *ComputeNodeListOK

NewComputeNodeListOK creates a ComputeNodeListOK with default headers values

func (*ComputeNodeListOK) Error

func (o *ComputeNodeListOK) Error() string

type ComputeNodeListParams

type ComputeNodeListParams struct {

	/*NrDollarFilter
	  An OData $filter clause..

	*/
	DollarFilter *string
	/*NrDollarSelect
	  An OData $select clause.

	*/
	DollarSelect *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 nodes can 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
	/*PoolID
	  The ID of the pool from which you want to list nodes.

	*/
	PoolID 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
}

ComputeNodeListParams contains all the parameters to send to the API endpoint for the compute node list operation typically these are written to a http.Request

func NewComputeNodeListParams

func NewComputeNodeListParams() *ComputeNodeListParams

NewComputeNodeListParams creates a new ComputeNodeListParams object with the default values initialized.

func NewComputeNodeListParamsWithContext

func NewComputeNodeListParamsWithContext(ctx context.Context) *ComputeNodeListParams

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

func NewComputeNodeListParamsWithTimeout

func NewComputeNodeListParamsWithTimeout(timeout time.Duration) *ComputeNodeListParams

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

func (*ComputeNodeListParams) SetAPIVersion

func (o *ComputeNodeListParams) SetAPIVersion(aPIVersion string)

SetAPIVersion adds the apiVersion to the compute node list params

func (*ComputeNodeListParams) SetClientRequestID

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

SetClientRequestID adds the clientRequestId to the compute node list params

func (*ComputeNodeListParams) SetContext

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

SetContext adds the context to the compute node list params

func (*ComputeNodeListParams) SetDollarFilter

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

SetDollarFilter adds the dollarFilter to the compute node list params

func (*ComputeNodeListParams) SetDollarSelect

func (o *ComputeNodeListParams) SetDollarSelect(dollarSelect *string)

SetDollarSelect adds the dollarSelect to the compute node list params

func (*ComputeNodeListParams) SetMaxresults

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

SetMaxresults adds the maxresults to the compute node list params

func (*ComputeNodeListParams) SetOcpDate

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

SetOcpDate adds the ocpDate to the compute node list params

func (*ComputeNodeListParams) SetPoolID

func (o *ComputeNodeListParams) SetPoolID(poolID string)

SetPoolID adds the poolId to the compute node list params

func (*ComputeNodeListParams) SetRequestTimeout

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

SetRequestTimeout adds the timeout to the compute node list params

func (*ComputeNodeListParams) SetReturnClientRequestID

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

SetReturnClientRequestID adds the returnClientRequestId to the compute node list params

func (*ComputeNodeListParams) SetTimeout

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

SetTimeout adds the timeout to the compute node list params

func (*ComputeNodeListParams) WithAPIVersion

func (o *ComputeNodeListParams) WithAPIVersion(aPIVersion string) *ComputeNodeListParams

WithAPIVersion adds the aPIVersion to the compute node list params

func (*ComputeNodeListParams) WithClientRequestID

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

WithClientRequestID adds the clientRequestID to the compute node list params

func (*ComputeNodeListParams) WithContext

WithContext adds the context to the compute node list params

func (*ComputeNodeListParams) WithDollarFilter

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

WithDollarFilter adds the dollarFilter to the compute node list params

func (*ComputeNodeListParams) WithDollarSelect

func (o *ComputeNodeListParams) WithDollarSelect(dollarSelect *string) *ComputeNodeListParams

WithDollarSelect adds the dollarSelect to the compute node list params

func (*ComputeNodeListParams) WithMaxresults

func (o *ComputeNodeListParams) WithMaxresults(maxresults *int32) *ComputeNodeListParams

WithMaxresults adds the maxresults to the compute node list params

func (*ComputeNodeListParams) WithOcpDate

func (o *ComputeNodeListParams) WithOcpDate(ocpDate *string) *ComputeNodeListParams

WithOcpDate adds the ocpDate to the compute node list params

func (*ComputeNodeListParams) WithPoolID

func (o *ComputeNodeListParams) WithPoolID(poolID string) *ComputeNodeListParams

WithPoolID adds the poolID to the compute node list params

func (*ComputeNodeListParams) WithRequestTimeout

func (o *ComputeNodeListParams) WithRequestTimeout(timeout time.Duration) *ComputeNodeListParams

WithRequestTimeout adds the timeout to the compute node list params

func (*ComputeNodeListParams) WithReturnClientRequestID

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

WithReturnClientRequestID adds the returnClientRequestID to the compute node list params

func (*ComputeNodeListParams) WithTimeout

func (o *ComputeNodeListParams) WithTimeout(timeout *int32) *ComputeNodeListParams

WithTimeout adds the timeout to the compute node list params

func (*ComputeNodeListParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ComputeNodeListReader

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

ComputeNodeListReader is a Reader for the ComputeNodeList structure.

func (*ComputeNodeListReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ComputeNodeRebootAccepted

type ComputeNodeRebootAccepted struct {
	/*The OData ID of the resource to which the request applied.
	 */
	DataServiceID string
	/*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
}

ComputeNodeRebootAccepted handles this case with default header values.

The request to the Batch service was successful.

func NewComputeNodeRebootAccepted

func NewComputeNodeRebootAccepted() *ComputeNodeRebootAccepted

NewComputeNodeRebootAccepted creates a ComputeNodeRebootAccepted with default headers values

func (*ComputeNodeRebootAccepted) Error

func (o *ComputeNodeRebootAccepted) Error() string

type ComputeNodeRebootDefault

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

ComputeNodeRebootDefault handles this case with default header values.

The error from the Batch service.

func NewComputeNodeRebootDefault

func NewComputeNodeRebootDefault(code int) *ComputeNodeRebootDefault

NewComputeNodeRebootDefault creates a ComputeNodeRebootDefault with default headers values

func (*ComputeNodeRebootDefault) Code

func (o *ComputeNodeRebootDefault) Code() int

Code gets the status code for the compute node reboot default response

func (*ComputeNodeRebootDefault) Error

func (o *ComputeNodeRebootDefault) Error() string

type ComputeNodeRebootParams

type ComputeNodeRebootParams struct {

	/*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
	/*NodeID
	  The ID of the compute node that you want to restart.

	*/
	NodeID string
	/*NodeRebootParameter
	  The parameters for the request.

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

	*/
	OcpDate *string
	/*PoolID
	  The ID of the pool that contains the compute node.

	*/
	PoolID 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
}

ComputeNodeRebootParams contains all the parameters to send to the API endpoint for the compute node reboot operation typically these are written to a http.Request

func NewComputeNodeRebootParams

func NewComputeNodeRebootParams() *ComputeNodeRebootParams

NewComputeNodeRebootParams creates a new ComputeNodeRebootParams object with the default values initialized.

func NewComputeNodeRebootParamsWithContext

func NewComputeNodeRebootParamsWithContext(ctx context.Context) *ComputeNodeRebootParams

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

func NewComputeNodeRebootParamsWithTimeout

func NewComputeNodeRebootParamsWithTimeout(timeout time.Duration) *ComputeNodeRebootParams

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

func (*ComputeNodeRebootParams) SetAPIVersion

func (o *ComputeNodeRebootParams) SetAPIVersion(aPIVersion string)

SetAPIVersion adds the apiVersion to the compute node reboot params

func (*ComputeNodeRebootParams) SetClientRequestID

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

SetClientRequestID adds the clientRequestId to the compute node reboot params

func (*ComputeNodeRebootParams) SetContext

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

SetContext adds the context to the compute node reboot params

func (*ComputeNodeRebootParams) SetNodeID

func (o *ComputeNodeRebootParams) SetNodeID(nodeID string)

SetNodeID adds the nodeId to the compute node reboot params

func (*ComputeNodeRebootParams) SetNodeRebootParameter

func (o *ComputeNodeRebootParams) SetNodeRebootParameter(nodeRebootParameter *models.NodeRebootParameter)

SetNodeRebootParameter adds the nodeRebootParameter to the compute node reboot params

func (*ComputeNodeRebootParams) SetOcpDate

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

SetOcpDate adds the ocpDate to the compute node reboot params

func (*ComputeNodeRebootParams) SetPoolID

func (o *ComputeNodeRebootParams) SetPoolID(poolID string)

SetPoolID adds the poolId to the compute node reboot params

func (*ComputeNodeRebootParams) SetRequestTimeout

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

SetRequestTimeout adds the timeout to the compute node reboot params

func (*ComputeNodeRebootParams) SetReturnClientRequestID

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

SetReturnClientRequestID adds the returnClientRequestId to the compute node reboot params

func (*ComputeNodeRebootParams) SetTimeout

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

SetTimeout adds the timeout to the compute node reboot params

func (*ComputeNodeRebootParams) WithAPIVersion

func (o *ComputeNodeRebootParams) WithAPIVersion(aPIVersion string) *ComputeNodeRebootParams

WithAPIVersion adds the aPIVersion to the compute node reboot params

func (*ComputeNodeRebootParams) WithClientRequestID

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

WithClientRequestID adds the clientRequestID to the compute node reboot params

func (*ComputeNodeRebootParams) WithContext

WithContext adds the context to the compute node reboot params

func (*ComputeNodeRebootParams) WithNodeID

WithNodeID adds the nodeID to the compute node reboot params

func (*ComputeNodeRebootParams) WithNodeRebootParameter

func (o *ComputeNodeRebootParams) WithNodeRebootParameter(nodeRebootParameter *models.NodeRebootParameter) *ComputeNodeRebootParams

WithNodeRebootParameter adds the nodeRebootParameter to the compute node reboot params

func (*ComputeNodeRebootParams) WithOcpDate

func (o *ComputeNodeRebootParams) WithOcpDate(ocpDate *string) *ComputeNodeRebootParams

WithOcpDate adds the ocpDate to the compute node reboot params

func (*ComputeNodeRebootParams) WithPoolID

WithPoolID adds the poolID to the compute node reboot params

func (*ComputeNodeRebootParams) WithRequestTimeout

func (o *ComputeNodeRebootParams) WithRequestTimeout(timeout time.Duration) *ComputeNodeRebootParams

WithRequestTimeout adds the timeout to the compute node reboot params

func (*ComputeNodeRebootParams) WithReturnClientRequestID

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

WithReturnClientRequestID adds the returnClientRequestID to the compute node reboot params

func (*ComputeNodeRebootParams) WithTimeout

func (o *ComputeNodeRebootParams) WithTimeout(timeout *int32) *ComputeNodeRebootParams

WithTimeout adds the timeout to the compute node reboot params

func (*ComputeNodeRebootParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ComputeNodeRebootReader

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

ComputeNodeRebootReader is a Reader for the ComputeNodeReboot structure.

func (*ComputeNodeRebootReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ComputeNodeReimageAccepted

type ComputeNodeReimageAccepted struct {
	/*The OData ID of the resource to which the request applied.
	 */
	DataServiceID string
	/*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
}

ComputeNodeReimageAccepted handles this case with default header values.

The request to the Batch service was successful.

func NewComputeNodeReimageAccepted

func NewComputeNodeReimageAccepted() *ComputeNodeReimageAccepted

NewComputeNodeReimageAccepted creates a ComputeNodeReimageAccepted with default headers values

func (*ComputeNodeReimageAccepted) Error

type ComputeNodeReimageDefault

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

ComputeNodeReimageDefault handles this case with default header values.

The error from the Batch service.

func NewComputeNodeReimageDefault

func NewComputeNodeReimageDefault(code int) *ComputeNodeReimageDefault

NewComputeNodeReimageDefault creates a ComputeNodeReimageDefault with default headers values

func (*ComputeNodeReimageDefault) Code

func (o *ComputeNodeReimageDefault) Code() int

Code gets the status code for the compute node reimage default response

func (*ComputeNodeReimageDefault) Error

func (o *ComputeNodeReimageDefault) Error() string

type ComputeNodeReimageParams

type ComputeNodeReimageParams struct {

	/*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
	/*NodeID
	  The ID of the compute node that you want to restart.

	*/
	NodeID string
	/*NodeReimageParameter
	  The parameters for the request.

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

	*/
	OcpDate *string
	/*PoolID
	  The ID of the pool that contains the compute node.

	*/
	PoolID 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
}

ComputeNodeReimageParams contains all the parameters to send to the API endpoint for the compute node reimage operation typically these are written to a http.Request

func NewComputeNodeReimageParams

func NewComputeNodeReimageParams() *ComputeNodeReimageParams

NewComputeNodeReimageParams creates a new ComputeNodeReimageParams object with the default values initialized.

func NewComputeNodeReimageParamsWithContext

func NewComputeNodeReimageParamsWithContext(ctx context.Context) *ComputeNodeReimageParams

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

func NewComputeNodeReimageParamsWithTimeout

func NewComputeNodeReimageParamsWithTimeout(timeout time.Duration) *ComputeNodeReimageParams

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

func (*ComputeNodeReimageParams) SetAPIVersion

func (o *ComputeNodeReimageParams) SetAPIVersion(aPIVersion string)

SetAPIVersion adds the apiVersion to the compute node reimage params

func (*ComputeNodeReimageParams) SetClientRequestID

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

SetClientRequestID adds the clientRequestId to the compute node reimage params

func (*ComputeNodeReimageParams) SetContext

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

SetContext adds the context to the compute node reimage params

func (*ComputeNodeReimageParams) SetNodeID

func (o *ComputeNodeReimageParams) SetNodeID(nodeID string)

SetNodeID adds the nodeId to the compute node reimage params

func (*ComputeNodeReimageParams) SetNodeReimageParameter

func (o *ComputeNodeReimageParams) SetNodeReimageParameter(nodeReimageParameter *models.NodeReimageParameter)

SetNodeReimageParameter adds the nodeReimageParameter to the compute node reimage params

func (*ComputeNodeReimageParams) SetOcpDate

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

SetOcpDate adds the ocpDate to the compute node reimage params

func (*ComputeNodeReimageParams) SetPoolID

func (o *ComputeNodeReimageParams) SetPoolID(poolID string)

SetPoolID adds the poolId to the compute node reimage params

func (*ComputeNodeReimageParams) SetRequestTimeout

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

SetRequestTimeout adds the timeout to the compute node reimage params

func (*ComputeNodeReimageParams) SetReturnClientRequestID

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

SetReturnClientRequestID adds the returnClientRequestId to the compute node reimage params

func (*ComputeNodeReimageParams) SetTimeout

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

SetTimeout adds the timeout to the compute node reimage params

func (*ComputeNodeReimageParams) WithAPIVersion

func (o *ComputeNodeReimageParams) WithAPIVersion(aPIVersion string) *ComputeNodeReimageParams

WithAPIVersion adds the aPIVersion to the compute node reimage params

func (*ComputeNodeReimageParams) WithClientRequestID

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

WithClientRequestID adds the clientRequestID to the compute node reimage params

func (*ComputeNodeReimageParams) WithContext

WithContext adds the context to the compute node reimage params

func (*ComputeNodeReimageParams) WithNodeID

WithNodeID adds the nodeID to the compute node reimage params

func (*ComputeNodeReimageParams) WithNodeReimageParameter

func (o *ComputeNodeReimageParams) WithNodeReimageParameter(nodeReimageParameter *models.NodeReimageParameter) *ComputeNodeReimageParams

WithNodeReimageParameter adds the nodeReimageParameter to the compute node reimage params

func (*ComputeNodeReimageParams) WithOcpDate

func (o *ComputeNodeReimageParams) WithOcpDate(ocpDate *string) *ComputeNodeReimageParams

WithOcpDate adds the ocpDate to the compute node reimage params

func (*ComputeNodeReimageParams) WithPoolID

WithPoolID adds the poolID to the compute node reimage params

func (*ComputeNodeReimageParams) WithRequestTimeout

func (o *ComputeNodeReimageParams) WithRequestTimeout(timeout time.Duration) *ComputeNodeReimageParams

WithRequestTimeout adds the timeout to the compute node reimage params

func (*ComputeNodeReimageParams) WithReturnClientRequestID

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

WithReturnClientRequestID adds the returnClientRequestID to the compute node reimage params

func (*ComputeNodeReimageParams) WithTimeout

func (o *ComputeNodeReimageParams) WithTimeout(timeout *int32) *ComputeNodeReimageParams

WithTimeout adds the timeout to the compute node reimage params

func (*ComputeNodeReimageParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ComputeNodeReimageReader

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

ComputeNodeReimageReader is a Reader for the ComputeNodeReimage structure.

func (*ComputeNodeReimageReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ComputeNodeUpdateUserDefault

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

ComputeNodeUpdateUserDefault handles this case with default header values.

The error from the Batch service.

func NewComputeNodeUpdateUserDefault

func NewComputeNodeUpdateUserDefault(code int) *ComputeNodeUpdateUserDefault

NewComputeNodeUpdateUserDefault creates a ComputeNodeUpdateUserDefault with default headers values

func (*ComputeNodeUpdateUserDefault) Code

Code gets the status code for the compute node update user default response

func (*ComputeNodeUpdateUserDefault) Error

type ComputeNodeUpdateUserOK

type ComputeNodeUpdateUserOK struct {
	/*The OData ID of the resource to which the request applied.
	 */
	DataServiceID string
	/*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
}

ComputeNodeUpdateUserOK handles this case with default header values.

The request to the Batch service was successful.

func NewComputeNodeUpdateUserOK

func NewComputeNodeUpdateUserOK() *ComputeNodeUpdateUserOK

NewComputeNodeUpdateUserOK creates a ComputeNodeUpdateUserOK with default headers values

func (*ComputeNodeUpdateUserOK) Error

func (o *ComputeNodeUpdateUserOK) Error() string

type ComputeNodeUpdateUserParams

type ComputeNodeUpdateUserParams struct {

	/*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
	/*NodeID
	  The ID of the machine on which you want to update a user account.

	*/
	NodeID string
	/*NodeUpdateUserParameter
	  The parameters for the request.

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

	*/
	OcpDate *string
	/*PoolID
	  The ID of the pool that contains the compute node.

	*/
	PoolID 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
	/*UserName
	  The name of the user account to update.

	*/
	UserName string

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

ComputeNodeUpdateUserParams contains all the parameters to send to the API endpoint for the compute node update user operation typically these are written to a http.Request

func NewComputeNodeUpdateUserParams

func NewComputeNodeUpdateUserParams() *ComputeNodeUpdateUserParams

NewComputeNodeUpdateUserParams creates a new ComputeNodeUpdateUserParams object with the default values initialized.

func NewComputeNodeUpdateUserParamsWithContext

func NewComputeNodeUpdateUserParamsWithContext(ctx context.Context) *ComputeNodeUpdateUserParams

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

func NewComputeNodeUpdateUserParamsWithTimeout

func NewComputeNodeUpdateUserParamsWithTimeout(timeout time.Duration) *ComputeNodeUpdateUserParams

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

func (*ComputeNodeUpdateUserParams) SetAPIVersion

func (o *ComputeNodeUpdateUserParams) SetAPIVersion(aPIVersion string)

SetAPIVersion adds the apiVersion to the compute node update user params

func (*ComputeNodeUpdateUserParams) SetClientRequestID

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

SetClientRequestID adds the clientRequestId to the compute node update user params

func (*ComputeNodeUpdateUserParams) SetContext

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

SetContext adds the context to the compute node update user params

func (*ComputeNodeUpdateUserParams) SetNodeID

func (o *ComputeNodeUpdateUserParams) SetNodeID(nodeID string)

SetNodeID adds the nodeId to the compute node update user params

func (*ComputeNodeUpdateUserParams) SetNodeUpdateUserParameter

func (o *ComputeNodeUpdateUserParams) SetNodeUpdateUserParameter(nodeUpdateUserParameter *models.NodeUpdateUserParameter)

SetNodeUpdateUserParameter adds the nodeUpdateUserParameter to the compute node update user params

func (*ComputeNodeUpdateUserParams) SetOcpDate

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

SetOcpDate adds the ocpDate to the compute node update user params

func (*ComputeNodeUpdateUserParams) SetPoolID

func (o *ComputeNodeUpdateUserParams) SetPoolID(poolID string)

SetPoolID adds the poolId to the compute node update user params

func (*ComputeNodeUpdateUserParams) SetRequestTimeout

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

SetRequestTimeout adds the timeout to the compute node update user params

func (*ComputeNodeUpdateUserParams) SetReturnClientRequestID

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

SetReturnClientRequestID adds the returnClientRequestId to the compute node update user params

func (*ComputeNodeUpdateUserParams) SetTimeout

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

SetTimeout adds the timeout to the compute node update user params

func (*ComputeNodeUpdateUserParams) SetUserName

func (o *ComputeNodeUpdateUserParams) SetUserName(userName string)

SetUserName adds the userName to the compute node update user params

func (*ComputeNodeUpdateUserParams) WithAPIVersion

func (o *ComputeNodeUpdateUserParams) WithAPIVersion(aPIVersion string) *ComputeNodeUpdateUserParams

WithAPIVersion adds the aPIVersion to the compute node update user params

func (*ComputeNodeUpdateUserParams) WithClientRequestID

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

WithClientRequestID adds the clientRequestID to the compute node update user params

func (*ComputeNodeUpdateUserParams) WithContext

WithContext adds the context to the compute node update user params

func (*ComputeNodeUpdateUserParams) WithNodeID

WithNodeID adds the nodeID to the compute node update user params

func (*ComputeNodeUpdateUserParams) WithNodeUpdateUserParameter

func (o *ComputeNodeUpdateUserParams) WithNodeUpdateUserParameter(nodeUpdateUserParameter *models.NodeUpdateUserParameter) *ComputeNodeUpdateUserParams

WithNodeUpdateUserParameter adds the nodeUpdateUserParameter to the compute node update user params

func (*ComputeNodeUpdateUserParams) WithOcpDate

WithOcpDate adds the ocpDate to the compute node update user params

func (*ComputeNodeUpdateUserParams) WithPoolID

WithPoolID adds the poolID to the compute node update user params

func (*ComputeNodeUpdateUserParams) WithRequestTimeout

func (o *ComputeNodeUpdateUserParams) WithRequestTimeout(timeout time.Duration) *ComputeNodeUpdateUserParams

WithRequestTimeout adds the timeout to the compute node update user params

func (*ComputeNodeUpdateUserParams) WithReturnClientRequestID

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

WithReturnClientRequestID adds the returnClientRequestID to the compute node update user params

func (*ComputeNodeUpdateUserParams) WithTimeout

WithTimeout adds the timeout to the compute node update user params

func (*ComputeNodeUpdateUserParams) WithUserName

WithUserName adds the userName to the compute node update user params

func (*ComputeNodeUpdateUserParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ComputeNodeUpdateUserReader

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

ComputeNodeUpdateUserReader is a Reader for the ComputeNodeUpdateUser structure.

func (*ComputeNodeUpdateUserReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PoolRemoveNodesAccepted

type PoolRemoveNodesAccepted struct {
	/*The OData ID of the resource to which the request applied.
	 */
	DataServiceID string
	/*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
}

PoolRemoveNodesAccepted handles this case with default header values.

The request to the Batch service was successful.

func NewPoolRemoveNodesAccepted

func NewPoolRemoveNodesAccepted() *PoolRemoveNodesAccepted

NewPoolRemoveNodesAccepted creates a PoolRemoveNodesAccepted with default headers values

func (*PoolRemoveNodesAccepted) Error

func (o *PoolRemoveNodesAccepted) Error() string

type PoolRemoveNodesDefault

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

PoolRemoveNodesDefault handles this case with default header values.

The error from the Batch service.

func NewPoolRemoveNodesDefault

func NewPoolRemoveNodesDefault(code int) *PoolRemoveNodesDefault

NewPoolRemoveNodesDefault creates a PoolRemoveNodesDefault with default headers values

func (*PoolRemoveNodesDefault) Code

func (o *PoolRemoveNodesDefault) Code() int

Code gets the status code for the pool remove nodes default response

func (*PoolRemoveNodesDefault) Error

func (o *PoolRemoveNodesDefault) Error() string

type PoolRemoveNodesParams

type PoolRemoveNodesParams struct {

	/*IfMatch
	  An ETag is specified. Specify this header to perform the operation only if the resource's ETag is an exact match as specified.

	*/
	IfMatch *string
	/*IfModifiedSince
	  Specify this header to perform the operation only if the resource has been modified since the specified date/time.

	*/
	IfModifiedSince *string
	/*IfNoneMatch
	  An ETag is specified. Specify this header to perform the operation only if the resource's ETag does not match the specified ETag.

	*/
	IfNoneMatch *string
	/*IfUnmodifiedSince
	  Specify this header to perform the operation only if the resource has not been modified since the specified date/time.

	*/
	IfUnmodifiedSince *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
	/*NodeRemoveParameter
	  The parameters for the request.

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

	*/
	OcpDate *string
	/*PoolID
	  The ID of the pool from which you want to remove nodes.

	*/
	PoolID 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
}

PoolRemoveNodesParams contains all the parameters to send to the API endpoint for the pool remove nodes operation typically these are written to a http.Request

func NewPoolRemoveNodesParams

func NewPoolRemoveNodesParams() *PoolRemoveNodesParams

NewPoolRemoveNodesParams creates a new PoolRemoveNodesParams object with the default values initialized.

func NewPoolRemoveNodesParamsWithContext

func NewPoolRemoveNodesParamsWithContext(ctx context.Context) *PoolRemoveNodesParams

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

func NewPoolRemoveNodesParamsWithTimeout

func NewPoolRemoveNodesParamsWithTimeout(timeout time.Duration) *PoolRemoveNodesParams

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

func (*PoolRemoveNodesParams) SetAPIVersion

func (o *PoolRemoveNodesParams) SetAPIVersion(aPIVersion string)

SetAPIVersion adds the apiVersion to the pool remove nodes params

func (*PoolRemoveNodesParams) SetClientRequestID

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

SetClientRequestID adds the clientRequestId to the pool remove nodes params

func (*PoolRemoveNodesParams) SetContext

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

SetContext adds the context to the pool remove nodes params

func (*PoolRemoveNodesParams) SetIfMatch

func (o *PoolRemoveNodesParams) SetIfMatch(ifMatch *string)

SetIfMatch adds the ifMatch to the pool remove nodes params

func (*PoolRemoveNodesParams) SetIfModifiedSince

func (o *PoolRemoveNodesParams) SetIfModifiedSince(ifModifiedSince *string)

SetIfModifiedSince adds the ifModifiedSince to the pool remove nodes params

func (*PoolRemoveNodesParams) SetIfNoneMatch

func (o *PoolRemoveNodesParams) SetIfNoneMatch(ifNoneMatch *string)

SetIfNoneMatch adds the ifNoneMatch to the pool remove nodes params

func (*PoolRemoveNodesParams) SetIfUnmodifiedSince

func (o *PoolRemoveNodesParams) SetIfUnmodifiedSince(ifUnmodifiedSince *string)

SetIfUnmodifiedSince adds the ifUnmodifiedSince to the pool remove nodes params

func (*PoolRemoveNodesParams) SetNodeRemoveParameter

func (o *PoolRemoveNodesParams) SetNodeRemoveParameter(nodeRemoveParameter *models.NodeRemoveParameter)

SetNodeRemoveParameter adds the nodeRemoveParameter to the pool remove nodes params

func (*PoolRemoveNodesParams) SetOcpDate

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

SetOcpDate adds the ocpDate to the pool remove nodes params

func (*PoolRemoveNodesParams) SetPoolID

func (o *PoolRemoveNodesParams) SetPoolID(poolID string)

SetPoolID adds the poolId to the pool remove nodes params

func (*PoolRemoveNodesParams) SetRequestTimeout

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

SetRequestTimeout adds the timeout to the pool remove nodes params

func (*PoolRemoveNodesParams) SetReturnClientRequestID

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

SetReturnClientRequestID adds the returnClientRequestId to the pool remove nodes params

func (*PoolRemoveNodesParams) SetTimeout

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

SetTimeout adds the timeout to the pool remove nodes params

func (*PoolRemoveNodesParams) WithAPIVersion

func (o *PoolRemoveNodesParams) WithAPIVersion(aPIVersion string) *PoolRemoveNodesParams

WithAPIVersion adds the aPIVersion to the pool remove nodes params

func (*PoolRemoveNodesParams) WithClientRequestID

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

WithClientRequestID adds the clientRequestID to the pool remove nodes params

func (*PoolRemoveNodesParams) WithContext

WithContext adds the context to the pool remove nodes params

func (*PoolRemoveNodesParams) WithIfMatch

func (o *PoolRemoveNodesParams) WithIfMatch(ifMatch *string) *PoolRemoveNodesParams

WithIfMatch adds the ifMatch to the pool remove nodes params

func (*PoolRemoveNodesParams) WithIfModifiedSince

func (o *PoolRemoveNodesParams) WithIfModifiedSince(ifModifiedSince *string) *PoolRemoveNodesParams

WithIfModifiedSince adds the ifModifiedSince to the pool remove nodes params

func (*PoolRemoveNodesParams) WithIfNoneMatch

func (o *PoolRemoveNodesParams) WithIfNoneMatch(ifNoneMatch *string) *PoolRemoveNodesParams

WithIfNoneMatch adds the ifNoneMatch to the pool remove nodes params

func (*PoolRemoveNodesParams) WithIfUnmodifiedSince

func (o *PoolRemoveNodesParams) WithIfUnmodifiedSince(ifUnmodifiedSince *string) *PoolRemoveNodesParams

WithIfUnmodifiedSince adds the ifUnmodifiedSince to the pool remove nodes params

func (*PoolRemoveNodesParams) WithNodeRemoveParameter

func (o *PoolRemoveNodesParams) WithNodeRemoveParameter(nodeRemoveParameter *models.NodeRemoveParameter) *PoolRemoveNodesParams

WithNodeRemoveParameter adds the nodeRemoveParameter to the pool remove nodes params

func (*PoolRemoveNodesParams) WithOcpDate

func (o *PoolRemoveNodesParams) WithOcpDate(ocpDate *string) *PoolRemoveNodesParams

WithOcpDate adds the ocpDate to the pool remove nodes params

func (*PoolRemoveNodesParams) WithPoolID

func (o *PoolRemoveNodesParams) WithPoolID(poolID string) *PoolRemoveNodesParams

WithPoolID adds the poolID to the pool remove nodes params

func (*PoolRemoveNodesParams) WithRequestTimeout

func (o *PoolRemoveNodesParams) WithRequestTimeout(timeout time.Duration) *PoolRemoveNodesParams

WithRequestTimeout adds the timeout to the pool remove nodes params

func (*PoolRemoveNodesParams) WithReturnClientRequestID

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

WithReturnClientRequestID adds the returnClientRequestID to the pool remove nodes params

func (*PoolRemoveNodesParams) WithTimeout

func (o *PoolRemoveNodesParams) WithTimeout(timeout *int32) *PoolRemoveNodesParams

WithTimeout adds the timeout to the pool remove nodes params

func (*PoolRemoveNodesParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PoolRemoveNodesReader

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

PoolRemoveNodesReader is a Reader for the PoolRemoveNodes structure.

func (*PoolRemoveNodesReader) ReadResponse

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