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,262 +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
- from ._enums import *
18
- from ._inputs import *
19
-
20
- __all__ = ['CloudHsmClusterPrivateEndpointConnectionArgs', 'CloudHsmClusterPrivateEndpointConnection']
21
-
22
- @pulumi.input_type
23
- class CloudHsmClusterPrivateEndpointConnectionArgs:
24
- def __init__(__self__, *,
25
- cloud_hsm_cluster_name: pulumi.Input[str],
26
- private_link_service_connection_state: pulumi.Input['PrivateLinkServiceConnectionStateArgs'],
27
- resource_group_name: pulumi.Input[str],
28
- pe_connection_name: Optional[pulumi.Input[str]] = None):
29
- """
30
- The set of arguments for constructing a CloudHsmClusterPrivateEndpointConnection resource.
31
- :param pulumi.Input[str] cloud_hsm_cluster_name: The name of the Cloud HSM Cluster within the specified resource group. Cloud HSM Cluster names must be between 3 and 23 characters in length.
32
- :param pulumi.Input['PrivateLinkServiceConnectionStateArgs'] private_link_service_connection_state: A collection of information about the state of the connection between service consumer and provider.
33
- :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive.
34
- :param pulumi.Input[str] pe_connection_name: Name of the private endpoint connection associated with the Cloud HSM Cluster.
35
- """
36
- pulumi.set(__self__, "cloud_hsm_cluster_name", cloud_hsm_cluster_name)
37
- pulumi.set(__self__, "private_link_service_connection_state", private_link_service_connection_state)
38
- pulumi.set(__self__, "resource_group_name", resource_group_name)
39
- if pe_connection_name is not None:
40
- pulumi.set(__self__, "pe_connection_name", pe_connection_name)
41
-
42
- @property
43
- @pulumi.getter(name="cloudHsmClusterName")
44
- def cloud_hsm_cluster_name(self) -> pulumi.Input[str]:
45
- """
46
- The name of the Cloud HSM Cluster within the specified resource group. Cloud HSM Cluster names must be between 3 and 23 characters in length.
47
- """
48
- return pulumi.get(self, "cloud_hsm_cluster_name")
49
-
50
- @cloud_hsm_cluster_name.setter
51
- def cloud_hsm_cluster_name(self, value: pulumi.Input[str]):
52
- pulumi.set(self, "cloud_hsm_cluster_name", value)
53
-
54
- @property
55
- @pulumi.getter(name="privateLinkServiceConnectionState")
56
- def private_link_service_connection_state(self) -> pulumi.Input['PrivateLinkServiceConnectionStateArgs']:
57
- """
58
- A collection of information about the state of the connection between service consumer and provider.
59
- """
60
- return pulumi.get(self, "private_link_service_connection_state")
61
-
62
- @private_link_service_connection_state.setter
63
- def private_link_service_connection_state(self, value: pulumi.Input['PrivateLinkServiceConnectionStateArgs']):
64
- pulumi.set(self, "private_link_service_connection_state", value)
65
-
66
- @property
67
- @pulumi.getter(name="resourceGroupName")
68
- def resource_group_name(self) -> pulumi.Input[str]:
69
- """
70
- The name of the resource group. The name is case insensitive.
71
- """
72
- return pulumi.get(self, "resource_group_name")
73
-
74
- @resource_group_name.setter
75
- def resource_group_name(self, value: pulumi.Input[str]):
76
- pulumi.set(self, "resource_group_name", value)
77
-
78
- @property
79
- @pulumi.getter(name="peConnectionName")
80
- def pe_connection_name(self) -> Optional[pulumi.Input[str]]:
81
- """
82
- Name of the private endpoint connection associated with the Cloud HSM Cluster.
83
- """
84
- return pulumi.get(self, "pe_connection_name")
85
-
86
- @pe_connection_name.setter
87
- def pe_connection_name(self, value: Optional[pulumi.Input[str]]):
88
- pulumi.set(self, "pe_connection_name", value)
89
-
90
-
91
- class CloudHsmClusterPrivateEndpointConnection(pulumi.CustomResource):
92
- @overload
93
- def __init__(__self__,
94
- resource_name: str,
95
- opts: Optional[pulumi.ResourceOptions] = None,
96
- cloud_hsm_cluster_name: Optional[pulumi.Input[str]] = None,
97
- pe_connection_name: Optional[pulumi.Input[str]] = None,
98
- private_link_service_connection_state: Optional[pulumi.Input[Union['PrivateLinkServiceConnectionStateArgs', 'PrivateLinkServiceConnectionStateArgsDict']]] = None,
99
- resource_group_name: Optional[pulumi.Input[str]] = None,
100
- __props__=None):
101
- """
102
- The private endpoint connection resource.
103
-
104
- :param str resource_name: The name of the resource.
105
- :param pulumi.ResourceOptions opts: Options for the resource.
106
- :param pulumi.Input[str] cloud_hsm_cluster_name: The name of the Cloud HSM Cluster within the specified resource group. Cloud HSM Cluster names must be between 3 and 23 characters in length.
107
- :param pulumi.Input[str] pe_connection_name: Name of the private endpoint connection associated with the Cloud HSM Cluster.
108
- :param pulumi.Input[Union['PrivateLinkServiceConnectionStateArgs', 'PrivateLinkServiceConnectionStateArgsDict']] private_link_service_connection_state: A collection of information about the state of the connection between service consumer and provider.
109
- :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive.
110
- """
111
- ...
112
- @overload
113
- def __init__(__self__,
114
- resource_name: str,
115
- args: CloudHsmClusterPrivateEndpointConnectionArgs,
116
- opts: Optional[pulumi.ResourceOptions] = None):
117
- """
118
- The private endpoint connection resource.
119
-
120
- :param str resource_name: The name of the resource.
121
- :param CloudHsmClusterPrivateEndpointConnectionArgs args: The arguments to use to populate this resource's properties.
122
- :param pulumi.ResourceOptions opts: Options for the resource.
123
- """
124
- ...
125
- def __init__(__self__, resource_name: str, *args, **kwargs):
126
- resource_args, opts = _utilities.get_resource_args_opts(CloudHsmClusterPrivateEndpointConnectionArgs, pulumi.ResourceOptions, *args, **kwargs)
127
- if resource_args is not None:
128
- __self__._internal_init(resource_name, opts, **resource_args.__dict__)
129
- else:
130
- __self__._internal_init(resource_name, *args, **kwargs)
131
-
132
- def _internal_init(__self__,
133
- resource_name: str,
134
- opts: Optional[pulumi.ResourceOptions] = None,
135
- cloud_hsm_cluster_name: Optional[pulumi.Input[str]] = None,
136
- pe_connection_name: Optional[pulumi.Input[str]] = None,
137
- private_link_service_connection_state: Optional[pulumi.Input[Union['PrivateLinkServiceConnectionStateArgs', 'PrivateLinkServiceConnectionStateArgsDict']]] = None,
138
- resource_group_name: Optional[pulumi.Input[str]] = None,
139
- __props__=None):
140
- opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
141
- if not isinstance(opts, pulumi.ResourceOptions):
142
- raise TypeError('Expected resource options to be a ResourceOptions instance')
143
- if opts.id is None:
144
- if __props__ is not None:
145
- raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
146
- __props__ = CloudHsmClusterPrivateEndpointConnectionArgs.__new__(CloudHsmClusterPrivateEndpointConnectionArgs)
147
-
148
- if cloud_hsm_cluster_name is None and not opts.urn:
149
- raise TypeError("Missing required property 'cloud_hsm_cluster_name'")
150
- __props__.__dict__["cloud_hsm_cluster_name"] = cloud_hsm_cluster_name
151
- __props__.__dict__["pe_connection_name"] = pe_connection_name
152
- if private_link_service_connection_state is None and not opts.urn:
153
- raise TypeError("Missing required property 'private_link_service_connection_state'")
154
- __props__.__dict__["private_link_service_connection_state"] = private_link_service_connection_state
155
- if resource_group_name is None and not opts.urn:
156
- raise TypeError("Missing required property 'resource_group_name'")
157
- __props__.__dict__["resource_group_name"] = resource_group_name
158
- __props__.__dict__["etag"] = None
159
- __props__.__dict__["group_ids"] = None
160
- __props__.__dict__["name"] = None
161
- __props__.__dict__["private_endpoint"] = None
162
- __props__.__dict__["provisioning_state"] = None
163
- __props__.__dict__["system_data"] = None
164
- __props__.__dict__["type"] = None
165
- alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:hardwaresecuritymodules:CloudHsmClusterPrivateEndpointConnection"), pulumi.Alias(type_="azure-native:hardwaresecuritymodules/v20220831preview:CloudHsmClusterPrivateEndpointConnection"), pulumi.Alias(type_="azure-native:hardwaresecuritymodules/v20231210preview:CloudHsmClusterPrivateEndpointConnection")])
166
- opts = pulumi.ResourceOptions.merge(opts, alias_opts)
167
- super(CloudHsmClusterPrivateEndpointConnection, __self__).__init__(
168
- 'azure-native:hardwaresecuritymodules/v20240630preview:CloudHsmClusterPrivateEndpointConnection',
169
- resource_name,
170
- __props__,
171
- opts)
172
-
173
- @staticmethod
174
- def get(resource_name: str,
175
- id: pulumi.Input[str],
176
- opts: Optional[pulumi.ResourceOptions] = None) -> 'CloudHsmClusterPrivateEndpointConnection':
177
- """
178
- Get an existing CloudHsmClusterPrivateEndpointConnection resource's state with the given name, id, and optional extra
179
- properties used to qualify the lookup.
180
-
181
- :param str resource_name: The unique name of the resulting resource.
182
- :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
183
- :param pulumi.ResourceOptions opts: Options for the resource.
184
- """
185
- opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
186
-
187
- __props__ = CloudHsmClusterPrivateEndpointConnectionArgs.__new__(CloudHsmClusterPrivateEndpointConnectionArgs)
188
-
189
- __props__.__dict__["etag"] = None
190
- __props__.__dict__["group_ids"] = None
191
- __props__.__dict__["name"] = None
192
- __props__.__dict__["private_endpoint"] = None
193
- __props__.__dict__["private_link_service_connection_state"] = None
194
- __props__.__dict__["provisioning_state"] = None
195
- __props__.__dict__["system_data"] = None
196
- __props__.__dict__["type"] = None
197
- return CloudHsmClusterPrivateEndpointConnection(resource_name, opts=opts, __props__=__props__)
198
-
199
- @property
200
- @pulumi.getter
201
- def etag(self) -> pulumi.Output[Optional[str]]:
202
- """
203
- Modified whenever there is a change in the state of private endpoint connection.
204
- """
205
- return pulumi.get(self, "etag")
206
-
207
- @property
208
- @pulumi.getter(name="groupIds")
209
- def group_ids(self) -> pulumi.Output[Sequence[str]]:
210
- """
211
- The group ids for the private endpoint resource.
212
- """
213
- return pulumi.get(self, "group_ids")
214
-
215
- @property
216
- @pulumi.getter
217
- def name(self) -> pulumi.Output[str]:
218
- """
219
- The name of the resource
220
- """
221
- return pulumi.get(self, "name")
222
-
223
- @property
224
- @pulumi.getter(name="privateEndpoint")
225
- def private_endpoint(self) -> pulumi.Output[Optional['outputs.PrivateEndpointResponse']]:
226
- """
227
- The private endpoint resource.
228
- """
229
- return pulumi.get(self, "private_endpoint")
230
-
231
- @property
232
- @pulumi.getter(name="privateLinkServiceConnectionState")
233
- def private_link_service_connection_state(self) -> pulumi.Output['outputs.PrivateLinkServiceConnectionStateResponse']:
234
- """
235
- A collection of information about the state of the connection between service consumer and provider.
236
- """
237
- return pulumi.get(self, "private_link_service_connection_state")
238
-
239
- @property
240
- @pulumi.getter(name="provisioningState")
241
- def provisioning_state(self) -> pulumi.Output[str]:
242
- """
243
- The provisioning state of the private endpoint connection resource.
244
- """
245
- return pulumi.get(self, "provisioning_state")
246
-
247
- @property
248
- @pulumi.getter(name="systemData")
249
- def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']:
250
- """
251
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
252
- """
253
- return pulumi.get(self, "system_data")
254
-
255
- @property
256
- @pulumi.getter
257
- def type(self) -> pulumi.Output[str]:
258
- """
259
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
260
- """
261
- return pulumi.get(self, "type")
262
-
@@ -1,394 +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
- from ._enums import *
18
- from ._inputs import *
19
-
20
- __all__ = ['DedicatedHsmArgs', 'DedicatedHsm']
21
-
22
- @pulumi.input_type
23
- class DedicatedHsmArgs:
24
- def __init__(__self__, *,
25
- resource_group_name: pulumi.Input[str],
26
- sku: pulumi.Input['SkuArgs'],
27
- location: Optional[pulumi.Input[str]] = None,
28
- management_network_profile: Optional[pulumi.Input['NetworkProfileArgs']] = None,
29
- name: Optional[pulumi.Input[str]] = None,
30
- network_profile: Optional[pulumi.Input['NetworkProfileArgs']] = None,
31
- stamp_id: Optional[pulumi.Input[str]] = None,
32
- tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
33
- zones: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
34
- """
35
- The set of arguments for constructing a DedicatedHsm resource.
36
- :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive.
37
- :param pulumi.Input['SkuArgs'] sku: SKU details
38
- :param pulumi.Input[str] location: The geo-location where the resource lives
39
- :param pulumi.Input['NetworkProfileArgs'] management_network_profile: Specifies the management network interfaces of the dedicated hsm.
40
- :param pulumi.Input[str] name: Name of the dedicated Hsm
41
- :param pulumi.Input['NetworkProfileArgs'] network_profile: Specifies the network interfaces of the dedicated hsm.
42
- :param pulumi.Input[str] stamp_id: This field will be used when RP does not support Availability zones.
43
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags.
44
- :param pulumi.Input[Sequence[pulumi.Input[str]]] zones: The Dedicated Hsm zones.
45
- """
46
- pulumi.set(__self__, "resource_group_name", resource_group_name)
47
- pulumi.set(__self__, "sku", sku)
48
- if location is not None:
49
- pulumi.set(__self__, "location", location)
50
- if management_network_profile is not None:
51
- pulumi.set(__self__, "management_network_profile", management_network_profile)
52
- if name is not None:
53
- pulumi.set(__self__, "name", name)
54
- if network_profile is not None:
55
- pulumi.set(__self__, "network_profile", network_profile)
56
- if stamp_id is not None:
57
- pulumi.set(__self__, "stamp_id", stamp_id)
58
- if tags is not None:
59
- pulumi.set(__self__, "tags", tags)
60
- if zones is not None:
61
- pulumi.set(__self__, "zones", zones)
62
-
63
- @property
64
- @pulumi.getter(name="resourceGroupName")
65
- def resource_group_name(self) -> pulumi.Input[str]:
66
- """
67
- The name of the resource group. The name is case insensitive.
68
- """
69
- return pulumi.get(self, "resource_group_name")
70
-
71
- @resource_group_name.setter
72
- def resource_group_name(self, value: pulumi.Input[str]):
73
- pulumi.set(self, "resource_group_name", value)
74
-
75
- @property
76
- @pulumi.getter
77
- def sku(self) -> pulumi.Input['SkuArgs']:
78
- """
79
- SKU details
80
- """
81
- return pulumi.get(self, "sku")
82
-
83
- @sku.setter
84
- def sku(self, value: pulumi.Input['SkuArgs']):
85
- pulumi.set(self, "sku", value)
86
-
87
- @property
88
- @pulumi.getter
89
- def location(self) -> Optional[pulumi.Input[str]]:
90
- """
91
- The geo-location where the resource lives
92
- """
93
- return pulumi.get(self, "location")
94
-
95
- @location.setter
96
- def location(self, value: Optional[pulumi.Input[str]]):
97
- pulumi.set(self, "location", value)
98
-
99
- @property
100
- @pulumi.getter(name="managementNetworkProfile")
101
- def management_network_profile(self) -> Optional[pulumi.Input['NetworkProfileArgs']]:
102
- """
103
- Specifies the management network interfaces of the dedicated hsm.
104
- """
105
- return pulumi.get(self, "management_network_profile")
106
-
107
- @management_network_profile.setter
108
- def management_network_profile(self, value: Optional[pulumi.Input['NetworkProfileArgs']]):
109
- pulumi.set(self, "management_network_profile", value)
110
-
111
- @property
112
- @pulumi.getter
113
- def name(self) -> Optional[pulumi.Input[str]]:
114
- """
115
- Name of the dedicated Hsm
116
- """
117
- return pulumi.get(self, "name")
118
-
119
- @name.setter
120
- def name(self, value: Optional[pulumi.Input[str]]):
121
- pulumi.set(self, "name", value)
122
-
123
- @property
124
- @pulumi.getter(name="networkProfile")
125
- def network_profile(self) -> Optional[pulumi.Input['NetworkProfileArgs']]:
126
- """
127
- Specifies the network interfaces of the dedicated hsm.
128
- """
129
- return pulumi.get(self, "network_profile")
130
-
131
- @network_profile.setter
132
- def network_profile(self, value: Optional[pulumi.Input['NetworkProfileArgs']]):
133
- pulumi.set(self, "network_profile", value)
134
-
135
- @property
136
- @pulumi.getter(name="stampId")
137
- def stamp_id(self) -> Optional[pulumi.Input[str]]:
138
- """
139
- This field will be used when RP does not support Availability zones.
140
- """
141
- return pulumi.get(self, "stamp_id")
142
-
143
- @stamp_id.setter
144
- def stamp_id(self, value: Optional[pulumi.Input[str]]):
145
- pulumi.set(self, "stamp_id", value)
146
-
147
- @property
148
- @pulumi.getter
149
- def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
150
- """
151
- Resource tags.
152
- """
153
- return pulumi.get(self, "tags")
154
-
155
- @tags.setter
156
- def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
157
- pulumi.set(self, "tags", value)
158
-
159
- @property
160
- @pulumi.getter
161
- def zones(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
162
- """
163
- The Dedicated Hsm zones.
164
- """
165
- return pulumi.get(self, "zones")
166
-
167
- @zones.setter
168
- def zones(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
169
- pulumi.set(self, "zones", value)
170
-
171
-
172
- class DedicatedHsm(pulumi.CustomResource):
173
- @overload
174
- def __init__(__self__,
175
- resource_name: str,
176
- opts: Optional[pulumi.ResourceOptions] = None,
177
- location: Optional[pulumi.Input[str]] = None,
178
- management_network_profile: Optional[pulumi.Input[Union['NetworkProfileArgs', 'NetworkProfileArgsDict']]] = None,
179
- name: Optional[pulumi.Input[str]] = None,
180
- network_profile: Optional[pulumi.Input[Union['NetworkProfileArgs', 'NetworkProfileArgsDict']]] = None,
181
- resource_group_name: Optional[pulumi.Input[str]] = None,
182
- sku: Optional[pulumi.Input[Union['SkuArgs', 'SkuArgsDict']]] = None,
183
- stamp_id: Optional[pulumi.Input[str]] = None,
184
- tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
185
- zones: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
186
- __props__=None):
187
- """
188
- Resource information with extended details.
189
-
190
- :param str resource_name: The name of the resource.
191
- :param pulumi.ResourceOptions opts: Options for the resource.
192
- :param pulumi.Input[str] location: The geo-location where the resource lives
193
- :param pulumi.Input[Union['NetworkProfileArgs', 'NetworkProfileArgsDict']] management_network_profile: Specifies the management network interfaces of the dedicated hsm.
194
- :param pulumi.Input[str] name: Name of the dedicated Hsm
195
- :param pulumi.Input[Union['NetworkProfileArgs', 'NetworkProfileArgsDict']] network_profile: Specifies the network interfaces of the dedicated hsm.
196
- :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive.
197
- :param pulumi.Input[Union['SkuArgs', 'SkuArgsDict']] sku: SKU details
198
- :param pulumi.Input[str] stamp_id: This field will be used when RP does not support Availability zones.
199
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags.
200
- :param pulumi.Input[Sequence[pulumi.Input[str]]] zones: The Dedicated Hsm zones.
201
- """
202
- ...
203
- @overload
204
- def __init__(__self__,
205
- resource_name: str,
206
- args: DedicatedHsmArgs,
207
- opts: Optional[pulumi.ResourceOptions] = None):
208
- """
209
- Resource information with extended details.
210
-
211
- :param str resource_name: The name of the resource.
212
- :param DedicatedHsmArgs args: The arguments to use to populate this resource's properties.
213
- :param pulumi.ResourceOptions opts: Options for the resource.
214
- """
215
- ...
216
- def __init__(__self__, resource_name: str, *args, **kwargs):
217
- resource_args, opts = _utilities.get_resource_args_opts(DedicatedHsmArgs, pulumi.ResourceOptions, *args, **kwargs)
218
- if resource_args is not None:
219
- __self__._internal_init(resource_name, opts, **resource_args.__dict__)
220
- else:
221
- __self__._internal_init(resource_name, *args, **kwargs)
222
-
223
- def _internal_init(__self__,
224
- resource_name: str,
225
- opts: Optional[pulumi.ResourceOptions] = None,
226
- location: Optional[pulumi.Input[str]] = None,
227
- management_network_profile: Optional[pulumi.Input[Union['NetworkProfileArgs', 'NetworkProfileArgsDict']]] = None,
228
- name: Optional[pulumi.Input[str]] = None,
229
- network_profile: Optional[pulumi.Input[Union['NetworkProfileArgs', 'NetworkProfileArgsDict']]] = None,
230
- resource_group_name: Optional[pulumi.Input[str]] = None,
231
- sku: Optional[pulumi.Input[Union['SkuArgs', 'SkuArgsDict']]] = None,
232
- stamp_id: Optional[pulumi.Input[str]] = None,
233
- tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
234
- zones: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
235
- __props__=None):
236
- opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
237
- if not isinstance(opts, pulumi.ResourceOptions):
238
- raise TypeError('Expected resource options to be a ResourceOptions instance')
239
- if opts.id is None:
240
- if __props__ is not None:
241
- raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
242
- __props__ = DedicatedHsmArgs.__new__(DedicatedHsmArgs)
243
-
244
- __props__.__dict__["location"] = location
245
- __props__.__dict__["management_network_profile"] = management_network_profile
246
- __props__.__dict__["name"] = name
247
- __props__.__dict__["network_profile"] = network_profile
248
- if resource_group_name is None and not opts.urn:
249
- raise TypeError("Missing required property 'resource_group_name'")
250
- __props__.__dict__["resource_group_name"] = resource_group_name
251
- if sku is None and not opts.urn:
252
- raise TypeError("Missing required property 'sku'")
253
- __props__.__dict__["sku"] = sku
254
- __props__.__dict__["stamp_id"] = stamp_id
255
- __props__.__dict__["tags"] = tags
256
- __props__.__dict__["zones"] = zones
257
- __props__.__dict__["provisioning_state"] = None
258
- __props__.__dict__["status_message"] = None
259
- __props__.__dict__["system_data"] = None
260
- __props__.__dict__["type"] = None
261
- alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:hardwaresecuritymodules:DedicatedHsm"), pulumi.Alias(type_="azure-native:hardwaresecuritymodules/v20181031preview:DedicatedHsm"), pulumi.Alias(type_="azure-native:hardwaresecuritymodules/v20211130:DedicatedHsm")])
262
- opts = pulumi.ResourceOptions.merge(opts, alias_opts)
263
- super(DedicatedHsm, __self__).__init__(
264
- 'azure-native:hardwaresecuritymodules/v20240630preview:DedicatedHsm',
265
- resource_name,
266
- __props__,
267
- opts)
268
-
269
- @staticmethod
270
- def get(resource_name: str,
271
- id: pulumi.Input[str],
272
- opts: Optional[pulumi.ResourceOptions] = None) -> 'DedicatedHsm':
273
- """
274
- Get an existing DedicatedHsm resource's state with the given name, id, and optional extra
275
- properties used to qualify the lookup.
276
-
277
- :param str resource_name: The unique name of the resulting resource.
278
- :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
279
- :param pulumi.ResourceOptions opts: Options for the resource.
280
- """
281
- opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
282
-
283
- __props__ = DedicatedHsmArgs.__new__(DedicatedHsmArgs)
284
-
285
- __props__.__dict__["location"] = None
286
- __props__.__dict__["management_network_profile"] = None
287
- __props__.__dict__["name"] = None
288
- __props__.__dict__["network_profile"] = None
289
- __props__.__dict__["provisioning_state"] = None
290
- __props__.__dict__["sku"] = None
291
- __props__.__dict__["stamp_id"] = None
292
- __props__.__dict__["status_message"] = None
293
- __props__.__dict__["system_data"] = None
294
- __props__.__dict__["tags"] = None
295
- __props__.__dict__["type"] = None
296
- __props__.__dict__["zones"] = None
297
- return DedicatedHsm(resource_name, opts=opts, __props__=__props__)
298
-
299
- @property
300
- @pulumi.getter
301
- def location(self) -> pulumi.Output[str]:
302
- """
303
- The geo-location where the resource lives
304
- """
305
- return pulumi.get(self, "location")
306
-
307
- @property
308
- @pulumi.getter(name="managementNetworkProfile")
309
- def management_network_profile(self) -> pulumi.Output[Optional['outputs.NetworkProfileResponse']]:
310
- """
311
- Specifies the management network interfaces of the dedicated hsm.
312
- """
313
- return pulumi.get(self, "management_network_profile")
314
-
315
- @property
316
- @pulumi.getter
317
- def name(self) -> pulumi.Output[str]:
318
- """
319
- The name of the resource
320
- """
321
- return pulumi.get(self, "name")
322
-
323
- @property
324
- @pulumi.getter(name="networkProfile")
325
- def network_profile(self) -> pulumi.Output[Optional['outputs.NetworkProfileResponse']]:
326
- """
327
- Specifies the network interfaces of the dedicated hsm.
328
- """
329
- return pulumi.get(self, "network_profile")
330
-
331
- @property
332
- @pulumi.getter(name="provisioningState")
333
- def provisioning_state(self) -> pulumi.Output[str]:
334
- """
335
- Provisioning state.
336
- """
337
- return pulumi.get(self, "provisioning_state")
338
-
339
- @property
340
- @pulumi.getter
341
- def sku(self) -> pulumi.Output['outputs.SkuResponse']:
342
- """
343
- SKU details
344
- """
345
- return pulumi.get(self, "sku")
346
-
347
- @property
348
- @pulumi.getter(name="stampId")
349
- def stamp_id(self) -> pulumi.Output[Optional[str]]:
350
- """
351
- This field will be used when RP does not support Availability zones.
352
- """
353
- return pulumi.get(self, "stamp_id")
354
-
355
- @property
356
- @pulumi.getter(name="statusMessage")
357
- def status_message(self) -> pulumi.Output[str]:
358
- """
359
- Resource Status Message.
360
- """
361
- return pulumi.get(self, "status_message")
362
-
363
- @property
364
- @pulumi.getter(name="systemData")
365
- def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']:
366
- """
367
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
368
- """
369
- return pulumi.get(self, "system_data")
370
-
371
- @property
372
- @pulumi.getter
373
- def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
374
- """
375
- Resource tags.
376
- """
377
- return pulumi.get(self, "tags")
378
-
379
- @property
380
- @pulumi.getter
381
- def type(self) -> pulumi.Output[str]:
382
- """
383
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
384
- """
385
- return pulumi.get(self, "type")
386
-
387
- @property
388
- @pulumi.getter
389
- def zones(self) -> pulumi.Output[Optional[Sequence[str]]]:
390
- """
391
- The Dedicated Hsm zones.
392
- """
393
- return pulumi.get(self, "zones")
394
-