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.
- pulumi_azure_native/__init__.py +50 -6
- pulumi_azure_native/pulumi-plugin.json +1 -1
- pulumi_azure_native/web/__init__.py +6 -0
- pulumi_azure_native/web/get_web_app_diagnostic_logs_configuration_slot.py +186 -0
- pulumi_azure_native/web/get_web_app_ftp_allowed_slot.py +144 -0
- pulumi_azure_native/web/get_web_app_scm_allowed_slot.py +144 -0
- pulumi_azure_native/web/v20160801/__init__.py +2 -0
- pulumi_azure_native/web/v20160801/_enums.py +12 -0
- pulumi_azure_native/web/v20160801/_inputs.py +529 -0
- pulumi_azure_native/web/v20160801/get_web_app_diagnostic_logs_configuration_slot.py +180 -0
- pulumi_azure_native/web/v20160801/outputs.py +443 -0
- pulumi_azure_native/web/v20160801/web_app_diagnostic_logs_configuration_slot.py +327 -0
- pulumi_azure_native/web/v20180201/__init__.py +4 -0
- pulumi_azure_native/web/v20180201/_enums.py +20 -0
- pulumi_azure_native/web/v20180201/_inputs.py +551 -0
- pulumi_azure_native/web/v20180201/get_web_app_diagnostic_logs_configuration_slot.py +180 -0
- pulumi_azure_native/web/v20180201/outputs.py +445 -0
- pulumi_azure_native/web/v20180201/web_app_diagnostic_logs_configuration_slot.py +327 -0
- pulumi_azure_native/web/v20181101/__init__.py +2 -0
- pulumi_azure_native/web/v20181101/_enums.py +12 -0
- pulumi_azure_native/web/v20181101/_inputs.py +529 -0
- pulumi_azure_native/web/v20181101/get_web_app_diagnostic_logs_configuration_slot.py +180 -0
- pulumi_azure_native/web/v20181101/outputs.py +443 -0
- pulumi_azure_native/web/v20181101/web_app_diagnostic_logs_configuration_slot.py +327 -0
- pulumi_azure_native/web/v20190801/__init__.py +2 -0
- pulumi_azure_native/web/v20190801/_enums.py +12 -0
- pulumi_azure_native/web/v20190801/_inputs.py +529 -0
- pulumi_azure_native/web/v20190801/get_web_app_diagnostic_logs_configuration_slot.py +180 -0
- pulumi_azure_native/web/v20190801/outputs.py +444 -0
- pulumi_azure_native/web/v20190801/web_app_diagnostic_logs_configuration_slot.py +327 -0
- pulumi_azure_native/web/v20200601/__init__.py +4 -0
- pulumi_azure_native/web/v20200601/_enums.py +20 -0
- pulumi_azure_native/web/v20200601/_inputs.py +551 -0
- pulumi_azure_native/web/v20200601/get_web_app_diagnostic_logs_configuration_slot.py +180 -0
- pulumi_azure_native/web/v20200601/outputs.py +445 -0
- pulumi_azure_native/web/v20200601/web_app_diagnostic_logs_configuration_slot.py +327 -0
- pulumi_azure_native/web/v20200901/__init__.py +4 -0
- pulumi_azure_native/web/v20200901/_enums.py +20 -0
- pulumi_azure_native/web/v20200901/_inputs.py +551 -0
- pulumi_azure_native/web/v20200901/get_web_app_diagnostic_logs_configuration_slot.py +193 -0
- pulumi_azure_native/web/v20200901/outputs.py +444 -0
- pulumi_azure_native/web/v20200901/web_app_diagnostic_logs_configuration_slot.py +337 -0
- pulumi_azure_native/web/v20201001/__init__.py +2 -0
- pulumi_azure_native/web/v20201001/get_web_app_diagnostic_logs_configuration_slot.py +193 -0
- pulumi_azure_native/web/v20201001/web_app_diagnostic_logs_configuration_slot.py +337 -0
- pulumi_azure_native/web/v20201201/__init__.py +8 -0
- pulumi_azure_native/web/v20201201/_enums.py +20 -0
- pulumi_azure_native/web/v20201201/_inputs.py +551 -0
- pulumi_azure_native/web/v20201201/get_web_app_diagnostic_logs_configuration_slot.py +180 -0
- pulumi_azure_native/web/v20201201/get_web_app_ftp_allowed_slot.py +138 -0
- pulumi_azure_native/web/v20201201/get_web_app_scm_allowed_slot.py +138 -0
- pulumi_azure_native/web/v20201201/outputs.py +445 -0
- pulumi_azure_native/web/v20201201/web_app_diagnostic_logs_configuration_slot.py +327 -0
- pulumi_azure_native/web/v20201201/web_app_ftp_allowed_slot.py +233 -0
- pulumi_azure_native/web/v20201201/web_app_scm_allowed_slot.py +233 -0
- pulumi_azure_native/web/v20210101/__init__.py +8 -0
- pulumi_azure_native/web/v20210101/_enums.py +20 -0
- pulumi_azure_native/web/v20210101/_inputs.py +551 -0
- pulumi_azure_native/web/v20210101/get_web_app_diagnostic_logs_configuration_slot.py +180 -0
- pulumi_azure_native/web/v20210101/get_web_app_ftp_allowed_slot.py +138 -0
- pulumi_azure_native/web/v20210101/get_web_app_scm_allowed_slot.py +138 -0
- pulumi_azure_native/web/v20210101/outputs.py +445 -0
- pulumi_azure_native/web/v20210101/web_app_diagnostic_logs_configuration_slot.py +327 -0
- pulumi_azure_native/web/v20210101/web_app_ftp_allowed_slot.py +233 -0
- pulumi_azure_native/web/v20210101/web_app_scm_allowed_slot.py +233 -0
- pulumi_azure_native/web/v20210115/__init__.py +6 -0
- pulumi_azure_native/web/v20210115/_enums.py +12 -0
- pulumi_azure_native/web/v20210115/_inputs.py +529 -0
- pulumi_azure_native/web/v20210115/get_web_app_diagnostic_logs_configuration_slot.py +180 -0
- pulumi_azure_native/web/v20210115/get_web_app_ftp_allowed_slot.py +138 -0
- pulumi_azure_native/web/v20210115/get_web_app_scm_allowed_slot.py +138 -0
- pulumi_azure_native/web/v20210115/outputs.py +444 -0
- pulumi_azure_native/web/v20210115/web_app_diagnostic_logs_configuration_slot.py +327 -0
- pulumi_azure_native/web/v20210115/web_app_ftp_allowed_slot.py +233 -0
- pulumi_azure_native/web/v20210115/web_app_scm_allowed_slot.py +233 -0
- pulumi_azure_native/web/v20210201/__init__.py +6 -0
- pulumi_azure_native/web/v20210201/_enums.py +12 -0
- pulumi_azure_native/web/v20210201/_inputs.py +529 -0
- pulumi_azure_native/web/v20210201/get_web_app_diagnostic_logs_configuration_slot.py +180 -0
- pulumi_azure_native/web/v20210201/get_web_app_ftp_allowed_slot.py +138 -0
- pulumi_azure_native/web/v20210201/get_web_app_scm_allowed_slot.py +138 -0
- pulumi_azure_native/web/v20210201/outputs.py +443 -0
- pulumi_azure_native/web/v20210201/web_app_diagnostic_logs_configuration_slot.py +327 -0
- pulumi_azure_native/web/v20210201/web_app_ftp_allowed_slot.py +233 -0
- pulumi_azure_native/web/v20210201/web_app_scm_allowed_slot.py +233 -0
- pulumi_azure_native/web/v20210301/__init__.py +8 -0
- pulumi_azure_native/web/v20210301/_enums.py +20 -0
- pulumi_azure_native/web/v20210301/_inputs.py +551 -0
- pulumi_azure_native/web/v20210301/get_web_app_diagnostic_logs_configuration_slot.py +180 -0
- pulumi_azure_native/web/v20210301/get_web_app_ftp_allowed_slot.py +138 -0
- pulumi_azure_native/web/v20210301/get_web_app_scm_allowed_slot.py +138 -0
- pulumi_azure_native/web/v20210301/outputs.py +445 -0
- pulumi_azure_native/web/v20210301/web_app_diagnostic_logs_configuration_slot.py +327 -0
- pulumi_azure_native/web/v20210301/web_app_ftp_allowed_slot.py +233 -0
- pulumi_azure_native/web/v20210301/web_app_scm_allowed_slot.py +233 -0
- pulumi_azure_native/web/v20220301/__init__.py +8 -0
- pulumi_azure_native/web/v20220301/_enums.py +20 -0
- pulumi_azure_native/web/v20220301/_inputs.py +551 -0
- pulumi_azure_native/web/v20220301/get_web_app_diagnostic_logs_configuration_slot.py +180 -0
- pulumi_azure_native/web/v20220301/get_web_app_ftp_allowed_slot.py +138 -0
- pulumi_azure_native/web/v20220301/get_web_app_scm_allowed_slot.py +138 -0
- pulumi_azure_native/web/v20220301/outputs.py +445 -0
- pulumi_azure_native/web/v20220301/web_app_diagnostic_logs_configuration_slot.py +327 -0
- pulumi_azure_native/web/v20220301/web_app_ftp_allowed_slot.py +233 -0
- pulumi_azure_native/web/v20220301/web_app_scm_allowed_slot.py +233 -0
- pulumi_azure_native/web/v20220901/__init__.py +6 -0
- pulumi_azure_native/web/v20220901/get_web_app_diagnostic_logs_configuration_slot.py +180 -0
- pulumi_azure_native/web/v20220901/get_web_app_ftp_allowed_slot.py +138 -0
- pulumi_azure_native/web/v20220901/get_web_app_scm_allowed_slot.py +138 -0
- pulumi_azure_native/web/v20220901/web_app_diagnostic_logs_configuration_slot.py +327 -0
- pulumi_azure_native/web/v20220901/web_app_ftp_allowed_slot.py +233 -0
- pulumi_azure_native/web/v20220901/web_app_scm_allowed_slot.py +233 -0
- pulumi_azure_native/web/v20230101/__init__.py +6 -0
- pulumi_azure_native/web/v20230101/get_web_app_diagnostic_logs_configuration_slot.py +180 -0
- pulumi_azure_native/web/v20230101/get_web_app_ftp_allowed_slot.py +138 -0
- pulumi_azure_native/web/v20230101/get_web_app_scm_allowed_slot.py +138 -0
- pulumi_azure_native/web/v20230101/web_app_diagnostic_logs_configuration_slot.py +327 -0
- pulumi_azure_native/web/v20230101/web_app_ftp_allowed_slot.py +233 -0
- pulumi_azure_native/web/v20230101/web_app_scm_allowed_slot.py +233 -0
- pulumi_azure_native/web/v20231201/__init__.py +6 -0
- pulumi_azure_native/web/v20231201/get_web_app_diagnostic_logs_configuration_slot.py +180 -0
- pulumi_azure_native/web/v20231201/get_web_app_ftp_allowed_slot.py +138 -0
- pulumi_azure_native/web/v20231201/get_web_app_scm_allowed_slot.py +138 -0
- pulumi_azure_native/web/v20231201/web_app_diagnostic_logs_configuration_slot.py +327 -0
- pulumi_azure_native/web/v20231201/web_app_ftp_allowed_slot.py +233 -0
- pulumi_azure_native/web/v20231201/web_app_scm_allowed_slot.py +233 -0
- pulumi_azure_native/web/web_app_diagnostic_logs_configuration_slot.py +333 -0
- pulumi_azure_native/web/web_app_ftp_allowed_slot.py +239 -0
- pulumi_azure_native/web/web_app_scm_allowed_slot.py +239 -0
- {pulumi_azure_native-2.54.0a1723136521.dist-info → pulumi_azure_native-2.55.0a1723186763.dist-info}/METADATA +1 -1
- {pulumi_azure_native-2.54.0a1723136521.dist-info → pulumi_azure_native-2.55.0a1723186763.dist-info}/RECORD +133 -45
- {pulumi_azure_native-2.54.0a1723136521.dist-info → pulumi_azure_native-2.55.0a1723186763.dist-info}/WHEEL +0 -0
- {pulumi_azure_native-2.54.0a1723136521.dist-info → pulumi_azure_native-2.55.0a1723186763.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/v20210115: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/v20210115: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/v20210115: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
|
+
...
|