pulumi-azure-native 2.57.0a1724151002__py3-none-any.whl → 2.58.0__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.57.0a1724151002.dist-info → pulumi_azure_native-2.58.0.dist-info}/METADATA +1 -1
  99. {pulumi_azure_native-2.57.0a1724151002.dist-info → pulumi_azure_native-2.58.0.dist-info}/RECORD +101 -52
  100. {pulumi_azure_native-2.57.0a1724151002.dist-info → pulumi_azure_native-2.58.0.dist-info}/WHEEL +1 -1
  101. {pulumi_azure_native-2.57.0a1724151002.dist-info → pulumi_azure_native-2.58.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,316 @@
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
+ from ._enums import *
18
+ from ._inputs import *
19
+
20
+ __all__ = ['AzureBareMetalStorageInstanceArgs', 'AzureBareMetalStorageInstance']
21
+
22
+ @pulumi.input_type
23
+ class AzureBareMetalStorageInstanceArgs:
24
+ def __init__(__self__, *,
25
+ resource_group_name: pulumi.Input[str],
26
+ azure_bare_metal_storage_instance_name: Optional[pulumi.Input[str]] = None,
27
+ azure_bare_metal_storage_instance_unique_identifier: Optional[pulumi.Input[str]] = None,
28
+ identity: Optional[pulumi.Input['AzureBareMetalStorageInstanceIdentityArgs']] = None,
29
+ location: Optional[pulumi.Input[str]] = None,
30
+ storage_properties: Optional[pulumi.Input['StoragePropertiesArgs']] = None,
31
+ tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None):
32
+ """
33
+ The set of arguments for constructing a AzureBareMetalStorageInstance resource.
34
+ :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive.
35
+ :param pulumi.Input[str] azure_bare_metal_storage_instance_name: Name of the Azure Bare Metal Storage Instance, also known as the ResourceName.
36
+ :param pulumi.Input[str] azure_bare_metal_storage_instance_unique_identifier: Specifies the AzureBareMetaStorageInstance unique ID.
37
+ :param pulumi.Input['AzureBareMetalStorageInstanceIdentityArgs'] identity: The identity of Azure Bare Metal Storage Instance, if configured.
38
+ :param pulumi.Input[str] location: The geo-location where the resource lives
39
+ :param pulumi.Input['StoragePropertiesArgs'] storage_properties: Specifies the storage properties for the AzureBareMetalStorage instance.
40
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags.
41
+ """
42
+ pulumi.set(__self__, "resource_group_name", resource_group_name)
43
+ if azure_bare_metal_storage_instance_name is not None:
44
+ pulumi.set(__self__, "azure_bare_metal_storage_instance_name", azure_bare_metal_storage_instance_name)
45
+ if azure_bare_metal_storage_instance_unique_identifier is not None:
46
+ pulumi.set(__self__, "azure_bare_metal_storage_instance_unique_identifier", azure_bare_metal_storage_instance_unique_identifier)
47
+ if identity is not None:
48
+ pulumi.set(__self__, "identity", identity)
49
+ if location is not None:
50
+ pulumi.set(__self__, "location", location)
51
+ if storage_properties is not None:
52
+ pulumi.set(__self__, "storage_properties", storage_properties)
53
+ if tags is not None:
54
+ pulumi.set(__self__, "tags", tags)
55
+
56
+ @property
57
+ @pulumi.getter(name="resourceGroupName")
58
+ def resource_group_name(self) -> pulumi.Input[str]:
59
+ """
60
+ The name of the resource group. The name is case insensitive.
61
+ """
62
+ return pulumi.get(self, "resource_group_name")
63
+
64
+ @resource_group_name.setter
65
+ def resource_group_name(self, value: pulumi.Input[str]):
66
+ pulumi.set(self, "resource_group_name", value)
67
+
68
+ @property
69
+ @pulumi.getter(name="azureBareMetalStorageInstanceName")
70
+ def azure_bare_metal_storage_instance_name(self) -> Optional[pulumi.Input[str]]:
71
+ """
72
+ Name of the Azure Bare Metal Storage Instance, also known as the ResourceName.
73
+ """
74
+ return pulumi.get(self, "azure_bare_metal_storage_instance_name")
75
+
76
+ @azure_bare_metal_storage_instance_name.setter
77
+ def azure_bare_metal_storage_instance_name(self, value: Optional[pulumi.Input[str]]):
78
+ pulumi.set(self, "azure_bare_metal_storage_instance_name", value)
79
+
80
+ @property
81
+ @pulumi.getter(name="azureBareMetalStorageInstanceUniqueIdentifier")
82
+ def azure_bare_metal_storage_instance_unique_identifier(self) -> Optional[pulumi.Input[str]]:
83
+ """
84
+ Specifies the AzureBareMetaStorageInstance unique ID.
85
+ """
86
+ return pulumi.get(self, "azure_bare_metal_storage_instance_unique_identifier")
87
+
88
+ @azure_bare_metal_storage_instance_unique_identifier.setter
89
+ def azure_bare_metal_storage_instance_unique_identifier(self, value: Optional[pulumi.Input[str]]):
90
+ pulumi.set(self, "azure_bare_metal_storage_instance_unique_identifier", value)
91
+
92
+ @property
93
+ @pulumi.getter
94
+ def identity(self) -> Optional[pulumi.Input['AzureBareMetalStorageInstanceIdentityArgs']]:
95
+ """
96
+ The identity of Azure Bare Metal Storage Instance, if configured.
97
+ """
98
+ return pulumi.get(self, "identity")
99
+
100
+ @identity.setter
101
+ def identity(self, value: Optional[pulumi.Input['AzureBareMetalStorageInstanceIdentityArgs']]):
102
+ pulumi.set(self, "identity", value)
103
+
104
+ @property
105
+ @pulumi.getter
106
+ def location(self) -> Optional[pulumi.Input[str]]:
107
+ """
108
+ The geo-location where the resource lives
109
+ """
110
+ return pulumi.get(self, "location")
111
+
112
+ @location.setter
113
+ def location(self, value: Optional[pulumi.Input[str]]):
114
+ pulumi.set(self, "location", value)
115
+
116
+ @property
117
+ @pulumi.getter(name="storageProperties")
118
+ def storage_properties(self) -> Optional[pulumi.Input['StoragePropertiesArgs']]:
119
+ """
120
+ Specifies the storage properties for the AzureBareMetalStorage instance.
121
+ """
122
+ return pulumi.get(self, "storage_properties")
123
+
124
+ @storage_properties.setter
125
+ def storage_properties(self, value: Optional[pulumi.Input['StoragePropertiesArgs']]):
126
+ pulumi.set(self, "storage_properties", value)
127
+
128
+ @property
129
+ @pulumi.getter
130
+ def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
131
+ """
132
+ Resource tags.
133
+ """
134
+ return pulumi.get(self, "tags")
135
+
136
+ @tags.setter
137
+ def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
138
+ pulumi.set(self, "tags", value)
139
+
140
+
141
+ class AzureBareMetalStorageInstance(pulumi.CustomResource):
142
+ @overload
143
+ def __init__(__self__,
144
+ resource_name: str,
145
+ opts: Optional[pulumi.ResourceOptions] = None,
146
+ azure_bare_metal_storage_instance_name: Optional[pulumi.Input[str]] = None,
147
+ azure_bare_metal_storage_instance_unique_identifier: Optional[pulumi.Input[str]] = None,
148
+ identity: Optional[pulumi.Input[Union['AzureBareMetalStorageInstanceIdentityArgs', 'AzureBareMetalStorageInstanceIdentityArgsDict']]] = None,
149
+ location: Optional[pulumi.Input[str]] = None,
150
+ resource_group_name: Optional[pulumi.Input[str]] = None,
151
+ storage_properties: Optional[pulumi.Input[Union['StoragePropertiesArgs', 'StoragePropertiesArgsDict']]] = None,
152
+ tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
153
+ __props__=None):
154
+ """
155
+ AzureBareMetalStorageInstance info on Azure (ARM properties and AzureBareMetalStorage properties)
156
+
157
+ :param str resource_name: The name of the resource.
158
+ :param pulumi.ResourceOptions opts: Options for the resource.
159
+ :param pulumi.Input[str] azure_bare_metal_storage_instance_name: Name of the Azure Bare Metal Storage Instance, also known as the ResourceName.
160
+ :param pulumi.Input[str] azure_bare_metal_storage_instance_unique_identifier: Specifies the AzureBareMetaStorageInstance unique ID.
161
+ :param pulumi.Input[Union['AzureBareMetalStorageInstanceIdentityArgs', 'AzureBareMetalStorageInstanceIdentityArgsDict']] identity: The identity of Azure Bare Metal Storage Instance, if configured.
162
+ :param pulumi.Input[str] location: The geo-location where the resource lives
163
+ :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive.
164
+ :param pulumi.Input[Union['StoragePropertiesArgs', 'StoragePropertiesArgsDict']] storage_properties: Specifies the storage properties for the AzureBareMetalStorage instance.
165
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags.
166
+ """
167
+ ...
168
+ @overload
169
+ def __init__(__self__,
170
+ resource_name: str,
171
+ args: AzureBareMetalStorageInstanceArgs,
172
+ opts: Optional[pulumi.ResourceOptions] = None):
173
+ """
174
+ AzureBareMetalStorageInstance info on Azure (ARM properties and AzureBareMetalStorage properties)
175
+
176
+ :param str resource_name: The name of the resource.
177
+ :param AzureBareMetalStorageInstanceArgs args: The arguments to use to populate this resource's properties.
178
+ :param pulumi.ResourceOptions opts: Options for the resource.
179
+ """
180
+ ...
181
+ def __init__(__self__, resource_name: str, *args, **kwargs):
182
+ resource_args, opts = _utilities.get_resource_args_opts(AzureBareMetalStorageInstanceArgs, pulumi.ResourceOptions, *args, **kwargs)
183
+ if resource_args is not None:
184
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
185
+ else:
186
+ __self__._internal_init(resource_name, *args, **kwargs)
187
+
188
+ def _internal_init(__self__,
189
+ resource_name: str,
190
+ opts: Optional[pulumi.ResourceOptions] = None,
191
+ azure_bare_metal_storage_instance_name: Optional[pulumi.Input[str]] = None,
192
+ azure_bare_metal_storage_instance_unique_identifier: Optional[pulumi.Input[str]] = None,
193
+ identity: Optional[pulumi.Input[Union['AzureBareMetalStorageInstanceIdentityArgs', 'AzureBareMetalStorageInstanceIdentityArgsDict']]] = None,
194
+ location: Optional[pulumi.Input[str]] = None,
195
+ resource_group_name: Optional[pulumi.Input[str]] = None,
196
+ storage_properties: Optional[pulumi.Input[Union['StoragePropertiesArgs', 'StoragePropertiesArgsDict']]] = None,
197
+ tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
198
+ __props__=None):
199
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
200
+ if not isinstance(opts, pulumi.ResourceOptions):
201
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
202
+ if opts.id is None:
203
+ if __props__ is not None:
204
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
205
+ __props__ = AzureBareMetalStorageInstanceArgs.__new__(AzureBareMetalStorageInstanceArgs)
206
+
207
+ __props__.__dict__["azure_bare_metal_storage_instance_name"] = azure_bare_metal_storage_instance_name
208
+ __props__.__dict__["azure_bare_metal_storage_instance_unique_identifier"] = azure_bare_metal_storage_instance_unique_identifier
209
+ __props__.__dict__["identity"] = identity
210
+ __props__.__dict__["location"] = location
211
+ if resource_group_name is None and not opts.urn:
212
+ raise TypeError("Missing required property 'resource_group_name'")
213
+ __props__.__dict__["resource_group_name"] = resource_group_name
214
+ __props__.__dict__["storage_properties"] = storage_properties
215
+ __props__.__dict__["tags"] = tags
216
+ __props__.__dict__["name"] = None
217
+ __props__.__dict__["system_data"] = None
218
+ __props__.__dict__["type"] = None
219
+ alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:baremetalinfrastructure:AzureBareMetalStorageInstance"), pulumi.Alias(type_="azure-native:baremetalinfrastructure/v20230406:AzureBareMetalStorageInstance"), pulumi.Alias(type_="azure-native:baremetalinfrastructure/v20230804preview:AzureBareMetalStorageInstance"), pulumi.Alias(type_="azure-native:baremetalinfrastructure/v20231101preview:AzureBareMetalStorageInstance")])
220
+ opts = pulumi.ResourceOptions.merge(opts, alias_opts)
221
+ super(AzureBareMetalStorageInstance, __self__).__init__(
222
+ 'azure-native:baremetalinfrastructure/v20240801preview:AzureBareMetalStorageInstance',
223
+ resource_name,
224
+ __props__,
225
+ opts)
226
+
227
+ @staticmethod
228
+ def get(resource_name: str,
229
+ id: pulumi.Input[str],
230
+ opts: Optional[pulumi.ResourceOptions] = None) -> 'AzureBareMetalStorageInstance':
231
+ """
232
+ Get an existing AzureBareMetalStorageInstance resource's state with the given name, id, and optional extra
233
+ properties used to qualify the lookup.
234
+
235
+ :param str resource_name: The unique name of the resulting resource.
236
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
237
+ :param pulumi.ResourceOptions opts: Options for the resource.
238
+ """
239
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
240
+
241
+ __props__ = AzureBareMetalStorageInstanceArgs.__new__(AzureBareMetalStorageInstanceArgs)
242
+
243
+ __props__.__dict__["azure_bare_metal_storage_instance_unique_identifier"] = None
244
+ __props__.__dict__["identity"] = None
245
+ __props__.__dict__["location"] = None
246
+ __props__.__dict__["name"] = None
247
+ __props__.__dict__["storage_properties"] = None
248
+ __props__.__dict__["system_data"] = None
249
+ __props__.__dict__["tags"] = None
250
+ __props__.__dict__["type"] = None
251
+ return AzureBareMetalStorageInstance(resource_name, opts=opts, __props__=__props__)
252
+
253
+ @property
254
+ @pulumi.getter(name="azureBareMetalStorageInstanceUniqueIdentifier")
255
+ def azure_bare_metal_storage_instance_unique_identifier(self) -> pulumi.Output[Optional[str]]:
256
+ """
257
+ Specifies the AzureBareMetaStorageInstance unique ID.
258
+ """
259
+ return pulumi.get(self, "azure_bare_metal_storage_instance_unique_identifier")
260
+
261
+ @property
262
+ @pulumi.getter
263
+ def identity(self) -> pulumi.Output[Optional['outputs.AzureBareMetalStorageInstanceIdentityResponse']]:
264
+ """
265
+ The identity of Azure Bare Metal Storage Instance, if configured.
266
+ """
267
+ return pulumi.get(self, "identity")
268
+
269
+ @property
270
+ @pulumi.getter
271
+ def location(self) -> pulumi.Output[str]:
272
+ """
273
+ The geo-location where the resource lives
274
+ """
275
+ return pulumi.get(self, "location")
276
+
277
+ @property
278
+ @pulumi.getter
279
+ def name(self) -> pulumi.Output[str]:
280
+ """
281
+ The name of the resource
282
+ """
283
+ return pulumi.get(self, "name")
284
+
285
+ @property
286
+ @pulumi.getter(name="storageProperties")
287
+ def storage_properties(self) -> pulumi.Output[Optional['outputs.StoragePropertiesResponse']]:
288
+ """
289
+ Specifies the storage properties for the AzureBareMetalStorage instance.
290
+ """
291
+ return pulumi.get(self, "storage_properties")
292
+
293
+ @property
294
+ @pulumi.getter(name="systemData")
295
+ def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']:
296
+ """
297
+ Azure Resource Manager metadata containing createdBy and modifiedBy information.
298
+ """
299
+ return pulumi.get(self, "system_data")
300
+
301
+ @property
302
+ @pulumi.getter
303
+ def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
304
+ """
305
+ Resource tags.
306
+ """
307
+ return pulumi.get(self, "tags")
308
+
309
+ @property
310
+ @pulumi.getter
311
+ def type(self) -> pulumi.Output[str]:
312
+ """
313
+ The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
314
+ """
315
+ return pulumi.get(self, "type")
316
+
@@ -0,0 +1,279 @@
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
+
239
+
240
+ :param str azure_bare_metal_instance_name: Name of the Azure Bare Metal Instance, also known as the ResourceName.
241
+ :param str resource_group_name: The name of the resource group. The name is case insensitive.
242
+ """
243
+ __args__ = dict()
244
+ __args__['azureBareMetalInstanceName'] = azure_bare_metal_instance_name
245
+ __args__['resourceGroupName'] = resource_group_name
246
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
247
+ __ret__ = pulumi.runtime.invoke('azure-native:baremetalinfrastructure/v20240801preview:getAzureBareMetalInstance', __args__, opts=opts, typ=GetAzureBareMetalInstanceResult).value
248
+
249
+ return AwaitableGetAzureBareMetalInstanceResult(
250
+ azure_bare_metal_instance_id=pulumi.get(__ret__, 'azure_bare_metal_instance_id'),
251
+ hardware_profile=pulumi.get(__ret__, 'hardware_profile'),
252
+ hw_revision=pulumi.get(__ret__, 'hw_revision'),
253
+ id=pulumi.get(__ret__, 'id'),
254
+ location=pulumi.get(__ret__, 'location'),
255
+ name=pulumi.get(__ret__, 'name'),
256
+ network_profile=pulumi.get(__ret__, 'network_profile'),
257
+ os_profile=pulumi.get(__ret__, 'os_profile'),
258
+ partner_node_id=pulumi.get(__ret__, 'partner_node_id'),
259
+ power_state=pulumi.get(__ret__, 'power_state'),
260
+ provisioning_state=pulumi.get(__ret__, 'provisioning_state'),
261
+ proximity_placement_group=pulumi.get(__ret__, 'proximity_placement_group'),
262
+ storage_profile=pulumi.get(__ret__, 'storage_profile'),
263
+ system_data=pulumi.get(__ret__, 'system_data'),
264
+ tags=pulumi.get(__ret__, 'tags'),
265
+ type=pulumi.get(__ret__, 'type'))
266
+
267
+
268
+ @_utilities.lift_output_func(get_azure_bare_metal_instance)
269
+ def get_azure_bare_metal_instance_output(azure_bare_metal_instance_name: Optional[pulumi.Input[str]] = None,
270
+ resource_group_name: Optional[pulumi.Input[str]] = None,
271
+ opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAzureBareMetalInstanceResult]:
272
+ """
273
+ Gets an Azure Bare Metal Instance for the specified subscription, resource group, and instance name.
274
+
275
+
276
+ :param str azure_bare_metal_instance_name: Name of the Azure Bare Metal Instance, also known as the ResourceName.
277
+ :param str resource_group_name: The name of the resource group. The name is case insensitive.
278
+ """
279
+ ...