pulumi-azure-native 2.54.0a1723136521__py3-none-any.whl → 2.55.0a1723186763__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 (133) hide show
  1. pulumi_azure_native/__init__.py +50 -6
  2. pulumi_azure_native/pulumi-plugin.json +1 -1
  3. pulumi_azure_native/web/__init__.py +6 -0
  4. pulumi_azure_native/web/get_web_app_diagnostic_logs_configuration_slot.py +186 -0
  5. pulumi_azure_native/web/get_web_app_ftp_allowed_slot.py +144 -0
  6. pulumi_azure_native/web/get_web_app_scm_allowed_slot.py +144 -0
  7. pulumi_azure_native/web/v20160801/__init__.py +2 -0
  8. pulumi_azure_native/web/v20160801/_enums.py +12 -0
  9. pulumi_azure_native/web/v20160801/_inputs.py +529 -0
  10. pulumi_azure_native/web/v20160801/get_web_app_diagnostic_logs_configuration_slot.py +180 -0
  11. pulumi_azure_native/web/v20160801/outputs.py +443 -0
  12. pulumi_azure_native/web/v20160801/web_app_diagnostic_logs_configuration_slot.py +327 -0
  13. pulumi_azure_native/web/v20180201/__init__.py +4 -0
  14. pulumi_azure_native/web/v20180201/_enums.py +20 -0
  15. pulumi_azure_native/web/v20180201/_inputs.py +551 -0
  16. pulumi_azure_native/web/v20180201/get_web_app_diagnostic_logs_configuration_slot.py +180 -0
  17. pulumi_azure_native/web/v20180201/outputs.py +445 -0
  18. pulumi_azure_native/web/v20180201/web_app_diagnostic_logs_configuration_slot.py +327 -0
  19. pulumi_azure_native/web/v20181101/__init__.py +2 -0
  20. pulumi_azure_native/web/v20181101/_enums.py +12 -0
  21. pulumi_azure_native/web/v20181101/_inputs.py +529 -0
  22. pulumi_azure_native/web/v20181101/get_web_app_diagnostic_logs_configuration_slot.py +180 -0
  23. pulumi_azure_native/web/v20181101/outputs.py +443 -0
  24. pulumi_azure_native/web/v20181101/web_app_diagnostic_logs_configuration_slot.py +327 -0
  25. pulumi_azure_native/web/v20190801/__init__.py +2 -0
  26. pulumi_azure_native/web/v20190801/_enums.py +12 -0
  27. pulumi_azure_native/web/v20190801/_inputs.py +529 -0
  28. pulumi_azure_native/web/v20190801/get_web_app_diagnostic_logs_configuration_slot.py +180 -0
  29. pulumi_azure_native/web/v20190801/outputs.py +444 -0
  30. pulumi_azure_native/web/v20190801/web_app_diagnostic_logs_configuration_slot.py +327 -0
  31. pulumi_azure_native/web/v20200601/__init__.py +4 -0
  32. pulumi_azure_native/web/v20200601/_enums.py +20 -0
  33. pulumi_azure_native/web/v20200601/_inputs.py +551 -0
  34. pulumi_azure_native/web/v20200601/get_web_app_diagnostic_logs_configuration_slot.py +180 -0
  35. pulumi_azure_native/web/v20200601/outputs.py +445 -0
  36. pulumi_azure_native/web/v20200601/web_app_diagnostic_logs_configuration_slot.py +327 -0
  37. pulumi_azure_native/web/v20200901/__init__.py +4 -0
  38. pulumi_azure_native/web/v20200901/_enums.py +20 -0
  39. pulumi_azure_native/web/v20200901/_inputs.py +551 -0
  40. pulumi_azure_native/web/v20200901/get_web_app_diagnostic_logs_configuration_slot.py +193 -0
  41. pulumi_azure_native/web/v20200901/outputs.py +444 -0
  42. pulumi_azure_native/web/v20200901/web_app_diagnostic_logs_configuration_slot.py +337 -0
  43. pulumi_azure_native/web/v20201001/__init__.py +2 -0
  44. pulumi_azure_native/web/v20201001/get_web_app_diagnostic_logs_configuration_slot.py +193 -0
  45. pulumi_azure_native/web/v20201001/web_app_diagnostic_logs_configuration_slot.py +337 -0
  46. pulumi_azure_native/web/v20201201/__init__.py +8 -0
  47. pulumi_azure_native/web/v20201201/_enums.py +20 -0
  48. pulumi_azure_native/web/v20201201/_inputs.py +551 -0
  49. pulumi_azure_native/web/v20201201/get_web_app_diagnostic_logs_configuration_slot.py +180 -0
  50. pulumi_azure_native/web/v20201201/get_web_app_ftp_allowed_slot.py +138 -0
  51. pulumi_azure_native/web/v20201201/get_web_app_scm_allowed_slot.py +138 -0
  52. pulumi_azure_native/web/v20201201/outputs.py +445 -0
  53. pulumi_azure_native/web/v20201201/web_app_diagnostic_logs_configuration_slot.py +327 -0
  54. pulumi_azure_native/web/v20201201/web_app_ftp_allowed_slot.py +233 -0
  55. pulumi_azure_native/web/v20201201/web_app_scm_allowed_slot.py +233 -0
  56. pulumi_azure_native/web/v20210101/__init__.py +8 -0
  57. pulumi_azure_native/web/v20210101/_enums.py +20 -0
  58. pulumi_azure_native/web/v20210101/_inputs.py +551 -0
  59. pulumi_azure_native/web/v20210101/get_web_app_diagnostic_logs_configuration_slot.py +180 -0
  60. pulumi_azure_native/web/v20210101/get_web_app_ftp_allowed_slot.py +138 -0
  61. pulumi_azure_native/web/v20210101/get_web_app_scm_allowed_slot.py +138 -0
  62. pulumi_azure_native/web/v20210101/outputs.py +445 -0
  63. pulumi_azure_native/web/v20210101/web_app_diagnostic_logs_configuration_slot.py +327 -0
  64. pulumi_azure_native/web/v20210101/web_app_ftp_allowed_slot.py +233 -0
  65. pulumi_azure_native/web/v20210101/web_app_scm_allowed_slot.py +233 -0
  66. pulumi_azure_native/web/v20210115/__init__.py +6 -0
  67. pulumi_azure_native/web/v20210115/_enums.py +12 -0
  68. pulumi_azure_native/web/v20210115/_inputs.py +529 -0
  69. pulumi_azure_native/web/v20210115/get_web_app_diagnostic_logs_configuration_slot.py +180 -0
  70. pulumi_azure_native/web/v20210115/get_web_app_ftp_allowed_slot.py +138 -0
  71. pulumi_azure_native/web/v20210115/get_web_app_scm_allowed_slot.py +138 -0
  72. pulumi_azure_native/web/v20210115/outputs.py +444 -0
  73. pulumi_azure_native/web/v20210115/web_app_diagnostic_logs_configuration_slot.py +327 -0
  74. pulumi_azure_native/web/v20210115/web_app_ftp_allowed_slot.py +233 -0
  75. pulumi_azure_native/web/v20210115/web_app_scm_allowed_slot.py +233 -0
  76. pulumi_azure_native/web/v20210201/__init__.py +6 -0
  77. pulumi_azure_native/web/v20210201/_enums.py +12 -0
  78. pulumi_azure_native/web/v20210201/_inputs.py +529 -0
  79. pulumi_azure_native/web/v20210201/get_web_app_diagnostic_logs_configuration_slot.py +180 -0
  80. pulumi_azure_native/web/v20210201/get_web_app_ftp_allowed_slot.py +138 -0
  81. pulumi_azure_native/web/v20210201/get_web_app_scm_allowed_slot.py +138 -0
  82. pulumi_azure_native/web/v20210201/outputs.py +443 -0
  83. pulumi_azure_native/web/v20210201/web_app_diagnostic_logs_configuration_slot.py +327 -0
  84. pulumi_azure_native/web/v20210201/web_app_ftp_allowed_slot.py +233 -0
  85. pulumi_azure_native/web/v20210201/web_app_scm_allowed_slot.py +233 -0
  86. pulumi_azure_native/web/v20210301/__init__.py +8 -0
  87. pulumi_azure_native/web/v20210301/_enums.py +20 -0
  88. pulumi_azure_native/web/v20210301/_inputs.py +551 -0
  89. pulumi_azure_native/web/v20210301/get_web_app_diagnostic_logs_configuration_slot.py +180 -0
  90. pulumi_azure_native/web/v20210301/get_web_app_ftp_allowed_slot.py +138 -0
  91. pulumi_azure_native/web/v20210301/get_web_app_scm_allowed_slot.py +138 -0
  92. pulumi_azure_native/web/v20210301/outputs.py +445 -0
  93. pulumi_azure_native/web/v20210301/web_app_diagnostic_logs_configuration_slot.py +327 -0
  94. pulumi_azure_native/web/v20210301/web_app_ftp_allowed_slot.py +233 -0
  95. pulumi_azure_native/web/v20210301/web_app_scm_allowed_slot.py +233 -0
  96. pulumi_azure_native/web/v20220301/__init__.py +8 -0
  97. pulumi_azure_native/web/v20220301/_enums.py +20 -0
  98. pulumi_azure_native/web/v20220301/_inputs.py +551 -0
  99. pulumi_azure_native/web/v20220301/get_web_app_diagnostic_logs_configuration_slot.py +180 -0
  100. pulumi_azure_native/web/v20220301/get_web_app_ftp_allowed_slot.py +138 -0
  101. pulumi_azure_native/web/v20220301/get_web_app_scm_allowed_slot.py +138 -0
  102. pulumi_azure_native/web/v20220301/outputs.py +445 -0
  103. pulumi_azure_native/web/v20220301/web_app_diagnostic_logs_configuration_slot.py +327 -0
  104. pulumi_azure_native/web/v20220301/web_app_ftp_allowed_slot.py +233 -0
  105. pulumi_azure_native/web/v20220301/web_app_scm_allowed_slot.py +233 -0
  106. pulumi_azure_native/web/v20220901/__init__.py +6 -0
  107. pulumi_azure_native/web/v20220901/get_web_app_diagnostic_logs_configuration_slot.py +180 -0
  108. pulumi_azure_native/web/v20220901/get_web_app_ftp_allowed_slot.py +138 -0
  109. pulumi_azure_native/web/v20220901/get_web_app_scm_allowed_slot.py +138 -0
  110. pulumi_azure_native/web/v20220901/web_app_diagnostic_logs_configuration_slot.py +327 -0
  111. pulumi_azure_native/web/v20220901/web_app_ftp_allowed_slot.py +233 -0
  112. pulumi_azure_native/web/v20220901/web_app_scm_allowed_slot.py +233 -0
  113. pulumi_azure_native/web/v20230101/__init__.py +6 -0
  114. pulumi_azure_native/web/v20230101/get_web_app_diagnostic_logs_configuration_slot.py +180 -0
  115. pulumi_azure_native/web/v20230101/get_web_app_ftp_allowed_slot.py +138 -0
  116. pulumi_azure_native/web/v20230101/get_web_app_scm_allowed_slot.py +138 -0
  117. pulumi_azure_native/web/v20230101/web_app_diagnostic_logs_configuration_slot.py +327 -0
  118. pulumi_azure_native/web/v20230101/web_app_ftp_allowed_slot.py +233 -0
  119. pulumi_azure_native/web/v20230101/web_app_scm_allowed_slot.py +233 -0
  120. pulumi_azure_native/web/v20231201/__init__.py +6 -0
  121. pulumi_azure_native/web/v20231201/get_web_app_diagnostic_logs_configuration_slot.py +180 -0
  122. pulumi_azure_native/web/v20231201/get_web_app_ftp_allowed_slot.py +138 -0
  123. pulumi_azure_native/web/v20231201/get_web_app_scm_allowed_slot.py +138 -0
  124. pulumi_azure_native/web/v20231201/web_app_diagnostic_logs_configuration_slot.py +327 -0
  125. pulumi_azure_native/web/v20231201/web_app_ftp_allowed_slot.py +233 -0
  126. pulumi_azure_native/web/v20231201/web_app_scm_allowed_slot.py +233 -0
  127. pulumi_azure_native/web/web_app_diagnostic_logs_configuration_slot.py +333 -0
  128. pulumi_azure_native/web/web_app_ftp_allowed_slot.py +239 -0
  129. pulumi_azure_native/web/web_app_scm_allowed_slot.py +239 -0
  130. {pulumi_azure_native-2.54.0a1723136521.dist-info → pulumi_azure_native-2.55.0a1723186763.dist-info}/METADATA +1 -1
  131. {pulumi_azure_native-2.54.0a1723136521.dist-info → pulumi_azure_native-2.55.0a1723186763.dist-info}/RECORD +133 -45
  132. {pulumi_azure_native-2.54.0a1723136521.dist-info → pulumi_azure_native-2.55.0a1723186763.dist-info}/WHEEL +0 -0
  133. {pulumi_azure_native-2.54.0a1723136521.dist-info → pulumi_azure_native-2.55.0a1723186763.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,337 @@
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__ = ['WebAppDiagnosticLogsConfigurationSlotArgs', 'WebAppDiagnosticLogsConfigurationSlot']
21
+
22
+ @pulumi.input_type
23
+ class WebAppDiagnosticLogsConfigurationSlotArgs:
24
+ def __init__(__self__, *,
25
+ name: pulumi.Input[str],
26
+ resource_group_name: pulumi.Input[str],
27
+ slot: pulumi.Input[str],
28
+ application_logs: Optional[pulumi.Input['ApplicationLogsConfigArgs']] = None,
29
+ detailed_error_messages: Optional[pulumi.Input['EnabledConfigArgs']] = None,
30
+ failed_requests_tracing: Optional[pulumi.Input['EnabledConfigArgs']] = None,
31
+ http_logs: Optional[pulumi.Input['HttpLogsConfigArgs']] = None,
32
+ kind: Optional[pulumi.Input[str]] = None):
33
+ """
34
+ The set of arguments for constructing a WebAppDiagnosticLogsConfigurationSlot resource.
35
+ :param pulumi.Input[str] name: Name of the app.
36
+ :param pulumi.Input[str] resource_group_name: Name of the resource group to which the resource belongs.
37
+ :param pulumi.Input[str] slot: Name of the deployment slot. If a slot is not specified, the API will update the logging configuration for the production slot.
38
+ :param pulumi.Input['ApplicationLogsConfigArgs'] application_logs: Application logs configuration.
39
+ :param pulumi.Input['EnabledConfigArgs'] detailed_error_messages: Detailed error messages configuration.
40
+ :param pulumi.Input['EnabledConfigArgs'] failed_requests_tracing: Failed requests tracing configuration.
41
+ :param pulumi.Input['HttpLogsConfigArgs'] http_logs: HTTP logs configuration.
42
+ :param pulumi.Input[str] kind: Kind of resource.
43
+ """
44
+ pulumi.set(__self__, "name", name)
45
+ pulumi.set(__self__, "resource_group_name", resource_group_name)
46
+ pulumi.set(__self__, "slot", slot)
47
+ if application_logs is not None:
48
+ pulumi.set(__self__, "application_logs", application_logs)
49
+ if detailed_error_messages is not None:
50
+ pulumi.set(__self__, "detailed_error_messages", detailed_error_messages)
51
+ if failed_requests_tracing is not None:
52
+ pulumi.set(__self__, "failed_requests_tracing", failed_requests_tracing)
53
+ if http_logs is not None:
54
+ pulumi.set(__self__, "http_logs", http_logs)
55
+ if kind is not None:
56
+ pulumi.set(__self__, "kind", kind)
57
+
58
+ @property
59
+ @pulumi.getter
60
+ def name(self) -> pulumi.Input[str]:
61
+ """
62
+ Name of the app.
63
+ """
64
+ return pulumi.get(self, "name")
65
+
66
+ @name.setter
67
+ def name(self, value: pulumi.Input[str]):
68
+ pulumi.set(self, "name", value)
69
+
70
+ @property
71
+ @pulumi.getter(name="resourceGroupName")
72
+ def resource_group_name(self) -> pulumi.Input[str]:
73
+ """
74
+ Name of the resource group to which the resource belongs.
75
+ """
76
+ return pulumi.get(self, "resource_group_name")
77
+
78
+ @resource_group_name.setter
79
+ def resource_group_name(self, value: pulumi.Input[str]):
80
+ pulumi.set(self, "resource_group_name", value)
81
+
82
+ @property
83
+ @pulumi.getter
84
+ def slot(self) -> pulumi.Input[str]:
85
+ """
86
+ Name of the deployment slot. If a slot is not specified, the API will update the logging configuration for the production slot.
87
+ """
88
+ return pulumi.get(self, "slot")
89
+
90
+ @slot.setter
91
+ def slot(self, value: pulumi.Input[str]):
92
+ pulumi.set(self, "slot", value)
93
+
94
+ @property
95
+ @pulumi.getter(name="applicationLogs")
96
+ def application_logs(self) -> Optional[pulumi.Input['ApplicationLogsConfigArgs']]:
97
+ """
98
+ Application logs configuration.
99
+ """
100
+ return pulumi.get(self, "application_logs")
101
+
102
+ @application_logs.setter
103
+ def application_logs(self, value: Optional[pulumi.Input['ApplicationLogsConfigArgs']]):
104
+ pulumi.set(self, "application_logs", value)
105
+
106
+ @property
107
+ @pulumi.getter(name="detailedErrorMessages")
108
+ def detailed_error_messages(self) -> Optional[pulumi.Input['EnabledConfigArgs']]:
109
+ """
110
+ Detailed error messages configuration.
111
+ """
112
+ return pulumi.get(self, "detailed_error_messages")
113
+
114
+ @detailed_error_messages.setter
115
+ def detailed_error_messages(self, value: Optional[pulumi.Input['EnabledConfigArgs']]):
116
+ pulumi.set(self, "detailed_error_messages", value)
117
+
118
+ @property
119
+ @pulumi.getter(name="failedRequestsTracing")
120
+ def failed_requests_tracing(self) -> Optional[pulumi.Input['EnabledConfigArgs']]:
121
+ """
122
+ Failed requests tracing configuration.
123
+ """
124
+ return pulumi.get(self, "failed_requests_tracing")
125
+
126
+ @failed_requests_tracing.setter
127
+ def failed_requests_tracing(self, value: Optional[pulumi.Input['EnabledConfigArgs']]):
128
+ pulumi.set(self, "failed_requests_tracing", value)
129
+
130
+ @property
131
+ @pulumi.getter(name="httpLogs")
132
+ def http_logs(self) -> Optional[pulumi.Input['HttpLogsConfigArgs']]:
133
+ """
134
+ HTTP logs configuration.
135
+ """
136
+ return pulumi.get(self, "http_logs")
137
+
138
+ @http_logs.setter
139
+ def http_logs(self, value: Optional[pulumi.Input['HttpLogsConfigArgs']]):
140
+ pulumi.set(self, "http_logs", value)
141
+
142
+ @property
143
+ @pulumi.getter
144
+ def kind(self) -> Optional[pulumi.Input[str]]:
145
+ """
146
+ Kind of resource.
147
+ """
148
+ return pulumi.get(self, "kind")
149
+
150
+ @kind.setter
151
+ def kind(self, value: Optional[pulumi.Input[str]]):
152
+ pulumi.set(self, "kind", value)
153
+
154
+
155
+ class WebAppDiagnosticLogsConfigurationSlot(pulumi.CustomResource):
156
+ @overload
157
+ def __init__(__self__,
158
+ resource_name: str,
159
+ opts: Optional[pulumi.ResourceOptions] = None,
160
+ application_logs: Optional[pulumi.Input[Union['ApplicationLogsConfigArgs', 'ApplicationLogsConfigArgsDict']]] = None,
161
+ detailed_error_messages: Optional[pulumi.Input[Union['EnabledConfigArgs', 'EnabledConfigArgsDict']]] = None,
162
+ failed_requests_tracing: Optional[pulumi.Input[Union['EnabledConfigArgs', 'EnabledConfigArgsDict']]] = None,
163
+ http_logs: Optional[pulumi.Input[Union['HttpLogsConfigArgs', 'HttpLogsConfigArgsDict']]] = None,
164
+ kind: Optional[pulumi.Input[str]] = None,
165
+ name: Optional[pulumi.Input[str]] = None,
166
+ resource_group_name: Optional[pulumi.Input[str]] = None,
167
+ slot: Optional[pulumi.Input[str]] = None,
168
+ __props__=None):
169
+ """
170
+ Configuration of App Service site logs.
171
+
172
+ :param str resource_name: The name of the resource.
173
+ :param pulumi.ResourceOptions opts: Options for the resource.
174
+ :param pulumi.Input[Union['ApplicationLogsConfigArgs', 'ApplicationLogsConfigArgsDict']] application_logs: Application logs configuration.
175
+ :param pulumi.Input[Union['EnabledConfigArgs', 'EnabledConfigArgsDict']] detailed_error_messages: Detailed error messages configuration.
176
+ :param pulumi.Input[Union['EnabledConfigArgs', 'EnabledConfigArgsDict']] failed_requests_tracing: Failed requests tracing configuration.
177
+ :param pulumi.Input[Union['HttpLogsConfigArgs', 'HttpLogsConfigArgsDict']] http_logs: HTTP logs configuration.
178
+ :param pulumi.Input[str] kind: Kind of resource.
179
+ :param pulumi.Input[str] name: Name of the app.
180
+ :param pulumi.Input[str] resource_group_name: Name of the resource group to which the resource belongs.
181
+ :param pulumi.Input[str] slot: Name of the deployment slot. If a slot is not specified, the API will update the logging configuration for the production slot.
182
+ """
183
+ ...
184
+ @overload
185
+ def __init__(__self__,
186
+ resource_name: str,
187
+ args: WebAppDiagnosticLogsConfigurationSlotArgs,
188
+ opts: Optional[pulumi.ResourceOptions] = None):
189
+ """
190
+ Configuration of App Service site logs.
191
+
192
+ :param str resource_name: The name of the resource.
193
+ :param WebAppDiagnosticLogsConfigurationSlotArgs args: The arguments to use to populate this resource's properties.
194
+ :param pulumi.ResourceOptions opts: Options for the resource.
195
+ """
196
+ ...
197
+ def __init__(__self__, resource_name: str, *args, **kwargs):
198
+ resource_args, opts = _utilities.get_resource_args_opts(WebAppDiagnosticLogsConfigurationSlotArgs, pulumi.ResourceOptions, *args, **kwargs)
199
+ if resource_args is not None:
200
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
201
+ else:
202
+ __self__._internal_init(resource_name, *args, **kwargs)
203
+
204
+ def _internal_init(__self__,
205
+ resource_name: str,
206
+ opts: Optional[pulumi.ResourceOptions] = None,
207
+ application_logs: Optional[pulumi.Input[Union['ApplicationLogsConfigArgs', 'ApplicationLogsConfigArgsDict']]] = None,
208
+ detailed_error_messages: Optional[pulumi.Input[Union['EnabledConfigArgs', 'EnabledConfigArgsDict']]] = None,
209
+ failed_requests_tracing: Optional[pulumi.Input[Union['EnabledConfigArgs', 'EnabledConfigArgsDict']]] = None,
210
+ http_logs: Optional[pulumi.Input[Union['HttpLogsConfigArgs', 'HttpLogsConfigArgsDict']]] = None,
211
+ kind: Optional[pulumi.Input[str]] = None,
212
+ name: Optional[pulumi.Input[str]] = None,
213
+ resource_group_name: Optional[pulumi.Input[str]] = None,
214
+ slot: Optional[pulumi.Input[str]] = None,
215
+ __props__=None):
216
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
217
+ if not isinstance(opts, pulumi.ResourceOptions):
218
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
219
+ if opts.id is None:
220
+ if __props__ is not None:
221
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
222
+ __props__ = WebAppDiagnosticLogsConfigurationSlotArgs.__new__(WebAppDiagnosticLogsConfigurationSlotArgs)
223
+
224
+ __props__.__dict__["application_logs"] = application_logs
225
+ __props__.__dict__["detailed_error_messages"] = detailed_error_messages
226
+ __props__.__dict__["failed_requests_tracing"] = failed_requests_tracing
227
+ __props__.__dict__["http_logs"] = http_logs
228
+ __props__.__dict__["kind"] = kind
229
+ if name is None and not opts.urn:
230
+ raise TypeError("Missing required property 'name'")
231
+ __props__.__dict__["name"] = name
232
+ if resource_group_name is None and not opts.urn:
233
+ raise TypeError("Missing required property 'resource_group_name'")
234
+ __props__.__dict__["resource_group_name"] = resource_group_name
235
+ if slot is None and not opts.urn:
236
+ raise TypeError("Missing required property 'slot'")
237
+ __props__.__dict__["slot"] = slot
238
+ __props__.__dict__["system_data"] = None
239
+ __props__.__dict__["type"] = None
240
+ alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:web:WebAppDiagnosticLogsConfigurationSlot"), pulumi.Alias(type_="azure-native:web/v20150801:WebAppDiagnosticLogsConfigurationSlot"), pulumi.Alias(type_="azure-native:web/v20160801:WebAppDiagnosticLogsConfigurationSlot"), pulumi.Alias(type_="azure-native:web/v20180201:WebAppDiagnosticLogsConfigurationSlot"), pulumi.Alias(type_="azure-native:web/v20181101:WebAppDiagnosticLogsConfigurationSlot"), pulumi.Alias(type_="azure-native:web/v20190801:WebAppDiagnosticLogsConfigurationSlot"), pulumi.Alias(type_="azure-native:web/v20200601:WebAppDiagnosticLogsConfigurationSlot"), pulumi.Alias(type_="azure-native:web/v20200901:WebAppDiagnosticLogsConfigurationSlot"), pulumi.Alias(type_="azure-native:web/v20201201:WebAppDiagnosticLogsConfigurationSlot"), pulumi.Alias(type_="azure-native:web/v20210101:WebAppDiagnosticLogsConfigurationSlot"), pulumi.Alias(type_="azure-native:web/v20210115:WebAppDiagnosticLogsConfigurationSlot"), pulumi.Alias(type_="azure-native:web/v20210201:WebAppDiagnosticLogsConfigurationSlot"), pulumi.Alias(type_="azure-native:web/v20210301:WebAppDiagnosticLogsConfigurationSlot"), pulumi.Alias(type_="azure-native:web/v20220301:WebAppDiagnosticLogsConfigurationSlot"), pulumi.Alias(type_="azure-native:web/v20220901:WebAppDiagnosticLogsConfigurationSlot"), pulumi.Alias(type_="azure-native:web/v20230101:WebAppDiagnosticLogsConfigurationSlot"), pulumi.Alias(type_="azure-native:web/v20231201:WebAppDiagnosticLogsConfigurationSlot")])
241
+ opts = pulumi.ResourceOptions.merge(opts, alias_opts)
242
+ super(WebAppDiagnosticLogsConfigurationSlot, __self__).__init__(
243
+ 'azure-native:web/v20201001:WebAppDiagnosticLogsConfigurationSlot',
244
+ resource_name,
245
+ __props__,
246
+ opts)
247
+
248
+ @staticmethod
249
+ def get(resource_name: str,
250
+ id: pulumi.Input[str],
251
+ opts: Optional[pulumi.ResourceOptions] = None) -> 'WebAppDiagnosticLogsConfigurationSlot':
252
+ """
253
+ Get an existing WebAppDiagnosticLogsConfigurationSlot resource's state with the given name, id, and optional extra
254
+ properties used to qualify the lookup.
255
+
256
+ :param str resource_name: The unique name of the resulting resource.
257
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
258
+ :param pulumi.ResourceOptions opts: Options for the resource.
259
+ """
260
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
261
+
262
+ __props__ = WebAppDiagnosticLogsConfigurationSlotArgs.__new__(WebAppDiagnosticLogsConfigurationSlotArgs)
263
+
264
+ __props__.__dict__["application_logs"] = None
265
+ __props__.__dict__["detailed_error_messages"] = None
266
+ __props__.__dict__["failed_requests_tracing"] = None
267
+ __props__.__dict__["http_logs"] = None
268
+ __props__.__dict__["kind"] = None
269
+ __props__.__dict__["name"] = None
270
+ __props__.__dict__["system_data"] = None
271
+ __props__.__dict__["type"] = None
272
+ return WebAppDiagnosticLogsConfigurationSlot(resource_name, opts=opts, __props__=__props__)
273
+
274
+ @property
275
+ @pulumi.getter(name="applicationLogs")
276
+ def application_logs(self) -> pulumi.Output[Optional['outputs.ApplicationLogsConfigResponse']]:
277
+ """
278
+ Application logs configuration.
279
+ """
280
+ return pulumi.get(self, "application_logs")
281
+
282
+ @property
283
+ @pulumi.getter(name="detailedErrorMessages")
284
+ def detailed_error_messages(self) -> pulumi.Output[Optional['outputs.EnabledConfigResponse']]:
285
+ """
286
+ Detailed error messages configuration.
287
+ """
288
+ return pulumi.get(self, "detailed_error_messages")
289
+
290
+ @property
291
+ @pulumi.getter(name="failedRequestsTracing")
292
+ def failed_requests_tracing(self) -> pulumi.Output[Optional['outputs.EnabledConfigResponse']]:
293
+ """
294
+ Failed requests tracing configuration.
295
+ """
296
+ return pulumi.get(self, "failed_requests_tracing")
297
+
298
+ @property
299
+ @pulumi.getter(name="httpLogs")
300
+ def http_logs(self) -> pulumi.Output[Optional['outputs.HttpLogsConfigResponse']]:
301
+ """
302
+ HTTP logs configuration.
303
+ """
304
+ return pulumi.get(self, "http_logs")
305
+
306
+ @property
307
+ @pulumi.getter
308
+ def kind(self) -> pulumi.Output[Optional[str]]:
309
+ """
310
+ Kind of resource.
311
+ """
312
+ return pulumi.get(self, "kind")
313
+
314
+ @property
315
+ @pulumi.getter
316
+ def name(self) -> pulumi.Output[str]:
317
+ """
318
+ Resource Name.
319
+ """
320
+ return pulumi.get(self, "name")
321
+
322
+ @property
323
+ @pulumi.getter(name="systemData")
324
+ def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']:
325
+ """
326
+ The system metadata relating to this resource.
327
+ """
328
+ return pulumi.get(self, "system_data")
329
+
330
+ @property
331
+ @pulumi.getter
332
+ def type(self) -> pulumi.Output[str]:
333
+ """
334
+ Resource type.
335
+ """
336
+ return pulumi.get(self, "type")
337
+
@@ -5,9 +5,17 @@
5
5
  from ... import _utilities
6
6
  import typing
7
7
  # Export this package's modules as members:
8
+ from ._enums import *
9
+ from .get_web_app_diagnostic_logs_configuration_slot import *
8
10
  from .get_web_app_ftp_allowed import *
11
+ from .get_web_app_ftp_allowed_slot import *
9
12
  from .get_web_app_scm_allowed import *
13
+ from .get_web_app_scm_allowed_slot import *
10
14
  from .list_site_identifiers_assigned_to_host_name import *
15
+ from .web_app_diagnostic_logs_configuration_slot import *
11
16
  from .web_app_ftp_allowed import *
17
+ from .web_app_ftp_allowed_slot import *
12
18
  from .web_app_scm_allowed import *
19
+ from .web_app_scm_allowed_slot import *
20
+ from ._inputs import *
13
21
  from . import outputs
@@ -0,0 +1,20 @@
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
+ from enum import Enum
6
+
7
+ __all__ = [
8
+ 'LogLevel',
9
+ ]
10
+
11
+
12
+ class LogLevel(str, Enum):
13
+ """
14
+ Log level.
15
+ """
16
+ OFF = "Off"
17
+ VERBOSE = "Verbose"
18
+ INFORMATION = "Information"
19
+ WARNING = "Warning"
20
+ ERROR = "Error"