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
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,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
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class VirtualMachineConfiguration(Model):
property specifies a Linux OS image.
:type windows_configuration: ~azure.batch.models.WindowsConfiguration
:param data_disks: The configuration for data disks attached to the
comptue nodes in the pool. This property must be specified if the compute
compute nodes in the pool. This property must be specified if the compute
nodes in the pool need to have empty data disks attached to them. This
cannot be updated. Each node gets its own disk (the disk is not a file
share). Existing disks cannot be attached, each attached disk is empty.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class VirtualMachineConfiguration(Model):
property specifies a Linux OS image.
:type windows_configuration: ~azure.batch.models.WindowsConfiguration
:param data_disks: The configuration for data disks attached to the
comptue nodes in the pool. This property must be specified if the compute
compute nodes in the pool. This property must be specified if the compute
nodes in the pool need to have empty data disks attached to them. This
cannot be updated. Each node gets its own disk (the disk is not a file
share). Existing disks cannot be attached, each attached disk is empty.
Expand Down
136 changes: 68 additions & 68 deletions azure-batch/build.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,13 @@
"pipe": "/tmp/pipe__root_.autorest.busy-lock:37199"
},
"personalLock": {
"name": "_root_.autorest.4492.570163087388.personal-lock",
"name": "_root_.autorest.2887.972548981721.personal-lock",
"options": {
"port": 16235,
"host": "2130720978",
"port": 29714,
"host": "2130746708",
"exclusive": true
},
"pipe": "/tmp/pipe__root_.autorest.4492.570163087388.personal-lock:16235"
"pipe": "/tmp/pipe__root_.autorest.2887.972548981721.personal-lock:29714"
},
"file": "/tmp/_root_.autorest.lock"
},
Expand Down Expand Up @@ -162,13 +162,13 @@
"pipe": "/tmp/pipe__root_.autorest.busy-lock:37199"
},
"personalLock": {
"name": "_root_.autorest.4492.570163087388.personal-lock",
"name": "_root_.autorest.2887.972548981721.personal-lock",
"options": {
"port": 16235,
"host": "2130720978",
"port": 29714,
"host": "2130746708",
"exclusive": true
},
"pipe": "/tmp/pipe__root_.autorest.4492.570163087388.personal-lock:16235"
"pipe": "/tmp/pipe__root_.autorest.2887.972548981721.personal-lock:29714"
},
"file": "/tmp/_root_.autorest.lock"
},
Expand Down Expand Up @@ -253,13 +253,13 @@
"pipe": "/tmp/pipe__root_.autorest.busy-lock:37199"
},
"personalLock": {
"name": "_root_.autorest.4492.570163087388.personal-lock",
"name": "_root_.autorest.2887.972548981721.personal-lock",
"options": {
"port": 16235,
"host": "2130720978",
"port": 29714,
"host": "2130746708",
"exclusive": true
},
"pipe": "/tmp/pipe__root_.autorest.4492.570163087388.personal-lock:16235"
"pipe": "/tmp/pipe__root_.autorest.2887.972548981721.personal-lock:29714"
},
"file": "/tmp/_root_.autorest.lock"
},
Expand Down Expand Up @@ -344,13 +344,13 @@
"pipe": "/tmp/pipe__root_.autorest.busy-lock:37199"
},
"personalLock": {
"name": "_root_.autorest.4492.570163087388.personal-lock",
"name": "_root_.autorest.2887.972548981721.personal-lock",
"options": {
"port": 16235,
"host": "2130720978",
"port": 29714,
"host": "2130746708",
"exclusive": true
},
"pipe": "/tmp/pipe__root_.autorest.4492.570163087388.personal-lock:16235"
"pipe": "/tmp/pipe__root_.autorest.2887.972548981721.personal-lock:29714"
},
"file": "/tmp/_root_.autorest.lock"
},
Expand Down Expand Up @@ -435,13 +435,13 @@
"pipe": "/tmp/pipe__root_.autorest.busy-lock:37199"
},
"personalLock": {
"name": "_root_.autorest.4492.570163087388.personal-lock",
"name": "_root_.autorest.2887.972548981721.personal-lock",
"options": {
"port": 16235,
"host": "2130720978",
"port": 29714,
"host": "2130746708",
"exclusive": true
},
"pipe": "/tmp/pipe__root_.autorest.4492.570163087388.personal-lock:16235"
"pipe": "/tmp/pipe__root_.autorest.2887.972548981721.personal-lock:29714"
},
"file": "/tmp/_root_.autorest.lock"
},
Expand Down Expand Up @@ -526,13 +526,13 @@
"pipe": "/tmp/pipe__root_.autorest.busy-lock:37199"
},
"personalLock": {
"name": "_root_.autorest.4492.570163087388.personal-lock",
"name": "_root_.autorest.2887.972548981721.personal-lock",
"options": {
"port": 16235,
"host": "2130720978",
"port": 29714,
"host": "2130746708",
"exclusive": true
},
"pipe": "/tmp/pipe__root_.autorest.4492.570163087388.personal-lock:16235"
"pipe": "/tmp/pipe__root_.autorest.2887.972548981721.personal-lock:29714"
},
"file": "/tmp/_root_.autorest.lock"
},
Expand Down Expand Up @@ -615,13 +615,13 @@
"pipe": "/tmp/pipe__root_.autorest.busy-lock:37199"
},
"personalLock": {
"name": "_root_.autorest.4492.570163087388.personal-lock",
"name": "_root_.autorest.2887.972548981721.personal-lock",
"options": {
"port": 16235,
"host": "2130720978",
"port": 29714,
"host": "2130746708",
"exclusive": true
},
"pipe": "/tmp/pipe__root_.autorest.4492.570163087388.personal-lock:16235"
"pipe": "/tmp/pipe__root_.autorest.2887.972548981721.personal-lock:29714"
},
"file": "/tmp/_root_.autorest.lock"
},
Expand Down Expand Up @@ -701,13 +701,13 @@
"pipe": "/tmp/pipe__root_.autorest.busy-lock:37199"
},
"personalLock": {
"name": "_root_.autorest.4492.570163087388.personal-lock",
"name": "_root_.autorest.2887.972548981721.personal-lock",
"options": {
"port": 16235,
"host": "2130720978",
"port": 29714,
"host": "2130746708",
"exclusive": true
},
"pipe": "/tmp/pipe__root_.autorest.4492.570163087388.personal-lock:16235"
"pipe": "/tmp/pipe__root_.autorest.2887.972548981721.personal-lock:29714"
},
"file": "/tmp/_root_.autorest.lock"
},
Expand Down Expand Up @@ -786,13 +786,13 @@
"pipe": "/tmp/pipe__root_.autorest.busy-lock:37199"
},
"personalLock": {
"name": "_root_.autorest.4492.570163087388.personal-lock",
"name": "_root_.autorest.2887.972548981721.personal-lock",
"options": {
"port": 16235,
"host": "2130720978",
"port": 29714,
"host": "2130746708",
"exclusive": true
},
"pipe": "/tmp/pipe__root_.autorest.4492.570163087388.personal-lock:16235"
"pipe": "/tmp/pipe__root_.autorest.2887.972548981721.personal-lock:29714"
},
"file": "/tmp/_root_.autorest.lock"
},
Expand Down Expand Up @@ -871,13 +871,13 @@
"pipe": "/tmp/pipe__root_.autorest.busy-lock:37199"
},
"personalLock": {
"name": "_root_.autorest.4492.570163087388.personal-lock",
"name": "_root_.autorest.2887.972548981721.personal-lock",
"options": {
"port": 16235,
"host": "2130720978",
"port": 29714,
"host": "2130746708",
"exclusive": true
},
"pipe": "/tmp/pipe__root_.autorest.4492.570163087388.personal-lock:16235"
"pipe": "/tmp/pipe__root_.autorest.2887.972548981721.personal-lock:29714"
},
"file": "/tmp/_root_.autorest.lock"
},
Expand Down Expand Up @@ -956,13 +956,13 @@
"pipe": "/tmp/pipe__root_.autorest.busy-lock:37199"
},
"personalLock": {
"name": "_root_.autorest.4492.570163087388.personal-lock",
"name": "_root_.autorest.2887.972548981721.personal-lock",
"options": {
"port": 16235,
"host": "2130720978",
"port": 29714,
"host": "2130746708",
"exclusive": true
},
"pipe": "/tmp/pipe__root_.autorest.4492.570163087388.personal-lock:16235"
"pipe": "/tmp/pipe__root_.autorest.2887.972548981721.personal-lock:29714"
},
"file": "/tmp/_root_.autorest.lock"
},
Expand Down Expand Up @@ -1041,13 +1041,13 @@
"pipe": "/tmp/pipe__root_.autorest.busy-lock:37199"
},
"personalLock": {
"name": "_root_.autorest.4492.570163087388.personal-lock",
"name": "_root_.autorest.2887.972548981721.personal-lock",
"options": {
"port": 16235,
"host": "2130720978",
"port": 29714,
"host": "2130746708",
"exclusive": true
},
"pipe": "/tmp/pipe__root_.autorest.4492.570163087388.personal-lock:16235"
"pipe": "/tmp/pipe__root_.autorest.2887.972548981721.personal-lock:29714"
},
"file": "/tmp/_root_.autorest.lock"
},
Expand Down Expand Up @@ -1126,13 +1126,13 @@
"pipe": "/tmp/pipe__root_.autorest.busy-lock:37199"
},
"personalLock": {
"name": "_root_.autorest.4492.570163087388.personal-lock",
"name": "_root_.autorest.2887.972548981721.personal-lock",
"options": {
"port": 16235,
"host": "2130720978",
"port": 29714,
"host": "2130746708",
"exclusive": true
},
"pipe": "/tmp/pipe__root_.autorest.4492.570163087388.personal-lock:16235"
"pipe": "/tmp/pipe__root_.autorest.2887.972548981721.personal-lock:29714"
},
"file": "/tmp/_root_.autorest.lock"
},
Expand Down Expand Up @@ -1211,13 +1211,13 @@
"pipe": "/tmp/pipe__root_.autorest.busy-lock:37199"
},
"personalLock": {
"name": "_root_.autorest.4492.570163087388.personal-lock",
"name": "_root_.autorest.2887.972548981721.personal-lock",
"options": {
"port": 16235,
"host": "2130720978",
"port": 29714,
"host": "2130746708",
"exclusive": true
},
"pipe": "/tmp/pipe__root_.autorest.4492.570163087388.personal-lock:16235"
"pipe": "/tmp/pipe__root_.autorest.2887.972548981721.personal-lock:29714"
},
"file": "/tmp/_root_.autorest.lock"
},
Expand Down Expand Up @@ -1281,13 +1281,13 @@
"pipe": "/tmp/pipe__root_.autorest.busy-lock:37199"
},
"personalLock": {
"name": "_root_.autorest.4492.570163087388.personal-lock",
"name": "_root_.autorest.2887.972548981721.personal-lock",
"options": {
"port": 16235,
"host": "2130720978",
"port": 29714,
"host": "2130746708",
"exclusive": true
},
"pipe": "/tmp/pipe__root_.autorest.4492.570163087388.personal-lock:16235"
"pipe": "/tmp/pipe__root_.autorest.2887.972548981721.personal-lock:29714"
},
"file": "/tmp/_root_.autorest.lock"
},
Expand Down Expand Up @@ -1364,13 +1364,13 @@
"pipe": "/tmp/pipe__root_.autorest.busy-lock:37199"
},
"personalLock": {
"name": "_root_.autorest.4492.570163087388.personal-lock",
"name": "_root_.autorest.2887.972548981721.personal-lock",
"options": {
"port": 16235,
"host": "2130720978",
"port": 29714,
"host": "2130746708",
"exclusive": true
},
"pipe": "/tmp/pipe__root_.autorest.4492.570163087388.personal-lock:16235"
"pipe": "/tmp/pipe__root_.autorest.2887.972548981721.personal-lock:29714"
},
"file": "/tmp/_root_.autorest.lock"
},
Expand Down Expand Up @@ -1480,13 +1480,13 @@
"pipe": "/tmp/pipe__root_.autorest.busy-lock:37199"
},
"personalLock": {
"name": "_root_.autorest.4492.570163087388.personal-lock",
"name": "_root_.autorest.2887.972548981721.personal-lock",
"options": {
"port": 16235,
"host": "2130720978",
"port": 29714,
"host": "2130746708",
"exclusive": true
},
"pipe": "/tmp/pipe__root_.autorest.4492.570163087388.personal-lock:16235"
"pipe": "/tmp/pipe__root_.autorest.2887.972548981721.personal-lock:29714"
},
"file": "/tmp/_root_.autorest.lock"
},
Expand Down