pulumi-alicloud 3.68.0__py3-none-any.whl → 3.68.0a1732598392__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 +0 -40
- pulumi_alicloud/cdn/_inputs.py +23 -3
- pulumi_alicloud/cdn/domain_new.py +51 -93
- pulumi_alicloud/cdn/outputs.py +16 -2
- pulumi_alicloud/cdn/real_time_log_delivery.py +46 -97
- pulumi_alicloud/cen/get_flowlogs.py +35 -250
- pulumi_alicloud/cen/outputs.py +17 -116
- pulumi_alicloud/cs/node_pool.py +0 -7
- pulumi_alicloud/ecs/_inputs.py +0 -92
- pulumi_alicloud/ecs/auto_snapshot_policy.py +129 -323
- pulumi_alicloud/ecs/outputs.py +0 -88
- pulumi_alicloud/ecs/snapshot_policy.py +1 -154
- pulumi_alicloud/emrv2/_inputs.py +21 -875
- pulumi_alicloud/emrv2/cluster.py +0 -47
- pulumi_alicloud/emrv2/outputs.py +14 -580
- pulumi_alicloud/gwlb/__init__.py +0 -1
- pulumi_alicloud/gwlb/_inputs.py +126 -147
- pulumi_alicloud/gwlb/listener.py +50 -50
- pulumi_alicloud/gwlb/load_balancer.py +71 -78
- pulumi_alicloud/gwlb/outputs.py +84 -139
- pulumi_alicloud/gwlb/server_group.py +113 -162
- pulumi_alicloud/kvstore/audit_log_config.py +7 -7
- pulumi_alicloud/kvstore/backup_policy.py +9 -9
- pulumi_alicloud/kvstore/get_instance_classes.py +8 -8
- pulumi_alicloud/kvstore/get_instances.py +7 -9
- pulumi_alicloud/kvstore/instance.py +21 -21
- pulumi_alicloud/kvstore/outputs.py +6 -6
- pulumi_alicloud/nas/_inputs.py +0 -148
- pulumi_alicloud/nas/file_system.py +222 -482
- pulumi_alicloud/nas/outputs.py +0 -109
- pulumi_alicloud/pai/__init__.py +0 -7
- pulumi_alicloud/pai/workspace_workspace.py +6 -6
- pulumi_alicloud/pulumi-plugin.json +1 -1
- {pulumi_alicloud-3.68.0.dist-info → pulumi_alicloud-3.68.0a1732598392.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.68.0.dist-info → pulumi_alicloud-3.68.0a1732598392.dist-info}/RECORD +37 -45
- pulumi_alicloud/gwlb/get_zones.py +0 -173
- pulumi_alicloud/pai/_inputs.py +0 -129
- pulumi_alicloud/pai/outputs.py +0 -83
- pulumi_alicloud/pai/workspace_code_source.py +0 -702
- pulumi_alicloud/pai/workspace_dataset.py +0 -1081
- pulumi_alicloud/pai/workspace_datasetversion.py +0 -818
- pulumi_alicloud/pai/workspace_experiment.py +0 -394
- pulumi_alicloud/pai/workspace_run.py +0 -344
- {pulumi_alicloud-3.68.0.dist-info → pulumi_alicloud-3.68.0a1732598392.dist-info}/WHEEL +0 -0
- {pulumi_alicloud-3.68.0.dist-info → pulumi_alicloud-3.68.0a1732598392.dist-info}/top_level.txt +0 -0
pulumi_alicloud/__init__.py
CHANGED
|
@@ -5702,46 +5702,6 @@ _utilities.register(
|
|
|
5702
5702
|
"alicloud:ots/tunnel:Tunnel": "Tunnel"
|
|
5703
5703
|
}
|
|
5704
5704
|
},
|
|
5705
|
-
{
|
|
5706
|
-
"pkg": "alicloud",
|
|
5707
|
-
"mod": "pai/workspaceCodeSource",
|
|
5708
|
-
"fqn": "pulumi_alicloud.pai",
|
|
5709
|
-
"classes": {
|
|
5710
|
-
"alicloud:pai/workspaceCodeSource:WorkspaceCodeSource": "WorkspaceCodeSource"
|
|
5711
|
-
}
|
|
5712
|
-
},
|
|
5713
|
-
{
|
|
5714
|
-
"pkg": "alicloud",
|
|
5715
|
-
"mod": "pai/workspaceDataset",
|
|
5716
|
-
"fqn": "pulumi_alicloud.pai",
|
|
5717
|
-
"classes": {
|
|
5718
|
-
"alicloud:pai/workspaceDataset:WorkspaceDataset": "WorkspaceDataset"
|
|
5719
|
-
}
|
|
5720
|
-
},
|
|
5721
|
-
{
|
|
5722
|
-
"pkg": "alicloud",
|
|
5723
|
-
"mod": "pai/workspaceDatasetversion",
|
|
5724
|
-
"fqn": "pulumi_alicloud.pai",
|
|
5725
|
-
"classes": {
|
|
5726
|
-
"alicloud:pai/workspaceDatasetversion:WorkspaceDatasetversion": "WorkspaceDatasetversion"
|
|
5727
|
-
}
|
|
5728
|
-
},
|
|
5729
|
-
{
|
|
5730
|
-
"pkg": "alicloud",
|
|
5731
|
-
"mod": "pai/workspaceExperiment",
|
|
5732
|
-
"fqn": "pulumi_alicloud.pai",
|
|
5733
|
-
"classes": {
|
|
5734
|
-
"alicloud:pai/workspaceExperiment:WorkspaceExperiment": "WorkspaceExperiment"
|
|
5735
|
-
}
|
|
5736
|
-
},
|
|
5737
|
-
{
|
|
5738
|
-
"pkg": "alicloud",
|
|
5739
|
-
"mod": "pai/workspaceRun",
|
|
5740
|
-
"fqn": "pulumi_alicloud.pai",
|
|
5741
|
-
"classes": {
|
|
5742
|
-
"alicloud:pai/workspaceRun:WorkspaceRun": "WorkspaceRun"
|
|
5743
|
-
}
|
|
5744
|
-
},
|
|
5745
5705
|
{
|
|
5746
5706
|
"pkg": "alicloud",
|
|
5747
5707
|
"mod": "pai/workspaceWorkspace",
|
pulumi_alicloud/cdn/_inputs.py
CHANGED
|
@@ -341,6 +341,10 @@ if not MYPY:
|
|
|
341
341
|
- **free**: free certificate.
|
|
342
342
|
> If the certificate type is **cas**, **PrivateKey** does not need to pass parameters.
|
|
343
343
|
"""
|
|
344
|
+
force_set: NotRequired[pulumi.Input[str]]
|
|
345
|
+
"""
|
|
346
|
+
The force set of the security certificate.
|
|
347
|
+
"""
|
|
344
348
|
private_key: NotRequired[pulumi.Input[str]]
|
|
345
349
|
"""
|
|
346
350
|
The content of the private key. If the certificate is not enabled, you do not need to enter the content of the private key. To configure the certificate, enter the content of the private key.
|
|
@@ -365,6 +369,7 @@ class DomainNewCertificateConfigArgs:
|
|
|
365
369
|
cert_name: Optional[pulumi.Input[str]] = None,
|
|
366
370
|
cert_region: Optional[pulumi.Input[str]] = None,
|
|
367
371
|
cert_type: Optional[pulumi.Input[str]] = None,
|
|
372
|
+
force_set: Optional[pulumi.Input[str]] = None,
|
|
368
373
|
private_key: Optional[pulumi.Input[str]] = None,
|
|
369
374
|
server_certificate: Optional[pulumi.Input[str]] = None,
|
|
370
375
|
server_certificate_status: Optional[pulumi.Input[str]] = None):
|
|
@@ -377,6 +382,7 @@ class DomainNewCertificateConfigArgs:
|
|
|
377
382
|
- **cas**: Cloud Shield certificate.
|
|
378
383
|
- **free**: free certificate.
|
|
379
384
|
> If the certificate type is **cas**, **PrivateKey** does not need to pass parameters.
|
|
385
|
+
:param pulumi.Input[str] force_set: The force set of the security certificate.
|
|
380
386
|
:param pulumi.Input[str] private_key: The content of the private key. If the certificate is not enabled, you do not need to enter the content of the private key. To configure the certificate, enter the content of the private key.
|
|
381
387
|
:param pulumi.Input[str] server_certificate: The content of the security certificate. If the certificate is not enabled, you do not need to enter the content of the security certificate. Please enter the content of the certificate to configure the certificate.
|
|
382
388
|
:param pulumi.Input[str] server_certificate_status: Whether the HTTPS certificate is enabled. Value:
|
|
@@ -391,6 +397,8 @@ class DomainNewCertificateConfigArgs:
|
|
|
391
397
|
pulumi.set(__self__, "cert_region", cert_region)
|
|
392
398
|
if cert_type is not None:
|
|
393
399
|
pulumi.set(__self__, "cert_type", cert_type)
|
|
400
|
+
if force_set is not None:
|
|
401
|
+
pulumi.set(__self__, "force_set", force_set)
|
|
394
402
|
if private_key is not None:
|
|
395
403
|
pulumi.set(__self__, "private_key", private_key)
|
|
396
404
|
if server_certificate is not None:
|
|
@@ -450,6 +458,18 @@ class DomainNewCertificateConfigArgs:
|
|
|
450
458
|
def cert_type(self, value: Optional[pulumi.Input[str]]):
|
|
451
459
|
pulumi.set(self, "cert_type", value)
|
|
452
460
|
|
|
461
|
+
@property
|
|
462
|
+
@pulumi.getter(name="forceSet")
|
|
463
|
+
def force_set(self) -> Optional[pulumi.Input[str]]:
|
|
464
|
+
"""
|
|
465
|
+
The force set of the security certificate.
|
|
466
|
+
"""
|
|
467
|
+
return pulumi.get(self, "force_set")
|
|
468
|
+
|
|
469
|
+
@force_set.setter
|
|
470
|
+
def force_set(self, value: Optional[pulumi.Input[str]]):
|
|
471
|
+
pulumi.set(self, "force_set", value)
|
|
472
|
+
|
|
453
473
|
@property
|
|
454
474
|
@pulumi.getter(name="privateKey")
|
|
455
475
|
def private_key(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -509,7 +529,7 @@ if not MYPY:
|
|
|
509
529
|
"""
|
|
510
530
|
weight: NotRequired[pulumi.Input[int]]
|
|
511
531
|
"""
|
|
512
|
-
Weight of the source. Valid values are from `0` to `100`. Default value is `10`, but if type is `ipaddr`, the value can only be `10`.
|
|
532
|
+
Weight of the source. Valid values are from `0` to `100`. Default value is `10`, but if type is `ipaddr`, the value can only be `10`. .
|
|
513
533
|
"""
|
|
514
534
|
elif False:
|
|
515
535
|
DomainNewSourceArgsDict: TypeAlias = Mapping[str, Any]
|
|
@@ -527,7 +547,7 @@ class DomainNewSourceArgs:
|
|
|
527
547
|
:param pulumi.Input[int] port: The port of source. Valid values are `443` and `80`. Default value is `80`.
|
|
528
548
|
:param pulumi.Input[int] priority: Priority of the source. Valid values are `0` and `100`. Default value is `20`.
|
|
529
549
|
:param pulumi.Input[str] type: The type of the source. Valid values are `ipaddr`, `domain` and `oss`.
|
|
530
|
-
:param pulumi.Input[int] weight: Weight of the source. Valid values are from `0` to `100`. Default value is `10`, but if type is `ipaddr`, the value can only be `10`.
|
|
550
|
+
:param pulumi.Input[int] weight: Weight of the source. Valid values are from `0` to `100`. Default value is `10`, but if type is `ipaddr`, the value can only be `10`. .
|
|
531
551
|
"""
|
|
532
552
|
if content is not None:
|
|
533
553
|
pulumi.set(__self__, "content", content)
|
|
@@ -592,7 +612,7 @@ class DomainNewSourceArgs:
|
|
|
592
612
|
@pulumi.getter
|
|
593
613
|
def weight(self) -> Optional[pulumi.Input[int]]:
|
|
594
614
|
"""
|
|
595
|
-
Weight of the source. Valid values are from `0` to `100`. Default value is `10`, but if type is `ipaddr`, the value can only be `10`.
|
|
615
|
+
Weight of the source. Valid values are from `0` to `100`. Default value is `10`, but if type is `ipaddr`, the value can only be `10`. .
|
|
596
616
|
"""
|
|
597
617
|
return pulumi.get(self, "weight")
|
|
598
618
|
|
|
@@ -26,23 +26,23 @@ class DomainNewArgs:
|
|
|
26
26
|
sources: pulumi.Input[Sequence[pulumi.Input['DomainNewSourceArgs']]],
|
|
27
27
|
certificate_config: Optional[pulumi.Input['DomainNewCertificateConfigArgs']] = None,
|
|
28
28
|
check_url: Optional[pulumi.Input[str]] = None,
|
|
29
|
-
env: Optional[pulumi.Input[str]] = None,
|
|
30
29
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
31
30
|
scope: Optional[pulumi.Input[str]] = None,
|
|
32
|
-
status: Optional[pulumi.Input[str]] = None,
|
|
33
31
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None):
|
|
34
32
|
"""
|
|
35
33
|
The set of arguments for constructing a DomainNew resource.
|
|
36
34
|
:param pulumi.Input[str] cdn_type: Cdn type of the accelerated domain. Valid values are `web`, `download`, `video`.
|
|
37
35
|
:param pulumi.Input[str] domain_name: Name of the accelerated domain. This name without suffix can have a string of 1 to 63 characters, must contain only alphanumeric characters or "-", and must not begin or end with "-", and "-" must not in the 3th and 4th character positions at the same time. Suffix `.sh` and `.tel` are not supported.
|
|
38
36
|
:param pulumi.Input[Sequence[pulumi.Input['DomainNewSourceArgs']]] sources: The source address list of the accelerated domain. Defaults to null. See `sources` below.
|
|
39
|
-
:param pulumi.Input['DomainNewCertificateConfigArgs'] certificate_config: Certificate configuration See `certificate_config` below.
|
|
37
|
+
:param pulumi.Input['DomainNewCertificateConfigArgs'] certificate_config: Certificate configuration. See `certificate_config` below.
|
|
40
38
|
:param pulumi.Input[str] check_url: Health test URL.
|
|
41
|
-
:param pulumi.Input[str] env: Whether to issue a certificate in grayscale. Value: staging: issued certificate in grayscale. Not passing or passing any other value is a formal certificate.
|
|
42
39
|
:param pulumi.Input[str] resource_group_id: The ID of the resource group.
|
|
43
40
|
:param pulumi.Input[str] scope: Scope of the accelerated domain. Valid values are `domestic`, `overseas`, `global`. Default value is `domestic`. This parameter's setting is valid Only for the international users and domestic L3 and above users. Value:
|
|
44
|
-
|
|
45
|
-
|
|
41
|
+
- **domestic**: Mainland China only.
|
|
42
|
+
- **overseas**: Global (excluding Mainland China).
|
|
43
|
+
- **global**: global.
|
|
44
|
+
The default value is **domestic**.
|
|
45
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The tag of the resource.
|
|
46
46
|
"""
|
|
47
47
|
pulumi.set(__self__, "cdn_type", cdn_type)
|
|
48
48
|
pulumi.set(__self__, "domain_name", domain_name)
|
|
@@ -51,14 +51,10 @@ class DomainNewArgs:
|
|
|
51
51
|
pulumi.set(__self__, "certificate_config", certificate_config)
|
|
52
52
|
if check_url is not None:
|
|
53
53
|
pulumi.set(__self__, "check_url", check_url)
|
|
54
|
-
if env is not None:
|
|
55
|
-
pulumi.set(__self__, "env", env)
|
|
56
54
|
if resource_group_id is not None:
|
|
57
55
|
pulumi.set(__self__, "resource_group_id", resource_group_id)
|
|
58
56
|
if scope is not None:
|
|
59
57
|
pulumi.set(__self__, "scope", scope)
|
|
60
|
-
if status is not None:
|
|
61
|
-
pulumi.set(__self__, "status", status)
|
|
62
58
|
if tags is not None:
|
|
63
59
|
pulumi.set(__self__, "tags", tags)
|
|
64
60
|
|
|
@@ -102,7 +98,7 @@ class DomainNewArgs:
|
|
|
102
98
|
@pulumi.getter(name="certificateConfig")
|
|
103
99
|
def certificate_config(self) -> Optional[pulumi.Input['DomainNewCertificateConfigArgs']]:
|
|
104
100
|
"""
|
|
105
|
-
Certificate configuration See `certificate_config` below.
|
|
101
|
+
Certificate configuration. See `certificate_config` below.
|
|
106
102
|
"""
|
|
107
103
|
return pulumi.get(self, "certificate_config")
|
|
108
104
|
|
|
@@ -122,18 +118,6 @@ class DomainNewArgs:
|
|
|
122
118
|
def check_url(self, value: Optional[pulumi.Input[str]]):
|
|
123
119
|
pulumi.set(self, "check_url", value)
|
|
124
120
|
|
|
125
|
-
@property
|
|
126
|
-
@pulumi.getter
|
|
127
|
-
def env(self) -> Optional[pulumi.Input[str]]:
|
|
128
|
-
"""
|
|
129
|
-
Whether to issue a certificate in grayscale. Value: staging: issued certificate in grayscale. Not passing or passing any other value is a formal certificate.
|
|
130
|
-
"""
|
|
131
|
-
return pulumi.get(self, "env")
|
|
132
|
-
|
|
133
|
-
@env.setter
|
|
134
|
-
def env(self, value: Optional[pulumi.Input[str]]):
|
|
135
|
-
pulumi.set(self, "env", value)
|
|
136
|
-
|
|
137
121
|
@property
|
|
138
122
|
@pulumi.getter(name="resourceGroupId")
|
|
139
123
|
def resource_group_id(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -151,6 +135,10 @@ class DomainNewArgs:
|
|
|
151
135
|
def scope(self) -> Optional[pulumi.Input[str]]:
|
|
152
136
|
"""
|
|
153
137
|
Scope of the accelerated domain. Valid values are `domestic`, `overseas`, `global`. Default value is `domestic`. This parameter's setting is valid Only for the international users and domestic L3 and above users. Value:
|
|
138
|
+
- **domestic**: Mainland China only.
|
|
139
|
+
- **overseas**: Global (excluding Mainland China).
|
|
140
|
+
- **global**: global.
|
|
141
|
+
The default value is **domestic**.
|
|
154
142
|
"""
|
|
155
143
|
return pulumi.get(self, "scope")
|
|
156
144
|
|
|
@@ -158,23 +146,11 @@ class DomainNewArgs:
|
|
|
158
146
|
def scope(self, value: Optional[pulumi.Input[str]]):
|
|
159
147
|
pulumi.set(self, "scope", value)
|
|
160
148
|
|
|
161
|
-
@property
|
|
162
|
-
@pulumi.getter
|
|
163
|
-
def status(self) -> Optional[pulumi.Input[str]]:
|
|
164
|
-
"""
|
|
165
|
-
The status of the resource, valid values: `online`, `offline`.
|
|
166
|
-
"""
|
|
167
|
-
return pulumi.get(self, "status")
|
|
168
|
-
|
|
169
|
-
@status.setter
|
|
170
|
-
def status(self, value: Optional[pulumi.Input[str]]):
|
|
171
|
-
pulumi.set(self, "status", value)
|
|
172
|
-
|
|
173
149
|
@property
|
|
174
150
|
@pulumi.getter
|
|
175
151
|
def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
176
152
|
"""
|
|
177
|
-
The tag of the resource
|
|
153
|
+
The tag of the resource.
|
|
178
154
|
"""
|
|
179
155
|
return pulumi.get(self, "tags")
|
|
180
156
|
|
|
@@ -191,7 +167,6 @@ class _DomainNewState:
|
|
|
191
167
|
check_url: Optional[pulumi.Input[str]] = None,
|
|
192
168
|
cname: Optional[pulumi.Input[str]] = None,
|
|
193
169
|
domain_name: Optional[pulumi.Input[str]] = None,
|
|
194
|
-
env: Optional[pulumi.Input[str]] = None,
|
|
195
170
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
196
171
|
scope: Optional[pulumi.Input[str]] = None,
|
|
197
172
|
sources: Optional[pulumi.Input[Sequence[pulumi.Input['DomainNewSourceArgs']]]] = None,
|
|
@@ -200,16 +175,19 @@ class _DomainNewState:
|
|
|
200
175
|
"""
|
|
201
176
|
Input properties used for looking up and filtering DomainNew resources.
|
|
202
177
|
:param pulumi.Input[str] cdn_type: Cdn type of the accelerated domain. Valid values are `web`, `download`, `video`.
|
|
203
|
-
:param pulumi.Input['DomainNewCertificateConfigArgs'] certificate_config: Certificate configuration See `certificate_config` below.
|
|
178
|
+
:param pulumi.Input['DomainNewCertificateConfigArgs'] certificate_config: Certificate configuration. See `certificate_config` below.
|
|
204
179
|
:param pulumi.Input[str] check_url: Health test URL.
|
|
205
180
|
:param pulumi.Input[str] cname: The CNAME domain name corresponding to the accelerated domain name.
|
|
206
181
|
:param pulumi.Input[str] domain_name: Name of the accelerated domain. This name without suffix can have a string of 1 to 63 characters, must contain only alphanumeric characters or "-", and must not begin or end with "-", and "-" must not in the 3th and 4th character positions at the same time. Suffix `.sh` and `.tel` are not supported.
|
|
207
|
-
:param pulumi.Input[str] env: Whether to issue a certificate in grayscale. Value: staging: issued certificate in grayscale. Not passing or passing any other value is a formal certificate.
|
|
208
182
|
:param pulumi.Input[str] resource_group_id: The ID of the resource group.
|
|
209
183
|
:param pulumi.Input[str] scope: Scope of the accelerated domain. Valid values are `domestic`, `overseas`, `global`. Default value is `domestic`. This parameter's setting is valid Only for the international users and domestic L3 and above users. Value:
|
|
184
|
+
- **domestic**: Mainland China only.
|
|
185
|
+
- **overseas**: Global (excluding Mainland China).
|
|
186
|
+
- **global**: global.
|
|
187
|
+
The default value is **domestic**.
|
|
210
188
|
:param pulumi.Input[Sequence[pulumi.Input['DomainNewSourceArgs']]] sources: The source address list of the accelerated domain. Defaults to null. See `sources` below.
|
|
211
|
-
:param pulumi.Input[str] status: The status of the resource
|
|
212
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The tag of the resource
|
|
189
|
+
:param pulumi.Input[str] status: The status of the resource.
|
|
190
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The tag of the resource.
|
|
213
191
|
"""
|
|
214
192
|
if cdn_type is not None:
|
|
215
193
|
pulumi.set(__self__, "cdn_type", cdn_type)
|
|
@@ -221,8 +199,6 @@ class _DomainNewState:
|
|
|
221
199
|
pulumi.set(__self__, "cname", cname)
|
|
222
200
|
if domain_name is not None:
|
|
223
201
|
pulumi.set(__self__, "domain_name", domain_name)
|
|
224
|
-
if env is not None:
|
|
225
|
-
pulumi.set(__self__, "env", env)
|
|
226
202
|
if resource_group_id is not None:
|
|
227
203
|
pulumi.set(__self__, "resource_group_id", resource_group_id)
|
|
228
204
|
if scope is not None:
|
|
@@ -250,7 +226,7 @@ class _DomainNewState:
|
|
|
250
226
|
@pulumi.getter(name="certificateConfig")
|
|
251
227
|
def certificate_config(self) -> Optional[pulumi.Input['DomainNewCertificateConfigArgs']]:
|
|
252
228
|
"""
|
|
253
|
-
Certificate configuration See `certificate_config` below.
|
|
229
|
+
Certificate configuration. See `certificate_config` below.
|
|
254
230
|
"""
|
|
255
231
|
return pulumi.get(self, "certificate_config")
|
|
256
232
|
|
|
@@ -294,18 +270,6 @@ class _DomainNewState:
|
|
|
294
270
|
def domain_name(self, value: Optional[pulumi.Input[str]]):
|
|
295
271
|
pulumi.set(self, "domain_name", value)
|
|
296
272
|
|
|
297
|
-
@property
|
|
298
|
-
@pulumi.getter
|
|
299
|
-
def env(self) -> Optional[pulumi.Input[str]]:
|
|
300
|
-
"""
|
|
301
|
-
Whether to issue a certificate in grayscale. Value: staging: issued certificate in grayscale. Not passing or passing any other value is a formal certificate.
|
|
302
|
-
"""
|
|
303
|
-
return pulumi.get(self, "env")
|
|
304
|
-
|
|
305
|
-
@env.setter
|
|
306
|
-
def env(self, value: Optional[pulumi.Input[str]]):
|
|
307
|
-
pulumi.set(self, "env", value)
|
|
308
|
-
|
|
309
273
|
@property
|
|
310
274
|
@pulumi.getter(name="resourceGroupId")
|
|
311
275
|
def resource_group_id(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -323,6 +287,10 @@ class _DomainNewState:
|
|
|
323
287
|
def scope(self) -> Optional[pulumi.Input[str]]:
|
|
324
288
|
"""
|
|
325
289
|
Scope of the accelerated domain. Valid values are `domestic`, `overseas`, `global`. Default value is `domestic`. This parameter's setting is valid Only for the international users and domestic L3 and above users. Value:
|
|
290
|
+
- **domestic**: Mainland China only.
|
|
291
|
+
- **overseas**: Global (excluding Mainland China).
|
|
292
|
+
- **global**: global.
|
|
293
|
+
The default value is **domestic**.
|
|
326
294
|
"""
|
|
327
295
|
return pulumi.get(self, "scope")
|
|
328
296
|
|
|
@@ -346,7 +314,7 @@ class _DomainNewState:
|
|
|
346
314
|
@pulumi.getter
|
|
347
315
|
def status(self) -> Optional[pulumi.Input[str]]:
|
|
348
316
|
"""
|
|
349
|
-
The status of the resource
|
|
317
|
+
The status of the resource.
|
|
350
318
|
"""
|
|
351
319
|
return pulumi.get(self, "status")
|
|
352
320
|
|
|
@@ -358,7 +326,7 @@ class _DomainNewState:
|
|
|
358
326
|
@pulumi.getter
|
|
359
327
|
def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
360
328
|
"""
|
|
361
|
-
The tag of the resource
|
|
329
|
+
The tag of the resource.
|
|
362
330
|
"""
|
|
363
331
|
return pulumi.get(self, "tags")
|
|
364
332
|
|
|
@@ -376,19 +344,15 @@ class DomainNew(pulumi.CustomResource):
|
|
|
376
344
|
certificate_config: Optional[pulumi.Input[Union['DomainNewCertificateConfigArgs', 'DomainNewCertificateConfigArgsDict']]] = None,
|
|
377
345
|
check_url: Optional[pulumi.Input[str]] = None,
|
|
378
346
|
domain_name: Optional[pulumi.Input[str]] = None,
|
|
379
|
-
env: Optional[pulumi.Input[str]] = None,
|
|
380
347
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
381
348
|
scope: Optional[pulumi.Input[str]] = None,
|
|
382
349
|
sources: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DomainNewSourceArgs', 'DomainNewSourceArgsDict']]]]] = None,
|
|
383
|
-
status: Optional[pulumi.Input[str]] = None,
|
|
384
350
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
385
351
|
__props__=None):
|
|
386
352
|
"""
|
|
387
|
-
Provides a CDN Domain resource.
|
|
353
|
+
Provides a CDN Domain resource. CDN domain name.
|
|
388
354
|
|
|
389
|
-
CDN
|
|
390
|
-
|
|
391
|
-
For information about CDN Domain and how to use it, see [What is Domain](https://www.alibabacloud.com/help/en/alibaba-cloud-cdn/latest/api-doc-cdn-2018-05-10-api-doc-addcdndomain).
|
|
355
|
+
For information about CDN Domain and how to use it, see [What is Domain](https://www.alibabacloud.com/help/en/cdn/developer-reference/api-cdn-2018-05-10-addcdndomain).
|
|
392
356
|
|
|
393
357
|
> **NOTE:** Available since v1.34.0.
|
|
394
358
|
|
|
@@ -428,15 +392,17 @@ class DomainNew(pulumi.CustomResource):
|
|
|
428
392
|
:param str resource_name: The name of the resource.
|
|
429
393
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
430
394
|
:param pulumi.Input[str] cdn_type: Cdn type of the accelerated domain. Valid values are `web`, `download`, `video`.
|
|
431
|
-
:param pulumi.Input[Union['DomainNewCertificateConfigArgs', 'DomainNewCertificateConfigArgsDict']] certificate_config: Certificate configuration See `certificate_config` below.
|
|
395
|
+
:param pulumi.Input[Union['DomainNewCertificateConfigArgs', 'DomainNewCertificateConfigArgsDict']] certificate_config: Certificate configuration. See `certificate_config` below.
|
|
432
396
|
:param pulumi.Input[str] check_url: Health test URL.
|
|
433
397
|
:param pulumi.Input[str] domain_name: Name of the accelerated domain. This name without suffix can have a string of 1 to 63 characters, must contain only alphanumeric characters or "-", and must not begin or end with "-", and "-" must not in the 3th and 4th character positions at the same time. Suffix `.sh` and `.tel` are not supported.
|
|
434
|
-
:param pulumi.Input[str] env: Whether to issue a certificate in grayscale. Value: staging: issued certificate in grayscale. Not passing or passing any other value is a formal certificate.
|
|
435
398
|
:param pulumi.Input[str] resource_group_id: The ID of the resource group.
|
|
436
399
|
:param pulumi.Input[str] scope: Scope of the accelerated domain. Valid values are `domestic`, `overseas`, `global`. Default value is `domestic`. This parameter's setting is valid Only for the international users and domestic L3 and above users. Value:
|
|
400
|
+
- **domestic**: Mainland China only.
|
|
401
|
+
- **overseas**: Global (excluding Mainland China).
|
|
402
|
+
- **global**: global.
|
|
403
|
+
The default value is **domestic**.
|
|
437
404
|
:param pulumi.Input[Sequence[pulumi.Input[Union['DomainNewSourceArgs', 'DomainNewSourceArgsDict']]]] sources: The source address list of the accelerated domain. Defaults to null. See `sources` below.
|
|
438
|
-
:param pulumi.Input[str]
|
|
439
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The tag of the resource
|
|
405
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The tag of the resource.
|
|
440
406
|
"""
|
|
441
407
|
...
|
|
442
408
|
@overload
|
|
@@ -445,11 +411,9 @@ class DomainNew(pulumi.CustomResource):
|
|
|
445
411
|
args: DomainNewArgs,
|
|
446
412
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
447
413
|
"""
|
|
448
|
-
Provides a CDN Domain resource.
|
|
449
|
-
|
|
450
|
-
CDN domain name.
|
|
414
|
+
Provides a CDN Domain resource. CDN domain name.
|
|
451
415
|
|
|
452
|
-
For information about CDN Domain and how to use it, see [What is Domain](https://www.alibabacloud.com/help/en/
|
|
416
|
+
For information about CDN Domain and how to use it, see [What is Domain](https://www.alibabacloud.com/help/en/cdn/developer-reference/api-cdn-2018-05-10-addcdndomain).
|
|
453
417
|
|
|
454
418
|
> **NOTE:** Available since v1.34.0.
|
|
455
419
|
|
|
@@ -505,11 +469,9 @@ class DomainNew(pulumi.CustomResource):
|
|
|
505
469
|
certificate_config: Optional[pulumi.Input[Union['DomainNewCertificateConfigArgs', 'DomainNewCertificateConfigArgsDict']]] = None,
|
|
506
470
|
check_url: Optional[pulumi.Input[str]] = None,
|
|
507
471
|
domain_name: Optional[pulumi.Input[str]] = None,
|
|
508
|
-
env: Optional[pulumi.Input[str]] = None,
|
|
509
472
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
510
473
|
scope: Optional[pulumi.Input[str]] = None,
|
|
511
474
|
sources: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DomainNewSourceArgs', 'DomainNewSourceArgsDict']]]]] = None,
|
|
512
|
-
status: Optional[pulumi.Input[str]] = None,
|
|
513
475
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
514
476
|
__props__=None):
|
|
515
477
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
@@ -528,15 +490,14 @@ class DomainNew(pulumi.CustomResource):
|
|
|
528
490
|
if domain_name is None and not opts.urn:
|
|
529
491
|
raise TypeError("Missing required property 'domain_name'")
|
|
530
492
|
__props__.__dict__["domain_name"] = domain_name
|
|
531
|
-
__props__.__dict__["env"] = env
|
|
532
493
|
__props__.__dict__["resource_group_id"] = resource_group_id
|
|
533
494
|
__props__.__dict__["scope"] = scope
|
|
534
495
|
if sources is None and not opts.urn:
|
|
535
496
|
raise TypeError("Missing required property 'sources'")
|
|
536
497
|
__props__.__dict__["sources"] = sources
|
|
537
|
-
__props__.__dict__["status"] = status
|
|
538
498
|
__props__.__dict__["tags"] = tags
|
|
539
499
|
__props__.__dict__["cname"] = None
|
|
500
|
+
__props__.__dict__["status"] = None
|
|
540
501
|
super(DomainNew, __self__).__init__(
|
|
541
502
|
'alicloud:cdn/domainNew:DomainNew',
|
|
542
503
|
resource_name,
|
|
@@ -552,7 +513,6 @@ class DomainNew(pulumi.CustomResource):
|
|
|
552
513
|
check_url: Optional[pulumi.Input[str]] = None,
|
|
553
514
|
cname: Optional[pulumi.Input[str]] = None,
|
|
554
515
|
domain_name: Optional[pulumi.Input[str]] = None,
|
|
555
|
-
env: Optional[pulumi.Input[str]] = None,
|
|
556
516
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
557
517
|
scope: Optional[pulumi.Input[str]] = None,
|
|
558
518
|
sources: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DomainNewSourceArgs', 'DomainNewSourceArgsDict']]]]] = None,
|
|
@@ -566,16 +526,19 @@ class DomainNew(pulumi.CustomResource):
|
|
|
566
526
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
567
527
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
568
528
|
:param pulumi.Input[str] cdn_type: Cdn type of the accelerated domain. Valid values are `web`, `download`, `video`.
|
|
569
|
-
:param pulumi.Input[Union['DomainNewCertificateConfigArgs', 'DomainNewCertificateConfigArgsDict']] certificate_config: Certificate configuration See `certificate_config` below.
|
|
529
|
+
:param pulumi.Input[Union['DomainNewCertificateConfigArgs', 'DomainNewCertificateConfigArgsDict']] certificate_config: Certificate configuration. See `certificate_config` below.
|
|
570
530
|
:param pulumi.Input[str] check_url: Health test URL.
|
|
571
531
|
:param pulumi.Input[str] cname: The CNAME domain name corresponding to the accelerated domain name.
|
|
572
532
|
:param pulumi.Input[str] domain_name: Name of the accelerated domain. This name without suffix can have a string of 1 to 63 characters, must contain only alphanumeric characters or "-", and must not begin or end with "-", and "-" must not in the 3th and 4th character positions at the same time. Suffix `.sh` and `.tel` are not supported.
|
|
573
|
-
:param pulumi.Input[str] env: Whether to issue a certificate in grayscale. Value: staging: issued certificate in grayscale. Not passing or passing any other value is a formal certificate.
|
|
574
533
|
:param pulumi.Input[str] resource_group_id: The ID of the resource group.
|
|
575
534
|
:param pulumi.Input[str] scope: Scope of the accelerated domain. Valid values are `domestic`, `overseas`, `global`. Default value is `domestic`. This parameter's setting is valid Only for the international users and domestic L3 and above users. Value:
|
|
535
|
+
- **domestic**: Mainland China only.
|
|
536
|
+
- **overseas**: Global (excluding Mainland China).
|
|
537
|
+
- **global**: global.
|
|
538
|
+
The default value is **domestic**.
|
|
576
539
|
:param pulumi.Input[Sequence[pulumi.Input[Union['DomainNewSourceArgs', 'DomainNewSourceArgsDict']]]] sources: The source address list of the accelerated domain. Defaults to null. See `sources` below.
|
|
577
|
-
:param pulumi.Input[str] status: The status of the resource
|
|
578
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The tag of the resource
|
|
540
|
+
:param pulumi.Input[str] status: The status of the resource.
|
|
541
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The tag of the resource.
|
|
579
542
|
"""
|
|
580
543
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
581
544
|
|
|
@@ -586,7 +549,6 @@ class DomainNew(pulumi.CustomResource):
|
|
|
586
549
|
__props__.__dict__["check_url"] = check_url
|
|
587
550
|
__props__.__dict__["cname"] = cname
|
|
588
551
|
__props__.__dict__["domain_name"] = domain_name
|
|
589
|
-
__props__.__dict__["env"] = env
|
|
590
552
|
__props__.__dict__["resource_group_id"] = resource_group_id
|
|
591
553
|
__props__.__dict__["scope"] = scope
|
|
592
554
|
__props__.__dict__["sources"] = sources
|
|
@@ -606,7 +568,7 @@ class DomainNew(pulumi.CustomResource):
|
|
|
606
568
|
@pulumi.getter(name="certificateConfig")
|
|
607
569
|
def certificate_config(self) -> pulumi.Output['outputs.DomainNewCertificateConfig']:
|
|
608
570
|
"""
|
|
609
|
-
Certificate configuration See `certificate_config` below.
|
|
571
|
+
Certificate configuration. See `certificate_config` below.
|
|
610
572
|
"""
|
|
611
573
|
return pulumi.get(self, "certificate_config")
|
|
612
574
|
|
|
@@ -634,14 +596,6 @@ class DomainNew(pulumi.CustomResource):
|
|
|
634
596
|
"""
|
|
635
597
|
return pulumi.get(self, "domain_name")
|
|
636
598
|
|
|
637
|
-
@property
|
|
638
|
-
@pulumi.getter
|
|
639
|
-
def env(self) -> pulumi.Output[Optional[str]]:
|
|
640
|
-
"""
|
|
641
|
-
Whether to issue a certificate in grayscale. Value: staging: issued certificate in grayscale. Not passing or passing any other value is a formal certificate.
|
|
642
|
-
"""
|
|
643
|
-
return pulumi.get(self, "env")
|
|
644
|
-
|
|
645
599
|
@property
|
|
646
600
|
@pulumi.getter(name="resourceGroupId")
|
|
647
601
|
def resource_group_id(self) -> pulumi.Output[str]:
|
|
@@ -655,6 +609,10 @@ class DomainNew(pulumi.CustomResource):
|
|
|
655
609
|
def scope(self) -> pulumi.Output[str]:
|
|
656
610
|
"""
|
|
657
611
|
Scope of the accelerated domain. Valid values are `domestic`, `overseas`, `global`. Default value is `domestic`. This parameter's setting is valid Only for the international users and domestic L3 and above users. Value:
|
|
612
|
+
- **domestic**: Mainland China only.
|
|
613
|
+
- **overseas**: Global (excluding Mainland China).
|
|
614
|
+
- **global**: global.
|
|
615
|
+
The default value is **domestic**.
|
|
658
616
|
"""
|
|
659
617
|
return pulumi.get(self, "scope")
|
|
660
618
|
|
|
@@ -670,7 +628,7 @@ class DomainNew(pulumi.CustomResource):
|
|
|
670
628
|
@pulumi.getter
|
|
671
629
|
def status(self) -> pulumi.Output[str]:
|
|
672
630
|
"""
|
|
673
|
-
The status of the resource
|
|
631
|
+
The status of the resource.
|
|
674
632
|
"""
|
|
675
633
|
return pulumi.get(self, "status")
|
|
676
634
|
|
|
@@ -678,7 +636,7 @@ class DomainNew(pulumi.CustomResource):
|
|
|
678
636
|
@pulumi.getter
|
|
679
637
|
def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
|
680
638
|
"""
|
|
681
|
-
The tag of the resource
|
|
639
|
+
The tag of the resource.
|
|
682
640
|
"""
|
|
683
641
|
return pulumi.get(self, "tags")
|
|
684
642
|
|
pulumi_alicloud/cdn/outputs.py
CHANGED
|
@@ -309,6 +309,8 @@ class DomainNewCertificateConfig(dict):
|
|
|
309
309
|
suggest = "cert_region"
|
|
310
310
|
elif key == "certType":
|
|
311
311
|
suggest = "cert_type"
|
|
312
|
+
elif key == "forceSet":
|
|
313
|
+
suggest = "force_set"
|
|
312
314
|
elif key == "privateKey":
|
|
313
315
|
suggest = "private_key"
|
|
314
316
|
elif key == "serverCertificate":
|
|
@@ -332,6 +334,7 @@ class DomainNewCertificateConfig(dict):
|
|
|
332
334
|
cert_name: Optional[str] = None,
|
|
333
335
|
cert_region: Optional[str] = None,
|
|
334
336
|
cert_type: Optional[str] = None,
|
|
337
|
+
force_set: Optional[str] = None,
|
|
335
338
|
private_key: Optional[str] = None,
|
|
336
339
|
server_certificate: Optional[str] = None,
|
|
337
340
|
server_certificate_status: Optional[str] = None):
|
|
@@ -344,6 +347,7 @@ class DomainNewCertificateConfig(dict):
|
|
|
344
347
|
- **cas**: Cloud Shield certificate.
|
|
345
348
|
- **free**: free certificate.
|
|
346
349
|
> If the certificate type is **cas**, **PrivateKey** does not need to pass parameters.
|
|
350
|
+
:param str force_set: The force set of the security certificate.
|
|
347
351
|
:param str private_key: The content of the private key. If the certificate is not enabled, you do not need to enter the content of the private key. To configure the certificate, enter the content of the private key.
|
|
348
352
|
:param str server_certificate: The content of the security certificate. If the certificate is not enabled, you do not need to enter the content of the security certificate. Please enter the content of the certificate to configure the certificate.
|
|
349
353
|
:param str server_certificate_status: Whether the HTTPS certificate is enabled. Value:
|
|
@@ -358,6 +362,8 @@ class DomainNewCertificateConfig(dict):
|
|
|
358
362
|
pulumi.set(__self__, "cert_region", cert_region)
|
|
359
363
|
if cert_type is not None:
|
|
360
364
|
pulumi.set(__self__, "cert_type", cert_type)
|
|
365
|
+
if force_set is not None:
|
|
366
|
+
pulumi.set(__self__, "force_set", force_set)
|
|
361
367
|
if private_key is not None:
|
|
362
368
|
pulumi.set(__self__, "private_key", private_key)
|
|
363
369
|
if server_certificate is not None:
|
|
@@ -401,6 +407,14 @@ class DomainNewCertificateConfig(dict):
|
|
|
401
407
|
"""
|
|
402
408
|
return pulumi.get(self, "cert_type")
|
|
403
409
|
|
|
410
|
+
@property
|
|
411
|
+
@pulumi.getter(name="forceSet")
|
|
412
|
+
def force_set(self) -> Optional[str]:
|
|
413
|
+
"""
|
|
414
|
+
The force set of the security certificate.
|
|
415
|
+
"""
|
|
416
|
+
return pulumi.get(self, "force_set")
|
|
417
|
+
|
|
404
418
|
@property
|
|
405
419
|
@pulumi.getter(name="privateKey")
|
|
406
420
|
def private_key(self) -> Optional[str]:
|
|
@@ -441,7 +455,7 @@ class DomainNewSource(dict):
|
|
|
441
455
|
:param int port: The port of source. Valid values are `443` and `80`. Default value is `80`.
|
|
442
456
|
:param int priority: Priority of the source. Valid values are `0` and `100`. Default value is `20`.
|
|
443
457
|
:param str type: The type of the source. Valid values are `ipaddr`, `domain` and `oss`.
|
|
444
|
-
:param int weight: Weight of the source. Valid values are from `0` to `100`. Default value is `10`, but if type is `ipaddr`, the value can only be `10`.
|
|
458
|
+
:param int weight: Weight of the source. Valid values are from `0` to `100`. Default value is `10`, but if type is `ipaddr`, the value can only be `10`. .
|
|
445
459
|
"""
|
|
446
460
|
if content is not None:
|
|
447
461
|
pulumi.set(__self__, "content", content)
|
|
@@ -490,7 +504,7 @@ class DomainNewSource(dict):
|
|
|
490
504
|
@pulumi.getter
|
|
491
505
|
def weight(self) -> Optional[int]:
|
|
492
506
|
"""
|
|
493
|
-
Weight of the source. Valid values are from `0` to `100`. Default value is `10`, but if type is `ipaddr`, the value can only be `10`.
|
|
507
|
+
Weight of the source. Valid values are from `0` to `100`. Default value is `10`, but if type is `ipaddr`, the value can only be `10`. .
|
|
494
508
|
"""
|
|
495
509
|
return pulumi.get(self, "weight")
|
|
496
510
|
|