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