JobEnableOptions Class

Additional parameters for enable operation.

Inheritance
JobEnableOptions

Constructor

JobEnableOptions(*, timeout: int = 30, client_request_id: str = None, return_client_request_id: bool = False, ocp_date=None, if_match: str = None, if_none_match: str = None, if_modified_since=None, if_unmodified_since=None, **kwargs) -> None

Parameters

timeout
int
Required

The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. Default value: 30 .

client_request_id
str
Required

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.

return_client_request_id
bool
Required

Whether the server should return the client-request-id in the response. Default value: False .

ocp_date
datetime
Required

The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.

if_match
str
Required

An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service exactly matches the value specified by the client.

if_none_match
str
Required

An ETag value associated with the version of the resource known to the client. The operation will be performed only if the resource's current ETag on the service does not match the value specified by the client.

if_modified_since
datetime
Required

A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has been modified since the specified time.

if_unmodified_since
datetime
Required

A timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has not been modified since the specified time.