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,239 @@
|
|
|
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
|
+
Azure REST API version: 2023-12-01.
|
|
113
|
+
|
|
114
|
+
Other available API versions: 2020-12-01, 2021-01-01, 2021-01-15, 2021-02-01, 2021-03-01, 2022-03-01, 2022-09-01, 2023-01-01.
|
|
115
|
+
|
|
116
|
+
:param str resource_name: The name of the resource.
|
|
117
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
118
|
+
:param pulumi.Input[bool] allow: <code>true</code> to allow access to a publishing method; otherwise, <code>false</code>.
|
|
119
|
+
:param pulumi.Input[str] kind: Kind of resource.
|
|
120
|
+
:param pulumi.Input[str] name: Name of the app.
|
|
121
|
+
:param pulumi.Input[str] resource_group_name: Name of the resource group to which the resource belongs.
|
|
122
|
+
"""
|
|
123
|
+
...
|
|
124
|
+
@overload
|
|
125
|
+
def __init__(__self__,
|
|
126
|
+
resource_name: str,
|
|
127
|
+
args: WebAppScmAllowedSlotArgs,
|
|
128
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
|
129
|
+
"""
|
|
130
|
+
Publishing Credentials Policies parameters.
|
|
131
|
+
Azure REST API version: 2023-12-01.
|
|
132
|
+
|
|
133
|
+
Other available API versions: 2020-12-01, 2021-01-01, 2021-01-15, 2021-02-01, 2021-03-01, 2022-03-01, 2022-09-01, 2023-01-01.
|
|
134
|
+
|
|
135
|
+
:param str resource_name: The name of the resource.
|
|
136
|
+
:param WebAppScmAllowedSlotArgs args: The arguments to use to populate this resource's properties.
|
|
137
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
138
|
+
"""
|
|
139
|
+
...
|
|
140
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
|
141
|
+
resource_args, opts = _utilities.get_resource_args_opts(WebAppScmAllowedSlotArgs, pulumi.ResourceOptions, *args, **kwargs)
|
|
142
|
+
if resource_args is not None:
|
|
143
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
144
|
+
else:
|
|
145
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
|
146
|
+
|
|
147
|
+
def _internal_init(__self__,
|
|
148
|
+
resource_name: str,
|
|
149
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
150
|
+
allow: Optional[pulumi.Input[bool]] = None,
|
|
151
|
+
kind: Optional[pulumi.Input[str]] = None,
|
|
152
|
+
name: Optional[pulumi.Input[str]] = None,
|
|
153
|
+
resource_group_name: Optional[pulumi.Input[str]] = None,
|
|
154
|
+
slot: Optional[pulumi.Input[str]] = None,
|
|
155
|
+
__props__=None):
|
|
156
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
157
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
|
158
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
|
159
|
+
if opts.id is None:
|
|
160
|
+
if __props__ is not None:
|
|
161
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
162
|
+
__props__ = WebAppScmAllowedSlotArgs.__new__(WebAppScmAllowedSlotArgs)
|
|
163
|
+
|
|
164
|
+
if allow is None and not opts.urn:
|
|
165
|
+
raise TypeError("Missing required property 'allow'")
|
|
166
|
+
__props__.__dict__["allow"] = allow
|
|
167
|
+
__props__.__dict__["kind"] = kind
|
|
168
|
+
if name is None and not opts.urn:
|
|
169
|
+
raise TypeError("Missing required property 'name'")
|
|
170
|
+
__props__.__dict__["name"] = name
|
|
171
|
+
if resource_group_name is None and not opts.urn:
|
|
172
|
+
raise TypeError("Missing required property 'resource_group_name'")
|
|
173
|
+
__props__.__dict__["resource_group_name"] = resource_group_name
|
|
174
|
+
if slot is None and not opts.urn:
|
|
175
|
+
raise TypeError("Missing required property 'slot'")
|
|
176
|
+
__props__.__dict__["slot"] = slot
|
|
177
|
+
__props__.__dict__["type"] = None
|
|
178
|
+
alias_opts = pulumi.ResourceOptions(aliases=[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/v20220901:WebAppScmAllowedSlot"), pulumi.Alias(type_="azure-native:web/v20230101:WebAppScmAllowedSlot"), pulumi.Alias(type_="azure-native:web/v20231201:WebAppScmAllowedSlot")])
|
|
179
|
+
opts = pulumi.ResourceOptions.merge(opts, alias_opts)
|
|
180
|
+
super(WebAppScmAllowedSlot, __self__).__init__(
|
|
181
|
+
'azure-native:web:WebAppScmAllowedSlot',
|
|
182
|
+
resource_name,
|
|
183
|
+
__props__,
|
|
184
|
+
opts)
|
|
185
|
+
|
|
186
|
+
@staticmethod
|
|
187
|
+
def get(resource_name: str,
|
|
188
|
+
id: pulumi.Input[str],
|
|
189
|
+
opts: Optional[pulumi.ResourceOptions] = None) -> 'WebAppScmAllowedSlot':
|
|
190
|
+
"""
|
|
191
|
+
Get an existing WebAppScmAllowedSlot resource's state with the given name, id, and optional extra
|
|
192
|
+
properties used to qualify the lookup.
|
|
193
|
+
|
|
194
|
+
:param str resource_name: The unique name of the resulting resource.
|
|
195
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
196
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
197
|
+
"""
|
|
198
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
199
|
+
|
|
200
|
+
__props__ = WebAppScmAllowedSlotArgs.__new__(WebAppScmAllowedSlotArgs)
|
|
201
|
+
|
|
202
|
+
__props__.__dict__["allow"] = None
|
|
203
|
+
__props__.__dict__["kind"] = None
|
|
204
|
+
__props__.__dict__["name"] = None
|
|
205
|
+
__props__.__dict__["type"] = None
|
|
206
|
+
return WebAppScmAllowedSlot(resource_name, opts=opts, __props__=__props__)
|
|
207
|
+
|
|
208
|
+
@property
|
|
209
|
+
@pulumi.getter
|
|
210
|
+
def allow(self) -> pulumi.Output[bool]:
|
|
211
|
+
"""
|
|
212
|
+
<code>true</code> to allow access to a publishing method; otherwise, <code>false</code>.
|
|
213
|
+
"""
|
|
214
|
+
return pulumi.get(self, "allow")
|
|
215
|
+
|
|
216
|
+
@property
|
|
217
|
+
@pulumi.getter
|
|
218
|
+
def kind(self) -> pulumi.Output[Optional[str]]:
|
|
219
|
+
"""
|
|
220
|
+
Kind of resource.
|
|
221
|
+
"""
|
|
222
|
+
return pulumi.get(self, "kind")
|
|
223
|
+
|
|
224
|
+
@property
|
|
225
|
+
@pulumi.getter
|
|
226
|
+
def name(self) -> pulumi.Output[str]:
|
|
227
|
+
"""
|
|
228
|
+
Resource Name.
|
|
229
|
+
"""
|
|
230
|
+
return pulumi.get(self, "name")
|
|
231
|
+
|
|
232
|
+
@property
|
|
233
|
+
@pulumi.getter
|
|
234
|
+
def type(self) -> pulumi.Output[str]:
|
|
235
|
+
"""
|
|
236
|
+
Resource type.
|
|
237
|
+
"""
|
|
238
|
+
return pulumi.get(self, "type")
|
|
239
|
+
|