pulumi-azure-native 2.54.0a1723136521__py3-none-any.whl → 2.55.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of pulumi-azure-native might be problematic. Click here for more details.

Files changed (177) hide show
  1. pulumi_azure_native/__init__.py +60 -6
  2. pulumi_azure_native/documentdb/__init__.py +3 -0
  3. pulumi_azure_native/documentdb/firewall_rule.py +5 -1
  4. pulumi_azure_native/documentdb/get_firewall_rule.py +4 -0
  5. pulumi_azure_native/documentdb/get_mongo_cluster.py +2 -2
  6. pulumi_azure_native/documentdb/get_private_endpoint_connection.py +2 -2
  7. pulumi_azure_native/documentdb/list_mongo_cluster_connection_strings.py +2 -2
  8. pulumi_azure_native/documentdb/mongo_cluster.py +3 -3
  9. pulumi_azure_native/documentdb/mongo_cluster_firewall_rule.py +1 -1
  10. pulumi_azure_native/documentdb/private_endpoint_connection.py +2 -2
  11. pulumi_azure_native/documentdb/v20230315preview/mongo_cluster.py +1 -1
  12. pulumi_azure_native/documentdb/v20230315preview/mongo_cluster_firewall_rule.py +1 -1
  13. pulumi_azure_native/documentdb/v20230915preview/mongo_cluster.py +1 -1
  14. pulumi_azure_native/documentdb/v20230915preview/mongo_cluster_firewall_rule.py +1 -1
  15. pulumi_azure_native/documentdb/v20231115preview/mongo_cluster.py +1 -1
  16. pulumi_azure_native/documentdb/v20231115preview/mongo_cluster_firewall_rule.py +1 -1
  17. pulumi_azure_native/documentdb/v20240215preview/mongo_cluster.py +1 -1
  18. pulumi_azure_native/documentdb/v20240215preview/mongo_cluster_firewall_rule.py +1 -1
  19. pulumi_azure_native/documentdb/v20240301preview/firewall_rule.py +1 -1
  20. pulumi_azure_native/documentdb/v20240301preview/mongo_cluster.py +1 -1
  21. pulumi_azure_native/documentdb/v20240301preview/private_endpoint_connection.py +2 -0
  22. pulumi_azure_native/documentdb/v20240601preview/__init__.py +17 -0
  23. pulumi_azure_native/documentdb/v20240601preview/_enums.py +78 -0
  24. pulumi_azure_native/documentdb/v20240601preview/_inputs.py +332 -0
  25. pulumi_azure_native/documentdb/v20240601preview/firewall_rule.py +260 -0
  26. pulumi_azure_native/documentdb/v20240601preview/get_firewall_rule.py +167 -0
  27. pulumi_azure_native/documentdb/v20240601preview/get_mongo_cluster.py +305 -0
  28. pulumi_azure_native/documentdb/v20240601preview/get_private_endpoint_connection.py +180 -0
  29. pulumi_azure_native/documentdb/v20240601preview/list_mongo_cluster_connection_strings.py +84 -0
  30. pulumi_azure_native/documentdb/v20240601preview/mongo_cluster.py +524 -0
  31. pulumi_azure_native/documentdb/v20240601preview/outputs.py +537 -0
  32. pulumi_azure_native/documentdb/v20240601preview/private_endpoint_connection.py +252 -0
  33. pulumi_azure_native/machinelearningservices/v20240401preview/outputs.py +55 -11
  34. pulumi_azure_native/machinelearningservices/v20240701preview/_inputs.py +10 -10
  35. pulumi_azure_native/machinelearningservices/v20240701preview/outputs.py +60 -18
  36. pulumi_azure_native/monitor/_enums.py +6 -2
  37. pulumi_azure_native/monitor/_inputs.py +56 -56
  38. pulumi_azure_native/monitor/get_pipeline_group.py +1 -1
  39. pulumi_azure_native/monitor/outputs.py +34 -34
  40. pulumi_azure_native/monitor/pipeline_group.py +8 -8
  41. pulumi_azure_native/monitor/v20231001preview/_enums.py +6 -2
  42. pulumi_azure_native/monitor/v20231001preview/_inputs.py +56 -56
  43. pulumi_azure_native/monitor/v20231001preview/get_pipeline_group.py +1 -1
  44. pulumi_azure_native/monitor/v20231001preview/outputs.py +34 -34
  45. pulumi_azure_native/monitor/v20231001preview/pipeline_group.py +8 -8
  46. pulumi_azure_native/pulumi-plugin.json +1 -1
  47. pulumi_azure_native/web/__init__.py +6 -0
  48. pulumi_azure_native/web/get_web_app_diagnostic_logs_configuration_slot.py +186 -0
  49. pulumi_azure_native/web/get_web_app_ftp_allowed_slot.py +144 -0
  50. pulumi_azure_native/web/get_web_app_scm_allowed_slot.py +144 -0
  51. pulumi_azure_native/web/v20160801/__init__.py +2 -0
  52. pulumi_azure_native/web/v20160801/_enums.py +12 -0
  53. pulumi_azure_native/web/v20160801/_inputs.py +529 -0
  54. pulumi_azure_native/web/v20160801/get_web_app_diagnostic_logs_configuration_slot.py +180 -0
  55. pulumi_azure_native/web/v20160801/outputs.py +443 -0
  56. pulumi_azure_native/web/v20160801/web_app_diagnostic_logs_configuration_slot.py +327 -0
  57. pulumi_azure_native/web/v20180201/__init__.py +4 -0
  58. pulumi_azure_native/web/v20180201/_enums.py +20 -0
  59. pulumi_azure_native/web/v20180201/_inputs.py +551 -0
  60. pulumi_azure_native/web/v20180201/get_web_app_diagnostic_logs_configuration_slot.py +180 -0
  61. pulumi_azure_native/web/v20180201/outputs.py +445 -0
  62. pulumi_azure_native/web/v20180201/web_app_diagnostic_logs_configuration_slot.py +327 -0
  63. pulumi_azure_native/web/v20181101/__init__.py +2 -0
  64. pulumi_azure_native/web/v20181101/_enums.py +12 -0
  65. pulumi_azure_native/web/v20181101/_inputs.py +529 -0
  66. pulumi_azure_native/web/v20181101/get_web_app_diagnostic_logs_configuration_slot.py +180 -0
  67. pulumi_azure_native/web/v20181101/outputs.py +443 -0
  68. pulumi_azure_native/web/v20181101/web_app_diagnostic_logs_configuration_slot.py +327 -0
  69. pulumi_azure_native/web/v20190801/__init__.py +2 -0
  70. pulumi_azure_native/web/v20190801/_enums.py +12 -0
  71. pulumi_azure_native/web/v20190801/_inputs.py +529 -0
  72. pulumi_azure_native/web/v20190801/get_web_app_diagnostic_logs_configuration_slot.py +180 -0
  73. pulumi_azure_native/web/v20190801/outputs.py +444 -0
  74. pulumi_azure_native/web/v20190801/web_app_diagnostic_logs_configuration_slot.py +327 -0
  75. pulumi_azure_native/web/v20200601/__init__.py +4 -0
  76. pulumi_azure_native/web/v20200601/_enums.py +20 -0
  77. pulumi_azure_native/web/v20200601/_inputs.py +551 -0
  78. pulumi_azure_native/web/v20200601/get_web_app_diagnostic_logs_configuration_slot.py +180 -0
  79. pulumi_azure_native/web/v20200601/outputs.py +445 -0
  80. pulumi_azure_native/web/v20200601/web_app_diagnostic_logs_configuration_slot.py +327 -0
  81. pulumi_azure_native/web/v20200901/__init__.py +4 -0
  82. pulumi_azure_native/web/v20200901/_enums.py +20 -0
  83. pulumi_azure_native/web/v20200901/_inputs.py +551 -0
  84. pulumi_azure_native/web/v20200901/get_web_app_diagnostic_logs_configuration_slot.py +193 -0
  85. pulumi_azure_native/web/v20200901/outputs.py +444 -0
  86. pulumi_azure_native/web/v20200901/web_app_diagnostic_logs_configuration_slot.py +337 -0
  87. pulumi_azure_native/web/v20201001/__init__.py +2 -0
  88. pulumi_azure_native/web/v20201001/get_web_app_diagnostic_logs_configuration_slot.py +193 -0
  89. pulumi_azure_native/web/v20201001/web_app_diagnostic_logs_configuration_slot.py +337 -0
  90. pulumi_azure_native/web/v20201201/__init__.py +8 -0
  91. pulumi_azure_native/web/v20201201/_enums.py +20 -0
  92. pulumi_azure_native/web/v20201201/_inputs.py +551 -0
  93. pulumi_azure_native/web/v20201201/get_web_app_diagnostic_logs_configuration_slot.py +180 -0
  94. pulumi_azure_native/web/v20201201/get_web_app_ftp_allowed_slot.py +138 -0
  95. pulumi_azure_native/web/v20201201/get_web_app_scm_allowed_slot.py +138 -0
  96. pulumi_azure_native/web/v20201201/outputs.py +445 -0
  97. pulumi_azure_native/web/v20201201/web_app_diagnostic_logs_configuration_slot.py +327 -0
  98. pulumi_azure_native/web/v20201201/web_app_ftp_allowed_slot.py +233 -0
  99. pulumi_azure_native/web/v20201201/web_app_scm_allowed_slot.py +233 -0
  100. pulumi_azure_native/web/v20210101/__init__.py +8 -0
  101. pulumi_azure_native/web/v20210101/_enums.py +20 -0
  102. pulumi_azure_native/web/v20210101/_inputs.py +551 -0
  103. pulumi_azure_native/web/v20210101/get_web_app_diagnostic_logs_configuration_slot.py +180 -0
  104. pulumi_azure_native/web/v20210101/get_web_app_ftp_allowed_slot.py +138 -0
  105. pulumi_azure_native/web/v20210101/get_web_app_scm_allowed_slot.py +138 -0
  106. pulumi_azure_native/web/v20210101/outputs.py +445 -0
  107. pulumi_azure_native/web/v20210101/web_app_diagnostic_logs_configuration_slot.py +327 -0
  108. pulumi_azure_native/web/v20210101/web_app_ftp_allowed_slot.py +233 -0
  109. pulumi_azure_native/web/v20210101/web_app_scm_allowed_slot.py +233 -0
  110. pulumi_azure_native/web/v20210115/__init__.py +6 -0
  111. pulumi_azure_native/web/v20210115/_enums.py +12 -0
  112. pulumi_azure_native/web/v20210115/_inputs.py +529 -0
  113. pulumi_azure_native/web/v20210115/get_web_app_diagnostic_logs_configuration_slot.py +180 -0
  114. pulumi_azure_native/web/v20210115/get_web_app_ftp_allowed_slot.py +138 -0
  115. pulumi_azure_native/web/v20210115/get_web_app_scm_allowed_slot.py +138 -0
  116. pulumi_azure_native/web/v20210115/outputs.py +444 -0
  117. pulumi_azure_native/web/v20210115/web_app_diagnostic_logs_configuration_slot.py +327 -0
  118. pulumi_azure_native/web/v20210115/web_app_ftp_allowed_slot.py +233 -0
  119. pulumi_azure_native/web/v20210115/web_app_scm_allowed_slot.py +233 -0
  120. pulumi_azure_native/web/v20210201/__init__.py +6 -0
  121. pulumi_azure_native/web/v20210201/_enums.py +12 -0
  122. pulumi_azure_native/web/v20210201/_inputs.py +529 -0
  123. pulumi_azure_native/web/v20210201/get_web_app_diagnostic_logs_configuration_slot.py +180 -0
  124. pulumi_azure_native/web/v20210201/get_web_app_ftp_allowed_slot.py +138 -0
  125. pulumi_azure_native/web/v20210201/get_web_app_scm_allowed_slot.py +138 -0
  126. pulumi_azure_native/web/v20210201/outputs.py +443 -0
  127. pulumi_azure_native/web/v20210201/web_app_diagnostic_logs_configuration_slot.py +327 -0
  128. pulumi_azure_native/web/v20210201/web_app_ftp_allowed_slot.py +233 -0
  129. pulumi_azure_native/web/v20210201/web_app_scm_allowed_slot.py +233 -0
  130. pulumi_azure_native/web/v20210301/__init__.py +8 -0
  131. pulumi_azure_native/web/v20210301/_enums.py +20 -0
  132. pulumi_azure_native/web/v20210301/_inputs.py +551 -0
  133. pulumi_azure_native/web/v20210301/get_web_app_diagnostic_logs_configuration_slot.py +180 -0
  134. pulumi_azure_native/web/v20210301/get_web_app_ftp_allowed_slot.py +138 -0
  135. pulumi_azure_native/web/v20210301/get_web_app_scm_allowed_slot.py +138 -0
  136. pulumi_azure_native/web/v20210301/outputs.py +445 -0
  137. pulumi_azure_native/web/v20210301/web_app_diagnostic_logs_configuration_slot.py +327 -0
  138. pulumi_azure_native/web/v20210301/web_app_ftp_allowed_slot.py +233 -0
  139. pulumi_azure_native/web/v20210301/web_app_scm_allowed_slot.py +233 -0
  140. pulumi_azure_native/web/v20220301/__init__.py +8 -0
  141. pulumi_azure_native/web/v20220301/_enums.py +20 -0
  142. pulumi_azure_native/web/v20220301/_inputs.py +551 -0
  143. pulumi_azure_native/web/v20220301/get_web_app_diagnostic_logs_configuration_slot.py +180 -0
  144. pulumi_azure_native/web/v20220301/get_web_app_ftp_allowed_slot.py +138 -0
  145. pulumi_azure_native/web/v20220301/get_web_app_scm_allowed_slot.py +138 -0
  146. pulumi_azure_native/web/v20220301/outputs.py +445 -0
  147. pulumi_azure_native/web/v20220301/web_app_diagnostic_logs_configuration_slot.py +327 -0
  148. pulumi_azure_native/web/v20220301/web_app_ftp_allowed_slot.py +233 -0
  149. pulumi_azure_native/web/v20220301/web_app_scm_allowed_slot.py +233 -0
  150. pulumi_azure_native/web/v20220901/__init__.py +6 -0
  151. pulumi_azure_native/web/v20220901/get_web_app_diagnostic_logs_configuration_slot.py +180 -0
  152. pulumi_azure_native/web/v20220901/get_web_app_ftp_allowed_slot.py +138 -0
  153. pulumi_azure_native/web/v20220901/get_web_app_scm_allowed_slot.py +138 -0
  154. pulumi_azure_native/web/v20220901/web_app_diagnostic_logs_configuration_slot.py +327 -0
  155. pulumi_azure_native/web/v20220901/web_app_ftp_allowed_slot.py +233 -0
  156. pulumi_azure_native/web/v20220901/web_app_scm_allowed_slot.py +233 -0
  157. pulumi_azure_native/web/v20230101/__init__.py +6 -0
  158. pulumi_azure_native/web/v20230101/get_web_app_diagnostic_logs_configuration_slot.py +180 -0
  159. pulumi_azure_native/web/v20230101/get_web_app_ftp_allowed_slot.py +138 -0
  160. pulumi_azure_native/web/v20230101/get_web_app_scm_allowed_slot.py +138 -0
  161. pulumi_azure_native/web/v20230101/web_app_diagnostic_logs_configuration_slot.py +327 -0
  162. pulumi_azure_native/web/v20230101/web_app_ftp_allowed_slot.py +233 -0
  163. pulumi_azure_native/web/v20230101/web_app_scm_allowed_slot.py +233 -0
  164. pulumi_azure_native/web/v20231201/__init__.py +6 -0
  165. pulumi_azure_native/web/v20231201/get_web_app_diagnostic_logs_configuration_slot.py +180 -0
  166. pulumi_azure_native/web/v20231201/get_web_app_ftp_allowed_slot.py +138 -0
  167. pulumi_azure_native/web/v20231201/get_web_app_scm_allowed_slot.py +138 -0
  168. pulumi_azure_native/web/v20231201/web_app_diagnostic_logs_configuration_slot.py +327 -0
  169. pulumi_azure_native/web/v20231201/web_app_ftp_allowed_slot.py +233 -0
  170. pulumi_azure_native/web/v20231201/web_app_scm_allowed_slot.py +233 -0
  171. pulumi_azure_native/web/web_app_diagnostic_logs_configuration_slot.py +333 -0
  172. pulumi_azure_native/web/web_app_ftp_allowed_slot.py +239 -0
  173. pulumi_azure_native/web/web_app_scm_allowed_slot.py +239 -0
  174. {pulumi_azure_native-2.54.0a1723136521.dist-info → pulumi_azure_native-2.55.0.dist-info}/METADATA +1 -1
  175. {pulumi_azure_native-2.54.0a1723136521.dist-info → pulumi_azure_native-2.55.0.dist-info}/RECORD +177 -78
  176. {pulumi_azure_native-2.54.0a1723136521.dist-info → pulumi_azure_native-2.55.0.dist-info}/WHEEL +0 -0
  177. {pulumi_azure_native-2.54.0a1723136521.dist-info → pulumi_azure_native-2.55.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,180 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import copy
6
+ import warnings
7
+ import sys
8
+ import pulumi
9
+ import pulumi.runtime
10
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
15
+ from ... import _utilities
16
+ from . import outputs
17
+
18
+ __all__ = [
19
+ 'GetWebAppDiagnosticLogsConfigurationSlotResult',
20
+ 'AwaitableGetWebAppDiagnosticLogsConfigurationSlotResult',
21
+ 'get_web_app_diagnostic_logs_configuration_slot',
22
+ 'get_web_app_diagnostic_logs_configuration_slot_output',
23
+ ]
24
+
25
+ @pulumi.output_type
26
+ class GetWebAppDiagnosticLogsConfigurationSlotResult:
27
+ """
28
+ Configuration of App Service site logs.
29
+ """
30
+ def __init__(__self__, application_logs=None, detailed_error_messages=None, failed_requests_tracing=None, http_logs=None, id=None, kind=None, name=None, type=None):
31
+ if application_logs and not isinstance(application_logs, dict):
32
+ raise TypeError("Expected argument 'application_logs' to be a dict")
33
+ pulumi.set(__self__, "application_logs", application_logs)
34
+ if detailed_error_messages and not isinstance(detailed_error_messages, dict):
35
+ raise TypeError("Expected argument 'detailed_error_messages' to be a dict")
36
+ pulumi.set(__self__, "detailed_error_messages", detailed_error_messages)
37
+ if failed_requests_tracing and not isinstance(failed_requests_tracing, dict):
38
+ raise TypeError("Expected argument 'failed_requests_tracing' to be a dict")
39
+ pulumi.set(__self__, "failed_requests_tracing", failed_requests_tracing)
40
+ if http_logs and not isinstance(http_logs, dict):
41
+ raise TypeError("Expected argument 'http_logs' to be a dict")
42
+ pulumi.set(__self__, "http_logs", http_logs)
43
+ if id and not isinstance(id, str):
44
+ raise TypeError("Expected argument 'id' to be a str")
45
+ pulumi.set(__self__, "id", id)
46
+ if kind and not isinstance(kind, str):
47
+ raise TypeError("Expected argument 'kind' to be a str")
48
+ pulumi.set(__self__, "kind", kind)
49
+ if name and not isinstance(name, str):
50
+ raise TypeError("Expected argument 'name' to be a str")
51
+ pulumi.set(__self__, "name", name)
52
+ if type and not isinstance(type, str):
53
+ raise TypeError("Expected argument 'type' to be a str")
54
+ pulumi.set(__self__, "type", type)
55
+
56
+ @property
57
+ @pulumi.getter(name="applicationLogs")
58
+ def application_logs(self) -> Optional['outputs.ApplicationLogsConfigResponse']:
59
+ """
60
+ Application logs configuration.
61
+ """
62
+ return pulumi.get(self, "application_logs")
63
+
64
+ @property
65
+ @pulumi.getter(name="detailedErrorMessages")
66
+ def detailed_error_messages(self) -> Optional['outputs.EnabledConfigResponse']:
67
+ """
68
+ Detailed error messages configuration.
69
+ """
70
+ return pulumi.get(self, "detailed_error_messages")
71
+
72
+ @property
73
+ @pulumi.getter(name="failedRequestsTracing")
74
+ def failed_requests_tracing(self) -> Optional['outputs.EnabledConfigResponse']:
75
+ """
76
+ Failed requests tracing configuration.
77
+ """
78
+ return pulumi.get(self, "failed_requests_tracing")
79
+
80
+ @property
81
+ @pulumi.getter(name="httpLogs")
82
+ def http_logs(self) -> Optional['outputs.HttpLogsConfigResponse']:
83
+ """
84
+ HTTP logs configuration.
85
+ """
86
+ return pulumi.get(self, "http_logs")
87
+
88
+ @property
89
+ @pulumi.getter
90
+ def id(self) -> str:
91
+ """
92
+ Resource Id.
93
+ """
94
+ return pulumi.get(self, "id")
95
+
96
+ @property
97
+ @pulumi.getter
98
+ def kind(self) -> Optional[str]:
99
+ """
100
+ Kind of resource.
101
+ """
102
+ return pulumi.get(self, "kind")
103
+
104
+ @property
105
+ @pulumi.getter
106
+ def name(self) -> str:
107
+ """
108
+ Resource Name.
109
+ """
110
+ return pulumi.get(self, "name")
111
+
112
+ @property
113
+ @pulumi.getter
114
+ def type(self) -> str:
115
+ """
116
+ Resource type.
117
+ """
118
+ return pulumi.get(self, "type")
119
+
120
+
121
+ class AwaitableGetWebAppDiagnosticLogsConfigurationSlotResult(GetWebAppDiagnosticLogsConfigurationSlotResult):
122
+ # pylint: disable=using-constant-test
123
+ def __await__(self):
124
+ if False:
125
+ yield self
126
+ return GetWebAppDiagnosticLogsConfigurationSlotResult(
127
+ application_logs=self.application_logs,
128
+ detailed_error_messages=self.detailed_error_messages,
129
+ failed_requests_tracing=self.failed_requests_tracing,
130
+ http_logs=self.http_logs,
131
+ id=self.id,
132
+ kind=self.kind,
133
+ name=self.name,
134
+ type=self.type)
135
+
136
+
137
+ def get_web_app_diagnostic_logs_configuration_slot(name: Optional[str] = None,
138
+ resource_group_name: Optional[str] = None,
139
+ slot: Optional[str] = None,
140
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetWebAppDiagnosticLogsConfigurationSlotResult:
141
+ """
142
+ Gets the logging configuration of an app.
143
+
144
+
145
+ :param str name: Name of the app.
146
+ :param str resource_group_name: Name of the resource group to which the resource belongs.
147
+ :param str slot: Name of the deployment slot. If a slot is not specified, the API will get the logging configuration for the production slot.
148
+ """
149
+ __args__ = dict()
150
+ __args__['name'] = name
151
+ __args__['resourceGroupName'] = resource_group_name
152
+ __args__['slot'] = slot
153
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
154
+ __ret__ = pulumi.runtime.invoke('azure-native:web/v20201201:getWebAppDiagnosticLogsConfigurationSlot', __args__, opts=opts, typ=GetWebAppDiagnosticLogsConfigurationSlotResult).value
155
+
156
+ return AwaitableGetWebAppDiagnosticLogsConfigurationSlotResult(
157
+ application_logs=pulumi.get(__ret__, 'application_logs'),
158
+ detailed_error_messages=pulumi.get(__ret__, 'detailed_error_messages'),
159
+ failed_requests_tracing=pulumi.get(__ret__, 'failed_requests_tracing'),
160
+ http_logs=pulumi.get(__ret__, 'http_logs'),
161
+ id=pulumi.get(__ret__, 'id'),
162
+ kind=pulumi.get(__ret__, 'kind'),
163
+ name=pulumi.get(__ret__, 'name'),
164
+ type=pulumi.get(__ret__, 'type'))
165
+
166
+
167
+ @_utilities.lift_output_func(get_web_app_diagnostic_logs_configuration_slot)
168
+ def get_web_app_diagnostic_logs_configuration_slot_output(name: Optional[pulumi.Input[str]] = None,
169
+ resource_group_name: Optional[pulumi.Input[str]] = None,
170
+ slot: Optional[pulumi.Input[str]] = None,
171
+ opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetWebAppDiagnosticLogsConfigurationSlotResult]:
172
+ """
173
+ Gets the logging configuration of an app.
174
+
175
+
176
+ :param str name: Name of the app.
177
+ :param str resource_group_name: Name of the resource group to which the resource belongs.
178
+ :param str slot: Name of the deployment slot. If a slot is not specified, the API will get the logging configuration for the production slot.
179
+ """
180
+ ...
@@ -0,0 +1,138 @@
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
+
17
+ __all__ = [
18
+ 'GetWebAppFtpAllowedSlotResult',
19
+ 'AwaitableGetWebAppFtpAllowedSlotResult',
20
+ 'get_web_app_ftp_allowed_slot',
21
+ 'get_web_app_ftp_allowed_slot_output',
22
+ ]
23
+
24
+ @pulumi.output_type
25
+ class GetWebAppFtpAllowedSlotResult:
26
+ """
27
+ Publishing Credentials Policies parameters.
28
+ """
29
+ def __init__(__self__, allow=None, id=None, kind=None, name=None, type=None):
30
+ if allow and not isinstance(allow, bool):
31
+ raise TypeError("Expected argument 'allow' to be a bool")
32
+ pulumi.set(__self__, "allow", allow)
33
+ if id and not isinstance(id, str):
34
+ raise TypeError("Expected argument 'id' to be a str")
35
+ pulumi.set(__self__, "id", id)
36
+ if kind and not isinstance(kind, str):
37
+ raise TypeError("Expected argument 'kind' to be a str")
38
+ pulumi.set(__self__, "kind", kind)
39
+ if name and not isinstance(name, str):
40
+ raise TypeError("Expected argument 'name' to be a str")
41
+ pulumi.set(__self__, "name", name)
42
+ if type and not isinstance(type, str):
43
+ raise TypeError("Expected argument 'type' to be a str")
44
+ pulumi.set(__self__, "type", type)
45
+
46
+ @property
47
+ @pulumi.getter
48
+ def allow(self) -> bool:
49
+ """
50
+ <code>true</code> to allow access to a publishing method; otherwise, <code>false</code>.
51
+ """
52
+ return pulumi.get(self, "allow")
53
+
54
+ @property
55
+ @pulumi.getter
56
+ def id(self) -> str:
57
+ """
58
+ Resource Id.
59
+ """
60
+ return pulumi.get(self, "id")
61
+
62
+ @property
63
+ @pulumi.getter
64
+ def kind(self) -> Optional[str]:
65
+ """
66
+ Kind of resource.
67
+ """
68
+ return pulumi.get(self, "kind")
69
+
70
+ @property
71
+ @pulumi.getter
72
+ def name(self) -> str:
73
+ """
74
+ Resource Name.
75
+ """
76
+ return pulumi.get(self, "name")
77
+
78
+ @property
79
+ @pulumi.getter
80
+ def type(self) -> str:
81
+ """
82
+ Resource type.
83
+ """
84
+ return pulumi.get(self, "type")
85
+
86
+
87
+ class AwaitableGetWebAppFtpAllowedSlotResult(GetWebAppFtpAllowedSlotResult):
88
+ # pylint: disable=using-constant-test
89
+ def __await__(self):
90
+ if False:
91
+ yield self
92
+ return GetWebAppFtpAllowedSlotResult(
93
+ allow=self.allow,
94
+ id=self.id,
95
+ kind=self.kind,
96
+ name=self.name,
97
+ type=self.type)
98
+
99
+
100
+ def get_web_app_ftp_allowed_slot(name: Optional[str] = None,
101
+ resource_group_name: Optional[str] = None,
102
+ slot: Optional[str] = None,
103
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetWebAppFtpAllowedSlotResult:
104
+ """
105
+ Returns whether FTP is allowed on the site or not.
106
+
107
+
108
+ :param str name: Name of the app.
109
+ :param str resource_group_name: Name of the resource group to which the resource belongs.
110
+ """
111
+ __args__ = dict()
112
+ __args__['name'] = name
113
+ __args__['resourceGroupName'] = resource_group_name
114
+ __args__['slot'] = slot
115
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
116
+ __ret__ = pulumi.runtime.invoke('azure-native:web/v20201201:getWebAppFtpAllowedSlot', __args__, opts=opts, typ=GetWebAppFtpAllowedSlotResult).value
117
+
118
+ return AwaitableGetWebAppFtpAllowedSlotResult(
119
+ allow=pulumi.get(__ret__, 'allow'),
120
+ id=pulumi.get(__ret__, 'id'),
121
+ kind=pulumi.get(__ret__, 'kind'),
122
+ name=pulumi.get(__ret__, 'name'),
123
+ type=pulumi.get(__ret__, 'type'))
124
+
125
+
126
+ @_utilities.lift_output_func(get_web_app_ftp_allowed_slot)
127
+ def get_web_app_ftp_allowed_slot_output(name: Optional[pulumi.Input[str]] = None,
128
+ resource_group_name: Optional[pulumi.Input[str]] = None,
129
+ slot: Optional[pulumi.Input[str]] = None,
130
+ opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetWebAppFtpAllowedSlotResult]:
131
+ """
132
+ Returns whether FTP is allowed on the site or not.
133
+
134
+
135
+ :param str name: Name of the app.
136
+ :param str resource_group_name: Name of the resource group to which the resource belongs.
137
+ """
138
+ ...
@@ -0,0 +1,138 @@
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
+
17
+ __all__ = [
18
+ 'GetWebAppScmAllowedSlotResult',
19
+ 'AwaitableGetWebAppScmAllowedSlotResult',
20
+ 'get_web_app_scm_allowed_slot',
21
+ 'get_web_app_scm_allowed_slot_output',
22
+ ]
23
+
24
+ @pulumi.output_type
25
+ class GetWebAppScmAllowedSlotResult:
26
+ """
27
+ Publishing Credentials Policies parameters.
28
+ """
29
+ def __init__(__self__, allow=None, id=None, kind=None, name=None, type=None):
30
+ if allow and not isinstance(allow, bool):
31
+ raise TypeError("Expected argument 'allow' to be a bool")
32
+ pulumi.set(__self__, "allow", allow)
33
+ if id and not isinstance(id, str):
34
+ raise TypeError("Expected argument 'id' to be a str")
35
+ pulumi.set(__self__, "id", id)
36
+ if kind and not isinstance(kind, str):
37
+ raise TypeError("Expected argument 'kind' to be a str")
38
+ pulumi.set(__self__, "kind", kind)
39
+ if name and not isinstance(name, str):
40
+ raise TypeError("Expected argument 'name' to be a str")
41
+ pulumi.set(__self__, "name", name)
42
+ if type and not isinstance(type, str):
43
+ raise TypeError("Expected argument 'type' to be a str")
44
+ pulumi.set(__self__, "type", type)
45
+
46
+ @property
47
+ @pulumi.getter
48
+ def allow(self) -> bool:
49
+ """
50
+ <code>true</code> to allow access to a publishing method; otherwise, <code>false</code>.
51
+ """
52
+ return pulumi.get(self, "allow")
53
+
54
+ @property
55
+ @pulumi.getter
56
+ def id(self) -> str:
57
+ """
58
+ Resource Id.
59
+ """
60
+ return pulumi.get(self, "id")
61
+
62
+ @property
63
+ @pulumi.getter
64
+ def kind(self) -> Optional[str]:
65
+ """
66
+ Kind of resource.
67
+ """
68
+ return pulumi.get(self, "kind")
69
+
70
+ @property
71
+ @pulumi.getter
72
+ def name(self) -> str:
73
+ """
74
+ Resource Name.
75
+ """
76
+ return pulumi.get(self, "name")
77
+
78
+ @property
79
+ @pulumi.getter
80
+ def type(self) -> str:
81
+ """
82
+ Resource type.
83
+ """
84
+ return pulumi.get(self, "type")
85
+
86
+
87
+ class AwaitableGetWebAppScmAllowedSlotResult(GetWebAppScmAllowedSlotResult):
88
+ # pylint: disable=using-constant-test
89
+ def __await__(self):
90
+ if False:
91
+ yield self
92
+ return GetWebAppScmAllowedSlotResult(
93
+ allow=self.allow,
94
+ id=self.id,
95
+ kind=self.kind,
96
+ name=self.name,
97
+ type=self.type)
98
+
99
+
100
+ def get_web_app_scm_allowed_slot(name: Optional[str] = None,
101
+ resource_group_name: Optional[str] = None,
102
+ slot: Optional[str] = None,
103
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetWebAppScmAllowedSlotResult:
104
+ """
105
+ Returns whether Scm basic auth is allowed on the site or not.
106
+
107
+
108
+ :param str name: Name of the app.
109
+ :param str resource_group_name: Name of the resource group to which the resource belongs.
110
+ """
111
+ __args__ = dict()
112
+ __args__['name'] = name
113
+ __args__['resourceGroupName'] = resource_group_name
114
+ __args__['slot'] = slot
115
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
116
+ __ret__ = pulumi.runtime.invoke('azure-native:web/v20201201:getWebAppScmAllowedSlot', __args__, opts=opts, typ=GetWebAppScmAllowedSlotResult).value
117
+
118
+ return AwaitableGetWebAppScmAllowedSlotResult(
119
+ allow=pulumi.get(__ret__, 'allow'),
120
+ id=pulumi.get(__ret__, 'id'),
121
+ kind=pulumi.get(__ret__, 'kind'),
122
+ name=pulumi.get(__ret__, 'name'),
123
+ type=pulumi.get(__ret__, 'type'))
124
+
125
+
126
+ @_utilities.lift_output_func(get_web_app_scm_allowed_slot)
127
+ def get_web_app_scm_allowed_slot_output(name: Optional[pulumi.Input[str]] = None,
128
+ resource_group_name: Optional[pulumi.Input[str]] = None,
129
+ slot: Optional[pulumi.Input[str]] = None,
130
+ opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetWebAppScmAllowedSlotResult]:
131
+ """
132
+ Returns whether Scm basic auth is allowed on the site or not.
133
+
134
+
135
+ :param str name: Name of the app.
136
+ :param str resource_group_name: Name of the resource group to which the resource belongs.
137
+ """
138
+ ...