pulumi-alicloud 3.60.0a1723455033__py3-none-any.whl → 3.60.0a1723462134__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-alicloud might be problematic. Click here for more details.
- pulumi_alicloud/__init__.py +150 -0
- pulumi_alicloud/adb/resource_group.py +48 -20
- pulumi_alicloud/alb/_inputs.py +22 -22
- pulumi_alicloud/alb/load_balancer.py +119 -133
- pulumi_alicloud/alb/outputs.py +22 -22
- pulumi_alicloud/alb/server_group.py +2 -2
- pulumi_alicloud/aligreen/__init__.py +13 -0
- pulumi_alicloud/aligreen/audit_callback.py +422 -0
- pulumi_alicloud/aligreen/biz_type.py +398 -0
- pulumi_alicloud/aligreen/callback.py +449 -0
- pulumi_alicloud/aligreen/image_lib.py +406 -0
- pulumi_alicloud/aligreen/keyword_lib.py +615 -0
- pulumi_alicloud/aligreen/oss_stock_task.py +1661 -0
- pulumi_alicloud/amqp/binding.py +94 -102
- pulumi_alicloud/apigateway/__init__.py +2 -0
- pulumi_alicloud/apigateway/_inputs.py +221 -2
- pulumi_alicloud/apigateway/access_control_list.py +17 -9
- pulumi_alicloud/apigateway/acl_entry_attachment.py +303 -0
- pulumi_alicloud/apigateway/api.py +4 -2
- pulumi_alicloud/apigateway/group.py +51 -2
- pulumi_alicloud/apigateway/instance.py +396 -63
- pulumi_alicloud/apigateway/instance_acl_attachment.py +326 -0
- pulumi_alicloud/apigateway/outputs.py +223 -2
- pulumi_alicloud/apigateway/vpc_access.py +2 -2
- pulumi_alicloud/arms/get_remote_writes.py +4 -0
- pulumi_alicloud/arms/outputs.py +2 -2
- pulumi_alicloud/arms/remote_write.py +4 -0
- pulumi_alicloud/cen/route_entry.py +2 -2
- pulumi_alicloud/cen/vbr_health_check.py +1 -1
- pulumi_alicloud/cfg/aggregate_delivery.py +255 -118
- pulumi_alicloud/cfg/delivery.py +259 -122
- pulumi_alicloud/clickhouse/_inputs.py +39 -0
- pulumi_alicloud/clickhouse/db_cluster.py +66 -6
- pulumi_alicloud/clickhouse/outputs.py +50 -0
- pulumi_alicloud/cloudfirewall/__init__.py +1 -0
- pulumi_alicloud/cloudfirewall/control_policy.py +116 -108
- pulumi_alicloud/cloudfirewall/vpc_cen_tr_firewall.py +929 -0
- pulumi_alicloud/cloudmonitor/service_monitoring_agent_process.py +2 -2
- pulumi_alicloud/cloudstoragegateway/gateway_cache_disk.py +0 -76
- pulumi_alicloud/cms/_inputs.py +214 -42
- pulumi_alicloud/cms/alarm.py +61 -14
- pulumi_alicloud/cms/dynamic_tag_group.py +53 -51
- pulumi_alicloud/cms/metric_rule_black_list.py +2 -2
- pulumi_alicloud/cms/metric_rule_template.py +54 -87
- pulumi_alicloud/cms/outputs.py +214 -42
- pulumi_alicloud/cs/get_kubernetes_clusters.py +4 -2
- pulumi_alicloud/cs/outputs.py +2 -2
- pulumi_alicloud/databasefilesystem/instance_attachment.py +2 -2
- pulumi_alicloud/databasefilesystem/snapshot.py +2 -2
- pulumi_alicloud/ddos/basic_threshold.py +2 -2
- pulumi_alicloud/ddos/bgp_ip.py +2 -6
- pulumi_alicloud/eci/get_container_groups.py +2 -2
- pulumi_alicloud/ecs/ecs_disk_attachment.py +2 -2
- pulumi_alicloud/ecs/ecs_image_pipeline.py +2 -2
- pulumi_alicloud/ecs/ecs_instance_set.py +2 -2
- pulumi_alicloud/ecs/ecs_invocation.py +2 -2
- pulumi_alicloud/ecs/ecs_key_pair_attachment.py +2 -2
- pulumi_alicloud/ecs/ecs_launch_template.py +9 -9
- pulumi_alicloud/ecs/ecs_network_interface_attachment.py +2 -2
- pulumi_alicloud/ecs/eip_association.py +4 -6
- pulumi_alicloud/ecs/get_ecs_network_interfaces.py +46 -6
- pulumi_alicloud/ecs/get_instances.py +3 -3
- pulumi_alicloud/ecs/get_network_interfaces.py +5 -5
- pulumi_alicloud/ecs/image.py +4 -6
- pulumi_alicloud/ecs/image_copy.py +2 -2
- pulumi_alicloud/ecs/image_export.py +2 -2
- pulumi_alicloud/ecs/image_import.py +14 -6
- pulumi_alicloud/ecs/image_share_permission.py +2 -2
- pulumi_alicloud/ecs/instance.py +7 -7
- pulumi_alicloud/ecs/outputs.py +48 -26
- pulumi_alicloud/edas/instance_cluster_attachment.py +2 -2
- pulumi_alicloud/eds/outputs.py +10 -10
- pulumi_alicloud/ess/scaling_group.py +101 -7
- pulumi_alicloud/fc/__init__.py +7 -0
- pulumi_alicloud/fc/_inputs.py +1666 -0
- pulumi_alicloud/fc/outputs.py +1723 -2
- pulumi_alicloud/fc/v3_alias.py +440 -0
- pulumi_alicloud/fc/v3_async_invoke_config.py +439 -0
- pulumi_alicloud/fc/v3_concurrency_config.py +281 -0
- pulumi_alicloud/fc/v3_custom_domain.py +847 -0
- pulumi_alicloud/fc/v3_function.py +1391 -0
- pulumi_alicloud/fc/v3_function_version.py +313 -0
- pulumi_alicloud/fc/v3_trigger.py +663 -0
- pulumi_alicloud/ga/basic_accelerator.py +8 -8
- pulumi_alicloud/governance/__init__.py +12 -0
- pulumi_alicloud/governance/_inputs.py +70 -0
- pulumi_alicloud/governance/account.py +505 -0
- pulumi_alicloud/governance/baseline.py +387 -0
- pulumi_alicloud/governance/get_baselines.py +241 -0
- pulumi_alicloud/governance/outputs.py +99 -0
- pulumi_alicloud/hbr/ecs_backup_client.py +2 -2
- pulumi_alicloud/hbr/ecs_backup_plan.py +2 -2
- pulumi_alicloud/hbr/server_backup_plan.py +2 -2
- pulumi_alicloud/kvstore/instance.py +47 -0
- pulumi_alicloud/kvstore/outputs.py +2 -2
- pulumi_alicloud/maxcompute/get_projects.py +12 -14
- pulumi_alicloud/maxcompute/get_service.py +4 -0
- pulumi_alicloud/maxcompute/outputs.py +75 -60
- pulumi_alicloud/maxcompute/project.py +7 -7
- pulumi_alicloud/polardb/outputs.py +2 -2
- pulumi_alicloud/privatelink/outputs.py +2 -2
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/ram/login_profile.py +8 -8
- pulumi_alicloud/rds/get_instances.py +1 -1
- pulumi_alicloud/rds/rds_account.py +189 -49
- pulumi_alicloud/rds/read_write_splitting_connection.py +10 -2
- pulumi_alicloud/slb/get_application_load_balancers.py +3 -3
- pulumi_alicloud/slb/get_load_balancers.py +3 -3
- pulumi_alicloud/slb/load_balancer.py +7 -7
- pulumi_alicloud/slb/outputs.py +8 -8
- pulumi_alicloud/slb/server_group_server_attachment.py +2 -2
- pulumi_alicloud/vpc/bgp_peer.py +1 -1
- pulumi_alicloud/vpc/get_networks.py +2 -2
- pulumi_alicloud/vpc/get_switches.py +27 -27
- pulumi_alicloud/vpc/ha_vip_attachment.py +2 -2
- pulumi_alicloud/vpc/outputs.py +24 -24
- pulumi_alicloud/vpc/traffic_mirror_session.py +2 -2
- pulumi_alicloud/vpn/outputs.py +4 -4
- {pulumi_alicloud-3.60.0a1723455033.dist-info → pulumi_alicloud-3.60.0a1723462134.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.60.0a1723455033.dist-info → pulumi_alicloud-3.60.0a1723462134.dist-info}/RECORD +122 -99
- {pulumi_alicloud-3.60.0a1723455033.dist-info → pulumi_alicloud-3.60.0a1723462134.dist-info}/WHEEL +0 -0
- {pulumi_alicloud-3.60.0a1723455033.dist-info → pulumi_alicloud-3.60.0a1723462134.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,326 @@
|
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
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 pulumi
|
|
8
|
+
import pulumi.runtime
|
|
9
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
10
|
+
from .. import _utilities
|
|
11
|
+
|
|
12
|
+
__all__ = ['InstanceAclAttachmentArgs', 'InstanceAclAttachment']
|
|
13
|
+
|
|
14
|
+
@pulumi.input_type
|
|
15
|
+
class InstanceAclAttachmentArgs:
|
|
16
|
+
def __init__(__self__, *,
|
|
17
|
+
acl_id: pulumi.Input[str],
|
|
18
|
+
acl_type: pulumi.Input[str],
|
|
19
|
+
instance_id: pulumi.Input[str]):
|
|
20
|
+
"""
|
|
21
|
+
The set of arguments for constructing a InstanceAclAttachment resource.
|
|
22
|
+
:param pulumi.Input[str] acl_id: The ID of the ACL to attach.
|
|
23
|
+
:param pulumi.Input[str] acl_type: The type of the ACL. Valid values: `white`, `black`.
|
|
24
|
+
:param pulumi.Input[str] instance_id: The ID of the API Gateway instance that the ACL will be attached to.
|
|
25
|
+
"""
|
|
26
|
+
pulumi.set(__self__, "acl_id", acl_id)
|
|
27
|
+
pulumi.set(__self__, "acl_type", acl_type)
|
|
28
|
+
pulumi.set(__self__, "instance_id", instance_id)
|
|
29
|
+
|
|
30
|
+
@property
|
|
31
|
+
@pulumi.getter(name="aclId")
|
|
32
|
+
def acl_id(self) -> pulumi.Input[str]:
|
|
33
|
+
"""
|
|
34
|
+
The ID of the ACL to attach.
|
|
35
|
+
"""
|
|
36
|
+
return pulumi.get(self, "acl_id")
|
|
37
|
+
|
|
38
|
+
@acl_id.setter
|
|
39
|
+
def acl_id(self, value: pulumi.Input[str]):
|
|
40
|
+
pulumi.set(self, "acl_id", value)
|
|
41
|
+
|
|
42
|
+
@property
|
|
43
|
+
@pulumi.getter(name="aclType")
|
|
44
|
+
def acl_type(self) -> pulumi.Input[str]:
|
|
45
|
+
"""
|
|
46
|
+
The type of the ACL. Valid values: `white`, `black`.
|
|
47
|
+
"""
|
|
48
|
+
return pulumi.get(self, "acl_type")
|
|
49
|
+
|
|
50
|
+
@acl_type.setter
|
|
51
|
+
def acl_type(self, value: pulumi.Input[str]):
|
|
52
|
+
pulumi.set(self, "acl_type", value)
|
|
53
|
+
|
|
54
|
+
@property
|
|
55
|
+
@pulumi.getter(name="instanceId")
|
|
56
|
+
def instance_id(self) -> pulumi.Input[str]:
|
|
57
|
+
"""
|
|
58
|
+
The ID of the API Gateway instance that the ACL will be attached to.
|
|
59
|
+
"""
|
|
60
|
+
return pulumi.get(self, "instance_id")
|
|
61
|
+
|
|
62
|
+
@instance_id.setter
|
|
63
|
+
def instance_id(self, value: pulumi.Input[str]):
|
|
64
|
+
pulumi.set(self, "instance_id", value)
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
@pulumi.input_type
|
|
68
|
+
class _InstanceAclAttachmentState:
|
|
69
|
+
def __init__(__self__, *,
|
|
70
|
+
acl_id: Optional[pulumi.Input[str]] = None,
|
|
71
|
+
acl_type: Optional[pulumi.Input[str]] = None,
|
|
72
|
+
instance_id: Optional[pulumi.Input[str]] = None):
|
|
73
|
+
"""
|
|
74
|
+
Input properties used for looking up and filtering InstanceAclAttachment resources.
|
|
75
|
+
:param pulumi.Input[str] acl_id: The ID of the ACL to attach.
|
|
76
|
+
:param pulumi.Input[str] acl_type: The type of the ACL. Valid values: `white`, `black`.
|
|
77
|
+
:param pulumi.Input[str] instance_id: The ID of the API Gateway instance that the ACL will be attached to.
|
|
78
|
+
"""
|
|
79
|
+
if acl_id is not None:
|
|
80
|
+
pulumi.set(__self__, "acl_id", acl_id)
|
|
81
|
+
if acl_type is not None:
|
|
82
|
+
pulumi.set(__self__, "acl_type", acl_type)
|
|
83
|
+
if instance_id is not None:
|
|
84
|
+
pulumi.set(__self__, "instance_id", instance_id)
|
|
85
|
+
|
|
86
|
+
@property
|
|
87
|
+
@pulumi.getter(name="aclId")
|
|
88
|
+
def acl_id(self) -> Optional[pulumi.Input[str]]:
|
|
89
|
+
"""
|
|
90
|
+
The ID of the ACL to attach.
|
|
91
|
+
"""
|
|
92
|
+
return pulumi.get(self, "acl_id")
|
|
93
|
+
|
|
94
|
+
@acl_id.setter
|
|
95
|
+
def acl_id(self, value: Optional[pulumi.Input[str]]):
|
|
96
|
+
pulumi.set(self, "acl_id", value)
|
|
97
|
+
|
|
98
|
+
@property
|
|
99
|
+
@pulumi.getter(name="aclType")
|
|
100
|
+
def acl_type(self) -> Optional[pulumi.Input[str]]:
|
|
101
|
+
"""
|
|
102
|
+
The type of the ACL. Valid values: `white`, `black`.
|
|
103
|
+
"""
|
|
104
|
+
return pulumi.get(self, "acl_type")
|
|
105
|
+
|
|
106
|
+
@acl_type.setter
|
|
107
|
+
def acl_type(self, value: Optional[pulumi.Input[str]]):
|
|
108
|
+
pulumi.set(self, "acl_type", value)
|
|
109
|
+
|
|
110
|
+
@property
|
|
111
|
+
@pulumi.getter(name="instanceId")
|
|
112
|
+
def instance_id(self) -> Optional[pulumi.Input[str]]:
|
|
113
|
+
"""
|
|
114
|
+
The ID of the API Gateway instance that the ACL will be attached to.
|
|
115
|
+
"""
|
|
116
|
+
return pulumi.get(self, "instance_id")
|
|
117
|
+
|
|
118
|
+
@instance_id.setter
|
|
119
|
+
def instance_id(self, value: Optional[pulumi.Input[str]]):
|
|
120
|
+
pulumi.set(self, "instance_id", value)
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
class InstanceAclAttachment(pulumi.CustomResource):
|
|
124
|
+
@overload
|
|
125
|
+
def __init__(__self__,
|
|
126
|
+
resource_name: str,
|
|
127
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
128
|
+
acl_id: Optional[pulumi.Input[str]] = None,
|
|
129
|
+
acl_type: Optional[pulumi.Input[str]] = None,
|
|
130
|
+
instance_id: Optional[pulumi.Input[str]] = None,
|
|
131
|
+
__props__=None):
|
|
132
|
+
"""
|
|
133
|
+
Provides an Instance ACL attachment resource for attaching an ACL to a specific API Gateway instance.
|
|
134
|
+
|
|
135
|
+
> **NOTE:** Available since v1.228.0.
|
|
136
|
+
|
|
137
|
+
## Example Usage
|
|
138
|
+
|
|
139
|
+
Basic Usage
|
|
140
|
+
|
|
141
|
+
```python
|
|
142
|
+
import pulumi
|
|
143
|
+
import pulumi_alicloud as alicloud
|
|
144
|
+
|
|
145
|
+
config = pulumi.Config()
|
|
146
|
+
name = config.get("name")
|
|
147
|
+
if name is None:
|
|
148
|
+
name = "terraform_example"
|
|
149
|
+
default = alicloud.apigateway.Instance("default",
|
|
150
|
+
instance_name=name,
|
|
151
|
+
instance_spec="api.s1.small",
|
|
152
|
+
https_policy="HTTPS2_TLS1_0",
|
|
153
|
+
zone_id="cn-hangzhou-MAZ6",
|
|
154
|
+
payment_type="PayAsYouGo",
|
|
155
|
+
instance_type="normal")
|
|
156
|
+
default_access_control_list = alicloud.apigateway.AccessControlList("default",
|
|
157
|
+
access_control_list_name=name,
|
|
158
|
+
address_ip_version="ipv4")
|
|
159
|
+
default_acl_entry_attachment = alicloud.apigateway.AclEntryAttachment("default",
|
|
160
|
+
acl_id=default_access_control_list.id,
|
|
161
|
+
entry="128.0.0.1/32",
|
|
162
|
+
comment="test comment")
|
|
163
|
+
default_instance_acl_attachment = alicloud.apigateway.InstanceAclAttachment("default",
|
|
164
|
+
instance_id=default.id,
|
|
165
|
+
acl_id=default_access_control_list.id,
|
|
166
|
+
acl_type="white")
|
|
167
|
+
```
|
|
168
|
+
|
|
169
|
+
## Import
|
|
170
|
+
|
|
171
|
+
Api Gateway Instance Acl Attachment can be imported using the id, e.g.
|
|
172
|
+
|
|
173
|
+
```sh
|
|
174
|
+
$ pulumi import alicloud:apigateway/instanceAclAttachment:InstanceAclAttachment example <instance_id>:<acl_id>:<acl_type>
|
|
175
|
+
```
|
|
176
|
+
|
|
177
|
+
:param str resource_name: The name of the resource.
|
|
178
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
179
|
+
:param pulumi.Input[str] acl_id: The ID of the ACL to attach.
|
|
180
|
+
:param pulumi.Input[str] acl_type: The type of the ACL. Valid values: `white`, `black`.
|
|
181
|
+
:param pulumi.Input[str] instance_id: The ID of the API Gateway instance that the ACL will be attached to.
|
|
182
|
+
"""
|
|
183
|
+
...
|
|
184
|
+
@overload
|
|
185
|
+
def __init__(__self__,
|
|
186
|
+
resource_name: str,
|
|
187
|
+
args: InstanceAclAttachmentArgs,
|
|
188
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
|
189
|
+
"""
|
|
190
|
+
Provides an Instance ACL attachment resource for attaching an ACL to a specific API Gateway instance.
|
|
191
|
+
|
|
192
|
+
> **NOTE:** Available since v1.228.0.
|
|
193
|
+
|
|
194
|
+
## Example Usage
|
|
195
|
+
|
|
196
|
+
Basic Usage
|
|
197
|
+
|
|
198
|
+
```python
|
|
199
|
+
import pulumi
|
|
200
|
+
import pulumi_alicloud as alicloud
|
|
201
|
+
|
|
202
|
+
config = pulumi.Config()
|
|
203
|
+
name = config.get("name")
|
|
204
|
+
if name is None:
|
|
205
|
+
name = "terraform_example"
|
|
206
|
+
default = alicloud.apigateway.Instance("default",
|
|
207
|
+
instance_name=name,
|
|
208
|
+
instance_spec="api.s1.small",
|
|
209
|
+
https_policy="HTTPS2_TLS1_0",
|
|
210
|
+
zone_id="cn-hangzhou-MAZ6",
|
|
211
|
+
payment_type="PayAsYouGo",
|
|
212
|
+
instance_type="normal")
|
|
213
|
+
default_access_control_list = alicloud.apigateway.AccessControlList("default",
|
|
214
|
+
access_control_list_name=name,
|
|
215
|
+
address_ip_version="ipv4")
|
|
216
|
+
default_acl_entry_attachment = alicloud.apigateway.AclEntryAttachment("default",
|
|
217
|
+
acl_id=default_access_control_list.id,
|
|
218
|
+
entry="128.0.0.1/32",
|
|
219
|
+
comment="test comment")
|
|
220
|
+
default_instance_acl_attachment = alicloud.apigateway.InstanceAclAttachment("default",
|
|
221
|
+
instance_id=default.id,
|
|
222
|
+
acl_id=default_access_control_list.id,
|
|
223
|
+
acl_type="white")
|
|
224
|
+
```
|
|
225
|
+
|
|
226
|
+
## Import
|
|
227
|
+
|
|
228
|
+
Api Gateway Instance Acl Attachment can be imported using the id, e.g.
|
|
229
|
+
|
|
230
|
+
```sh
|
|
231
|
+
$ pulumi import alicloud:apigateway/instanceAclAttachment:InstanceAclAttachment example <instance_id>:<acl_id>:<acl_type>
|
|
232
|
+
```
|
|
233
|
+
|
|
234
|
+
:param str resource_name: The name of the resource.
|
|
235
|
+
:param InstanceAclAttachmentArgs args: The arguments to use to populate this resource's properties.
|
|
236
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
237
|
+
"""
|
|
238
|
+
...
|
|
239
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
|
240
|
+
resource_args, opts = _utilities.get_resource_args_opts(InstanceAclAttachmentArgs, pulumi.ResourceOptions, *args, **kwargs)
|
|
241
|
+
if resource_args is not None:
|
|
242
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
243
|
+
else:
|
|
244
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
|
245
|
+
|
|
246
|
+
def _internal_init(__self__,
|
|
247
|
+
resource_name: str,
|
|
248
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
249
|
+
acl_id: Optional[pulumi.Input[str]] = None,
|
|
250
|
+
acl_type: Optional[pulumi.Input[str]] = None,
|
|
251
|
+
instance_id: Optional[pulumi.Input[str]] = None,
|
|
252
|
+
__props__=None):
|
|
253
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
254
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
|
255
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
|
256
|
+
if opts.id is None:
|
|
257
|
+
if __props__ is not None:
|
|
258
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
259
|
+
__props__ = InstanceAclAttachmentArgs.__new__(InstanceAclAttachmentArgs)
|
|
260
|
+
|
|
261
|
+
if acl_id is None and not opts.urn:
|
|
262
|
+
raise TypeError("Missing required property 'acl_id'")
|
|
263
|
+
__props__.__dict__["acl_id"] = acl_id
|
|
264
|
+
if acl_type is None and not opts.urn:
|
|
265
|
+
raise TypeError("Missing required property 'acl_type'")
|
|
266
|
+
__props__.__dict__["acl_type"] = acl_type
|
|
267
|
+
if instance_id is None and not opts.urn:
|
|
268
|
+
raise TypeError("Missing required property 'instance_id'")
|
|
269
|
+
__props__.__dict__["instance_id"] = instance_id
|
|
270
|
+
super(InstanceAclAttachment, __self__).__init__(
|
|
271
|
+
'alicloud:apigateway/instanceAclAttachment:InstanceAclAttachment',
|
|
272
|
+
resource_name,
|
|
273
|
+
__props__,
|
|
274
|
+
opts)
|
|
275
|
+
|
|
276
|
+
@staticmethod
|
|
277
|
+
def get(resource_name: str,
|
|
278
|
+
id: pulumi.Input[str],
|
|
279
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
280
|
+
acl_id: Optional[pulumi.Input[str]] = None,
|
|
281
|
+
acl_type: Optional[pulumi.Input[str]] = None,
|
|
282
|
+
instance_id: Optional[pulumi.Input[str]] = None) -> 'InstanceAclAttachment':
|
|
283
|
+
"""
|
|
284
|
+
Get an existing InstanceAclAttachment resource's state with the given name, id, and optional extra
|
|
285
|
+
properties used to qualify the lookup.
|
|
286
|
+
|
|
287
|
+
:param str resource_name: The unique name of the resulting resource.
|
|
288
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
289
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
290
|
+
:param pulumi.Input[str] acl_id: The ID of the ACL to attach.
|
|
291
|
+
:param pulumi.Input[str] acl_type: The type of the ACL. Valid values: `white`, `black`.
|
|
292
|
+
:param pulumi.Input[str] instance_id: The ID of the API Gateway instance that the ACL will be attached to.
|
|
293
|
+
"""
|
|
294
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
295
|
+
|
|
296
|
+
__props__ = _InstanceAclAttachmentState.__new__(_InstanceAclAttachmentState)
|
|
297
|
+
|
|
298
|
+
__props__.__dict__["acl_id"] = acl_id
|
|
299
|
+
__props__.__dict__["acl_type"] = acl_type
|
|
300
|
+
__props__.__dict__["instance_id"] = instance_id
|
|
301
|
+
return InstanceAclAttachment(resource_name, opts=opts, __props__=__props__)
|
|
302
|
+
|
|
303
|
+
@property
|
|
304
|
+
@pulumi.getter(name="aclId")
|
|
305
|
+
def acl_id(self) -> pulumi.Output[str]:
|
|
306
|
+
"""
|
|
307
|
+
The ID of the ACL to attach.
|
|
308
|
+
"""
|
|
309
|
+
return pulumi.get(self, "acl_id")
|
|
310
|
+
|
|
311
|
+
@property
|
|
312
|
+
@pulumi.getter(name="aclType")
|
|
313
|
+
def acl_type(self) -> pulumi.Output[str]:
|
|
314
|
+
"""
|
|
315
|
+
The type of the ACL. Valid values: `white`, `black`.
|
|
316
|
+
"""
|
|
317
|
+
return pulumi.get(self, "acl_type")
|
|
318
|
+
|
|
319
|
+
@property
|
|
320
|
+
@pulumi.getter(name="instanceId")
|
|
321
|
+
def instance_id(self) -> pulumi.Output[str]:
|
|
322
|
+
"""
|
|
323
|
+
The ID of the API Gateway instance that the ACL will be attached to.
|
|
324
|
+
"""
|
|
325
|
+
return pulumi.get(self, "instance_id")
|
|
326
|
+
|
|
@@ -19,6 +19,8 @@ __all__ = [
|
|
|
19
19
|
'ApiRequestConfig',
|
|
20
20
|
'ApiRequestParameter',
|
|
21
21
|
'ApiSystemParameter',
|
|
22
|
+
'InstanceToConnectVpcIpBlock',
|
|
23
|
+
'InstanceZoneVswitchSecurityGroup',
|
|
22
24
|
'GetApisApiResult',
|
|
23
25
|
'GetAppsAppResult',
|
|
24
26
|
'GetBackendsBackendResult',
|
|
@@ -317,6 +319,10 @@ class ApiHttpServiceConfig(dict):
|
|
|
317
319
|
suggest = None
|
|
318
320
|
if key == "aoneName":
|
|
319
321
|
suggest = "aone_name"
|
|
322
|
+
elif key == "contentTypeCategory":
|
|
323
|
+
suggest = "content_type_category"
|
|
324
|
+
elif key == "contentTypeValue":
|
|
325
|
+
suggest = "content_type_value"
|
|
320
326
|
|
|
321
327
|
if suggest:
|
|
322
328
|
pulumi.log.warn(f"Key '{key}' not found in ApiHttpServiceConfig. Access the value via the '{suggest}' property getter instead.")
|
|
@@ -334,13 +340,17 @@ class ApiHttpServiceConfig(dict):
|
|
|
334
340
|
method: str,
|
|
335
341
|
path: str,
|
|
336
342
|
timeout: int,
|
|
337
|
-
aone_name: Optional[str] = None
|
|
343
|
+
aone_name: Optional[str] = None,
|
|
344
|
+
content_type_category: Optional[str] = None,
|
|
345
|
+
content_type_value: Optional[str] = None):
|
|
338
346
|
"""
|
|
339
347
|
:param str address: The address of backend service.
|
|
340
348
|
:param str method: The http method of backend service.
|
|
341
349
|
:param str path: The path of backend service.
|
|
342
350
|
:param int timeout: Backend service time-out time; unit: millisecond.
|
|
343
351
|
:param str aone_name: The name of aone.
|
|
352
|
+
:param str content_type_category: The content type category of backend service which supports values of 'DEFAULT','CUSTOM' and 'CLIENT'.
|
|
353
|
+
:param str content_type_value: The content type value of backend service.
|
|
344
354
|
"""
|
|
345
355
|
pulumi.set(__self__, "address", address)
|
|
346
356
|
pulumi.set(__self__, "method", method)
|
|
@@ -348,6 +358,10 @@ class ApiHttpServiceConfig(dict):
|
|
|
348
358
|
pulumi.set(__self__, "timeout", timeout)
|
|
349
359
|
if aone_name is not None:
|
|
350
360
|
pulumi.set(__self__, "aone_name", aone_name)
|
|
361
|
+
if content_type_category is not None:
|
|
362
|
+
pulumi.set(__self__, "content_type_category", content_type_category)
|
|
363
|
+
if content_type_value is not None:
|
|
364
|
+
pulumi.set(__self__, "content_type_value", content_type_value)
|
|
351
365
|
|
|
352
366
|
@property
|
|
353
367
|
@pulumi.getter
|
|
@@ -389,6 +403,22 @@ class ApiHttpServiceConfig(dict):
|
|
|
389
403
|
"""
|
|
390
404
|
return pulumi.get(self, "aone_name")
|
|
391
405
|
|
|
406
|
+
@property
|
|
407
|
+
@pulumi.getter(name="contentTypeCategory")
|
|
408
|
+
def content_type_category(self) -> Optional[str]:
|
|
409
|
+
"""
|
|
410
|
+
The content type category of backend service which supports values of 'DEFAULT','CUSTOM' and 'CLIENT'.
|
|
411
|
+
"""
|
|
412
|
+
return pulumi.get(self, "content_type_category")
|
|
413
|
+
|
|
414
|
+
@property
|
|
415
|
+
@pulumi.getter(name="contentTypeValue")
|
|
416
|
+
def content_type_value(self) -> Optional[str]:
|
|
417
|
+
"""
|
|
418
|
+
The content type value of backend service.
|
|
419
|
+
"""
|
|
420
|
+
return pulumi.get(self, "content_type_value")
|
|
421
|
+
|
|
392
422
|
|
|
393
423
|
@pulumi.output_type
|
|
394
424
|
class ApiHttpVpcServiceConfig(dict):
|
|
@@ -397,6 +427,12 @@ class ApiHttpVpcServiceConfig(dict):
|
|
|
397
427
|
suggest = None
|
|
398
428
|
if key == "aoneName":
|
|
399
429
|
suggest = "aone_name"
|
|
430
|
+
elif key == "contentTypeCategory":
|
|
431
|
+
suggest = "content_type_category"
|
|
432
|
+
elif key == "contentTypeValue":
|
|
433
|
+
suggest = "content_type_value"
|
|
434
|
+
elif key == "vpcScheme":
|
|
435
|
+
suggest = "vpc_scheme"
|
|
400
436
|
|
|
401
437
|
if suggest:
|
|
402
438
|
pulumi.log.warn(f"Key '{key}' not found in ApiHttpVpcServiceConfig. Access the value via the '{suggest}' property getter instead.")
|
|
@@ -414,13 +450,19 @@ class ApiHttpVpcServiceConfig(dict):
|
|
|
414
450
|
name: str,
|
|
415
451
|
path: str,
|
|
416
452
|
timeout: int,
|
|
417
|
-
aone_name: Optional[str] = None
|
|
453
|
+
aone_name: Optional[str] = None,
|
|
454
|
+
content_type_category: Optional[str] = None,
|
|
455
|
+
content_type_value: Optional[str] = None,
|
|
456
|
+
vpc_scheme: Optional[str] = None):
|
|
418
457
|
"""
|
|
419
458
|
:param str method: The http method of backend service.
|
|
420
459
|
:param str name: The name of vpc instance.
|
|
421
460
|
:param str path: The path of backend service.
|
|
422
461
|
:param int timeout: Backend service time-out time. Unit: millisecond.
|
|
423
462
|
:param str aone_name: The name of aone.
|
|
463
|
+
:param str content_type_category: The content type category of backend service which supports values of 'DEFAULT','CUSTOM' and 'CLIENT'.
|
|
464
|
+
:param str content_type_value: The content type value of backend service.
|
|
465
|
+
:param str vpc_scheme: The vpc scheme of backend service which supports values of `HTTP` and `HTTPS`.
|
|
424
466
|
"""
|
|
425
467
|
pulumi.set(__self__, "method", method)
|
|
426
468
|
pulumi.set(__self__, "name", name)
|
|
@@ -428,6 +470,12 @@ class ApiHttpVpcServiceConfig(dict):
|
|
|
428
470
|
pulumi.set(__self__, "timeout", timeout)
|
|
429
471
|
if aone_name is not None:
|
|
430
472
|
pulumi.set(__self__, "aone_name", aone_name)
|
|
473
|
+
if content_type_category is not None:
|
|
474
|
+
pulumi.set(__self__, "content_type_category", content_type_category)
|
|
475
|
+
if content_type_value is not None:
|
|
476
|
+
pulumi.set(__self__, "content_type_value", content_type_value)
|
|
477
|
+
if vpc_scheme is not None:
|
|
478
|
+
pulumi.set(__self__, "vpc_scheme", vpc_scheme)
|
|
431
479
|
|
|
432
480
|
@property
|
|
433
481
|
@pulumi.getter
|
|
@@ -469,6 +517,30 @@ class ApiHttpVpcServiceConfig(dict):
|
|
|
469
517
|
"""
|
|
470
518
|
return pulumi.get(self, "aone_name")
|
|
471
519
|
|
|
520
|
+
@property
|
|
521
|
+
@pulumi.getter(name="contentTypeCategory")
|
|
522
|
+
def content_type_category(self) -> Optional[str]:
|
|
523
|
+
"""
|
|
524
|
+
The content type category of backend service which supports values of 'DEFAULT','CUSTOM' and 'CLIENT'.
|
|
525
|
+
"""
|
|
526
|
+
return pulumi.get(self, "content_type_category")
|
|
527
|
+
|
|
528
|
+
@property
|
|
529
|
+
@pulumi.getter(name="contentTypeValue")
|
|
530
|
+
def content_type_value(self) -> Optional[str]:
|
|
531
|
+
"""
|
|
532
|
+
The content type value of backend service.
|
|
533
|
+
"""
|
|
534
|
+
return pulumi.get(self, "content_type_value")
|
|
535
|
+
|
|
536
|
+
@property
|
|
537
|
+
@pulumi.getter(name="vpcScheme")
|
|
538
|
+
def vpc_scheme(self) -> Optional[str]:
|
|
539
|
+
"""
|
|
540
|
+
The vpc scheme of backend service which supports values of `HTTP` and `HTTPS`.
|
|
541
|
+
"""
|
|
542
|
+
return pulumi.get(self, "vpc_scheme")
|
|
543
|
+
|
|
472
544
|
|
|
473
545
|
@pulumi.output_type
|
|
474
546
|
class ApiMockServiceConfig(dict):
|
|
@@ -776,6 +848,155 @@ class ApiSystemParameter(dict):
|
|
|
776
848
|
return pulumi.get(self, "name_service")
|
|
777
849
|
|
|
778
850
|
|
|
851
|
+
@pulumi.output_type
|
|
852
|
+
class InstanceToConnectVpcIpBlock(dict):
|
|
853
|
+
@staticmethod
|
|
854
|
+
def __key_warning(key: str):
|
|
855
|
+
suggest = None
|
|
856
|
+
if key == "cidrBlock":
|
|
857
|
+
suggest = "cidr_block"
|
|
858
|
+
elif key == "vswitchId":
|
|
859
|
+
suggest = "vswitch_id"
|
|
860
|
+
elif key == "zoneId":
|
|
861
|
+
suggest = "zone_id"
|
|
862
|
+
|
|
863
|
+
if suggest:
|
|
864
|
+
pulumi.log.warn(f"Key '{key}' not found in InstanceToConnectVpcIpBlock. Access the value via the '{suggest}' property getter instead.")
|
|
865
|
+
|
|
866
|
+
def __getitem__(self, key: str) -> Any:
|
|
867
|
+
InstanceToConnectVpcIpBlock.__key_warning(key)
|
|
868
|
+
return super().__getitem__(key)
|
|
869
|
+
|
|
870
|
+
def get(self, key: str, default = None) -> Any:
|
|
871
|
+
InstanceToConnectVpcIpBlock.__key_warning(key)
|
|
872
|
+
return super().get(key, default)
|
|
873
|
+
|
|
874
|
+
def __init__(__self__, *,
|
|
875
|
+
cidr_block: str,
|
|
876
|
+
customized: Optional[bool] = None,
|
|
877
|
+
vswitch_id: Optional[str] = None,
|
|
878
|
+
zone_id: Optional[str] = None):
|
|
879
|
+
"""
|
|
880
|
+
:param str cidr_block: The CIDR block of the VSwitch.
|
|
881
|
+
:param bool customized: Specifies whether the IP block is customized.
|
|
882
|
+
:param str vswitch_id: The VSwitch ID.
|
|
883
|
+
:param str zone_id: The zone ID.
|
|
884
|
+
"""
|
|
885
|
+
pulumi.set(__self__, "cidr_block", cidr_block)
|
|
886
|
+
if customized is not None:
|
|
887
|
+
pulumi.set(__self__, "customized", customized)
|
|
888
|
+
if vswitch_id is not None:
|
|
889
|
+
pulumi.set(__self__, "vswitch_id", vswitch_id)
|
|
890
|
+
if zone_id is not None:
|
|
891
|
+
pulumi.set(__self__, "zone_id", zone_id)
|
|
892
|
+
|
|
893
|
+
@property
|
|
894
|
+
@pulumi.getter(name="cidrBlock")
|
|
895
|
+
def cidr_block(self) -> str:
|
|
896
|
+
"""
|
|
897
|
+
The CIDR block of the VSwitch.
|
|
898
|
+
"""
|
|
899
|
+
return pulumi.get(self, "cidr_block")
|
|
900
|
+
|
|
901
|
+
@property
|
|
902
|
+
@pulumi.getter
|
|
903
|
+
def customized(self) -> Optional[bool]:
|
|
904
|
+
"""
|
|
905
|
+
Specifies whether the IP block is customized.
|
|
906
|
+
"""
|
|
907
|
+
return pulumi.get(self, "customized")
|
|
908
|
+
|
|
909
|
+
@property
|
|
910
|
+
@pulumi.getter(name="vswitchId")
|
|
911
|
+
def vswitch_id(self) -> Optional[str]:
|
|
912
|
+
"""
|
|
913
|
+
The VSwitch ID.
|
|
914
|
+
"""
|
|
915
|
+
return pulumi.get(self, "vswitch_id")
|
|
916
|
+
|
|
917
|
+
@property
|
|
918
|
+
@pulumi.getter(name="zoneId")
|
|
919
|
+
def zone_id(self) -> Optional[str]:
|
|
920
|
+
"""
|
|
921
|
+
The zone ID.
|
|
922
|
+
"""
|
|
923
|
+
return pulumi.get(self, "zone_id")
|
|
924
|
+
|
|
925
|
+
|
|
926
|
+
@pulumi.output_type
|
|
927
|
+
class InstanceZoneVswitchSecurityGroup(dict):
|
|
928
|
+
@staticmethod
|
|
929
|
+
def __key_warning(key: str):
|
|
930
|
+
suggest = None
|
|
931
|
+
if key == "cidrBlock":
|
|
932
|
+
suggest = "cidr_block"
|
|
933
|
+
elif key == "securityGroup":
|
|
934
|
+
suggest = "security_group"
|
|
935
|
+
elif key == "vswitchId":
|
|
936
|
+
suggest = "vswitch_id"
|
|
937
|
+
elif key == "zoneId":
|
|
938
|
+
suggest = "zone_id"
|
|
939
|
+
|
|
940
|
+
if suggest:
|
|
941
|
+
pulumi.log.warn(f"Key '{key}' not found in InstanceZoneVswitchSecurityGroup. Access the value via the '{suggest}' property getter instead.")
|
|
942
|
+
|
|
943
|
+
def __getitem__(self, key: str) -> Any:
|
|
944
|
+
InstanceZoneVswitchSecurityGroup.__key_warning(key)
|
|
945
|
+
return super().__getitem__(key)
|
|
946
|
+
|
|
947
|
+
def get(self, key: str, default = None) -> Any:
|
|
948
|
+
InstanceZoneVswitchSecurityGroup.__key_warning(key)
|
|
949
|
+
return super().get(key, default)
|
|
950
|
+
|
|
951
|
+
def __init__(__self__, *,
|
|
952
|
+
cidr_block: str,
|
|
953
|
+
security_group: str,
|
|
954
|
+
vswitch_id: str,
|
|
955
|
+
zone_id: str):
|
|
956
|
+
"""
|
|
957
|
+
:param str cidr_block: The CIDR block of the VSwitch.
|
|
958
|
+
:param str security_group: The ID of the security group.
|
|
959
|
+
:param str vswitch_id: The VSwitch ID.
|
|
960
|
+
:param str zone_id: The zone ID.
|
|
961
|
+
"""
|
|
962
|
+
pulumi.set(__self__, "cidr_block", cidr_block)
|
|
963
|
+
pulumi.set(__self__, "security_group", security_group)
|
|
964
|
+
pulumi.set(__self__, "vswitch_id", vswitch_id)
|
|
965
|
+
pulumi.set(__self__, "zone_id", zone_id)
|
|
966
|
+
|
|
967
|
+
@property
|
|
968
|
+
@pulumi.getter(name="cidrBlock")
|
|
969
|
+
def cidr_block(self) -> str:
|
|
970
|
+
"""
|
|
971
|
+
The CIDR block of the VSwitch.
|
|
972
|
+
"""
|
|
973
|
+
return pulumi.get(self, "cidr_block")
|
|
974
|
+
|
|
975
|
+
@property
|
|
976
|
+
@pulumi.getter(name="securityGroup")
|
|
977
|
+
def security_group(self) -> str:
|
|
978
|
+
"""
|
|
979
|
+
The ID of the security group.
|
|
980
|
+
"""
|
|
981
|
+
return pulumi.get(self, "security_group")
|
|
982
|
+
|
|
983
|
+
@property
|
|
984
|
+
@pulumi.getter(name="vswitchId")
|
|
985
|
+
def vswitch_id(self) -> str:
|
|
986
|
+
"""
|
|
987
|
+
The VSwitch ID.
|
|
988
|
+
"""
|
|
989
|
+
return pulumi.get(self, "vswitch_id")
|
|
990
|
+
|
|
991
|
+
@property
|
|
992
|
+
@pulumi.getter(name="zoneId")
|
|
993
|
+
def zone_id(self) -> str:
|
|
994
|
+
"""
|
|
995
|
+
The zone ID.
|
|
996
|
+
"""
|
|
997
|
+
return pulumi.get(self, "zone_id")
|
|
998
|
+
|
|
999
|
+
|
|
779
1000
|
@pulumi.output_type
|
|
780
1001
|
class GetApisApiResult(dict):
|
|
781
1002
|
def __init__(__self__, *,
|
|
@@ -187,7 +187,7 @@ class VpcAccess(pulumi.CustomResource):
|
|
|
187
187
|
name="terraform-example",
|
|
188
188
|
description="New security group",
|
|
189
189
|
vpc_id=example_network.id)
|
|
190
|
-
example_get_images = alicloud.ecs.get_images(name_regex="^
|
|
190
|
+
example_get_images = alicloud.ecs.get_images(name_regex="^ubuntu_18.*64",
|
|
191
191
|
owners="system")
|
|
192
192
|
example_instance = alicloud.ecs.Instance("example",
|
|
193
193
|
availability_zone=example.zones[0].id,
|
|
@@ -249,7 +249,7 @@ class VpcAccess(pulumi.CustomResource):
|
|
|
249
249
|
name="terraform-example",
|
|
250
250
|
description="New security group",
|
|
251
251
|
vpc_id=example_network.id)
|
|
252
|
-
example_get_images = alicloud.ecs.get_images(name_regex="^
|
|
252
|
+
example_get_images = alicloud.ecs.get_images(name_regex="^ubuntu_18.*64",
|
|
253
253
|
owners="system")
|
|
254
254
|
example_instance = alicloud.ecs.Instance("example",
|
|
255
255
|
availability_zone=example.zones[0].id,
|
|
@@ -118,6 +118,8 @@ def get_remote_writes(cluster_id: Optional[str] = None,
|
|
|
118
118
|
|
|
119
119
|
> **NOTE:** Available in v1.204.0+.
|
|
120
120
|
|
|
121
|
+
> **NOTE:** deprecated since v1.228.0.
|
|
122
|
+
|
|
121
123
|
## Example Usage
|
|
122
124
|
|
|
123
125
|
Basic Usage
|
|
@@ -169,6 +171,8 @@ def get_remote_writes_output(cluster_id: Optional[pulumi.Input[str]] = None,
|
|
|
169
171
|
|
|
170
172
|
> **NOTE:** Available in v1.204.0+.
|
|
171
173
|
|
|
174
|
+
> **NOTE:** deprecated since v1.228.0.
|
|
175
|
+
|
|
172
176
|
## Example Usage
|
|
173
177
|
|
|
174
178
|
Basic Usage
|
pulumi_alicloud/arms/outputs.py
CHANGED
|
@@ -2757,7 +2757,7 @@ class GetPrometheisPrometheiResult(dict):
|
|
|
2757
2757
|
:param str sub_clusters_json: The child instance json string of the globalView instance.
|
|
2758
2758
|
:param Mapping[str, Any] tags: A mapping of tags to assign to the resource.
|
|
2759
2759
|
:param str vpc_id: The ID of the VPC.
|
|
2760
|
-
:param str vswitch_id: The ID of the
|
|
2760
|
+
:param str vswitch_id: The ID of the vSwitch.
|
|
2761
2761
|
"""
|
|
2762
2762
|
pulumi.set(__self__, "auth_token", auth_token)
|
|
2763
2763
|
pulumi.set(__self__, "cluster_id", cluster_id)
|
|
@@ -2936,7 +2936,7 @@ class GetPrometheisPrometheiResult(dict):
|
|
|
2936
2936
|
@pulumi.getter(name="vswitchId")
|
|
2937
2937
|
def vswitch_id(self) -> str:
|
|
2938
2938
|
"""
|
|
2939
|
-
The ID of the
|
|
2939
|
+
The ID of the vSwitch.
|
|
2940
2940
|
"""
|
|
2941
2941
|
return pulumi.get(self, "vswitch_id")
|
|
2942
2942
|
|