pulumi-alicloud 3.68.0a1732684713__py3-none-any.whl → 3.68.0a1733143327__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 +40 -0
- pulumi_alicloud/cdn/_inputs.py +3 -23
- pulumi_alicloud/cdn/domain_new.py +93 -51
- pulumi_alicloud/cdn/outputs.py +2 -16
- pulumi_alicloud/cdn/real_time_log_delivery.py +97 -46
- pulumi_alicloud/cen/get_flowlogs.py +250 -35
- pulumi_alicloud/cen/outputs.py +116 -17
- pulumi_alicloud/cs/node_pool.py +7 -0
- pulumi_alicloud/ecs/_inputs.py +92 -0
- pulumi_alicloud/ecs/auto_snapshot_policy.py +323 -129
- pulumi_alicloud/ecs/outputs.py +88 -0
- pulumi_alicloud/ecs/snapshot_policy.py +154 -1
- pulumi_alicloud/emrv2/_inputs.py +875 -21
- pulumi_alicloud/emrv2/cluster.py +47 -0
- pulumi_alicloud/emrv2/outputs.py +580 -14
- pulumi_alicloud/gwlb/__init__.py +1 -0
- pulumi_alicloud/gwlb/_inputs.py +147 -126
- pulumi_alicloud/gwlb/get_zones.py +173 -0
- pulumi_alicloud/gwlb/listener.py +50 -50
- pulumi_alicloud/gwlb/load_balancer.py +78 -71
- pulumi_alicloud/gwlb/outputs.py +139 -84
- pulumi_alicloud/gwlb/server_group.py +162 -113
- 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 +9 -7
- pulumi_alicloud/kvstore/instance.py +21 -21
- pulumi_alicloud/kvstore/outputs.py +6 -6
- pulumi_alicloud/nas/_inputs.py +148 -0
- pulumi_alicloud/nas/file_system.py +482 -222
- pulumi_alicloud/nas/outputs.py +109 -0
- pulumi_alicloud/pai/__init__.py +7 -0
- pulumi_alicloud/pai/_inputs.py +129 -0
- pulumi_alicloud/pai/outputs.py +83 -0
- pulumi_alicloud/pai/workspace_code_source.py +702 -0
- pulumi_alicloud/pai/workspace_dataset.py +1081 -0
- pulumi_alicloud/pai/workspace_datasetversion.py +818 -0
- pulumi_alicloud/pai/workspace_experiment.py +394 -0
- pulumi_alicloud/pai/workspace_run.py +344 -0
- pulumi_alicloud/pai/workspace_workspace.py +6 -6
- pulumi_alicloud/pulumi-plugin.json +1 -1
- {pulumi_alicloud-3.68.0a1732684713.dist-info → pulumi_alicloud-3.68.0a1733143327.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.68.0a1732684713.dist-info → pulumi_alicloud-3.68.0a1733143327.dist-info}/RECORD +45 -37
- {pulumi_alicloud-3.68.0a1732684713.dist-info → pulumi_alicloud-3.68.0a1733143327.dist-info}/WHEEL +0 -0
- {pulumi_alicloud-3.68.0a1732684713.dist-info → pulumi_alicloud-3.68.0a1733143327.dist-info}/top_level.txt +0 -0
pulumi_alicloud/__init__.py
CHANGED
|
@@ -5702,6 +5702,46 @@ _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
|
+
},
|
|
5705
5745
|
{
|
|
5706
5746
|
"pkg": "alicloud",
|
|
5707
5747
|
"mod": "pai/workspaceWorkspace",
|
pulumi_alicloud/cdn/_inputs.py
CHANGED
|
@@ -341,10 +341,6 @@ 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
|
-
"""
|
|
348
344
|
private_key: NotRequired[pulumi.Input[str]]
|
|
349
345
|
"""
|
|
350
346
|
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.
|
|
@@ -369,7 +365,6 @@ class DomainNewCertificateConfigArgs:
|
|
|
369
365
|
cert_name: Optional[pulumi.Input[str]] = None,
|
|
370
366
|
cert_region: Optional[pulumi.Input[str]] = None,
|
|
371
367
|
cert_type: Optional[pulumi.Input[str]] = None,
|
|
372
|
-
force_set: Optional[pulumi.Input[str]] = None,
|
|
373
368
|
private_key: Optional[pulumi.Input[str]] = None,
|
|
374
369
|
server_certificate: Optional[pulumi.Input[str]] = None,
|
|
375
370
|
server_certificate_status: Optional[pulumi.Input[str]] = None):
|
|
@@ -382,7 +377,6 @@ class DomainNewCertificateConfigArgs:
|
|
|
382
377
|
- **cas**: Cloud Shield certificate.
|
|
383
378
|
- **free**: free certificate.
|
|
384
379
|
> 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.
|
|
386
380
|
: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.
|
|
387
381
|
: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.
|
|
388
382
|
:param pulumi.Input[str] server_certificate_status: Whether the HTTPS certificate is enabled. Value:
|
|
@@ -397,8 +391,6 @@ class DomainNewCertificateConfigArgs:
|
|
|
397
391
|
pulumi.set(__self__, "cert_region", cert_region)
|
|
398
392
|
if cert_type is not None:
|
|
399
393
|
pulumi.set(__self__, "cert_type", cert_type)
|
|
400
|
-
if force_set is not None:
|
|
401
|
-
pulumi.set(__self__, "force_set", force_set)
|
|
402
394
|
if private_key is not None:
|
|
403
395
|
pulumi.set(__self__, "private_key", private_key)
|
|
404
396
|
if server_certificate is not None:
|
|
@@ -458,18 +450,6 @@ class DomainNewCertificateConfigArgs:
|
|
|
458
450
|
def cert_type(self, value: Optional[pulumi.Input[str]]):
|
|
459
451
|
pulumi.set(self, "cert_type", value)
|
|
460
452
|
|
|
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
|
-
|
|
473
453
|
@property
|
|
474
454
|
@pulumi.getter(name="privateKey")
|
|
475
455
|
def private_key(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -529,7 +509,7 @@ if not MYPY:
|
|
|
529
509
|
"""
|
|
530
510
|
weight: NotRequired[pulumi.Input[int]]
|
|
531
511
|
"""
|
|
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`.
|
|
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`.
|
|
533
513
|
"""
|
|
534
514
|
elif False:
|
|
535
515
|
DomainNewSourceArgsDict: TypeAlias = Mapping[str, Any]
|
|
@@ -547,7 +527,7 @@ class DomainNewSourceArgs:
|
|
|
547
527
|
:param pulumi.Input[int] port: The port of source. Valid values are `443` and `80`. Default value is `80`.
|
|
548
528
|
:param pulumi.Input[int] priority: Priority of the source. Valid values are `0` and `100`. Default value is `20`.
|
|
549
529
|
:param pulumi.Input[str] type: The type of the source. Valid values are `ipaddr`, `domain` and `oss`.
|
|
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`.
|
|
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`.
|
|
551
531
|
"""
|
|
552
532
|
if content is not None:
|
|
553
533
|
pulumi.set(__self__, "content", content)
|
|
@@ -612,7 +592,7 @@ class DomainNewSourceArgs:
|
|
|
612
592
|
@pulumi.getter
|
|
613
593
|
def weight(self) -> Optional[pulumi.Input[int]]:
|
|
614
594
|
"""
|
|
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`.
|
|
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`.
|
|
616
596
|
"""
|
|
617
597
|
return pulumi.get(self, "weight")
|
|
618
598
|
|
|
@@ -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,
|
|
29
30
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
30
31
|
scope: Optional[pulumi.Input[str]] = None,
|
|
32
|
+
status: Optional[pulumi.Input[str]] = None,
|
|
31
33
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None):
|
|
32
34
|
"""
|
|
33
35
|
The set of arguments for constructing a DomainNew resource.
|
|
34
36
|
:param pulumi.Input[str] cdn_type: Cdn type of the accelerated domain. Valid values are `web`, `download`, `video`.
|
|
35
37
|
: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.
|
|
36
38
|
:param pulumi.Input[Sequence[pulumi.Input['DomainNewSourceArgs']]] sources: The source address list of the accelerated domain. Defaults to null. See `sources` below.
|
|
37
|
-
:param pulumi.Input['DomainNewCertificateConfigArgs'] certificate_config: Certificate configuration
|
|
39
|
+
:param pulumi.Input['DomainNewCertificateConfigArgs'] certificate_config: Certificate configuration See `certificate_config` below.
|
|
38
40
|
: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.
|
|
39
42
|
:param pulumi.Input[str] resource_group_id: The ID of the resource group.
|
|
40
43
|
: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:
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
- **global**: global.
|
|
44
|
-
The default value is **domestic**.
|
|
45
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The tag of the resource.
|
|
44
|
+
:param pulumi.Input[str] status: The status of the resource, valid values: `online`, `offline`.
|
|
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,10 +51,14 @@ 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)
|
|
54
56
|
if resource_group_id is not None:
|
|
55
57
|
pulumi.set(__self__, "resource_group_id", resource_group_id)
|
|
56
58
|
if scope is not None:
|
|
57
59
|
pulumi.set(__self__, "scope", scope)
|
|
60
|
+
if status is not None:
|
|
61
|
+
pulumi.set(__self__, "status", status)
|
|
58
62
|
if tags is not None:
|
|
59
63
|
pulumi.set(__self__, "tags", tags)
|
|
60
64
|
|
|
@@ -98,7 +102,7 @@ class DomainNewArgs:
|
|
|
98
102
|
@pulumi.getter(name="certificateConfig")
|
|
99
103
|
def certificate_config(self) -> Optional[pulumi.Input['DomainNewCertificateConfigArgs']]:
|
|
100
104
|
"""
|
|
101
|
-
Certificate configuration
|
|
105
|
+
Certificate configuration See `certificate_config` below.
|
|
102
106
|
"""
|
|
103
107
|
return pulumi.get(self, "certificate_config")
|
|
104
108
|
|
|
@@ -118,6 +122,18 @@ class DomainNewArgs:
|
|
|
118
122
|
def check_url(self, value: Optional[pulumi.Input[str]]):
|
|
119
123
|
pulumi.set(self, "check_url", value)
|
|
120
124
|
|
|
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
|
+
|
|
121
137
|
@property
|
|
122
138
|
@pulumi.getter(name="resourceGroupId")
|
|
123
139
|
def resource_group_id(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -135,10 +151,6 @@ class DomainNewArgs:
|
|
|
135
151
|
def scope(self) -> Optional[pulumi.Input[str]]:
|
|
136
152
|
"""
|
|
137
153
|
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**.
|
|
142
154
|
"""
|
|
143
155
|
return pulumi.get(self, "scope")
|
|
144
156
|
|
|
@@ -146,11 +158,23 @@ class DomainNewArgs:
|
|
|
146
158
|
def scope(self, value: Optional[pulumi.Input[str]]):
|
|
147
159
|
pulumi.set(self, "scope", value)
|
|
148
160
|
|
|
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
|
+
|
|
149
173
|
@property
|
|
150
174
|
@pulumi.getter
|
|
151
175
|
def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
152
176
|
"""
|
|
153
|
-
The tag of the resource
|
|
177
|
+
The tag of the resource
|
|
154
178
|
"""
|
|
155
179
|
return pulumi.get(self, "tags")
|
|
156
180
|
|
|
@@ -167,6 +191,7 @@ class _DomainNewState:
|
|
|
167
191
|
check_url: Optional[pulumi.Input[str]] = None,
|
|
168
192
|
cname: Optional[pulumi.Input[str]] = None,
|
|
169
193
|
domain_name: Optional[pulumi.Input[str]] = None,
|
|
194
|
+
env: Optional[pulumi.Input[str]] = None,
|
|
170
195
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
171
196
|
scope: Optional[pulumi.Input[str]] = None,
|
|
172
197
|
sources: Optional[pulumi.Input[Sequence[pulumi.Input['DomainNewSourceArgs']]]] = None,
|
|
@@ -175,19 +200,16 @@ class _DomainNewState:
|
|
|
175
200
|
"""
|
|
176
201
|
Input properties used for looking up and filtering DomainNew resources.
|
|
177
202
|
:param pulumi.Input[str] cdn_type: Cdn type of the accelerated domain. Valid values are `web`, `download`, `video`.
|
|
178
|
-
:param pulumi.Input['DomainNewCertificateConfigArgs'] certificate_config: Certificate configuration
|
|
203
|
+
:param pulumi.Input['DomainNewCertificateConfigArgs'] certificate_config: Certificate configuration See `certificate_config` below.
|
|
179
204
|
:param pulumi.Input[str] check_url: Health test URL.
|
|
180
205
|
:param pulumi.Input[str] cname: The CNAME domain name corresponding to the accelerated domain name.
|
|
181
206
|
: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.
|
|
182
208
|
:param pulumi.Input[str] resource_group_id: The ID of the resource group.
|
|
183
209
|
: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**.
|
|
188
210
|
:param pulumi.Input[Sequence[pulumi.Input['DomainNewSourceArgs']]] sources: The source address list of the accelerated domain. Defaults to null. See `sources` below.
|
|
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
|
|
211
|
+
:param pulumi.Input[str] status: The status of the resource, valid values: `online`, `offline`.
|
|
212
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The tag of the resource
|
|
191
213
|
"""
|
|
192
214
|
if cdn_type is not None:
|
|
193
215
|
pulumi.set(__self__, "cdn_type", cdn_type)
|
|
@@ -199,6 +221,8 @@ class _DomainNewState:
|
|
|
199
221
|
pulumi.set(__self__, "cname", cname)
|
|
200
222
|
if domain_name is not None:
|
|
201
223
|
pulumi.set(__self__, "domain_name", domain_name)
|
|
224
|
+
if env is not None:
|
|
225
|
+
pulumi.set(__self__, "env", env)
|
|
202
226
|
if resource_group_id is not None:
|
|
203
227
|
pulumi.set(__self__, "resource_group_id", resource_group_id)
|
|
204
228
|
if scope is not None:
|
|
@@ -226,7 +250,7 @@ class _DomainNewState:
|
|
|
226
250
|
@pulumi.getter(name="certificateConfig")
|
|
227
251
|
def certificate_config(self) -> Optional[pulumi.Input['DomainNewCertificateConfigArgs']]:
|
|
228
252
|
"""
|
|
229
|
-
Certificate configuration
|
|
253
|
+
Certificate configuration See `certificate_config` below.
|
|
230
254
|
"""
|
|
231
255
|
return pulumi.get(self, "certificate_config")
|
|
232
256
|
|
|
@@ -270,6 +294,18 @@ class _DomainNewState:
|
|
|
270
294
|
def domain_name(self, value: Optional[pulumi.Input[str]]):
|
|
271
295
|
pulumi.set(self, "domain_name", value)
|
|
272
296
|
|
|
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
|
+
|
|
273
309
|
@property
|
|
274
310
|
@pulumi.getter(name="resourceGroupId")
|
|
275
311
|
def resource_group_id(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -287,10 +323,6 @@ class _DomainNewState:
|
|
|
287
323
|
def scope(self) -> Optional[pulumi.Input[str]]:
|
|
288
324
|
"""
|
|
289
325
|
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**.
|
|
294
326
|
"""
|
|
295
327
|
return pulumi.get(self, "scope")
|
|
296
328
|
|
|
@@ -314,7 +346,7 @@ class _DomainNewState:
|
|
|
314
346
|
@pulumi.getter
|
|
315
347
|
def status(self) -> Optional[pulumi.Input[str]]:
|
|
316
348
|
"""
|
|
317
|
-
The status of the resource
|
|
349
|
+
The status of the resource, valid values: `online`, `offline`.
|
|
318
350
|
"""
|
|
319
351
|
return pulumi.get(self, "status")
|
|
320
352
|
|
|
@@ -326,7 +358,7 @@ class _DomainNewState:
|
|
|
326
358
|
@pulumi.getter
|
|
327
359
|
def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
328
360
|
"""
|
|
329
|
-
The tag of the resource
|
|
361
|
+
The tag of the resource
|
|
330
362
|
"""
|
|
331
363
|
return pulumi.get(self, "tags")
|
|
332
364
|
|
|
@@ -344,15 +376,19 @@ class DomainNew(pulumi.CustomResource):
|
|
|
344
376
|
certificate_config: Optional[pulumi.Input[Union['DomainNewCertificateConfigArgs', 'DomainNewCertificateConfigArgsDict']]] = None,
|
|
345
377
|
check_url: Optional[pulumi.Input[str]] = None,
|
|
346
378
|
domain_name: Optional[pulumi.Input[str]] = None,
|
|
379
|
+
env: Optional[pulumi.Input[str]] = None,
|
|
347
380
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
348
381
|
scope: Optional[pulumi.Input[str]] = None,
|
|
349
382
|
sources: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DomainNewSourceArgs', 'DomainNewSourceArgsDict']]]]] = None,
|
|
383
|
+
status: Optional[pulumi.Input[str]] = None,
|
|
350
384
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
351
385
|
__props__=None):
|
|
352
386
|
"""
|
|
353
|
-
Provides a CDN Domain resource.
|
|
387
|
+
Provides a CDN Domain resource.
|
|
354
388
|
|
|
355
|
-
|
|
389
|
+
CDN domain name.
|
|
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).
|
|
356
392
|
|
|
357
393
|
> **NOTE:** Available since v1.34.0.
|
|
358
394
|
|
|
@@ -392,17 +428,15 @@ class DomainNew(pulumi.CustomResource):
|
|
|
392
428
|
:param str resource_name: The name of the resource.
|
|
393
429
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
394
430
|
:param pulumi.Input[str] cdn_type: Cdn type of the accelerated domain. Valid values are `web`, `download`, `video`.
|
|
395
|
-
:param pulumi.Input[Union['DomainNewCertificateConfigArgs', 'DomainNewCertificateConfigArgsDict']] certificate_config: Certificate configuration
|
|
431
|
+
:param pulumi.Input[Union['DomainNewCertificateConfigArgs', 'DomainNewCertificateConfigArgsDict']] certificate_config: Certificate configuration See `certificate_config` below.
|
|
396
432
|
:param pulumi.Input[str] check_url: Health test URL.
|
|
397
433
|
: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.
|
|
398
435
|
:param pulumi.Input[str] resource_group_id: The ID of the resource group.
|
|
399
436
|
: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**.
|
|
404
437
|
:param pulumi.Input[Sequence[pulumi.Input[Union['DomainNewSourceArgs', 'DomainNewSourceArgsDict']]]] sources: The source address list of the accelerated domain. Defaults to null. See `sources` below.
|
|
405
|
-
:param pulumi.Input[
|
|
438
|
+
:param pulumi.Input[str] status: The status of the resource, valid values: `online`, `offline`.
|
|
439
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The tag of the resource
|
|
406
440
|
"""
|
|
407
441
|
...
|
|
408
442
|
@overload
|
|
@@ -411,9 +445,11 @@ class DomainNew(pulumi.CustomResource):
|
|
|
411
445
|
args: DomainNewArgs,
|
|
412
446
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
413
447
|
"""
|
|
414
|
-
Provides a CDN Domain resource.
|
|
448
|
+
Provides a CDN Domain resource.
|
|
449
|
+
|
|
450
|
+
CDN domain name.
|
|
415
451
|
|
|
416
|
-
For information about CDN Domain and how to use it, see [What is Domain](https://www.alibabacloud.com/help/en/cdn/
|
|
452
|
+
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).
|
|
417
453
|
|
|
418
454
|
> **NOTE:** Available since v1.34.0.
|
|
419
455
|
|
|
@@ -469,9 +505,11 @@ class DomainNew(pulumi.CustomResource):
|
|
|
469
505
|
certificate_config: Optional[pulumi.Input[Union['DomainNewCertificateConfigArgs', 'DomainNewCertificateConfigArgsDict']]] = None,
|
|
470
506
|
check_url: Optional[pulumi.Input[str]] = None,
|
|
471
507
|
domain_name: Optional[pulumi.Input[str]] = None,
|
|
508
|
+
env: Optional[pulumi.Input[str]] = None,
|
|
472
509
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
473
510
|
scope: Optional[pulumi.Input[str]] = None,
|
|
474
511
|
sources: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DomainNewSourceArgs', 'DomainNewSourceArgsDict']]]]] = None,
|
|
512
|
+
status: Optional[pulumi.Input[str]] = None,
|
|
475
513
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
476
514
|
__props__=None):
|
|
477
515
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
@@ -490,14 +528,15 @@ class DomainNew(pulumi.CustomResource):
|
|
|
490
528
|
if domain_name is None and not opts.urn:
|
|
491
529
|
raise TypeError("Missing required property 'domain_name'")
|
|
492
530
|
__props__.__dict__["domain_name"] = domain_name
|
|
531
|
+
__props__.__dict__["env"] = env
|
|
493
532
|
__props__.__dict__["resource_group_id"] = resource_group_id
|
|
494
533
|
__props__.__dict__["scope"] = scope
|
|
495
534
|
if sources is None and not opts.urn:
|
|
496
535
|
raise TypeError("Missing required property 'sources'")
|
|
497
536
|
__props__.__dict__["sources"] = sources
|
|
537
|
+
__props__.__dict__["status"] = status
|
|
498
538
|
__props__.__dict__["tags"] = tags
|
|
499
539
|
__props__.__dict__["cname"] = None
|
|
500
|
-
__props__.__dict__["status"] = None
|
|
501
540
|
super(DomainNew, __self__).__init__(
|
|
502
541
|
'alicloud:cdn/domainNew:DomainNew',
|
|
503
542
|
resource_name,
|
|
@@ -513,6 +552,7 @@ class DomainNew(pulumi.CustomResource):
|
|
|
513
552
|
check_url: Optional[pulumi.Input[str]] = None,
|
|
514
553
|
cname: Optional[pulumi.Input[str]] = None,
|
|
515
554
|
domain_name: Optional[pulumi.Input[str]] = None,
|
|
555
|
+
env: Optional[pulumi.Input[str]] = None,
|
|
516
556
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
517
557
|
scope: Optional[pulumi.Input[str]] = None,
|
|
518
558
|
sources: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DomainNewSourceArgs', 'DomainNewSourceArgsDict']]]]] = None,
|
|
@@ -526,19 +566,16 @@ class DomainNew(pulumi.CustomResource):
|
|
|
526
566
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
527
567
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
528
568
|
:param pulumi.Input[str] cdn_type: Cdn type of the accelerated domain. Valid values are `web`, `download`, `video`.
|
|
529
|
-
:param pulumi.Input[Union['DomainNewCertificateConfigArgs', 'DomainNewCertificateConfigArgsDict']] certificate_config: Certificate configuration
|
|
569
|
+
:param pulumi.Input[Union['DomainNewCertificateConfigArgs', 'DomainNewCertificateConfigArgsDict']] certificate_config: Certificate configuration See `certificate_config` below.
|
|
530
570
|
:param pulumi.Input[str] check_url: Health test URL.
|
|
531
571
|
:param pulumi.Input[str] cname: The CNAME domain name corresponding to the accelerated domain name.
|
|
532
572
|
: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.
|
|
533
574
|
:param pulumi.Input[str] resource_group_id: The ID of the resource group.
|
|
534
575
|
: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**.
|
|
539
576
|
:param pulumi.Input[Sequence[pulumi.Input[Union['DomainNewSourceArgs', 'DomainNewSourceArgsDict']]]] sources: The source address list of the accelerated domain. Defaults to null. See `sources` below.
|
|
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
|
|
577
|
+
:param pulumi.Input[str] status: The status of the resource, valid values: `online`, `offline`.
|
|
578
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The tag of the resource
|
|
542
579
|
"""
|
|
543
580
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
544
581
|
|
|
@@ -549,6 +586,7 @@ class DomainNew(pulumi.CustomResource):
|
|
|
549
586
|
__props__.__dict__["check_url"] = check_url
|
|
550
587
|
__props__.__dict__["cname"] = cname
|
|
551
588
|
__props__.__dict__["domain_name"] = domain_name
|
|
589
|
+
__props__.__dict__["env"] = env
|
|
552
590
|
__props__.__dict__["resource_group_id"] = resource_group_id
|
|
553
591
|
__props__.__dict__["scope"] = scope
|
|
554
592
|
__props__.__dict__["sources"] = sources
|
|
@@ -568,7 +606,7 @@ class DomainNew(pulumi.CustomResource):
|
|
|
568
606
|
@pulumi.getter(name="certificateConfig")
|
|
569
607
|
def certificate_config(self) -> pulumi.Output['outputs.DomainNewCertificateConfig']:
|
|
570
608
|
"""
|
|
571
|
-
Certificate configuration
|
|
609
|
+
Certificate configuration See `certificate_config` below.
|
|
572
610
|
"""
|
|
573
611
|
return pulumi.get(self, "certificate_config")
|
|
574
612
|
|
|
@@ -596,6 +634,14 @@ class DomainNew(pulumi.CustomResource):
|
|
|
596
634
|
"""
|
|
597
635
|
return pulumi.get(self, "domain_name")
|
|
598
636
|
|
|
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
|
+
|
|
599
645
|
@property
|
|
600
646
|
@pulumi.getter(name="resourceGroupId")
|
|
601
647
|
def resource_group_id(self) -> pulumi.Output[str]:
|
|
@@ -609,10 +655,6 @@ class DomainNew(pulumi.CustomResource):
|
|
|
609
655
|
def scope(self) -> pulumi.Output[str]:
|
|
610
656
|
"""
|
|
611
657
|
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**.
|
|
616
658
|
"""
|
|
617
659
|
return pulumi.get(self, "scope")
|
|
618
660
|
|
|
@@ -628,7 +670,7 @@ class DomainNew(pulumi.CustomResource):
|
|
|
628
670
|
@pulumi.getter
|
|
629
671
|
def status(self) -> pulumi.Output[str]:
|
|
630
672
|
"""
|
|
631
|
-
The status of the resource
|
|
673
|
+
The status of the resource, valid values: `online`, `offline`.
|
|
632
674
|
"""
|
|
633
675
|
return pulumi.get(self, "status")
|
|
634
676
|
|
|
@@ -636,7 +678,7 @@ class DomainNew(pulumi.CustomResource):
|
|
|
636
678
|
@pulumi.getter
|
|
637
679
|
def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
|
638
680
|
"""
|
|
639
|
-
The tag of the resource
|
|
681
|
+
The tag of the resource
|
|
640
682
|
"""
|
|
641
683
|
return pulumi.get(self, "tags")
|
|
642
684
|
|
pulumi_alicloud/cdn/outputs.py
CHANGED
|
@@ -309,8 +309,6 @@ 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"
|
|
314
312
|
elif key == "privateKey":
|
|
315
313
|
suggest = "private_key"
|
|
316
314
|
elif key == "serverCertificate":
|
|
@@ -334,7 +332,6 @@ class DomainNewCertificateConfig(dict):
|
|
|
334
332
|
cert_name: Optional[str] = None,
|
|
335
333
|
cert_region: Optional[str] = None,
|
|
336
334
|
cert_type: Optional[str] = None,
|
|
337
|
-
force_set: Optional[str] = None,
|
|
338
335
|
private_key: Optional[str] = None,
|
|
339
336
|
server_certificate: Optional[str] = None,
|
|
340
337
|
server_certificate_status: Optional[str] = None):
|
|
@@ -347,7 +344,6 @@ class DomainNewCertificateConfig(dict):
|
|
|
347
344
|
- **cas**: Cloud Shield certificate.
|
|
348
345
|
- **free**: free certificate.
|
|
349
346
|
> 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.
|
|
351
347
|
: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.
|
|
352
348
|
: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.
|
|
353
349
|
:param str server_certificate_status: Whether the HTTPS certificate is enabled. Value:
|
|
@@ -362,8 +358,6 @@ class DomainNewCertificateConfig(dict):
|
|
|
362
358
|
pulumi.set(__self__, "cert_region", cert_region)
|
|
363
359
|
if cert_type is not None:
|
|
364
360
|
pulumi.set(__self__, "cert_type", cert_type)
|
|
365
|
-
if force_set is not None:
|
|
366
|
-
pulumi.set(__self__, "force_set", force_set)
|
|
367
361
|
if private_key is not None:
|
|
368
362
|
pulumi.set(__self__, "private_key", private_key)
|
|
369
363
|
if server_certificate is not None:
|
|
@@ -407,14 +401,6 @@ class DomainNewCertificateConfig(dict):
|
|
|
407
401
|
"""
|
|
408
402
|
return pulumi.get(self, "cert_type")
|
|
409
403
|
|
|
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
|
-
|
|
418
404
|
@property
|
|
419
405
|
@pulumi.getter(name="privateKey")
|
|
420
406
|
def private_key(self) -> Optional[str]:
|
|
@@ -455,7 +441,7 @@ class DomainNewSource(dict):
|
|
|
455
441
|
:param int port: The port of source. Valid values are `443` and `80`. Default value is `80`.
|
|
456
442
|
:param int priority: Priority of the source. Valid values are `0` and `100`. Default value is `20`.
|
|
457
443
|
:param str type: The type of the source. Valid values are `ipaddr`, `domain` and `oss`.
|
|
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`.
|
|
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`.
|
|
459
445
|
"""
|
|
460
446
|
if content is not None:
|
|
461
447
|
pulumi.set(__self__, "content", content)
|
|
@@ -504,7 +490,7 @@ class DomainNewSource(dict):
|
|
|
504
490
|
@pulumi.getter
|
|
505
491
|
def weight(self) -> Optional[int]:
|
|
506
492
|
"""
|
|
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`.
|
|
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`.
|
|
508
494
|
"""
|
|
509
495
|
return pulumi.get(self, "weight")
|
|
510
496
|
|