pulumi-azure-native 2.54.0a1723128131__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.0a1723128131.dist-info → pulumi_azure_native-2.55.0.dist-info}/METADATA +1 -1
  175. {pulumi_azure_native-2.54.0a1723128131.dist-info → pulumi_azure_native-2.55.0.dist-info}/RECORD +177 -78
  176. {pulumi_azure_native-2.54.0a1723128131.dist-info → pulumi_azure_native-2.55.0.dist-info}/WHEEL +0 -0
  177. {pulumi_azure_native-2.54.0a1723128131.dist-info → pulumi_azure_native-2.55.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,233 @@
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__ = ['WebAppScmAllowedSlotArgs', 'WebAppScmAllowedSlot']
18
+
19
+ @pulumi.input_type
20
+ class WebAppScmAllowedSlotArgs:
21
+ def __init__(__self__, *,
22
+ allow: pulumi.Input[bool],
23
+ name: pulumi.Input[str],
24
+ resource_group_name: pulumi.Input[str],
25
+ slot: pulumi.Input[str],
26
+ kind: Optional[pulumi.Input[str]] = None):
27
+ """
28
+ The set of arguments for constructing a WebAppScmAllowedSlot resource.
29
+ :param pulumi.Input[bool] allow: <code>true</code> to allow access to a publishing method; otherwise, <code>false</code>.
30
+ :param pulumi.Input[str] name: Name of the app.
31
+ :param pulumi.Input[str] resource_group_name: Name of the resource group to which the resource belongs.
32
+ :param pulumi.Input[str] kind: Kind of resource.
33
+ """
34
+ pulumi.set(__self__, "allow", allow)
35
+ pulumi.set(__self__, "name", name)
36
+ pulumi.set(__self__, "resource_group_name", resource_group_name)
37
+ pulumi.set(__self__, "slot", slot)
38
+ if kind is not None:
39
+ pulumi.set(__self__, "kind", kind)
40
+
41
+ @property
42
+ @pulumi.getter
43
+ def allow(self) -> pulumi.Input[bool]:
44
+ """
45
+ <code>true</code> to allow access to a publishing method; otherwise, <code>false</code>.
46
+ """
47
+ return pulumi.get(self, "allow")
48
+
49
+ @allow.setter
50
+ def allow(self, value: pulumi.Input[bool]):
51
+ pulumi.set(self, "allow", value)
52
+
53
+ @property
54
+ @pulumi.getter
55
+ def name(self) -> pulumi.Input[str]:
56
+ """
57
+ Name of the app.
58
+ """
59
+ return pulumi.get(self, "name")
60
+
61
+ @name.setter
62
+ def name(self, value: pulumi.Input[str]):
63
+ pulumi.set(self, "name", value)
64
+
65
+ @property
66
+ @pulumi.getter(name="resourceGroupName")
67
+ def resource_group_name(self) -> pulumi.Input[str]:
68
+ """
69
+ Name of the resource group to which the resource belongs.
70
+ """
71
+ return pulumi.get(self, "resource_group_name")
72
+
73
+ @resource_group_name.setter
74
+ def resource_group_name(self, value: pulumi.Input[str]):
75
+ pulumi.set(self, "resource_group_name", value)
76
+
77
+ @property
78
+ @pulumi.getter
79
+ def slot(self) -> pulumi.Input[str]:
80
+ return pulumi.get(self, "slot")
81
+
82
+ @slot.setter
83
+ def slot(self, value: pulumi.Input[str]):
84
+ pulumi.set(self, "slot", value)
85
+
86
+ @property
87
+ @pulumi.getter
88
+ def kind(self) -> Optional[pulumi.Input[str]]:
89
+ """
90
+ Kind of resource.
91
+ """
92
+ return pulumi.get(self, "kind")
93
+
94
+ @kind.setter
95
+ def kind(self, value: Optional[pulumi.Input[str]]):
96
+ pulumi.set(self, "kind", value)
97
+
98
+
99
+ class WebAppScmAllowedSlot(pulumi.CustomResource):
100
+ @overload
101
+ def __init__(__self__,
102
+ resource_name: str,
103
+ opts: Optional[pulumi.ResourceOptions] = None,
104
+ allow: Optional[pulumi.Input[bool]] = None,
105
+ kind: Optional[pulumi.Input[str]] = None,
106
+ name: Optional[pulumi.Input[str]] = None,
107
+ resource_group_name: Optional[pulumi.Input[str]] = None,
108
+ slot: Optional[pulumi.Input[str]] = None,
109
+ __props__=None):
110
+ """
111
+ Publishing Credentials Policies parameters.
112
+
113
+ :param str resource_name: The name of the resource.
114
+ :param pulumi.ResourceOptions opts: Options for the resource.
115
+ :param pulumi.Input[bool] allow: <code>true</code> to allow access to a publishing method; otherwise, <code>false</code>.
116
+ :param pulumi.Input[str] kind: Kind of resource.
117
+ :param pulumi.Input[str] name: Name of the app.
118
+ :param pulumi.Input[str] resource_group_name: Name of the resource group to which the resource belongs.
119
+ """
120
+ ...
121
+ @overload
122
+ def __init__(__self__,
123
+ resource_name: str,
124
+ args: WebAppScmAllowedSlotArgs,
125
+ opts: Optional[pulumi.ResourceOptions] = None):
126
+ """
127
+ Publishing Credentials Policies parameters.
128
+
129
+ :param str resource_name: The name of the resource.
130
+ :param WebAppScmAllowedSlotArgs args: The arguments to use to populate this resource's properties.
131
+ :param pulumi.ResourceOptions opts: Options for the resource.
132
+ """
133
+ ...
134
+ def __init__(__self__, resource_name: str, *args, **kwargs):
135
+ resource_args, opts = _utilities.get_resource_args_opts(WebAppScmAllowedSlotArgs, pulumi.ResourceOptions, *args, **kwargs)
136
+ if resource_args is not None:
137
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
138
+ else:
139
+ __self__._internal_init(resource_name, *args, **kwargs)
140
+
141
+ def _internal_init(__self__,
142
+ resource_name: str,
143
+ opts: Optional[pulumi.ResourceOptions] = None,
144
+ allow: Optional[pulumi.Input[bool]] = None,
145
+ kind: Optional[pulumi.Input[str]] = None,
146
+ name: Optional[pulumi.Input[str]] = None,
147
+ resource_group_name: Optional[pulumi.Input[str]] = None,
148
+ slot: Optional[pulumi.Input[str]] = None,
149
+ __props__=None):
150
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
151
+ if not isinstance(opts, pulumi.ResourceOptions):
152
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
153
+ if opts.id is None:
154
+ if __props__ is not None:
155
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
156
+ __props__ = WebAppScmAllowedSlotArgs.__new__(WebAppScmAllowedSlotArgs)
157
+
158
+ if allow is None and not opts.urn:
159
+ raise TypeError("Missing required property 'allow'")
160
+ __props__.__dict__["allow"] = allow
161
+ __props__.__dict__["kind"] = kind
162
+ if name is None and not opts.urn:
163
+ raise TypeError("Missing required property 'name'")
164
+ __props__.__dict__["name"] = name
165
+ if resource_group_name is None and not opts.urn:
166
+ raise TypeError("Missing required property 'resource_group_name'")
167
+ __props__.__dict__["resource_group_name"] = resource_group_name
168
+ if slot is None and not opts.urn:
169
+ raise TypeError("Missing required property 'slot'")
170
+ __props__.__dict__["slot"] = slot
171
+ __props__.__dict__["type"] = None
172
+ alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:web:WebAppScmAllowedSlot"), pulumi.Alias(type_="azure-native:web/v20201201:WebAppScmAllowedSlot"), pulumi.Alias(type_="azure-native:web/v20210101:WebAppScmAllowedSlot"), pulumi.Alias(type_="azure-native:web/v20210115:WebAppScmAllowedSlot"), pulumi.Alias(type_="azure-native:web/v20210201:WebAppScmAllowedSlot"), pulumi.Alias(type_="azure-native:web/v20210301:WebAppScmAllowedSlot"), pulumi.Alias(type_="azure-native:web/v20220901:WebAppScmAllowedSlot"), pulumi.Alias(type_="azure-native:web/v20230101:WebAppScmAllowedSlot"), pulumi.Alias(type_="azure-native:web/v20231201:WebAppScmAllowedSlot")])
173
+ opts = pulumi.ResourceOptions.merge(opts, alias_opts)
174
+ super(WebAppScmAllowedSlot, __self__).__init__(
175
+ 'azure-native:web/v20220301:WebAppScmAllowedSlot',
176
+ resource_name,
177
+ __props__,
178
+ opts)
179
+
180
+ @staticmethod
181
+ def get(resource_name: str,
182
+ id: pulumi.Input[str],
183
+ opts: Optional[pulumi.ResourceOptions] = None) -> 'WebAppScmAllowedSlot':
184
+ """
185
+ Get an existing WebAppScmAllowedSlot resource's state with the given name, id, and optional extra
186
+ properties used to qualify the lookup.
187
+
188
+ :param str resource_name: The unique name of the resulting resource.
189
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
190
+ :param pulumi.ResourceOptions opts: Options for the resource.
191
+ """
192
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
193
+
194
+ __props__ = WebAppScmAllowedSlotArgs.__new__(WebAppScmAllowedSlotArgs)
195
+
196
+ __props__.__dict__["allow"] = None
197
+ __props__.__dict__["kind"] = None
198
+ __props__.__dict__["name"] = None
199
+ __props__.__dict__["type"] = None
200
+ return WebAppScmAllowedSlot(resource_name, opts=opts, __props__=__props__)
201
+
202
+ @property
203
+ @pulumi.getter
204
+ def allow(self) -> pulumi.Output[bool]:
205
+ """
206
+ <code>true</code> to allow access to a publishing method; otherwise, <code>false</code>.
207
+ """
208
+ return pulumi.get(self, "allow")
209
+
210
+ @property
211
+ @pulumi.getter
212
+ def kind(self) -> pulumi.Output[Optional[str]]:
213
+ """
214
+ Kind of resource.
215
+ """
216
+ return pulumi.get(self, "kind")
217
+
218
+ @property
219
+ @pulumi.getter
220
+ def name(self) -> pulumi.Output[str]:
221
+ """
222
+ Resource Name.
223
+ """
224
+ return pulumi.get(self, "name")
225
+
226
+ @property
227
+ @pulumi.getter
228
+ def type(self) -> pulumi.Output[str]:
229
+ """
230
+ Resource type.
231
+ """
232
+ return pulumi.get(self, "type")
233
+
@@ -31,9 +31,11 @@ from .get_web_app import *
31
31
  from .get_web_app_deployment import *
32
32
  from .get_web_app_deployment_slot import *
33
33
  from .get_web_app_diagnostic_logs_configuration import *
34
+ from .get_web_app_diagnostic_logs_configuration_slot import *
34
35
  from .get_web_app_domain_ownership_identifier import *
35
36
  from .get_web_app_domain_ownership_identifier_slot import *
36
37
  from .get_web_app_ftp_allowed import *
38
+ from .get_web_app_ftp_allowed_slot import *
37
39
  from .get_web_app_function import *
38
40
  from .get_web_app_host_name_binding import *
39
41
  from .get_web_app_host_name_binding_slot import *
@@ -49,6 +51,7 @@ from .get_web_app_public_certificate_slot import *
49
51
  from .get_web_app_relay_service_connection import *
50
52
  from .get_web_app_relay_service_connection_slot import *
51
53
  from .get_web_app_scm_allowed import *
54
+ from .get_web_app_scm_allowed_slot import *
52
55
  from .get_web_app_site_extension import *
53
56
  from .get_web_app_site_extension_slot import *
54
57
  from .get_web_app_slot import *
@@ -125,9 +128,11 @@ from .web_app_connection_strings_slot import *
125
128
  from .web_app_deployment import *
126
129
  from .web_app_deployment_slot import *
127
130
  from .web_app_diagnostic_logs_configuration import *
131
+ from .web_app_diagnostic_logs_configuration_slot import *
128
132
  from .web_app_domain_ownership_identifier import *
129
133
  from .web_app_domain_ownership_identifier_slot import *
130
134
  from .web_app_ftp_allowed import *
135
+ from .web_app_ftp_allowed_slot import *
131
136
  from .web_app_function import *
132
137
  from .web_app_host_name_binding import *
133
138
  from .web_app_host_name_binding_slot import *
@@ -145,6 +150,7 @@ from .web_app_public_certificate_slot import *
145
150
  from .web_app_relay_service_connection import *
146
151
  from .web_app_relay_service_connection_slot import *
147
152
  from .web_app_scm_allowed import *
153
+ from .web_app_scm_allowed_slot import *
148
154
  from .web_app_site_extension import *
149
155
  from .web_app_site_extension_slot import *
150
156
  from .web_app_site_push_settings import *
@@ -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
+ Description for 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/v20220901: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
+ Description for 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
+ Description for 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/v20220901: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
+ Description for 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
+ ...