pyaz/batch/task/__init__.py
def reset(job_id, task_id, account_endpoint=None, account_key=None, account_name=None, if_match=None, if_modified_since=None, if_none_match=None, if_unmodified_since=None, json_file=None, max_task_retry_count=None, max_wall_clock_time=None, retention_time=None):
    '''
    Reset the properties of a Batch task.

    Required Parameters:
    - job_id -- The ID of the Job containing the Task.
    - task_id -- The ID of the Task to update.

    Optional Parameters:
    - account_endpoint -- Batch service endpoint. Alternatively, set by environment variable: AZURE_BATCH_ENDPOINT
    - account_key -- Batch account key. Alternatively, set by environment variable: AZURE_BATCH_ACCESS_KEY
    - account_name -- Batch account name. Alternatively, set by environment variable: AZURE_BATCH_ACCOUNT
    - if_match -- 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_modified_since -- 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_none_match -- 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_unmodified_since -- 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.
    - json_file -- A file containing the constraints specification in JSON (formatted to match the respective REST API body). If this parameter is specified, all 'Constraints Arguments' are ignored.
    - max_task_retry_count -- The maximum number of times the Task may be retried. The Batch service retries a Task if its exit code is nonzero. Note that this value specifically controls the number of retries for the Task executable due to a nonzero exit code. The Batch service will try the Task once, and may then retry up to this limit. For example, if the maximum retry count is 3, Batch tries the Task up to 4 times (one initial try and 3 retries). If the maximum retry count is 0, the Batch service does not retry the Task after the first attempt. If the maximum retry count is -1, the Batch service retries the Task without limit.
    - max_wall_clock_time -- If this is not specified, there is no time limit on how long the Task may run. Expected format is an ISO-8601 duration.
    - retention_time -- The default is 7 days, i.e. the Task directory will be retained for 7 days unless the Compute Node is removed or the Job is deleted. Expected format is an ISO-8601 duration.
    '''
    return _call_az("az batch task reset", locals())

    Reset the properties of a Batch task.

    Required Parameters:
    - job_id -- The ID of the Job containing the Task.
    - task_id -- The ID of the Task to update.

    Optional Parameters:
    - account_endpoint -- Batch service endpoint. Alternatively, set by environment variable: AZURE_BATCH_ENDPOINT
    - account_key -- Batch account key. Alternatively, set by environment variable: AZURE_BATCH_ACCESS_KEY
    - account_name -- Batch account name. Alternatively, set by environment variable: AZURE_BATCH_ACCOUNT
    - if_match -- 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_modified_since -- 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_none_match -- 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_unmodified_since -- 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.
    - json_file -- A file containing the constraints specification in JSON (formatted to match the respective REST API body). If this parameter is specified, all 'Constraints Arguments' are ignored.
    - max_task_retry_count -- The maximum number of times the Task may be retried. The Batch service retries a Task if its exit code is nonzero. Note that this value specifically controls the number of retries for the Task executable due to a nonzero exit code. The Batch service will try the Task once, and may then retry up to this limit. For example, if the maximum retry count is 3, Batch tries the Task up to 4 times (one initial try and 3 retries). If the maximum retry count is 0, the Batch service does not retry the Task after the first attempt. If the maximum retry count is -1, the Batch service retries the Task without limit.
    - max_wall_clock_time -- If this is not specified, there is no time limit on how long the Task may run. Expected format is an ISO-8601 duration.
    - retention_time -- The default is 7 days, i.e. the Task directory will be retained for 7 days unless the Compute Node is removed or the Job is deleted. Expected format is an ISO-8601 duration.
    
Reset the properties of a Batch task.
Required Parameters:
job_id -- The ID of the Job containing the Task.
task_id -- The ID of the Task to update.

Optional Parameters:
account_endpoint -- Batch service endpoint. Alternatively, set by environment variable: AZURE_BATCH_ENDPOINT
account_key -- Batch account key. Alternatively, set by environment variable: AZURE_BATCH_ACCESS_KEY
account_name -- Batch account name. Alternatively, set by environment variable: AZURE_BATCH_ACCOUNT
if_match -- 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_modified_since -- 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_none_match -- 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_unmodified_since -- 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.
json_file -- A file containing the constraints specification in JSON (formatted to match the respective REST API body). If this parameter is specified, all 'Constraints Arguments' are ignored.
max_task_retry_count -- The maximum number of times the Task may be retried. The Batch service retries a Task if its exit code is nonzero. Note that this value specifically controls the number of retries for the Task executable due to a nonzero exit code. The Batch service will try the Task once, and may then retry up to this limit. For example, if the maximum retry count is 3, Batch tries the Task up to 4 times (one initial try and 3 retries). If the maximum retry count is 0, the Batch service does not retry the Task after the first attempt. If the maximum retry count is -1, the Batch service retries the Task without limit.
max_wall_clock_time -- If this is not specified, there is no time limit on how long the Task may run. Expected format is an ISO-8601 duration.
retention_time -- The default is 7 days, i.e. the Task directory will be retained for 7 days unless the Compute Node is removed or the Job is deleted. Expected format is an ISO-8601 duration.
Reset the properties of a Batch task . Required Parameters : job_id -- The ID of the Job containing the Task . task_id -- The ID of the Task to update . Optional Parameters : account_endpoint -- Batch service endpoint . Alternatively set by environment variable : AZURE_BATCH_ENDPOINT account_key -- Batch account key . Alternatively set by environment variable : AZURE_BATCH_ACCESS_KEY account_name -- Batch account name . Alternatively set by environment variable : AZURE_BATCH_ACCOUNT if_match -- 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_modified_since -- 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_none_match -- 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_unmodified_since -- 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 . json_file -- A file containing the constraints specification in JSON ( formatted to match the respective REST API body ) . If this parameter is specified all ' Constraints Arguments ' are ignored . max_task_retry_count -- The maximum number of times the Task may be retried . The Batch service retries a Task if its exit code is nonzero . Note that this value specifically controls the number of retries for the Task executable due to a nonzero exit code . The Batch service will try the Task once and may then retry up to this limit . For example if the maximum retry count is 3 Batch tries the Task up to 4 times ( one initial try and 3 retries ) . If the maximum retry count is 0 the Batch service does not retry the Task after the first attempt . If the maximum retry count is - 1 the Batch service retries the Task without limit . max_wall_clock_time -- If this is not specified there is no time limit on how long the Task may run . Expected format is an ISO - 8601 duration . retention_time -- The default is 7 days i . e . the Task directory will be retained for 7 days unless the Compute Node is removed or the Job is deleted . Expected format is an ISO - 8601 duration .
def reset(job_id, task_id, account_endpoint=None, account_key=None, account_name=None, if_match=None, if_modified_since=None, if_none_match=None, if_unmodified_since=None, json_file=None, max_task_retry_count=None, max_wall_clock_time=None, retention_time=None):
    return _call_az("az batch task reset", locals())
def reset ( job_id , task_id , account_endpoint = None , account_key = None , account_name = None , if_match = None , if_modified_since = None , if_none_match = None , if_unmodified_since = None , json_file = None , max_task_retry_count = None , max_wall_clock_time = None , retention_time = None ) : return _call_az ( "az batch task reset" , locals ( ) )
Reset the properties of a Batch task.
Reset the properties of a Batch task .
'''
    Reset the properties of a Batch task.

    Required Parameters:
    - job_id -- The ID of the Job containing the Task.
    - task_id -- The ID of the Task to update.

    Optional Parameters:
    - account_endpoint -- Batch service endpoint. Alternatively, set by environment variable: AZURE_BATCH_ENDPOINT
    - account_key -- Batch account key. Alternatively, set by environment variable: AZURE_BATCH_ACCESS_KEY
    - account_name -- Batch account name. Alternatively, set by environment variable: AZURE_BATCH_ACCOUNT
    - if_match -- 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_modified_since -- 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_none_match -- 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_unmodified_since -- 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.
    - json_file -- A file containing the constraints specification in JSON (formatted to match the respective REST API body). If this parameter is specified, all 'Constraints Arguments' are ignored.
    - max_task_retry_count -- The maximum number of times the Task may be retried. The Batch service retries a Task if its exit code is nonzero. Note that this value specifically controls the number of retries for the Task executable due to a nonzero exit code. The Batch service will try the Task once, and may then retry up to this limit. For example, if the maximum retry count is 3, Batch tries the Task up to 4 times (one initial try and 3 retries). If the maximum retry count is 0, the Batch service does not retry the Task after the first attempt. If the maximum retry count is -1, the Batch service retries the Task without limit.
    - max_wall_clock_time -- If this is not specified, there is no time limit on how long the Task may run. Expected format is an ISO-8601 duration.
    - retention_time -- The default is 7 days, i.e. the Task directory will be retained for 7 days unless the Compute Node is removed or the Job is deleted. Expected format is an ISO-8601 duration.
    '''
job_id
task_id
account_endpoint
account_key
account_name
if_match
if_modified_since
if_none_match
if_unmodified_since
json_file
max_task_retry_count
max_wall_clock_time
retention_time