pulumi-azure-native 2.58.0a1724401186__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.

Files changed (101) hide show
  1. pulumi_azure_native/__init__.py +52 -0
  2. pulumi_azure_native/azurelargeinstance/__init__.py +22 -0
  3. pulumi_azure_native/azurelargeinstance/_enums.py +256 -0
  4. pulumi_azure_native/azurelargeinstance/_inputs.py +646 -0
  5. pulumi_azure_native/azurelargeinstance/azure_large_instance.py +475 -0
  6. pulumi_azure_native/azurelargeinstance/azure_large_storage_instance.py +320 -0
  7. pulumi_azure_native/azurelargeinstance/get_azure_large_instance.py +271 -0
  8. pulumi_azure_native/azurelargeinstance/get_azure_large_storage_instance.py +193 -0
  9. pulumi_azure_native/azurelargeinstance/outputs.py +795 -0
  10. pulumi_azure_native/azurelargeinstance/v20240801preview/__init__.py +14 -0
  11. pulumi_azure_native/azurelargeinstance/v20240801preview/_enums.py +256 -0
  12. pulumi_azure_native/azurelargeinstance/v20240801preview/_inputs.py +646 -0
  13. pulumi_azure_native/azurelargeinstance/v20240801preview/azure_large_instance.py +473 -0
  14. pulumi_azure_native/azurelargeinstance/v20240801preview/azure_large_storage_instance.py +318 -0
  15. pulumi_azure_native/azurelargeinstance/v20240801preview/get_azure_large_instance.py +269 -0
  16. pulumi_azure_native/azurelargeinstance/v20240801preview/get_azure_large_storage_instance.py +191 -0
  17. pulumi_azure_native/azurelargeinstance/v20240801preview/outputs.py +795 -0
  18. pulumi_azure_native/baremetalinfrastructure/__init__.py +5 -0
  19. pulumi_azure_native/baremetalinfrastructure/_enums.py +74 -0
  20. pulumi_azure_native/baremetalinfrastructure/_inputs.py +368 -0
  21. pulumi_azure_native/baremetalinfrastructure/azure_bare_metal_instance.py +502 -0
  22. pulumi_azure_native/baremetalinfrastructure/azure_bare_metal_storage_instance.py +3 -3
  23. pulumi_azure_native/baremetalinfrastructure/get_azure_bare_metal_instance.py +281 -0
  24. pulumi_azure_native/baremetalinfrastructure/get_azure_bare_metal_storage_instance.py +2 -2
  25. pulumi_azure_native/baremetalinfrastructure/outputs.py +351 -0
  26. pulumi_azure_native/baremetalinfrastructure/v20230406/azure_bare_metal_storage_instance.py +1 -1
  27. pulumi_azure_native/baremetalinfrastructure/v20230804preview/azure_bare_metal_storage_instance.py +1 -1
  28. pulumi_azure_native/baremetalinfrastructure/v20231101preview/azure_bare_metal_storage_instance.py +1 -1
  29. pulumi_azure_native/baremetalinfrastructure/v20240801preview/__init__.py +14 -0
  30. pulumi_azure_native/baremetalinfrastructure/v20240801preview/_enums.py +106 -0
  31. pulumi_azure_native/baremetalinfrastructure/v20240801preview/_inputs.py +644 -0
  32. pulumi_azure_native/baremetalinfrastructure/v20240801preview/azure_bare_metal_instance.py +500 -0
  33. pulumi_azure_native/baremetalinfrastructure/v20240801preview/azure_bare_metal_storage_instance.py +316 -0
  34. pulumi_azure_native/baremetalinfrastructure/v20240801preview/get_azure_bare_metal_instance.py +279 -0
  35. pulumi_azure_native/baremetalinfrastructure/v20240801preview/get_azure_bare_metal_storage_instance.py +188 -0
  36. pulumi_azure_native/baremetalinfrastructure/v20240801preview/outputs.py +726 -0
  37. pulumi_azure_native/batch/__init__.py +3 -0
  38. pulumi_azure_native/batch/application.py +3 -3
  39. pulumi_azure_native/batch/application_package.py +3 -3
  40. pulumi_azure_native/batch/batch_account.py +3 -3
  41. pulumi_azure_native/batch/get_application.py +2 -2
  42. pulumi_azure_native/batch/get_application_package.py +2 -2
  43. pulumi_azure_native/batch/get_batch_account.py +2 -2
  44. pulumi_azure_native/batch/get_pool.py +2 -2
  45. pulumi_azure_native/batch/list_batch_account_keys.py +2 -2
  46. pulumi_azure_native/batch/pool.py +3 -3
  47. pulumi_azure_native/batch/v20220101/batch_account.py +1 -1
  48. pulumi_azure_native/batch/v20230501/application.py +1 -1
  49. pulumi_azure_native/batch/v20230501/application_package.py +1 -1
  50. pulumi_azure_native/batch/v20230501/batch_account.py +1 -1
  51. pulumi_azure_native/batch/v20230501/pool.py +1 -1
  52. pulumi_azure_native/batch/v20231101/application.py +1 -1
  53. pulumi_azure_native/batch/v20231101/application_package.py +1 -1
  54. pulumi_azure_native/batch/v20231101/batch_account.py +1 -1
  55. pulumi_azure_native/batch/v20231101/pool.py +1 -1
  56. pulumi_azure_native/batch/v20240201/application.py +1 -1
  57. pulumi_azure_native/batch/v20240201/application_package.py +1 -1
  58. pulumi_azure_native/batch/v20240201/batch_account.py +1 -1
  59. pulumi_azure_native/batch/v20240201/pool.py +1 -1
  60. pulumi_azure_native/batch/v20240701/__init__.py +19 -0
  61. pulumi_azure_native/batch/v20240701/_enums.py +510 -0
  62. pulumi_azure_native/batch/v20240701/_inputs.py +4319 -0
  63. pulumi_azure_native/batch/v20240701/application.py +305 -0
  64. pulumi_azure_native/batch/v20240701/application_package.py +289 -0
  65. pulumi_azure_native/batch/v20240701/batch_account.py +545 -0
  66. pulumi_azure_native/batch/v20240701/get_application.py +179 -0
  67. pulumi_azure_native/batch/v20240701/get_application_package.py +210 -0
  68. pulumi_azure_native/batch/v20240701/get_batch_account.py +364 -0
  69. pulumi_azure_native/batch/v20240701/get_pool.py +503 -0
  70. pulumi_azure_native/batch/v20240701/list_batch_account_keys.py +109 -0
  71. pulumi_azure_native/batch/v20240701/outputs.py +4161 -0
  72. pulumi_azure_native/batch/v20240701/pool.py +854 -0
  73. pulumi_azure_native/hardwaresecuritymodules/__init__.py +3 -0
  74. pulumi_azure_native/hardwaresecuritymodules/cloud_hsm_cluster.py +3 -3
  75. pulumi_azure_native/hardwaresecuritymodules/cloud_hsm_cluster_private_endpoint_connection.py +3 -3
  76. pulumi_azure_native/hardwaresecuritymodules/dedicated_hsm.py +5 -1
  77. pulumi_azure_native/hardwaresecuritymodules/get_cloud_hsm_cluster.py +2 -2
  78. pulumi_azure_native/hardwaresecuritymodules/get_cloud_hsm_cluster_private_endpoint_connection.py +2 -2
  79. pulumi_azure_native/hardwaresecuritymodules/get_dedicated_hsm.py +4 -0
  80. pulumi_azure_native/hardwaresecuritymodules/v20211130/dedicated_hsm.py +1 -1
  81. pulumi_azure_native/hardwaresecuritymodules/v20220831preview/cloud_hsm_cluster.py +1 -1
  82. pulumi_azure_native/hardwaresecuritymodules/v20220831preview/cloud_hsm_cluster_private_endpoint_connection.py +1 -1
  83. pulumi_azure_native/hardwaresecuritymodules/v20231210preview/cloud_hsm_cluster.py +1 -1
  84. pulumi_azure_native/hardwaresecuritymodules/v20231210preview/cloud_hsm_cluster_private_endpoint_connection.py +1 -1
  85. pulumi_azure_native/hardwaresecuritymodules/v20240630preview/__init__.py +16 -0
  86. pulumi_azure_native/hardwaresecuritymodules/v20240630preview/_enums.py +100 -0
  87. pulumi_azure_native/hardwaresecuritymodules/v20240630preview/_inputs.py +405 -0
  88. pulumi_azure_native/hardwaresecuritymodules/v20240630preview/cloud_hsm_cluster.py +428 -0
  89. pulumi_azure_native/hardwaresecuritymodules/v20240630preview/cloud_hsm_cluster_private_endpoint_connection.py +262 -0
  90. pulumi_azure_native/hardwaresecuritymodules/v20240630preview/dedicated_hsm.py +394 -0
  91. pulumi_azure_native/hardwaresecuritymodules/v20240630preview/get_cloud_hsm_cluster.py +279 -0
  92. pulumi_azure_native/hardwaresecuritymodules/v20240630preview/get_cloud_hsm_cluster_private_endpoint_connection.py +193 -0
  93. pulumi_azure_native/hardwaresecuritymodules/v20240630preview/get_dedicated_hsm.py +240 -0
  94. pulumi_azure_native/hardwaresecuritymodules/v20240630preview/outputs.py +772 -0
  95. pulumi_azure_native/machinelearningservices/v20240701preview/_inputs.py +20 -0
  96. pulumi_azure_native/machinelearningservices/v20240701preview/outputs.py +12 -11
  97. pulumi_azure_native/pulumi-plugin.json +1 -1
  98. {pulumi_azure_native-2.58.0a1724401186.dist-info → pulumi_azure_native-2.58.0a1724403460.dist-info}/METADATA +1 -1
  99. {pulumi_azure_native-2.58.0a1724401186.dist-info → pulumi_azure_native-2.58.0a1724403460.dist-info}/RECORD +101 -52
  100. {pulumi_azure_native-2.58.0a1724401186.dist-info → pulumi_azure_native-2.58.0a1724403460.dist-info}/WHEEL +0 -0
  101. {pulumi_azure_native-2.58.0a1724401186.dist-info → pulumi_azure_native-2.58.0a1724403460.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,281 @@
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
+ 'GetAzureBareMetalInstanceResult',
20
+ 'AwaitableGetAzureBareMetalInstanceResult',
21
+ 'get_azure_bare_metal_instance',
22
+ 'get_azure_bare_metal_instance_output',
23
+ ]
24
+
25
+ @pulumi.output_type
26
+ class GetAzureBareMetalInstanceResult:
27
+ """
28
+ AzureBareMetal instance info on Azure (ARM properties and AzureBareMetal properties)
29
+ """
30
+ def __init__(__self__, azure_bare_metal_instance_id=None, hardware_profile=None, hw_revision=None, id=None, location=None, name=None, network_profile=None, os_profile=None, partner_node_id=None, power_state=None, provisioning_state=None, proximity_placement_group=None, storage_profile=None, system_data=None, tags=None, type=None):
31
+ if azure_bare_metal_instance_id and not isinstance(azure_bare_metal_instance_id, str):
32
+ raise TypeError("Expected argument 'azure_bare_metal_instance_id' to be a str")
33
+ pulumi.set(__self__, "azure_bare_metal_instance_id", azure_bare_metal_instance_id)
34
+ if hardware_profile and not isinstance(hardware_profile, dict):
35
+ raise TypeError("Expected argument 'hardware_profile' to be a dict")
36
+ pulumi.set(__self__, "hardware_profile", hardware_profile)
37
+ if hw_revision and not isinstance(hw_revision, str):
38
+ raise TypeError("Expected argument 'hw_revision' to be a str")
39
+ pulumi.set(__self__, "hw_revision", hw_revision)
40
+ if id and not isinstance(id, str):
41
+ raise TypeError("Expected argument 'id' to be a str")
42
+ pulumi.set(__self__, "id", id)
43
+ if location and not isinstance(location, str):
44
+ raise TypeError("Expected argument 'location' to be a str")
45
+ pulumi.set(__self__, "location", location)
46
+ if name and not isinstance(name, str):
47
+ raise TypeError("Expected argument 'name' to be a str")
48
+ pulumi.set(__self__, "name", name)
49
+ if network_profile and not isinstance(network_profile, dict):
50
+ raise TypeError("Expected argument 'network_profile' to be a dict")
51
+ pulumi.set(__self__, "network_profile", network_profile)
52
+ if os_profile and not isinstance(os_profile, dict):
53
+ raise TypeError("Expected argument 'os_profile' to be a dict")
54
+ pulumi.set(__self__, "os_profile", os_profile)
55
+ if partner_node_id and not isinstance(partner_node_id, str):
56
+ raise TypeError("Expected argument 'partner_node_id' to be a str")
57
+ pulumi.set(__self__, "partner_node_id", partner_node_id)
58
+ if power_state and not isinstance(power_state, str):
59
+ raise TypeError("Expected argument 'power_state' to be a str")
60
+ pulumi.set(__self__, "power_state", power_state)
61
+ if provisioning_state and not isinstance(provisioning_state, str):
62
+ raise TypeError("Expected argument 'provisioning_state' to be a str")
63
+ pulumi.set(__self__, "provisioning_state", provisioning_state)
64
+ if proximity_placement_group and not isinstance(proximity_placement_group, str):
65
+ raise TypeError("Expected argument 'proximity_placement_group' to be a str")
66
+ pulumi.set(__self__, "proximity_placement_group", proximity_placement_group)
67
+ if storage_profile and not isinstance(storage_profile, dict):
68
+ raise TypeError("Expected argument 'storage_profile' to be a dict")
69
+ pulumi.set(__self__, "storage_profile", storage_profile)
70
+ if system_data and not isinstance(system_data, dict):
71
+ raise TypeError("Expected argument 'system_data' to be a dict")
72
+ pulumi.set(__self__, "system_data", system_data)
73
+ if tags and not isinstance(tags, dict):
74
+ raise TypeError("Expected argument 'tags' to be a dict")
75
+ pulumi.set(__self__, "tags", tags)
76
+ if type and not isinstance(type, str):
77
+ raise TypeError("Expected argument 'type' to be a str")
78
+ pulumi.set(__self__, "type", type)
79
+
80
+ @property
81
+ @pulumi.getter(name="azureBareMetalInstanceId")
82
+ def azure_bare_metal_instance_id(self) -> Optional[str]:
83
+ """
84
+ Specifies the Azure Bare Metal Instance unique ID.
85
+ """
86
+ return pulumi.get(self, "azure_bare_metal_instance_id")
87
+
88
+ @property
89
+ @pulumi.getter(name="hardwareProfile")
90
+ def hardware_profile(self) -> Optional['outputs.HardwareProfileResponse']:
91
+ """
92
+ Specifies the hardware settings for the Azure Bare Metal Instance.
93
+ """
94
+ return pulumi.get(self, "hardware_profile")
95
+
96
+ @property
97
+ @pulumi.getter(name="hwRevision")
98
+ def hw_revision(self) -> Optional[str]:
99
+ """
100
+ Hardware revision of an Azure Bare Metal Instance
101
+ """
102
+ return pulumi.get(self, "hw_revision")
103
+
104
+ @property
105
+ @pulumi.getter
106
+ def id(self) -> str:
107
+ """
108
+ Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
109
+ """
110
+ return pulumi.get(self, "id")
111
+
112
+ @property
113
+ @pulumi.getter
114
+ def location(self) -> str:
115
+ """
116
+ The geo-location where the resource lives
117
+ """
118
+ return pulumi.get(self, "location")
119
+
120
+ @property
121
+ @pulumi.getter
122
+ def name(self) -> str:
123
+ """
124
+ The name of the resource
125
+ """
126
+ return pulumi.get(self, "name")
127
+
128
+ @property
129
+ @pulumi.getter(name="networkProfile")
130
+ def network_profile(self) -> Optional['outputs.NetworkProfileResponse']:
131
+ """
132
+ Specifies the network settings for the Azure Bare Metal Instance.
133
+ """
134
+ return pulumi.get(self, "network_profile")
135
+
136
+ @property
137
+ @pulumi.getter(name="osProfile")
138
+ def os_profile(self) -> Optional['outputs.OSProfileResponse']:
139
+ """
140
+ Specifies the operating system settings for the Azure Bare Metal Instance.
141
+ """
142
+ return pulumi.get(self, "os_profile")
143
+
144
+ @property
145
+ @pulumi.getter(name="partnerNodeId")
146
+ def partner_node_id(self) -> Optional[str]:
147
+ """
148
+ ARM ID of another AzureBareMetalInstance that will share a network with this AzureBareMetalInstance
149
+ """
150
+ return pulumi.get(self, "partner_node_id")
151
+
152
+ @property
153
+ @pulumi.getter(name="powerState")
154
+ def power_state(self) -> Optional[str]:
155
+ """
156
+ Resource power state
157
+ """
158
+ return pulumi.get(self, "power_state")
159
+
160
+ @property
161
+ @pulumi.getter(name="provisioningState")
162
+ def provisioning_state(self) -> str:
163
+ """
164
+ State of provisioning of the AzureBareMetalInstance
165
+ """
166
+ return pulumi.get(self, "provisioning_state")
167
+
168
+ @property
169
+ @pulumi.getter(name="proximityPlacementGroup")
170
+ def proximity_placement_group(self) -> Optional[str]:
171
+ """
172
+ Resource proximity placement group
173
+ """
174
+ return pulumi.get(self, "proximity_placement_group")
175
+
176
+ @property
177
+ @pulumi.getter(name="storageProfile")
178
+ def storage_profile(self) -> Optional['outputs.StorageProfileResponse']:
179
+ """
180
+ Specifies the storage settings for the Azure Bare Metal Instance disks.
181
+ """
182
+ return pulumi.get(self, "storage_profile")
183
+
184
+ @property
185
+ @pulumi.getter(name="systemData")
186
+ def system_data(self) -> 'outputs.SystemDataResponse':
187
+ """
188
+ Azure Resource Manager metadata containing createdBy and modifiedBy information.
189
+ """
190
+ return pulumi.get(self, "system_data")
191
+
192
+ @property
193
+ @pulumi.getter
194
+ def tags(self) -> Optional[Mapping[str, str]]:
195
+ """
196
+ Resource tags.
197
+ """
198
+ return pulumi.get(self, "tags")
199
+
200
+ @property
201
+ @pulumi.getter
202
+ def type(self) -> str:
203
+ """
204
+ The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
205
+ """
206
+ return pulumi.get(self, "type")
207
+
208
+
209
+ class AwaitableGetAzureBareMetalInstanceResult(GetAzureBareMetalInstanceResult):
210
+ # pylint: disable=using-constant-test
211
+ def __await__(self):
212
+ if False:
213
+ yield self
214
+ return GetAzureBareMetalInstanceResult(
215
+ azure_bare_metal_instance_id=self.azure_bare_metal_instance_id,
216
+ hardware_profile=self.hardware_profile,
217
+ hw_revision=self.hw_revision,
218
+ id=self.id,
219
+ location=self.location,
220
+ name=self.name,
221
+ network_profile=self.network_profile,
222
+ os_profile=self.os_profile,
223
+ partner_node_id=self.partner_node_id,
224
+ power_state=self.power_state,
225
+ provisioning_state=self.provisioning_state,
226
+ proximity_placement_group=self.proximity_placement_group,
227
+ storage_profile=self.storage_profile,
228
+ system_data=self.system_data,
229
+ tags=self.tags,
230
+ type=self.type)
231
+
232
+
233
+ def get_azure_bare_metal_instance(azure_bare_metal_instance_name: Optional[str] = None,
234
+ resource_group_name: Optional[str] = None,
235
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAzureBareMetalInstanceResult:
236
+ """
237
+ Gets an Azure Bare Metal Instance for the specified subscription, resource group, and instance name.
238
+ Azure REST API version: 2024-08-01-preview.
239
+
240
+
241
+ :param str azure_bare_metal_instance_name: Name of the Azure Bare Metal Instance, also known as the ResourceName.
242
+ :param str resource_group_name: The name of the resource group. The name is case insensitive.
243
+ """
244
+ __args__ = dict()
245
+ __args__['azureBareMetalInstanceName'] = azure_bare_metal_instance_name
246
+ __args__['resourceGroupName'] = resource_group_name
247
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
248
+ __ret__ = pulumi.runtime.invoke('azure-native:baremetalinfrastructure:getAzureBareMetalInstance', __args__, opts=opts, typ=GetAzureBareMetalInstanceResult).value
249
+
250
+ return AwaitableGetAzureBareMetalInstanceResult(
251
+ azure_bare_metal_instance_id=pulumi.get(__ret__, 'azure_bare_metal_instance_id'),
252
+ hardware_profile=pulumi.get(__ret__, 'hardware_profile'),
253
+ hw_revision=pulumi.get(__ret__, 'hw_revision'),
254
+ id=pulumi.get(__ret__, 'id'),
255
+ location=pulumi.get(__ret__, 'location'),
256
+ name=pulumi.get(__ret__, 'name'),
257
+ network_profile=pulumi.get(__ret__, 'network_profile'),
258
+ os_profile=pulumi.get(__ret__, 'os_profile'),
259
+ partner_node_id=pulumi.get(__ret__, 'partner_node_id'),
260
+ power_state=pulumi.get(__ret__, 'power_state'),
261
+ provisioning_state=pulumi.get(__ret__, 'provisioning_state'),
262
+ proximity_placement_group=pulumi.get(__ret__, 'proximity_placement_group'),
263
+ storage_profile=pulumi.get(__ret__, 'storage_profile'),
264
+ system_data=pulumi.get(__ret__, 'system_data'),
265
+ tags=pulumi.get(__ret__, 'tags'),
266
+ type=pulumi.get(__ret__, 'type'))
267
+
268
+
269
+ @_utilities.lift_output_func(get_azure_bare_metal_instance)
270
+ def get_azure_bare_metal_instance_output(azure_bare_metal_instance_name: Optional[pulumi.Input[str]] = None,
271
+ resource_group_name: Optional[pulumi.Input[str]] = None,
272
+ opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAzureBareMetalInstanceResult]:
273
+ """
274
+ Gets an Azure Bare Metal Instance for the specified subscription, resource group, and instance name.
275
+ Azure REST API version: 2024-08-01-preview.
276
+
277
+
278
+ :param str azure_bare_metal_instance_name: Name of the Azure Bare Metal Instance, also known as the ResourceName.
279
+ :param str resource_group_name: The name of the resource group. The name is case insensitive.
280
+ """
281
+ ...
@@ -141,7 +141,7 @@ def get_azure_bare_metal_storage_instance(azure_bare_metal_storage_instance_name
141
141
  Gets an Azure BareMetal Storage instance for the specified subscription, resource group, and instance name.
142
142
  Azure REST API version: 2023-04-06.
143
143
 
144
- Other available API versions: 2023-08-04-preview, 2023-11-01-preview.
144
+ Other available API versions: 2023-08-04-preview, 2023-11-01-preview, 2024-08-01-preview.
145
145
 
146
146
 
147
147
  :param str azure_bare_metal_storage_instance_name: Name of the AzureBareMetalStorage on Azure instance.
@@ -172,7 +172,7 @@ def get_azure_bare_metal_storage_instance_output(azure_bare_metal_storage_instan
172
172
  Gets an Azure BareMetal Storage instance for the specified subscription, resource group, and instance name.
173
173
  Azure REST API version: 2023-04-06.
174
174
 
175
- Other available API versions: 2023-08-04-preview, 2023-11-01-preview.
175
+ Other available API versions: 2023-08-04-preview, 2023-11-01-preview, 2024-08-01-preview.
176
176
 
177
177
 
178
178
  :param str azure_bare_metal_storage_instance_name: Name of the AzureBareMetalStorage on Azure instance.
@@ -17,11 +17,308 @@ from . import outputs
17
17
  from ._enums import *
18
18
 
19
19
  __all__ = [
20
+ 'DiskResponse',
21
+ 'HardwareProfileResponse',
22
+ 'NetworkInterfaceResponse',
23
+ 'NetworkProfileResponse',
24
+ 'OSProfileResponse',
20
25
  'StorageBillingPropertiesResponse',
26
+ 'StorageProfileResponse',
21
27
  'StoragePropertiesResponse',
22
28
  'SystemDataResponse',
23
29
  ]
24
30
 
31
+ @pulumi.output_type
32
+ class DiskResponse(dict):
33
+ """
34
+ Specifies the disk information fo the Azure Bare Metal Instance
35
+ """
36
+ @staticmethod
37
+ def __key_warning(key: str):
38
+ suggest = None
39
+ if key == "diskSizeGB":
40
+ suggest = "disk_size_gb"
41
+
42
+ if suggest:
43
+ pulumi.log.warn(f"Key '{key}' not found in DiskResponse. Access the value via the '{suggest}' property getter instead.")
44
+
45
+ def __getitem__(self, key: str) -> Any:
46
+ DiskResponse.__key_warning(key)
47
+ return super().__getitem__(key)
48
+
49
+ def get(self, key: str, default = None) -> Any:
50
+ DiskResponse.__key_warning(key)
51
+ return super().get(key, default)
52
+
53
+ def __init__(__self__, *,
54
+ lun: int,
55
+ disk_size_gb: Optional[int] = None,
56
+ name: Optional[str] = None):
57
+ """
58
+ Specifies the disk information fo the Azure Bare Metal Instance
59
+ :param int lun: Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.
60
+ :param int disk_size_gb: Specifies the size of an empty data disk in gigabytes.
61
+ :param str name: The disk name.
62
+ """
63
+ pulumi.set(__self__, "lun", lun)
64
+ if disk_size_gb is not None:
65
+ pulumi.set(__self__, "disk_size_gb", disk_size_gb)
66
+ if name is not None:
67
+ pulumi.set(__self__, "name", name)
68
+
69
+ @property
70
+ @pulumi.getter
71
+ def lun(self) -> int:
72
+ """
73
+ Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.
74
+ """
75
+ return pulumi.get(self, "lun")
76
+
77
+ @property
78
+ @pulumi.getter(name="diskSizeGB")
79
+ def disk_size_gb(self) -> Optional[int]:
80
+ """
81
+ Specifies the size of an empty data disk in gigabytes.
82
+ """
83
+ return pulumi.get(self, "disk_size_gb")
84
+
85
+ @property
86
+ @pulumi.getter
87
+ def name(self) -> Optional[str]:
88
+ """
89
+ The disk name.
90
+ """
91
+ return pulumi.get(self, "name")
92
+
93
+
94
+ @pulumi.output_type
95
+ class HardwareProfileResponse(dict):
96
+ """
97
+ Specifies the hardware settings for the Azure Bare Metal Instance.
98
+ """
99
+ @staticmethod
100
+ def __key_warning(key: str):
101
+ suggest = None
102
+ if key == "azureBareMetalInstanceSize":
103
+ suggest = "azure_bare_metal_instance_size"
104
+ elif key == "hardwareType":
105
+ suggest = "hardware_type"
106
+
107
+ if suggest:
108
+ pulumi.log.warn(f"Key '{key}' not found in HardwareProfileResponse. Access the value via the '{suggest}' property getter instead.")
109
+
110
+ def __getitem__(self, key: str) -> Any:
111
+ HardwareProfileResponse.__key_warning(key)
112
+ return super().__getitem__(key)
113
+
114
+ def get(self, key: str, default = None) -> Any:
115
+ HardwareProfileResponse.__key_warning(key)
116
+ return super().get(key, default)
117
+
118
+ def __init__(__self__, *,
119
+ azure_bare_metal_instance_size: Optional[str] = None,
120
+ hardware_type: Optional[str] = None):
121
+ """
122
+ Specifies the hardware settings for the Azure Bare Metal Instance.
123
+ :param str azure_bare_metal_instance_size: Specifies the Azure Bare Metal Instance SKU.
124
+ :param str hardware_type: Name of the hardware type (vendor and/or their product name)
125
+ """
126
+ if azure_bare_metal_instance_size is not None:
127
+ pulumi.set(__self__, "azure_bare_metal_instance_size", azure_bare_metal_instance_size)
128
+ if hardware_type is not None:
129
+ pulumi.set(__self__, "hardware_type", hardware_type)
130
+
131
+ @property
132
+ @pulumi.getter(name="azureBareMetalInstanceSize")
133
+ def azure_bare_metal_instance_size(self) -> Optional[str]:
134
+ """
135
+ Specifies the Azure Bare Metal Instance SKU.
136
+ """
137
+ return pulumi.get(self, "azure_bare_metal_instance_size")
138
+
139
+ @property
140
+ @pulumi.getter(name="hardwareType")
141
+ def hardware_type(self) -> Optional[str]:
142
+ """
143
+ Name of the hardware type (vendor and/or their product name)
144
+ """
145
+ return pulumi.get(self, "hardware_type")
146
+
147
+
148
+ @pulumi.output_type
149
+ class NetworkInterfaceResponse(dict):
150
+ """
151
+ Specifies the network interfaces of a bare metal resource.
152
+ """
153
+ @staticmethod
154
+ def __key_warning(key: str):
155
+ suggest = None
156
+ if key == "ipAddress":
157
+ suggest = "ip_address"
158
+
159
+ if suggest:
160
+ pulumi.log.warn(f"Key '{key}' not found in NetworkInterfaceResponse. Access the value via the '{suggest}' property getter instead.")
161
+
162
+ def __getitem__(self, key: str) -> Any:
163
+ NetworkInterfaceResponse.__key_warning(key)
164
+ return super().__getitem__(key)
165
+
166
+ def get(self, key: str, default = None) -> Any:
167
+ NetworkInterfaceResponse.__key_warning(key)
168
+ return super().get(key, default)
169
+
170
+ def __init__(__self__, *,
171
+ ip_address: Optional[str] = None):
172
+ """
173
+ Specifies the network interfaces of a bare metal resource.
174
+ :param str ip_address: Specifies the IP address of the network interface.
175
+ """
176
+ if ip_address is not None:
177
+ pulumi.set(__self__, "ip_address", ip_address)
178
+
179
+ @property
180
+ @pulumi.getter(name="ipAddress")
181
+ def ip_address(self) -> Optional[str]:
182
+ """
183
+ Specifies the IP address of the network interface.
184
+ """
185
+ return pulumi.get(self, "ip_address")
186
+
187
+
188
+ @pulumi.output_type
189
+ class NetworkProfileResponse(dict):
190
+ """
191
+ Specifies the network settings for the Azure Bare Metal Instance disks.
192
+ """
193
+ @staticmethod
194
+ def __key_warning(key: str):
195
+ suggest = None
196
+ if key == "circuitId":
197
+ suggest = "circuit_id"
198
+ elif key == "networkInterfaces":
199
+ suggest = "network_interfaces"
200
+
201
+ if suggest:
202
+ pulumi.log.warn(f"Key '{key}' not found in NetworkProfileResponse. Access the value via the '{suggest}' property getter instead.")
203
+
204
+ def __getitem__(self, key: str) -> Any:
205
+ NetworkProfileResponse.__key_warning(key)
206
+ return super().__getitem__(key)
207
+
208
+ def get(self, key: str, default = None) -> Any:
209
+ NetworkProfileResponse.__key_warning(key)
210
+ return super().get(key, default)
211
+
212
+ def __init__(__self__, *,
213
+ circuit_id: Optional[str] = None,
214
+ network_interfaces: Optional[Sequence['outputs.NetworkInterfaceResponse']] = None):
215
+ """
216
+ Specifies the network settings for the Azure Bare Metal Instance disks.
217
+ :param str circuit_id: Specifies the circuit id for connecting to express route.
218
+ :param Sequence['NetworkInterfaceResponse'] network_interfaces: Specifies the network interfaces for the Azure Bare Metal Instance.
219
+ """
220
+ if circuit_id is not None:
221
+ pulumi.set(__self__, "circuit_id", circuit_id)
222
+ if network_interfaces is not None:
223
+ pulumi.set(__self__, "network_interfaces", network_interfaces)
224
+
225
+ @property
226
+ @pulumi.getter(name="circuitId")
227
+ def circuit_id(self) -> Optional[str]:
228
+ """
229
+ Specifies the circuit id for connecting to express route.
230
+ """
231
+ return pulumi.get(self, "circuit_id")
232
+
233
+ @property
234
+ @pulumi.getter(name="networkInterfaces")
235
+ def network_interfaces(self) -> Optional[Sequence['outputs.NetworkInterfaceResponse']]:
236
+ """
237
+ Specifies the network interfaces for the Azure Bare Metal Instance.
238
+ """
239
+ return pulumi.get(self, "network_interfaces")
240
+
241
+
242
+ @pulumi.output_type
243
+ class OSProfileResponse(dict):
244
+ """
245
+ Specifies the operating system settings for the Azure Bare Metal instance.
246
+ """
247
+ @staticmethod
248
+ def __key_warning(key: str):
249
+ suggest = None
250
+ if key == "computerName":
251
+ suggest = "computer_name"
252
+ elif key == "osType":
253
+ suggest = "os_type"
254
+ elif key == "sshPublicKey":
255
+ suggest = "ssh_public_key"
256
+
257
+ if suggest:
258
+ pulumi.log.warn(f"Key '{key}' not found in OSProfileResponse. Access the value via the '{suggest}' property getter instead.")
259
+
260
+ def __getitem__(self, key: str) -> Any:
261
+ OSProfileResponse.__key_warning(key)
262
+ return super().__getitem__(key)
263
+
264
+ def get(self, key: str, default = None) -> Any:
265
+ OSProfileResponse.__key_warning(key)
266
+ return super().get(key, default)
267
+
268
+ def __init__(__self__, *,
269
+ computer_name: Optional[str] = None,
270
+ os_type: Optional[str] = None,
271
+ ssh_public_key: Optional[str] = None,
272
+ version: Optional[str] = None):
273
+ """
274
+ Specifies the operating system settings for the Azure Bare Metal instance.
275
+ :param str computer_name: Specifies the host OS name of the Azure Bare Metal instance.
276
+ :param str os_type: This property allows you to specify the type of the OS.
277
+ :param str ssh_public_key: Specifies the SSH public key used to access the operating system.
278
+ :param str version: Specifies version of operating system.
279
+ """
280
+ if computer_name is not None:
281
+ pulumi.set(__self__, "computer_name", computer_name)
282
+ if os_type is not None:
283
+ pulumi.set(__self__, "os_type", os_type)
284
+ if ssh_public_key is not None:
285
+ pulumi.set(__self__, "ssh_public_key", ssh_public_key)
286
+ if version is not None:
287
+ pulumi.set(__self__, "version", version)
288
+
289
+ @property
290
+ @pulumi.getter(name="computerName")
291
+ def computer_name(self) -> Optional[str]:
292
+ """
293
+ Specifies the host OS name of the Azure Bare Metal instance.
294
+ """
295
+ return pulumi.get(self, "computer_name")
296
+
297
+ @property
298
+ @pulumi.getter(name="osType")
299
+ def os_type(self) -> Optional[str]:
300
+ """
301
+ This property allows you to specify the type of the OS.
302
+ """
303
+ return pulumi.get(self, "os_type")
304
+
305
+ @property
306
+ @pulumi.getter(name="sshPublicKey")
307
+ def ssh_public_key(self) -> Optional[str]:
308
+ """
309
+ Specifies the SSH public key used to access the operating system.
310
+ """
311
+ return pulumi.get(self, "ssh_public_key")
312
+
313
+ @property
314
+ @pulumi.getter
315
+ def version(self) -> Optional[str]:
316
+ """
317
+ Specifies version of operating system.
318
+ """
319
+ return pulumi.get(self, "version")
320
+
321
+
25
322
  @pulumi.output_type
26
323
  class StorageBillingPropertiesResponse(dict):
27
324
  """
@@ -76,6 +373,60 @@ class StorageBillingPropertiesResponse(dict):
76
373
  return pulumi.get(self, "billing_mode")
77
374
 
78
375
 
376
+ @pulumi.output_type
377
+ class StorageProfileResponse(dict):
378
+ """
379
+ Specifies the storage settings for the Azure Bare Metal instance disks.
380
+ """
381
+ @staticmethod
382
+ def __key_warning(key: str):
383
+ suggest = None
384
+ if key == "nfsIpAddress":
385
+ suggest = "nfs_ip_address"
386
+ elif key == "osDisks":
387
+ suggest = "os_disks"
388
+
389
+ if suggest:
390
+ pulumi.log.warn(f"Key '{key}' not found in StorageProfileResponse. Access the value via the '{suggest}' property getter instead.")
391
+
392
+ def __getitem__(self, key: str) -> Any:
393
+ StorageProfileResponse.__key_warning(key)
394
+ return super().__getitem__(key)
395
+
396
+ def get(self, key: str, default = None) -> Any:
397
+ StorageProfileResponse.__key_warning(key)
398
+ return super().get(key, default)
399
+
400
+ def __init__(__self__, *,
401
+ nfs_ip_address: Optional[str] = None,
402
+ os_disks: Optional[Sequence['outputs.DiskResponse']] = None):
403
+ """
404
+ Specifies the storage settings for the Azure Bare Metal instance disks.
405
+ :param str nfs_ip_address: IP Address to connect to storage.
406
+ :param Sequence['DiskResponse'] os_disks: Specifies information about the operating system disk used by bare metal instance.
407
+ """
408
+ if nfs_ip_address is not None:
409
+ pulumi.set(__self__, "nfs_ip_address", nfs_ip_address)
410
+ if os_disks is not None:
411
+ pulumi.set(__self__, "os_disks", os_disks)
412
+
413
+ @property
414
+ @pulumi.getter(name="nfsIpAddress")
415
+ def nfs_ip_address(self) -> Optional[str]:
416
+ """
417
+ IP Address to connect to storage.
418
+ """
419
+ return pulumi.get(self, "nfs_ip_address")
420
+
421
+ @property
422
+ @pulumi.getter(name="osDisks")
423
+ def os_disks(self) -> Optional[Sequence['outputs.DiskResponse']]:
424
+ """
425
+ Specifies information about the operating system disk used by bare metal instance.
426
+ """
427
+ return pulumi.get(self, "os_disks")
428
+
429
+
79
430
  @pulumi.output_type
80
431
  class StoragePropertiesResponse(dict):
81
432
  """
@@ -196,7 +196,7 @@ class AzureBareMetalStorageInstance(pulumi.CustomResource):
196
196
  __props__.__dict__["name"] = None
197
197
  __props__.__dict__["system_data"] = None
198
198
  __props__.__dict__["type"] = None
199
- alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:baremetalinfrastructure:AzureBareMetalStorageInstance"), pulumi.Alias(type_="azure-native:baremetalinfrastructure/v20230804preview:AzureBareMetalStorageInstance"), pulumi.Alias(type_="azure-native:baremetalinfrastructure/v20231101preview:AzureBareMetalStorageInstance")])
199
+ alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:baremetalinfrastructure:AzureBareMetalStorageInstance"), pulumi.Alias(type_="azure-native:baremetalinfrastructure/v20230804preview:AzureBareMetalStorageInstance"), pulumi.Alias(type_="azure-native:baremetalinfrastructure/v20231101preview:AzureBareMetalStorageInstance"), pulumi.Alias(type_="azure-native:baremetalinfrastructure/v20240801preview:AzureBareMetalStorageInstance")])
200
200
  opts = pulumi.ResourceOptions.merge(opts, alias_opts)
201
201
  super(AzureBareMetalStorageInstance, __self__).__init__(
202
202
  'azure-native:baremetalinfrastructure/v20230406:AzureBareMetalStorageInstance',