pulumi-azure-native 2.19.1a1700821330__py3-none-any.whl → 2.19.1a1701217948__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 (109) hide show
  1. pulumi_azure_native/__init__.py +24 -0
  2. pulumi_azure_native/dataprotection/__init__.py +3 -0
  3. pulumi_azure_native/dataprotection/backup_instance.py +3 -3
  4. pulumi_azure_native/dataprotection/backup_policy.py +3 -3
  5. pulumi_azure_native/dataprotection/backup_vault.py +3 -3
  6. pulumi_azure_native/dataprotection/dpp_resource_guard_proxy.py +3 -3
  7. pulumi_azure_native/dataprotection/get_backup_instance.py +2 -2
  8. pulumi_azure_native/dataprotection/get_backup_policy.py +2 -2
  9. pulumi_azure_native/dataprotection/get_backup_vault.py +2 -2
  10. pulumi_azure_native/dataprotection/get_dpp_resource_guard_proxy.py +2 -2
  11. pulumi_azure_native/dataprotection/get_resource_guard.py +2 -2
  12. pulumi_azure_native/dataprotection/resource_guard.py +3 -3
  13. pulumi_azure_native/dataprotection/v20221101preview/resource_guard.py +1 -1
  14. pulumi_azure_native/dataprotection/v20230101/backup_instance.py +1 -1
  15. pulumi_azure_native/dataprotection/v20230101/backup_policy.py +1 -1
  16. pulumi_azure_native/dataprotection/v20230101/backup_vault.py +1 -1
  17. pulumi_azure_native/dataprotection/v20230101/dpp_resource_guard_proxy.py +1 -1
  18. pulumi_azure_native/dataprotection/v20230101/resource_guard.py +1 -1
  19. pulumi_azure_native/dataprotection/v20230401preview/backup_instance.py +1 -1
  20. pulumi_azure_native/dataprotection/v20230401preview/backup_policy.py +1 -1
  21. pulumi_azure_native/dataprotection/v20230401preview/backup_vault.py +1 -1
  22. pulumi_azure_native/dataprotection/v20230401preview/dpp_resource_guard_proxy.py +1 -1
  23. pulumi_azure_native/dataprotection/v20230401preview/resource_guard.py +1 -1
  24. pulumi_azure_native/dataprotection/v20230501/backup_instance.py +1 -1
  25. pulumi_azure_native/dataprotection/v20230501/backup_policy.py +1 -1
  26. pulumi_azure_native/dataprotection/v20230501/backup_vault.py +1 -1
  27. pulumi_azure_native/dataprotection/v20230501/dpp_resource_guard_proxy.py +1 -1
  28. pulumi_azure_native/dataprotection/v20230501/resource_guard.py +1 -1
  29. pulumi_azure_native/dataprotection/v20230601preview/backup_instance.py +1 -1
  30. pulumi_azure_native/dataprotection/v20230601preview/backup_policy.py +1 -1
  31. pulumi_azure_native/dataprotection/v20230601preview/backup_vault.py +1 -1
  32. pulumi_azure_native/dataprotection/v20230601preview/dpp_resource_guard_proxy.py +1 -1
  33. pulumi_azure_native/dataprotection/v20230601preview/resource_guard.py +1 -1
  34. pulumi_azure_native/dataprotection/v20230801/backup_instance.py +1 -1
  35. pulumi_azure_native/dataprotection/v20230801/backup_policy.py +1 -1
  36. pulumi_azure_native/dataprotection/v20230801/backup_vault.py +1 -1
  37. pulumi_azure_native/dataprotection/v20230801/dpp_resource_guard_proxy.py +1 -1
  38. pulumi_azure_native/dataprotection/v20230801/resource_guard.py +1 -1
  39. pulumi_azure_native/dataprotection/v20230801preview/backup_instance.py +1 -1
  40. pulumi_azure_native/dataprotection/v20230801preview/backup_policy.py +1 -1
  41. pulumi_azure_native/dataprotection/v20230801preview/backup_vault.py +1 -1
  42. pulumi_azure_native/dataprotection/v20230801preview/dpp_resource_guard_proxy.py +1 -1
  43. pulumi_azure_native/dataprotection/v20230801preview/resource_guard.py +1 -1
  44. pulumi_azure_native/dataprotection/v20231101/__init__.py +20 -0
  45. pulumi_azure_native/dataprotection/v20231101/_enums.py +163 -0
  46. pulumi_azure_native/dataprotection/v20231101/_inputs.py +2399 -0
  47. pulumi_azure_native/dataprotection/v20231101/backup_instance.py +245 -0
  48. pulumi_azure_native/dataprotection/v20231101/backup_policy.py +216 -0
  49. pulumi_azure_native/dataprotection/v20231101/backup_vault.py +312 -0
  50. pulumi_azure_native/dataprotection/v20231101/dpp_resource_guard_proxy.py +215 -0
  51. pulumi_azure_native/dataprotection/v20231101/get_backup_instance.py +149 -0
  52. pulumi_azure_native/dataprotection/v20231101/get_backup_policy.py +134 -0
  53. pulumi_azure_native/dataprotection/v20231101/get_backup_vault.py +183 -0
  54. pulumi_azure_native/dataprotection/v20231101/get_dpp_resource_guard_proxy.py +136 -0
  55. pulumi_azure_native/dataprotection/v20231101/get_resource_guard.py +165 -0
  56. pulumi_azure_native/dataprotection/v20231101/outputs.py +3662 -0
  57. pulumi_azure_native/dataprotection/v20231101/resource_guard.py +279 -0
  58. pulumi_azure_native/hybridcontainerservice/v20231115preview/outputs.py +119 -120
  59. pulumi_azure_native/notificationhubs/__init__.py +3 -0
  60. pulumi_azure_native/notificationhubs/get_namespace.py +2 -2
  61. pulumi_azure_native/notificationhubs/get_namespace_authorization_rule.py +2 -2
  62. pulumi_azure_native/notificationhubs/get_namespace_pns_credentials.py +2 -2
  63. pulumi_azure_native/notificationhubs/get_notification_hub.py +2 -2
  64. pulumi_azure_native/notificationhubs/get_notification_hub_authorization_rule.py +2 -2
  65. pulumi_azure_native/notificationhubs/get_notification_hub_pns_credentials.py +2 -2
  66. pulumi_azure_native/notificationhubs/get_private_endpoint_connection.py +2 -2
  67. pulumi_azure_native/notificationhubs/list_namespace_keys.py +2 -2
  68. pulumi_azure_native/notificationhubs/list_notification_hub_keys.py +2 -2
  69. pulumi_azure_native/notificationhubs/namespace.py +3 -3
  70. pulumi_azure_native/notificationhubs/namespace_authorization_rule.py +3 -3
  71. pulumi_azure_native/notificationhubs/notification_hub.py +3 -3
  72. pulumi_azure_native/notificationhubs/notification_hub_authorization_rule.py +3 -3
  73. pulumi_azure_native/notificationhubs/private_endpoint_connection.py +3 -3
  74. pulumi_azure_native/notificationhubs/v20170401/namespace.py +1 -1
  75. pulumi_azure_native/notificationhubs/v20170401/namespace_authorization_rule.py +1 -1
  76. pulumi_azure_native/notificationhubs/v20170401/notification_hub.py +1 -1
  77. pulumi_azure_native/notificationhubs/v20170401/notification_hub_authorization_rule.py +1 -1
  78. pulumi_azure_native/notificationhubs/v20230101preview/namespace.py +1 -1
  79. pulumi_azure_native/notificationhubs/v20230101preview/namespace_authorization_rule.py +1 -1
  80. pulumi_azure_native/notificationhubs/v20230101preview/notification_hub.py +1 -1
  81. pulumi_azure_native/notificationhubs/v20230101preview/notification_hub_authorization_rule.py +1 -1
  82. pulumi_azure_native/notificationhubs/v20230101preview/private_endpoint_connection.py +1 -1
  83. pulumi_azure_native/notificationhubs/v20230901/namespace.py +1 -1
  84. pulumi_azure_native/notificationhubs/v20230901/namespace_authorization_rule.py +1 -1
  85. pulumi_azure_native/notificationhubs/v20230901/notification_hub.py +1 -1
  86. pulumi_azure_native/notificationhubs/v20230901/notification_hub_authorization_rule.py +1 -1
  87. pulumi_azure_native/notificationhubs/v20230901/private_endpoint_connection.py +1 -1
  88. pulumi_azure_native/notificationhubs/v20231001preview/__init__.py +24 -0
  89. pulumi_azure_native/notificationhubs/v20231001preview/_enums.py +121 -0
  90. pulumi_azure_native/notificationhubs/v20231001preview/_inputs.py +1638 -0
  91. pulumi_azure_native/notificationhubs/v20231001preview/get_namespace.py +170 -0
  92. pulumi_azure_native/notificationhubs/v20231001preview/get_namespace_authorization_rule.py +162 -0
  93. pulumi_azure_native/notificationhubs/v20231001preview/get_namespace_pns_credentials.py +160 -0
  94. pulumi_azure_native/notificationhubs/v20231001preview/get_notification_hub.py +175 -0
  95. pulumi_azure_native/notificationhubs/v20231001preview/get_notification_hub_authorization_rule.py +167 -0
  96. pulumi_azure_native/notificationhubs/v20231001preview/get_notification_hub_pns_credentials.py +165 -0
  97. pulumi_azure_native/notificationhubs/v20231001preview/get_private_endpoint_connection.py +136 -0
  98. pulumi_azure_native/notificationhubs/v20231001preview/list_namespace_keys.py +136 -0
  99. pulumi_azure_native/notificationhubs/v20231001preview/list_notification_hub_keys.py +141 -0
  100. pulumi_azure_native/notificationhubs/v20231001preview/namespace.py +283 -0
  101. pulumi_azure_native/notificationhubs/v20231001preview/namespace_authorization_rule.py +274 -0
  102. pulumi_azure_native/notificationhubs/v20231001preview/notification_hub.py +303 -0
  103. pulumi_azure_native/notificationhubs/v20231001preview/notification_hub_authorization_rule.py +295 -0
  104. pulumi_azure_native/notificationhubs/v20231001preview/outputs.py +2248 -0
  105. pulumi_azure_native/notificationhubs/v20231001preview/private_endpoint_connection.py +216 -0
  106. {pulumi_azure_native-2.19.1a1700821330.dist-info → pulumi_azure_native-2.19.1a1701217948.dist-info}/METADATA +1 -1
  107. {pulumi_azure_native-2.19.1a1700821330.dist-info → pulumi_azure_native-2.19.1a1701217948.dist-info}/RECORD +109 -77
  108. {pulumi_azure_native-2.19.1a1700821330.dist-info → pulumi_azure_native-2.19.1a1701217948.dist-info}/WHEEL +1 -1
  109. {pulumi_azure_native-2.19.1a1700821330.dist-info → pulumi_azure_native-2.19.1a1701217948.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,312 @@
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 pulumi
8
+ import pulumi.runtime
9
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
10
+ from ... import _utilities
11
+ from . import outputs
12
+ from ._enums import *
13
+ from ._inputs import *
14
+
15
+ __all__ = ['BackupVaultInitArgs', 'BackupVault']
16
+
17
+ @pulumi.input_type
18
+ class BackupVaultInitArgs:
19
+ def __init__(__self__, *,
20
+ properties: pulumi.Input['BackupVaultArgs'],
21
+ resource_group_name: pulumi.Input[str],
22
+ e_tag: Optional[pulumi.Input[str]] = None,
23
+ identity: Optional[pulumi.Input['DppIdentityDetailsArgs']] = None,
24
+ location: Optional[pulumi.Input[str]] = None,
25
+ tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
26
+ vault_name: Optional[pulumi.Input[str]] = None):
27
+ """
28
+ The set of arguments for constructing a BackupVault resource.
29
+ :param pulumi.Input['BackupVaultArgs'] properties: BackupVaultResource properties
30
+ :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive.
31
+ :param pulumi.Input[str] e_tag: Optional ETag.
32
+ :param pulumi.Input['DppIdentityDetailsArgs'] identity: Input Managed Identity Details
33
+ :param pulumi.Input[str] location: Resource location.
34
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags.
35
+ :param pulumi.Input[str] vault_name: The name of the backup vault.
36
+ """
37
+ pulumi.set(__self__, "properties", properties)
38
+ pulumi.set(__self__, "resource_group_name", resource_group_name)
39
+ if e_tag is not None:
40
+ pulumi.set(__self__, "e_tag", e_tag)
41
+ if identity is not None:
42
+ pulumi.set(__self__, "identity", identity)
43
+ if location is not None:
44
+ pulumi.set(__self__, "location", location)
45
+ if tags is not None:
46
+ pulumi.set(__self__, "tags", tags)
47
+ if vault_name is not None:
48
+ pulumi.set(__self__, "vault_name", vault_name)
49
+
50
+ @property
51
+ @pulumi.getter
52
+ def properties(self) -> pulumi.Input['BackupVaultArgs']:
53
+ """
54
+ BackupVaultResource properties
55
+ """
56
+ return pulumi.get(self, "properties")
57
+
58
+ @properties.setter
59
+ def properties(self, value: pulumi.Input['BackupVaultArgs']):
60
+ pulumi.set(self, "properties", value)
61
+
62
+ @property
63
+ @pulumi.getter(name="resourceGroupName")
64
+ def resource_group_name(self) -> pulumi.Input[str]:
65
+ """
66
+ The name of the resource group. The name is case insensitive.
67
+ """
68
+ return pulumi.get(self, "resource_group_name")
69
+
70
+ @resource_group_name.setter
71
+ def resource_group_name(self, value: pulumi.Input[str]):
72
+ pulumi.set(self, "resource_group_name", value)
73
+
74
+ @property
75
+ @pulumi.getter(name="eTag")
76
+ def e_tag(self) -> Optional[pulumi.Input[str]]:
77
+ """
78
+ Optional ETag.
79
+ """
80
+ return pulumi.get(self, "e_tag")
81
+
82
+ @e_tag.setter
83
+ def e_tag(self, value: Optional[pulumi.Input[str]]):
84
+ pulumi.set(self, "e_tag", value)
85
+
86
+ @property
87
+ @pulumi.getter
88
+ def identity(self) -> Optional[pulumi.Input['DppIdentityDetailsArgs']]:
89
+ """
90
+ Input Managed Identity Details
91
+ """
92
+ return pulumi.get(self, "identity")
93
+
94
+ @identity.setter
95
+ def identity(self, value: Optional[pulumi.Input['DppIdentityDetailsArgs']]):
96
+ pulumi.set(self, "identity", value)
97
+
98
+ @property
99
+ @pulumi.getter
100
+ def location(self) -> Optional[pulumi.Input[str]]:
101
+ """
102
+ Resource location.
103
+ """
104
+ return pulumi.get(self, "location")
105
+
106
+ @location.setter
107
+ def location(self, value: Optional[pulumi.Input[str]]):
108
+ pulumi.set(self, "location", value)
109
+
110
+ @property
111
+ @pulumi.getter
112
+ def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
113
+ """
114
+ Resource tags.
115
+ """
116
+ return pulumi.get(self, "tags")
117
+
118
+ @tags.setter
119
+ def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
120
+ pulumi.set(self, "tags", value)
121
+
122
+ @property
123
+ @pulumi.getter(name="vaultName")
124
+ def vault_name(self) -> Optional[pulumi.Input[str]]:
125
+ """
126
+ The name of the backup vault.
127
+ """
128
+ return pulumi.get(self, "vault_name")
129
+
130
+ @vault_name.setter
131
+ def vault_name(self, value: Optional[pulumi.Input[str]]):
132
+ pulumi.set(self, "vault_name", value)
133
+
134
+
135
+ class BackupVault(pulumi.CustomResource):
136
+ @overload
137
+ def __init__(__self__,
138
+ resource_name: str,
139
+ opts: Optional[pulumi.ResourceOptions] = None,
140
+ e_tag: Optional[pulumi.Input[str]] = None,
141
+ identity: Optional[pulumi.Input[pulumi.InputType['DppIdentityDetailsArgs']]] = None,
142
+ location: Optional[pulumi.Input[str]] = None,
143
+ properties: Optional[pulumi.Input[pulumi.InputType['BackupVaultArgs']]] = None,
144
+ resource_group_name: Optional[pulumi.Input[str]] = None,
145
+ tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
146
+ vault_name: Optional[pulumi.Input[str]] = None,
147
+ __props__=None):
148
+ """
149
+ Backup Vault Resource
150
+
151
+ :param str resource_name: The name of the resource.
152
+ :param pulumi.ResourceOptions opts: Options for the resource.
153
+ :param pulumi.Input[str] e_tag: Optional ETag.
154
+ :param pulumi.Input[pulumi.InputType['DppIdentityDetailsArgs']] identity: Input Managed Identity Details
155
+ :param pulumi.Input[str] location: Resource location.
156
+ :param pulumi.Input[pulumi.InputType['BackupVaultArgs']] properties: BackupVaultResource properties
157
+ :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive.
158
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags.
159
+ :param pulumi.Input[str] vault_name: The name of the backup vault.
160
+ """
161
+ ...
162
+ @overload
163
+ def __init__(__self__,
164
+ resource_name: str,
165
+ args: BackupVaultInitArgs,
166
+ opts: Optional[pulumi.ResourceOptions] = None):
167
+ """
168
+ Backup Vault Resource
169
+
170
+ :param str resource_name: The name of the resource.
171
+ :param BackupVaultInitArgs args: The arguments to use to populate this resource's properties.
172
+ :param pulumi.ResourceOptions opts: Options for the resource.
173
+ """
174
+ ...
175
+ def __init__(__self__, resource_name: str, *args, **kwargs):
176
+ resource_args, opts = _utilities.get_resource_args_opts(BackupVaultInitArgs, pulumi.ResourceOptions, *args, **kwargs)
177
+ if resource_args is not None:
178
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
179
+ else:
180
+ __self__._internal_init(resource_name, *args, **kwargs)
181
+
182
+ def _internal_init(__self__,
183
+ resource_name: str,
184
+ opts: Optional[pulumi.ResourceOptions] = None,
185
+ e_tag: Optional[pulumi.Input[str]] = None,
186
+ identity: Optional[pulumi.Input[pulumi.InputType['DppIdentityDetailsArgs']]] = None,
187
+ location: Optional[pulumi.Input[str]] = None,
188
+ properties: Optional[pulumi.Input[pulumi.InputType['BackupVaultArgs']]] = None,
189
+ resource_group_name: Optional[pulumi.Input[str]] = None,
190
+ tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
191
+ vault_name: Optional[pulumi.Input[str]] = None,
192
+ __props__=None):
193
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
194
+ if not isinstance(opts, pulumi.ResourceOptions):
195
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
196
+ if opts.id is None:
197
+ if __props__ is not None:
198
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
199
+ __props__ = BackupVaultInitArgs.__new__(BackupVaultInitArgs)
200
+
201
+ __props__.__dict__["e_tag"] = e_tag
202
+ __props__.__dict__["identity"] = identity
203
+ __props__.__dict__["location"] = location
204
+ if properties is None and not opts.urn:
205
+ raise TypeError("Missing required property 'properties'")
206
+ __props__.__dict__["properties"] = properties
207
+ if resource_group_name is None and not opts.urn:
208
+ raise TypeError("Missing required property 'resource_group_name'")
209
+ __props__.__dict__["resource_group_name"] = resource_group_name
210
+ __props__.__dict__["tags"] = tags
211
+ __props__.__dict__["vault_name"] = vault_name
212
+ __props__.__dict__["name"] = None
213
+ __props__.__dict__["system_data"] = None
214
+ __props__.__dict__["type"] = None
215
+ alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dataprotection:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20210101:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20210201preview:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20210601preview:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20210701:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20211001preview:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20211201preview:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20220101:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20220201preview:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20220301:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20220331preview:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20220401:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20220501:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20220901preview:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20221001preview:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20221101preview:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20221201:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20230101:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20230401preview:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20230501:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20230601preview:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20230801:BackupVault"), pulumi.Alias(type_="azure-native:dataprotection/v20230801preview:BackupVault")])
216
+ opts = pulumi.ResourceOptions.merge(opts, alias_opts)
217
+ super(BackupVault, __self__).__init__(
218
+ 'azure-native:dataprotection/v20231101:BackupVault',
219
+ resource_name,
220
+ __props__,
221
+ opts)
222
+
223
+ @staticmethod
224
+ def get(resource_name: str,
225
+ id: pulumi.Input[str],
226
+ opts: Optional[pulumi.ResourceOptions] = None) -> 'BackupVault':
227
+ """
228
+ Get an existing BackupVault resource's state with the given name, id, and optional extra
229
+ properties used to qualify the lookup.
230
+
231
+ :param str resource_name: The unique name of the resulting resource.
232
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
233
+ :param pulumi.ResourceOptions opts: Options for the resource.
234
+ """
235
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
236
+
237
+ __props__ = BackupVaultInitArgs.__new__(BackupVaultInitArgs)
238
+
239
+ __props__.__dict__["e_tag"] = None
240
+ __props__.__dict__["identity"] = None
241
+ __props__.__dict__["location"] = None
242
+ __props__.__dict__["name"] = None
243
+ __props__.__dict__["properties"] = None
244
+ __props__.__dict__["system_data"] = None
245
+ __props__.__dict__["tags"] = None
246
+ __props__.__dict__["type"] = None
247
+ return BackupVault(resource_name, opts=opts, __props__=__props__)
248
+
249
+ @property
250
+ @pulumi.getter(name="eTag")
251
+ def e_tag(self) -> pulumi.Output[Optional[str]]:
252
+ """
253
+ Optional ETag.
254
+ """
255
+ return pulumi.get(self, "e_tag")
256
+
257
+ @property
258
+ @pulumi.getter
259
+ def identity(self) -> pulumi.Output[Optional['outputs.DppIdentityDetailsResponse']]:
260
+ """
261
+ Input Managed Identity Details
262
+ """
263
+ return pulumi.get(self, "identity")
264
+
265
+ @property
266
+ @pulumi.getter
267
+ def location(self) -> pulumi.Output[str]:
268
+ """
269
+ Resource location.
270
+ """
271
+ return pulumi.get(self, "location")
272
+
273
+ @property
274
+ @pulumi.getter
275
+ def name(self) -> pulumi.Output[str]:
276
+ """
277
+ Resource name associated with the resource.
278
+ """
279
+ return pulumi.get(self, "name")
280
+
281
+ @property
282
+ @pulumi.getter
283
+ def properties(self) -> pulumi.Output['outputs.BackupVaultResponse']:
284
+ """
285
+ BackupVaultResource properties
286
+ """
287
+ return pulumi.get(self, "properties")
288
+
289
+ @property
290
+ @pulumi.getter(name="systemData")
291
+ def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']:
292
+ """
293
+ Metadata pertaining to creation and last modification of the resource.
294
+ """
295
+ return pulumi.get(self, "system_data")
296
+
297
+ @property
298
+ @pulumi.getter
299
+ def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
300
+ """
301
+ Resource tags.
302
+ """
303
+ return pulumi.get(self, "tags")
304
+
305
+ @property
306
+ @pulumi.getter
307
+ def type(self) -> pulumi.Output[str]:
308
+ """
309
+ Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...
310
+ """
311
+ return pulumi.get(self, "type")
312
+
@@ -0,0 +1,215 @@
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 pulumi
8
+ import pulumi.runtime
9
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
10
+ from ... import _utilities
11
+ from . import outputs
12
+ from ._inputs import *
13
+
14
+ __all__ = ['DppResourceGuardProxyArgs', 'DppResourceGuardProxy']
15
+
16
+ @pulumi.input_type
17
+ class DppResourceGuardProxyArgs:
18
+ def __init__(__self__, *,
19
+ resource_group_name: pulumi.Input[str],
20
+ vault_name: pulumi.Input[str],
21
+ properties: Optional[pulumi.Input['ResourceGuardProxyBaseArgs']] = None,
22
+ resource_guard_proxy_name: Optional[pulumi.Input[str]] = None):
23
+ """
24
+ The set of arguments for constructing a DppResourceGuardProxy resource.
25
+ :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive.
26
+ :param pulumi.Input[str] vault_name: The name of the backup vault.
27
+ :param pulumi.Input['ResourceGuardProxyBaseArgs'] properties: ResourceGuardProxyBaseResource properties
28
+ :param pulumi.Input[str] resource_guard_proxy_name: name of the resource guard proxy
29
+ """
30
+ pulumi.set(__self__, "resource_group_name", resource_group_name)
31
+ pulumi.set(__self__, "vault_name", vault_name)
32
+ if properties is not None:
33
+ pulumi.set(__self__, "properties", properties)
34
+ if resource_guard_proxy_name is not None:
35
+ pulumi.set(__self__, "resource_guard_proxy_name", resource_guard_proxy_name)
36
+
37
+ @property
38
+ @pulumi.getter(name="resourceGroupName")
39
+ def resource_group_name(self) -> pulumi.Input[str]:
40
+ """
41
+ The name of the resource group. The name is case insensitive.
42
+ """
43
+ return pulumi.get(self, "resource_group_name")
44
+
45
+ @resource_group_name.setter
46
+ def resource_group_name(self, value: pulumi.Input[str]):
47
+ pulumi.set(self, "resource_group_name", value)
48
+
49
+ @property
50
+ @pulumi.getter(name="vaultName")
51
+ def vault_name(self) -> pulumi.Input[str]:
52
+ """
53
+ The name of the backup vault.
54
+ """
55
+ return pulumi.get(self, "vault_name")
56
+
57
+ @vault_name.setter
58
+ def vault_name(self, value: pulumi.Input[str]):
59
+ pulumi.set(self, "vault_name", value)
60
+
61
+ @property
62
+ @pulumi.getter
63
+ def properties(self) -> Optional[pulumi.Input['ResourceGuardProxyBaseArgs']]:
64
+ """
65
+ ResourceGuardProxyBaseResource properties
66
+ """
67
+ return pulumi.get(self, "properties")
68
+
69
+ @properties.setter
70
+ def properties(self, value: Optional[pulumi.Input['ResourceGuardProxyBaseArgs']]):
71
+ pulumi.set(self, "properties", value)
72
+
73
+ @property
74
+ @pulumi.getter(name="resourceGuardProxyName")
75
+ def resource_guard_proxy_name(self) -> Optional[pulumi.Input[str]]:
76
+ """
77
+ name of the resource guard proxy
78
+ """
79
+ return pulumi.get(self, "resource_guard_proxy_name")
80
+
81
+ @resource_guard_proxy_name.setter
82
+ def resource_guard_proxy_name(self, value: Optional[pulumi.Input[str]]):
83
+ pulumi.set(self, "resource_guard_proxy_name", value)
84
+
85
+
86
+ class DppResourceGuardProxy(pulumi.CustomResource):
87
+ @overload
88
+ def __init__(__self__,
89
+ resource_name: str,
90
+ opts: Optional[pulumi.ResourceOptions] = None,
91
+ properties: Optional[pulumi.Input[pulumi.InputType['ResourceGuardProxyBaseArgs']]] = None,
92
+ resource_group_name: Optional[pulumi.Input[str]] = None,
93
+ resource_guard_proxy_name: Optional[pulumi.Input[str]] = None,
94
+ vault_name: Optional[pulumi.Input[str]] = None,
95
+ __props__=None):
96
+ """
97
+ ResourceGuardProxyBaseResource object, used for response and request bodies for ResourceGuardProxy APIs
98
+
99
+ :param str resource_name: The name of the resource.
100
+ :param pulumi.ResourceOptions opts: Options for the resource.
101
+ :param pulumi.Input[pulumi.InputType['ResourceGuardProxyBaseArgs']] properties: ResourceGuardProxyBaseResource properties
102
+ :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive.
103
+ :param pulumi.Input[str] resource_guard_proxy_name: name of the resource guard proxy
104
+ :param pulumi.Input[str] vault_name: The name of the backup vault.
105
+ """
106
+ ...
107
+ @overload
108
+ def __init__(__self__,
109
+ resource_name: str,
110
+ args: DppResourceGuardProxyArgs,
111
+ opts: Optional[pulumi.ResourceOptions] = None):
112
+ """
113
+ ResourceGuardProxyBaseResource object, used for response and request bodies for ResourceGuardProxy APIs
114
+
115
+ :param str resource_name: The name of the resource.
116
+ :param DppResourceGuardProxyArgs args: The arguments to use to populate this resource's properties.
117
+ :param pulumi.ResourceOptions opts: Options for the resource.
118
+ """
119
+ ...
120
+ def __init__(__self__, resource_name: str, *args, **kwargs):
121
+ resource_args, opts = _utilities.get_resource_args_opts(DppResourceGuardProxyArgs, pulumi.ResourceOptions, *args, **kwargs)
122
+ if resource_args is not None:
123
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
124
+ else:
125
+ __self__._internal_init(resource_name, *args, **kwargs)
126
+
127
+ def _internal_init(__self__,
128
+ resource_name: str,
129
+ opts: Optional[pulumi.ResourceOptions] = None,
130
+ properties: Optional[pulumi.Input[pulumi.InputType['ResourceGuardProxyBaseArgs']]] = None,
131
+ resource_group_name: Optional[pulumi.Input[str]] = None,
132
+ resource_guard_proxy_name: Optional[pulumi.Input[str]] = None,
133
+ vault_name: Optional[pulumi.Input[str]] = None,
134
+ __props__=None):
135
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
136
+ if not isinstance(opts, pulumi.ResourceOptions):
137
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
138
+ if opts.id is None:
139
+ if __props__ is not None:
140
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
141
+ __props__ = DppResourceGuardProxyArgs.__new__(DppResourceGuardProxyArgs)
142
+
143
+ __props__.__dict__["properties"] = properties
144
+ if resource_group_name is None and not opts.urn:
145
+ raise TypeError("Missing required property 'resource_group_name'")
146
+ __props__.__dict__["resource_group_name"] = resource_group_name
147
+ __props__.__dict__["resource_guard_proxy_name"] = resource_guard_proxy_name
148
+ if vault_name is None and not opts.urn:
149
+ raise TypeError("Missing required property 'vault_name'")
150
+ __props__.__dict__["vault_name"] = vault_name
151
+ __props__.__dict__["name"] = None
152
+ __props__.__dict__["system_data"] = None
153
+ __props__.__dict__["type"] = None
154
+ alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:dataprotection:DppResourceGuardProxy"), pulumi.Alias(type_="azure-native:dataprotection/v20220901preview:DppResourceGuardProxy"), pulumi.Alias(type_="azure-native:dataprotection/v20221001preview:DppResourceGuardProxy"), pulumi.Alias(type_="azure-native:dataprotection/v20221101preview:DppResourceGuardProxy"), pulumi.Alias(type_="azure-native:dataprotection/v20230101:DppResourceGuardProxy"), pulumi.Alias(type_="azure-native:dataprotection/v20230401preview:DppResourceGuardProxy"), pulumi.Alias(type_="azure-native:dataprotection/v20230501:DppResourceGuardProxy"), pulumi.Alias(type_="azure-native:dataprotection/v20230601preview:DppResourceGuardProxy"), pulumi.Alias(type_="azure-native:dataprotection/v20230801:DppResourceGuardProxy"), pulumi.Alias(type_="azure-native:dataprotection/v20230801preview:DppResourceGuardProxy")])
155
+ opts = pulumi.ResourceOptions.merge(opts, alias_opts)
156
+ super(DppResourceGuardProxy, __self__).__init__(
157
+ 'azure-native:dataprotection/v20231101:DppResourceGuardProxy',
158
+ resource_name,
159
+ __props__,
160
+ opts)
161
+
162
+ @staticmethod
163
+ def get(resource_name: str,
164
+ id: pulumi.Input[str],
165
+ opts: Optional[pulumi.ResourceOptions] = None) -> 'DppResourceGuardProxy':
166
+ """
167
+ Get an existing DppResourceGuardProxy resource's state with the given name, id, and optional extra
168
+ properties used to qualify the lookup.
169
+
170
+ :param str resource_name: The unique name of the resulting resource.
171
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
172
+ :param pulumi.ResourceOptions opts: Options for the resource.
173
+ """
174
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
175
+
176
+ __props__ = DppResourceGuardProxyArgs.__new__(DppResourceGuardProxyArgs)
177
+
178
+ __props__.__dict__["name"] = None
179
+ __props__.__dict__["properties"] = None
180
+ __props__.__dict__["system_data"] = None
181
+ __props__.__dict__["type"] = None
182
+ return DppResourceGuardProxy(resource_name, opts=opts, __props__=__props__)
183
+
184
+ @property
185
+ @pulumi.getter
186
+ def name(self) -> pulumi.Output[str]:
187
+ """
188
+ Resource name associated with the resource.
189
+ """
190
+ return pulumi.get(self, "name")
191
+
192
+ @property
193
+ @pulumi.getter
194
+ def properties(self) -> pulumi.Output['outputs.ResourceGuardProxyBaseResponse']:
195
+ """
196
+ ResourceGuardProxyBaseResource properties
197
+ """
198
+ return pulumi.get(self, "properties")
199
+
200
+ @property
201
+ @pulumi.getter(name="systemData")
202
+ def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']:
203
+ """
204
+ Metadata pertaining to creation and last modification of the resource.
205
+ """
206
+ return pulumi.get(self, "system_data")
207
+
208
+ @property
209
+ @pulumi.getter
210
+ def type(self) -> pulumi.Output[str]:
211
+ """
212
+ Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...
213
+ """
214
+ return pulumi.get(self, "type")
215
+
@@ -0,0 +1,149 @@
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 pulumi
8
+ import pulumi.runtime
9
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
10
+ from ... import _utilities
11
+ from . import outputs
12
+
13
+ __all__ = [
14
+ 'GetBackupInstanceResult',
15
+ 'AwaitableGetBackupInstanceResult',
16
+ 'get_backup_instance',
17
+ 'get_backup_instance_output',
18
+ ]
19
+
20
+ @pulumi.output_type
21
+ class GetBackupInstanceResult:
22
+ """
23
+ BackupInstance Resource
24
+ """
25
+ def __init__(__self__, id=None, name=None, properties=None, system_data=None, tags=None, type=None):
26
+ if id and not isinstance(id, str):
27
+ raise TypeError("Expected argument 'id' to be a str")
28
+ pulumi.set(__self__, "id", id)
29
+ if name and not isinstance(name, str):
30
+ raise TypeError("Expected argument 'name' to be a str")
31
+ pulumi.set(__self__, "name", name)
32
+ if properties and not isinstance(properties, dict):
33
+ raise TypeError("Expected argument 'properties' to be a dict")
34
+ pulumi.set(__self__, "properties", properties)
35
+ if system_data and not isinstance(system_data, dict):
36
+ raise TypeError("Expected argument 'system_data' to be a dict")
37
+ pulumi.set(__self__, "system_data", system_data)
38
+ if tags and not isinstance(tags, dict):
39
+ raise TypeError("Expected argument 'tags' to be a dict")
40
+ pulumi.set(__self__, "tags", tags)
41
+ if type and not isinstance(type, str):
42
+ raise TypeError("Expected argument 'type' to be a str")
43
+ pulumi.set(__self__, "type", type)
44
+
45
+ @property
46
+ @pulumi.getter
47
+ def id(self) -> str:
48
+ """
49
+ Proxy Resource Id represents the complete path to the resource.
50
+ """
51
+ return pulumi.get(self, "id")
52
+
53
+ @property
54
+ @pulumi.getter
55
+ def name(self) -> str:
56
+ """
57
+ Proxy Resource name associated with the resource.
58
+ """
59
+ return pulumi.get(self, "name")
60
+
61
+ @property
62
+ @pulumi.getter
63
+ def properties(self) -> 'outputs.BackupInstanceResponse':
64
+ """
65
+ BackupInstanceResource properties
66
+ """
67
+ return pulumi.get(self, "properties")
68
+
69
+ @property
70
+ @pulumi.getter(name="systemData")
71
+ def system_data(self) -> 'outputs.SystemDataResponse':
72
+ """
73
+ Metadata pertaining to creation and last modification of the resource.
74
+ """
75
+ return pulumi.get(self, "system_data")
76
+
77
+ @property
78
+ @pulumi.getter
79
+ def tags(self) -> Optional[Mapping[str, str]]:
80
+ """
81
+ Proxy Resource tags.
82
+ """
83
+ return pulumi.get(self, "tags")
84
+
85
+ @property
86
+ @pulumi.getter
87
+ def type(self) -> str:
88
+ """
89
+ Proxy Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...
90
+ """
91
+ return pulumi.get(self, "type")
92
+
93
+
94
+ class AwaitableGetBackupInstanceResult(GetBackupInstanceResult):
95
+ # pylint: disable=using-constant-test
96
+ def __await__(self):
97
+ if False:
98
+ yield self
99
+ return GetBackupInstanceResult(
100
+ id=self.id,
101
+ name=self.name,
102
+ properties=self.properties,
103
+ system_data=self.system_data,
104
+ tags=self.tags,
105
+ type=self.type)
106
+
107
+
108
+ def get_backup_instance(backup_instance_name: Optional[str] = None,
109
+ resource_group_name: Optional[str] = None,
110
+ vault_name: Optional[str] = None,
111
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetBackupInstanceResult:
112
+ """
113
+ Gets a backup instance with name in a backup vault
114
+
115
+
116
+ :param str backup_instance_name: The name of the backup instance.
117
+ :param str resource_group_name: The name of the resource group. The name is case insensitive.
118
+ :param str vault_name: The name of the backup vault.
119
+ """
120
+ __args__ = dict()
121
+ __args__['backupInstanceName'] = backup_instance_name
122
+ __args__['resourceGroupName'] = resource_group_name
123
+ __args__['vaultName'] = vault_name
124
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
125
+ __ret__ = pulumi.runtime.invoke('azure-native:dataprotection/v20231101:getBackupInstance', __args__, opts=opts, typ=GetBackupInstanceResult).value
126
+
127
+ return AwaitableGetBackupInstanceResult(
128
+ id=pulumi.get(__ret__, 'id'),
129
+ name=pulumi.get(__ret__, 'name'),
130
+ properties=pulumi.get(__ret__, 'properties'),
131
+ system_data=pulumi.get(__ret__, 'system_data'),
132
+ tags=pulumi.get(__ret__, 'tags'),
133
+ type=pulumi.get(__ret__, 'type'))
134
+
135
+
136
+ @_utilities.lift_output_func(get_backup_instance)
137
+ def get_backup_instance_output(backup_instance_name: Optional[pulumi.Input[str]] = None,
138
+ resource_group_name: Optional[pulumi.Input[str]] = None,
139
+ vault_name: Optional[pulumi.Input[str]] = None,
140
+ opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetBackupInstanceResult]:
141
+ """
142
+ Gets a backup instance with name in a backup vault
143
+
144
+
145
+ :param str backup_instance_name: The name of the backup instance.
146
+ :param str resource_group_name: The name of the resource group. The name is case insensitive.
147
+ :param str vault_name: The name of the backup vault.
148
+ """
149
+ ...