Documentation
¶
Index ¶
- type Client
- func (a *Client) ComputeNodeAddUser(params *ComputeNodeAddUserParams) (*ComputeNodeAddUserCreated, error)
- func (a *Client) ComputeNodeDeleteUser(params *ComputeNodeDeleteUserParams) (*ComputeNodeDeleteUserOK, error)
- func (a *Client) ComputeNodeDisableScheduling(params *ComputeNodeDisableSchedulingParams) (*ComputeNodeDisableSchedulingOK, error)
- func (a *Client) ComputeNodeEnableScheduling(params *ComputeNodeEnableSchedulingParams) (*ComputeNodeEnableSchedulingOK, error)
- func (a *Client) ComputeNodeGet(params *ComputeNodeGetParams) (*ComputeNodeGetOK, error)
- func (a *Client) ComputeNodeGetRemoteDesktop(params *ComputeNodeGetRemoteDesktopParams) (*ComputeNodeGetRemoteDesktopOK, error)
- func (a *Client) ComputeNodeGetRemoteLoginSettings(params *ComputeNodeGetRemoteLoginSettingsParams) (*ComputeNodeGetRemoteLoginSettingsOK, error)
- func (a *Client) ComputeNodeList(params *ComputeNodeListParams) (*ComputeNodeListOK, error)
- func (a *Client) ComputeNodeReboot(params *ComputeNodeRebootParams) (*ComputeNodeRebootAccepted, error)
- func (a *Client) ComputeNodeReimage(params *ComputeNodeReimageParams) (*ComputeNodeReimageAccepted, error)
- func (a *Client) ComputeNodeUpdateUser(params *ComputeNodeUpdateUserParams) (*ComputeNodeUpdateUserOK, error)
- func (a *Client) PoolRemoveNodes(params *PoolRemoveNodesParams) (*PoolRemoveNodesAccepted, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ComputeNodeAddUserCreated
- type ComputeNodeAddUserDefault
- type ComputeNodeAddUserParams
- func (o *ComputeNodeAddUserParams) SetAPIVersion(aPIVersion string)
- func (o *ComputeNodeAddUserParams) SetClientRequestID(clientRequestID *string)
- func (o *ComputeNodeAddUserParams) SetContext(ctx context.Context)
- func (o *ComputeNodeAddUserParams) SetNodeID(nodeID string)
- func (o *ComputeNodeAddUserParams) SetOcpDate(ocpDate *string)
- func (o *ComputeNodeAddUserParams) SetPoolID(poolID string)
- func (o *ComputeNodeAddUserParams) SetRequestTimeout(timeout time.Duration)
- func (o *ComputeNodeAddUserParams) SetReturnClientRequestID(returnClientRequestID *bool)
- func (o *ComputeNodeAddUserParams) SetTimeout(timeout *int32)
- func (o *ComputeNodeAddUserParams) SetUser(user *models.ComputeNodeUser)
- func (o *ComputeNodeAddUserParams) WithAPIVersion(aPIVersion string) *ComputeNodeAddUserParams
- func (o *ComputeNodeAddUserParams) WithClientRequestID(clientRequestID *string) *ComputeNodeAddUserParams
- func (o *ComputeNodeAddUserParams) WithContext(ctx context.Context) *ComputeNodeAddUserParams
- func (o *ComputeNodeAddUserParams) WithNodeID(nodeID string) *ComputeNodeAddUserParams
- func (o *ComputeNodeAddUserParams) WithOcpDate(ocpDate *string) *ComputeNodeAddUserParams
- func (o *ComputeNodeAddUserParams) WithPoolID(poolID string) *ComputeNodeAddUserParams
- func (o *ComputeNodeAddUserParams) WithRequestTimeout(timeout time.Duration) *ComputeNodeAddUserParams
- func (o *ComputeNodeAddUserParams) WithReturnClientRequestID(returnClientRequestID *bool) *ComputeNodeAddUserParams
- func (o *ComputeNodeAddUserParams) WithTimeout(timeout *int32) *ComputeNodeAddUserParams
- func (o *ComputeNodeAddUserParams) WithUser(user *models.ComputeNodeUser) *ComputeNodeAddUserParams
- func (o *ComputeNodeAddUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ComputeNodeAddUserReader
- type ComputeNodeDeleteUserDefault
- type ComputeNodeDeleteUserOK
- type ComputeNodeDeleteUserParams
- func (o *ComputeNodeDeleteUserParams) SetAPIVersion(aPIVersion string)
- func (o *ComputeNodeDeleteUserParams) SetClientRequestID(clientRequestID *string)
- func (o *ComputeNodeDeleteUserParams) SetContext(ctx context.Context)
- func (o *ComputeNodeDeleteUserParams) SetNodeID(nodeID string)
- func (o *ComputeNodeDeleteUserParams) SetOcpDate(ocpDate *string)
- func (o *ComputeNodeDeleteUserParams) SetPoolID(poolID string)
- func (o *ComputeNodeDeleteUserParams) SetRequestTimeout(timeout time.Duration)
- func (o *ComputeNodeDeleteUserParams) SetReturnClientRequestID(returnClientRequestID *bool)
- func (o *ComputeNodeDeleteUserParams) SetTimeout(timeout *int32)
- func (o *ComputeNodeDeleteUserParams) SetUserName(userName string)
- func (o *ComputeNodeDeleteUserParams) WithAPIVersion(aPIVersion string) *ComputeNodeDeleteUserParams
- func (o *ComputeNodeDeleteUserParams) WithClientRequestID(clientRequestID *string) *ComputeNodeDeleteUserParams
- func (o *ComputeNodeDeleteUserParams) WithContext(ctx context.Context) *ComputeNodeDeleteUserParams
- func (o *ComputeNodeDeleteUserParams) WithNodeID(nodeID string) *ComputeNodeDeleteUserParams
- func (o *ComputeNodeDeleteUserParams) WithOcpDate(ocpDate *string) *ComputeNodeDeleteUserParams
- func (o *ComputeNodeDeleteUserParams) WithPoolID(poolID string) *ComputeNodeDeleteUserParams
- func (o *ComputeNodeDeleteUserParams) WithRequestTimeout(timeout time.Duration) *ComputeNodeDeleteUserParams
- func (o *ComputeNodeDeleteUserParams) WithReturnClientRequestID(returnClientRequestID *bool) *ComputeNodeDeleteUserParams
- func (o *ComputeNodeDeleteUserParams) WithTimeout(timeout *int32) *ComputeNodeDeleteUserParams
- func (o *ComputeNodeDeleteUserParams) WithUserName(userName string) *ComputeNodeDeleteUserParams
- func (o *ComputeNodeDeleteUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ComputeNodeDeleteUserReader
- type ComputeNodeDisableSchedulingDefault
- type ComputeNodeDisableSchedulingOK
- type ComputeNodeDisableSchedulingParams
- func NewComputeNodeDisableSchedulingParams() *ComputeNodeDisableSchedulingParams
- func NewComputeNodeDisableSchedulingParamsWithContext(ctx context.Context) *ComputeNodeDisableSchedulingParams
- func NewComputeNodeDisableSchedulingParamsWithTimeout(timeout time.Duration) *ComputeNodeDisableSchedulingParams
- func (o *ComputeNodeDisableSchedulingParams) SetAPIVersion(aPIVersion string)
- func (o *ComputeNodeDisableSchedulingParams) SetClientRequestID(clientRequestID *string)
- func (o *ComputeNodeDisableSchedulingParams) SetContext(ctx context.Context)
- func (o *ComputeNodeDisableSchedulingParams) SetNodeDisableSchedulingParameter(nodeDisableSchedulingParameter *models.NodeDisableSchedulingParameter)
- func (o *ComputeNodeDisableSchedulingParams) SetNodeID(nodeID string)
- func (o *ComputeNodeDisableSchedulingParams) SetOcpDate(ocpDate *string)
- func (o *ComputeNodeDisableSchedulingParams) SetPoolID(poolID string)
- func (o *ComputeNodeDisableSchedulingParams) SetRequestTimeout(timeout time.Duration)
- func (o *ComputeNodeDisableSchedulingParams) SetReturnClientRequestID(returnClientRequestID *bool)
- func (o *ComputeNodeDisableSchedulingParams) SetTimeout(timeout *int32)
- func (o *ComputeNodeDisableSchedulingParams) WithAPIVersion(aPIVersion string) *ComputeNodeDisableSchedulingParams
- func (o *ComputeNodeDisableSchedulingParams) WithClientRequestID(clientRequestID *string) *ComputeNodeDisableSchedulingParams
- func (o *ComputeNodeDisableSchedulingParams) WithContext(ctx context.Context) *ComputeNodeDisableSchedulingParams
- func (o *ComputeNodeDisableSchedulingParams) WithNodeDisableSchedulingParameter(nodeDisableSchedulingParameter *models.NodeDisableSchedulingParameter) *ComputeNodeDisableSchedulingParams
- func (o *ComputeNodeDisableSchedulingParams) WithNodeID(nodeID string) *ComputeNodeDisableSchedulingParams
- func (o *ComputeNodeDisableSchedulingParams) WithOcpDate(ocpDate *string) *ComputeNodeDisableSchedulingParams
- func (o *ComputeNodeDisableSchedulingParams) WithPoolID(poolID string) *ComputeNodeDisableSchedulingParams
- func (o *ComputeNodeDisableSchedulingParams) WithRequestTimeout(timeout time.Duration) *ComputeNodeDisableSchedulingParams
- func (o *ComputeNodeDisableSchedulingParams) WithReturnClientRequestID(returnClientRequestID *bool) *ComputeNodeDisableSchedulingParams
- func (o *ComputeNodeDisableSchedulingParams) WithTimeout(timeout *int32) *ComputeNodeDisableSchedulingParams
- func (o *ComputeNodeDisableSchedulingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ComputeNodeDisableSchedulingReader
- type ComputeNodeEnableSchedulingDefault
- type ComputeNodeEnableSchedulingOK
- type ComputeNodeEnableSchedulingParams
- func (o *ComputeNodeEnableSchedulingParams) SetAPIVersion(aPIVersion string)
- func (o *ComputeNodeEnableSchedulingParams) SetClientRequestID(clientRequestID *string)
- func (o *ComputeNodeEnableSchedulingParams) SetContext(ctx context.Context)
- func (o *ComputeNodeEnableSchedulingParams) SetNodeID(nodeID string)
- func (o *ComputeNodeEnableSchedulingParams) SetOcpDate(ocpDate *string)
- func (o *ComputeNodeEnableSchedulingParams) SetPoolID(poolID string)
- func (o *ComputeNodeEnableSchedulingParams) SetRequestTimeout(timeout time.Duration)
- func (o *ComputeNodeEnableSchedulingParams) SetReturnClientRequestID(returnClientRequestID *bool)
- func (o *ComputeNodeEnableSchedulingParams) SetTimeout(timeout *int32)
- func (o *ComputeNodeEnableSchedulingParams) WithAPIVersion(aPIVersion string) *ComputeNodeEnableSchedulingParams
- func (o *ComputeNodeEnableSchedulingParams) WithClientRequestID(clientRequestID *string) *ComputeNodeEnableSchedulingParams
- func (o *ComputeNodeEnableSchedulingParams) WithContext(ctx context.Context) *ComputeNodeEnableSchedulingParams
- func (o *ComputeNodeEnableSchedulingParams) WithNodeID(nodeID string) *ComputeNodeEnableSchedulingParams
- func (o *ComputeNodeEnableSchedulingParams) WithOcpDate(ocpDate *string) *ComputeNodeEnableSchedulingParams
- func (o *ComputeNodeEnableSchedulingParams) WithPoolID(poolID string) *ComputeNodeEnableSchedulingParams
- func (o *ComputeNodeEnableSchedulingParams) WithRequestTimeout(timeout time.Duration) *ComputeNodeEnableSchedulingParams
- func (o *ComputeNodeEnableSchedulingParams) WithReturnClientRequestID(returnClientRequestID *bool) *ComputeNodeEnableSchedulingParams
- func (o *ComputeNodeEnableSchedulingParams) WithTimeout(timeout *int32) *ComputeNodeEnableSchedulingParams
- func (o *ComputeNodeEnableSchedulingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ComputeNodeEnableSchedulingReader
- type ComputeNodeGetDefault
- type ComputeNodeGetOK
- type ComputeNodeGetParams
- func (o *ComputeNodeGetParams) SetAPIVersion(aPIVersion string)
- func (o *ComputeNodeGetParams) SetClientRequestID(clientRequestID *string)
- func (o *ComputeNodeGetParams) SetContext(ctx context.Context)
- func (o *ComputeNodeGetParams) SetDollarSelect(dollarSelect *string)
- func (o *ComputeNodeGetParams) SetNodeID(nodeID string)
- func (o *ComputeNodeGetParams) SetOcpDate(ocpDate *string)
- func (o *ComputeNodeGetParams) SetPoolID(poolID string)
- func (o *ComputeNodeGetParams) SetRequestTimeout(timeout time.Duration)
- func (o *ComputeNodeGetParams) SetReturnClientRequestID(returnClientRequestID *bool)
- func (o *ComputeNodeGetParams) SetTimeout(timeout *int32)
- func (o *ComputeNodeGetParams) WithAPIVersion(aPIVersion string) *ComputeNodeGetParams
- func (o *ComputeNodeGetParams) WithClientRequestID(clientRequestID *string) *ComputeNodeGetParams
- func (o *ComputeNodeGetParams) WithContext(ctx context.Context) *ComputeNodeGetParams
- func (o *ComputeNodeGetParams) WithDollarSelect(dollarSelect *string) *ComputeNodeGetParams
- func (o *ComputeNodeGetParams) WithNodeID(nodeID string) *ComputeNodeGetParams
- func (o *ComputeNodeGetParams) WithOcpDate(ocpDate *string) *ComputeNodeGetParams
- func (o *ComputeNodeGetParams) WithPoolID(poolID string) *ComputeNodeGetParams
- func (o *ComputeNodeGetParams) WithRequestTimeout(timeout time.Duration) *ComputeNodeGetParams
- func (o *ComputeNodeGetParams) WithReturnClientRequestID(returnClientRequestID *bool) *ComputeNodeGetParams
- func (o *ComputeNodeGetParams) WithTimeout(timeout *int32) *ComputeNodeGetParams
- func (o *ComputeNodeGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ComputeNodeGetReader
- type ComputeNodeGetRemoteDesktopDefault
- type ComputeNodeGetRemoteDesktopOK
- type ComputeNodeGetRemoteDesktopParams
- func (o *ComputeNodeGetRemoteDesktopParams) SetAPIVersion(aPIVersion string)
- func (o *ComputeNodeGetRemoteDesktopParams) SetClientRequestID(clientRequestID *string)
- func (o *ComputeNodeGetRemoteDesktopParams) SetContext(ctx context.Context)
- func (o *ComputeNodeGetRemoteDesktopParams) SetNodeID(nodeID string)
- func (o *ComputeNodeGetRemoteDesktopParams) SetOcpDate(ocpDate *string)
- func (o *ComputeNodeGetRemoteDesktopParams) SetPoolID(poolID string)
- func (o *ComputeNodeGetRemoteDesktopParams) SetRequestTimeout(timeout time.Duration)
- func (o *ComputeNodeGetRemoteDesktopParams) SetReturnClientRequestID(returnClientRequestID *bool)
- func (o *ComputeNodeGetRemoteDesktopParams) SetTimeout(timeout *int32)
- func (o *ComputeNodeGetRemoteDesktopParams) WithAPIVersion(aPIVersion string) *ComputeNodeGetRemoteDesktopParams
- func (o *ComputeNodeGetRemoteDesktopParams) WithClientRequestID(clientRequestID *string) *ComputeNodeGetRemoteDesktopParams
- func (o *ComputeNodeGetRemoteDesktopParams) WithContext(ctx context.Context) *ComputeNodeGetRemoteDesktopParams
- func (o *ComputeNodeGetRemoteDesktopParams) WithNodeID(nodeID string) *ComputeNodeGetRemoteDesktopParams
- func (o *ComputeNodeGetRemoteDesktopParams) WithOcpDate(ocpDate *string) *ComputeNodeGetRemoteDesktopParams
- func (o *ComputeNodeGetRemoteDesktopParams) WithPoolID(poolID string) *ComputeNodeGetRemoteDesktopParams
- func (o *ComputeNodeGetRemoteDesktopParams) WithRequestTimeout(timeout time.Duration) *ComputeNodeGetRemoteDesktopParams
- func (o *ComputeNodeGetRemoteDesktopParams) WithReturnClientRequestID(returnClientRequestID *bool) *ComputeNodeGetRemoteDesktopParams
- func (o *ComputeNodeGetRemoteDesktopParams) WithTimeout(timeout *int32) *ComputeNodeGetRemoteDesktopParams
- func (o *ComputeNodeGetRemoteDesktopParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ComputeNodeGetRemoteDesktopReader
- type ComputeNodeGetRemoteLoginSettingsDefault
- type ComputeNodeGetRemoteLoginSettingsOK
- type ComputeNodeGetRemoteLoginSettingsParams
- func NewComputeNodeGetRemoteLoginSettingsParams() *ComputeNodeGetRemoteLoginSettingsParams
- func NewComputeNodeGetRemoteLoginSettingsParamsWithContext(ctx context.Context) *ComputeNodeGetRemoteLoginSettingsParams
- func NewComputeNodeGetRemoteLoginSettingsParamsWithTimeout(timeout time.Duration) *ComputeNodeGetRemoteLoginSettingsParams
- func (o *ComputeNodeGetRemoteLoginSettingsParams) SetAPIVersion(aPIVersion string)
- func (o *ComputeNodeGetRemoteLoginSettingsParams) SetClientRequestID(clientRequestID *string)
- func (o *ComputeNodeGetRemoteLoginSettingsParams) SetContext(ctx context.Context)
- func (o *ComputeNodeGetRemoteLoginSettingsParams) SetNodeID(nodeID string)
- func (o *ComputeNodeGetRemoteLoginSettingsParams) SetOcpDate(ocpDate *string)
- func (o *ComputeNodeGetRemoteLoginSettingsParams) SetPoolID(poolID string)
- func (o *ComputeNodeGetRemoteLoginSettingsParams) SetRequestTimeout(timeout time.Duration)
- func (o *ComputeNodeGetRemoteLoginSettingsParams) SetReturnClientRequestID(returnClientRequestID *bool)
- func (o *ComputeNodeGetRemoteLoginSettingsParams) SetTimeout(timeout *int32)
- func (o *ComputeNodeGetRemoteLoginSettingsParams) WithAPIVersion(aPIVersion string) *ComputeNodeGetRemoteLoginSettingsParams
- func (o *ComputeNodeGetRemoteLoginSettingsParams) WithClientRequestID(clientRequestID *string) *ComputeNodeGetRemoteLoginSettingsParams
- func (o *ComputeNodeGetRemoteLoginSettingsParams) WithContext(ctx context.Context) *ComputeNodeGetRemoteLoginSettingsParams
- func (o *ComputeNodeGetRemoteLoginSettingsParams) WithNodeID(nodeID string) *ComputeNodeGetRemoteLoginSettingsParams
- func (o *ComputeNodeGetRemoteLoginSettingsParams) WithOcpDate(ocpDate *string) *ComputeNodeGetRemoteLoginSettingsParams
- func (o *ComputeNodeGetRemoteLoginSettingsParams) WithPoolID(poolID string) *ComputeNodeGetRemoteLoginSettingsParams
- func (o *ComputeNodeGetRemoteLoginSettingsParams) WithRequestTimeout(timeout time.Duration) *ComputeNodeGetRemoteLoginSettingsParams
- func (o *ComputeNodeGetRemoteLoginSettingsParams) WithReturnClientRequestID(returnClientRequestID *bool) *ComputeNodeGetRemoteLoginSettingsParams
- func (o *ComputeNodeGetRemoteLoginSettingsParams) WithTimeout(timeout *int32) *ComputeNodeGetRemoteLoginSettingsParams
- func (o *ComputeNodeGetRemoteLoginSettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ComputeNodeGetRemoteLoginSettingsReader
- type ComputeNodeListDefault
- type ComputeNodeListOK
- type ComputeNodeListParams
- func (o *ComputeNodeListParams) SetAPIVersion(aPIVersion string)
- func (o *ComputeNodeListParams) SetClientRequestID(clientRequestID *string)
- func (o *ComputeNodeListParams) SetContext(ctx context.Context)
- func (o *ComputeNodeListParams) SetDollarFilter(dollarFilter *string)
- func (o *ComputeNodeListParams) SetDollarSelect(dollarSelect *string)
- func (o *ComputeNodeListParams) SetMaxresults(maxresults *int32)
- func (o *ComputeNodeListParams) SetOcpDate(ocpDate *string)
- func (o *ComputeNodeListParams) SetPoolID(poolID string)
- func (o *ComputeNodeListParams) SetRequestTimeout(timeout time.Duration)
- func (o *ComputeNodeListParams) SetReturnClientRequestID(returnClientRequestID *bool)
- func (o *ComputeNodeListParams) SetTimeout(timeout *int32)
- func (o *ComputeNodeListParams) WithAPIVersion(aPIVersion string) *ComputeNodeListParams
- func (o *ComputeNodeListParams) WithClientRequestID(clientRequestID *string) *ComputeNodeListParams
- func (o *ComputeNodeListParams) WithContext(ctx context.Context) *ComputeNodeListParams
- func (o *ComputeNodeListParams) WithDollarFilter(dollarFilter *string) *ComputeNodeListParams
- func (o *ComputeNodeListParams) WithDollarSelect(dollarSelect *string) *ComputeNodeListParams
- func (o *ComputeNodeListParams) WithMaxresults(maxresults *int32) *ComputeNodeListParams
- func (o *ComputeNodeListParams) WithOcpDate(ocpDate *string) *ComputeNodeListParams
- func (o *ComputeNodeListParams) WithPoolID(poolID string) *ComputeNodeListParams
- func (o *ComputeNodeListParams) WithRequestTimeout(timeout time.Duration) *ComputeNodeListParams
- func (o *ComputeNodeListParams) WithReturnClientRequestID(returnClientRequestID *bool) *ComputeNodeListParams
- func (o *ComputeNodeListParams) WithTimeout(timeout *int32) *ComputeNodeListParams
- func (o *ComputeNodeListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ComputeNodeListReader
- type ComputeNodeRebootAccepted
- type ComputeNodeRebootDefault
- type ComputeNodeRebootParams
- func (o *ComputeNodeRebootParams) SetAPIVersion(aPIVersion string)
- func (o *ComputeNodeRebootParams) SetClientRequestID(clientRequestID *string)
- func (o *ComputeNodeRebootParams) SetContext(ctx context.Context)
- func (o *ComputeNodeRebootParams) SetNodeID(nodeID string)
- func (o *ComputeNodeRebootParams) SetNodeRebootParameter(nodeRebootParameter *models.NodeRebootParameter)
- func (o *ComputeNodeRebootParams) SetOcpDate(ocpDate *string)
- func (o *ComputeNodeRebootParams) SetPoolID(poolID string)
- func (o *ComputeNodeRebootParams) SetRequestTimeout(timeout time.Duration)
- func (o *ComputeNodeRebootParams) SetReturnClientRequestID(returnClientRequestID *bool)
- func (o *ComputeNodeRebootParams) SetTimeout(timeout *int32)
- func (o *ComputeNodeRebootParams) WithAPIVersion(aPIVersion string) *ComputeNodeRebootParams
- func (o *ComputeNodeRebootParams) WithClientRequestID(clientRequestID *string) *ComputeNodeRebootParams
- func (o *ComputeNodeRebootParams) WithContext(ctx context.Context) *ComputeNodeRebootParams
- func (o *ComputeNodeRebootParams) WithNodeID(nodeID string) *ComputeNodeRebootParams
- func (o *ComputeNodeRebootParams) WithNodeRebootParameter(nodeRebootParameter *models.NodeRebootParameter) *ComputeNodeRebootParams
- func (o *ComputeNodeRebootParams) WithOcpDate(ocpDate *string) *ComputeNodeRebootParams
- func (o *ComputeNodeRebootParams) WithPoolID(poolID string) *ComputeNodeRebootParams
- func (o *ComputeNodeRebootParams) WithRequestTimeout(timeout time.Duration) *ComputeNodeRebootParams
- func (o *ComputeNodeRebootParams) WithReturnClientRequestID(returnClientRequestID *bool) *ComputeNodeRebootParams
- func (o *ComputeNodeRebootParams) WithTimeout(timeout *int32) *ComputeNodeRebootParams
- func (o *ComputeNodeRebootParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ComputeNodeRebootReader
- type ComputeNodeReimageAccepted
- type ComputeNodeReimageDefault
- type ComputeNodeReimageParams
- func (o *ComputeNodeReimageParams) SetAPIVersion(aPIVersion string)
- func (o *ComputeNodeReimageParams) SetClientRequestID(clientRequestID *string)
- func (o *ComputeNodeReimageParams) SetContext(ctx context.Context)
- func (o *ComputeNodeReimageParams) SetNodeID(nodeID string)
- func (o *ComputeNodeReimageParams) SetNodeReimageParameter(nodeReimageParameter *models.NodeReimageParameter)
- func (o *ComputeNodeReimageParams) SetOcpDate(ocpDate *string)
- func (o *ComputeNodeReimageParams) SetPoolID(poolID string)
- func (o *ComputeNodeReimageParams) SetRequestTimeout(timeout time.Duration)
- func (o *ComputeNodeReimageParams) SetReturnClientRequestID(returnClientRequestID *bool)
- func (o *ComputeNodeReimageParams) SetTimeout(timeout *int32)
- func (o *ComputeNodeReimageParams) WithAPIVersion(aPIVersion string) *ComputeNodeReimageParams
- func (o *ComputeNodeReimageParams) WithClientRequestID(clientRequestID *string) *ComputeNodeReimageParams
- func (o *ComputeNodeReimageParams) WithContext(ctx context.Context) *ComputeNodeReimageParams
- func (o *ComputeNodeReimageParams) WithNodeID(nodeID string) *ComputeNodeReimageParams
- func (o *ComputeNodeReimageParams) WithNodeReimageParameter(nodeReimageParameter *models.NodeReimageParameter) *ComputeNodeReimageParams
- func (o *ComputeNodeReimageParams) WithOcpDate(ocpDate *string) *ComputeNodeReimageParams
- func (o *ComputeNodeReimageParams) WithPoolID(poolID string) *ComputeNodeReimageParams
- func (o *ComputeNodeReimageParams) WithRequestTimeout(timeout time.Duration) *ComputeNodeReimageParams
- func (o *ComputeNodeReimageParams) WithReturnClientRequestID(returnClientRequestID *bool) *ComputeNodeReimageParams
- func (o *ComputeNodeReimageParams) WithTimeout(timeout *int32) *ComputeNodeReimageParams
- func (o *ComputeNodeReimageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ComputeNodeReimageReader
- type ComputeNodeUpdateUserDefault
- type ComputeNodeUpdateUserOK
- type ComputeNodeUpdateUserParams
- func (o *ComputeNodeUpdateUserParams) SetAPIVersion(aPIVersion string)
- func (o *ComputeNodeUpdateUserParams) SetClientRequestID(clientRequestID *string)
- func (o *ComputeNodeUpdateUserParams) SetContext(ctx context.Context)
- func (o *ComputeNodeUpdateUserParams) SetNodeID(nodeID string)
- func (o *ComputeNodeUpdateUserParams) SetNodeUpdateUserParameter(nodeUpdateUserParameter *models.NodeUpdateUserParameter)
- func (o *ComputeNodeUpdateUserParams) SetOcpDate(ocpDate *string)
- func (o *ComputeNodeUpdateUserParams) SetPoolID(poolID string)
- func (o *ComputeNodeUpdateUserParams) SetRequestTimeout(timeout time.Duration)
- func (o *ComputeNodeUpdateUserParams) SetReturnClientRequestID(returnClientRequestID *bool)
- func (o *ComputeNodeUpdateUserParams) SetTimeout(timeout *int32)
- func (o *ComputeNodeUpdateUserParams) SetUserName(userName string)
- func (o *ComputeNodeUpdateUserParams) WithAPIVersion(aPIVersion string) *ComputeNodeUpdateUserParams
- func (o *ComputeNodeUpdateUserParams) WithClientRequestID(clientRequestID *string) *ComputeNodeUpdateUserParams
- func (o *ComputeNodeUpdateUserParams) WithContext(ctx context.Context) *ComputeNodeUpdateUserParams
- func (o *ComputeNodeUpdateUserParams) WithNodeID(nodeID string) *ComputeNodeUpdateUserParams
- func (o *ComputeNodeUpdateUserParams) WithNodeUpdateUserParameter(nodeUpdateUserParameter *models.NodeUpdateUserParameter) *ComputeNodeUpdateUserParams
- func (o *ComputeNodeUpdateUserParams) WithOcpDate(ocpDate *string) *ComputeNodeUpdateUserParams
- func (o *ComputeNodeUpdateUserParams) WithPoolID(poolID string) *ComputeNodeUpdateUserParams
- func (o *ComputeNodeUpdateUserParams) WithRequestTimeout(timeout time.Duration) *ComputeNodeUpdateUserParams
- func (o *ComputeNodeUpdateUserParams) WithReturnClientRequestID(returnClientRequestID *bool) *ComputeNodeUpdateUserParams
- func (o *ComputeNodeUpdateUserParams) WithTimeout(timeout *int32) *ComputeNodeUpdateUserParams
- func (o *ComputeNodeUpdateUserParams) WithUserName(userName string) *ComputeNodeUpdateUserParams
- func (o *ComputeNodeUpdateUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ComputeNodeUpdateUserReader
- type PoolRemoveNodesAccepted
- type PoolRemoveNodesDefault
- type PoolRemoveNodesParams
- func (o *PoolRemoveNodesParams) SetAPIVersion(aPIVersion string)
- func (o *PoolRemoveNodesParams) SetClientRequestID(clientRequestID *string)
- func (o *PoolRemoveNodesParams) SetContext(ctx context.Context)
- func (o *PoolRemoveNodesParams) SetIfMatch(ifMatch *string)
- func (o *PoolRemoveNodesParams) SetIfModifiedSince(ifModifiedSince *string)
- func (o *PoolRemoveNodesParams) SetIfNoneMatch(ifNoneMatch *string)
- func (o *PoolRemoveNodesParams) SetIfUnmodifiedSince(ifUnmodifiedSince *string)
- func (o *PoolRemoveNodesParams) SetNodeRemoveParameter(nodeRemoveParameter *models.NodeRemoveParameter)
- func (o *PoolRemoveNodesParams) SetOcpDate(ocpDate *string)
- func (o *PoolRemoveNodesParams) SetPoolID(poolID string)
- func (o *PoolRemoveNodesParams) SetRequestTimeout(timeout time.Duration)
- func (o *PoolRemoveNodesParams) SetReturnClientRequestID(returnClientRequestID *bool)
- func (o *PoolRemoveNodesParams) SetTimeout(timeout *int32)
- func (o *PoolRemoveNodesParams) WithAPIVersion(aPIVersion string) *PoolRemoveNodesParams
- func (o *PoolRemoveNodesParams) WithClientRequestID(clientRequestID *string) *PoolRemoveNodesParams
- func (o *PoolRemoveNodesParams) WithContext(ctx context.Context) *PoolRemoveNodesParams
- func (o *PoolRemoveNodesParams) WithIfMatch(ifMatch *string) *PoolRemoveNodesParams
- func (o *PoolRemoveNodesParams) WithIfModifiedSince(ifModifiedSince *string) *PoolRemoveNodesParams
- func (o *PoolRemoveNodesParams) WithIfNoneMatch(ifNoneMatch *string) *PoolRemoveNodesParams
- func (o *PoolRemoveNodesParams) WithIfUnmodifiedSince(ifUnmodifiedSince *string) *PoolRemoveNodesParams
- func (o *PoolRemoveNodesParams) WithNodeRemoveParameter(nodeRemoveParameter *models.NodeRemoveParameter) *PoolRemoveNodesParams
- func (o *PoolRemoveNodesParams) WithOcpDate(ocpDate *string) *PoolRemoveNodesParams
- func (o *PoolRemoveNodesParams) WithPoolID(poolID string) *PoolRemoveNodesParams
- func (o *PoolRemoveNodesParams) WithRequestTimeout(timeout time.Duration) *PoolRemoveNodesParams
- func (o *PoolRemoveNodesParams) WithReturnClientRequestID(returnClientRequestID *bool) *PoolRemoveNodesParams
- func (o *PoolRemoveNodesParams) WithTimeout(timeout *int32) *PoolRemoveNodesParams
- func (o *PoolRemoveNodesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PoolRemoveNodesReader
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 ¶
func (o *ComputeNodeAddUserParams) SetUser(user *models.ComputeNodeUser)
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 ¶
func (o *ComputeNodeAddUserParams) WithContext(ctx context.Context) *ComputeNodeAddUserParams
WithContext adds the context to the compute node add user params
func (*ComputeNodeAddUserParams) WithNodeID ¶
func (o *ComputeNodeAddUserParams) WithNodeID(nodeID string) *ComputeNodeAddUserParams
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 ¶
func (o *ComputeNodeAddUserParams) WithPoolID(poolID string) *ComputeNodeAddUserParams
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 ¶
func (o *ComputeNodeAddUserParams) WithUser(user *models.ComputeNodeUser) *ComputeNodeAddUserParams
WithUser adds the user to the compute node add user params
func (*ComputeNodeAddUserParams) WriteToRequest ¶
func (o *ComputeNodeAddUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ComputeNodeDeleteUserDefault) Code() int
Code gets the status code for the compute node delete user default response
func (*ComputeNodeDeleteUserDefault) Error ¶
func (o *ComputeNodeDeleteUserDefault) Error() string
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 ¶
func (o *ComputeNodeDeleteUserParams) WithContext(ctx context.Context) *ComputeNodeDeleteUserParams
WithContext adds the context to the compute node delete user params
func (*ComputeNodeDeleteUserParams) WithNodeID ¶
func (o *ComputeNodeDeleteUserParams) WithNodeID(nodeID string) *ComputeNodeDeleteUserParams
WithNodeID adds the nodeID to the compute node delete user params
func (*ComputeNodeDeleteUserParams) WithOcpDate ¶
func (o *ComputeNodeDeleteUserParams) WithOcpDate(ocpDate *string) *ComputeNodeDeleteUserParams
WithOcpDate adds the ocpDate to the compute node delete user params
func (*ComputeNodeDeleteUserParams) WithPoolID ¶
func (o *ComputeNodeDeleteUserParams) WithPoolID(poolID string) *ComputeNodeDeleteUserParams
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 ¶
func (o *ComputeNodeDeleteUserParams) WithTimeout(timeout *int32) *ComputeNodeDeleteUserParams
WithTimeout adds the timeout to the compute node delete user params
func (*ComputeNodeDeleteUserParams) WithUserName ¶
func (o *ComputeNodeDeleteUserParams) WithUserName(userName string) *ComputeNodeDeleteUserParams
WithUserName adds the userName to the compute node delete user params
func (*ComputeNodeDeleteUserParams) WriteToRequest ¶
func (o *ComputeNodeDeleteUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ComputeNodeDisableSchedulingDefault) Code() int
Code gets the status code for the compute node disable scheduling default response
func (*ComputeNodeDisableSchedulingDefault) Error ¶
func (o *ComputeNodeDisableSchedulingDefault) Error() string
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 ¶
func (o *ComputeNodeDisableSchedulingOK) Error() string
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 ¶
func (o *ComputeNodeDisableSchedulingParams) SetContext(ctx context.Context)
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 ¶
func (o *ComputeNodeDisableSchedulingParams) WithAPIVersion(aPIVersion string) *ComputeNodeDisableSchedulingParams
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 ¶
func (o *ComputeNodeDisableSchedulingParams) WithContext(ctx context.Context) *ComputeNodeDisableSchedulingParams
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 ¶
func (o *ComputeNodeDisableSchedulingParams) WithNodeID(nodeID string) *ComputeNodeDisableSchedulingParams
WithNodeID adds the nodeID to the compute node disable scheduling params
func (*ComputeNodeDisableSchedulingParams) WithOcpDate ¶
func (o *ComputeNodeDisableSchedulingParams) WithOcpDate(ocpDate *string) *ComputeNodeDisableSchedulingParams
WithOcpDate adds the ocpDate to the compute node disable scheduling params
func (*ComputeNodeDisableSchedulingParams) WithPoolID ¶
func (o *ComputeNodeDisableSchedulingParams) WithPoolID(poolID string) *ComputeNodeDisableSchedulingParams
WithPoolID adds the poolID to the compute node disable scheduling params
func (*ComputeNodeDisableSchedulingParams) WithRequestTimeout ¶
func (o *ComputeNodeDisableSchedulingParams) WithRequestTimeout(timeout time.Duration) *ComputeNodeDisableSchedulingParams
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 ¶
func (o *ComputeNodeDisableSchedulingParams) WithTimeout(timeout *int32) *ComputeNodeDisableSchedulingParams
WithTimeout adds the timeout to the compute node disable scheduling params
func (*ComputeNodeDisableSchedulingParams) WriteToRequest ¶
func (o *ComputeNodeDisableSchedulingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ComputeNodeEnableSchedulingDefault) Code() int
Code gets the status code for the compute node enable scheduling default response
func (*ComputeNodeEnableSchedulingDefault) Error ¶
func (o *ComputeNodeEnableSchedulingDefault) Error() string
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 ¶
func (o *ComputeNodeEnableSchedulingOK) Error() string
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 ¶
func (o *ComputeNodeEnableSchedulingParams) SetContext(ctx context.Context)
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 ¶
func (o *ComputeNodeEnableSchedulingParams) WithAPIVersion(aPIVersion string) *ComputeNodeEnableSchedulingParams
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 ¶
func (o *ComputeNodeEnableSchedulingParams) WithContext(ctx context.Context) *ComputeNodeEnableSchedulingParams
WithContext adds the context to the compute node enable scheduling params
func (*ComputeNodeEnableSchedulingParams) WithNodeID ¶
func (o *ComputeNodeEnableSchedulingParams) WithNodeID(nodeID string) *ComputeNodeEnableSchedulingParams
WithNodeID adds the nodeID to the compute node enable scheduling params
func (*ComputeNodeEnableSchedulingParams) WithOcpDate ¶
func (o *ComputeNodeEnableSchedulingParams) WithOcpDate(ocpDate *string) *ComputeNodeEnableSchedulingParams
WithOcpDate adds the ocpDate to the compute node enable scheduling params
func (*ComputeNodeEnableSchedulingParams) WithPoolID ¶
func (o *ComputeNodeEnableSchedulingParams) WithPoolID(poolID string) *ComputeNodeEnableSchedulingParams
WithPoolID adds the poolID to the compute node enable scheduling params
func (*ComputeNodeEnableSchedulingParams) WithRequestTimeout ¶
func (o *ComputeNodeEnableSchedulingParams) WithRequestTimeout(timeout time.Duration) *ComputeNodeEnableSchedulingParams
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 ¶
func (o *ComputeNodeEnableSchedulingParams) WithTimeout(timeout *int32) *ComputeNodeEnableSchedulingParams
WithTimeout adds the timeout to the compute node enable scheduling params
func (*ComputeNodeEnableSchedulingParams) WriteToRequest ¶
func (o *ComputeNodeEnableSchedulingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ComputeNodeGetParams) WithContext(ctx context.Context) *ComputeNodeGetParams
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 ¶
func (o *ComputeNodeGetRemoteDesktopDefault) Code() int
Code gets the status code for the compute node get remote desktop default response
func (*ComputeNodeGetRemoteDesktopDefault) Error ¶
func (o *ComputeNodeGetRemoteDesktopDefault) Error() string
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 ¶
func (o *ComputeNodeGetRemoteDesktopOK) Error() string
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 ¶
func (o *ComputeNodeGetRemoteDesktopParams) SetContext(ctx context.Context)
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 ¶
func (o *ComputeNodeGetRemoteDesktopParams) WithAPIVersion(aPIVersion string) *ComputeNodeGetRemoteDesktopParams
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 ¶
func (o *ComputeNodeGetRemoteDesktopParams) WithContext(ctx context.Context) *ComputeNodeGetRemoteDesktopParams
WithContext adds the context to the compute node get remote desktop params
func (*ComputeNodeGetRemoteDesktopParams) WithNodeID ¶
func (o *ComputeNodeGetRemoteDesktopParams) WithNodeID(nodeID string) *ComputeNodeGetRemoteDesktopParams
WithNodeID adds the nodeID to the compute node get remote desktop params
func (*ComputeNodeGetRemoteDesktopParams) WithOcpDate ¶
func (o *ComputeNodeGetRemoteDesktopParams) WithOcpDate(ocpDate *string) *ComputeNodeGetRemoteDesktopParams
WithOcpDate adds the ocpDate to the compute node get remote desktop params
func (*ComputeNodeGetRemoteDesktopParams) WithPoolID ¶
func (o *ComputeNodeGetRemoteDesktopParams) WithPoolID(poolID string) *ComputeNodeGetRemoteDesktopParams
WithPoolID adds the poolID to the compute node get remote desktop params
func (*ComputeNodeGetRemoteDesktopParams) WithRequestTimeout ¶
func (o *ComputeNodeGetRemoteDesktopParams) WithRequestTimeout(timeout time.Duration) *ComputeNodeGetRemoteDesktopParams
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 ¶
func (o *ComputeNodeGetRemoteDesktopParams) WithTimeout(timeout *int32) *ComputeNodeGetRemoteDesktopParams
WithTimeout adds the timeout to the compute node get remote desktop params
func (*ComputeNodeGetRemoteDesktopParams) WriteToRequest ¶
func (o *ComputeNodeGetRemoteDesktopParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ComputeNodeGetRemoteLoginSettingsDefault) Code() int
Code gets the status code for the compute node get remote login settings default response
func (*ComputeNodeGetRemoteLoginSettingsDefault) Error ¶
func (o *ComputeNodeGetRemoteLoginSettingsDefault) Error() string
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 ¶
func (o *ComputeNodeGetRemoteLoginSettingsOK) Error() string
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 ¶
func (o *ComputeNodeGetRemoteLoginSettingsParams) SetContext(ctx context.Context)
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 ¶
func (o *ComputeNodeGetRemoteLoginSettingsParams) WithAPIVersion(aPIVersion string) *ComputeNodeGetRemoteLoginSettingsParams
WithAPIVersion adds the aPIVersion to the compute node get remote login settings params
func (*ComputeNodeGetRemoteLoginSettingsParams) WithClientRequestID ¶
func (o *ComputeNodeGetRemoteLoginSettingsParams) WithClientRequestID(clientRequestID *string) *ComputeNodeGetRemoteLoginSettingsParams
WithClientRequestID adds the clientRequestID to the compute node get remote login settings params
func (*ComputeNodeGetRemoteLoginSettingsParams) WithContext ¶
func (o *ComputeNodeGetRemoteLoginSettingsParams) WithContext(ctx context.Context) *ComputeNodeGetRemoteLoginSettingsParams
WithContext adds the context to the compute node get remote login settings params
func (*ComputeNodeGetRemoteLoginSettingsParams) WithNodeID ¶
func (o *ComputeNodeGetRemoteLoginSettingsParams) WithNodeID(nodeID string) *ComputeNodeGetRemoteLoginSettingsParams
WithNodeID adds the nodeID to the compute node get remote login settings params
func (*ComputeNodeGetRemoteLoginSettingsParams) WithOcpDate ¶
func (o *ComputeNodeGetRemoteLoginSettingsParams) WithOcpDate(ocpDate *string) *ComputeNodeGetRemoteLoginSettingsParams
WithOcpDate adds the ocpDate to the compute node get remote login settings params
func (*ComputeNodeGetRemoteLoginSettingsParams) WithPoolID ¶
func (o *ComputeNodeGetRemoteLoginSettingsParams) WithPoolID(poolID string) *ComputeNodeGetRemoteLoginSettingsParams
WithPoolID adds the poolID to the compute node get remote login settings params
func (*ComputeNodeGetRemoteLoginSettingsParams) WithRequestTimeout ¶
func (o *ComputeNodeGetRemoteLoginSettingsParams) WithRequestTimeout(timeout time.Duration) *ComputeNodeGetRemoteLoginSettingsParams
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 ¶
func (o *ComputeNodeGetRemoteLoginSettingsParams) WithTimeout(timeout *int32) *ComputeNodeGetRemoteLoginSettingsParams
WithTimeout adds the timeout to the compute node get remote login settings params
func (*ComputeNodeGetRemoteLoginSettingsParams) WriteToRequest ¶
func (o *ComputeNodeGetRemoteLoginSettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ComputeNodeListParams) WithContext(ctx context.Context) *ComputeNodeListParams
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 ¶
func (o *ComputeNodeRebootParams) WithContext(ctx context.Context) *ComputeNodeRebootParams
WithContext adds the context to the compute node reboot params
func (*ComputeNodeRebootParams) WithNodeID ¶
func (o *ComputeNodeRebootParams) WithNodeID(nodeID string) *ComputeNodeRebootParams
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 ¶
func (o *ComputeNodeRebootParams) WithPoolID(poolID string) *ComputeNodeRebootParams
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 ¶
func (o *ComputeNodeRebootParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ComputeNodeReimageAccepted) Error() string
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 ¶
func (o *ComputeNodeReimageParams) WithContext(ctx context.Context) *ComputeNodeReimageParams
WithContext adds the context to the compute node reimage params
func (*ComputeNodeReimageParams) WithNodeID ¶
func (o *ComputeNodeReimageParams) WithNodeID(nodeID string) *ComputeNodeReimageParams
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 ¶
func (o *ComputeNodeReimageParams) WithPoolID(poolID string) *ComputeNodeReimageParams
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 ¶
func (o *ComputeNodeReimageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ComputeNodeUpdateUserDefault) Code() int
Code gets the status code for the compute node update user default response
func (*ComputeNodeUpdateUserDefault) Error ¶
func (o *ComputeNodeUpdateUserDefault) Error() string
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 ¶
func (o *ComputeNodeUpdateUserParams) WithContext(ctx context.Context) *ComputeNodeUpdateUserParams
WithContext adds the context to the compute node update user params
func (*ComputeNodeUpdateUserParams) WithNodeID ¶
func (o *ComputeNodeUpdateUserParams) WithNodeID(nodeID string) *ComputeNodeUpdateUserParams
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 ¶
func (o *ComputeNodeUpdateUserParams) WithOcpDate(ocpDate *string) *ComputeNodeUpdateUserParams
WithOcpDate adds the ocpDate to the compute node update user params
func (*ComputeNodeUpdateUserParams) WithPoolID ¶
func (o *ComputeNodeUpdateUserParams) WithPoolID(poolID string) *ComputeNodeUpdateUserParams
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 ¶
func (o *ComputeNodeUpdateUserParams) WithTimeout(timeout *int32) *ComputeNodeUpdateUserParams
WithTimeout adds the timeout to the compute node update user params
func (*ComputeNodeUpdateUserParams) WithUserName ¶
func (o *ComputeNodeUpdateUserParams) WithUserName(userName string) *ComputeNodeUpdateUserParams
WithUserName adds the userName to the compute node update user params
func (*ComputeNodeUpdateUserParams) WriteToRequest ¶
func (o *ComputeNodeUpdateUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *PoolRemoveNodesParams) WithContext(ctx context.Context) *PoolRemoveNodesParams
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.
Source Files
¶
- compute_node_add_user_parameters.go
- compute_node_add_user_responses.go
- compute_node_delete_user_parameters.go
- compute_node_delete_user_responses.go
- compute_node_disable_scheduling_parameters.go
- compute_node_disable_scheduling_responses.go
- compute_node_enable_scheduling_parameters.go
- compute_node_enable_scheduling_responses.go
- compute_node_get_parameters.go
- compute_node_get_remote_desktop_parameters.go
- compute_node_get_remote_desktop_responses.go
- compute_node_get_remote_login_settings_parameters.go
- compute_node_get_remote_login_settings_responses.go
- compute_node_get_responses.go
- compute_node_list_parameters.go
- compute_node_list_responses.go
- compute_node_reboot_parameters.go
- compute_node_reboot_responses.go
- compute_node_reimage_parameters.go
- compute_node_reimage_responses.go
- compute_node_update_user_parameters.go
- compute_node_update_user_responses.go
- compute_nodes_client.go
- pool_remove_nodes_parameters.go
- pool_remove_nodes_responses.go