Documentation
¶
Index ¶
- type Client
- func (a *Client) PoolAdd(params *PoolAddParams) (*PoolAddCreated, error)
- func (a *Client) PoolDelete(params *PoolDeleteParams) (*PoolDeleteAccepted, error)
- func (a *Client) PoolDisableAutoScale(params *PoolDisableAutoScaleParams) (*PoolDisableAutoScaleOK, error)
- func (a *Client) PoolEnableAutoScale(params *PoolEnableAutoScaleParams) (*PoolEnableAutoScaleOK, error)
- func (a *Client) PoolEvaluateAutoScale(params *PoolEvaluateAutoScaleParams) (*PoolEvaluateAutoScaleOK, error)
- func (a *Client) PoolExists(params *PoolExistsParams) (*PoolExistsOK, error)
- func (a *Client) PoolGet(params *PoolGetParams) (*PoolGetOK, error)
- func (a *Client) PoolGetAllPoolsLifetimeStatistics(params *PoolGetAllPoolsLifetimeStatisticsParams) (*PoolGetAllPoolsLifetimeStatisticsOK, error)
- func (a *Client) PoolList(params *PoolListParams) (*PoolListOK, error)
- func (a *Client) PoolListPoolUsageMetrics(params *PoolListPoolUsageMetricsParams) (*PoolListPoolUsageMetricsOK, error)
- func (a *Client) PoolPatch(params *PoolPatchParams) (*PoolPatchOK, error)
- func (a *Client) PoolResize(params *PoolResizeParams) (*PoolResizeAccepted, error)
- func (a *Client) PoolStopResize(params *PoolStopResizeParams) (*PoolStopResizeAccepted, error)
- func (a *Client) PoolUpdateProperties(params *PoolUpdatePropertiesParams) (*PoolUpdatePropertiesNoContent, error)
- func (a *Client) PoolUpgradeOS(params *PoolUpgradeOSParams) (*PoolUpgradeOSAccepted, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type PoolAddCreated
- type PoolAddDefault
- type PoolAddParams
- func (o *PoolAddParams) SetAPIVersion(aPIVersion string)
- func (o *PoolAddParams) SetClientRequestID(clientRequestID *string)
- func (o *PoolAddParams) SetContext(ctx context.Context)
- func (o *PoolAddParams) SetOcpDate(ocpDate *string)
- func (o *PoolAddParams) SetPool(pool *models.PoolAddParameter)
- func (o *PoolAddParams) SetRequestTimeout(timeout time.Duration)
- func (o *PoolAddParams) SetReturnClientRequestID(returnClientRequestID *bool)
- func (o *PoolAddParams) SetTimeout(timeout *int32)
- func (o *PoolAddParams) WithAPIVersion(aPIVersion string) *PoolAddParams
- func (o *PoolAddParams) WithClientRequestID(clientRequestID *string) *PoolAddParams
- func (o *PoolAddParams) WithContext(ctx context.Context) *PoolAddParams
- func (o *PoolAddParams) WithOcpDate(ocpDate *string) *PoolAddParams
- func (o *PoolAddParams) WithPool(pool *models.PoolAddParameter) *PoolAddParams
- func (o *PoolAddParams) WithRequestTimeout(timeout time.Duration) *PoolAddParams
- func (o *PoolAddParams) WithReturnClientRequestID(returnClientRequestID *bool) *PoolAddParams
- func (o *PoolAddParams) WithTimeout(timeout *int32) *PoolAddParams
- func (o *PoolAddParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PoolAddReader
- type PoolDeleteAccepted
- type PoolDeleteDefault
- type PoolDeleteParams
- func (o *PoolDeleteParams) SetAPIVersion(aPIVersion string)
- func (o *PoolDeleteParams) SetClientRequestID(clientRequestID *string)
- func (o *PoolDeleteParams) SetContext(ctx context.Context)
- func (o *PoolDeleteParams) SetIfMatch(ifMatch *string)
- func (o *PoolDeleteParams) SetIfModifiedSince(ifModifiedSince *string)
- func (o *PoolDeleteParams) SetIfNoneMatch(ifNoneMatch *string)
- func (o *PoolDeleteParams) SetIfUnmodifiedSince(ifUnmodifiedSince *string)
- func (o *PoolDeleteParams) SetOcpDate(ocpDate *string)
- func (o *PoolDeleteParams) SetPoolID(poolID string)
- func (o *PoolDeleteParams) SetRequestTimeout(timeout time.Duration)
- func (o *PoolDeleteParams) SetReturnClientRequestID(returnClientRequestID *bool)
- func (o *PoolDeleteParams) SetTimeout(timeout *int32)
- func (o *PoolDeleteParams) WithAPIVersion(aPIVersion string) *PoolDeleteParams
- func (o *PoolDeleteParams) WithClientRequestID(clientRequestID *string) *PoolDeleteParams
- func (o *PoolDeleteParams) WithContext(ctx context.Context) *PoolDeleteParams
- func (o *PoolDeleteParams) WithIfMatch(ifMatch *string) *PoolDeleteParams
- func (o *PoolDeleteParams) WithIfModifiedSince(ifModifiedSince *string) *PoolDeleteParams
- func (o *PoolDeleteParams) WithIfNoneMatch(ifNoneMatch *string) *PoolDeleteParams
- func (o *PoolDeleteParams) WithIfUnmodifiedSince(ifUnmodifiedSince *string) *PoolDeleteParams
- func (o *PoolDeleteParams) WithOcpDate(ocpDate *string) *PoolDeleteParams
- func (o *PoolDeleteParams) WithPoolID(poolID string) *PoolDeleteParams
- func (o *PoolDeleteParams) WithRequestTimeout(timeout time.Duration) *PoolDeleteParams
- func (o *PoolDeleteParams) WithReturnClientRequestID(returnClientRequestID *bool) *PoolDeleteParams
- func (o *PoolDeleteParams) WithTimeout(timeout *int32) *PoolDeleteParams
- func (o *PoolDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PoolDeleteReader
- type PoolDisableAutoScaleDefault
- type PoolDisableAutoScaleOK
- type PoolDisableAutoScaleParams
- func (o *PoolDisableAutoScaleParams) SetAPIVersion(aPIVersion string)
- func (o *PoolDisableAutoScaleParams) SetClientRequestID(clientRequestID *string)
- func (o *PoolDisableAutoScaleParams) SetContext(ctx context.Context)
- func (o *PoolDisableAutoScaleParams) SetOcpDate(ocpDate *string)
- func (o *PoolDisableAutoScaleParams) SetPoolID(poolID string)
- func (o *PoolDisableAutoScaleParams) SetRequestTimeout(timeout time.Duration)
- func (o *PoolDisableAutoScaleParams) SetReturnClientRequestID(returnClientRequestID *bool)
- func (o *PoolDisableAutoScaleParams) SetTimeout(timeout *int32)
- func (o *PoolDisableAutoScaleParams) WithAPIVersion(aPIVersion string) *PoolDisableAutoScaleParams
- func (o *PoolDisableAutoScaleParams) WithClientRequestID(clientRequestID *string) *PoolDisableAutoScaleParams
- func (o *PoolDisableAutoScaleParams) WithContext(ctx context.Context) *PoolDisableAutoScaleParams
- func (o *PoolDisableAutoScaleParams) WithOcpDate(ocpDate *string) *PoolDisableAutoScaleParams
- func (o *PoolDisableAutoScaleParams) WithPoolID(poolID string) *PoolDisableAutoScaleParams
- func (o *PoolDisableAutoScaleParams) WithRequestTimeout(timeout time.Duration) *PoolDisableAutoScaleParams
- func (o *PoolDisableAutoScaleParams) WithReturnClientRequestID(returnClientRequestID *bool) *PoolDisableAutoScaleParams
- func (o *PoolDisableAutoScaleParams) WithTimeout(timeout *int32) *PoolDisableAutoScaleParams
- func (o *PoolDisableAutoScaleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PoolDisableAutoScaleReader
- type PoolEnableAutoScaleDefault
- type PoolEnableAutoScaleOK
- type PoolEnableAutoScaleParams
- func (o *PoolEnableAutoScaleParams) SetAPIVersion(aPIVersion string)
- func (o *PoolEnableAutoScaleParams) SetClientRequestID(clientRequestID *string)
- func (o *PoolEnableAutoScaleParams) SetContext(ctx context.Context)
- func (o *PoolEnableAutoScaleParams) SetIfMatch(ifMatch *string)
- func (o *PoolEnableAutoScaleParams) SetIfModifiedSince(ifModifiedSince *string)
- func (o *PoolEnableAutoScaleParams) SetIfNoneMatch(ifNoneMatch *string)
- func (o *PoolEnableAutoScaleParams) SetIfUnmodifiedSince(ifUnmodifiedSince *string)
- func (o *PoolEnableAutoScaleParams) SetOcpDate(ocpDate *string)
- func (o *PoolEnableAutoScaleParams) SetPoolEnableAutoScaleParameter(poolEnableAutoScaleParameter *models.PoolEnableAutoScaleParameter)
- func (o *PoolEnableAutoScaleParams) SetPoolID(poolID string)
- func (o *PoolEnableAutoScaleParams) SetRequestTimeout(timeout time.Duration)
- func (o *PoolEnableAutoScaleParams) SetReturnClientRequestID(returnClientRequestID *bool)
- func (o *PoolEnableAutoScaleParams) SetTimeout(timeout *int32)
- func (o *PoolEnableAutoScaleParams) WithAPIVersion(aPIVersion string) *PoolEnableAutoScaleParams
- func (o *PoolEnableAutoScaleParams) WithClientRequestID(clientRequestID *string) *PoolEnableAutoScaleParams
- func (o *PoolEnableAutoScaleParams) WithContext(ctx context.Context) *PoolEnableAutoScaleParams
- func (o *PoolEnableAutoScaleParams) WithIfMatch(ifMatch *string) *PoolEnableAutoScaleParams
- func (o *PoolEnableAutoScaleParams) WithIfModifiedSince(ifModifiedSince *string) *PoolEnableAutoScaleParams
- func (o *PoolEnableAutoScaleParams) WithIfNoneMatch(ifNoneMatch *string) *PoolEnableAutoScaleParams
- func (o *PoolEnableAutoScaleParams) WithIfUnmodifiedSince(ifUnmodifiedSince *string) *PoolEnableAutoScaleParams
- func (o *PoolEnableAutoScaleParams) WithOcpDate(ocpDate *string) *PoolEnableAutoScaleParams
- func (o *PoolEnableAutoScaleParams) WithPoolEnableAutoScaleParameter(poolEnableAutoScaleParameter *models.PoolEnableAutoScaleParameter) *PoolEnableAutoScaleParams
- func (o *PoolEnableAutoScaleParams) WithPoolID(poolID string) *PoolEnableAutoScaleParams
- func (o *PoolEnableAutoScaleParams) WithRequestTimeout(timeout time.Duration) *PoolEnableAutoScaleParams
- func (o *PoolEnableAutoScaleParams) WithReturnClientRequestID(returnClientRequestID *bool) *PoolEnableAutoScaleParams
- func (o *PoolEnableAutoScaleParams) WithTimeout(timeout *int32) *PoolEnableAutoScaleParams
- func (o *PoolEnableAutoScaleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PoolEnableAutoScaleReader
- type PoolEvaluateAutoScaleDefault
- type PoolEvaluateAutoScaleOK
- type PoolEvaluateAutoScaleParams
- func (o *PoolEvaluateAutoScaleParams) SetAPIVersion(aPIVersion string)
- func (o *PoolEvaluateAutoScaleParams) SetClientRequestID(clientRequestID *string)
- func (o *PoolEvaluateAutoScaleParams) SetContext(ctx context.Context)
- func (o *PoolEvaluateAutoScaleParams) SetOcpDate(ocpDate *string)
- func (o *PoolEvaluateAutoScaleParams) SetPoolEvaluateAutoScaleParameter(poolEvaluateAutoScaleParameter *models.PoolEvaluateAutoScaleParameter)
- func (o *PoolEvaluateAutoScaleParams) SetPoolID(poolID string)
- func (o *PoolEvaluateAutoScaleParams) SetRequestTimeout(timeout time.Duration)
- func (o *PoolEvaluateAutoScaleParams) SetReturnClientRequestID(returnClientRequestID *bool)
- func (o *PoolEvaluateAutoScaleParams) SetTimeout(timeout *int32)
- func (o *PoolEvaluateAutoScaleParams) WithAPIVersion(aPIVersion string) *PoolEvaluateAutoScaleParams
- func (o *PoolEvaluateAutoScaleParams) WithClientRequestID(clientRequestID *string) *PoolEvaluateAutoScaleParams
- func (o *PoolEvaluateAutoScaleParams) WithContext(ctx context.Context) *PoolEvaluateAutoScaleParams
- func (o *PoolEvaluateAutoScaleParams) WithOcpDate(ocpDate *string) *PoolEvaluateAutoScaleParams
- func (o *PoolEvaluateAutoScaleParams) WithPoolEvaluateAutoScaleParameter(poolEvaluateAutoScaleParameter *models.PoolEvaluateAutoScaleParameter) *PoolEvaluateAutoScaleParams
- func (o *PoolEvaluateAutoScaleParams) WithPoolID(poolID string) *PoolEvaluateAutoScaleParams
- func (o *PoolEvaluateAutoScaleParams) WithRequestTimeout(timeout time.Duration) *PoolEvaluateAutoScaleParams
- func (o *PoolEvaluateAutoScaleParams) WithReturnClientRequestID(returnClientRequestID *bool) *PoolEvaluateAutoScaleParams
- func (o *PoolEvaluateAutoScaleParams) WithTimeout(timeout *int32) *PoolEvaluateAutoScaleParams
- func (o *PoolEvaluateAutoScaleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PoolEvaluateAutoScaleReader
- type PoolExistsDefault
- type PoolExistsNotFound
- type PoolExistsOK
- type PoolExistsParams
- func (o *PoolExistsParams) SetAPIVersion(aPIVersion string)
- func (o *PoolExistsParams) SetClientRequestID(clientRequestID *string)
- func (o *PoolExistsParams) SetContext(ctx context.Context)
- func (o *PoolExistsParams) SetIfMatch(ifMatch *string)
- func (o *PoolExistsParams) SetIfModifiedSince(ifModifiedSince *string)
- func (o *PoolExistsParams) SetIfNoneMatch(ifNoneMatch *string)
- func (o *PoolExistsParams) SetIfUnmodifiedSince(ifUnmodifiedSince *string)
- func (o *PoolExistsParams) SetOcpDate(ocpDate *string)
- func (o *PoolExistsParams) SetPoolID(poolID string)
- func (o *PoolExistsParams) SetRequestTimeout(timeout time.Duration)
- func (o *PoolExistsParams) SetReturnClientRequestID(returnClientRequestID *bool)
- func (o *PoolExistsParams) SetTimeout(timeout *int32)
- func (o *PoolExistsParams) WithAPIVersion(aPIVersion string) *PoolExistsParams
- func (o *PoolExistsParams) WithClientRequestID(clientRequestID *string) *PoolExistsParams
- func (o *PoolExistsParams) WithContext(ctx context.Context) *PoolExistsParams
- func (o *PoolExistsParams) WithIfMatch(ifMatch *string) *PoolExistsParams
- func (o *PoolExistsParams) WithIfModifiedSince(ifModifiedSince *string) *PoolExistsParams
- func (o *PoolExistsParams) WithIfNoneMatch(ifNoneMatch *string) *PoolExistsParams
- func (o *PoolExistsParams) WithIfUnmodifiedSince(ifUnmodifiedSince *string) *PoolExistsParams
- func (o *PoolExistsParams) WithOcpDate(ocpDate *string) *PoolExistsParams
- func (o *PoolExistsParams) WithPoolID(poolID string) *PoolExistsParams
- func (o *PoolExistsParams) WithRequestTimeout(timeout time.Duration) *PoolExistsParams
- func (o *PoolExistsParams) WithReturnClientRequestID(returnClientRequestID *bool) *PoolExistsParams
- func (o *PoolExistsParams) WithTimeout(timeout *int32) *PoolExistsParams
- func (o *PoolExistsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PoolExistsReader
- type PoolGetAllPoolsLifetimeStatisticsDefault
- type PoolGetAllPoolsLifetimeStatisticsOK
- type PoolGetAllPoolsLifetimeStatisticsParams
- func NewPoolGetAllPoolsLifetimeStatisticsParams() *PoolGetAllPoolsLifetimeStatisticsParams
- func NewPoolGetAllPoolsLifetimeStatisticsParamsWithContext(ctx context.Context) *PoolGetAllPoolsLifetimeStatisticsParams
- func NewPoolGetAllPoolsLifetimeStatisticsParamsWithTimeout(timeout time.Duration) *PoolGetAllPoolsLifetimeStatisticsParams
- func (o *PoolGetAllPoolsLifetimeStatisticsParams) SetAPIVersion(aPIVersion string)
- func (o *PoolGetAllPoolsLifetimeStatisticsParams) SetClientRequestID(clientRequestID *string)
- func (o *PoolGetAllPoolsLifetimeStatisticsParams) SetContext(ctx context.Context)
- func (o *PoolGetAllPoolsLifetimeStatisticsParams) SetOcpDate(ocpDate *string)
- func (o *PoolGetAllPoolsLifetimeStatisticsParams) SetRequestTimeout(timeout time.Duration)
- func (o *PoolGetAllPoolsLifetimeStatisticsParams) SetReturnClientRequestID(returnClientRequestID *bool)
- func (o *PoolGetAllPoolsLifetimeStatisticsParams) SetTimeout(timeout *int32)
- func (o *PoolGetAllPoolsLifetimeStatisticsParams) WithAPIVersion(aPIVersion string) *PoolGetAllPoolsLifetimeStatisticsParams
- func (o *PoolGetAllPoolsLifetimeStatisticsParams) WithClientRequestID(clientRequestID *string) *PoolGetAllPoolsLifetimeStatisticsParams
- func (o *PoolGetAllPoolsLifetimeStatisticsParams) WithContext(ctx context.Context) *PoolGetAllPoolsLifetimeStatisticsParams
- func (o *PoolGetAllPoolsLifetimeStatisticsParams) WithOcpDate(ocpDate *string) *PoolGetAllPoolsLifetimeStatisticsParams
- func (o *PoolGetAllPoolsLifetimeStatisticsParams) WithRequestTimeout(timeout time.Duration) *PoolGetAllPoolsLifetimeStatisticsParams
- func (o *PoolGetAllPoolsLifetimeStatisticsParams) WithReturnClientRequestID(returnClientRequestID *bool) *PoolGetAllPoolsLifetimeStatisticsParams
- func (o *PoolGetAllPoolsLifetimeStatisticsParams) WithTimeout(timeout *int32) *PoolGetAllPoolsLifetimeStatisticsParams
- func (o *PoolGetAllPoolsLifetimeStatisticsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PoolGetAllPoolsLifetimeStatisticsReader
- type PoolGetDefault
- type PoolGetOK
- type PoolGetParams
- func (o *PoolGetParams) SetAPIVersion(aPIVersion string)
- func (o *PoolGetParams) SetClientRequestID(clientRequestID *string)
- func (o *PoolGetParams) SetContext(ctx context.Context)
- func (o *PoolGetParams) SetDollarExpand(dollarExpand *string)
- func (o *PoolGetParams) SetDollarSelect(dollarSelect *string)
- func (o *PoolGetParams) SetIfMatch(ifMatch *string)
- func (o *PoolGetParams) SetIfModifiedSince(ifModifiedSince *string)
- func (o *PoolGetParams) SetIfNoneMatch(ifNoneMatch *string)
- func (o *PoolGetParams) SetIfUnmodifiedSince(ifUnmodifiedSince *string)
- func (o *PoolGetParams) SetOcpDate(ocpDate *string)
- func (o *PoolGetParams) SetPoolID(poolID string)
- func (o *PoolGetParams) SetRequestTimeout(timeout time.Duration)
- func (o *PoolGetParams) SetReturnClientRequestID(returnClientRequestID *bool)
- func (o *PoolGetParams) SetTimeout(timeout *int32)
- func (o *PoolGetParams) WithAPIVersion(aPIVersion string) *PoolGetParams
- func (o *PoolGetParams) WithClientRequestID(clientRequestID *string) *PoolGetParams
- func (o *PoolGetParams) WithContext(ctx context.Context) *PoolGetParams
- func (o *PoolGetParams) WithDollarExpand(dollarExpand *string) *PoolGetParams
- func (o *PoolGetParams) WithDollarSelect(dollarSelect *string) *PoolGetParams
- func (o *PoolGetParams) WithIfMatch(ifMatch *string) *PoolGetParams
- func (o *PoolGetParams) WithIfModifiedSince(ifModifiedSince *string) *PoolGetParams
- func (o *PoolGetParams) WithIfNoneMatch(ifNoneMatch *string) *PoolGetParams
- func (o *PoolGetParams) WithIfUnmodifiedSince(ifUnmodifiedSince *string) *PoolGetParams
- func (o *PoolGetParams) WithOcpDate(ocpDate *string) *PoolGetParams
- func (o *PoolGetParams) WithPoolID(poolID string) *PoolGetParams
- func (o *PoolGetParams) WithRequestTimeout(timeout time.Duration) *PoolGetParams
- func (o *PoolGetParams) WithReturnClientRequestID(returnClientRequestID *bool) *PoolGetParams
- func (o *PoolGetParams) WithTimeout(timeout *int32) *PoolGetParams
- func (o *PoolGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PoolGetReader
- type PoolListDefault
- type PoolListOK
- type PoolListParams
- func (o *PoolListParams) SetAPIVersion(aPIVersion string)
- func (o *PoolListParams) SetClientRequestID(clientRequestID *string)
- func (o *PoolListParams) SetContext(ctx context.Context)
- func (o *PoolListParams) SetDollarExpand(dollarExpand *string)
- func (o *PoolListParams) SetDollarFilter(dollarFilter *string)
- func (o *PoolListParams) SetDollarSelect(dollarSelect *string)
- func (o *PoolListParams) SetMaxresults(maxresults *int32)
- func (o *PoolListParams) SetOcpDate(ocpDate *string)
- func (o *PoolListParams) SetRequestTimeout(timeout time.Duration)
- func (o *PoolListParams) SetReturnClientRequestID(returnClientRequestID *bool)
- func (o *PoolListParams) SetTimeout(timeout *int32)
- func (o *PoolListParams) WithAPIVersion(aPIVersion string) *PoolListParams
- func (o *PoolListParams) WithClientRequestID(clientRequestID *string) *PoolListParams
- func (o *PoolListParams) WithContext(ctx context.Context) *PoolListParams
- func (o *PoolListParams) WithDollarExpand(dollarExpand *string) *PoolListParams
- func (o *PoolListParams) WithDollarFilter(dollarFilter *string) *PoolListParams
- func (o *PoolListParams) WithDollarSelect(dollarSelect *string) *PoolListParams
- func (o *PoolListParams) WithMaxresults(maxresults *int32) *PoolListParams
- func (o *PoolListParams) WithOcpDate(ocpDate *string) *PoolListParams
- func (o *PoolListParams) WithRequestTimeout(timeout time.Duration) *PoolListParams
- func (o *PoolListParams) WithReturnClientRequestID(returnClientRequestID *bool) *PoolListParams
- func (o *PoolListParams) WithTimeout(timeout *int32) *PoolListParams
- func (o *PoolListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PoolListPoolUsageMetricsDefault
- type PoolListPoolUsageMetricsOK
- type PoolListPoolUsageMetricsParams
- func (o *PoolListPoolUsageMetricsParams) SetAPIVersion(aPIVersion string)
- func (o *PoolListPoolUsageMetricsParams) SetClientRequestID(clientRequestID *string)
- func (o *PoolListPoolUsageMetricsParams) SetContext(ctx context.Context)
- func (o *PoolListPoolUsageMetricsParams) SetDollarFilter(dollarFilter *string)
- func (o *PoolListPoolUsageMetricsParams) SetEndtime(endtime *strfmt.DateTime)
- func (o *PoolListPoolUsageMetricsParams) SetMaxresults(maxresults *int32)
- func (o *PoolListPoolUsageMetricsParams) SetOcpDate(ocpDate *string)
- func (o *PoolListPoolUsageMetricsParams) SetRequestTimeout(timeout time.Duration)
- func (o *PoolListPoolUsageMetricsParams) SetReturnClientRequestID(returnClientRequestID *bool)
- func (o *PoolListPoolUsageMetricsParams) SetStarttime(starttime *strfmt.DateTime)
- func (o *PoolListPoolUsageMetricsParams) SetTimeout(timeout *int32)
- func (o *PoolListPoolUsageMetricsParams) WithAPIVersion(aPIVersion string) *PoolListPoolUsageMetricsParams
- func (o *PoolListPoolUsageMetricsParams) WithClientRequestID(clientRequestID *string) *PoolListPoolUsageMetricsParams
- func (o *PoolListPoolUsageMetricsParams) WithContext(ctx context.Context) *PoolListPoolUsageMetricsParams
- func (o *PoolListPoolUsageMetricsParams) WithDollarFilter(dollarFilter *string) *PoolListPoolUsageMetricsParams
- func (o *PoolListPoolUsageMetricsParams) WithEndtime(endtime *strfmt.DateTime) *PoolListPoolUsageMetricsParams
- func (o *PoolListPoolUsageMetricsParams) WithMaxresults(maxresults *int32) *PoolListPoolUsageMetricsParams
- func (o *PoolListPoolUsageMetricsParams) WithOcpDate(ocpDate *string) *PoolListPoolUsageMetricsParams
- func (o *PoolListPoolUsageMetricsParams) WithRequestTimeout(timeout time.Duration) *PoolListPoolUsageMetricsParams
- func (o *PoolListPoolUsageMetricsParams) WithReturnClientRequestID(returnClientRequestID *bool) *PoolListPoolUsageMetricsParams
- func (o *PoolListPoolUsageMetricsParams) WithStarttime(starttime *strfmt.DateTime) *PoolListPoolUsageMetricsParams
- func (o *PoolListPoolUsageMetricsParams) WithTimeout(timeout *int32) *PoolListPoolUsageMetricsParams
- func (o *PoolListPoolUsageMetricsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PoolListPoolUsageMetricsReader
- type PoolListReader
- type PoolPatchDefault
- type PoolPatchOK
- type PoolPatchParams
- func (o *PoolPatchParams) SetAPIVersion(aPIVersion string)
- func (o *PoolPatchParams) SetClientRequestID(clientRequestID *string)
- func (o *PoolPatchParams) SetContext(ctx context.Context)
- func (o *PoolPatchParams) SetIfMatch(ifMatch *string)
- func (o *PoolPatchParams) SetIfModifiedSince(ifModifiedSince *string)
- func (o *PoolPatchParams) SetIfNoneMatch(ifNoneMatch *string)
- func (o *PoolPatchParams) SetIfUnmodifiedSince(ifUnmodifiedSince *string)
- func (o *PoolPatchParams) SetOcpDate(ocpDate *string)
- func (o *PoolPatchParams) SetPoolID(poolID string)
- func (o *PoolPatchParams) SetPoolPatchParameter(poolPatchParameter *models.PoolPatchParameter)
- func (o *PoolPatchParams) SetRequestTimeout(timeout time.Duration)
- func (o *PoolPatchParams) SetReturnClientRequestID(returnClientRequestID *bool)
- func (o *PoolPatchParams) SetTimeout(timeout *int32)
- func (o *PoolPatchParams) WithAPIVersion(aPIVersion string) *PoolPatchParams
- func (o *PoolPatchParams) WithClientRequestID(clientRequestID *string) *PoolPatchParams
- func (o *PoolPatchParams) WithContext(ctx context.Context) *PoolPatchParams
- func (o *PoolPatchParams) WithIfMatch(ifMatch *string) *PoolPatchParams
- func (o *PoolPatchParams) WithIfModifiedSince(ifModifiedSince *string) *PoolPatchParams
- func (o *PoolPatchParams) WithIfNoneMatch(ifNoneMatch *string) *PoolPatchParams
- func (o *PoolPatchParams) WithIfUnmodifiedSince(ifUnmodifiedSince *string) *PoolPatchParams
- func (o *PoolPatchParams) WithOcpDate(ocpDate *string) *PoolPatchParams
- func (o *PoolPatchParams) WithPoolID(poolID string) *PoolPatchParams
- func (o *PoolPatchParams) WithPoolPatchParameter(poolPatchParameter *models.PoolPatchParameter) *PoolPatchParams
- func (o *PoolPatchParams) WithRequestTimeout(timeout time.Duration) *PoolPatchParams
- func (o *PoolPatchParams) WithReturnClientRequestID(returnClientRequestID *bool) *PoolPatchParams
- func (o *PoolPatchParams) WithTimeout(timeout *int32) *PoolPatchParams
- func (o *PoolPatchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PoolPatchReader
- type PoolResizeAccepted
- type PoolResizeDefault
- type PoolResizeParams
- func (o *PoolResizeParams) SetAPIVersion(aPIVersion string)
- func (o *PoolResizeParams) SetClientRequestID(clientRequestID *string)
- func (o *PoolResizeParams) SetContext(ctx context.Context)
- func (o *PoolResizeParams) SetIfMatch(ifMatch *string)
- func (o *PoolResizeParams) SetIfModifiedSince(ifModifiedSince *string)
- func (o *PoolResizeParams) SetIfNoneMatch(ifNoneMatch *string)
- func (o *PoolResizeParams) SetIfUnmodifiedSince(ifUnmodifiedSince *string)
- func (o *PoolResizeParams) SetOcpDate(ocpDate *string)
- func (o *PoolResizeParams) SetPoolID(poolID string)
- func (o *PoolResizeParams) SetPoolResizeParameter(poolResizeParameter *models.PoolResizeParameter)
- func (o *PoolResizeParams) SetRequestTimeout(timeout time.Duration)
- func (o *PoolResizeParams) SetReturnClientRequestID(returnClientRequestID *bool)
- func (o *PoolResizeParams) SetTimeout(timeout *int32)
- func (o *PoolResizeParams) WithAPIVersion(aPIVersion string) *PoolResizeParams
- func (o *PoolResizeParams) WithClientRequestID(clientRequestID *string) *PoolResizeParams
- func (o *PoolResizeParams) WithContext(ctx context.Context) *PoolResizeParams
- func (o *PoolResizeParams) WithIfMatch(ifMatch *string) *PoolResizeParams
- func (o *PoolResizeParams) WithIfModifiedSince(ifModifiedSince *string) *PoolResizeParams
- func (o *PoolResizeParams) WithIfNoneMatch(ifNoneMatch *string) *PoolResizeParams
- func (o *PoolResizeParams) WithIfUnmodifiedSince(ifUnmodifiedSince *string) *PoolResizeParams
- func (o *PoolResizeParams) WithOcpDate(ocpDate *string) *PoolResizeParams
- func (o *PoolResizeParams) WithPoolID(poolID string) *PoolResizeParams
- func (o *PoolResizeParams) WithPoolResizeParameter(poolResizeParameter *models.PoolResizeParameter) *PoolResizeParams
- func (o *PoolResizeParams) WithRequestTimeout(timeout time.Duration) *PoolResizeParams
- func (o *PoolResizeParams) WithReturnClientRequestID(returnClientRequestID *bool) *PoolResizeParams
- func (o *PoolResizeParams) WithTimeout(timeout *int32) *PoolResizeParams
- func (o *PoolResizeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PoolResizeReader
- type PoolStopResizeAccepted
- type PoolStopResizeDefault
- type PoolStopResizeParams
- func (o *PoolStopResizeParams) SetAPIVersion(aPIVersion string)
- func (o *PoolStopResizeParams) SetClientRequestID(clientRequestID *string)
- func (o *PoolStopResizeParams) SetContext(ctx context.Context)
- func (o *PoolStopResizeParams) SetIfMatch(ifMatch *string)
- func (o *PoolStopResizeParams) SetIfModifiedSince(ifModifiedSince *string)
- func (o *PoolStopResizeParams) SetIfNoneMatch(ifNoneMatch *string)
- func (o *PoolStopResizeParams) SetIfUnmodifiedSince(ifUnmodifiedSince *string)
- func (o *PoolStopResizeParams) SetOcpDate(ocpDate *string)
- func (o *PoolStopResizeParams) SetPoolID(poolID string)
- func (o *PoolStopResizeParams) SetRequestTimeout(timeout time.Duration)
- func (o *PoolStopResizeParams) SetReturnClientRequestID(returnClientRequestID *bool)
- func (o *PoolStopResizeParams) SetTimeout(timeout *int32)
- func (o *PoolStopResizeParams) WithAPIVersion(aPIVersion string) *PoolStopResizeParams
- func (o *PoolStopResizeParams) WithClientRequestID(clientRequestID *string) *PoolStopResizeParams
- func (o *PoolStopResizeParams) WithContext(ctx context.Context) *PoolStopResizeParams
- func (o *PoolStopResizeParams) WithIfMatch(ifMatch *string) *PoolStopResizeParams
- func (o *PoolStopResizeParams) WithIfModifiedSince(ifModifiedSince *string) *PoolStopResizeParams
- func (o *PoolStopResizeParams) WithIfNoneMatch(ifNoneMatch *string) *PoolStopResizeParams
- func (o *PoolStopResizeParams) WithIfUnmodifiedSince(ifUnmodifiedSince *string) *PoolStopResizeParams
- func (o *PoolStopResizeParams) WithOcpDate(ocpDate *string) *PoolStopResizeParams
- func (o *PoolStopResizeParams) WithPoolID(poolID string) *PoolStopResizeParams
- func (o *PoolStopResizeParams) WithRequestTimeout(timeout time.Duration) *PoolStopResizeParams
- func (o *PoolStopResizeParams) WithReturnClientRequestID(returnClientRequestID *bool) *PoolStopResizeParams
- func (o *PoolStopResizeParams) WithTimeout(timeout *int32) *PoolStopResizeParams
- func (o *PoolStopResizeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PoolStopResizeReader
- type PoolUpdatePropertiesDefault
- type PoolUpdatePropertiesNoContent
- type PoolUpdatePropertiesParams
- func (o *PoolUpdatePropertiesParams) SetAPIVersion(aPIVersion string)
- func (o *PoolUpdatePropertiesParams) SetClientRequestID(clientRequestID *string)
- func (o *PoolUpdatePropertiesParams) SetContext(ctx context.Context)
- func (o *PoolUpdatePropertiesParams) SetOcpDate(ocpDate *string)
- func (o *PoolUpdatePropertiesParams) SetPoolID(poolID string)
- func (o *PoolUpdatePropertiesParams) SetPoolUpdatePropertiesParameter(poolUpdatePropertiesParameter *models.PoolUpdatePropertiesParameter)
- func (o *PoolUpdatePropertiesParams) SetRequestTimeout(timeout time.Duration)
- func (o *PoolUpdatePropertiesParams) SetReturnClientRequestID(returnClientRequestID *bool)
- func (o *PoolUpdatePropertiesParams) SetTimeout(timeout *int32)
- func (o *PoolUpdatePropertiesParams) WithAPIVersion(aPIVersion string) *PoolUpdatePropertiesParams
- func (o *PoolUpdatePropertiesParams) WithClientRequestID(clientRequestID *string) *PoolUpdatePropertiesParams
- func (o *PoolUpdatePropertiesParams) WithContext(ctx context.Context) *PoolUpdatePropertiesParams
- func (o *PoolUpdatePropertiesParams) WithOcpDate(ocpDate *string) *PoolUpdatePropertiesParams
- func (o *PoolUpdatePropertiesParams) WithPoolID(poolID string) *PoolUpdatePropertiesParams
- func (o *PoolUpdatePropertiesParams) WithPoolUpdatePropertiesParameter(poolUpdatePropertiesParameter *models.PoolUpdatePropertiesParameter) *PoolUpdatePropertiesParams
- func (o *PoolUpdatePropertiesParams) WithRequestTimeout(timeout time.Duration) *PoolUpdatePropertiesParams
- func (o *PoolUpdatePropertiesParams) WithReturnClientRequestID(returnClientRequestID *bool) *PoolUpdatePropertiesParams
- func (o *PoolUpdatePropertiesParams) WithTimeout(timeout *int32) *PoolUpdatePropertiesParams
- func (o *PoolUpdatePropertiesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PoolUpdatePropertiesReader
- type PoolUpgradeOSAccepted
- type PoolUpgradeOSDefault
- type PoolUpgradeOSParams
- func (o *PoolUpgradeOSParams) SetAPIVersion(aPIVersion string)
- func (o *PoolUpgradeOSParams) SetClientRequestID(clientRequestID *string)
- func (o *PoolUpgradeOSParams) SetContext(ctx context.Context)
- func (o *PoolUpgradeOSParams) SetIfMatch(ifMatch *string)
- func (o *PoolUpgradeOSParams) SetIfModifiedSince(ifModifiedSince *string)
- func (o *PoolUpgradeOSParams) SetIfNoneMatch(ifNoneMatch *string)
- func (o *PoolUpgradeOSParams) SetIfUnmodifiedSince(ifUnmodifiedSince *string)
- func (o *PoolUpgradeOSParams) SetOcpDate(ocpDate *string)
- func (o *PoolUpgradeOSParams) SetPoolID(poolID string)
- func (o *PoolUpgradeOSParams) SetPoolUpgradeOSParameter(poolUpgradeOSParameter *models.PoolUpgradeOSParameter)
- func (o *PoolUpgradeOSParams) SetRequestTimeout(timeout time.Duration)
- func (o *PoolUpgradeOSParams) SetReturnClientRequestID(returnClientRequestID *bool)
- func (o *PoolUpgradeOSParams) SetTimeout(timeout *int32)
- func (o *PoolUpgradeOSParams) WithAPIVersion(aPIVersion string) *PoolUpgradeOSParams
- func (o *PoolUpgradeOSParams) WithClientRequestID(clientRequestID *string) *PoolUpgradeOSParams
- func (o *PoolUpgradeOSParams) WithContext(ctx context.Context) *PoolUpgradeOSParams
- func (o *PoolUpgradeOSParams) WithIfMatch(ifMatch *string) *PoolUpgradeOSParams
- func (o *PoolUpgradeOSParams) WithIfModifiedSince(ifModifiedSince *string) *PoolUpgradeOSParams
- func (o *PoolUpgradeOSParams) WithIfNoneMatch(ifNoneMatch *string) *PoolUpgradeOSParams
- func (o *PoolUpgradeOSParams) WithIfUnmodifiedSince(ifUnmodifiedSince *string) *PoolUpgradeOSParams
- func (o *PoolUpgradeOSParams) WithOcpDate(ocpDate *string) *PoolUpgradeOSParams
- func (o *PoolUpgradeOSParams) WithPoolID(poolID string) *PoolUpgradeOSParams
- func (o *PoolUpgradeOSParams) WithPoolUpgradeOSParameter(poolUpgradeOSParameter *models.PoolUpgradeOSParameter) *PoolUpgradeOSParams
- func (o *PoolUpgradeOSParams) WithRequestTimeout(timeout time.Duration) *PoolUpgradeOSParams
- func (o *PoolUpgradeOSParams) WithReturnClientRequestID(returnClientRequestID *bool) *PoolUpgradeOSParams
- func (o *PoolUpgradeOSParams) WithTimeout(timeout *int32) *PoolUpgradeOSParams
- func (o *PoolUpgradeOSParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PoolUpgradeOSReader
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 pools API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new pools API client.
func (*Client) PoolAdd ¶
func (a *Client) PoolAdd(params *PoolAddParams) (*PoolAddCreated, error)
PoolAdd adds a pool to the specified account
When naming pools, avoid including sensitive information such as user names or secret project names. This information may appear in telemetry logs accessible to Microsoft Support engineers.
func (*Client) PoolDelete ¶
func (a *Client) PoolDelete(params *PoolDeleteParams) (*PoolDeleteAccepted, error)
PoolDelete deletes a pool from the specified account
When you request that a pool be deleted, the following actions occur: the pool state is set to deleting; any ongoing resize operation on the pool are stopped; the Batch service starts resizing the pool to zero nodes; any tasks running on existing nodes are terminated and requeued (as if a resize pool operation had been requested with the default requeue option); finally, the pool is removed from the system. Because running tasks are requeued, the user can rerun these tasks by updating their job to target a different pool. The tasks can then run on the new pool. If you want to override the requeue behavior, then you should call resize pool explicitly to shrink the pool to zero size before deleting the pool. If you call an Update, Patch or Delete API on a pool in the deleting state, it will fail with HTTP status code 409 with error code PoolBeingDeleted.
func (*Client) PoolDisableAutoScale ¶
func (a *Client) PoolDisableAutoScale(params *PoolDisableAutoScaleParams) (*PoolDisableAutoScaleOK, error)
PoolDisableAutoScale disables automatic scaling for a pool
func (*Client) PoolEnableAutoScale ¶
func (a *Client) PoolEnableAutoScale(params *PoolEnableAutoScaleParams) (*PoolEnableAutoScaleOK, error)
PoolEnableAutoScale enables automatic scaling for a pool
You cannot enable automatic scaling on a pool if a resize operation is in progress on the pool. If automatic scaling of the pool is currently disabled, you must specify a valid autoscale formula as part of the request. If automatic scaling of the pool is already enabled, you may specify a new autoscale formula and/or a new evaluation interval. You cannot call this API for the same pool more than once every 30 seconds.
func (*Client) PoolEvaluateAutoScale ¶
func (a *Client) PoolEvaluateAutoScale(params *PoolEvaluateAutoScaleParams) (*PoolEvaluateAutoScaleOK, error)
PoolEvaluateAutoScale gets the result of evaluating an automatic scaling formula on the pool
This API is primarily for validating an autoscale formula, as it simply returns the result without applying the formula to the pool.
func (*Client) PoolExists ¶
func (a *Client) PoolExists(params *PoolExistsParams) (*PoolExistsOK, error)
PoolExists Gets basic properties of a pool.
func (*Client) PoolGet ¶
func (a *Client) PoolGet(params *PoolGetParams) (*PoolGetOK, error)
PoolGet Gets information about the specified pool.
func (*Client) PoolGetAllPoolsLifetimeStatistics ¶
func (a *Client) PoolGetAllPoolsLifetimeStatistics(params *PoolGetAllPoolsLifetimeStatisticsParams) (*PoolGetAllPoolsLifetimeStatisticsOK, error)
PoolGetAllPoolsLifetimeStatistics gets lifetime summary statistics for all of the pools in the specified account
Statistics are aggregated across all pools that have ever existed in the account, from account creation to the last update time of the statistics.
func (*Client) PoolList ¶
func (a *Client) PoolList(params *PoolListParams) (*PoolListOK, error)
PoolList lists all of the pools in the specified account
func (*Client) PoolListPoolUsageMetrics ¶
func (a *Client) PoolListPoolUsageMetrics(params *PoolListPoolUsageMetricsParams) (*PoolListPoolUsageMetricsOK, error)
PoolListPoolUsageMetrics lists the usage metrics aggregated by pool across individual time intervals for the specified account
If you do not specify a $filter clause including a poolId, the response includes all pools that existed in the account in the time range of the returned aggregation intervals.
func (*Client) PoolPatch ¶
func (a *Client) PoolPatch(params *PoolPatchParams) (*PoolPatchOK, error)
PoolPatch updates the properties of the specified pool
This only replaces the pool properties specified in the request. For example, if the pool has a start task associated with it, and a request does not specify a start task element, then the pool keeps the existing start task.
func (*Client) PoolResize ¶
func (a *Client) PoolResize(params *PoolResizeParams) (*PoolResizeAccepted, error)
PoolResize changes the number of compute nodes that are assigned to a pool
You can only resize a pool when its allocation state is steady. If the pool is already resizing, the request fails with status code 409. When you resize a pool, the pool's allocation state changes from steady to resizing. You cannot resize pools which are configured for automatic scaling. If you try to do this, the Batch service returns an error 409. If you resize a pool downwards, the Batch service chooses which nodes to remove. To remove specific nodes, use the pool remove nodes API instead.
func (*Client) PoolStopResize ¶
func (a *Client) PoolStopResize(params *PoolStopResizeParams) (*PoolStopResizeAccepted, error)
PoolStopResize stops an ongoing resize operation on the pool
This does not restore the pool to its previous state before the resize operation: it only stops any further changes being made, and the pool maintains its current state. A resize operation need not be an explicit resize pool request; this API can also be used to halt the initial sizing of the pool when it is created.
func (*Client) PoolUpdateProperties ¶
func (a *Client) PoolUpdateProperties(params *PoolUpdatePropertiesParams) (*PoolUpdatePropertiesNoContent, error)
PoolUpdateProperties updates the properties of the specified pool
This fully replaces all the updateable properties of the pool. For example, if the pool has a start task associated with it and if start task is not specified with this request, then the Batch service will remove the existing start task.
func (*Client) PoolUpgradeOS ¶
func (a *Client) PoolUpgradeOS(params *PoolUpgradeOSParams) (*PoolUpgradeOSAccepted, error)
PoolUpgradeOS upgrades the operating system of the specified pool
During an upgrade, the Batch service upgrades each compute node in the pool. When a compute node is chosen for upgrade, any tasks running on that node are removed from the node and returned to the queue to be rerun later (or on a different compute node). The node will be unavailable until the upgrade is complete. This operation results in temporarily reduced pool capacity as nodes are taken out of service to be upgraded. Although the Batch service tries to avoid upgrading all compute nodes at the same time, it does not guarantee to do this (particularly on small pools); therefore, the pool may be temporarily unavailable to run tasks. When this operation runs, the pool state changes to upgrading. When all compute nodes have finished upgrading, the pool state returns to active.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type PoolAddCreated ¶
type PoolAddCreated 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 }
PoolAddCreated handles this case with default header values.
The request to the Batch service was successful.
func NewPoolAddCreated ¶
func NewPoolAddCreated() *PoolAddCreated
NewPoolAddCreated creates a PoolAddCreated with default headers values
func (*PoolAddCreated) Error ¶
func (o *PoolAddCreated) Error() string
type PoolAddDefault ¶
type PoolAddDefault struct { Payload *models.BatchError // contains filtered or unexported fields }
PoolAddDefault handles this case with default header values.
The error from the Batch service.
func NewPoolAddDefault ¶
func NewPoolAddDefault(code int) *PoolAddDefault
NewPoolAddDefault creates a PoolAddDefault with default headers values
func (*PoolAddDefault) Code ¶
func (o *PoolAddDefault) Code() int
Code gets the status code for the pool add default response
func (*PoolAddDefault) Error ¶
func (o *PoolAddDefault) Error() string
type PoolAddParams ¶
type PoolAddParams struct { /*Pool The pool to be added. */ Pool *models.PoolAddParameter /*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 /*OcpDate The time the request was issued. If not specified, this header will be automatically populated with the current system clock time. */ OcpDate *string /*ReturnClientRequestID Whether the server should return the client-request-id in the response. */ ReturnClientRequestID *bool /*Timeout The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. */ Timeout *int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PoolAddParams contains all the parameters to send to the API endpoint for the pool add operation typically these are written to a http.Request
func NewPoolAddParams ¶
func NewPoolAddParams() *PoolAddParams
NewPoolAddParams creates a new PoolAddParams object with the default values initialized.
func NewPoolAddParamsWithContext ¶
func NewPoolAddParamsWithContext(ctx context.Context) *PoolAddParams
NewPoolAddParamsWithContext creates a new PoolAddParams object with the default values initialized, and the ability to set a context for a request
func NewPoolAddParamsWithTimeout ¶
func NewPoolAddParamsWithTimeout(timeout time.Duration) *PoolAddParams
NewPoolAddParamsWithTimeout creates a new PoolAddParams object with the default values initialized, and the ability to set a timeout on a request
func (*PoolAddParams) SetAPIVersion ¶
func (o *PoolAddParams) SetAPIVersion(aPIVersion string)
SetAPIVersion adds the apiVersion to the pool add params
func (*PoolAddParams) SetClientRequestID ¶
func (o *PoolAddParams) SetClientRequestID(clientRequestID *string)
SetClientRequestID adds the clientRequestId to the pool add params
func (*PoolAddParams) SetContext ¶
func (o *PoolAddParams) SetContext(ctx context.Context)
SetContext adds the context to the pool add params
func (*PoolAddParams) SetOcpDate ¶
func (o *PoolAddParams) SetOcpDate(ocpDate *string)
SetOcpDate adds the ocpDate to the pool add params
func (*PoolAddParams) SetPool ¶
func (o *PoolAddParams) SetPool(pool *models.PoolAddParameter)
SetPool adds the pool to the pool add params
func (*PoolAddParams) SetRequestTimeout ¶
func (o *PoolAddParams) SetRequestTimeout(timeout time.Duration)
SetRequestTimeout adds the timeout to the pool add params
func (*PoolAddParams) SetReturnClientRequestID ¶
func (o *PoolAddParams) SetReturnClientRequestID(returnClientRequestID *bool)
SetReturnClientRequestID adds the returnClientRequestId to the pool add params
func (*PoolAddParams) SetTimeout ¶
func (o *PoolAddParams) SetTimeout(timeout *int32)
SetTimeout adds the timeout to the pool add params
func (*PoolAddParams) WithAPIVersion ¶
func (o *PoolAddParams) WithAPIVersion(aPIVersion string) *PoolAddParams
WithAPIVersion adds the aPIVersion to the pool add params
func (*PoolAddParams) WithClientRequestID ¶
func (o *PoolAddParams) WithClientRequestID(clientRequestID *string) *PoolAddParams
WithClientRequestID adds the clientRequestID to the pool add params
func (*PoolAddParams) WithContext ¶
func (o *PoolAddParams) WithContext(ctx context.Context) *PoolAddParams
WithContext adds the context to the pool add params
func (*PoolAddParams) WithOcpDate ¶
func (o *PoolAddParams) WithOcpDate(ocpDate *string) *PoolAddParams
WithOcpDate adds the ocpDate to the pool add params
func (*PoolAddParams) WithPool ¶
func (o *PoolAddParams) WithPool(pool *models.PoolAddParameter) *PoolAddParams
WithPool adds the pool to the pool add params
func (*PoolAddParams) WithRequestTimeout ¶
func (o *PoolAddParams) WithRequestTimeout(timeout time.Duration) *PoolAddParams
WithRequestTimeout adds the timeout to the pool add params
func (*PoolAddParams) WithReturnClientRequestID ¶
func (o *PoolAddParams) WithReturnClientRequestID(returnClientRequestID *bool) *PoolAddParams
WithReturnClientRequestID adds the returnClientRequestID to the pool add params
func (*PoolAddParams) WithTimeout ¶
func (o *PoolAddParams) WithTimeout(timeout *int32) *PoolAddParams
WithTimeout adds the timeout to the pool add params
func (*PoolAddParams) WriteToRequest ¶
func (o *PoolAddParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PoolAddReader ¶
type PoolAddReader struct {
// contains filtered or unexported fields
}
PoolAddReader is a Reader for the PoolAdd structure.
func (*PoolAddReader) ReadResponse ¶
func (o *PoolAddReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PoolDeleteAccepted ¶
type PoolDeleteAccepted 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 }
PoolDeleteAccepted handles this case with default header values.
The request to the Batch service was successful.
func NewPoolDeleteAccepted ¶
func NewPoolDeleteAccepted() *PoolDeleteAccepted
NewPoolDeleteAccepted creates a PoolDeleteAccepted with default headers values
func (*PoolDeleteAccepted) Error ¶
func (o *PoolDeleteAccepted) Error() string
type PoolDeleteDefault ¶
type PoolDeleteDefault struct { Payload *models.BatchError // contains filtered or unexported fields }
PoolDeleteDefault handles this case with default header values.
The error from the Batch service.
func NewPoolDeleteDefault ¶
func NewPoolDeleteDefault(code int) *PoolDeleteDefault
NewPoolDeleteDefault creates a PoolDeleteDefault with default headers values
func (*PoolDeleteDefault) Code ¶
func (o *PoolDeleteDefault) Code() int
Code gets the status code for the pool delete default response
func (*PoolDeleteDefault) Error ¶
func (o *PoolDeleteDefault) Error() string
type PoolDeleteParams ¶
type PoolDeleteParams 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 /*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 to delete. */ 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 }
PoolDeleteParams contains all the parameters to send to the API endpoint for the pool delete operation typically these are written to a http.Request
func NewPoolDeleteParams ¶
func NewPoolDeleteParams() *PoolDeleteParams
NewPoolDeleteParams creates a new PoolDeleteParams object with the default values initialized.
func NewPoolDeleteParamsWithContext ¶
func NewPoolDeleteParamsWithContext(ctx context.Context) *PoolDeleteParams
NewPoolDeleteParamsWithContext creates a new PoolDeleteParams object with the default values initialized, and the ability to set a context for a request
func NewPoolDeleteParamsWithTimeout ¶
func NewPoolDeleteParamsWithTimeout(timeout time.Duration) *PoolDeleteParams
NewPoolDeleteParamsWithTimeout creates a new PoolDeleteParams object with the default values initialized, and the ability to set a timeout on a request
func (*PoolDeleteParams) SetAPIVersion ¶
func (o *PoolDeleteParams) SetAPIVersion(aPIVersion string)
SetAPIVersion adds the apiVersion to the pool delete params
func (*PoolDeleteParams) SetClientRequestID ¶
func (o *PoolDeleteParams) SetClientRequestID(clientRequestID *string)
SetClientRequestID adds the clientRequestId to the pool delete params
func (*PoolDeleteParams) SetContext ¶
func (o *PoolDeleteParams) SetContext(ctx context.Context)
SetContext adds the context to the pool delete params
func (*PoolDeleteParams) SetIfMatch ¶
func (o *PoolDeleteParams) SetIfMatch(ifMatch *string)
SetIfMatch adds the ifMatch to the pool delete params
func (*PoolDeleteParams) SetIfModifiedSince ¶
func (o *PoolDeleteParams) SetIfModifiedSince(ifModifiedSince *string)
SetIfModifiedSince adds the ifModifiedSince to the pool delete params
func (*PoolDeleteParams) SetIfNoneMatch ¶
func (o *PoolDeleteParams) SetIfNoneMatch(ifNoneMatch *string)
SetIfNoneMatch adds the ifNoneMatch to the pool delete params
func (*PoolDeleteParams) SetIfUnmodifiedSince ¶
func (o *PoolDeleteParams) SetIfUnmodifiedSince(ifUnmodifiedSince *string)
SetIfUnmodifiedSince adds the ifUnmodifiedSince to the pool delete params
func (*PoolDeleteParams) SetOcpDate ¶
func (o *PoolDeleteParams) SetOcpDate(ocpDate *string)
SetOcpDate adds the ocpDate to the pool delete params
func (*PoolDeleteParams) SetPoolID ¶
func (o *PoolDeleteParams) SetPoolID(poolID string)
SetPoolID adds the poolId to the pool delete params
func (*PoolDeleteParams) SetRequestTimeout ¶
func (o *PoolDeleteParams) SetRequestTimeout(timeout time.Duration)
SetRequestTimeout adds the timeout to the pool delete params
func (*PoolDeleteParams) SetReturnClientRequestID ¶
func (o *PoolDeleteParams) SetReturnClientRequestID(returnClientRequestID *bool)
SetReturnClientRequestID adds the returnClientRequestId to the pool delete params
func (*PoolDeleteParams) SetTimeout ¶
func (o *PoolDeleteParams) SetTimeout(timeout *int32)
SetTimeout adds the timeout to the pool delete params
func (*PoolDeleteParams) WithAPIVersion ¶
func (o *PoolDeleteParams) WithAPIVersion(aPIVersion string) *PoolDeleteParams
WithAPIVersion adds the aPIVersion to the pool delete params
func (*PoolDeleteParams) WithClientRequestID ¶
func (o *PoolDeleteParams) WithClientRequestID(clientRequestID *string) *PoolDeleteParams
WithClientRequestID adds the clientRequestID to the pool delete params
func (*PoolDeleteParams) WithContext ¶
func (o *PoolDeleteParams) WithContext(ctx context.Context) *PoolDeleteParams
WithContext adds the context to the pool delete params
func (*PoolDeleteParams) WithIfMatch ¶
func (o *PoolDeleteParams) WithIfMatch(ifMatch *string) *PoolDeleteParams
WithIfMatch adds the ifMatch to the pool delete params
func (*PoolDeleteParams) WithIfModifiedSince ¶
func (o *PoolDeleteParams) WithIfModifiedSince(ifModifiedSince *string) *PoolDeleteParams
WithIfModifiedSince adds the ifModifiedSince to the pool delete params
func (*PoolDeleteParams) WithIfNoneMatch ¶
func (o *PoolDeleteParams) WithIfNoneMatch(ifNoneMatch *string) *PoolDeleteParams
WithIfNoneMatch adds the ifNoneMatch to the pool delete params
func (*PoolDeleteParams) WithIfUnmodifiedSince ¶
func (o *PoolDeleteParams) WithIfUnmodifiedSince(ifUnmodifiedSince *string) *PoolDeleteParams
WithIfUnmodifiedSince adds the ifUnmodifiedSince to the pool delete params
func (*PoolDeleteParams) WithOcpDate ¶
func (o *PoolDeleteParams) WithOcpDate(ocpDate *string) *PoolDeleteParams
WithOcpDate adds the ocpDate to the pool delete params
func (*PoolDeleteParams) WithPoolID ¶
func (o *PoolDeleteParams) WithPoolID(poolID string) *PoolDeleteParams
WithPoolID adds the poolID to the pool delete params
func (*PoolDeleteParams) WithRequestTimeout ¶
func (o *PoolDeleteParams) WithRequestTimeout(timeout time.Duration) *PoolDeleteParams
WithRequestTimeout adds the timeout to the pool delete params
func (*PoolDeleteParams) WithReturnClientRequestID ¶
func (o *PoolDeleteParams) WithReturnClientRequestID(returnClientRequestID *bool) *PoolDeleteParams
WithReturnClientRequestID adds the returnClientRequestID to the pool delete params
func (*PoolDeleteParams) WithTimeout ¶
func (o *PoolDeleteParams) WithTimeout(timeout *int32) *PoolDeleteParams
WithTimeout adds the timeout to the pool delete params
func (*PoolDeleteParams) WriteToRequest ¶
func (o *PoolDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PoolDeleteReader ¶
type PoolDeleteReader struct {
// contains filtered or unexported fields
}
PoolDeleteReader is a Reader for the PoolDelete structure.
func (*PoolDeleteReader) ReadResponse ¶
func (o *PoolDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PoolDisableAutoScaleDefault ¶
type PoolDisableAutoScaleDefault struct { Payload *models.BatchError // contains filtered or unexported fields }
PoolDisableAutoScaleDefault handles this case with default header values.
The error from the Batch service.
func NewPoolDisableAutoScaleDefault ¶
func NewPoolDisableAutoScaleDefault(code int) *PoolDisableAutoScaleDefault
NewPoolDisableAutoScaleDefault creates a PoolDisableAutoScaleDefault with default headers values
func (*PoolDisableAutoScaleDefault) Code ¶
func (o *PoolDisableAutoScaleDefault) Code() int
Code gets the status code for the pool disable auto scale default response
func (*PoolDisableAutoScaleDefault) Error ¶
func (o *PoolDisableAutoScaleDefault) Error() string
type PoolDisableAutoScaleOK ¶
type PoolDisableAutoScaleOK 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 }
PoolDisableAutoScaleOK handles this case with default header values.
The request to the Batch service was successful.
func NewPoolDisableAutoScaleOK ¶
func NewPoolDisableAutoScaleOK() *PoolDisableAutoScaleOK
NewPoolDisableAutoScaleOK creates a PoolDisableAutoScaleOK with default headers values
func (*PoolDisableAutoScaleOK) Error ¶
func (o *PoolDisableAutoScaleOK) Error() string
type PoolDisableAutoScaleParams ¶
type PoolDisableAutoScaleParams 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 /*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 on which to disable automatic scaling. */ 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 }
PoolDisableAutoScaleParams contains all the parameters to send to the API endpoint for the pool disable auto scale operation typically these are written to a http.Request
func NewPoolDisableAutoScaleParams ¶
func NewPoolDisableAutoScaleParams() *PoolDisableAutoScaleParams
NewPoolDisableAutoScaleParams creates a new PoolDisableAutoScaleParams object with the default values initialized.
func NewPoolDisableAutoScaleParamsWithContext ¶
func NewPoolDisableAutoScaleParamsWithContext(ctx context.Context) *PoolDisableAutoScaleParams
NewPoolDisableAutoScaleParamsWithContext creates a new PoolDisableAutoScaleParams object with the default values initialized, and the ability to set a context for a request
func NewPoolDisableAutoScaleParamsWithTimeout ¶
func NewPoolDisableAutoScaleParamsWithTimeout(timeout time.Duration) *PoolDisableAutoScaleParams
NewPoolDisableAutoScaleParamsWithTimeout creates a new PoolDisableAutoScaleParams object with the default values initialized, and the ability to set a timeout on a request
func (*PoolDisableAutoScaleParams) SetAPIVersion ¶
func (o *PoolDisableAutoScaleParams) SetAPIVersion(aPIVersion string)
SetAPIVersion adds the apiVersion to the pool disable auto scale params
func (*PoolDisableAutoScaleParams) SetClientRequestID ¶
func (o *PoolDisableAutoScaleParams) SetClientRequestID(clientRequestID *string)
SetClientRequestID adds the clientRequestId to the pool disable auto scale params
func (*PoolDisableAutoScaleParams) SetContext ¶
func (o *PoolDisableAutoScaleParams) SetContext(ctx context.Context)
SetContext adds the context to the pool disable auto scale params
func (*PoolDisableAutoScaleParams) SetOcpDate ¶
func (o *PoolDisableAutoScaleParams) SetOcpDate(ocpDate *string)
SetOcpDate adds the ocpDate to the pool disable auto scale params
func (*PoolDisableAutoScaleParams) SetPoolID ¶
func (o *PoolDisableAutoScaleParams) SetPoolID(poolID string)
SetPoolID adds the poolId to the pool disable auto scale params
func (*PoolDisableAutoScaleParams) SetRequestTimeout ¶
func (o *PoolDisableAutoScaleParams) SetRequestTimeout(timeout time.Duration)
SetRequestTimeout adds the timeout to the pool disable auto scale params
func (*PoolDisableAutoScaleParams) SetReturnClientRequestID ¶
func (o *PoolDisableAutoScaleParams) SetReturnClientRequestID(returnClientRequestID *bool)
SetReturnClientRequestID adds the returnClientRequestId to the pool disable auto scale params
func (*PoolDisableAutoScaleParams) SetTimeout ¶
func (o *PoolDisableAutoScaleParams) SetTimeout(timeout *int32)
SetTimeout adds the timeout to the pool disable auto scale params
func (*PoolDisableAutoScaleParams) WithAPIVersion ¶
func (o *PoolDisableAutoScaleParams) WithAPIVersion(aPIVersion string) *PoolDisableAutoScaleParams
WithAPIVersion adds the aPIVersion to the pool disable auto scale params
func (*PoolDisableAutoScaleParams) WithClientRequestID ¶
func (o *PoolDisableAutoScaleParams) WithClientRequestID(clientRequestID *string) *PoolDisableAutoScaleParams
WithClientRequestID adds the clientRequestID to the pool disable auto scale params
func (*PoolDisableAutoScaleParams) WithContext ¶
func (o *PoolDisableAutoScaleParams) WithContext(ctx context.Context) *PoolDisableAutoScaleParams
WithContext adds the context to the pool disable auto scale params
func (*PoolDisableAutoScaleParams) WithOcpDate ¶
func (o *PoolDisableAutoScaleParams) WithOcpDate(ocpDate *string) *PoolDisableAutoScaleParams
WithOcpDate adds the ocpDate to the pool disable auto scale params
func (*PoolDisableAutoScaleParams) WithPoolID ¶
func (o *PoolDisableAutoScaleParams) WithPoolID(poolID string) *PoolDisableAutoScaleParams
WithPoolID adds the poolID to the pool disable auto scale params
func (*PoolDisableAutoScaleParams) WithRequestTimeout ¶
func (o *PoolDisableAutoScaleParams) WithRequestTimeout(timeout time.Duration) *PoolDisableAutoScaleParams
WithRequestTimeout adds the timeout to the pool disable auto scale params
func (*PoolDisableAutoScaleParams) WithReturnClientRequestID ¶
func (o *PoolDisableAutoScaleParams) WithReturnClientRequestID(returnClientRequestID *bool) *PoolDisableAutoScaleParams
WithReturnClientRequestID adds the returnClientRequestID to the pool disable auto scale params
func (*PoolDisableAutoScaleParams) WithTimeout ¶
func (o *PoolDisableAutoScaleParams) WithTimeout(timeout *int32) *PoolDisableAutoScaleParams
WithTimeout adds the timeout to the pool disable auto scale params
func (*PoolDisableAutoScaleParams) WriteToRequest ¶
func (o *PoolDisableAutoScaleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PoolDisableAutoScaleReader ¶
type PoolDisableAutoScaleReader struct {
// contains filtered or unexported fields
}
PoolDisableAutoScaleReader is a Reader for the PoolDisableAutoScale structure.
func (*PoolDisableAutoScaleReader) ReadResponse ¶
func (o *PoolDisableAutoScaleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PoolEnableAutoScaleDefault ¶
type PoolEnableAutoScaleDefault struct { Payload *models.BatchError // contains filtered or unexported fields }
PoolEnableAutoScaleDefault handles this case with default header values.
The error from the Batch service.
func NewPoolEnableAutoScaleDefault ¶
func NewPoolEnableAutoScaleDefault(code int) *PoolEnableAutoScaleDefault
NewPoolEnableAutoScaleDefault creates a PoolEnableAutoScaleDefault with default headers values
func (*PoolEnableAutoScaleDefault) Code ¶
func (o *PoolEnableAutoScaleDefault) Code() int
Code gets the status code for the pool enable auto scale default response
func (*PoolEnableAutoScaleDefault) Error ¶
func (o *PoolEnableAutoScaleDefault) Error() string
type PoolEnableAutoScaleOK ¶
type PoolEnableAutoScaleOK 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 }
PoolEnableAutoScaleOK handles this case with default header values.
The request to the Batch service was successful.
func NewPoolEnableAutoScaleOK ¶
func NewPoolEnableAutoScaleOK() *PoolEnableAutoScaleOK
NewPoolEnableAutoScaleOK creates a PoolEnableAutoScaleOK with default headers values
func (*PoolEnableAutoScaleOK) Error ¶
func (o *PoolEnableAutoScaleOK) Error() string
type PoolEnableAutoScaleParams ¶
type PoolEnableAutoScaleParams 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 /*OcpDate The time the request was issued. If not specified, this header will be automatically populated with the current system clock time. */ OcpDate *string /*PoolEnableAutoScaleParameter The parameters for the request. */ PoolEnableAutoScaleParameter *models.PoolEnableAutoScaleParameter /*PoolID The ID of the pool on which to enable automatic scaling. */ 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 }
PoolEnableAutoScaleParams contains all the parameters to send to the API endpoint for the pool enable auto scale operation typically these are written to a http.Request
func NewPoolEnableAutoScaleParams ¶
func NewPoolEnableAutoScaleParams() *PoolEnableAutoScaleParams
NewPoolEnableAutoScaleParams creates a new PoolEnableAutoScaleParams object with the default values initialized.
func NewPoolEnableAutoScaleParamsWithContext ¶
func NewPoolEnableAutoScaleParamsWithContext(ctx context.Context) *PoolEnableAutoScaleParams
NewPoolEnableAutoScaleParamsWithContext creates a new PoolEnableAutoScaleParams object with the default values initialized, and the ability to set a context for a request
func NewPoolEnableAutoScaleParamsWithTimeout ¶
func NewPoolEnableAutoScaleParamsWithTimeout(timeout time.Duration) *PoolEnableAutoScaleParams
NewPoolEnableAutoScaleParamsWithTimeout creates a new PoolEnableAutoScaleParams object with the default values initialized, and the ability to set a timeout on a request
func (*PoolEnableAutoScaleParams) SetAPIVersion ¶
func (o *PoolEnableAutoScaleParams) SetAPIVersion(aPIVersion string)
SetAPIVersion adds the apiVersion to the pool enable auto scale params
func (*PoolEnableAutoScaleParams) SetClientRequestID ¶
func (o *PoolEnableAutoScaleParams) SetClientRequestID(clientRequestID *string)
SetClientRequestID adds the clientRequestId to the pool enable auto scale params
func (*PoolEnableAutoScaleParams) SetContext ¶
func (o *PoolEnableAutoScaleParams) SetContext(ctx context.Context)
SetContext adds the context to the pool enable auto scale params
func (*PoolEnableAutoScaleParams) SetIfMatch ¶
func (o *PoolEnableAutoScaleParams) SetIfMatch(ifMatch *string)
SetIfMatch adds the ifMatch to the pool enable auto scale params
func (*PoolEnableAutoScaleParams) SetIfModifiedSince ¶
func (o *PoolEnableAutoScaleParams) SetIfModifiedSince(ifModifiedSince *string)
SetIfModifiedSince adds the ifModifiedSince to the pool enable auto scale params
func (*PoolEnableAutoScaleParams) SetIfNoneMatch ¶
func (o *PoolEnableAutoScaleParams) SetIfNoneMatch(ifNoneMatch *string)
SetIfNoneMatch adds the ifNoneMatch to the pool enable auto scale params
func (*PoolEnableAutoScaleParams) SetIfUnmodifiedSince ¶
func (o *PoolEnableAutoScaleParams) SetIfUnmodifiedSince(ifUnmodifiedSince *string)
SetIfUnmodifiedSince adds the ifUnmodifiedSince to the pool enable auto scale params
func (*PoolEnableAutoScaleParams) SetOcpDate ¶
func (o *PoolEnableAutoScaleParams) SetOcpDate(ocpDate *string)
SetOcpDate adds the ocpDate to the pool enable auto scale params
func (*PoolEnableAutoScaleParams) SetPoolEnableAutoScaleParameter ¶
func (o *PoolEnableAutoScaleParams) SetPoolEnableAutoScaleParameter(poolEnableAutoScaleParameter *models.PoolEnableAutoScaleParameter)
SetPoolEnableAutoScaleParameter adds the poolEnableAutoScaleParameter to the pool enable auto scale params
func (*PoolEnableAutoScaleParams) SetPoolID ¶
func (o *PoolEnableAutoScaleParams) SetPoolID(poolID string)
SetPoolID adds the poolId to the pool enable auto scale params
func (*PoolEnableAutoScaleParams) SetRequestTimeout ¶
func (o *PoolEnableAutoScaleParams) SetRequestTimeout(timeout time.Duration)
SetRequestTimeout adds the timeout to the pool enable auto scale params
func (*PoolEnableAutoScaleParams) SetReturnClientRequestID ¶
func (o *PoolEnableAutoScaleParams) SetReturnClientRequestID(returnClientRequestID *bool)
SetReturnClientRequestID adds the returnClientRequestId to the pool enable auto scale params
func (*PoolEnableAutoScaleParams) SetTimeout ¶
func (o *PoolEnableAutoScaleParams) SetTimeout(timeout *int32)
SetTimeout adds the timeout to the pool enable auto scale params
func (*PoolEnableAutoScaleParams) WithAPIVersion ¶
func (o *PoolEnableAutoScaleParams) WithAPIVersion(aPIVersion string) *PoolEnableAutoScaleParams
WithAPIVersion adds the aPIVersion to the pool enable auto scale params
func (*PoolEnableAutoScaleParams) WithClientRequestID ¶
func (o *PoolEnableAutoScaleParams) WithClientRequestID(clientRequestID *string) *PoolEnableAutoScaleParams
WithClientRequestID adds the clientRequestID to the pool enable auto scale params
func (*PoolEnableAutoScaleParams) WithContext ¶
func (o *PoolEnableAutoScaleParams) WithContext(ctx context.Context) *PoolEnableAutoScaleParams
WithContext adds the context to the pool enable auto scale params
func (*PoolEnableAutoScaleParams) WithIfMatch ¶
func (o *PoolEnableAutoScaleParams) WithIfMatch(ifMatch *string) *PoolEnableAutoScaleParams
WithIfMatch adds the ifMatch to the pool enable auto scale params
func (*PoolEnableAutoScaleParams) WithIfModifiedSince ¶
func (o *PoolEnableAutoScaleParams) WithIfModifiedSince(ifModifiedSince *string) *PoolEnableAutoScaleParams
WithIfModifiedSince adds the ifModifiedSince to the pool enable auto scale params
func (*PoolEnableAutoScaleParams) WithIfNoneMatch ¶
func (o *PoolEnableAutoScaleParams) WithIfNoneMatch(ifNoneMatch *string) *PoolEnableAutoScaleParams
WithIfNoneMatch adds the ifNoneMatch to the pool enable auto scale params
func (*PoolEnableAutoScaleParams) WithIfUnmodifiedSince ¶
func (o *PoolEnableAutoScaleParams) WithIfUnmodifiedSince(ifUnmodifiedSince *string) *PoolEnableAutoScaleParams
WithIfUnmodifiedSince adds the ifUnmodifiedSince to the pool enable auto scale params
func (*PoolEnableAutoScaleParams) WithOcpDate ¶
func (o *PoolEnableAutoScaleParams) WithOcpDate(ocpDate *string) *PoolEnableAutoScaleParams
WithOcpDate adds the ocpDate to the pool enable auto scale params
func (*PoolEnableAutoScaleParams) WithPoolEnableAutoScaleParameter ¶
func (o *PoolEnableAutoScaleParams) WithPoolEnableAutoScaleParameter(poolEnableAutoScaleParameter *models.PoolEnableAutoScaleParameter) *PoolEnableAutoScaleParams
WithPoolEnableAutoScaleParameter adds the poolEnableAutoScaleParameter to the pool enable auto scale params
func (*PoolEnableAutoScaleParams) WithPoolID ¶
func (o *PoolEnableAutoScaleParams) WithPoolID(poolID string) *PoolEnableAutoScaleParams
WithPoolID adds the poolID to the pool enable auto scale params
func (*PoolEnableAutoScaleParams) WithRequestTimeout ¶
func (o *PoolEnableAutoScaleParams) WithRequestTimeout(timeout time.Duration) *PoolEnableAutoScaleParams
WithRequestTimeout adds the timeout to the pool enable auto scale params
func (*PoolEnableAutoScaleParams) WithReturnClientRequestID ¶
func (o *PoolEnableAutoScaleParams) WithReturnClientRequestID(returnClientRequestID *bool) *PoolEnableAutoScaleParams
WithReturnClientRequestID adds the returnClientRequestID to the pool enable auto scale params
func (*PoolEnableAutoScaleParams) WithTimeout ¶
func (o *PoolEnableAutoScaleParams) WithTimeout(timeout *int32) *PoolEnableAutoScaleParams
WithTimeout adds the timeout to the pool enable auto scale params
func (*PoolEnableAutoScaleParams) WriteToRequest ¶
func (o *PoolEnableAutoScaleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PoolEnableAutoScaleReader ¶
type PoolEnableAutoScaleReader struct {
// contains filtered or unexported fields
}
PoolEnableAutoScaleReader is a Reader for the PoolEnableAutoScale structure.
func (*PoolEnableAutoScaleReader) ReadResponse ¶
func (o *PoolEnableAutoScaleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PoolEvaluateAutoScaleDefault ¶
type PoolEvaluateAutoScaleDefault struct { Payload *models.BatchError // contains filtered or unexported fields }
PoolEvaluateAutoScaleDefault handles this case with default header values.
The error from the Batch service.
func NewPoolEvaluateAutoScaleDefault ¶
func NewPoolEvaluateAutoScaleDefault(code int) *PoolEvaluateAutoScaleDefault
NewPoolEvaluateAutoScaleDefault creates a PoolEvaluateAutoScaleDefault with default headers values
func (*PoolEvaluateAutoScaleDefault) Code ¶
func (o *PoolEvaluateAutoScaleDefault) Code() int
Code gets the status code for the pool evaluate auto scale default response
func (*PoolEvaluateAutoScaleDefault) Error ¶
func (o *PoolEvaluateAutoScaleDefault) Error() string
type PoolEvaluateAutoScaleOK ¶
type PoolEvaluateAutoScaleOK 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 Payload *models.AutoScaleRun }
PoolEvaluateAutoScaleOK handles this case with default header values.
A response containing the results of the autoscale evaluation.
func NewPoolEvaluateAutoScaleOK ¶
func NewPoolEvaluateAutoScaleOK() *PoolEvaluateAutoScaleOK
NewPoolEvaluateAutoScaleOK creates a PoolEvaluateAutoScaleOK with default headers values
func (*PoolEvaluateAutoScaleOK) Error ¶
func (o *PoolEvaluateAutoScaleOK) Error() string
type PoolEvaluateAutoScaleParams ¶
type PoolEvaluateAutoScaleParams 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 /*OcpDate The time the request was issued. If not specified, this header will be automatically populated with the current system clock time. */ OcpDate *string /*PoolEvaluateAutoScaleParameter The parameters for the request. */ PoolEvaluateAutoScaleParameter *models.PoolEvaluateAutoScaleParameter /*PoolID The ID of the pool on which to evaluate the automatic scaling formula. */ 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 }
PoolEvaluateAutoScaleParams contains all the parameters to send to the API endpoint for the pool evaluate auto scale operation typically these are written to a http.Request
func NewPoolEvaluateAutoScaleParams ¶
func NewPoolEvaluateAutoScaleParams() *PoolEvaluateAutoScaleParams
NewPoolEvaluateAutoScaleParams creates a new PoolEvaluateAutoScaleParams object with the default values initialized.
func NewPoolEvaluateAutoScaleParamsWithContext ¶
func NewPoolEvaluateAutoScaleParamsWithContext(ctx context.Context) *PoolEvaluateAutoScaleParams
NewPoolEvaluateAutoScaleParamsWithContext creates a new PoolEvaluateAutoScaleParams object with the default values initialized, and the ability to set a context for a request
func NewPoolEvaluateAutoScaleParamsWithTimeout ¶
func NewPoolEvaluateAutoScaleParamsWithTimeout(timeout time.Duration) *PoolEvaluateAutoScaleParams
NewPoolEvaluateAutoScaleParamsWithTimeout creates a new PoolEvaluateAutoScaleParams object with the default values initialized, and the ability to set a timeout on a request
func (*PoolEvaluateAutoScaleParams) SetAPIVersion ¶
func (o *PoolEvaluateAutoScaleParams) SetAPIVersion(aPIVersion string)
SetAPIVersion adds the apiVersion to the pool evaluate auto scale params
func (*PoolEvaluateAutoScaleParams) SetClientRequestID ¶
func (o *PoolEvaluateAutoScaleParams) SetClientRequestID(clientRequestID *string)
SetClientRequestID adds the clientRequestId to the pool evaluate auto scale params
func (*PoolEvaluateAutoScaleParams) SetContext ¶
func (o *PoolEvaluateAutoScaleParams) SetContext(ctx context.Context)
SetContext adds the context to the pool evaluate auto scale params
func (*PoolEvaluateAutoScaleParams) SetOcpDate ¶
func (o *PoolEvaluateAutoScaleParams) SetOcpDate(ocpDate *string)
SetOcpDate adds the ocpDate to the pool evaluate auto scale params
func (*PoolEvaluateAutoScaleParams) SetPoolEvaluateAutoScaleParameter ¶
func (o *PoolEvaluateAutoScaleParams) SetPoolEvaluateAutoScaleParameter(poolEvaluateAutoScaleParameter *models.PoolEvaluateAutoScaleParameter)
SetPoolEvaluateAutoScaleParameter adds the poolEvaluateAutoScaleParameter to the pool evaluate auto scale params
func (*PoolEvaluateAutoScaleParams) SetPoolID ¶
func (o *PoolEvaluateAutoScaleParams) SetPoolID(poolID string)
SetPoolID adds the poolId to the pool evaluate auto scale params
func (*PoolEvaluateAutoScaleParams) SetRequestTimeout ¶
func (o *PoolEvaluateAutoScaleParams) SetRequestTimeout(timeout time.Duration)
SetRequestTimeout adds the timeout to the pool evaluate auto scale params
func (*PoolEvaluateAutoScaleParams) SetReturnClientRequestID ¶
func (o *PoolEvaluateAutoScaleParams) SetReturnClientRequestID(returnClientRequestID *bool)
SetReturnClientRequestID adds the returnClientRequestId to the pool evaluate auto scale params
func (*PoolEvaluateAutoScaleParams) SetTimeout ¶
func (o *PoolEvaluateAutoScaleParams) SetTimeout(timeout *int32)
SetTimeout adds the timeout to the pool evaluate auto scale params
func (*PoolEvaluateAutoScaleParams) WithAPIVersion ¶
func (o *PoolEvaluateAutoScaleParams) WithAPIVersion(aPIVersion string) *PoolEvaluateAutoScaleParams
WithAPIVersion adds the aPIVersion to the pool evaluate auto scale params
func (*PoolEvaluateAutoScaleParams) WithClientRequestID ¶
func (o *PoolEvaluateAutoScaleParams) WithClientRequestID(clientRequestID *string) *PoolEvaluateAutoScaleParams
WithClientRequestID adds the clientRequestID to the pool evaluate auto scale params
func (*PoolEvaluateAutoScaleParams) WithContext ¶
func (o *PoolEvaluateAutoScaleParams) WithContext(ctx context.Context) *PoolEvaluateAutoScaleParams
WithContext adds the context to the pool evaluate auto scale params
func (*PoolEvaluateAutoScaleParams) WithOcpDate ¶
func (o *PoolEvaluateAutoScaleParams) WithOcpDate(ocpDate *string) *PoolEvaluateAutoScaleParams
WithOcpDate adds the ocpDate to the pool evaluate auto scale params
func (*PoolEvaluateAutoScaleParams) WithPoolEvaluateAutoScaleParameter ¶
func (o *PoolEvaluateAutoScaleParams) WithPoolEvaluateAutoScaleParameter(poolEvaluateAutoScaleParameter *models.PoolEvaluateAutoScaleParameter) *PoolEvaluateAutoScaleParams
WithPoolEvaluateAutoScaleParameter adds the poolEvaluateAutoScaleParameter to the pool evaluate auto scale params
func (*PoolEvaluateAutoScaleParams) WithPoolID ¶
func (o *PoolEvaluateAutoScaleParams) WithPoolID(poolID string) *PoolEvaluateAutoScaleParams
WithPoolID adds the poolID to the pool evaluate auto scale params
func (*PoolEvaluateAutoScaleParams) WithRequestTimeout ¶
func (o *PoolEvaluateAutoScaleParams) WithRequestTimeout(timeout time.Duration) *PoolEvaluateAutoScaleParams
WithRequestTimeout adds the timeout to the pool evaluate auto scale params
func (*PoolEvaluateAutoScaleParams) WithReturnClientRequestID ¶
func (o *PoolEvaluateAutoScaleParams) WithReturnClientRequestID(returnClientRequestID *bool) *PoolEvaluateAutoScaleParams
WithReturnClientRequestID adds the returnClientRequestID to the pool evaluate auto scale params
func (*PoolEvaluateAutoScaleParams) WithTimeout ¶
func (o *PoolEvaluateAutoScaleParams) WithTimeout(timeout *int32) *PoolEvaluateAutoScaleParams
WithTimeout adds the timeout to the pool evaluate auto scale params
func (*PoolEvaluateAutoScaleParams) WriteToRequest ¶
func (o *PoolEvaluateAutoScaleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PoolEvaluateAutoScaleReader ¶
type PoolEvaluateAutoScaleReader struct {
// contains filtered or unexported fields
}
PoolEvaluateAutoScaleReader is a Reader for the PoolEvaluateAutoScale structure.
func (*PoolEvaluateAutoScaleReader) ReadResponse ¶
func (o *PoolEvaluateAutoScaleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PoolExistsDefault ¶
type PoolExistsDefault struct { Payload *models.BatchError // contains filtered or unexported fields }
PoolExistsDefault handles this case with default header values.
The error from the Batch service.
func NewPoolExistsDefault ¶
func NewPoolExistsDefault(code int) *PoolExistsDefault
NewPoolExistsDefault creates a PoolExistsDefault with default headers values
func (*PoolExistsDefault) Code ¶
func (o *PoolExistsDefault) Code() int
Code gets the status code for the pool exists default response
func (*PoolExistsDefault) Error ¶
func (o *PoolExistsDefault) Error() string
type PoolExistsNotFound ¶
type PoolExistsNotFound struct { }
PoolExistsNotFound handles this case with default header values.
The pool does not exist.
func NewPoolExistsNotFound ¶
func NewPoolExistsNotFound() *PoolExistsNotFound
NewPoolExistsNotFound creates a PoolExistsNotFound with default headers values
func (*PoolExistsNotFound) Error ¶
func (o *PoolExistsNotFound) Error() string
type PoolExistsOK ¶
type PoolExistsOK 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 }
PoolExistsOK handles this case with default header values.
A response containing headers related to the pool, if it exists.
func NewPoolExistsOK ¶
func NewPoolExistsOK() *PoolExistsOK
NewPoolExistsOK creates a PoolExistsOK with default headers values
func (*PoolExistsOK) Error ¶
func (o *PoolExistsOK) Error() string
type PoolExistsParams ¶
type PoolExistsParams 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 /*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 to get. */ 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 }
PoolExistsParams contains all the parameters to send to the API endpoint for the pool exists operation typically these are written to a http.Request
func NewPoolExistsParams ¶
func NewPoolExistsParams() *PoolExistsParams
NewPoolExistsParams creates a new PoolExistsParams object with the default values initialized.
func NewPoolExistsParamsWithContext ¶
func NewPoolExistsParamsWithContext(ctx context.Context) *PoolExistsParams
NewPoolExistsParamsWithContext creates a new PoolExistsParams object with the default values initialized, and the ability to set a context for a request
func NewPoolExistsParamsWithTimeout ¶
func NewPoolExistsParamsWithTimeout(timeout time.Duration) *PoolExistsParams
NewPoolExistsParamsWithTimeout creates a new PoolExistsParams object with the default values initialized, and the ability to set a timeout on a request
func (*PoolExistsParams) SetAPIVersion ¶
func (o *PoolExistsParams) SetAPIVersion(aPIVersion string)
SetAPIVersion adds the apiVersion to the pool exists params
func (*PoolExistsParams) SetClientRequestID ¶
func (o *PoolExistsParams) SetClientRequestID(clientRequestID *string)
SetClientRequestID adds the clientRequestId to the pool exists params
func (*PoolExistsParams) SetContext ¶
func (o *PoolExistsParams) SetContext(ctx context.Context)
SetContext adds the context to the pool exists params
func (*PoolExistsParams) SetIfMatch ¶
func (o *PoolExistsParams) SetIfMatch(ifMatch *string)
SetIfMatch adds the ifMatch to the pool exists params
func (*PoolExistsParams) SetIfModifiedSince ¶
func (o *PoolExistsParams) SetIfModifiedSince(ifModifiedSince *string)
SetIfModifiedSince adds the ifModifiedSince to the pool exists params
func (*PoolExistsParams) SetIfNoneMatch ¶
func (o *PoolExistsParams) SetIfNoneMatch(ifNoneMatch *string)
SetIfNoneMatch adds the ifNoneMatch to the pool exists params
func (*PoolExistsParams) SetIfUnmodifiedSince ¶
func (o *PoolExistsParams) SetIfUnmodifiedSince(ifUnmodifiedSince *string)
SetIfUnmodifiedSince adds the ifUnmodifiedSince to the pool exists params
func (*PoolExistsParams) SetOcpDate ¶
func (o *PoolExistsParams) SetOcpDate(ocpDate *string)
SetOcpDate adds the ocpDate to the pool exists params
func (*PoolExistsParams) SetPoolID ¶
func (o *PoolExistsParams) SetPoolID(poolID string)
SetPoolID adds the poolId to the pool exists params
func (*PoolExistsParams) SetRequestTimeout ¶
func (o *PoolExistsParams) SetRequestTimeout(timeout time.Duration)
SetRequestTimeout adds the timeout to the pool exists params
func (*PoolExistsParams) SetReturnClientRequestID ¶
func (o *PoolExistsParams) SetReturnClientRequestID(returnClientRequestID *bool)
SetReturnClientRequestID adds the returnClientRequestId to the pool exists params
func (*PoolExistsParams) SetTimeout ¶
func (o *PoolExistsParams) SetTimeout(timeout *int32)
SetTimeout adds the timeout to the pool exists params
func (*PoolExistsParams) WithAPIVersion ¶
func (o *PoolExistsParams) WithAPIVersion(aPIVersion string) *PoolExistsParams
WithAPIVersion adds the aPIVersion to the pool exists params
func (*PoolExistsParams) WithClientRequestID ¶
func (o *PoolExistsParams) WithClientRequestID(clientRequestID *string) *PoolExistsParams
WithClientRequestID adds the clientRequestID to the pool exists params
func (*PoolExistsParams) WithContext ¶
func (o *PoolExistsParams) WithContext(ctx context.Context) *PoolExistsParams
WithContext adds the context to the pool exists params
func (*PoolExistsParams) WithIfMatch ¶
func (o *PoolExistsParams) WithIfMatch(ifMatch *string) *PoolExistsParams
WithIfMatch adds the ifMatch to the pool exists params
func (*PoolExistsParams) WithIfModifiedSince ¶
func (o *PoolExistsParams) WithIfModifiedSince(ifModifiedSince *string) *PoolExistsParams
WithIfModifiedSince adds the ifModifiedSince to the pool exists params
func (*PoolExistsParams) WithIfNoneMatch ¶
func (o *PoolExistsParams) WithIfNoneMatch(ifNoneMatch *string) *PoolExistsParams
WithIfNoneMatch adds the ifNoneMatch to the pool exists params
func (*PoolExistsParams) WithIfUnmodifiedSince ¶
func (o *PoolExistsParams) WithIfUnmodifiedSince(ifUnmodifiedSince *string) *PoolExistsParams
WithIfUnmodifiedSince adds the ifUnmodifiedSince to the pool exists params
func (*PoolExistsParams) WithOcpDate ¶
func (o *PoolExistsParams) WithOcpDate(ocpDate *string) *PoolExistsParams
WithOcpDate adds the ocpDate to the pool exists params
func (*PoolExistsParams) WithPoolID ¶
func (o *PoolExistsParams) WithPoolID(poolID string) *PoolExistsParams
WithPoolID adds the poolID to the pool exists params
func (*PoolExistsParams) WithRequestTimeout ¶
func (o *PoolExistsParams) WithRequestTimeout(timeout time.Duration) *PoolExistsParams
WithRequestTimeout adds the timeout to the pool exists params
func (*PoolExistsParams) WithReturnClientRequestID ¶
func (o *PoolExistsParams) WithReturnClientRequestID(returnClientRequestID *bool) *PoolExistsParams
WithReturnClientRequestID adds the returnClientRequestID to the pool exists params
func (*PoolExistsParams) WithTimeout ¶
func (o *PoolExistsParams) WithTimeout(timeout *int32) *PoolExistsParams
WithTimeout adds the timeout to the pool exists params
func (*PoolExistsParams) WriteToRequest ¶
func (o *PoolExistsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PoolExistsReader ¶
type PoolExistsReader struct {
// contains filtered or unexported fields
}
PoolExistsReader is a Reader for the PoolExists structure.
func (*PoolExistsReader) ReadResponse ¶
func (o *PoolExistsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PoolGetAllPoolsLifetimeStatisticsDefault ¶
type PoolGetAllPoolsLifetimeStatisticsDefault struct { Payload *models.BatchError // contains filtered or unexported fields }
PoolGetAllPoolsLifetimeStatisticsDefault handles this case with default header values.
The error from the Batch service.
func NewPoolGetAllPoolsLifetimeStatisticsDefault ¶
func NewPoolGetAllPoolsLifetimeStatisticsDefault(code int) *PoolGetAllPoolsLifetimeStatisticsDefault
NewPoolGetAllPoolsLifetimeStatisticsDefault creates a PoolGetAllPoolsLifetimeStatisticsDefault with default headers values
func (*PoolGetAllPoolsLifetimeStatisticsDefault) Code ¶
func (o *PoolGetAllPoolsLifetimeStatisticsDefault) Code() int
Code gets the status code for the pool get all pools lifetime statistics default response
func (*PoolGetAllPoolsLifetimeStatisticsDefault) Error ¶
func (o *PoolGetAllPoolsLifetimeStatisticsDefault) Error() string
type PoolGetAllPoolsLifetimeStatisticsOK ¶
type PoolGetAllPoolsLifetimeStatisticsOK 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.PoolStatistics }
PoolGetAllPoolsLifetimeStatisticsOK handles this case with default header values.
A response containing the pool statistics for the lifetime of the Batch account.
func NewPoolGetAllPoolsLifetimeStatisticsOK ¶
func NewPoolGetAllPoolsLifetimeStatisticsOK() *PoolGetAllPoolsLifetimeStatisticsOK
NewPoolGetAllPoolsLifetimeStatisticsOK creates a PoolGetAllPoolsLifetimeStatisticsOK with default headers values
func (*PoolGetAllPoolsLifetimeStatisticsOK) Error ¶
func (o *PoolGetAllPoolsLifetimeStatisticsOK) Error() string
type PoolGetAllPoolsLifetimeStatisticsParams ¶
type PoolGetAllPoolsLifetimeStatisticsParams 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 /*OcpDate The time the request was issued. If not specified, this header will be automatically populated with the current system clock time. */ OcpDate *string /*ReturnClientRequestID Whether the server should return the client-request-id in the response. */ ReturnClientRequestID *bool /*Timeout The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. */ Timeout *int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PoolGetAllPoolsLifetimeStatisticsParams contains all the parameters to send to the API endpoint for the pool get all pools lifetime statistics operation typically these are written to a http.Request
func NewPoolGetAllPoolsLifetimeStatisticsParams ¶
func NewPoolGetAllPoolsLifetimeStatisticsParams() *PoolGetAllPoolsLifetimeStatisticsParams
NewPoolGetAllPoolsLifetimeStatisticsParams creates a new PoolGetAllPoolsLifetimeStatisticsParams object with the default values initialized.
func NewPoolGetAllPoolsLifetimeStatisticsParamsWithContext ¶
func NewPoolGetAllPoolsLifetimeStatisticsParamsWithContext(ctx context.Context) *PoolGetAllPoolsLifetimeStatisticsParams
NewPoolGetAllPoolsLifetimeStatisticsParamsWithContext creates a new PoolGetAllPoolsLifetimeStatisticsParams object with the default values initialized, and the ability to set a context for a request
func NewPoolGetAllPoolsLifetimeStatisticsParamsWithTimeout ¶
func NewPoolGetAllPoolsLifetimeStatisticsParamsWithTimeout(timeout time.Duration) *PoolGetAllPoolsLifetimeStatisticsParams
NewPoolGetAllPoolsLifetimeStatisticsParamsWithTimeout creates a new PoolGetAllPoolsLifetimeStatisticsParams object with the default values initialized, and the ability to set a timeout on a request
func (*PoolGetAllPoolsLifetimeStatisticsParams) SetAPIVersion ¶
func (o *PoolGetAllPoolsLifetimeStatisticsParams) SetAPIVersion(aPIVersion string)
SetAPIVersion adds the apiVersion to the pool get all pools lifetime statistics params
func (*PoolGetAllPoolsLifetimeStatisticsParams) SetClientRequestID ¶
func (o *PoolGetAllPoolsLifetimeStatisticsParams) SetClientRequestID(clientRequestID *string)
SetClientRequestID adds the clientRequestId to the pool get all pools lifetime statistics params
func (*PoolGetAllPoolsLifetimeStatisticsParams) SetContext ¶
func (o *PoolGetAllPoolsLifetimeStatisticsParams) SetContext(ctx context.Context)
SetContext adds the context to the pool get all pools lifetime statistics params
func (*PoolGetAllPoolsLifetimeStatisticsParams) SetOcpDate ¶
func (o *PoolGetAllPoolsLifetimeStatisticsParams) SetOcpDate(ocpDate *string)
SetOcpDate adds the ocpDate to the pool get all pools lifetime statistics params
func (*PoolGetAllPoolsLifetimeStatisticsParams) SetRequestTimeout ¶
func (o *PoolGetAllPoolsLifetimeStatisticsParams) SetRequestTimeout(timeout time.Duration)
SetRequestTimeout adds the timeout to the pool get all pools lifetime statistics params
func (*PoolGetAllPoolsLifetimeStatisticsParams) SetReturnClientRequestID ¶
func (o *PoolGetAllPoolsLifetimeStatisticsParams) SetReturnClientRequestID(returnClientRequestID *bool)
SetReturnClientRequestID adds the returnClientRequestId to the pool get all pools lifetime statistics params
func (*PoolGetAllPoolsLifetimeStatisticsParams) SetTimeout ¶
func (o *PoolGetAllPoolsLifetimeStatisticsParams) SetTimeout(timeout *int32)
SetTimeout adds the timeout to the pool get all pools lifetime statistics params
func (*PoolGetAllPoolsLifetimeStatisticsParams) WithAPIVersion ¶
func (o *PoolGetAllPoolsLifetimeStatisticsParams) WithAPIVersion(aPIVersion string) *PoolGetAllPoolsLifetimeStatisticsParams
WithAPIVersion adds the aPIVersion to the pool get all pools lifetime statistics params
func (*PoolGetAllPoolsLifetimeStatisticsParams) WithClientRequestID ¶
func (o *PoolGetAllPoolsLifetimeStatisticsParams) WithClientRequestID(clientRequestID *string) *PoolGetAllPoolsLifetimeStatisticsParams
WithClientRequestID adds the clientRequestID to the pool get all pools lifetime statistics params
func (*PoolGetAllPoolsLifetimeStatisticsParams) WithContext ¶
func (o *PoolGetAllPoolsLifetimeStatisticsParams) WithContext(ctx context.Context) *PoolGetAllPoolsLifetimeStatisticsParams
WithContext adds the context to the pool get all pools lifetime statistics params
func (*PoolGetAllPoolsLifetimeStatisticsParams) WithOcpDate ¶
func (o *PoolGetAllPoolsLifetimeStatisticsParams) WithOcpDate(ocpDate *string) *PoolGetAllPoolsLifetimeStatisticsParams
WithOcpDate adds the ocpDate to the pool get all pools lifetime statistics params
func (*PoolGetAllPoolsLifetimeStatisticsParams) WithRequestTimeout ¶
func (o *PoolGetAllPoolsLifetimeStatisticsParams) WithRequestTimeout(timeout time.Duration) *PoolGetAllPoolsLifetimeStatisticsParams
WithRequestTimeout adds the timeout to the pool get all pools lifetime statistics params
func (*PoolGetAllPoolsLifetimeStatisticsParams) WithReturnClientRequestID ¶
func (o *PoolGetAllPoolsLifetimeStatisticsParams) WithReturnClientRequestID(returnClientRequestID *bool) *PoolGetAllPoolsLifetimeStatisticsParams
WithReturnClientRequestID adds the returnClientRequestID to the pool get all pools lifetime statistics params
func (*PoolGetAllPoolsLifetimeStatisticsParams) WithTimeout ¶
func (o *PoolGetAllPoolsLifetimeStatisticsParams) WithTimeout(timeout *int32) *PoolGetAllPoolsLifetimeStatisticsParams
WithTimeout adds the timeout to the pool get all pools lifetime statistics params
func (*PoolGetAllPoolsLifetimeStatisticsParams) WriteToRequest ¶
func (o *PoolGetAllPoolsLifetimeStatisticsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PoolGetAllPoolsLifetimeStatisticsReader ¶
type PoolGetAllPoolsLifetimeStatisticsReader struct {
// contains filtered or unexported fields
}
PoolGetAllPoolsLifetimeStatisticsReader is a Reader for the PoolGetAllPoolsLifetimeStatistics structure.
func (*PoolGetAllPoolsLifetimeStatisticsReader) ReadResponse ¶
func (o *PoolGetAllPoolsLifetimeStatisticsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PoolGetDefault ¶
type PoolGetDefault struct { Payload *models.BatchError // contains filtered or unexported fields }
PoolGetDefault handles this case with default header values.
The error from the Batch service.
func NewPoolGetDefault ¶
func NewPoolGetDefault(code int) *PoolGetDefault
NewPoolGetDefault creates a PoolGetDefault with default headers values
func (*PoolGetDefault) Code ¶
func (o *PoolGetDefault) Code() int
Code gets the status code for the pool get default response
func (*PoolGetDefault) Error ¶
func (o *PoolGetDefault) Error() string
type PoolGetOK ¶
type PoolGetOK 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.CloudPool }
PoolGetOK handles this case with default header values.
A response containing the pool.
func NewPoolGetOK ¶
func NewPoolGetOK() *PoolGetOK
NewPoolGetOK creates a PoolGetOK with default headers values
type PoolGetParams ¶
type PoolGetParams struct { /*NrDollarExpand An OData $expand clause. */ DollarExpand *string /*NrDollarSelect An OData $select clause. */ DollarSelect *string /*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 /*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 to get. */ 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 }
PoolGetParams contains all the parameters to send to the API endpoint for the pool get operation typically these are written to a http.Request
func NewPoolGetParams ¶
func NewPoolGetParams() *PoolGetParams
NewPoolGetParams creates a new PoolGetParams object with the default values initialized.
func NewPoolGetParamsWithContext ¶
func NewPoolGetParamsWithContext(ctx context.Context) *PoolGetParams
NewPoolGetParamsWithContext creates a new PoolGetParams object with the default values initialized, and the ability to set a context for a request
func NewPoolGetParamsWithTimeout ¶
func NewPoolGetParamsWithTimeout(timeout time.Duration) *PoolGetParams
NewPoolGetParamsWithTimeout creates a new PoolGetParams object with the default values initialized, and the ability to set a timeout on a request
func (*PoolGetParams) SetAPIVersion ¶
func (o *PoolGetParams) SetAPIVersion(aPIVersion string)
SetAPIVersion adds the apiVersion to the pool get params
func (*PoolGetParams) SetClientRequestID ¶
func (o *PoolGetParams) SetClientRequestID(clientRequestID *string)
SetClientRequestID adds the clientRequestId to the pool get params
func (*PoolGetParams) SetContext ¶
func (o *PoolGetParams) SetContext(ctx context.Context)
SetContext adds the context to the pool get params
func (*PoolGetParams) SetDollarExpand ¶
func (o *PoolGetParams) SetDollarExpand(dollarExpand *string)
SetDollarExpand adds the dollarExpand to the pool get params
func (*PoolGetParams) SetDollarSelect ¶
func (o *PoolGetParams) SetDollarSelect(dollarSelect *string)
SetDollarSelect adds the dollarSelect to the pool get params
func (*PoolGetParams) SetIfMatch ¶
func (o *PoolGetParams) SetIfMatch(ifMatch *string)
SetIfMatch adds the ifMatch to the pool get params
func (*PoolGetParams) SetIfModifiedSince ¶
func (o *PoolGetParams) SetIfModifiedSince(ifModifiedSince *string)
SetIfModifiedSince adds the ifModifiedSince to the pool get params
func (*PoolGetParams) SetIfNoneMatch ¶
func (o *PoolGetParams) SetIfNoneMatch(ifNoneMatch *string)
SetIfNoneMatch adds the ifNoneMatch to the pool get params
func (*PoolGetParams) SetIfUnmodifiedSince ¶
func (o *PoolGetParams) SetIfUnmodifiedSince(ifUnmodifiedSince *string)
SetIfUnmodifiedSince adds the ifUnmodifiedSince to the pool get params
func (*PoolGetParams) SetOcpDate ¶
func (o *PoolGetParams) SetOcpDate(ocpDate *string)
SetOcpDate adds the ocpDate to the pool get params
func (*PoolGetParams) SetPoolID ¶
func (o *PoolGetParams) SetPoolID(poolID string)
SetPoolID adds the poolId to the pool get params
func (*PoolGetParams) SetRequestTimeout ¶
func (o *PoolGetParams) SetRequestTimeout(timeout time.Duration)
SetRequestTimeout adds the timeout to the pool get params
func (*PoolGetParams) SetReturnClientRequestID ¶
func (o *PoolGetParams) SetReturnClientRequestID(returnClientRequestID *bool)
SetReturnClientRequestID adds the returnClientRequestId to the pool get params
func (*PoolGetParams) SetTimeout ¶
func (o *PoolGetParams) SetTimeout(timeout *int32)
SetTimeout adds the timeout to the pool get params
func (*PoolGetParams) WithAPIVersion ¶
func (o *PoolGetParams) WithAPIVersion(aPIVersion string) *PoolGetParams
WithAPIVersion adds the aPIVersion to the pool get params
func (*PoolGetParams) WithClientRequestID ¶
func (o *PoolGetParams) WithClientRequestID(clientRequestID *string) *PoolGetParams
WithClientRequestID adds the clientRequestID to the pool get params
func (*PoolGetParams) WithContext ¶
func (o *PoolGetParams) WithContext(ctx context.Context) *PoolGetParams
WithContext adds the context to the pool get params
func (*PoolGetParams) WithDollarExpand ¶
func (o *PoolGetParams) WithDollarExpand(dollarExpand *string) *PoolGetParams
WithDollarExpand adds the dollarExpand to the pool get params
func (*PoolGetParams) WithDollarSelect ¶
func (o *PoolGetParams) WithDollarSelect(dollarSelect *string) *PoolGetParams
WithDollarSelect adds the dollarSelect to the pool get params
func (*PoolGetParams) WithIfMatch ¶
func (o *PoolGetParams) WithIfMatch(ifMatch *string) *PoolGetParams
WithIfMatch adds the ifMatch to the pool get params
func (*PoolGetParams) WithIfModifiedSince ¶
func (o *PoolGetParams) WithIfModifiedSince(ifModifiedSince *string) *PoolGetParams
WithIfModifiedSince adds the ifModifiedSince to the pool get params
func (*PoolGetParams) WithIfNoneMatch ¶
func (o *PoolGetParams) WithIfNoneMatch(ifNoneMatch *string) *PoolGetParams
WithIfNoneMatch adds the ifNoneMatch to the pool get params
func (*PoolGetParams) WithIfUnmodifiedSince ¶
func (o *PoolGetParams) WithIfUnmodifiedSince(ifUnmodifiedSince *string) *PoolGetParams
WithIfUnmodifiedSince adds the ifUnmodifiedSince to the pool get params
func (*PoolGetParams) WithOcpDate ¶
func (o *PoolGetParams) WithOcpDate(ocpDate *string) *PoolGetParams
WithOcpDate adds the ocpDate to the pool get params
func (*PoolGetParams) WithPoolID ¶
func (o *PoolGetParams) WithPoolID(poolID string) *PoolGetParams
WithPoolID adds the poolID to the pool get params
func (*PoolGetParams) WithRequestTimeout ¶
func (o *PoolGetParams) WithRequestTimeout(timeout time.Duration) *PoolGetParams
WithRequestTimeout adds the timeout to the pool get params
func (*PoolGetParams) WithReturnClientRequestID ¶
func (o *PoolGetParams) WithReturnClientRequestID(returnClientRequestID *bool) *PoolGetParams
WithReturnClientRequestID adds the returnClientRequestID to the pool get params
func (*PoolGetParams) WithTimeout ¶
func (o *PoolGetParams) WithTimeout(timeout *int32) *PoolGetParams
WithTimeout adds the timeout to the pool get params
func (*PoolGetParams) WriteToRequest ¶
func (o *PoolGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PoolGetReader ¶
type PoolGetReader struct {
// contains filtered or unexported fields
}
PoolGetReader is a Reader for the PoolGet structure.
func (*PoolGetReader) ReadResponse ¶
func (o *PoolGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PoolListDefault ¶
type PoolListDefault struct { Payload *models.BatchError // contains filtered or unexported fields }
PoolListDefault handles this case with default header values.
The error from the Batch service.
func NewPoolListDefault ¶
func NewPoolListDefault(code int) *PoolListDefault
NewPoolListDefault creates a PoolListDefault with default headers values
func (*PoolListDefault) Code ¶
func (o *PoolListDefault) Code() int
Code gets the status code for the pool list default response
func (*PoolListDefault) Error ¶
func (o *PoolListDefault) Error() string
type PoolListOK ¶
type PoolListOK 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.CloudPoolListResult }
PoolListOK handles this case with default header values.
A response containing the list of pools.
func NewPoolListOK ¶
func NewPoolListOK() *PoolListOK
NewPoolListOK creates a PoolListOK with default headers values
func (*PoolListOK) Error ¶
func (o *PoolListOK) Error() string
type PoolListParams ¶
type PoolListParams struct { /*NrDollarExpand An OData $expand clause. */ DollarExpand *string /*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 pools 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 /*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 }
PoolListParams contains all the parameters to send to the API endpoint for the pool list operation typically these are written to a http.Request
func NewPoolListParams ¶
func NewPoolListParams() *PoolListParams
NewPoolListParams creates a new PoolListParams object with the default values initialized.
func NewPoolListParamsWithContext ¶
func NewPoolListParamsWithContext(ctx context.Context) *PoolListParams
NewPoolListParamsWithContext creates a new PoolListParams object with the default values initialized, and the ability to set a context for a request
func NewPoolListParamsWithTimeout ¶
func NewPoolListParamsWithTimeout(timeout time.Duration) *PoolListParams
NewPoolListParamsWithTimeout creates a new PoolListParams object with the default values initialized, and the ability to set a timeout on a request
func (*PoolListParams) SetAPIVersion ¶
func (o *PoolListParams) SetAPIVersion(aPIVersion string)
SetAPIVersion adds the apiVersion to the pool list params
func (*PoolListParams) SetClientRequestID ¶
func (o *PoolListParams) SetClientRequestID(clientRequestID *string)
SetClientRequestID adds the clientRequestId to the pool list params
func (*PoolListParams) SetContext ¶
func (o *PoolListParams) SetContext(ctx context.Context)
SetContext adds the context to the pool list params
func (*PoolListParams) SetDollarExpand ¶
func (o *PoolListParams) SetDollarExpand(dollarExpand *string)
SetDollarExpand adds the dollarExpand to the pool list params
func (*PoolListParams) SetDollarFilter ¶
func (o *PoolListParams) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the pool list params
func (*PoolListParams) SetDollarSelect ¶
func (o *PoolListParams) SetDollarSelect(dollarSelect *string)
SetDollarSelect adds the dollarSelect to the pool list params
func (*PoolListParams) SetMaxresults ¶
func (o *PoolListParams) SetMaxresults(maxresults *int32)
SetMaxresults adds the maxresults to the pool list params
func (*PoolListParams) SetOcpDate ¶
func (o *PoolListParams) SetOcpDate(ocpDate *string)
SetOcpDate adds the ocpDate to the pool list params
func (*PoolListParams) SetRequestTimeout ¶
func (o *PoolListParams) SetRequestTimeout(timeout time.Duration)
SetRequestTimeout adds the timeout to the pool list params
func (*PoolListParams) SetReturnClientRequestID ¶
func (o *PoolListParams) SetReturnClientRequestID(returnClientRequestID *bool)
SetReturnClientRequestID adds the returnClientRequestId to the pool list params
func (*PoolListParams) SetTimeout ¶
func (o *PoolListParams) SetTimeout(timeout *int32)
SetTimeout adds the timeout to the pool list params
func (*PoolListParams) WithAPIVersion ¶
func (o *PoolListParams) WithAPIVersion(aPIVersion string) *PoolListParams
WithAPIVersion adds the aPIVersion to the pool list params
func (*PoolListParams) WithClientRequestID ¶
func (o *PoolListParams) WithClientRequestID(clientRequestID *string) *PoolListParams
WithClientRequestID adds the clientRequestID to the pool list params
func (*PoolListParams) WithContext ¶
func (o *PoolListParams) WithContext(ctx context.Context) *PoolListParams
WithContext adds the context to the pool list params
func (*PoolListParams) WithDollarExpand ¶
func (o *PoolListParams) WithDollarExpand(dollarExpand *string) *PoolListParams
WithDollarExpand adds the dollarExpand to the pool list params
func (*PoolListParams) WithDollarFilter ¶
func (o *PoolListParams) WithDollarFilter(dollarFilter *string) *PoolListParams
WithDollarFilter adds the dollarFilter to the pool list params
func (*PoolListParams) WithDollarSelect ¶
func (o *PoolListParams) WithDollarSelect(dollarSelect *string) *PoolListParams
WithDollarSelect adds the dollarSelect to the pool list params
func (*PoolListParams) WithMaxresults ¶
func (o *PoolListParams) WithMaxresults(maxresults *int32) *PoolListParams
WithMaxresults adds the maxresults to the pool list params
func (*PoolListParams) WithOcpDate ¶
func (o *PoolListParams) WithOcpDate(ocpDate *string) *PoolListParams
WithOcpDate adds the ocpDate to the pool list params
func (*PoolListParams) WithRequestTimeout ¶
func (o *PoolListParams) WithRequestTimeout(timeout time.Duration) *PoolListParams
WithRequestTimeout adds the timeout to the pool list params
func (*PoolListParams) WithReturnClientRequestID ¶
func (o *PoolListParams) WithReturnClientRequestID(returnClientRequestID *bool) *PoolListParams
WithReturnClientRequestID adds the returnClientRequestID to the pool list params
func (*PoolListParams) WithTimeout ¶
func (o *PoolListParams) WithTimeout(timeout *int32) *PoolListParams
WithTimeout adds the timeout to the pool list params
func (*PoolListParams) WriteToRequest ¶
func (o *PoolListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PoolListPoolUsageMetricsDefault ¶
type PoolListPoolUsageMetricsDefault struct { Payload *models.BatchError // contains filtered or unexported fields }
PoolListPoolUsageMetricsDefault handles this case with default header values.
The error from the Batch service.
func NewPoolListPoolUsageMetricsDefault ¶
func NewPoolListPoolUsageMetricsDefault(code int) *PoolListPoolUsageMetricsDefault
NewPoolListPoolUsageMetricsDefault creates a PoolListPoolUsageMetricsDefault with default headers values
func (*PoolListPoolUsageMetricsDefault) Code ¶
func (o *PoolListPoolUsageMetricsDefault) Code() int
Code gets the status code for the pool list pool usage metrics default response
func (*PoolListPoolUsageMetricsDefault) Error ¶
func (o *PoolListPoolUsageMetricsDefault) Error() string
type PoolListPoolUsageMetricsOK ¶
type PoolListPoolUsageMetricsOK 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.PoolListPoolUsageMetricsResult }
PoolListPoolUsageMetricsOK handles this case with default header values.
A response containing the list of pool usage details.
func NewPoolListPoolUsageMetricsOK ¶
func NewPoolListPoolUsageMetricsOK() *PoolListPoolUsageMetricsOK
NewPoolListPoolUsageMetricsOK creates a PoolListPoolUsageMetricsOK with default headers values
func (*PoolListPoolUsageMetricsOK) Error ¶
func (o *PoolListPoolUsageMetricsOK) Error() string
type PoolListPoolUsageMetricsParams ¶
type PoolListPoolUsageMetricsParams struct { /*NrDollarFilter An OData $filter clause. If this is not specified the response includes all pools that existed in the account in the time range of the returned aggregation intervals. */ DollarFilter *string /*APIVersion Client API Version. */ APIVersion string /*ClientRequestID The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0. */ ClientRequestID *string /*Endtime The latest time from which to include metrics. This must be at least two hours before the current time. If not specified this defaults to the end time of the last aggregation interval currently available. */ Endtime *strfmt.DateTime /*Maxresults The maximum number of items to return in the response. A maximum of 1000 results will be returned. */ Maxresults *int32 /*OcpDate The time the request was issued. If not specified, this header will be automatically populated with the current system clock time. */ OcpDate *string /*ReturnClientRequestID Whether the server should return the client-request-id in the response. */ ReturnClientRequestID *bool /*Starttime The earliest time from which to include metrics. This must be at least two and a half hours before the current time. If not specified this defaults to the start time of the last aggregation interval currently available. */ Starttime *strfmt.DateTime /*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 }
PoolListPoolUsageMetricsParams contains all the parameters to send to the API endpoint for the pool list pool usage metrics operation typically these are written to a http.Request
func NewPoolListPoolUsageMetricsParams ¶
func NewPoolListPoolUsageMetricsParams() *PoolListPoolUsageMetricsParams
NewPoolListPoolUsageMetricsParams creates a new PoolListPoolUsageMetricsParams object with the default values initialized.
func NewPoolListPoolUsageMetricsParamsWithContext ¶
func NewPoolListPoolUsageMetricsParamsWithContext(ctx context.Context) *PoolListPoolUsageMetricsParams
NewPoolListPoolUsageMetricsParamsWithContext creates a new PoolListPoolUsageMetricsParams object with the default values initialized, and the ability to set a context for a request
func NewPoolListPoolUsageMetricsParamsWithTimeout ¶
func NewPoolListPoolUsageMetricsParamsWithTimeout(timeout time.Duration) *PoolListPoolUsageMetricsParams
NewPoolListPoolUsageMetricsParamsWithTimeout creates a new PoolListPoolUsageMetricsParams object with the default values initialized, and the ability to set a timeout on a request
func (*PoolListPoolUsageMetricsParams) SetAPIVersion ¶
func (o *PoolListPoolUsageMetricsParams) SetAPIVersion(aPIVersion string)
SetAPIVersion adds the apiVersion to the pool list pool usage metrics params
func (*PoolListPoolUsageMetricsParams) SetClientRequestID ¶
func (o *PoolListPoolUsageMetricsParams) SetClientRequestID(clientRequestID *string)
SetClientRequestID adds the clientRequestId to the pool list pool usage metrics params
func (*PoolListPoolUsageMetricsParams) SetContext ¶
func (o *PoolListPoolUsageMetricsParams) SetContext(ctx context.Context)
SetContext adds the context to the pool list pool usage metrics params
func (*PoolListPoolUsageMetricsParams) SetDollarFilter ¶
func (o *PoolListPoolUsageMetricsParams) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the pool list pool usage metrics params
func (*PoolListPoolUsageMetricsParams) SetEndtime ¶
func (o *PoolListPoolUsageMetricsParams) SetEndtime(endtime *strfmt.DateTime)
SetEndtime adds the endtime to the pool list pool usage metrics params
func (*PoolListPoolUsageMetricsParams) SetMaxresults ¶
func (o *PoolListPoolUsageMetricsParams) SetMaxresults(maxresults *int32)
SetMaxresults adds the maxresults to the pool list pool usage metrics params
func (*PoolListPoolUsageMetricsParams) SetOcpDate ¶
func (o *PoolListPoolUsageMetricsParams) SetOcpDate(ocpDate *string)
SetOcpDate adds the ocpDate to the pool list pool usage metrics params
func (*PoolListPoolUsageMetricsParams) SetRequestTimeout ¶
func (o *PoolListPoolUsageMetricsParams) SetRequestTimeout(timeout time.Duration)
SetRequestTimeout adds the timeout to the pool list pool usage metrics params
func (*PoolListPoolUsageMetricsParams) SetReturnClientRequestID ¶
func (o *PoolListPoolUsageMetricsParams) SetReturnClientRequestID(returnClientRequestID *bool)
SetReturnClientRequestID adds the returnClientRequestId to the pool list pool usage metrics params
func (*PoolListPoolUsageMetricsParams) SetStarttime ¶
func (o *PoolListPoolUsageMetricsParams) SetStarttime(starttime *strfmt.DateTime)
SetStarttime adds the starttime to the pool list pool usage metrics params
func (*PoolListPoolUsageMetricsParams) SetTimeout ¶
func (o *PoolListPoolUsageMetricsParams) SetTimeout(timeout *int32)
SetTimeout adds the timeout to the pool list pool usage metrics params
func (*PoolListPoolUsageMetricsParams) WithAPIVersion ¶
func (o *PoolListPoolUsageMetricsParams) WithAPIVersion(aPIVersion string) *PoolListPoolUsageMetricsParams
WithAPIVersion adds the aPIVersion to the pool list pool usage metrics params
func (*PoolListPoolUsageMetricsParams) WithClientRequestID ¶
func (o *PoolListPoolUsageMetricsParams) WithClientRequestID(clientRequestID *string) *PoolListPoolUsageMetricsParams
WithClientRequestID adds the clientRequestID to the pool list pool usage metrics params
func (*PoolListPoolUsageMetricsParams) WithContext ¶
func (o *PoolListPoolUsageMetricsParams) WithContext(ctx context.Context) *PoolListPoolUsageMetricsParams
WithContext adds the context to the pool list pool usage metrics params
func (*PoolListPoolUsageMetricsParams) WithDollarFilter ¶
func (o *PoolListPoolUsageMetricsParams) WithDollarFilter(dollarFilter *string) *PoolListPoolUsageMetricsParams
WithDollarFilter adds the dollarFilter to the pool list pool usage metrics params
func (*PoolListPoolUsageMetricsParams) WithEndtime ¶
func (o *PoolListPoolUsageMetricsParams) WithEndtime(endtime *strfmt.DateTime) *PoolListPoolUsageMetricsParams
WithEndtime adds the endtime to the pool list pool usage metrics params
func (*PoolListPoolUsageMetricsParams) WithMaxresults ¶
func (o *PoolListPoolUsageMetricsParams) WithMaxresults(maxresults *int32) *PoolListPoolUsageMetricsParams
WithMaxresults adds the maxresults to the pool list pool usage metrics params
func (*PoolListPoolUsageMetricsParams) WithOcpDate ¶
func (o *PoolListPoolUsageMetricsParams) WithOcpDate(ocpDate *string) *PoolListPoolUsageMetricsParams
WithOcpDate adds the ocpDate to the pool list pool usage metrics params
func (*PoolListPoolUsageMetricsParams) WithRequestTimeout ¶
func (o *PoolListPoolUsageMetricsParams) WithRequestTimeout(timeout time.Duration) *PoolListPoolUsageMetricsParams
WithRequestTimeout adds the timeout to the pool list pool usage metrics params
func (*PoolListPoolUsageMetricsParams) WithReturnClientRequestID ¶
func (o *PoolListPoolUsageMetricsParams) WithReturnClientRequestID(returnClientRequestID *bool) *PoolListPoolUsageMetricsParams
WithReturnClientRequestID adds the returnClientRequestID to the pool list pool usage metrics params
func (*PoolListPoolUsageMetricsParams) WithStarttime ¶
func (o *PoolListPoolUsageMetricsParams) WithStarttime(starttime *strfmt.DateTime) *PoolListPoolUsageMetricsParams
WithStarttime adds the starttime to the pool list pool usage metrics params
func (*PoolListPoolUsageMetricsParams) WithTimeout ¶
func (o *PoolListPoolUsageMetricsParams) WithTimeout(timeout *int32) *PoolListPoolUsageMetricsParams
WithTimeout adds the timeout to the pool list pool usage metrics params
func (*PoolListPoolUsageMetricsParams) WriteToRequest ¶
func (o *PoolListPoolUsageMetricsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PoolListPoolUsageMetricsReader ¶
type PoolListPoolUsageMetricsReader struct {
// contains filtered or unexported fields
}
PoolListPoolUsageMetricsReader is a Reader for the PoolListPoolUsageMetrics structure.
func (*PoolListPoolUsageMetricsReader) ReadResponse ¶
func (o *PoolListPoolUsageMetricsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PoolListReader ¶
type PoolListReader struct {
// contains filtered or unexported fields
}
PoolListReader is a Reader for the PoolList structure.
func (*PoolListReader) ReadResponse ¶
func (o *PoolListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PoolPatchDefault ¶
type PoolPatchDefault struct { Payload *models.BatchError // contains filtered or unexported fields }
PoolPatchDefault handles this case with default header values.
The error from the Batch service.
func NewPoolPatchDefault ¶
func NewPoolPatchDefault(code int) *PoolPatchDefault
NewPoolPatchDefault creates a PoolPatchDefault with default headers values
func (*PoolPatchDefault) Code ¶
func (o *PoolPatchDefault) Code() int
Code gets the status code for the pool patch default response
func (*PoolPatchDefault) Error ¶
func (o *PoolPatchDefault) Error() string
type PoolPatchOK ¶
type PoolPatchOK 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 }
PoolPatchOK handles this case with default header values.
The request to the Batch service was successful.
func NewPoolPatchOK ¶
func NewPoolPatchOK() *PoolPatchOK
NewPoolPatchOK creates a PoolPatchOK with default headers values
func (*PoolPatchOK) Error ¶
func (o *PoolPatchOK) Error() string
type PoolPatchParams ¶
type PoolPatchParams 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 /*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 to update. */ PoolID string /*PoolPatchParameter The parameters for the request. */ PoolPatchParameter *models.PoolPatchParameter /*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 }
PoolPatchParams contains all the parameters to send to the API endpoint for the pool patch operation typically these are written to a http.Request
func NewPoolPatchParams ¶
func NewPoolPatchParams() *PoolPatchParams
NewPoolPatchParams creates a new PoolPatchParams object with the default values initialized.
func NewPoolPatchParamsWithContext ¶
func NewPoolPatchParamsWithContext(ctx context.Context) *PoolPatchParams
NewPoolPatchParamsWithContext creates a new PoolPatchParams object with the default values initialized, and the ability to set a context for a request
func NewPoolPatchParamsWithTimeout ¶
func NewPoolPatchParamsWithTimeout(timeout time.Duration) *PoolPatchParams
NewPoolPatchParamsWithTimeout creates a new PoolPatchParams object with the default values initialized, and the ability to set a timeout on a request
func (*PoolPatchParams) SetAPIVersion ¶
func (o *PoolPatchParams) SetAPIVersion(aPIVersion string)
SetAPIVersion adds the apiVersion to the pool patch params
func (*PoolPatchParams) SetClientRequestID ¶
func (o *PoolPatchParams) SetClientRequestID(clientRequestID *string)
SetClientRequestID adds the clientRequestId to the pool patch params
func (*PoolPatchParams) SetContext ¶
func (o *PoolPatchParams) SetContext(ctx context.Context)
SetContext adds the context to the pool patch params
func (*PoolPatchParams) SetIfMatch ¶
func (o *PoolPatchParams) SetIfMatch(ifMatch *string)
SetIfMatch adds the ifMatch to the pool patch params
func (*PoolPatchParams) SetIfModifiedSince ¶
func (o *PoolPatchParams) SetIfModifiedSince(ifModifiedSince *string)
SetIfModifiedSince adds the ifModifiedSince to the pool patch params
func (*PoolPatchParams) SetIfNoneMatch ¶
func (o *PoolPatchParams) SetIfNoneMatch(ifNoneMatch *string)
SetIfNoneMatch adds the ifNoneMatch to the pool patch params
func (*PoolPatchParams) SetIfUnmodifiedSince ¶
func (o *PoolPatchParams) SetIfUnmodifiedSince(ifUnmodifiedSince *string)
SetIfUnmodifiedSince adds the ifUnmodifiedSince to the pool patch params
func (*PoolPatchParams) SetOcpDate ¶
func (o *PoolPatchParams) SetOcpDate(ocpDate *string)
SetOcpDate adds the ocpDate to the pool patch params
func (*PoolPatchParams) SetPoolID ¶
func (o *PoolPatchParams) SetPoolID(poolID string)
SetPoolID adds the poolId to the pool patch params
func (*PoolPatchParams) SetPoolPatchParameter ¶
func (o *PoolPatchParams) SetPoolPatchParameter(poolPatchParameter *models.PoolPatchParameter)
SetPoolPatchParameter adds the poolPatchParameter to the pool patch params
func (*PoolPatchParams) SetRequestTimeout ¶
func (o *PoolPatchParams) SetRequestTimeout(timeout time.Duration)
SetRequestTimeout adds the timeout to the pool patch params
func (*PoolPatchParams) SetReturnClientRequestID ¶
func (o *PoolPatchParams) SetReturnClientRequestID(returnClientRequestID *bool)
SetReturnClientRequestID adds the returnClientRequestId to the pool patch params
func (*PoolPatchParams) SetTimeout ¶
func (o *PoolPatchParams) SetTimeout(timeout *int32)
SetTimeout adds the timeout to the pool patch params
func (*PoolPatchParams) WithAPIVersion ¶
func (o *PoolPatchParams) WithAPIVersion(aPIVersion string) *PoolPatchParams
WithAPIVersion adds the aPIVersion to the pool patch params
func (*PoolPatchParams) WithClientRequestID ¶
func (o *PoolPatchParams) WithClientRequestID(clientRequestID *string) *PoolPatchParams
WithClientRequestID adds the clientRequestID to the pool patch params
func (*PoolPatchParams) WithContext ¶
func (o *PoolPatchParams) WithContext(ctx context.Context) *PoolPatchParams
WithContext adds the context to the pool patch params
func (*PoolPatchParams) WithIfMatch ¶
func (o *PoolPatchParams) WithIfMatch(ifMatch *string) *PoolPatchParams
WithIfMatch adds the ifMatch to the pool patch params
func (*PoolPatchParams) WithIfModifiedSince ¶
func (o *PoolPatchParams) WithIfModifiedSince(ifModifiedSince *string) *PoolPatchParams
WithIfModifiedSince adds the ifModifiedSince to the pool patch params
func (*PoolPatchParams) WithIfNoneMatch ¶
func (o *PoolPatchParams) WithIfNoneMatch(ifNoneMatch *string) *PoolPatchParams
WithIfNoneMatch adds the ifNoneMatch to the pool patch params
func (*PoolPatchParams) WithIfUnmodifiedSince ¶
func (o *PoolPatchParams) WithIfUnmodifiedSince(ifUnmodifiedSince *string) *PoolPatchParams
WithIfUnmodifiedSince adds the ifUnmodifiedSince to the pool patch params
func (*PoolPatchParams) WithOcpDate ¶
func (o *PoolPatchParams) WithOcpDate(ocpDate *string) *PoolPatchParams
WithOcpDate adds the ocpDate to the pool patch params
func (*PoolPatchParams) WithPoolID ¶
func (o *PoolPatchParams) WithPoolID(poolID string) *PoolPatchParams
WithPoolID adds the poolID to the pool patch params
func (*PoolPatchParams) WithPoolPatchParameter ¶
func (o *PoolPatchParams) WithPoolPatchParameter(poolPatchParameter *models.PoolPatchParameter) *PoolPatchParams
WithPoolPatchParameter adds the poolPatchParameter to the pool patch params
func (*PoolPatchParams) WithRequestTimeout ¶
func (o *PoolPatchParams) WithRequestTimeout(timeout time.Duration) *PoolPatchParams
WithRequestTimeout adds the timeout to the pool patch params
func (*PoolPatchParams) WithReturnClientRequestID ¶
func (o *PoolPatchParams) WithReturnClientRequestID(returnClientRequestID *bool) *PoolPatchParams
WithReturnClientRequestID adds the returnClientRequestID to the pool patch params
func (*PoolPatchParams) WithTimeout ¶
func (o *PoolPatchParams) WithTimeout(timeout *int32) *PoolPatchParams
WithTimeout adds the timeout to the pool patch params
func (*PoolPatchParams) WriteToRequest ¶
func (o *PoolPatchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PoolPatchReader ¶
type PoolPatchReader struct {
// contains filtered or unexported fields
}
PoolPatchReader is a Reader for the PoolPatch structure.
func (*PoolPatchReader) ReadResponse ¶
func (o *PoolPatchReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PoolResizeAccepted ¶
type PoolResizeAccepted 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 }
PoolResizeAccepted handles this case with default header values.
The request to the Batch service was successful.
func NewPoolResizeAccepted ¶
func NewPoolResizeAccepted() *PoolResizeAccepted
NewPoolResizeAccepted creates a PoolResizeAccepted with default headers values
func (*PoolResizeAccepted) Error ¶
func (o *PoolResizeAccepted) Error() string
type PoolResizeDefault ¶
type PoolResizeDefault struct { Payload *models.BatchError // contains filtered or unexported fields }
PoolResizeDefault handles this case with default header values.
The error from the Batch service.
func NewPoolResizeDefault ¶
func NewPoolResizeDefault(code int) *PoolResizeDefault
NewPoolResizeDefault creates a PoolResizeDefault with default headers values
func (*PoolResizeDefault) Code ¶
func (o *PoolResizeDefault) Code() int
Code gets the status code for the pool resize default response
func (*PoolResizeDefault) Error ¶
func (o *PoolResizeDefault) Error() string
type PoolResizeParams ¶
type PoolResizeParams 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 /*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 to resize. */ PoolID string /*PoolResizeParameter The parameters for the request. */ PoolResizeParameter *models.PoolResizeParameter /*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 }
PoolResizeParams contains all the parameters to send to the API endpoint for the pool resize operation typically these are written to a http.Request
func NewPoolResizeParams ¶
func NewPoolResizeParams() *PoolResizeParams
NewPoolResizeParams creates a new PoolResizeParams object with the default values initialized.
func NewPoolResizeParamsWithContext ¶
func NewPoolResizeParamsWithContext(ctx context.Context) *PoolResizeParams
NewPoolResizeParamsWithContext creates a new PoolResizeParams object with the default values initialized, and the ability to set a context for a request
func NewPoolResizeParamsWithTimeout ¶
func NewPoolResizeParamsWithTimeout(timeout time.Duration) *PoolResizeParams
NewPoolResizeParamsWithTimeout creates a new PoolResizeParams object with the default values initialized, and the ability to set a timeout on a request
func (*PoolResizeParams) SetAPIVersion ¶
func (o *PoolResizeParams) SetAPIVersion(aPIVersion string)
SetAPIVersion adds the apiVersion to the pool resize params
func (*PoolResizeParams) SetClientRequestID ¶
func (o *PoolResizeParams) SetClientRequestID(clientRequestID *string)
SetClientRequestID adds the clientRequestId to the pool resize params
func (*PoolResizeParams) SetContext ¶
func (o *PoolResizeParams) SetContext(ctx context.Context)
SetContext adds the context to the pool resize params
func (*PoolResizeParams) SetIfMatch ¶
func (o *PoolResizeParams) SetIfMatch(ifMatch *string)
SetIfMatch adds the ifMatch to the pool resize params
func (*PoolResizeParams) SetIfModifiedSince ¶
func (o *PoolResizeParams) SetIfModifiedSince(ifModifiedSince *string)
SetIfModifiedSince adds the ifModifiedSince to the pool resize params
func (*PoolResizeParams) SetIfNoneMatch ¶
func (o *PoolResizeParams) SetIfNoneMatch(ifNoneMatch *string)
SetIfNoneMatch adds the ifNoneMatch to the pool resize params
func (*PoolResizeParams) SetIfUnmodifiedSince ¶
func (o *PoolResizeParams) SetIfUnmodifiedSince(ifUnmodifiedSince *string)
SetIfUnmodifiedSince adds the ifUnmodifiedSince to the pool resize params
func (*PoolResizeParams) SetOcpDate ¶
func (o *PoolResizeParams) SetOcpDate(ocpDate *string)
SetOcpDate adds the ocpDate to the pool resize params
func (*PoolResizeParams) SetPoolID ¶
func (o *PoolResizeParams) SetPoolID(poolID string)
SetPoolID adds the poolId to the pool resize params
func (*PoolResizeParams) SetPoolResizeParameter ¶
func (o *PoolResizeParams) SetPoolResizeParameter(poolResizeParameter *models.PoolResizeParameter)
SetPoolResizeParameter adds the poolResizeParameter to the pool resize params
func (*PoolResizeParams) SetRequestTimeout ¶
func (o *PoolResizeParams) SetRequestTimeout(timeout time.Duration)
SetRequestTimeout adds the timeout to the pool resize params
func (*PoolResizeParams) SetReturnClientRequestID ¶
func (o *PoolResizeParams) SetReturnClientRequestID(returnClientRequestID *bool)
SetReturnClientRequestID adds the returnClientRequestId to the pool resize params
func (*PoolResizeParams) SetTimeout ¶
func (o *PoolResizeParams) SetTimeout(timeout *int32)
SetTimeout adds the timeout to the pool resize params
func (*PoolResizeParams) WithAPIVersion ¶
func (o *PoolResizeParams) WithAPIVersion(aPIVersion string) *PoolResizeParams
WithAPIVersion adds the aPIVersion to the pool resize params
func (*PoolResizeParams) WithClientRequestID ¶
func (o *PoolResizeParams) WithClientRequestID(clientRequestID *string) *PoolResizeParams
WithClientRequestID adds the clientRequestID to the pool resize params
func (*PoolResizeParams) WithContext ¶
func (o *PoolResizeParams) WithContext(ctx context.Context) *PoolResizeParams
WithContext adds the context to the pool resize params
func (*PoolResizeParams) WithIfMatch ¶
func (o *PoolResizeParams) WithIfMatch(ifMatch *string) *PoolResizeParams
WithIfMatch adds the ifMatch to the pool resize params
func (*PoolResizeParams) WithIfModifiedSince ¶
func (o *PoolResizeParams) WithIfModifiedSince(ifModifiedSince *string) *PoolResizeParams
WithIfModifiedSince adds the ifModifiedSince to the pool resize params
func (*PoolResizeParams) WithIfNoneMatch ¶
func (o *PoolResizeParams) WithIfNoneMatch(ifNoneMatch *string) *PoolResizeParams
WithIfNoneMatch adds the ifNoneMatch to the pool resize params
func (*PoolResizeParams) WithIfUnmodifiedSince ¶
func (o *PoolResizeParams) WithIfUnmodifiedSince(ifUnmodifiedSince *string) *PoolResizeParams
WithIfUnmodifiedSince adds the ifUnmodifiedSince to the pool resize params
func (*PoolResizeParams) WithOcpDate ¶
func (o *PoolResizeParams) WithOcpDate(ocpDate *string) *PoolResizeParams
WithOcpDate adds the ocpDate to the pool resize params
func (*PoolResizeParams) WithPoolID ¶
func (o *PoolResizeParams) WithPoolID(poolID string) *PoolResizeParams
WithPoolID adds the poolID to the pool resize params
func (*PoolResizeParams) WithPoolResizeParameter ¶
func (o *PoolResizeParams) WithPoolResizeParameter(poolResizeParameter *models.PoolResizeParameter) *PoolResizeParams
WithPoolResizeParameter adds the poolResizeParameter to the pool resize params
func (*PoolResizeParams) WithRequestTimeout ¶
func (o *PoolResizeParams) WithRequestTimeout(timeout time.Duration) *PoolResizeParams
WithRequestTimeout adds the timeout to the pool resize params
func (*PoolResizeParams) WithReturnClientRequestID ¶
func (o *PoolResizeParams) WithReturnClientRequestID(returnClientRequestID *bool) *PoolResizeParams
WithReturnClientRequestID adds the returnClientRequestID to the pool resize params
func (*PoolResizeParams) WithTimeout ¶
func (o *PoolResizeParams) WithTimeout(timeout *int32) *PoolResizeParams
WithTimeout adds the timeout to the pool resize params
func (*PoolResizeParams) WriteToRequest ¶
func (o *PoolResizeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PoolResizeReader ¶
type PoolResizeReader struct {
// contains filtered or unexported fields
}
PoolResizeReader is a Reader for the PoolResize structure.
func (*PoolResizeReader) ReadResponse ¶
func (o *PoolResizeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PoolStopResizeAccepted ¶
type PoolStopResizeAccepted 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 }
PoolStopResizeAccepted handles this case with default header values.
The request to the Batch service was successful.
func NewPoolStopResizeAccepted ¶
func NewPoolStopResizeAccepted() *PoolStopResizeAccepted
NewPoolStopResizeAccepted creates a PoolStopResizeAccepted with default headers values
func (*PoolStopResizeAccepted) Error ¶
func (o *PoolStopResizeAccepted) Error() string
type PoolStopResizeDefault ¶
type PoolStopResizeDefault struct { Payload *models.BatchError // contains filtered or unexported fields }
PoolStopResizeDefault handles this case with default header values.
The error from the Batch service. If you call this API on a pool which is not in the resizing state, the request fails with HTTP status code 409.
func NewPoolStopResizeDefault ¶
func NewPoolStopResizeDefault(code int) *PoolStopResizeDefault
NewPoolStopResizeDefault creates a PoolStopResizeDefault with default headers values
func (*PoolStopResizeDefault) Code ¶
func (o *PoolStopResizeDefault) Code() int
Code gets the status code for the pool stop resize default response
func (*PoolStopResizeDefault) Error ¶
func (o *PoolStopResizeDefault) Error() string
type PoolStopResizeParams ¶
type PoolStopResizeParams 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 /*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 whose resizing you want to stop. */ 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 }
PoolStopResizeParams contains all the parameters to send to the API endpoint for the pool stop resize operation typically these are written to a http.Request
func NewPoolStopResizeParams ¶
func NewPoolStopResizeParams() *PoolStopResizeParams
NewPoolStopResizeParams creates a new PoolStopResizeParams object with the default values initialized.
func NewPoolStopResizeParamsWithContext ¶
func NewPoolStopResizeParamsWithContext(ctx context.Context) *PoolStopResizeParams
NewPoolStopResizeParamsWithContext creates a new PoolStopResizeParams object with the default values initialized, and the ability to set a context for a request
func NewPoolStopResizeParamsWithTimeout ¶
func NewPoolStopResizeParamsWithTimeout(timeout time.Duration) *PoolStopResizeParams
NewPoolStopResizeParamsWithTimeout creates a new PoolStopResizeParams object with the default values initialized, and the ability to set a timeout on a request
func (*PoolStopResizeParams) SetAPIVersion ¶
func (o *PoolStopResizeParams) SetAPIVersion(aPIVersion string)
SetAPIVersion adds the apiVersion to the pool stop resize params
func (*PoolStopResizeParams) SetClientRequestID ¶
func (o *PoolStopResizeParams) SetClientRequestID(clientRequestID *string)
SetClientRequestID adds the clientRequestId to the pool stop resize params
func (*PoolStopResizeParams) SetContext ¶
func (o *PoolStopResizeParams) SetContext(ctx context.Context)
SetContext adds the context to the pool stop resize params
func (*PoolStopResizeParams) SetIfMatch ¶
func (o *PoolStopResizeParams) SetIfMatch(ifMatch *string)
SetIfMatch adds the ifMatch to the pool stop resize params
func (*PoolStopResizeParams) SetIfModifiedSince ¶
func (o *PoolStopResizeParams) SetIfModifiedSince(ifModifiedSince *string)
SetIfModifiedSince adds the ifModifiedSince to the pool stop resize params
func (*PoolStopResizeParams) SetIfNoneMatch ¶
func (o *PoolStopResizeParams) SetIfNoneMatch(ifNoneMatch *string)
SetIfNoneMatch adds the ifNoneMatch to the pool stop resize params
func (*PoolStopResizeParams) SetIfUnmodifiedSince ¶
func (o *PoolStopResizeParams) SetIfUnmodifiedSince(ifUnmodifiedSince *string)
SetIfUnmodifiedSince adds the ifUnmodifiedSince to the pool stop resize params
func (*PoolStopResizeParams) SetOcpDate ¶
func (o *PoolStopResizeParams) SetOcpDate(ocpDate *string)
SetOcpDate adds the ocpDate to the pool stop resize params
func (*PoolStopResizeParams) SetPoolID ¶
func (o *PoolStopResizeParams) SetPoolID(poolID string)
SetPoolID adds the poolId to the pool stop resize params
func (*PoolStopResizeParams) SetRequestTimeout ¶
func (o *PoolStopResizeParams) SetRequestTimeout(timeout time.Duration)
SetRequestTimeout adds the timeout to the pool stop resize params
func (*PoolStopResizeParams) SetReturnClientRequestID ¶
func (o *PoolStopResizeParams) SetReturnClientRequestID(returnClientRequestID *bool)
SetReturnClientRequestID adds the returnClientRequestId to the pool stop resize params
func (*PoolStopResizeParams) SetTimeout ¶
func (o *PoolStopResizeParams) SetTimeout(timeout *int32)
SetTimeout adds the timeout to the pool stop resize params
func (*PoolStopResizeParams) WithAPIVersion ¶
func (o *PoolStopResizeParams) WithAPIVersion(aPIVersion string) *PoolStopResizeParams
WithAPIVersion adds the aPIVersion to the pool stop resize params
func (*PoolStopResizeParams) WithClientRequestID ¶
func (o *PoolStopResizeParams) WithClientRequestID(clientRequestID *string) *PoolStopResizeParams
WithClientRequestID adds the clientRequestID to the pool stop resize params
func (*PoolStopResizeParams) WithContext ¶
func (o *PoolStopResizeParams) WithContext(ctx context.Context) *PoolStopResizeParams
WithContext adds the context to the pool stop resize params
func (*PoolStopResizeParams) WithIfMatch ¶
func (o *PoolStopResizeParams) WithIfMatch(ifMatch *string) *PoolStopResizeParams
WithIfMatch adds the ifMatch to the pool stop resize params
func (*PoolStopResizeParams) WithIfModifiedSince ¶
func (o *PoolStopResizeParams) WithIfModifiedSince(ifModifiedSince *string) *PoolStopResizeParams
WithIfModifiedSince adds the ifModifiedSince to the pool stop resize params
func (*PoolStopResizeParams) WithIfNoneMatch ¶
func (o *PoolStopResizeParams) WithIfNoneMatch(ifNoneMatch *string) *PoolStopResizeParams
WithIfNoneMatch adds the ifNoneMatch to the pool stop resize params
func (*PoolStopResizeParams) WithIfUnmodifiedSince ¶
func (o *PoolStopResizeParams) WithIfUnmodifiedSince(ifUnmodifiedSince *string) *PoolStopResizeParams
WithIfUnmodifiedSince adds the ifUnmodifiedSince to the pool stop resize params
func (*PoolStopResizeParams) WithOcpDate ¶
func (o *PoolStopResizeParams) WithOcpDate(ocpDate *string) *PoolStopResizeParams
WithOcpDate adds the ocpDate to the pool stop resize params
func (*PoolStopResizeParams) WithPoolID ¶
func (o *PoolStopResizeParams) WithPoolID(poolID string) *PoolStopResizeParams
WithPoolID adds the poolID to the pool stop resize params
func (*PoolStopResizeParams) WithRequestTimeout ¶
func (o *PoolStopResizeParams) WithRequestTimeout(timeout time.Duration) *PoolStopResizeParams
WithRequestTimeout adds the timeout to the pool stop resize params
func (*PoolStopResizeParams) WithReturnClientRequestID ¶
func (o *PoolStopResizeParams) WithReturnClientRequestID(returnClientRequestID *bool) *PoolStopResizeParams
WithReturnClientRequestID adds the returnClientRequestID to the pool stop resize params
func (*PoolStopResizeParams) WithTimeout ¶
func (o *PoolStopResizeParams) WithTimeout(timeout *int32) *PoolStopResizeParams
WithTimeout adds the timeout to the pool stop resize params
func (*PoolStopResizeParams) WriteToRequest ¶
func (o *PoolStopResizeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PoolStopResizeReader ¶
type PoolStopResizeReader struct {
// contains filtered or unexported fields
}
PoolStopResizeReader is a Reader for the PoolStopResize structure.
func (*PoolStopResizeReader) ReadResponse ¶
func (o *PoolStopResizeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PoolUpdatePropertiesDefault ¶
type PoolUpdatePropertiesDefault struct { Payload *models.BatchError // contains filtered or unexported fields }
PoolUpdatePropertiesDefault handles this case with default header values.
The error from the Batch service.
func NewPoolUpdatePropertiesDefault ¶
func NewPoolUpdatePropertiesDefault(code int) *PoolUpdatePropertiesDefault
NewPoolUpdatePropertiesDefault creates a PoolUpdatePropertiesDefault with default headers values
func (*PoolUpdatePropertiesDefault) Code ¶
func (o *PoolUpdatePropertiesDefault) Code() int
Code gets the status code for the pool update properties default response
func (*PoolUpdatePropertiesDefault) Error ¶
func (o *PoolUpdatePropertiesDefault) Error() string
type PoolUpdatePropertiesNoContent ¶
type PoolUpdatePropertiesNoContent 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 }
PoolUpdatePropertiesNoContent handles this case with default header values.
The request to the Batch service was successful.
func NewPoolUpdatePropertiesNoContent ¶
func NewPoolUpdatePropertiesNoContent() *PoolUpdatePropertiesNoContent
NewPoolUpdatePropertiesNoContent creates a PoolUpdatePropertiesNoContent with default headers values
func (*PoolUpdatePropertiesNoContent) Error ¶
func (o *PoolUpdatePropertiesNoContent) Error() string
type PoolUpdatePropertiesParams ¶
type PoolUpdatePropertiesParams 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 /*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 to update. */ PoolID string /*PoolUpdatePropertiesParameter The parameters for the request. */ PoolUpdatePropertiesParameter *models.PoolUpdatePropertiesParameter /*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 }
PoolUpdatePropertiesParams contains all the parameters to send to the API endpoint for the pool update properties operation typically these are written to a http.Request
func NewPoolUpdatePropertiesParams ¶
func NewPoolUpdatePropertiesParams() *PoolUpdatePropertiesParams
NewPoolUpdatePropertiesParams creates a new PoolUpdatePropertiesParams object with the default values initialized.
func NewPoolUpdatePropertiesParamsWithContext ¶
func NewPoolUpdatePropertiesParamsWithContext(ctx context.Context) *PoolUpdatePropertiesParams
NewPoolUpdatePropertiesParamsWithContext creates a new PoolUpdatePropertiesParams object with the default values initialized, and the ability to set a context for a request
func NewPoolUpdatePropertiesParamsWithTimeout ¶
func NewPoolUpdatePropertiesParamsWithTimeout(timeout time.Duration) *PoolUpdatePropertiesParams
NewPoolUpdatePropertiesParamsWithTimeout creates a new PoolUpdatePropertiesParams object with the default values initialized, and the ability to set a timeout on a request
func (*PoolUpdatePropertiesParams) SetAPIVersion ¶
func (o *PoolUpdatePropertiesParams) SetAPIVersion(aPIVersion string)
SetAPIVersion adds the apiVersion to the pool update properties params
func (*PoolUpdatePropertiesParams) SetClientRequestID ¶
func (o *PoolUpdatePropertiesParams) SetClientRequestID(clientRequestID *string)
SetClientRequestID adds the clientRequestId to the pool update properties params
func (*PoolUpdatePropertiesParams) SetContext ¶
func (o *PoolUpdatePropertiesParams) SetContext(ctx context.Context)
SetContext adds the context to the pool update properties params
func (*PoolUpdatePropertiesParams) SetOcpDate ¶
func (o *PoolUpdatePropertiesParams) SetOcpDate(ocpDate *string)
SetOcpDate adds the ocpDate to the pool update properties params
func (*PoolUpdatePropertiesParams) SetPoolID ¶
func (o *PoolUpdatePropertiesParams) SetPoolID(poolID string)
SetPoolID adds the poolId to the pool update properties params
func (*PoolUpdatePropertiesParams) SetPoolUpdatePropertiesParameter ¶
func (o *PoolUpdatePropertiesParams) SetPoolUpdatePropertiesParameter(poolUpdatePropertiesParameter *models.PoolUpdatePropertiesParameter)
SetPoolUpdatePropertiesParameter adds the poolUpdatePropertiesParameter to the pool update properties params
func (*PoolUpdatePropertiesParams) SetRequestTimeout ¶
func (o *PoolUpdatePropertiesParams) SetRequestTimeout(timeout time.Duration)
SetRequestTimeout adds the timeout to the pool update properties params
func (*PoolUpdatePropertiesParams) SetReturnClientRequestID ¶
func (o *PoolUpdatePropertiesParams) SetReturnClientRequestID(returnClientRequestID *bool)
SetReturnClientRequestID adds the returnClientRequestId to the pool update properties params
func (*PoolUpdatePropertiesParams) SetTimeout ¶
func (o *PoolUpdatePropertiesParams) SetTimeout(timeout *int32)
SetTimeout adds the timeout to the pool update properties params
func (*PoolUpdatePropertiesParams) WithAPIVersion ¶
func (o *PoolUpdatePropertiesParams) WithAPIVersion(aPIVersion string) *PoolUpdatePropertiesParams
WithAPIVersion adds the aPIVersion to the pool update properties params
func (*PoolUpdatePropertiesParams) WithClientRequestID ¶
func (o *PoolUpdatePropertiesParams) WithClientRequestID(clientRequestID *string) *PoolUpdatePropertiesParams
WithClientRequestID adds the clientRequestID to the pool update properties params
func (*PoolUpdatePropertiesParams) WithContext ¶
func (o *PoolUpdatePropertiesParams) WithContext(ctx context.Context) *PoolUpdatePropertiesParams
WithContext adds the context to the pool update properties params
func (*PoolUpdatePropertiesParams) WithOcpDate ¶
func (o *PoolUpdatePropertiesParams) WithOcpDate(ocpDate *string) *PoolUpdatePropertiesParams
WithOcpDate adds the ocpDate to the pool update properties params
func (*PoolUpdatePropertiesParams) WithPoolID ¶
func (o *PoolUpdatePropertiesParams) WithPoolID(poolID string) *PoolUpdatePropertiesParams
WithPoolID adds the poolID to the pool update properties params
func (*PoolUpdatePropertiesParams) WithPoolUpdatePropertiesParameter ¶
func (o *PoolUpdatePropertiesParams) WithPoolUpdatePropertiesParameter(poolUpdatePropertiesParameter *models.PoolUpdatePropertiesParameter) *PoolUpdatePropertiesParams
WithPoolUpdatePropertiesParameter adds the poolUpdatePropertiesParameter to the pool update properties params
func (*PoolUpdatePropertiesParams) WithRequestTimeout ¶
func (o *PoolUpdatePropertiesParams) WithRequestTimeout(timeout time.Duration) *PoolUpdatePropertiesParams
WithRequestTimeout adds the timeout to the pool update properties params
func (*PoolUpdatePropertiesParams) WithReturnClientRequestID ¶
func (o *PoolUpdatePropertiesParams) WithReturnClientRequestID(returnClientRequestID *bool) *PoolUpdatePropertiesParams
WithReturnClientRequestID adds the returnClientRequestID to the pool update properties params
func (*PoolUpdatePropertiesParams) WithTimeout ¶
func (o *PoolUpdatePropertiesParams) WithTimeout(timeout *int32) *PoolUpdatePropertiesParams
WithTimeout adds the timeout to the pool update properties params
func (*PoolUpdatePropertiesParams) WriteToRequest ¶
func (o *PoolUpdatePropertiesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PoolUpdatePropertiesReader ¶
type PoolUpdatePropertiesReader struct {
// contains filtered or unexported fields
}
PoolUpdatePropertiesReader is a Reader for the PoolUpdateProperties structure.
func (*PoolUpdatePropertiesReader) ReadResponse ¶
func (o *PoolUpdatePropertiesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PoolUpgradeOSAccepted ¶
type PoolUpgradeOSAccepted 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 }
PoolUpgradeOSAccepted handles this case with default header values.
The request to the Batch service was successful.
func NewPoolUpgradeOSAccepted ¶
func NewPoolUpgradeOSAccepted() *PoolUpgradeOSAccepted
NewPoolUpgradeOSAccepted creates a PoolUpgradeOSAccepted with default headers values
func (*PoolUpgradeOSAccepted) Error ¶
func (o *PoolUpgradeOSAccepted) Error() string
type PoolUpgradeOSDefault ¶
type PoolUpgradeOSDefault struct { Payload *models.BatchError // contains filtered or unexported fields }
PoolUpgradeOSDefault handles this case with default header values.
The error from the Batch service.
func NewPoolUpgradeOSDefault ¶
func NewPoolUpgradeOSDefault(code int) *PoolUpgradeOSDefault
NewPoolUpgradeOSDefault creates a PoolUpgradeOSDefault with default headers values
func (*PoolUpgradeOSDefault) Code ¶
func (o *PoolUpgradeOSDefault) Code() int
Code gets the status code for the pool upgrade o s default response
func (*PoolUpgradeOSDefault) Error ¶
func (o *PoolUpgradeOSDefault) Error() string
type PoolUpgradeOSParams ¶
type PoolUpgradeOSParams 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 /*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 to upgrade. */ PoolID string /*PoolUpgradeOSParameter The parameters for the request. */ PoolUpgradeOSParameter *models.PoolUpgradeOSParameter /*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 }
PoolUpgradeOSParams contains all the parameters to send to the API endpoint for the pool upgrade o s operation typically these are written to a http.Request
func NewPoolUpgradeOSParams ¶
func NewPoolUpgradeOSParams() *PoolUpgradeOSParams
NewPoolUpgradeOSParams creates a new PoolUpgradeOSParams object with the default values initialized.
func NewPoolUpgradeOSParamsWithContext ¶
func NewPoolUpgradeOSParamsWithContext(ctx context.Context) *PoolUpgradeOSParams
NewPoolUpgradeOSParamsWithContext creates a new PoolUpgradeOSParams object with the default values initialized, and the ability to set a context for a request
func NewPoolUpgradeOSParamsWithTimeout ¶
func NewPoolUpgradeOSParamsWithTimeout(timeout time.Duration) *PoolUpgradeOSParams
NewPoolUpgradeOSParamsWithTimeout creates a new PoolUpgradeOSParams object with the default values initialized, and the ability to set a timeout on a request
func (*PoolUpgradeOSParams) SetAPIVersion ¶
func (o *PoolUpgradeOSParams) SetAPIVersion(aPIVersion string)
SetAPIVersion adds the apiVersion to the pool upgrade o s params
func (*PoolUpgradeOSParams) SetClientRequestID ¶
func (o *PoolUpgradeOSParams) SetClientRequestID(clientRequestID *string)
SetClientRequestID adds the clientRequestId to the pool upgrade o s params
func (*PoolUpgradeOSParams) SetContext ¶
func (o *PoolUpgradeOSParams) SetContext(ctx context.Context)
SetContext adds the context to the pool upgrade o s params
func (*PoolUpgradeOSParams) SetIfMatch ¶
func (o *PoolUpgradeOSParams) SetIfMatch(ifMatch *string)
SetIfMatch adds the ifMatch to the pool upgrade o s params
func (*PoolUpgradeOSParams) SetIfModifiedSince ¶
func (o *PoolUpgradeOSParams) SetIfModifiedSince(ifModifiedSince *string)
SetIfModifiedSince adds the ifModifiedSince to the pool upgrade o s params
func (*PoolUpgradeOSParams) SetIfNoneMatch ¶
func (o *PoolUpgradeOSParams) SetIfNoneMatch(ifNoneMatch *string)
SetIfNoneMatch adds the ifNoneMatch to the pool upgrade o s params
func (*PoolUpgradeOSParams) SetIfUnmodifiedSince ¶
func (o *PoolUpgradeOSParams) SetIfUnmodifiedSince(ifUnmodifiedSince *string)
SetIfUnmodifiedSince adds the ifUnmodifiedSince to the pool upgrade o s params
func (*PoolUpgradeOSParams) SetOcpDate ¶
func (o *PoolUpgradeOSParams) SetOcpDate(ocpDate *string)
SetOcpDate adds the ocpDate to the pool upgrade o s params
func (*PoolUpgradeOSParams) SetPoolID ¶
func (o *PoolUpgradeOSParams) SetPoolID(poolID string)
SetPoolID adds the poolId to the pool upgrade o s params
func (*PoolUpgradeOSParams) SetPoolUpgradeOSParameter ¶
func (o *PoolUpgradeOSParams) SetPoolUpgradeOSParameter(poolUpgradeOSParameter *models.PoolUpgradeOSParameter)
SetPoolUpgradeOSParameter adds the poolUpgradeOSParameter to the pool upgrade o s params
func (*PoolUpgradeOSParams) SetRequestTimeout ¶
func (o *PoolUpgradeOSParams) SetRequestTimeout(timeout time.Duration)
SetRequestTimeout adds the timeout to the pool upgrade o s params
func (*PoolUpgradeOSParams) SetReturnClientRequestID ¶
func (o *PoolUpgradeOSParams) SetReturnClientRequestID(returnClientRequestID *bool)
SetReturnClientRequestID adds the returnClientRequestId to the pool upgrade o s params
func (*PoolUpgradeOSParams) SetTimeout ¶
func (o *PoolUpgradeOSParams) SetTimeout(timeout *int32)
SetTimeout adds the timeout to the pool upgrade o s params
func (*PoolUpgradeOSParams) WithAPIVersion ¶
func (o *PoolUpgradeOSParams) WithAPIVersion(aPIVersion string) *PoolUpgradeOSParams
WithAPIVersion adds the aPIVersion to the pool upgrade o s params
func (*PoolUpgradeOSParams) WithClientRequestID ¶
func (o *PoolUpgradeOSParams) WithClientRequestID(clientRequestID *string) *PoolUpgradeOSParams
WithClientRequestID adds the clientRequestID to the pool upgrade o s params
func (*PoolUpgradeOSParams) WithContext ¶
func (o *PoolUpgradeOSParams) WithContext(ctx context.Context) *PoolUpgradeOSParams
WithContext adds the context to the pool upgrade o s params
func (*PoolUpgradeOSParams) WithIfMatch ¶
func (o *PoolUpgradeOSParams) WithIfMatch(ifMatch *string) *PoolUpgradeOSParams
WithIfMatch adds the ifMatch to the pool upgrade o s params
func (*PoolUpgradeOSParams) WithIfModifiedSince ¶
func (o *PoolUpgradeOSParams) WithIfModifiedSince(ifModifiedSince *string) *PoolUpgradeOSParams
WithIfModifiedSince adds the ifModifiedSince to the pool upgrade o s params
func (*PoolUpgradeOSParams) WithIfNoneMatch ¶
func (o *PoolUpgradeOSParams) WithIfNoneMatch(ifNoneMatch *string) *PoolUpgradeOSParams
WithIfNoneMatch adds the ifNoneMatch to the pool upgrade o s params
func (*PoolUpgradeOSParams) WithIfUnmodifiedSince ¶
func (o *PoolUpgradeOSParams) WithIfUnmodifiedSince(ifUnmodifiedSince *string) *PoolUpgradeOSParams
WithIfUnmodifiedSince adds the ifUnmodifiedSince to the pool upgrade o s params
func (*PoolUpgradeOSParams) WithOcpDate ¶
func (o *PoolUpgradeOSParams) WithOcpDate(ocpDate *string) *PoolUpgradeOSParams
WithOcpDate adds the ocpDate to the pool upgrade o s params
func (*PoolUpgradeOSParams) WithPoolID ¶
func (o *PoolUpgradeOSParams) WithPoolID(poolID string) *PoolUpgradeOSParams
WithPoolID adds the poolID to the pool upgrade o s params
func (*PoolUpgradeOSParams) WithPoolUpgradeOSParameter ¶
func (o *PoolUpgradeOSParams) WithPoolUpgradeOSParameter(poolUpgradeOSParameter *models.PoolUpgradeOSParameter) *PoolUpgradeOSParams
WithPoolUpgradeOSParameter adds the poolUpgradeOSParameter to the pool upgrade o s params
func (*PoolUpgradeOSParams) WithRequestTimeout ¶
func (o *PoolUpgradeOSParams) WithRequestTimeout(timeout time.Duration) *PoolUpgradeOSParams
WithRequestTimeout adds the timeout to the pool upgrade o s params
func (*PoolUpgradeOSParams) WithReturnClientRequestID ¶
func (o *PoolUpgradeOSParams) WithReturnClientRequestID(returnClientRequestID *bool) *PoolUpgradeOSParams
WithReturnClientRequestID adds the returnClientRequestID to the pool upgrade o s params
func (*PoolUpgradeOSParams) WithTimeout ¶
func (o *PoolUpgradeOSParams) WithTimeout(timeout *int32) *PoolUpgradeOSParams
WithTimeout adds the timeout to the pool upgrade o s params
func (*PoolUpgradeOSParams) WriteToRequest ¶
func (o *PoolUpgradeOSParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PoolUpgradeOSReader ¶
type PoolUpgradeOSReader struct {
// contains filtered or unexported fields
}
PoolUpgradeOSReader is a Reader for the PoolUpgradeOS structure.
func (*PoolUpgradeOSReader) ReadResponse ¶
func (o *PoolUpgradeOSReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- pool_add_parameters.go
- pool_add_responses.go
- pool_delete_parameters.go
- pool_delete_responses.go
- pool_disable_auto_scale_parameters.go
- pool_disable_auto_scale_responses.go
- pool_enable_auto_scale_parameters.go
- pool_enable_auto_scale_responses.go
- pool_evaluate_auto_scale_parameters.go
- pool_evaluate_auto_scale_responses.go
- pool_exists_parameters.go
- pool_exists_responses.go
- pool_get_all_pools_lifetime_statistics_parameters.go
- pool_get_all_pools_lifetime_statistics_responses.go
- pool_get_parameters.go
- pool_get_responses.go
- pool_list_parameters.go
- pool_list_pool_usage_metrics_parameters.go
- pool_list_pool_usage_metrics_responses.go
- pool_list_responses.go
- pool_patch_parameters.go
- pool_patch_responses.go
- pool_resize_parameters.go
- pool_resize_responses.go
- pool_stop_resize_parameters.go
- pool_stop_resize_responses.go
- pool_update_properties_parameters.go
- pool_update_properties_responses.go
- pool_upgrade_o_s_parameters.go
- pool_upgrade_o_s_responses.go
- pools_client.go