Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions azure-batch/azure/batch/batch_service_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
from .operations.task_operations import TaskOperations
from .operations.compute_node_operations import ComputeNodeOperations
from . import models
from .custom.patch import patch_client


class BatchServiceClientConfiguration(AzureConfiguration):
Expand Down Expand Up @@ -113,6 +112,3 @@ def __init__(
self._client, self.config, self._serialize, self._deserialize)
self.compute_node = ComputeNodeOperations(
self._client, self.config, self._serialize, self._deserialize)


patch_client()
Empty file.
19 changes: 0 additions & 19 deletions azure-batch/azure/batch/custom/custom_errors.py

This file was deleted.

301 changes: 0 additions & 301 deletions azure-batch/azure/batch/custom/patch.py

This file was deleted.

6 changes: 3 additions & 3 deletions azure-batch/azure/batch/models/batch_service_client_enums.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ class CertificateStoreLocation(str, Enum):
class CertificateVisibility(str, Enum):

start_task = "starttask" #: The certificate should be visible to the user account under which the start task is run.
task = "task" #: The certificate should be visibile to the user accounts under which job tasks are run.
remote_user = "remoteuser" #: The certificate should be visibile to the user accounts under which users remotely access the node.
task = "task" #: The certificate should be visible to the user accounts under which job tasks are run.
remote_user = "remoteuser" #: The certificate should be visible to the user accounts under which users remotely access the node.


class CachingType(str, Enum):
Expand Down Expand Up @@ -230,7 +230,7 @@ class ComputeNodeState(str, Enum):
unknown = "unknown" #: The Batch service has lost contact with the node, and does not know its true state.
leaving_pool = "leavingpool" #: The node is leaving the pool, either because the user explicitly removed it or because the pool is resizing or autoscaling down.
offline = "offline" #: The node is not currently running a task, and scheduling of new tasks to the node is disabled.
preempted = "preempted" #: The low-priority node has been preempted. Tasks which were running on the node when it was pre-empted will be rescheduled when another node becomes available.
preempted = "preempted" #: The low-priority node has been preempted. Tasks which were running on the node when it was preempted will be rescheduled when another node becomes available.


class SchedulingState(str, Enum):
Expand Down
2 changes: 1 addition & 1 deletion azure-batch/azure/batch/models/compute_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class ComputeNode(Model):
:type url: str
:param state: The current state of the compute node. The low-priority node
has been preempted. Tasks which were running on the node when it was
pre-empted will be rescheduled when another node becomes available.
preempted will be rescheduled when another node becomes available.
Possible values include: 'idle', 'rebooting', 'reimaging', 'running',
'unusable', 'creating', 'starting', 'waitingForStartTask',
'startTaskFailed', 'unknown', 'leavingPool', 'offline', 'preempted'
Expand Down
2 changes: 1 addition & 1 deletion azure-batch/azure/batch/models/compute_node_py3.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class ComputeNode(Model):
:type url: str
:param state: The current state of the compute node. The low-priority node
has been preempted. Tasks which were running on the node when it was
pre-empted will be rescheduled when another node becomes available.
preempted will be rescheduled when another node becomes available.
Possible values include: 'idle', 'rebooting', 'reimaging', 'running',
'unusable', 'creating', 'starting', 'waitingForStartTask',
'startTaskFailed', 'unknown', 'leavingPool', 'offline', 'preempted'
Expand Down
4 changes: 2 additions & 2 deletions azure-batch/azure/batch/models/exit_conditions.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ class ExitConditions(Model):
the exitCodes or exitCodeRanges collection, with a pre-processing error if
the preProcessingError property is not present, or with a file upload
error if the fileUploadError property is not present. If you want
non-default behaviour on exit code 0, you must list it explicitly using
the exitCodes or exitCodeRanges collection.
non-default behavior on exit code 0, you must list it explicitly using the
exitCodes or exitCodeRanges collection.
:type default: ~azure.batch.models.ExitOptions
"""

Expand Down
4 changes: 2 additions & 2 deletions azure-batch/azure/batch/models/exit_conditions_py3.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ class ExitConditions(Model):
the exitCodes or exitCodeRanges collection, with a pre-processing error if
the preProcessingError property is not present, or with a file upload
error if the fileUploadError property is not present. If you want
non-default behaviour on exit code 0, you must list it explicitly using
the exitCodes or exitCodeRanges collection.
non-default behavior on exit code 0, you must list it explicitly using the
exitCodes or exitCodeRanges collection.
:type default: ~azure.batch.models.ExitOptions
"""

Expand Down
Loading