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,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/v20201201: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/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/v20220901: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
|
+
|
|
@@ -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/v20220301: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/v20220901: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
|
+
|
|
@@ -33,9 +33,11 @@ from .get_web_app import *
|
|
|
33
33
|
from .get_web_app_deployment import *
|
|
34
34
|
from .get_web_app_deployment_slot import *
|
|
35
35
|
from .get_web_app_diagnostic_logs_configuration import *
|
|
36
|
+
from .get_web_app_diagnostic_logs_configuration_slot import *
|
|
36
37
|
from .get_web_app_domain_ownership_identifier import *
|
|
37
38
|
from .get_web_app_domain_ownership_identifier_slot import *
|
|
38
39
|
from .get_web_app_ftp_allowed import *
|
|
40
|
+
from .get_web_app_ftp_allowed_slot import *
|
|
39
41
|
from .get_web_app_function import *
|
|
40
42
|
from .get_web_app_host_name_binding import *
|
|
41
43
|
from .get_web_app_host_name_binding_slot import *
|
|
@@ -51,6 +53,7 @@ from .get_web_app_public_certificate_slot import *
|
|
|
51
53
|
from .get_web_app_relay_service_connection import *
|
|
52
54
|
from .get_web_app_relay_service_connection_slot import *
|
|
53
55
|
from .get_web_app_scm_allowed import *
|
|
56
|
+
from .get_web_app_scm_allowed_slot import *
|
|
54
57
|
from .get_web_app_site_extension import *
|
|
55
58
|
from .get_web_app_site_extension_slot import *
|
|
56
59
|
from .get_web_app_slot import *
|
|
@@ -128,9 +131,11 @@ from .web_app_connection_strings_slot import *
|
|
|
128
131
|
from .web_app_deployment import *
|
|
129
132
|
from .web_app_deployment_slot import *
|
|
130
133
|
from .web_app_diagnostic_logs_configuration import *
|
|
134
|
+
from .web_app_diagnostic_logs_configuration_slot import *
|
|
131
135
|
from .web_app_domain_ownership_identifier import *
|
|
132
136
|
from .web_app_domain_ownership_identifier_slot import *
|
|
133
137
|
from .web_app_ftp_allowed import *
|
|
138
|
+
from .web_app_ftp_allowed_slot import *
|
|
134
139
|
from .web_app_function import *
|
|
135
140
|
from .web_app_host_name_binding import *
|
|
136
141
|
from .web_app_host_name_binding_slot import *
|
|
@@ -148,6 +153,7 @@ from .web_app_public_certificate_slot import *
|
|
|
148
153
|
from .web_app_relay_service_connection import *
|
|
149
154
|
from .web_app_relay_service_connection_slot import *
|
|
150
155
|
from .web_app_scm_allowed import *
|
|
156
|
+
from .web_app_scm_allowed_slot import *
|
|
151
157
|
from .web_app_site_extension import *
|
|
152
158
|
from .web_app_site_extension_slot import *
|
|
153
159
|
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/v20230101: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
|
+
...
|