pulumi-azure-native 2.58.0a1724260656__py3-none-any.whl → 2.58.0a1724403460__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-azure-native might be problematic. Click here for more details.
- pulumi_azure_native/__init__.py +52 -0
- pulumi_azure_native/azurelargeinstance/__init__.py +22 -0
- pulumi_azure_native/azurelargeinstance/_enums.py +256 -0
- pulumi_azure_native/azurelargeinstance/_inputs.py +646 -0
- pulumi_azure_native/azurelargeinstance/azure_large_instance.py +475 -0
- pulumi_azure_native/azurelargeinstance/azure_large_storage_instance.py +320 -0
- pulumi_azure_native/azurelargeinstance/get_azure_large_instance.py +271 -0
- pulumi_azure_native/azurelargeinstance/get_azure_large_storage_instance.py +193 -0
- pulumi_azure_native/azurelargeinstance/outputs.py +795 -0
- pulumi_azure_native/azurelargeinstance/v20240801preview/__init__.py +14 -0
- pulumi_azure_native/azurelargeinstance/v20240801preview/_enums.py +256 -0
- pulumi_azure_native/azurelargeinstance/v20240801preview/_inputs.py +646 -0
- pulumi_azure_native/azurelargeinstance/v20240801preview/azure_large_instance.py +473 -0
- pulumi_azure_native/azurelargeinstance/v20240801preview/azure_large_storage_instance.py +318 -0
- pulumi_azure_native/azurelargeinstance/v20240801preview/get_azure_large_instance.py +269 -0
- pulumi_azure_native/azurelargeinstance/v20240801preview/get_azure_large_storage_instance.py +191 -0
- pulumi_azure_native/azurelargeinstance/v20240801preview/outputs.py +795 -0
- pulumi_azure_native/baremetalinfrastructure/__init__.py +5 -0
- pulumi_azure_native/baremetalinfrastructure/_enums.py +74 -0
- pulumi_azure_native/baremetalinfrastructure/_inputs.py +368 -0
- pulumi_azure_native/baremetalinfrastructure/azure_bare_metal_instance.py +502 -0
- pulumi_azure_native/baremetalinfrastructure/azure_bare_metal_storage_instance.py +3 -3
- pulumi_azure_native/baremetalinfrastructure/get_azure_bare_metal_instance.py +281 -0
- pulumi_azure_native/baremetalinfrastructure/get_azure_bare_metal_storage_instance.py +2 -2
- pulumi_azure_native/baremetalinfrastructure/outputs.py +351 -0
- pulumi_azure_native/baremetalinfrastructure/v20230406/azure_bare_metal_storage_instance.py +1 -1
- pulumi_azure_native/baremetalinfrastructure/v20230804preview/azure_bare_metal_storage_instance.py +1 -1
- pulumi_azure_native/baremetalinfrastructure/v20231101preview/azure_bare_metal_storage_instance.py +1 -1
- pulumi_azure_native/baremetalinfrastructure/v20240801preview/__init__.py +14 -0
- pulumi_azure_native/baremetalinfrastructure/v20240801preview/_enums.py +106 -0
- pulumi_azure_native/baremetalinfrastructure/v20240801preview/_inputs.py +644 -0
- pulumi_azure_native/baremetalinfrastructure/v20240801preview/azure_bare_metal_instance.py +500 -0
- pulumi_azure_native/baremetalinfrastructure/v20240801preview/azure_bare_metal_storage_instance.py +316 -0
- pulumi_azure_native/baremetalinfrastructure/v20240801preview/get_azure_bare_metal_instance.py +279 -0
- pulumi_azure_native/baremetalinfrastructure/v20240801preview/get_azure_bare_metal_storage_instance.py +188 -0
- pulumi_azure_native/baremetalinfrastructure/v20240801preview/outputs.py +726 -0
- pulumi_azure_native/batch/__init__.py +3 -0
- pulumi_azure_native/batch/application.py +3 -3
- pulumi_azure_native/batch/application_package.py +3 -3
- pulumi_azure_native/batch/batch_account.py +3 -3
- pulumi_azure_native/batch/get_application.py +2 -2
- pulumi_azure_native/batch/get_application_package.py +2 -2
- pulumi_azure_native/batch/get_batch_account.py +2 -2
- pulumi_azure_native/batch/get_pool.py +2 -2
- pulumi_azure_native/batch/list_batch_account_keys.py +2 -2
- pulumi_azure_native/batch/pool.py +3 -3
- pulumi_azure_native/batch/v20220101/batch_account.py +1 -1
- pulumi_azure_native/batch/v20230501/application.py +1 -1
- pulumi_azure_native/batch/v20230501/application_package.py +1 -1
- pulumi_azure_native/batch/v20230501/batch_account.py +1 -1
- pulumi_azure_native/batch/v20230501/pool.py +1 -1
- pulumi_azure_native/batch/v20231101/application.py +1 -1
- pulumi_azure_native/batch/v20231101/application_package.py +1 -1
- pulumi_azure_native/batch/v20231101/batch_account.py +1 -1
- pulumi_azure_native/batch/v20231101/pool.py +1 -1
- pulumi_azure_native/batch/v20240201/application.py +1 -1
- pulumi_azure_native/batch/v20240201/application_package.py +1 -1
- pulumi_azure_native/batch/v20240201/batch_account.py +1 -1
- pulumi_azure_native/batch/v20240201/pool.py +1 -1
- pulumi_azure_native/batch/v20240701/__init__.py +19 -0
- pulumi_azure_native/batch/v20240701/_enums.py +510 -0
- pulumi_azure_native/batch/v20240701/_inputs.py +4319 -0
- pulumi_azure_native/batch/v20240701/application.py +305 -0
- pulumi_azure_native/batch/v20240701/application_package.py +289 -0
- pulumi_azure_native/batch/v20240701/batch_account.py +545 -0
- pulumi_azure_native/batch/v20240701/get_application.py +179 -0
- pulumi_azure_native/batch/v20240701/get_application_package.py +210 -0
- pulumi_azure_native/batch/v20240701/get_batch_account.py +364 -0
- pulumi_azure_native/batch/v20240701/get_pool.py +503 -0
- pulumi_azure_native/batch/v20240701/list_batch_account_keys.py +109 -0
- pulumi_azure_native/batch/v20240701/outputs.py +4161 -0
- pulumi_azure_native/batch/v20240701/pool.py +854 -0
- pulumi_azure_native/hardwaresecuritymodules/__init__.py +3 -0
- pulumi_azure_native/hardwaresecuritymodules/cloud_hsm_cluster.py +3 -3
- pulumi_azure_native/hardwaresecuritymodules/cloud_hsm_cluster_private_endpoint_connection.py +3 -3
- pulumi_azure_native/hardwaresecuritymodules/dedicated_hsm.py +5 -1
- pulumi_azure_native/hardwaresecuritymodules/get_cloud_hsm_cluster.py +2 -2
- pulumi_azure_native/hardwaresecuritymodules/get_cloud_hsm_cluster_private_endpoint_connection.py +2 -2
- pulumi_azure_native/hardwaresecuritymodules/get_dedicated_hsm.py +4 -0
- pulumi_azure_native/hardwaresecuritymodules/v20211130/dedicated_hsm.py +1 -1
- pulumi_azure_native/hardwaresecuritymodules/v20220831preview/cloud_hsm_cluster.py +1 -1
- pulumi_azure_native/hardwaresecuritymodules/v20220831preview/cloud_hsm_cluster_private_endpoint_connection.py +1 -1
- pulumi_azure_native/hardwaresecuritymodules/v20231210preview/cloud_hsm_cluster.py +1 -1
- pulumi_azure_native/hardwaresecuritymodules/v20231210preview/cloud_hsm_cluster_private_endpoint_connection.py +1 -1
- pulumi_azure_native/hardwaresecuritymodules/v20240630preview/__init__.py +16 -0
- pulumi_azure_native/hardwaresecuritymodules/v20240630preview/_enums.py +100 -0
- pulumi_azure_native/hardwaresecuritymodules/v20240630preview/_inputs.py +405 -0
- pulumi_azure_native/hardwaresecuritymodules/v20240630preview/cloud_hsm_cluster.py +428 -0
- pulumi_azure_native/hardwaresecuritymodules/v20240630preview/cloud_hsm_cluster_private_endpoint_connection.py +262 -0
- pulumi_azure_native/hardwaresecuritymodules/v20240630preview/dedicated_hsm.py +394 -0
- pulumi_azure_native/hardwaresecuritymodules/v20240630preview/get_cloud_hsm_cluster.py +279 -0
- pulumi_azure_native/hardwaresecuritymodules/v20240630preview/get_cloud_hsm_cluster_private_endpoint_connection.py +193 -0
- pulumi_azure_native/hardwaresecuritymodules/v20240630preview/get_dedicated_hsm.py +240 -0
- pulumi_azure_native/hardwaresecuritymodules/v20240630preview/outputs.py +772 -0
- pulumi_azure_native/machinelearningservices/v20240701preview/_inputs.py +20 -0
- pulumi_azure_native/machinelearningservices/v20240701preview/outputs.py +12 -11
- pulumi_azure_native/pulumi-plugin.json +1 -1
- {pulumi_azure_native-2.58.0a1724260656.dist-info → pulumi_azure_native-2.58.0a1724403460.dist-info}/METADATA +1 -1
- {pulumi_azure_native-2.58.0a1724260656.dist-info → pulumi_azure_native-2.58.0a1724403460.dist-info}/RECORD +101 -52
- {pulumi_azure_native-2.58.0a1724260656.dist-info → pulumi_azure_native-2.58.0a1724403460.dist-info}/WHEEL +0 -0
- {pulumi_azure_native-2.58.0a1724260656.dist-info → pulumi_azure_native-2.58.0a1724403460.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,510 @@
|
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
|
|
5
|
+
from enum import Enum
|
|
6
|
+
|
|
7
|
+
__all__ = [
|
|
8
|
+
'AuthenticationMode',
|
|
9
|
+
'AutoStorageAuthenticationMode',
|
|
10
|
+
'AutoUserScope',
|
|
11
|
+
'CachingType',
|
|
12
|
+
'CertificateStoreLocation',
|
|
13
|
+
'CertificateVisibility',
|
|
14
|
+
'ComputeNodeDeallocationOption',
|
|
15
|
+
'ComputeNodeFillType',
|
|
16
|
+
'ContainerHostDataPath',
|
|
17
|
+
'ContainerType',
|
|
18
|
+
'ContainerWorkingDirectory',
|
|
19
|
+
'DiffDiskPlacement',
|
|
20
|
+
'DiskEncryptionTarget',
|
|
21
|
+
'DynamicVNetAssignmentScope',
|
|
22
|
+
'ElevationLevel',
|
|
23
|
+
'EndpointAccessDefaultAction',
|
|
24
|
+
'IPAddressProvisioningType',
|
|
25
|
+
'IPRuleAction',
|
|
26
|
+
'InboundEndpointProtocol',
|
|
27
|
+
'InterNodeCommunicationState',
|
|
28
|
+
'KeySource',
|
|
29
|
+
'LoginMode',
|
|
30
|
+
'NetworkSecurityGroupRuleAccess',
|
|
31
|
+
'NodeCommunicationMode',
|
|
32
|
+
'NodePlacementPolicyType',
|
|
33
|
+
'PoolAllocationMode',
|
|
34
|
+
'PoolIdentityType',
|
|
35
|
+
'PublicNetworkAccessType',
|
|
36
|
+
'ResourceIdentityType',
|
|
37
|
+
'SecurityEncryptionTypes',
|
|
38
|
+
'SecurityTypes',
|
|
39
|
+
'StorageAccountType',
|
|
40
|
+
'UpgradeMode',
|
|
41
|
+
]
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
class AuthenticationMode(str, Enum):
|
|
45
|
+
"""
|
|
46
|
+
The authentication mode for the Batch account.
|
|
47
|
+
"""
|
|
48
|
+
SHARED_KEY = "SharedKey"
|
|
49
|
+
"""
|
|
50
|
+
The authentication mode using shared keys.
|
|
51
|
+
"""
|
|
52
|
+
AAD = "AAD"
|
|
53
|
+
"""
|
|
54
|
+
The authentication mode using Microsoft Entra ID.
|
|
55
|
+
"""
|
|
56
|
+
TASK_AUTHENTICATION_TOKEN = "TaskAuthenticationToken"
|
|
57
|
+
"""
|
|
58
|
+
The authentication mode using task authentication tokens.
|
|
59
|
+
"""
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
class AutoStorageAuthenticationMode(str, Enum):
|
|
63
|
+
"""
|
|
64
|
+
The authentication mode which the Batch service will use to manage the auto-storage account.
|
|
65
|
+
"""
|
|
66
|
+
STORAGE_KEYS = "StorageKeys"
|
|
67
|
+
"""
|
|
68
|
+
The Batch service will authenticate requests to auto-storage using storage account keys.
|
|
69
|
+
"""
|
|
70
|
+
BATCH_ACCOUNT_MANAGED_IDENTITY = "BatchAccountManagedIdentity"
|
|
71
|
+
"""
|
|
72
|
+
The Batch service will authenticate requests to auto-storage using the managed identity assigned to the Batch account.
|
|
73
|
+
"""
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
class AutoUserScope(str, Enum):
|
|
77
|
+
"""
|
|
78
|
+
The default value is Pool. If the pool is running Windows a value of Task should be specified if stricter isolation between tasks is required. For example, if the task mutates the registry in a way which could impact other tasks, or if certificates have been specified on the pool which should not be accessible by normal tasks but should be accessible by start tasks.
|
|
79
|
+
"""
|
|
80
|
+
TASK = "Task"
|
|
81
|
+
"""
|
|
82
|
+
Specifies that the service should create a new user for the task.
|
|
83
|
+
"""
|
|
84
|
+
POOL = "Pool"
|
|
85
|
+
"""
|
|
86
|
+
Specifies that the task runs as the common auto user account which is created on every node in a pool.
|
|
87
|
+
"""
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
class CachingType(str, Enum):
|
|
91
|
+
NONE = "None"
|
|
92
|
+
"""
|
|
93
|
+
The caching mode for the disk is not enabled.
|
|
94
|
+
"""
|
|
95
|
+
READ_ONLY = "ReadOnly"
|
|
96
|
+
"""
|
|
97
|
+
The caching mode for the disk is read only.
|
|
98
|
+
"""
|
|
99
|
+
READ_WRITE = "ReadWrite"
|
|
100
|
+
"""
|
|
101
|
+
The caching mode for the disk is read and write.
|
|
102
|
+
"""
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
class CertificateStoreLocation(str, Enum):
|
|
106
|
+
"""
|
|
107
|
+
The default value is currentUser. This property is applicable only for pools configured with Windows compute nodes. For Linux compute nodes, the certificates are stored in a directory inside the task working directory and an environment variable AZ_BATCH_CERTIFICATES_DIR is supplied to the task to query for this location. For certificates with visibility of 'remoteUser', a 'certs' directory is created in the user's home directory (e.g., /home/{user-name}/certs) and certificates are placed in that directory.
|
|
108
|
+
"""
|
|
109
|
+
CURRENT_USER = "CurrentUser"
|
|
110
|
+
"""
|
|
111
|
+
Certificates should be installed to the CurrentUser certificate store.
|
|
112
|
+
"""
|
|
113
|
+
LOCAL_MACHINE = "LocalMachine"
|
|
114
|
+
"""
|
|
115
|
+
Certificates should be installed to the LocalMachine certificate store.
|
|
116
|
+
"""
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
class CertificateVisibility(str, Enum):
|
|
120
|
+
START_TASK = "StartTask"
|
|
121
|
+
"""
|
|
122
|
+
The certificate should be visible to the user account under which the start task is run. Note that if AutoUser Scope is Pool for both the StartTask and a Task, this certificate will be visible to the Task as well.
|
|
123
|
+
"""
|
|
124
|
+
TASK = "Task"
|
|
125
|
+
"""
|
|
126
|
+
The certificate should be visible to the user accounts under which job tasks are run.
|
|
127
|
+
"""
|
|
128
|
+
REMOTE_USER = "RemoteUser"
|
|
129
|
+
"""
|
|
130
|
+
The certificate should be visible to the user accounts under which users remotely access the node.
|
|
131
|
+
"""
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
class ComputeNodeDeallocationOption(str, Enum):
|
|
135
|
+
"""
|
|
136
|
+
If omitted, the default value is Requeue.
|
|
137
|
+
"""
|
|
138
|
+
REQUEUE = "Requeue"
|
|
139
|
+
"""
|
|
140
|
+
Terminate running task processes and requeue the tasks. The tasks will run again when a node is available. Remove nodes as soon as tasks have been terminated.
|
|
141
|
+
"""
|
|
142
|
+
TERMINATE = "Terminate"
|
|
143
|
+
"""
|
|
144
|
+
Terminate running tasks. The tasks will be completed with failureInfo indicating that they were terminated, and will not run again. Remove nodes as soon as tasks have been terminated.
|
|
145
|
+
"""
|
|
146
|
+
TASK_COMPLETION = "TaskCompletion"
|
|
147
|
+
"""
|
|
148
|
+
Allow currently running tasks to complete. Schedule no new tasks while waiting. Remove nodes when all tasks have completed.
|
|
149
|
+
"""
|
|
150
|
+
RETAINED_DATA = "RetainedData"
|
|
151
|
+
"""
|
|
152
|
+
Allow currently running tasks to complete, then wait for all task data retention periods to expire. Schedule no new tasks while waiting. Remove nodes when all task retention periods have expired.
|
|
153
|
+
"""
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
class ComputeNodeFillType(str, Enum):
|
|
157
|
+
SPREAD = "Spread"
|
|
158
|
+
"""
|
|
159
|
+
Tasks should be assigned evenly across all nodes in the pool.
|
|
160
|
+
"""
|
|
161
|
+
PACK = "Pack"
|
|
162
|
+
"""
|
|
163
|
+
As many tasks as possible (taskSlotsPerNode) should be assigned to each node in the pool before any tasks are assigned to the next node in the pool.
|
|
164
|
+
"""
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
class ContainerHostDataPath(str, Enum):
|
|
168
|
+
SHARED = "Shared"
|
|
169
|
+
"""
|
|
170
|
+
The path for multi-instances task to shared their files.
|
|
171
|
+
"""
|
|
172
|
+
STARTUP = "Startup"
|
|
173
|
+
"""
|
|
174
|
+
The path for start task.
|
|
175
|
+
"""
|
|
176
|
+
VFS_MOUNTS = "VfsMounts"
|
|
177
|
+
"""
|
|
178
|
+
The path contains all virtual file systems are mounted on this node.
|
|
179
|
+
"""
|
|
180
|
+
TASK = "Task"
|
|
181
|
+
"""
|
|
182
|
+
The task path.
|
|
183
|
+
"""
|
|
184
|
+
JOB_PREP = "JobPrep"
|
|
185
|
+
"""
|
|
186
|
+
The job-prep task path.
|
|
187
|
+
"""
|
|
188
|
+
APPLICATIONS = "Applications"
|
|
189
|
+
"""
|
|
190
|
+
The applications path.
|
|
191
|
+
"""
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
class ContainerType(str, Enum):
|
|
195
|
+
DOCKER_COMPATIBLE = "DockerCompatible"
|
|
196
|
+
"""
|
|
197
|
+
A Docker compatible container technology will be used to launch the containers.
|
|
198
|
+
"""
|
|
199
|
+
CRI_COMPATIBLE = "CriCompatible"
|
|
200
|
+
"""
|
|
201
|
+
A CRI based technology will be used to launch the containers.
|
|
202
|
+
"""
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
class ContainerWorkingDirectory(str, Enum):
|
|
206
|
+
TASK_WORKING_DIRECTORY = "TaskWorkingDirectory"
|
|
207
|
+
"""
|
|
208
|
+
Use the standard Batch service task working directory, which will contain the Task resource files populated by Batch.
|
|
209
|
+
"""
|
|
210
|
+
CONTAINER_IMAGE_DEFAULT = "ContainerImageDefault"
|
|
211
|
+
"""
|
|
212
|
+
Using container image defined working directory. Beware that this directory will not contain the resource files downloaded by Batch.
|
|
213
|
+
"""
|
|
214
|
+
|
|
215
|
+
|
|
216
|
+
class DiffDiskPlacement(str, Enum):
|
|
217
|
+
"""
|
|
218
|
+
This property can be used by user in the request to choose which location the operating system should be in. e.g., cache disk space for Ephemeral OS disk provisioning. For more information on Ephemeral OS disk size requirements, please refer to Ephemeral OS disk size requirements for Windows VMs at https://docs.microsoft.com/en-us/azure/virtual-machines/windows/ephemeral-os-disks#size-requirements and Linux VMs at https://docs.microsoft.com/en-us/azure/virtual-machines/linux/ephemeral-os-disks#size-requirements.
|
|
219
|
+
"""
|
|
220
|
+
CACHE_DISK = "CacheDisk"
|
|
221
|
+
"""
|
|
222
|
+
The Ephemeral OS Disk is stored on the VM cache.
|
|
223
|
+
"""
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
class DiskEncryptionTarget(str, Enum):
|
|
227
|
+
"""
|
|
228
|
+
If omitted, no disks on the compute nodes in the pool will be encrypted.
|
|
229
|
+
"""
|
|
230
|
+
OS_DISK = "OsDisk"
|
|
231
|
+
"""
|
|
232
|
+
The OS Disk on the compute node is encrypted.
|
|
233
|
+
"""
|
|
234
|
+
TEMPORARY_DISK = "TemporaryDisk"
|
|
235
|
+
"""
|
|
236
|
+
The temporary disk on the compute node is encrypted. On Linux this encryption applies to other partitions (such as those on mounted data disks) when encryption occurs at boot time.
|
|
237
|
+
"""
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
class DynamicVNetAssignmentScope(str, Enum):
|
|
241
|
+
NONE = "none"
|
|
242
|
+
"""
|
|
243
|
+
No dynamic VNet assignment is enabled.
|
|
244
|
+
"""
|
|
245
|
+
JOB = "job"
|
|
246
|
+
"""
|
|
247
|
+
Dynamic VNet assignment is done per-job. If this value is set, the network configuration subnet ID must also be set. This feature requires approval before use, please contact support
|
|
248
|
+
"""
|
|
249
|
+
|
|
250
|
+
|
|
251
|
+
class ElevationLevel(str, Enum):
|
|
252
|
+
"""
|
|
253
|
+
nonAdmin - The auto user is a standard user without elevated access. admin - The auto user is a user with elevated access and operates with full Administrator permissions. The default value is nonAdmin.
|
|
254
|
+
"""
|
|
255
|
+
NON_ADMIN = "NonAdmin"
|
|
256
|
+
"""
|
|
257
|
+
The user is a standard user without elevated access.
|
|
258
|
+
"""
|
|
259
|
+
ADMIN = "Admin"
|
|
260
|
+
"""
|
|
261
|
+
The user is a user with elevated access and operates with full Administrator permissions.
|
|
262
|
+
"""
|
|
263
|
+
|
|
264
|
+
|
|
265
|
+
class EndpointAccessDefaultAction(str, Enum):
|
|
266
|
+
"""
|
|
267
|
+
Default action for endpoint access. It is only applicable when publicNetworkAccess is enabled.
|
|
268
|
+
"""
|
|
269
|
+
ALLOW = "Allow"
|
|
270
|
+
"""
|
|
271
|
+
Allow client access.
|
|
272
|
+
"""
|
|
273
|
+
DENY = "Deny"
|
|
274
|
+
"""
|
|
275
|
+
Deny client access.
|
|
276
|
+
"""
|
|
277
|
+
|
|
278
|
+
|
|
279
|
+
class IPAddressProvisioningType(str, Enum):
|
|
280
|
+
"""
|
|
281
|
+
The default value is BatchManaged
|
|
282
|
+
"""
|
|
283
|
+
BATCH_MANAGED = "BatchManaged"
|
|
284
|
+
"""
|
|
285
|
+
A public IP will be created and managed by Batch. There may be multiple public IPs depending on the size of the Pool.
|
|
286
|
+
"""
|
|
287
|
+
USER_MANAGED = "UserManaged"
|
|
288
|
+
"""
|
|
289
|
+
Public IPs are provided by the user and will be used to provision the Compute Nodes.
|
|
290
|
+
"""
|
|
291
|
+
NO_PUBLIC_IP_ADDRESSES = "NoPublicIPAddresses"
|
|
292
|
+
"""
|
|
293
|
+
No public IP Address will be created for the Compute Nodes in the Pool.
|
|
294
|
+
"""
|
|
295
|
+
|
|
296
|
+
|
|
297
|
+
class IPRuleAction(str, Enum):
|
|
298
|
+
"""
|
|
299
|
+
Action when client IP address is matched.
|
|
300
|
+
"""
|
|
301
|
+
ALLOW = "Allow"
|
|
302
|
+
"""
|
|
303
|
+
Allow access for the matched client IP address.
|
|
304
|
+
"""
|
|
305
|
+
|
|
306
|
+
|
|
307
|
+
class InboundEndpointProtocol(str, Enum):
|
|
308
|
+
TCP = "TCP"
|
|
309
|
+
"""
|
|
310
|
+
Use TCP for the endpoint.
|
|
311
|
+
"""
|
|
312
|
+
UDP = "UDP"
|
|
313
|
+
"""
|
|
314
|
+
Use UDP for the endpoint.
|
|
315
|
+
"""
|
|
316
|
+
|
|
317
|
+
|
|
318
|
+
class InterNodeCommunicationState(str, Enum):
|
|
319
|
+
"""
|
|
320
|
+
This imposes restrictions on which nodes can be assigned to the pool. Enabling this value can reduce the chance of the requested number of nodes to be allocated in the pool. If not specified, this value defaults to 'Disabled'.
|
|
321
|
+
"""
|
|
322
|
+
ENABLED = "Enabled"
|
|
323
|
+
"""
|
|
324
|
+
Enable network communication between virtual machines.
|
|
325
|
+
"""
|
|
326
|
+
DISABLED = "Disabled"
|
|
327
|
+
"""
|
|
328
|
+
Disable network communication between virtual machines.
|
|
329
|
+
"""
|
|
330
|
+
|
|
331
|
+
|
|
332
|
+
class KeySource(str, Enum):
|
|
333
|
+
"""
|
|
334
|
+
Type of the key source.
|
|
335
|
+
"""
|
|
336
|
+
MICROSOFT_BATCH = "Microsoft.Batch"
|
|
337
|
+
"""
|
|
338
|
+
Batch creates and manages the encryption keys used to protect the account data.
|
|
339
|
+
"""
|
|
340
|
+
MICROSOFT_KEY_VAULT = "Microsoft.KeyVault"
|
|
341
|
+
"""
|
|
342
|
+
The encryption keys used to protect the account data are stored in an external key vault. If this is set then the Batch Account identity must be set to `SystemAssigned` and a valid Key Identifier must also be supplied under the keyVaultProperties.
|
|
343
|
+
"""
|
|
344
|
+
|
|
345
|
+
|
|
346
|
+
class LoginMode(str, Enum):
|
|
347
|
+
"""
|
|
348
|
+
Specifies login mode for the user. The default value is Interactive.
|
|
349
|
+
"""
|
|
350
|
+
BATCH = "Batch"
|
|
351
|
+
"""
|
|
352
|
+
The LOGON32_LOGON_BATCH Win32 login mode. The batch login mode is recommended for long running parallel processes.
|
|
353
|
+
"""
|
|
354
|
+
INTERACTIVE = "Interactive"
|
|
355
|
+
"""
|
|
356
|
+
The LOGON32_LOGON_INTERACTIVE Win32 login mode. Some applications require having permissions associated with the interactive login mode. If this is the case for an application used in your task, then this option is recommended.
|
|
357
|
+
"""
|
|
358
|
+
|
|
359
|
+
|
|
360
|
+
class NetworkSecurityGroupRuleAccess(str, Enum):
|
|
361
|
+
ALLOW = "Allow"
|
|
362
|
+
"""
|
|
363
|
+
Allow access.
|
|
364
|
+
"""
|
|
365
|
+
DENY = "Deny"
|
|
366
|
+
"""
|
|
367
|
+
Deny access.
|
|
368
|
+
"""
|
|
369
|
+
|
|
370
|
+
|
|
371
|
+
class NodeCommunicationMode(str, Enum):
|
|
372
|
+
"""
|
|
373
|
+
If omitted, the default value is Default.
|
|
374
|
+
"""
|
|
375
|
+
DEFAULT = "Default"
|
|
376
|
+
"""
|
|
377
|
+
The node communication mode is automatically set by the Batch service.
|
|
378
|
+
"""
|
|
379
|
+
CLASSIC = "Classic"
|
|
380
|
+
"""
|
|
381
|
+
Nodes using the Classic communication mode require inbound TCP communication on ports 29876 and 29877 from the "BatchNodeManagement.{region}" service tag and outbound TCP communication on port 443 to the "Storage.region" and "BatchNodeManagement.{region}" service tags.
|
|
382
|
+
"""
|
|
383
|
+
SIMPLIFIED = "Simplified"
|
|
384
|
+
"""
|
|
385
|
+
Nodes using the Simplified communication mode require outbound TCP communication on port 443 to the "BatchNodeManagement.{region}" service tag. No open inbound ports are required.
|
|
386
|
+
"""
|
|
387
|
+
|
|
388
|
+
|
|
389
|
+
class NodePlacementPolicyType(str, Enum):
|
|
390
|
+
"""
|
|
391
|
+
Allocation policy used by Batch Service to provision the nodes. If not specified, Batch will use the regional policy.
|
|
392
|
+
"""
|
|
393
|
+
REGIONAL = "Regional"
|
|
394
|
+
"""
|
|
395
|
+
All nodes in the pool will be allocated in the same region.
|
|
396
|
+
"""
|
|
397
|
+
ZONAL = "Zonal"
|
|
398
|
+
"""
|
|
399
|
+
Nodes in the pool will be spread across different zones with best effort balancing.
|
|
400
|
+
"""
|
|
401
|
+
|
|
402
|
+
|
|
403
|
+
class PoolAllocationMode(str, Enum):
|
|
404
|
+
"""
|
|
405
|
+
The pool allocation mode also affects how clients may authenticate to the Batch Service API. If the mode is BatchService, clients may authenticate using access keys or Microsoft Entra ID. If the mode is UserSubscription, clients must use Microsoft Entra ID. The default is BatchService.
|
|
406
|
+
"""
|
|
407
|
+
BATCH_SERVICE = "BatchService"
|
|
408
|
+
"""
|
|
409
|
+
Pools will be allocated in subscriptions owned by the Batch service.
|
|
410
|
+
"""
|
|
411
|
+
USER_SUBSCRIPTION = "UserSubscription"
|
|
412
|
+
"""
|
|
413
|
+
Pools will be allocated in a subscription owned by the user.
|
|
414
|
+
"""
|
|
415
|
+
|
|
416
|
+
|
|
417
|
+
class PoolIdentityType(str, Enum):
|
|
418
|
+
"""
|
|
419
|
+
The type of identity used for the Batch Pool.
|
|
420
|
+
"""
|
|
421
|
+
USER_ASSIGNED = "UserAssigned"
|
|
422
|
+
"""
|
|
423
|
+
Batch pool has user assigned identities with it.
|
|
424
|
+
"""
|
|
425
|
+
NONE = "None"
|
|
426
|
+
"""
|
|
427
|
+
Batch pool has no identity associated with it. Setting `None` in update pool will remove existing identities.
|
|
428
|
+
"""
|
|
429
|
+
|
|
430
|
+
|
|
431
|
+
class PublicNetworkAccessType(str, Enum):
|
|
432
|
+
"""
|
|
433
|
+
If not specified, the default value is 'enabled'.
|
|
434
|
+
"""
|
|
435
|
+
ENABLED = "Enabled"
|
|
436
|
+
"""
|
|
437
|
+
Enables connectivity to Azure Batch through public DNS.
|
|
438
|
+
"""
|
|
439
|
+
DISABLED = "Disabled"
|
|
440
|
+
"""
|
|
441
|
+
Disables public connectivity and enables private connectivity to Azure Batch Service through private endpoint resource.
|
|
442
|
+
"""
|
|
443
|
+
SECURED_BY_PERIMETER = "SecuredByPerimeter"
|
|
444
|
+
"""
|
|
445
|
+
Secures connectivity to Azure Batch through NSP configuration.
|
|
446
|
+
"""
|
|
447
|
+
|
|
448
|
+
|
|
449
|
+
class ResourceIdentityType(str, Enum):
|
|
450
|
+
"""
|
|
451
|
+
The type of identity used for the Batch account.
|
|
452
|
+
"""
|
|
453
|
+
SYSTEM_ASSIGNED = "SystemAssigned"
|
|
454
|
+
"""
|
|
455
|
+
Batch account has a system assigned identity with it.
|
|
456
|
+
"""
|
|
457
|
+
USER_ASSIGNED = "UserAssigned"
|
|
458
|
+
"""
|
|
459
|
+
Batch account has user assigned identities with it.
|
|
460
|
+
"""
|
|
461
|
+
NONE = "None"
|
|
462
|
+
"""
|
|
463
|
+
Batch account has no identity associated with it. Setting `None` in update account will remove existing identities.
|
|
464
|
+
"""
|
|
465
|
+
|
|
466
|
+
|
|
467
|
+
class SecurityEncryptionTypes(str, Enum):
|
|
468
|
+
NON_PERSISTED_TPM = "NonPersistedTPM"
|
|
469
|
+
VM_GUEST_STATE_ONLY = "VMGuestStateOnly"
|
|
470
|
+
|
|
471
|
+
|
|
472
|
+
class SecurityTypes(str, Enum):
|
|
473
|
+
TRUSTED_LAUNCH = "trustedLaunch"
|
|
474
|
+
"""
|
|
475
|
+
Trusted launch protects against advanced and persistent attack techniques.
|
|
476
|
+
"""
|
|
477
|
+
CONFIDENTIAL_VM = "confidentialVM"
|
|
478
|
+
"""
|
|
479
|
+
Azure confidential computing offers confidential VMs are for tenants with high security and confidentiality requirements. These VMs provide a strong, hardware-enforced boundary to help meet your security needs. You can use confidential VMs for migrations without making changes to your code, with the platform protecting your VM's state from being read or modified.
|
|
480
|
+
"""
|
|
481
|
+
|
|
482
|
+
|
|
483
|
+
class StorageAccountType(str, Enum):
|
|
484
|
+
STANDARD_LRS = "Standard_LRS"
|
|
485
|
+
"""
|
|
486
|
+
The data disk / OS disk should use standard locally redundant storage.
|
|
487
|
+
"""
|
|
488
|
+
PREMIUM_LRS = "Premium_LRS"
|
|
489
|
+
"""
|
|
490
|
+
The data disk / OS disk should use premium locally redundant storage.
|
|
491
|
+
"""
|
|
492
|
+
STANDARD_SS_D_LRS = "StandardSSD_LRS"
|
|
493
|
+
"""
|
|
494
|
+
The data disk / OS disk should use standard SSD locally redundant storage.
|
|
495
|
+
"""
|
|
496
|
+
|
|
497
|
+
|
|
498
|
+
class UpgradeMode(str, Enum):
|
|
499
|
+
AUTOMATIC = "automatic"
|
|
500
|
+
"""
|
|
501
|
+
All virtual machines in the scale set are automatically updated at the same time.
|
|
502
|
+
"""
|
|
503
|
+
MANUAL = "manual"
|
|
504
|
+
"""
|
|
505
|
+
You control the application of updates to virtual machines in the scale set. You do this by using the manualUpgrade action.
|
|
506
|
+
"""
|
|
507
|
+
ROLLING = "rolling"
|
|
508
|
+
"""
|
|
509
|
+
The existing instances in a scale set are brought down in batches to be upgraded. Once the upgraded batch is complete, the instances will begin taking traffic again and the next batch will begin. This continues until all instances brought up-to-date.
|
|
510
|
+
"""
|