pulumi-azure-native 2.79.0a1734639794__py3-none-any.whl → 2.79.0a1734933929__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.
- pulumi_azure_native/__init__.py +46 -0
- pulumi_azure_native/azurefleet/_enums.py +2 -2
- pulumi_azure_native/azurefleet/_inputs.py +71 -71
- pulumi_azure_native/azurefleet/outputs.py +42 -42
- pulumi_azure_native/azurefleet/v20231101preview/_enums.py +2 -2
- pulumi_azure_native/azurefleet/v20231101preview/_inputs.py +71 -71
- pulumi_azure_native/azurefleet/v20231101preview/outputs.py +42 -42
- pulumi_azure_native/azurefleet/v20240501preview/_enums.py +2 -2
- pulumi_azure_native/azurefleet/v20240501preview/_inputs.py +71 -71
- pulumi_azure_native/azurefleet/v20240501preview/outputs.py +42 -42
- pulumi_azure_native/azurefleet/v20241101/_enums.py +2 -2
- pulumi_azure_native/azurefleet/v20241101/_inputs.py +71 -71
- pulumi_azure_native/azurefleet/v20241101/outputs.py +42 -42
- pulumi_azure_native/azurestackhci/v20240201preview/_inputs.py +3 -3
- pulumi_azure_native/azurestackhci/v20240201preview/outputs.py +2 -2
- pulumi_azure_native/azurestackhci/v20240501preview/_inputs.py +3 -3
- pulumi_azure_native/azurestackhci/v20240501preview/outputs.py +2 -2
- pulumi_azure_native/azurestackhci/v20240801preview/_inputs.py +3 -3
- pulumi_azure_native/azurestackhci/v20240801preview/outputs.py +2 -2
- pulumi_azure_native/compute/__init__.py +3 -0
- pulumi_azure_native/compute/cloud_service.py +5 -1
- pulumi_azure_native/compute/get_cloud_service.py +4 -0
- pulumi_azure_native/compute/v20220904/cloud_service.py +1 -1
- pulumi_azure_native/compute/v20241104/__init__.py +12 -0
- pulumi_azure_native/compute/v20241104/_enums.py +31 -0
- pulumi_azure_native/compute/v20241104/_inputs.py +1324 -0
- pulumi_azure_native/compute/v20241104/cloud_service.py +287 -0
- pulumi_azure_native/compute/v20241104/get_cloud_service.py +185 -0
- pulumi_azure_native/compute/v20241104/outputs.py +1082 -0
- pulumi_azure_native/datadog/__init__.py +7 -0
- pulumi_azure_native/datadog/get_billing_info.py +103 -0
- pulumi_azure_native/datadog/get_monitor.py +2 -2
- pulumi_azure_native/datadog/get_monitor_default_key.py +2 -2
- pulumi_azure_native/datadog/get_monitored_subscription.py +4 -0
- pulumi_azure_native/datadog/list_monitor_api_keys.py +2 -2
- pulumi_azure_native/datadog/list_monitor_hosts.py +2 -2
- pulumi_azure_native/datadog/list_monitor_linked_resources.py +2 -2
- pulumi_azure_native/datadog/list_monitor_monitored_resources.py +2 -2
- pulumi_azure_native/datadog/monitor.py +3 -3
- pulumi_azure_native/datadog/monitored_subscription.py +5 -1
- pulumi_azure_native/datadog/outputs.py +120 -0
- pulumi_azure_native/datadog/v20220601/monitor.py +1 -1
- pulumi_azure_native/datadog/v20220801/monitor.py +1 -1
- pulumi_azure_native/datadog/v20230101/_inputs.py +3 -3
- pulumi_azure_native/datadog/v20230101/monitor.py +1 -1
- pulumi_azure_native/datadog/v20230101/monitored_subscription.py +1 -1
- pulumi_azure_native/datadog/v20230101/outputs.py +2 -2
- pulumi_azure_native/datadog/v20230707/__init__.py +19 -0
- pulumi_azure_native/datadog/v20230707/_enums.py +58 -0
- pulumi_azure_native/datadog/v20230707/_inputs.py +911 -0
- pulumi_azure_native/datadog/v20230707/get_monitor.py +182 -0
- pulumi_azure_native/datadog/v20230707/get_monitor_default_key.py +123 -0
- pulumi_azure_native/datadog/v20230707/get_monitored_subscription.py +135 -0
- pulumi_azure_native/datadog/v20230707/list_monitor_api_keys.py +101 -0
- pulumi_azure_native/datadog/v20230707/list_monitor_hosts.py +101 -0
- pulumi_azure_native/datadog/v20230707/list_monitor_linked_resources.py +101 -0
- pulumi_azure_native/datadog/v20230707/list_monitor_monitored_resources.py +101 -0
- pulumi_azure_native/datadog/v20230707/monitor.py +282 -0
- pulumi_azure_native/datadog/v20230707/monitored_subscription.py +211 -0
- pulumi_azure_native/datadog/v20230707/outputs.py +1125 -0
- pulumi_azure_native/datadog/v20231020/__init__.py +20 -0
- pulumi_azure_native/datadog/v20231020/_enums.py +58 -0
- pulumi_azure_native/datadog/v20231020/_inputs.py +911 -0
- pulumi_azure_native/datadog/v20231020/get_billing_info.py +101 -0
- pulumi_azure_native/datadog/v20231020/get_monitor.py +182 -0
- pulumi_azure_native/datadog/v20231020/get_monitor_default_key.py +123 -0
- pulumi_azure_native/datadog/v20231020/get_monitored_subscription.py +135 -0
- pulumi_azure_native/datadog/v20231020/list_monitor_api_keys.py +101 -0
- pulumi_azure_native/datadog/v20231020/list_monitor_hosts.py +101 -0
- pulumi_azure_native/datadog/v20231020/list_monitor_linked_resources.py +101 -0
- pulumi_azure_native/datadog/v20231020/list_monitor_monitored_resources.py +101 -0
- pulumi_azure_native/datadog/v20231020/monitor.py +282 -0
- pulumi_azure_native/datadog/v20231020/monitored_subscription.py +211 -0
- pulumi_azure_native/datadog/v20231020/outputs.py +1257 -0
- pulumi_azure_native/datafactory/_inputs.py +6 -6
- pulumi_azure_native/datafactory/outputs.py +4 -4
- pulumi_azure_native/datafactory/v20180601/_inputs.py +6 -6
- pulumi_azure_native/datafactory/v20180601/outputs.py +4 -4
- pulumi_azure_native/pulumi-plugin.json +1 -1
- pulumi_azure_native/quota/__init__.py +3 -0
- pulumi_azure_native/quota/get_group_quota.py +2 -2
- pulumi_azure_native/quota/get_group_quota_subscription.py +2 -2
- pulumi_azure_native/quota/group_quota.py +3 -3
- pulumi_azure_native/quota/group_quota_subscription.py +3 -3
- pulumi_azure_native/quota/v20230601preview/group_quota.py +1 -1
- pulumi_azure_native/quota/v20230601preview/group_quota_subscription.py +1 -1
- pulumi_azure_native/quota/v20241015preview/group_quota.py +1 -1
- pulumi_azure_native/quota/v20241015preview/group_quota_subscription.py +1 -1
- pulumi_azure_native/quota/v20241218preview/__init__.py +13 -0
- pulumi_azure_native/quota/v20241218preview/_inputs.py +55 -0
- pulumi_azure_native/quota/v20241218preview/get_group_quota.py +140 -0
- pulumi_azure_native/quota/v20241218preview/get_group_quota_subscription.py +140 -0
- pulumi_azure_native/quota/v20241218preview/group_quota.py +191 -0
- pulumi_azure_native/quota/v20241218preview/group_quota_subscription.py +177 -0
- pulumi_azure_native/quota/v20241218preview/outputs.py +230 -0
- pulumi_azure_native/servicenetworking/__init__.py +3 -0
- pulumi_azure_native/servicenetworking/associations_interface.py +3 -3
- pulumi_azure_native/servicenetworking/frontends_interface.py +3 -3
- pulumi_azure_native/servicenetworking/get_associations_interface.py +2 -2
- pulumi_azure_native/servicenetworking/get_frontends_interface.py +2 -2
- pulumi_azure_native/servicenetworking/get_security_policies_interface.py +4 -0
- pulumi_azure_native/servicenetworking/get_traffic_controller_interface.py +2 -2
- pulumi_azure_native/servicenetworking/security_policies_interface.py +5 -1
- pulumi_azure_native/servicenetworking/traffic_controller_interface.py +3 -3
- pulumi_azure_native/servicenetworking/v20221001preview/associations_interface.py +1 -1
- pulumi_azure_native/servicenetworking/v20221001preview/frontends_interface.py +1 -1
- pulumi_azure_native/servicenetworking/v20221001preview/traffic_controller_interface.py +1 -1
- pulumi_azure_native/servicenetworking/v20230501preview/associations_interface.py +1 -1
- pulumi_azure_native/servicenetworking/v20230501preview/frontends_interface.py +1 -1
- pulumi_azure_native/servicenetworking/v20230501preview/traffic_controller_interface.py +1 -1
- pulumi_azure_native/servicenetworking/v20231101/associations_interface.py +1 -1
- pulumi_azure_native/servicenetworking/v20231101/frontends_interface.py +1 -1
- pulumi_azure_native/servicenetworking/v20231101/traffic_controller_interface.py +1 -1
- pulumi_azure_native/servicenetworking/v20240501preview/associations_interface.py +1 -1
- pulumi_azure_native/servicenetworking/v20240501preview/frontends_interface.py +1 -1
- pulumi_azure_native/servicenetworking/v20240501preview/security_policies_interface.py +1 -1
- pulumi_azure_native/servicenetworking/v20240501preview/traffic_controller_interface.py +1 -1
- pulumi_azure_native/servicenetworking/v20250101/__init__.py +18 -0
- pulumi_azure_native/servicenetworking/v20250101/_enums.py +19 -0
- pulumi_azure_native/servicenetworking/v20250101/_inputs.py +171 -0
- pulumi_azure_native/servicenetworking/v20250101/associations_interface.py +319 -0
- pulumi_azure_native/servicenetworking/v20250101/frontends_interface.py +268 -0
- pulumi_azure_native/servicenetworking/v20250101/get_associations_interface.py +205 -0
- pulumi_azure_native/servicenetworking/v20250101/get_frontends_interface.py +191 -0
- pulumi_azure_native/servicenetworking/v20250101/get_security_policies_interface.py +205 -0
- pulumi_azure_native/servicenetworking/v20250101/get_traffic_controller_interface.py +241 -0
- pulumi_azure_native/servicenetworking/v20250101/outputs.py +265 -0
- pulumi_azure_native/servicenetworking/v20250101/security_policies_interface.py +298 -0
- pulumi_azure_native/servicenetworking/v20250101/traffic_controller_interface.py +307 -0
- pulumi_azure_native/workloads/v20240901/_inputs.py +10 -10
- pulumi_azure_native/workloads/v20240901/outputs.py +8 -8
- {pulumi_azure_native-2.79.0a1734639794.dist-info → pulumi_azure_native-2.79.0a1734933929.dist-info}/METADATA +1 -1
- {pulumi_azure_native-2.79.0a1734639794.dist-info → pulumi_azure_native-2.79.0a1734933929.dist-info}/RECORD +135 -82
- {pulumi_azure_native-2.79.0a1734639794.dist-info → pulumi_azure_native-2.79.0a1734933929.dist-info}/WHEEL +0 -0
- {pulumi_azure_native-2.79.0a1734639794.dist-info → pulumi_azure_native-2.79.0a1734933929.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,265 @@
|
|
|
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
|
+
|
|
19
|
+
__all__ = [
|
|
20
|
+
'AssociationSubnetResponse',
|
|
21
|
+
'ResourceIdResponse',
|
|
22
|
+
'SecurityPolicyConfigurationsResponse',
|
|
23
|
+
'SystemDataResponse',
|
|
24
|
+
'WafPolicyResponse',
|
|
25
|
+
'WafSecurityPolicyResponse',
|
|
26
|
+
]
|
|
27
|
+
|
|
28
|
+
@pulumi.output_type
|
|
29
|
+
class AssociationSubnetResponse(dict):
|
|
30
|
+
"""
|
|
31
|
+
Association Subnet.
|
|
32
|
+
"""
|
|
33
|
+
def __init__(__self__, *,
|
|
34
|
+
id: str):
|
|
35
|
+
"""
|
|
36
|
+
Association Subnet.
|
|
37
|
+
:param str id: Association ID.
|
|
38
|
+
"""
|
|
39
|
+
pulumi.set(__self__, "id", id)
|
|
40
|
+
|
|
41
|
+
@property
|
|
42
|
+
@pulumi.getter
|
|
43
|
+
def id(self) -> str:
|
|
44
|
+
"""
|
|
45
|
+
Association ID.
|
|
46
|
+
"""
|
|
47
|
+
return pulumi.get(self, "id")
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
@pulumi.output_type
|
|
51
|
+
class ResourceIdResponse(dict):
|
|
52
|
+
"""
|
|
53
|
+
Resource ID definition used by parent to reference child resources.
|
|
54
|
+
"""
|
|
55
|
+
def __init__(__self__, *,
|
|
56
|
+
id: str):
|
|
57
|
+
"""
|
|
58
|
+
Resource ID definition used by parent to reference child resources.
|
|
59
|
+
:param str id: Resource ID of child resource.
|
|
60
|
+
"""
|
|
61
|
+
pulumi.set(__self__, "id", id)
|
|
62
|
+
|
|
63
|
+
@property
|
|
64
|
+
@pulumi.getter
|
|
65
|
+
def id(self) -> str:
|
|
66
|
+
"""
|
|
67
|
+
Resource ID of child resource.
|
|
68
|
+
"""
|
|
69
|
+
return pulumi.get(self, "id")
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
@pulumi.output_type
|
|
73
|
+
class SecurityPolicyConfigurationsResponse(dict):
|
|
74
|
+
"""
|
|
75
|
+
SecurityPolicyConfigurations Subresource of Traffic Controller.
|
|
76
|
+
"""
|
|
77
|
+
@staticmethod
|
|
78
|
+
def __key_warning(key: str):
|
|
79
|
+
suggest = None
|
|
80
|
+
if key == "wafSecurityPolicy":
|
|
81
|
+
suggest = "waf_security_policy"
|
|
82
|
+
|
|
83
|
+
if suggest:
|
|
84
|
+
pulumi.log.warn(f"Key '{key}' not found in SecurityPolicyConfigurationsResponse. Access the value via the '{suggest}' property getter instead.")
|
|
85
|
+
|
|
86
|
+
def __getitem__(self, key: str) -> Any:
|
|
87
|
+
SecurityPolicyConfigurationsResponse.__key_warning(key)
|
|
88
|
+
return super().__getitem__(key)
|
|
89
|
+
|
|
90
|
+
def get(self, key: str, default = None) -> Any:
|
|
91
|
+
SecurityPolicyConfigurationsResponse.__key_warning(key)
|
|
92
|
+
return super().get(key, default)
|
|
93
|
+
|
|
94
|
+
def __init__(__self__, *,
|
|
95
|
+
waf_security_policy: Optional['outputs.WafSecurityPolicyResponse'] = None):
|
|
96
|
+
"""
|
|
97
|
+
SecurityPolicyConfigurations Subresource of Traffic Controller.
|
|
98
|
+
:param 'WafSecurityPolicyResponse' waf_security_policy: Contains reference to a WAF-type security policy that is applied at the Traffic Controller level.
|
|
99
|
+
"""
|
|
100
|
+
if waf_security_policy is not None:
|
|
101
|
+
pulumi.set(__self__, "waf_security_policy", waf_security_policy)
|
|
102
|
+
|
|
103
|
+
@property
|
|
104
|
+
@pulumi.getter(name="wafSecurityPolicy")
|
|
105
|
+
def waf_security_policy(self) -> Optional['outputs.WafSecurityPolicyResponse']:
|
|
106
|
+
"""
|
|
107
|
+
Contains reference to a WAF-type security policy that is applied at the Traffic Controller level.
|
|
108
|
+
"""
|
|
109
|
+
return pulumi.get(self, "waf_security_policy")
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
@pulumi.output_type
|
|
113
|
+
class SystemDataResponse(dict):
|
|
114
|
+
"""
|
|
115
|
+
Metadata pertaining to creation and last modification of the resource.
|
|
116
|
+
"""
|
|
117
|
+
@staticmethod
|
|
118
|
+
def __key_warning(key: str):
|
|
119
|
+
suggest = None
|
|
120
|
+
if key == "createdAt":
|
|
121
|
+
suggest = "created_at"
|
|
122
|
+
elif key == "createdBy":
|
|
123
|
+
suggest = "created_by"
|
|
124
|
+
elif key == "createdByType":
|
|
125
|
+
suggest = "created_by_type"
|
|
126
|
+
elif key == "lastModifiedAt":
|
|
127
|
+
suggest = "last_modified_at"
|
|
128
|
+
elif key == "lastModifiedBy":
|
|
129
|
+
suggest = "last_modified_by"
|
|
130
|
+
elif key == "lastModifiedByType":
|
|
131
|
+
suggest = "last_modified_by_type"
|
|
132
|
+
|
|
133
|
+
if suggest:
|
|
134
|
+
pulumi.log.warn(f"Key '{key}' not found in SystemDataResponse. Access the value via the '{suggest}' property getter instead.")
|
|
135
|
+
|
|
136
|
+
def __getitem__(self, key: str) -> Any:
|
|
137
|
+
SystemDataResponse.__key_warning(key)
|
|
138
|
+
return super().__getitem__(key)
|
|
139
|
+
|
|
140
|
+
def get(self, key: str, default = None) -> Any:
|
|
141
|
+
SystemDataResponse.__key_warning(key)
|
|
142
|
+
return super().get(key, default)
|
|
143
|
+
|
|
144
|
+
def __init__(__self__, *,
|
|
145
|
+
created_at: Optional[str] = None,
|
|
146
|
+
created_by: Optional[str] = None,
|
|
147
|
+
created_by_type: Optional[str] = None,
|
|
148
|
+
last_modified_at: Optional[str] = None,
|
|
149
|
+
last_modified_by: Optional[str] = None,
|
|
150
|
+
last_modified_by_type: Optional[str] = None):
|
|
151
|
+
"""
|
|
152
|
+
Metadata pertaining to creation and last modification of the resource.
|
|
153
|
+
:param str created_at: The timestamp of resource creation (UTC).
|
|
154
|
+
:param str created_by: The identity that created the resource.
|
|
155
|
+
:param str created_by_type: The type of identity that created the resource.
|
|
156
|
+
:param str last_modified_at: The timestamp of resource last modification (UTC)
|
|
157
|
+
:param str last_modified_by: The identity that last modified the resource.
|
|
158
|
+
:param str last_modified_by_type: The type of identity that last modified the resource.
|
|
159
|
+
"""
|
|
160
|
+
if created_at is not None:
|
|
161
|
+
pulumi.set(__self__, "created_at", created_at)
|
|
162
|
+
if created_by is not None:
|
|
163
|
+
pulumi.set(__self__, "created_by", created_by)
|
|
164
|
+
if created_by_type is not None:
|
|
165
|
+
pulumi.set(__self__, "created_by_type", created_by_type)
|
|
166
|
+
if last_modified_at is not None:
|
|
167
|
+
pulumi.set(__self__, "last_modified_at", last_modified_at)
|
|
168
|
+
if last_modified_by is not None:
|
|
169
|
+
pulumi.set(__self__, "last_modified_by", last_modified_by)
|
|
170
|
+
if last_modified_by_type is not None:
|
|
171
|
+
pulumi.set(__self__, "last_modified_by_type", last_modified_by_type)
|
|
172
|
+
|
|
173
|
+
@property
|
|
174
|
+
@pulumi.getter(name="createdAt")
|
|
175
|
+
def created_at(self) -> Optional[str]:
|
|
176
|
+
"""
|
|
177
|
+
The timestamp of resource creation (UTC).
|
|
178
|
+
"""
|
|
179
|
+
return pulumi.get(self, "created_at")
|
|
180
|
+
|
|
181
|
+
@property
|
|
182
|
+
@pulumi.getter(name="createdBy")
|
|
183
|
+
def created_by(self) -> Optional[str]:
|
|
184
|
+
"""
|
|
185
|
+
The identity that created the resource.
|
|
186
|
+
"""
|
|
187
|
+
return pulumi.get(self, "created_by")
|
|
188
|
+
|
|
189
|
+
@property
|
|
190
|
+
@pulumi.getter(name="createdByType")
|
|
191
|
+
def created_by_type(self) -> Optional[str]:
|
|
192
|
+
"""
|
|
193
|
+
The type of identity that created the resource.
|
|
194
|
+
"""
|
|
195
|
+
return pulumi.get(self, "created_by_type")
|
|
196
|
+
|
|
197
|
+
@property
|
|
198
|
+
@pulumi.getter(name="lastModifiedAt")
|
|
199
|
+
def last_modified_at(self) -> Optional[str]:
|
|
200
|
+
"""
|
|
201
|
+
The timestamp of resource last modification (UTC)
|
|
202
|
+
"""
|
|
203
|
+
return pulumi.get(self, "last_modified_at")
|
|
204
|
+
|
|
205
|
+
@property
|
|
206
|
+
@pulumi.getter(name="lastModifiedBy")
|
|
207
|
+
def last_modified_by(self) -> Optional[str]:
|
|
208
|
+
"""
|
|
209
|
+
The identity that last modified the resource.
|
|
210
|
+
"""
|
|
211
|
+
return pulumi.get(self, "last_modified_by")
|
|
212
|
+
|
|
213
|
+
@property
|
|
214
|
+
@pulumi.getter(name="lastModifiedByType")
|
|
215
|
+
def last_modified_by_type(self) -> Optional[str]:
|
|
216
|
+
"""
|
|
217
|
+
The type of identity that last modified the resource.
|
|
218
|
+
"""
|
|
219
|
+
return pulumi.get(self, "last_modified_by_type")
|
|
220
|
+
|
|
221
|
+
|
|
222
|
+
@pulumi.output_type
|
|
223
|
+
class WafPolicyResponse(dict):
|
|
224
|
+
"""
|
|
225
|
+
Web Application Firewall Policy
|
|
226
|
+
"""
|
|
227
|
+
def __init__(__self__, *,
|
|
228
|
+
id: str):
|
|
229
|
+
"""
|
|
230
|
+
Web Application Firewall Policy
|
|
231
|
+
:param str id: Resource ID of the WAF
|
|
232
|
+
"""
|
|
233
|
+
pulumi.set(__self__, "id", id)
|
|
234
|
+
|
|
235
|
+
@property
|
|
236
|
+
@pulumi.getter
|
|
237
|
+
def id(self) -> str:
|
|
238
|
+
"""
|
|
239
|
+
Resource ID of the WAF
|
|
240
|
+
"""
|
|
241
|
+
return pulumi.get(self, "id")
|
|
242
|
+
|
|
243
|
+
|
|
244
|
+
@pulumi.output_type
|
|
245
|
+
class WafSecurityPolicyResponse(dict):
|
|
246
|
+
"""
|
|
247
|
+
Web Application Firewall Security Policy
|
|
248
|
+
"""
|
|
249
|
+
def __init__(__self__, *,
|
|
250
|
+
id: str):
|
|
251
|
+
"""
|
|
252
|
+
Web Application Firewall Security Policy
|
|
253
|
+
:param str id: Resource ID of the Waf Security Policy
|
|
254
|
+
"""
|
|
255
|
+
pulumi.set(__self__, "id", id)
|
|
256
|
+
|
|
257
|
+
@property
|
|
258
|
+
@pulumi.getter
|
|
259
|
+
def id(self) -> str:
|
|
260
|
+
"""
|
|
261
|
+
Resource ID of the Waf Security Policy
|
|
262
|
+
"""
|
|
263
|
+
return pulumi.get(self, "id")
|
|
264
|
+
|
|
265
|
+
|
|
@@ -0,0 +1,298 @@
|
|
|
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 ._inputs import *
|
|
18
|
+
|
|
19
|
+
__all__ = ['SecurityPoliciesInterfaceArgs', 'SecurityPoliciesInterface']
|
|
20
|
+
|
|
21
|
+
@pulumi.input_type
|
|
22
|
+
class SecurityPoliciesInterfaceArgs:
|
|
23
|
+
def __init__(__self__, *,
|
|
24
|
+
resource_group_name: pulumi.Input[str],
|
|
25
|
+
traffic_controller_name: pulumi.Input[str],
|
|
26
|
+
location: Optional[pulumi.Input[str]] = None,
|
|
27
|
+
security_policy_name: Optional[pulumi.Input[str]] = None,
|
|
28
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
29
|
+
waf_policy: Optional[pulumi.Input['WafPolicyArgs']] = None):
|
|
30
|
+
"""
|
|
31
|
+
The set of arguments for constructing a SecurityPoliciesInterface resource.
|
|
32
|
+
:param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive.
|
|
33
|
+
:param pulumi.Input[str] traffic_controller_name: traffic controller name for path
|
|
34
|
+
:param pulumi.Input[str] location: The geo-location where the resource lives
|
|
35
|
+
:param pulumi.Input[str] security_policy_name: SecurityPolicy
|
|
36
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags.
|
|
37
|
+
:param pulumi.Input['WafPolicyArgs'] waf_policy: Web Application Firewall Policy of the Traffic Controller Security Policy
|
|
38
|
+
"""
|
|
39
|
+
pulumi.set(__self__, "resource_group_name", resource_group_name)
|
|
40
|
+
pulumi.set(__self__, "traffic_controller_name", traffic_controller_name)
|
|
41
|
+
if location is not None:
|
|
42
|
+
pulumi.set(__self__, "location", location)
|
|
43
|
+
if security_policy_name is not None:
|
|
44
|
+
pulumi.set(__self__, "security_policy_name", security_policy_name)
|
|
45
|
+
if tags is not None:
|
|
46
|
+
pulumi.set(__self__, "tags", tags)
|
|
47
|
+
if waf_policy is not None:
|
|
48
|
+
pulumi.set(__self__, "waf_policy", waf_policy)
|
|
49
|
+
|
|
50
|
+
@property
|
|
51
|
+
@pulumi.getter(name="resourceGroupName")
|
|
52
|
+
def resource_group_name(self) -> pulumi.Input[str]:
|
|
53
|
+
"""
|
|
54
|
+
The name of the resource group. The name is case insensitive.
|
|
55
|
+
"""
|
|
56
|
+
return pulumi.get(self, "resource_group_name")
|
|
57
|
+
|
|
58
|
+
@resource_group_name.setter
|
|
59
|
+
def resource_group_name(self, value: pulumi.Input[str]):
|
|
60
|
+
pulumi.set(self, "resource_group_name", value)
|
|
61
|
+
|
|
62
|
+
@property
|
|
63
|
+
@pulumi.getter(name="trafficControllerName")
|
|
64
|
+
def traffic_controller_name(self) -> pulumi.Input[str]:
|
|
65
|
+
"""
|
|
66
|
+
traffic controller name for path
|
|
67
|
+
"""
|
|
68
|
+
return pulumi.get(self, "traffic_controller_name")
|
|
69
|
+
|
|
70
|
+
@traffic_controller_name.setter
|
|
71
|
+
def traffic_controller_name(self, value: pulumi.Input[str]):
|
|
72
|
+
pulumi.set(self, "traffic_controller_name", value)
|
|
73
|
+
|
|
74
|
+
@property
|
|
75
|
+
@pulumi.getter
|
|
76
|
+
def location(self) -> Optional[pulumi.Input[str]]:
|
|
77
|
+
"""
|
|
78
|
+
The geo-location where the resource lives
|
|
79
|
+
"""
|
|
80
|
+
return pulumi.get(self, "location")
|
|
81
|
+
|
|
82
|
+
@location.setter
|
|
83
|
+
def location(self, value: Optional[pulumi.Input[str]]):
|
|
84
|
+
pulumi.set(self, "location", value)
|
|
85
|
+
|
|
86
|
+
@property
|
|
87
|
+
@pulumi.getter(name="securityPolicyName")
|
|
88
|
+
def security_policy_name(self) -> Optional[pulumi.Input[str]]:
|
|
89
|
+
"""
|
|
90
|
+
SecurityPolicy
|
|
91
|
+
"""
|
|
92
|
+
return pulumi.get(self, "security_policy_name")
|
|
93
|
+
|
|
94
|
+
@security_policy_name.setter
|
|
95
|
+
def security_policy_name(self, value: Optional[pulumi.Input[str]]):
|
|
96
|
+
pulumi.set(self, "security_policy_name", value)
|
|
97
|
+
|
|
98
|
+
@property
|
|
99
|
+
@pulumi.getter
|
|
100
|
+
def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
101
|
+
"""
|
|
102
|
+
Resource tags.
|
|
103
|
+
"""
|
|
104
|
+
return pulumi.get(self, "tags")
|
|
105
|
+
|
|
106
|
+
@tags.setter
|
|
107
|
+
def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
|
108
|
+
pulumi.set(self, "tags", value)
|
|
109
|
+
|
|
110
|
+
@property
|
|
111
|
+
@pulumi.getter(name="wafPolicy")
|
|
112
|
+
def waf_policy(self) -> Optional[pulumi.Input['WafPolicyArgs']]:
|
|
113
|
+
"""
|
|
114
|
+
Web Application Firewall Policy of the Traffic Controller Security Policy
|
|
115
|
+
"""
|
|
116
|
+
return pulumi.get(self, "waf_policy")
|
|
117
|
+
|
|
118
|
+
@waf_policy.setter
|
|
119
|
+
def waf_policy(self, value: Optional[pulumi.Input['WafPolicyArgs']]):
|
|
120
|
+
pulumi.set(self, "waf_policy", value)
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
class SecurityPoliciesInterface(pulumi.CustomResource):
|
|
124
|
+
@overload
|
|
125
|
+
def __init__(__self__,
|
|
126
|
+
resource_name: str,
|
|
127
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
128
|
+
location: Optional[pulumi.Input[str]] = None,
|
|
129
|
+
resource_group_name: Optional[pulumi.Input[str]] = None,
|
|
130
|
+
security_policy_name: Optional[pulumi.Input[str]] = None,
|
|
131
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
132
|
+
traffic_controller_name: Optional[pulumi.Input[str]] = None,
|
|
133
|
+
waf_policy: Optional[pulumi.Input[Union['WafPolicyArgs', 'WafPolicyArgsDict']]] = None,
|
|
134
|
+
__props__=None):
|
|
135
|
+
"""
|
|
136
|
+
SecurityPolicy Subresource of Traffic Controller.
|
|
137
|
+
|
|
138
|
+
:param str resource_name: The name of the resource.
|
|
139
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
140
|
+
:param pulumi.Input[str] location: The geo-location where the resource lives
|
|
141
|
+
:param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive.
|
|
142
|
+
:param pulumi.Input[str] security_policy_name: SecurityPolicy
|
|
143
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags.
|
|
144
|
+
:param pulumi.Input[str] traffic_controller_name: traffic controller name for path
|
|
145
|
+
:param pulumi.Input[Union['WafPolicyArgs', 'WafPolicyArgsDict']] waf_policy: Web Application Firewall Policy of the Traffic Controller Security Policy
|
|
146
|
+
"""
|
|
147
|
+
...
|
|
148
|
+
@overload
|
|
149
|
+
def __init__(__self__,
|
|
150
|
+
resource_name: str,
|
|
151
|
+
args: SecurityPoliciesInterfaceArgs,
|
|
152
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
|
153
|
+
"""
|
|
154
|
+
SecurityPolicy Subresource of Traffic Controller.
|
|
155
|
+
|
|
156
|
+
:param str resource_name: The name of the resource.
|
|
157
|
+
:param SecurityPoliciesInterfaceArgs args: The arguments to use to populate this resource's properties.
|
|
158
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
159
|
+
"""
|
|
160
|
+
...
|
|
161
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
|
162
|
+
resource_args, opts = _utilities.get_resource_args_opts(SecurityPoliciesInterfaceArgs, pulumi.ResourceOptions, *args, **kwargs)
|
|
163
|
+
if resource_args is not None:
|
|
164
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
165
|
+
else:
|
|
166
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
|
167
|
+
|
|
168
|
+
def _internal_init(__self__,
|
|
169
|
+
resource_name: str,
|
|
170
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
171
|
+
location: Optional[pulumi.Input[str]] = None,
|
|
172
|
+
resource_group_name: Optional[pulumi.Input[str]] = None,
|
|
173
|
+
security_policy_name: Optional[pulumi.Input[str]] = None,
|
|
174
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
175
|
+
traffic_controller_name: Optional[pulumi.Input[str]] = None,
|
|
176
|
+
waf_policy: Optional[pulumi.Input[Union['WafPolicyArgs', 'WafPolicyArgsDict']]] = None,
|
|
177
|
+
__props__=None):
|
|
178
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
179
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
|
180
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
|
181
|
+
if opts.id is None:
|
|
182
|
+
if __props__ is not None:
|
|
183
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
184
|
+
__props__ = SecurityPoliciesInterfaceArgs.__new__(SecurityPoliciesInterfaceArgs)
|
|
185
|
+
|
|
186
|
+
__props__.__dict__["location"] = location
|
|
187
|
+
if resource_group_name is None and not opts.urn:
|
|
188
|
+
raise TypeError("Missing required property 'resource_group_name'")
|
|
189
|
+
__props__.__dict__["resource_group_name"] = resource_group_name
|
|
190
|
+
__props__.__dict__["security_policy_name"] = security_policy_name
|
|
191
|
+
__props__.__dict__["tags"] = tags
|
|
192
|
+
if traffic_controller_name is None and not opts.urn:
|
|
193
|
+
raise TypeError("Missing required property 'traffic_controller_name'")
|
|
194
|
+
__props__.__dict__["traffic_controller_name"] = traffic_controller_name
|
|
195
|
+
__props__.__dict__["waf_policy"] = waf_policy
|
|
196
|
+
__props__.__dict__["name"] = None
|
|
197
|
+
__props__.__dict__["policy_type"] = None
|
|
198
|
+
__props__.__dict__["provisioning_state"] = None
|
|
199
|
+
__props__.__dict__["system_data"] = None
|
|
200
|
+
__props__.__dict__["type"] = None
|
|
201
|
+
alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:servicenetworking:SecurityPoliciesInterface"), pulumi.Alias(type_="azure-native:servicenetworking/v20240501preview:SecurityPoliciesInterface")])
|
|
202
|
+
opts = pulumi.ResourceOptions.merge(opts, alias_opts)
|
|
203
|
+
super(SecurityPoliciesInterface, __self__).__init__(
|
|
204
|
+
'azure-native:servicenetworking/v20250101:SecurityPoliciesInterface',
|
|
205
|
+
resource_name,
|
|
206
|
+
__props__,
|
|
207
|
+
opts)
|
|
208
|
+
|
|
209
|
+
@staticmethod
|
|
210
|
+
def get(resource_name: str,
|
|
211
|
+
id: pulumi.Input[str],
|
|
212
|
+
opts: Optional[pulumi.ResourceOptions] = None) -> 'SecurityPoliciesInterface':
|
|
213
|
+
"""
|
|
214
|
+
Get an existing SecurityPoliciesInterface resource's state with the given name, id, and optional extra
|
|
215
|
+
properties used to qualify the lookup.
|
|
216
|
+
|
|
217
|
+
:param str resource_name: The unique name of the resulting resource.
|
|
218
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
219
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
220
|
+
"""
|
|
221
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
222
|
+
|
|
223
|
+
__props__ = SecurityPoliciesInterfaceArgs.__new__(SecurityPoliciesInterfaceArgs)
|
|
224
|
+
|
|
225
|
+
__props__.__dict__["location"] = None
|
|
226
|
+
__props__.__dict__["name"] = None
|
|
227
|
+
__props__.__dict__["policy_type"] = None
|
|
228
|
+
__props__.__dict__["provisioning_state"] = None
|
|
229
|
+
__props__.__dict__["system_data"] = None
|
|
230
|
+
__props__.__dict__["tags"] = None
|
|
231
|
+
__props__.__dict__["type"] = None
|
|
232
|
+
__props__.__dict__["waf_policy"] = None
|
|
233
|
+
return SecurityPoliciesInterface(resource_name, opts=opts, __props__=__props__)
|
|
234
|
+
|
|
235
|
+
@property
|
|
236
|
+
@pulumi.getter
|
|
237
|
+
def location(self) -> pulumi.Output[str]:
|
|
238
|
+
"""
|
|
239
|
+
The geo-location where the resource lives
|
|
240
|
+
"""
|
|
241
|
+
return pulumi.get(self, "location")
|
|
242
|
+
|
|
243
|
+
@property
|
|
244
|
+
@pulumi.getter
|
|
245
|
+
def name(self) -> pulumi.Output[str]:
|
|
246
|
+
"""
|
|
247
|
+
The name of the resource
|
|
248
|
+
"""
|
|
249
|
+
return pulumi.get(self, "name")
|
|
250
|
+
|
|
251
|
+
@property
|
|
252
|
+
@pulumi.getter(name="policyType")
|
|
253
|
+
def policy_type(self) -> pulumi.Output[str]:
|
|
254
|
+
"""
|
|
255
|
+
Type of the Traffic Controller Security Policy
|
|
256
|
+
"""
|
|
257
|
+
return pulumi.get(self, "policy_type")
|
|
258
|
+
|
|
259
|
+
@property
|
|
260
|
+
@pulumi.getter(name="provisioningState")
|
|
261
|
+
def provisioning_state(self) -> pulumi.Output[str]:
|
|
262
|
+
"""
|
|
263
|
+
Provisioning State of Traffic Controller SecurityPolicy Resource
|
|
264
|
+
"""
|
|
265
|
+
return pulumi.get(self, "provisioning_state")
|
|
266
|
+
|
|
267
|
+
@property
|
|
268
|
+
@pulumi.getter(name="systemData")
|
|
269
|
+
def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']:
|
|
270
|
+
"""
|
|
271
|
+
Azure Resource Manager metadata containing createdBy and modifiedBy information.
|
|
272
|
+
"""
|
|
273
|
+
return pulumi.get(self, "system_data")
|
|
274
|
+
|
|
275
|
+
@property
|
|
276
|
+
@pulumi.getter
|
|
277
|
+
def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
|
278
|
+
"""
|
|
279
|
+
Resource tags.
|
|
280
|
+
"""
|
|
281
|
+
return pulumi.get(self, "tags")
|
|
282
|
+
|
|
283
|
+
@property
|
|
284
|
+
@pulumi.getter
|
|
285
|
+
def type(self) -> pulumi.Output[str]:
|
|
286
|
+
"""
|
|
287
|
+
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
|
|
288
|
+
"""
|
|
289
|
+
return pulumi.get(self, "type")
|
|
290
|
+
|
|
291
|
+
@property
|
|
292
|
+
@pulumi.getter(name="wafPolicy")
|
|
293
|
+
def waf_policy(self) -> pulumi.Output[Optional['outputs.WafPolicyResponse']]:
|
|
294
|
+
"""
|
|
295
|
+
Web Application Firewall Policy of the Traffic Controller Security Policy
|
|
296
|
+
"""
|
|
297
|
+
return pulumi.get(self, "waf_policy")
|
|
298
|
+
|