pulumi-azure-native 2.58.0__py3-none-any.whl → 2.58.0a1724260656__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.

Files changed (101) hide show
  1. pulumi_azure_native/__init__.py +0 -52
  2. pulumi_azure_native/baremetalinfrastructure/__init__.py +0 -5
  3. pulumi_azure_native/baremetalinfrastructure/_enums.py +0 -74
  4. pulumi_azure_native/baremetalinfrastructure/_inputs.py +0 -368
  5. pulumi_azure_native/baremetalinfrastructure/azure_bare_metal_storage_instance.py +3 -3
  6. pulumi_azure_native/baremetalinfrastructure/get_azure_bare_metal_storage_instance.py +2 -2
  7. pulumi_azure_native/baremetalinfrastructure/outputs.py +0 -351
  8. pulumi_azure_native/baremetalinfrastructure/v20230406/azure_bare_metal_storage_instance.py +1 -1
  9. pulumi_azure_native/baremetalinfrastructure/v20230804preview/azure_bare_metal_storage_instance.py +1 -1
  10. pulumi_azure_native/baremetalinfrastructure/v20231101preview/azure_bare_metal_storage_instance.py +1 -1
  11. pulumi_azure_native/batch/__init__.py +0 -3
  12. pulumi_azure_native/batch/application.py +3 -3
  13. pulumi_azure_native/batch/application_package.py +3 -3
  14. pulumi_azure_native/batch/batch_account.py +3 -3
  15. pulumi_azure_native/batch/get_application.py +2 -2
  16. pulumi_azure_native/batch/get_application_package.py +2 -2
  17. pulumi_azure_native/batch/get_batch_account.py +2 -2
  18. pulumi_azure_native/batch/get_pool.py +2 -2
  19. pulumi_azure_native/batch/list_batch_account_keys.py +2 -2
  20. pulumi_azure_native/batch/pool.py +3 -3
  21. pulumi_azure_native/batch/v20220101/batch_account.py +1 -1
  22. pulumi_azure_native/batch/v20230501/application.py +1 -1
  23. pulumi_azure_native/batch/v20230501/application_package.py +1 -1
  24. pulumi_azure_native/batch/v20230501/batch_account.py +1 -1
  25. pulumi_azure_native/batch/v20230501/pool.py +1 -1
  26. pulumi_azure_native/batch/v20231101/application.py +1 -1
  27. pulumi_azure_native/batch/v20231101/application_package.py +1 -1
  28. pulumi_azure_native/batch/v20231101/batch_account.py +1 -1
  29. pulumi_azure_native/batch/v20231101/pool.py +1 -1
  30. pulumi_azure_native/batch/v20240201/application.py +1 -1
  31. pulumi_azure_native/batch/v20240201/application_package.py +1 -1
  32. pulumi_azure_native/batch/v20240201/batch_account.py +1 -1
  33. pulumi_azure_native/batch/v20240201/pool.py +1 -1
  34. pulumi_azure_native/hardwaresecuritymodules/__init__.py +0 -3
  35. pulumi_azure_native/hardwaresecuritymodules/cloud_hsm_cluster.py +3 -3
  36. pulumi_azure_native/hardwaresecuritymodules/cloud_hsm_cluster_private_endpoint_connection.py +3 -3
  37. pulumi_azure_native/hardwaresecuritymodules/dedicated_hsm.py +1 -5
  38. pulumi_azure_native/hardwaresecuritymodules/get_cloud_hsm_cluster.py +2 -2
  39. pulumi_azure_native/hardwaresecuritymodules/get_cloud_hsm_cluster_private_endpoint_connection.py +2 -2
  40. pulumi_azure_native/hardwaresecuritymodules/get_dedicated_hsm.py +0 -4
  41. pulumi_azure_native/hardwaresecuritymodules/v20211130/dedicated_hsm.py +1 -1
  42. pulumi_azure_native/hardwaresecuritymodules/v20220831preview/cloud_hsm_cluster.py +1 -1
  43. pulumi_azure_native/hardwaresecuritymodules/v20220831preview/cloud_hsm_cluster_private_endpoint_connection.py +1 -1
  44. pulumi_azure_native/hardwaresecuritymodules/v20231210preview/cloud_hsm_cluster.py +1 -1
  45. pulumi_azure_native/hardwaresecuritymodules/v20231210preview/cloud_hsm_cluster_private_endpoint_connection.py +1 -1
  46. pulumi_azure_native/machinelearningservices/v20240701preview/_inputs.py +0 -20
  47. pulumi_azure_native/machinelearningservices/v20240701preview/outputs.py +11 -12
  48. pulumi_azure_native/pulumi-plugin.json +1 -1
  49. {pulumi_azure_native-2.58.0.dist-info → pulumi_azure_native-2.58.0a1724260656.dist-info}/METADATA +1 -1
  50. {pulumi_azure_native-2.58.0.dist-info → pulumi_azure_native-2.58.0a1724260656.dist-info}/RECORD +52 -101
  51. pulumi_azure_native/azurelargeinstance/__init__.py +0 -22
  52. pulumi_azure_native/azurelargeinstance/_enums.py +0 -256
  53. pulumi_azure_native/azurelargeinstance/_inputs.py +0 -646
  54. pulumi_azure_native/azurelargeinstance/azure_large_instance.py +0 -475
  55. pulumi_azure_native/azurelargeinstance/azure_large_storage_instance.py +0 -320
  56. pulumi_azure_native/azurelargeinstance/get_azure_large_instance.py +0 -271
  57. pulumi_azure_native/azurelargeinstance/get_azure_large_storage_instance.py +0 -193
  58. pulumi_azure_native/azurelargeinstance/outputs.py +0 -795
  59. pulumi_azure_native/azurelargeinstance/v20240801preview/__init__.py +0 -14
  60. pulumi_azure_native/azurelargeinstance/v20240801preview/_enums.py +0 -256
  61. pulumi_azure_native/azurelargeinstance/v20240801preview/_inputs.py +0 -646
  62. pulumi_azure_native/azurelargeinstance/v20240801preview/azure_large_instance.py +0 -473
  63. pulumi_azure_native/azurelargeinstance/v20240801preview/azure_large_storage_instance.py +0 -318
  64. pulumi_azure_native/azurelargeinstance/v20240801preview/get_azure_large_instance.py +0 -269
  65. pulumi_azure_native/azurelargeinstance/v20240801preview/get_azure_large_storage_instance.py +0 -191
  66. pulumi_azure_native/azurelargeinstance/v20240801preview/outputs.py +0 -795
  67. pulumi_azure_native/baremetalinfrastructure/azure_bare_metal_instance.py +0 -502
  68. pulumi_azure_native/baremetalinfrastructure/get_azure_bare_metal_instance.py +0 -281
  69. pulumi_azure_native/baremetalinfrastructure/v20240801preview/__init__.py +0 -14
  70. pulumi_azure_native/baremetalinfrastructure/v20240801preview/_enums.py +0 -106
  71. pulumi_azure_native/baremetalinfrastructure/v20240801preview/_inputs.py +0 -644
  72. pulumi_azure_native/baremetalinfrastructure/v20240801preview/azure_bare_metal_instance.py +0 -500
  73. pulumi_azure_native/baremetalinfrastructure/v20240801preview/azure_bare_metal_storage_instance.py +0 -316
  74. pulumi_azure_native/baremetalinfrastructure/v20240801preview/get_azure_bare_metal_instance.py +0 -279
  75. pulumi_azure_native/baremetalinfrastructure/v20240801preview/get_azure_bare_metal_storage_instance.py +0 -188
  76. pulumi_azure_native/baremetalinfrastructure/v20240801preview/outputs.py +0 -726
  77. pulumi_azure_native/batch/v20240701/__init__.py +0 -19
  78. pulumi_azure_native/batch/v20240701/_enums.py +0 -510
  79. pulumi_azure_native/batch/v20240701/_inputs.py +0 -4319
  80. pulumi_azure_native/batch/v20240701/application.py +0 -305
  81. pulumi_azure_native/batch/v20240701/application_package.py +0 -289
  82. pulumi_azure_native/batch/v20240701/batch_account.py +0 -545
  83. pulumi_azure_native/batch/v20240701/get_application.py +0 -179
  84. pulumi_azure_native/batch/v20240701/get_application_package.py +0 -210
  85. pulumi_azure_native/batch/v20240701/get_batch_account.py +0 -364
  86. pulumi_azure_native/batch/v20240701/get_pool.py +0 -503
  87. pulumi_azure_native/batch/v20240701/list_batch_account_keys.py +0 -109
  88. pulumi_azure_native/batch/v20240701/outputs.py +0 -4161
  89. pulumi_azure_native/batch/v20240701/pool.py +0 -854
  90. pulumi_azure_native/hardwaresecuritymodules/v20240630preview/__init__.py +0 -16
  91. pulumi_azure_native/hardwaresecuritymodules/v20240630preview/_enums.py +0 -100
  92. pulumi_azure_native/hardwaresecuritymodules/v20240630preview/_inputs.py +0 -405
  93. pulumi_azure_native/hardwaresecuritymodules/v20240630preview/cloud_hsm_cluster.py +0 -428
  94. pulumi_azure_native/hardwaresecuritymodules/v20240630preview/cloud_hsm_cluster_private_endpoint_connection.py +0 -262
  95. pulumi_azure_native/hardwaresecuritymodules/v20240630preview/dedicated_hsm.py +0 -394
  96. pulumi_azure_native/hardwaresecuritymodules/v20240630preview/get_cloud_hsm_cluster.py +0 -279
  97. pulumi_azure_native/hardwaresecuritymodules/v20240630preview/get_cloud_hsm_cluster_private_endpoint_connection.py +0 -193
  98. pulumi_azure_native/hardwaresecuritymodules/v20240630preview/get_dedicated_hsm.py +0 -240
  99. pulumi_azure_native/hardwaresecuritymodules/v20240630preview/outputs.py +0 -772
  100. {pulumi_azure_native-2.58.0.dist-info → pulumi_azure_native-2.58.0a1724260656.dist-info}/WHEEL +0 -0
  101. {pulumi_azure_native-2.58.0.dist-info → pulumi_azure_native-2.58.0a1724260656.dist-info}/top_level.txt +0 -0
@@ -1,503 +0,0 @@
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
- import copy
6
- import warnings
7
- import sys
8
- import pulumi
9
- import pulumi.runtime
10
- from typing import Any, Mapping, Optional, Sequence, Union, overload
11
- if sys.version_info >= (3, 11):
12
- from typing import NotRequired, TypedDict, TypeAlias
13
- else:
14
- from typing_extensions import NotRequired, TypedDict, TypeAlias
15
- from ... import _utilities
16
- from . import outputs
17
-
18
- __all__ = [
19
- 'GetPoolResult',
20
- 'AwaitableGetPoolResult',
21
- 'get_pool',
22
- 'get_pool_output',
23
- ]
24
-
25
- @pulumi.output_type
26
- class GetPoolResult:
27
- """
28
- Contains information about a pool.
29
- """
30
- def __init__(__self__, allocation_state=None, allocation_state_transition_time=None, application_licenses=None, application_packages=None, auto_scale_run=None, certificates=None, creation_time=None, current_dedicated_nodes=None, current_low_priority_nodes=None, current_node_communication_mode=None, deployment_configuration=None, display_name=None, etag=None, id=None, identity=None, inter_node_communication=None, last_modified=None, metadata=None, mount_configuration=None, name=None, network_configuration=None, provisioning_state=None, provisioning_state_transition_time=None, resize_operation_status=None, resource_tags=None, scale_settings=None, start_task=None, tags=None, target_node_communication_mode=None, task_scheduling_policy=None, task_slots_per_node=None, type=None, upgrade_policy=None, user_accounts=None, vm_size=None):
31
- if allocation_state and not isinstance(allocation_state, str):
32
- raise TypeError("Expected argument 'allocation_state' to be a str")
33
- pulumi.set(__self__, "allocation_state", allocation_state)
34
- if allocation_state_transition_time and not isinstance(allocation_state_transition_time, str):
35
- raise TypeError("Expected argument 'allocation_state_transition_time' to be a str")
36
- pulumi.set(__self__, "allocation_state_transition_time", allocation_state_transition_time)
37
- if application_licenses and not isinstance(application_licenses, list):
38
- raise TypeError("Expected argument 'application_licenses' to be a list")
39
- pulumi.set(__self__, "application_licenses", application_licenses)
40
- if application_packages and not isinstance(application_packages, list):
41
- raise TypeError("Expected argument 'application_packages' to be a list")
42
- pulumi.set(__self__, "application_packages", application_packages)
43
- if auto_scale_run and not isinstance(auto_scale_run, dict):
44
- raise TypeError("Expected argument 'auto_scale_run' to be a dict")
45
- pulumi.set(__self__, "auto_scale_run", auto_scale_run)
46
- if certificates and not isinstance(certificates, list):
47
- raise TypeError("Expected argument 'certificates' to be a list")
48
- pulumi.set(__self__, "certificates", certificates)
49
- if creation_time and not isinstance(creation_time, str):
50
- raise TypeError("Expected argument 'creation_time' to be a str")
51
- pulumi.set(__self__, "creation_time", creation_time)
52
- if current_dedicated_nodes and not isinstance(current_dedicated_nodes, int):
53
- raise TypeError("Expected argument 'current_dedicated_nodes' to be a int")
54
- pulumi.set(__self__, "current_dedicated_nodes", current_dedicated_nodes)
55
- if current_low_priority_nodes and not isinstance(current_low_priority_nodes, int):
56
- raise TypeError("Expected argument 'current_low_priority_nodes' to be a int")
57
- pulumi.set(__self__, "current_low_priority_nodes", current_low_priority_nodes)
58
- if current_node_communication_mode and not isinstance(current_node_communication_mode, str):
59
- raise TypeError("Expected argument 'current_node_communication_mode' to be a str")
60
- pulumi.set(__self__, "current_node_communication_mode", current_node_communication_mode)
61
- if deployment_configuration and not isinstance(deployment_configuration, dict):
62
- raise TypeError("Expected argument 'deployment_configuration' to be a dict")
63
- pulumi.set(__self__, "deployment_configuration", deployment_configuration)
64
- if display_name and not isinstance(display_name, str):
65
- raise TypeError("Expected argument 'display_name' to be a str")
66
- pulumi.set(__self__, "display_name", display_name)
67
- if etag and not isinstance(etag, str):
68
- raise TypeError("Expected argument 'etag' to be a str")
69
- pulumi.set(__self__, "etag", etag)
70
- if id and not isinstance(id, str):
71
- raise TypeError("Expected argument 'id' to be a str")
72
- pulumi.set(__self__, "id", id)
73
- if identity and not isinstance(identity, dict):
74
- raise TypeError("Expected argument 'identity' to be a dict")
75
- pulumi.set(__self__, "identity", identity)
76
- if inter_node_communication and not isinstance(inter_node_communication, str):
77
- raise TypeError("Expected argument 'inter_node_communication' to be a str")
78
- pulumi.set(__self__, "inter_node_communication", inter_node_communication)
79
- if last_modified and not isinstance(last_modified, str):
80
- raise TypeError("Expected argument 'last_modified' to be a str")
81
- pulumi.set(__self__, "last_modified", last_modified)
82
- if metadata and not isinstance(metadata, list):
83
- raise TypeError("Expected argument 'metadata' to be a list")
84
- pulumi.set(__self__, "metadata", metadata)
85
- if mount_configuration and not isinstance(mount_configuration, list):
86
- raise TypeError("Expected argument 'mount_configuration' to be a list")
87
- pulumi.set(__self__, "mount_configuration", mount_configuration)
88
- if name and not isinstance(name, str):
89
- raise TypeError("Expected argument 'name' to be a str")
90
- pulumi.set(__self__, "name", name)
91
- if network_configuration and not isinstance(network_configuration, dict):
92
- raise TypeError("Expected argument 'network_configuration' to be a dict")
93
- pulumi.set(__self__, "network_configuration", network_configuration)
94
- if provisioning_state and not isinstance(provisioning_state, str):
95
- raise TypeError("Expected argument 'provisioning_state' to be a str")
96
- pulumi.set(__self__, "provisioning_state", provisioning_state)
97
- if provisioning_state_transition_time and not isinstance(provisioning_state_transition_time, str):
98
- raise TypeError("Expected argument 'provisioning_state_transition_time' to be a str")
99
- pulumi.set(__self__, "provisioning_state_transition_time", provisioning_state_transition_time)
100
- if resize_operation_status and not isinstance(resize_operation_status, dict):
101
- raise TypeError("Expected argument 'resize_operation_status' to be a dict")
102
- pulumi.set(__self__, "resize_operation_status", resize_operation_status)
103
- if resource_tags and not isinstance(resource_tags, dict):
104
- raise TypeError("Expected argument 'resource_tags' to be a dict")
105
- pulumi.set(__self__, "resource_tags", resource_tags)
106
- if scale_settings and not isinstance(scale_settings, dict):
107
- raise TypeError("Expected argument 'scale_settings' to be a dict")
108
- pulumi.set(__self__, "scale_settings", scale_settings)
109
- if start_task and not isinstance(start_task, dict):
110
- raise TypeError("Expected argument 'start_task' to be a dict")
111
- pulumi.set(__self__, "start_task", start_task)
112
- if tags and not isinstance(tags, dict):
113
- raise TypeError("Expected argument 'tags' to be a dict")
114
- pulumi.set(__self__, "tags", tags)
115
- if target_node_communication_mode and not isinstance(target_node_communication_mode, str):
116
- raise TypeError("Expected argument 'target_node_communication_mode' to be a str")
117
- pulumi.set(__self__, "target_node_communication_mode", target_node_communication_mode)
118
- if task_scheduling_policy and not isinstance(task_scheduling_policy, dict):
119
- raise TypeError("Expected argument 'task_scheduling_policy' to be a dict")
120
- pulumi.set(__self__, "task_scheduling_policy", task_scheduling_policy)
121
- if task_slots_per_node and not isinstance(task_slots_per_node, int):
122
- raise TypeError("Expected argument 'task_slots_per_node' to be a int")
123
- pulumi.set(__self__, "task_slots_per_node", task_slots_per_node)
124
- if type and not isinstance(type, str):
125
- raise TypeError("Expected argument 'type' to be a str")
126
- pulumi.set(__self__, "type", type)
127
- if upgrade_policy and not isinstance(upgrade_policy, dict):
128
- raise TypeError("Expected argument 'upgrade_policy' to be a dict")
129
- pulumi.set(__self__, "upgrade_policy", upgrade_policy)
130
- if user_accounts and not isinstance(user_accounts, list):
131
- raise TypeError("Expected argument 'user_accounts' to be a list")
132
- pulumi.set(__self__, "user_accounts", user_accounts)
133
- if vm_size and not isinstance(vm_size, str):
134
- raise TypeError("Expected argument 'vm_size' to be a str")
135
- pulumi.set(__self__, "vm_size", vm_size)
136
-
137
- @property
138
- @pulumi.getter(name="allocationState")
139
- def allocation_state(self) -> str:
140
- return pulumi.get(self, "allocation_state")
141
-
142
- @property
143
- @pulumi.getter(name="allocationStateTransitionTime")
144
- def allocation_state_transition_time(self) -> str:
145
- return pulumi.get(self, "allocation_state_transition_time")
146
-
147
- @property
148
- @pulumi.getter(name="applicationLicenses")
149
- def application_licenses(self) -> Optional[Sequence[str]]:
150
- """
151
- The list of application licenses must be a subset of available Batch service application licenses. If a license is requested which is not supported, pool creation will fail.
152
- """
153
- return pulumi.get(self, "application_licenses")
154
-
155
- @property
156
- @pulumi.getter(name="applicationPackages")
157
- def application_packages(self) -> Optional[Sequence['outputs.ApplicationPackageReferenceResponse']]:
158
- """
159
- Changes to application package references affect all new compute nodes joining the pool, but do not affect compute nodes that are already in the pool until they are rebooted or reimaged. There is a maximum of 10 application package references on any given pool.
160
- """
161
- return pulumi.get(self, "application_packages")
162
-
163
- @property
164
- @pulumi.getter(name="autoScaleRun")
165
- def auto_scale_run(self) -> 'outputs.AutoScaleRunResponse':
166
- """
167
- This property is set only if the pool automatically scales, i.e. autoScaleSettings are used.
168
- """
169
- return pulumi.get(self, "auto_scale_run")
170
-
171
- @property
172
- @pulumi.getter
173
- def certificates(self) -> Optional[Sequence['outputs.CertificateReferenceResponse']]:
174
- """
175
- For Windows compute nodes, the Batch service installs the certificates to the specified certificate store and location. 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.
176
-
177
- Warning: This property is deprecated and will be removed after February, 2024. Please use the [Azure KeyVault Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.
178
- """
179
- return pulumi.get(self, "certificates")
180
-
181
- @property
182
- @pulumi.getter(name="creationTime")
183
- def creation_time(self) -> str:
184
- return pulumi.get(self, "creation_time")
185
-
186
- @property
187
- @pulumi.getter(name="currentDedicatedNodes")
188
- def current_dedicated_nodes(self) -> int:
189
- return pulumi.get(self, "current_dedicated_nodes")
190
-
191
- @property
192
- @pulumi.getter(name="currentLowPriorityNodes")
193
- def current_low_priority_nodes(self) -> int:
194
- return pulumi.get(self, "current_low_priority_nodes")
195
-
196
- @property
197
- @pulumi.getter(name="currentNodeCommunicationMode")
198
- def current_node_communication_mode(self) -> str:
199
- return pulumi.get(self, "current_node_communication_mode")
200
-
201
- @property
202
- @pulumi.getter(name="deploymentConfiguration")
203
- def deployment_configuration(self) -> Optional['outputs.DeploymentConfigurationResponse']:
204
- return pulumi.get(self, "deployment_configuration")
205
-
206
- @property
207
- @pulumi.getter(name="displayName")
208
- def display_name(self) -> Optional[str]:
209
- """
210
- The display name need not be unique and can contain any Unicode characters up to a maximum length of 1024.
211
- """
212
- return pulumi.get(self, "display_name")
213
-
214
- @property
215
- @pulumi.getter
216
- def etag(self) -> str:
217
- """
218
- The ETag of the resource, used for concurrency statements.
219
- """
220
- return pulumi.get(self, "etag")
221
-
222
- @property
223
- @pulumi.getter
224
- def id(self) -> str:
225
- """
226
- The ID of the resource.
227
- """
228
- return pulumi.get(self, "id")
229
-
230
- @property
231
- @pulumi.getter
232
- def identity(self) -> Optional['outputs.BatchPoolIdentityResponse']:
233
- """
234
- The type of identity used for the Batch Pool.
235
- """
236
- return pulumi.get(self, "identity")
237
-
238
- @property
239
- @pulumi.getter(name="interNodeCommunication")
240
- def inter_node_communication(self) -> Optional[str]:
241
- """
242
- 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'.
243
- """
244
- return pulumi.get(self, "inter_node_communication")
245
-
246
- @property
247
- @pulumi.getter(name="lastModified")
248
- def last_modified(self) -> str:
249
- """
250
- This is the last time at which the pool level data, such as the targetDedicatedNodes or autoScaleSettings, changed. It does not factor in node-level changes such as a compute node changing state.
251
- """
252
- return pulumi.get(self, "last_modified")
253
-
254
- @property
255
- @pulumi.getter
256
- def metadata(self) -> Optional[Sequence['outputs.MetadataItemResponse']]:
257
- """
258
- The Batch service does not assign any meaning to metadata; it is solely for the use of user code.
259
- """
260
- return pulumi.get(self, "metadata")
261
-
262
- @property
263
- @pulumi.getter(name="mountConfiguration")
264
- def mount_configuration(self) -> Optional[Sequence['outputs.MountConfigurationResponse']]:
265
- """
266
- This supports Azure Files, NFS, CIFS/SMB, and Blobfuse.
267
- """
268
- return pulumi.get(self, "mount_configuration")
269
-
270
- @property
271
- @pulumi.getter
272
- def name(self) -> str:
273
- """
274
- The name of the resource.
275
- """
276
- return pulumi.get(self, "name")
277
-
278
- @property
279
- @pulumi.getter(name="networkConfiguration")
280
- def network_configuration(self) -> Optional['outputs.NetworkConfigurationResponse']:
281
- """
282
- The network configuration for a pool.
283
- """
284
- return pulumi.get(self, "network_configuration")
285
-
286
- @property
287
- @pulumi.getter(name="provisioningState")
288
- def provisioning_state(self) -> str:
289
- return pulumi.get(self, "provisioning_state")
290
-
291
- @property
292
- @pulumi.getter(name="provisioningStateTransitionTime")
293
- def provisioning_state_transition_time(self) -> str:
294
- return pulumi.get(self, "provisioning_state_transition_time")
295
-
296
- @property
297
- @pulumi.getter(name="resizeOperationStatus")
298
- def resize_operation_status(self) -> 'outputs.ResizeOperationStatusResponse':
299
- """
300
- Describes either the current operation (if the pool AllocationState is Resizing) or the previously completed operation (if the AllocationState is Steady).
301
- """
302
- return pulumi.get(self, "resize_operation_status")
303
-
304
- @property
305
- @pulumi.getter(name="resourceTags")
306
- def resource_tags(self) -> Optional[Mapping[str, str]]:
307
- """
308
- The user-defined tags to be associated with the Azure Batch Pool. When specified, these tags are propagated to the backing Azure resources associated with the pool. This property can only be specified when the Batch account was created with the poolAllocationMode property set to 'UserSubscription'.
309
- """
310
- return pulumi.get(self, "resource_tags")
311
-
312
- @property
313
- @pulumi.getter(name="scaleSettings")
314
- def scale_settings(self) -> Optional['outputs.ScaleSettingsResponse']:
315
- """
316
- Defines the desired size of the pool. This can either be 'fixedScale' where the requested targetDedicatedNodes is specified, or 'autoScale' which defines a formula which is periodically reevaluated. If this property is not specified, the pool will have a fixed scale with 0 targetDedicatedNodes.
317
- """
318
- return pulumi.get(self, "scale_settings")
319
-
320
- @property
321
- @pulumi.getter(name="startTask")
322
- def start_task(self) -> Optional['outputs.StartTaskResponse']:
323
- """
324
- In an PATCH (update) operation, this property can be set to an empty object to remove the start task from the pool.
325
- """
326
- return pulumi.get(self, "start_task")
327
-
328
- @property
329
- @pulumi.getter
330
- def tags(self) -> Optional[Mapping[str, str]]:
331
- """
332
- The tags of the resource.
333
- """
334
- return pulumi.get(self, "tags")
335
-
336
- @property
337
- @pulumi.getter(name="targetNodeCommunicationMode")
338
- def target_node_communication_mode(self) -> Optional[str]:
339
- """
340
- If omitted, the default value is Default.
341
- """
342
- return pulumi.get(self, "target_node_communication_mode")
343
-
344
- @property
345
- @pulumi.getter(name="taskSchedulingPolicy")
346
- def task_scheduling_policy(self) -> Optional['outputs.TaskSchedulingPolicyResponse']:
347
- """
348
- If not specified, the default is spread.
349
- """
350
- return pulumi.get(self, "task_scheduling_policy")
351
-
352
- @property
353
- @pulumi.getter(name="taskSlotsPerNode")
354
- def task_slots_per_node(self) -> Optional[int]:
355
- """
356
- The default value is 1. The maximum value is the smaller of 4 times the number of cores of the vmSize of the pool or 256.
357
- """
358
- return pulumi.get(self, "task_slots_per_node")
359
-
360
- @property
361
- @pulumi.getter
362
- def type(self) -> str:
363
- """
364
- The type of the resource.
365
- """
366
- return pulumi.get(self, "type")
367
-
368
- @property
369
- @pulumi.getter(name="upgradePolicy")
370
- def upgrade_policy(self) -> Optional['outputs.UpgradePolicyResponse']:
371
- """
372
- Describes an upgrade policy - automatic, manual, or rolling.
373
- """
374
- return pulumi.get(self, "upgrade_policy")
375
-
376
- @property
377
- @pulumi.getter(name="userAccounts")
378
- def user_accounts(self) -> Optional[Sequence['outputs.UserAccountResponse']]:
379
- return pulumi.get(self, "user_accounts")
380
-
381
- @property
382
- @pulumi.getter(name="vmSize")
383
- def vm_size(self) -> Optional[str]:
384
- """
385
- For information about available VM sizes, see Sizes for Virtual Machines (Linux) (https://azure.microsoft.com/documentation/articles/virtual-machines-linux-sizes/) or Sizes for Virtual Machines (Windows) (https://azure.microsoft.com/documentation/articles/virtual-machines-windows-sizes/). Batch supports all Azure VM sizes except STANDARD_A0 and those with premium storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series).
386
- """
387
- return pulumi.get(self, "vm_size")
388
-
389
-
390
- class AwaitableGetPoolResult(GetPoolResult):
391
- # pylint: disable=using-constant-test
392
- def __await__(self):
393
- if False:
394
- yield self
395
- return GetPoolResult(
396
- allocation_state=self.allocation_state,
397
- allocation_state_transition_time=self.allocation_state_transition_time,
398
- application_licenses=self.application_licenses,
399
- application_packages=self.application_packages,
400
- auto_scale_run=self.auto_scale_run,
401
- certificates=self.certificates,
402
- creation_time=self.creation_time,
403
- current_dedicated_nodes=self.current_dedicated_nodes,
404
- current_low_priority_nodes=self.current_low_priority_nodes,
405
- current_node_communication_mode=self.current_node_communication_mode,
406
- deployment_configuration=self.deployment_configuration,
407
- display_name=self.display_name,
408
- etag=self.etag,
409
- id=self.id,
410
- identity=self.identity,
411
- inter_node_communication=self.inter_node_communication,
412
- last_modified=self.last_modified,
413
- metadata=self.metadata,
414
- mount_configuration=self.mount_configuration,
415
- name=self.name,
416
- network_configuration=self.network_configuration,
417
- provisioning_state=self.provisioning_state,
418
- provisioning_state_transition_time=self.provisioning_state_transition_time,
419
- resize_operation_status=self.resize_operation_status,
420
- resource_tags=self.resource_tags,
421
- scale_settings=self.scale_settings,
422
- start_task=self.start_task,
423
- tags=self.tags,
424
- target_node_communication_mode=self.target_node_communication_mode,
425
- task_scheduling_policy=self.task_scheduling_policy,
426
- task_slots_per_node=self.task_slots_per_node,
427
- type=self.type,
428
- upgrade_policy=self.upgrade_policy,
429
- user_accounts=self.user_accounts,
430
- vm_size=self.vm_size)
431
-
432
-
433
- def get_pool(account_name: Optional[str] = None,
434
- pool_name: Optional[str] = None,
435
- resource_group_name: Optional[str] = None,
436
- opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetPoolResult:
437
- """
438
- Gets information about the specified pool.
439
-
440
-
441
- :param str account_name: The name of the Batch account.
442
- :param str pool_name: The pool name. This must be unique within the account.
443
- :param str resource_group_name: The name of the resource group that contains the Batch account.
444
- """
445
- __args__ = dict()
446
- __args__['accountName'] = account_name
447
- __args__['poolName'] = pool_name
448
- __args__['resourceGroupName'] = resource_group_name
449
- opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
450
- __ret__ = pulumi.runtime.invoke('azure-native:batch/v20240701:getPool', __args__, opts=opts, typ=GetPoolResult).value
451
-
452
- return AwaitableGetPoolResult(
453
- allocation_state=pulumi.get(__ret__, 'allocation_state'),
454
- allocation_state_transition_time=pulumi.get(__ret__, 'allocation_state_transition_time'),
455
- application_licenses=pulumi.get(__ret__, 'application_licenses'),
456
- application_packages=pulumi.get(__ret__, 'application_packages'),
457
- auto_scale_run=pulumi.get(__ret__, 'auto_scale_run'),
458
- certificates=pulumi.get(__ret__, 'certificates'),
459
- creation_time=pulumi.get(__ret__, 'creation_time'),
460
- current_dedicated_nodes=pulumi.get(__ret__, 'current_dedicated_nodes'),
461
- current_low_priority_nodes=pulumi.get(__ret__, 'current_low_priority_nodes'),
462
- current_node_communication_mode=pulumi.get(__ret__, 'current_node_communication_mode'),
463
- deployment_configuration=pulumi.get(__ret__, 'deployment_configuration'),
464
- display_name=pulumi.get(__ret__, 'display_name'),
465
- etag=pulumi.get(__ret__, 'etag'),
466
- id=pulumi.get(__ret__, 'id'),
467
- identity=pulumi.get(__ret__, 'identity'),
468
- inter_node_communication=pulumi.get(__ret__, 'inter_node_communication'),
469
- last_modified=pulumi.get(__ret__, 'last_modified'),
470
- metadata=pulumi.get(__ret__, 'metadata'),
471
- mount_configuration=pulumi.get(__ret__, 'mount_configuration'),
472
- name=pulumi.get(__ret__, 'name'),
473
- network_configuration=pulumi.get(__ret__, 'network_configuration'),
474
- provisioning_state=pulumi.get(__ret__, 'provisioning_state'),
475
- provisioning_state_transition_time=pulumi.get(__ret__, 'provisioning_state_transition_time'),
476
- resize_operation_status=pulumi.get(__ret__, 'resize_operation_status'),
477
- resource_tags=pulumi.get(__ret__, 'resource_tags'),
478
- scale_settings=pulumi.get(__ret__, 'scale_settings'),
479
- start_task=pulumi.get(__ret__, 'start_task'),
480
- tags=pulumi.get(__ret__, 'tags'),
481
- target_node_communication_mode=pulumi.get(__ret__, 'target_node_communication_mode'),
482
- task_scheduling_policy=pulumi.get(__ret__, 'task_scheduling_policy'),
483
- task_slots_per_node=pulumi.get(__ret__, 'task_slots_per_node'),
484
- type=pulumi.get(__ret__, 'type'),
485
- upgrade_policy=pulumi.get(__ret__, 'upgrade_policy'),
486
- user_accounts=pulumi.get(__ret__, 'user_accounts'),
487
- vm_size=pulumi.get(__ret__, 'vm_size'))
488
-
489
-
490
- @_utilities.lift_output_func(get_pool)
491
- def get_pool_output(account_name: Optional[pulumi.Input[str]] = None,
492
- pool_name: Optional[pulumi.Input[str]] = None,
493
- resource_group_name: Optional[pulumi.Input[str]] = None,
494
- opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPoolResult]:
495
- """
496
- Gets information about the specified pool.
497
-
498
-
499
- :param str account_name: The name of the Batch account.
500
- :param str pool_name: The pool name. This must be unique within the account.
501
- :param str resource_group_name: The name of the resource group that contains the Batch account.
502
- """
503
- ...
@@ -1,109 +0,0 @@
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
- import copy
6
- import warnings
7
- import sys
8
- import pulumi
9
- import pulumi.runtime
10
- from typing import Any, Mapping, Optional, Sequence, Union, overload
11
- if sys.version_info >= (3, 11):
12
- from typing import NotRequired, TypedDict, TypeAlias
13
- else:
14
- from typing_extensions import NotRequired, TypedDict, TypeAlias
15
- from ... import _utilities
16
-
17
- __all__ = [
18
- 'ListBatchAccountKeysResult',
19
- 'AwaitableListBatchAccountKeysResult',
20
- 'list_batch_account_keys',
21
- 'list_batch_account_keys_output',
22
- ]
23
-
24
- @pulumi.output_type
25
- class ListBatchAccountKeysResult:
26
- """
27
- A set of Azure Batch account keys.
28
- """
29
- def __init__(__self__, account_name=None, primary=None, secondary=None):
30
- if account_name and not isinstance(account_name, str):
31
- raise TypeError("Expected argument 'account_name' to be a str")
32
- pulumi.set(__self__, "account_name", account_name)
33
- if primary and not isinstance(primary, str):
34
- raise TypeError("Expected argument 'primary' to be a str")
35
- pulumi.set(__self__, "primary", primary)
36
- if secondary and not isinstance(secondary, str):
37
- raise TypeError("Expected argument 'secondary' to be a str")
38
- pulumi.set(__self__, "secondary", secondary)
39
-
40
- @property
41
- @pulumi.getter(name="accountName")
42
- def account_name(self) -> str:
43
- """
44
- The Batch account name.
45
- """
46
- return pulumi.get(self, "account_name")
47
-
48
- @property
49
- @pulumi.getter
50
- def primary(self) -> str:
51
- """
52
- The primary key associated with the account.
53
- """
54
- return pulumi.get(self, "primary")
55
-
56
- @property
57
- @pulumi.getter
58
- def secondary(self) -> str:
59
- """
60
- The secondary key associated with the account.
61
- """
62
- return pulumi.get(self, "secondary")
63
-
64
-
65
- class AwaitableListBatchAccountKeysResult(ListBatchAccountKeysResult):
66
- # pylint: disable=using-constant-test
67
- def __await__(self):
68
- if False:
69
- yield self
70
- return ListBatchAccountKeysResult(
71
- account_name=self.account_name,
72
- primary=self.primary,
73
- secondary=self.secondary)
74
-
75
-
76
- def list_batch_account_keys(account_name: Optional[str] = None,
77
- resource_group_name: Optional[str] = None,
78
- opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableListBatchAccountKeysResult:
79
- """
80
- This operation applies only to Batch accounts with allowedAuthenticationModes containing 'SharedKey'. If the Batch account doesn't contain 'SharedKey' in its allowedAuthenticationMode, clients cannot use shared keys to authenticate, and must use another allowedAuthenticationModes instead. In this case, getting the keys will fail.
81
-
82
-
83
- :param str account_name: The name of the Batch account.
84
- :param str resource_group_name: The name of the resource group that contains the Batch account.
85
- """
86
- __args__ = dict()
87
- __args__['accountName'] = account_name
88
- __args__['resourceGroupName'] = resource_group_name
89
- opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
90
- __ret__ = pulumi.runtime.invoke('azure-native:batch/v20240701:listBatchAccountKeys', __args__, opts=opts, typ=ListBatchAccountKeysResult).value
91
-
92
- return AwaitableListBatchAccountKeysResult(
93
- account_name=pulumi.get(__ret__, 'account_name'),
94
- primary=pulumi.get(__ret__, 'primary'),
95
- secondary=pulumi.get(__ret__, 'secondary'))
96
-
97
-
98
- @_utilities.lift_output_func(list_batch_account_keys)
99
- def list_batch_account_keys_output(account_name: Optional[pulumi.Input[str]] = None,
100
- resource_group_name: Optional[pulumi.Input[str]] = None,
101
- opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[ListBatchAccountKeysResult]:
102
- """
103
- This operation applies only to Batch accounts with allowedAuthenticationModes containing 'SharedKey'. If the Batch account doesn't contain 'SharedKey' in its allowedAuthenticationMode, clients cannot use shared keys to authenticate, and must use another allowedAuthenticationModes instead. In this case, getting the keys will fail.
104
-
105
-
106
- :param str account_name: The name of the Batch account.
107
- :param str resource_group_name: The name of the resource group that contains the Batch account.
108
- """
109
- ...