pulumi-alicloud 3.62.0a1724995491__py3-none-any.whl → 3.62.0a1725600316__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/brain/get_industrial_pid_loops.py +18 -2
- pulumi_alicloud/brain/get_industrial_pid_organizations.py +12 -2
- pulumi_alicloud/brain/get_industrial_pid_projects.py +18 -2
- pulumi_alicloud/brain/get_industrial_serice.py +6 -2
- pulumi_alicloud/brain/industrial_pid_loop.py +6 -2
- pulumi_alicloud/brain/industrial_pid_organization.py +4 -4
- pulumi_alicloud/brain/industrial_pid_project.py +4 -4
- pulumi_alicloud/cas/certificate.py +155 -13
- pulumi_alicloud/cas/service_certificate.py +9 -30
- pulumi_alicloud/cdn/real_time_log_delivery.py +2 -2
- pulumi_alicloud/cen/get_transit_router_route_tables.py +81 -14
- pulumi_alicloud/cen/outputs.py +6 -2
- pulumi_alicloud/cfg/remediation.py +6 -2
- pulumi_alicloud/clickhouse/account.py +2 -2
- pulumi_alicloud/clickhouse/backup_policy.py +2 -2
- pulumi_alicloud/cloudfirewall/instance.py +2 -0
- pulumi_alicloud/cs/_inputs.py +141 -21
- pulumi_alicloud/cs/kubernetes.py +7 -7
- pulumi_alicloud/cs/managed_kubernetes.py +506 -45
- pulumi_alicloud/cs/outputs.py +148 -21
- pulumi_alicloud/cs/registry_enterprise_namespace.py +92 -72
- pulumi_alicloud/cs/registry_enterprise_repo.py +96 -74
- pulumi_alicloud/cs/registry_enterprise_sync_rule.py +105 -101
- pulumi_alicloud/cs/serverless_kubernetes.py +174 -206
- pulumi_alicloud/databasefilesystem/instance.py +2 -2
- pulumi_alicloud/dts/consumer_channel.py +2 -2
- pulumi_alicloud/dts/subscription_job.py +2 -2
- pulumi_alicloud/ecs/auto_provisioning_group.py +2 -2
- pulumi_alicloud/ehpc/get_clusters.py +11 -2
- pulumi_alicloud/ehpc/get_job_templates.py +5 -2
- pulumi_alicloud/ehpc/job_template.py +2 -2
- pulumi_alicloud/ehpc/outputs.py +34 -2
- pulumi_alicloud/fc/function.py +6 -6
- pulumi_alicloud/fc/function_async_invoke_config.py +2 -2
- pulumi_alicloud/fc/trigger.py +2 -2
- pulumi_alicloud/gpdb/account.py +0 -4
- pulumi_alicloud/gpdb/connection.py +0 -4
- pulumi_alicloud/log/alert.py +30 -28
- pulumi_alicloud/log/audit.py +2 -0
- pulumi_alicloud/log/dashboard.py +8 -8
- pulumi_alicloud/log/etl.py +26 -26
- pulumi_alicloud/log/ingestion.py +10 -10
- pulumi_alicloud/log/log_tail_attachment.py +14 -14
- pulumi_alicloud/log/log_tail_config.py +10 -10
- pulumi_alicloud/log/machine_group.py +4 -4
- pulumi_alicloud/log/oss_export.py +10 -10
- pulumi_alicloud/log/project.py +4 -4
- pulumi_alicloud/log/store_index.py +10 -10
- pulumi_alicloud/nlb/server_group.py +2 -2
- pulumi_alicloud/oos/service_setting.py +10 -8
- pulumi_alicloud/oss/bucket.py +18 -10
- pulumi_alicloud/oss/bucket_object.py +12 -8
- pulumi_alicloud/oss/bucket_replication.py +2 -2
- pulumi_alicloud/polardb/cluster.py +75 -21
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/pvtz/zone_record.py +2 -2
- pulumi_alicloud/ram/access_key.py +4 -0
- pulumi_alicloud/rds/account_privilege.py +2 -2
- pulumi_alicloud/rds/backup_policy.py +270 -12
- pulumi_alicloud/rds/database.py +49 -7
- pulumi_alicloud/rds/instance.py +4 -2
- pulumi_alicloud/rocketmq/group.py +2 -2
- pulumi_alicloud/rocketmq/topic.py +2 -2
- pulumi_alicloud/sls/alert.py +6 -6
- pulumi_alicloud/sls/scheduled_sql.py +10 -10
- pulumi_alicloud/vpc/ha_vip_attachment.py +2 -2
- pulumi_alicloud/vpc/ipv6_internet_bandwidth.py +4 -4
- pulumi_alicloud/vpc/route_table_attachment.py +4 -4
- pulumi_alicloud/vpc/traffic_mirror_filter_ingress_rule.py +2 -2
- {pulumi_alicloud-3.62.0a1724995491.dist-info → pulumi_alicloud-3.62.0a1725600316.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.62.0a1724995491.dist-info → pulumi_alicloud-3.62.0a1725600316.dist-info}/RECORD +73 -73
- {pulumi_alicloud-3.62.0a1724995491.dist-info → pulumi_alicloud-3.62.0a1725600316.dist-info}/WHEEL +1 -1
- {pulumi_alicloud-3.62.0a1724995491.dist-info → pulumi_alicloud-3.62.0a1725600316.dist-info}/top_level.txt +0 -0
|
@@ -75,6 +75,9 @@ class GetIndustrialPidLoopsResult:
|
|
|
75
75
|
@property
|
|
76
76
|
@pulumi.getter
|
|
77
77
|
def loops(self) -> Sequence['outputs.GetIndustrialPidLoopsLoopResult']:
|
|
78
|
+
"""
|
|
79
|
+
A list of Brain Industrial Pid Loops. Each element contains the following attributes:
|
|
80
|
+
"""
|
|
78
81
|
return pulumi.get(self, "loops")
|
|
79
82
|
|
|
80
83
|
@property
|
|
@@ -85,6 +88,9 @@ class GetIndustrialPidLoopsResult:
|
|
|
85
88
|
@property
|
|
86
89
|
@pulumi.getter
|
|
87
90
|
def names(self) -> Sequence[str]:
|
|
91
|
+
"""
|
|
92
|
+
A list of Pid Loop names.
|
|
93
|
+
"""
|
|
88
94
|
return pulumi.get(self, "names")
|
|
89
95
|
|
|
90
96
|
@property
|
|
@@ -95,6 +101,9 @@ class GetIndustrialPidLoopsResult:
|
|
|
95
101
|
@property
|
|
96
102
|
@pulumi.getter(name="pidLoopName")
|
|
97
103
|
def pid_loop_name(self) -> Optional[str]:
|
|
104
|
+
"""
|
|
105
|
+
The name of Pid Loop.
|
|
106
|
+
"""
|
|
98
107
|
return pulumi.get(self, "pid_loop_name")
|
|
99
108
|
|
|
100
109
|
@property
|
|
@@ -105,6 +114,9 @@ class GetIndustrialPidLoopsResult:
|
|
|
105
114
|
@property
|
|
106
115
|
@pulumi.getter
|
|
107
116
|
def status(self) -> Optional[str]:
|
|
117
|
+
"""
|
|
118
|
+
The status of Pid Loop.
|
|
119
|
+
"""
|
|
108
120
|
return pulumi.get(self, "status")
|
|
109
121
|
|
|
110
122
|
|
|
@@ -137,7 +149,9 @@ def get_industrial_pid_loops(enable_details: Optional[bool] = None,
|
|
|
137
149
|
"""
|
|
138
150
|
This data source provides the Brain Industrial Pid Loops of the current Alibaba Cloud user.
|
|
139
151
|
|
|
140
|
-
> **NOTE:** Available
|
|
152
|
+
> **NOTE:** Available since v1.117.0.
|
|
153
|
+
|
|
154
|
+
> **DEPRECATED:** This data source has been deprecated from version `1.229.1`.
|
|
141
155
|
|
|
142
156
|
## Example Usage
|
|
143
157
|
|
|
@@ -197,7 +211,9 @@ def get_industrial_pid_loops_output(enable_details: Optional[pulumi.Input[Option
|
|
|
197
211
|
"""
|
|
198
212
|
This data source provides the Brain Industrial Pid Loops of the current Alibaba Cloud user.
|
|
199
213
|
|
|
200
|
-
> **NOTE:** Available
|
|
214
|
+
> **NOTE:** Available since v1.117.0.
|
|
215
|
+
|
|
216
|
+
> **DEPRECATED:** This data source has been deprecated from version `1.229.1`.
|
|
201
217
|
|
|
202
218
|
## Example Usage
|
|
203
219
|
|
|
@@ -66,11 +66,17 @@ class GetIndustrialPidOrganizationsResult:
|
|
|
66
66
|
@property
|
|
67
67
|
@pulumi.getter
|
|
68
68
|
def names(self) -> Sequence[str]:
|
|
69
|
+
"""
|
|
70
|
+
A list of Pid Organization names.
|
|
71
|
+
"""
|
|
69
72
|
return pulumi.get(self, "names")
|
|
70
73
|
|
|
71
74
|
@property
|
|
72
75
|
@pulumi.getter
|
|
73
76
|
def organizations(self) -> Sequence['outputs.GetIndustrialPidOrganizationsOrganizationResult']:
|
|
77
|
+
"""
|
|
78
|
+
A list of Brain Industrial Pid Organizations. Each element contains the following attributes:
|
|
79
|
+
"""
|
|
74
80
|
return pulumi.get(self, "organizations")
|
|
75
81
|
|
|
76
82
|
@property
|
|
@@ -107,7 +113,9 @@ def get_industrial_pid_organizations(ids: Optional[Sequence[str]] = None,
|
|
|
107
113
|
"""
|
|
108
114
|
This data source provides the Brain Industrial Pid Organizations of the current Alibaba Cloud user.
|
|
109
115
|
|
|
110
|
-
> **NOTE:** Available
|
|
116
|
+
> **NOTE:** Available since v1.113.0.
|
|
117
|
+
|
|
118
|
+
> **DEPRECATED:** This data source has been deprecated from version `1.229.1`.
|
|
111
119
|
|
|
112
120
|
## Example Usage
|
|
113
121
|
|
|
@@ -155,7 +163,9 @@ def get_industrial_pid_organizations_output(ids: Optional[pulumi.Input[Optional[
|
|
|
155
163
|
"""
|
|
156
164
|
This data source provides the Brain Industrial Pid Organizations of the current Alibaba Cloud user.
|
|
157
165
|
|
|
158
|
-
> **NOTE:** Available
|
|
166
|
+
> **NOTE:** Available since v1.113.0.
|
|
167
|
+
|
|
168
|
+
> **DEPRECATED:** This data source has been deprecated from version `1.229.1`.
|
|
159
169
|
|
|
160
170
|
## Example Usage
|
|
161
171
|
|
|
@@ -69,6 +69,9 @@ class GetIndustrialPidProjectsResult:
|
|
|
69
69
|
@property
|
|
70
70
|
@pulumi.getter
|
|
71
71
|
def names(self) -> Sequence[str]:
|
|
72
|
+
"""
|
|
73
|
+
A list of Pid Project names.
|
|
74
|
+
"""
|
|
72
75
|
return pulumi.get(self, "names")
|
|
73
76
|
|
|
74
77
|
@property
|
|
@@ -79,16 +82,25 @@ class GetIndustrialPidProjectsResult:
|
|
|
79
82
|
@property
|
|
80
83
|
@pulumi.getter(name="pidOrganizationId")
|
|
81
84
|
def pid_organization_id(self) -> Optional[str]:
|
|
85
|
+
"""
|
|
86
|
+
The ID of Pid Organization.
|
|
87
|
+
"""
|
|
82
88
|
return pulumi.get(self, "pid_organization_id")
|
|
83
89
|
|
|
84
90
|
@property
|
|
85
91
|
@pulumi.getter(name="pidProjectName")
|
|
86
92
|
def pid_project_name(self) -> Optional[str]:
|
|
93
|
+
"""
|
|
94
|
+
The name of Pid Project.
|
|
95
|
+
"""
|
|
87
96
|
return pulumi.get(self, "pid_project_name")
|
|
88
97
|
|
|
89
98
|
@property
|
|
90
99
|
@pulumi.getter
|
|
91
100
|
def projects(self) -> Sequence['outputs.GetIndustrialPidProjectsProjectResult']:
|
|
101
|
+
"""
|
|
102
|
+
A list of Brain Industrial Pid Projects. Each element contains the following attributes:
|
|
103
|
+
"""
|
|
92
104
|
return pulumi.get(self, "projects")
|
|
93
105
|
|
|
94
106
|
|
|
@@ -117,7 +129,9 @@ def get_industrial_pid_projects(ids: Optional[Sequence[str]] = None,
|
|
|
117
129
|
"""
|
|
118
130
|
This data source provides the Brain Industrial Pid Projects of the current Alibaba Cloud user.
|
|
119
131
|
|
|
120
|
-
> **NOTE:** Available
|
|
132
|
+
> **NOTE:** Available since v1.113.0.
|
|
133
|
+
|
|
134
|
+
> **DEPRECATED:** This data source has been deprecated from version `1.229.1`.
|
|
121
135
|
|
|
122
136
|
## Example Usage
|
|
123
137
|
|
|
@@ -169,7 +183,9 @@ def get_industrial_pid_projects_output(ids: Optional[pulumi.Input[Optional[Seque
|
|
|
169
183
|
"""
|
|
170
184
|
This data source provides the Brain Industrial Pid Projects of the current Alibaba Cloud user.
|
|
171
185
|
|
|
172
|
-
> **NOTE:** Available
|
|
186
|
+
> **NOTE:** Available since v1.113.0.
|
|
187
|
+
|
|
188
|
+
> **DEPRECATED:** This data source has been deprecated from version `1.229.1`.
|
|
173
189
|
|
|
174
190
|
## Example Usage
|
|
175
191
|
|
|
@@ -70,10 +70,12 @@ def get_industrial_serice(enable: Optional[str] = None,
|
|
|
70
70
|
"""
|
|
71
71
|
Using this data source can open Brain Industrial service automatically. If the service has been opened, it will return opened.
|
|
72
72
|
|
|
73
|
-
> **NOTE:** Available
|
|
73
|
+
> **NOTE:** Available since v1.115.0.
|
|
74
74
|
|
|
75
75
|
> **NOTE:** The Brain Industrial service is not support in the international site.
|
|
76
76
|
|
|
77
|
+
> **DEPRECATED:** This data source has been deprecated from version `1.229.1`.
|
|
78
|
+
|
|
77
79
|
## Example Usage
|
|
78
80
|
|
|
79
81
|
```python
|
|
@@ -105,10 +107,12 @@ def get_industrial_serice_output(enable: Optional[pulumi.Input[Optional[str]]] =
|
|
|
105
107
|
"""
|
|
106
108
|
Using this data source can open Brain Industrial service automatically. If the service has been opened, it will return opened.
|
|
107
109
|
|
|
108
|
-
> **NOTE:** Available
|
|
110
|
+
> **NOTE:** Available since v1.115.0.
|
|
109
111
|
|
|
110
112
|
> **NOTE:** The Brain Industrial service is not support in the international site.
|
|
111
113
|
|
|
114
|
+
> **DEPRECATED:** This data source has been deprecated from version `1.229.1`.
|
|
115
|
+
|
|
112
116
|
## Example Usage
|
|
113
117
|
|
|
114
118
|
```python
|
|
@@ -277,7 +277,9 @@ class IndustrialPidLoop(pulumi.CustomResource):
|
|
|
277
277
|
"""
|
|
278
278
|
Provides a Brain Industrial Pid Loop resource.
|
|
279
279
|
|
|
280
|
-
> **NOTE:** Available
|
|
280
|
+
> **NOTE:** Available since v1.117.0.
|
|
281
|
+
|
|
282
|
+
> **DEPRECATED:** This resource has been deprecated from version `1.229.1`.
|
|
281
283
|
|
|
282
284
|
## Example Usage
|
|
283
285
|
|
|
@@ -323,7 +325,9 @@ class IndustrialPidLoop(pulumi.CustomResource):
|
|
|
323
325
|
"""
|
|
324
326
|
Provides a Brain Industrial Pid Loop resource.
|
|
325
327
|
|
|
326
|
-
> **NOTE:** Available
|
|
328
|
+
> **NOTE:** Available since v1.117.0.
|
|
329
|
+
|
|
330
|
+
> **DEPRECATED:** This resource has been deprecated from version `1.229.1`.
|
|
327
331
|
|
|
328
332
|
## Example Usage
|
|
329
333
|
|
|
@@ -101,9 +101,9 @@ class IndustrialPidOrganization(pulumi.CustomResource):
|
|
|
101
101
|
"""
|
|
102
102
|
Provides a Brain Industrial Pid Organization resource.
|
|
103
103
|
|
|
104
|
-
> **NOTE:** Available
|
|
104
|
+
> **NOTE:** Available since v1.113.0.
|
|
105
105
|
|
|
106
|
-
> **DEPRECATED:** This resource has been from version `1.222.0`.
|
|
106
|
+
> **DEPRECATED:** This resource has been deprecated from version `1.222.0`.
|
|
107
107
|
|
|
108
108
|
## Example Usage
|
|
109
109
|
|
|
@@ -138,9 +138,9 @@ class IndustrialPidOrganization(pulumi.CustomResource):
|
|
|
138
138
|
"""
|
|
139
139
|
Provides a Brain Industrial Pid Organization resource.
|
|
140
140
|
|
|
141
|
-
> **NOTE:** Available
|
|
141
|
+
> **NOTE:** Available since v1.113.0.
|
|
142
142
|
|
|
143
|
-
> **DEPRECATED:** This resource has been from version `1.222.0`.
|
|
143
|
+
> **DEPRECATED:** This resource has been deprecated from version `1.222.0`.
|
|
144
144
|
|
|
145
145
|
## Example Usage
|
|
146
146
|
|
|
@@ -133,9 +133,9 @@ class IndustrialPidProject(pulumi.CustomResource):
|
|
|
133
133
|
"""
|
|
134
134
|
Provides a Brain Industrial Pid Project resource.
|
|
135
135
|
|
|
136
|
-
> **NOTE:** Available
|
|
136
|
+
> **NOTE:** Available since v1.113.0.
|
|
137
137
|
|
|
138
|
-
> **DEPRECATED:** This resource has been from version `1.222.0`.
|
|
138
|
+
> **DEPRECATED:** This resource has been deprecated from version `1.222.0`.
|
|
139
139
|
|
|
140
140
|
## Example Usage
|
|
141
141
|
|
|
@@ -173,9 +173,9 @@ class IndustrialPidProject(pulumi.CustomResource):
|
|
|
173
173
|
"""
|
|
174
174
|
Provides a Brain Industrial Pid Project resource.
|
|
175
175
|
|
|
176
|
-
> **NOTE:** Available
|
|
176
|
+
> **NOTE:** Available since v1.113.0.
|
|
177
177
|
|
|
178
|
-
> **DEPRECATED:** This resource has been from version `1.222.0`.
|
|
178
|
+
> **DEPRECATED:** This resource has been deprecated from version `1.222.0`.
|
|
179
179
|
|
|
180
180
|
## Example Usage
|
|
181
181
|
|
|
@@ -23,7 +23,7 @@ class CertificateArgs:
|
|
|
23
23
|
The set of arguments for constructing a Certificate resource.
|
|
24
24
|
:param pulumi.Input[str] cert: Cert of the Certificate in which the Certificate will add.
|
|
25
25
|
:param pulumi.Input[str] key: Key of the Certificate in which the Certificate will add.
|
|
26
|
-
:param pulumi.Input[str] name: Name of the Certificate. This name
|
|
26
|
+
:param pulumi.Input[str] name: Name of the Certificate. This name 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.
|
|
27
27
|
"""
|
|
28
28
|
pulumi.set(__self__, "cert", cert)
|
|
29
29
|
pulumi.set(__self__, "key", key)
|
|
@@ -84,7 +84,7 @@ class CertificateArgs:
|
|
|
84
84
|
@_utilities.deprecated("""attribute 'name' has been deprecated from provider version 1.129.0 and it will be remove in the future version. Please use the new attribute 'certificate_name' instead.""")
|
|
85
85
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
86
86
|
"""
|
|
87
|
-
Name of the Certificate. This name
|
|
87
|
+
Name of the Certificate. This name 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.
|
|
88
88
|
"""
|
|
89
89
|
return pulumi.get(self, "name")
|
|
90
90
|
|
|
@@ -105,7 +105,7 @@ class _CertificateState:
|
|
|
105
105
|
Input properties used for looking up and filtering Certificate resources.
|
|
106
106
|
:param pulumi.Input[str] cert: Cert of the Certificate in which the Certificate will add.
|
|
107
107
|
:param pulumi.Input[str] key: Key of the Certificate in which the Certificate will add.
|
|
108
|
-
:param pulumi.Input[str] name: Name of the Certificate. This name
|
|
108
|
+
:param pulumi.Input[str] name: Name of the Certificate. This name 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.
|
|
109
109
|
"""
|
|
110
110
|
if cert is not None:
|
|
111
111
|
pulumi.set(__self__, "cert", cert)
|
|
@@ -168,7 +168,7 @@ class _CertificateState:
|
|
|
168
168
|
@_utilities.deprecated("""attribute 'name' has been deprecated from provider version 1.129.0 and it will be remove in the future version. Please use the new attribute 'certificate_name' instead.""")
|
|
169
169
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
170
170
|
"""
|
|
171
|
-
Name of the Certificate. This name
|
|
171
|
+
Name of the Certificate. This name 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.
|
|
172
172
|
"""
|
|
173
173
|
return pulumi.get(self, "name")
|
|
174
174
|
|
|
@@ -194,21 +194,92 @@ class Certificate(pulumi.CustomResource):
|
|
|
194
194
|
name: Optional[pulumi.Input[str]] = None,
|
|
195
195
|
__props__=None):
|
|
196
196
|
"""
|
|
197
|
-
> **DEPRECATED:** This datasource has been deprecated from version `1.129.0`. Please use new datasource alicloud_ssl_certificates_service_certificate.
|
|
198
|
-
|
|
199
197
|
Provides a CAS Certificate resource.
|
|
200
198
|
|
|
199
|
+
For information about SSL Certificates Certificate and how to use it, see [What is Certificate](https://www.alibabacloud.com/help/product/28533.html).
|
|
200
|
+
|
|
201
|
+
> **NOTE:** Available since v1.35.0.
|
|
202
|
+
|
|
203
|
+
> **NOTE:** Deprecated since v1.129.0.
|
|
204
|
+
|
|
201
205
|
> **NOTE:** The Certificate name which you want to add must be already registered and had not added by another account. Every Certificate name can only exist in a unique group.
|
|
202
206
|
|
|
203
207
|
> **NOTE:** The Cas Certificate region only support cn-hangzhou, me-east-1, eu-central-1, ap-northeast-1.
|
|
204
208
|
|
|
205
|
-
> **
|
|
209
|
+
> **DEPRECATED:** This resource has been deprecated from version `1.129.0`. Please use new resource alicloud_ssl_certificates_service_certificate.
|
|
210
|
+
|
|
211
|
+
## Example Usage
|
|
212
|
+
|
|
213
|
+
Basic Usage
|
|
214
|
+
|
|
215
|
+
```python
|
|
216
|
+
import pulumi
|
|
217
|
+
import pulumi_alicloud as alicloud
|
|
218
|
+
import pulumi_random as random
|
|
219
|
+
|
|
220
|
+
default = random.index.Integer("default",
|
|
221
|
+
min=10000,
|
|
222
|
+
max=99999)
|
|
223
|
+
default_certificate = alicloud.cas.Certificate("default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f3Kkcfszlfp45idOBGCu46V9NDVbppT
|
|
270
|
+
2UmrSIR/H5dbTXsNcAlt/hhlpeInjhkU1VqmH10CgYEA7Kk+QhWq705SczpWjm5J
|
|
271
|
+
9kHqfFzJLwAWNBduiia0WypgPhLe/4wT1rYQkBtKMVKrgFo7Cvi4YKlrtlDnXyeU
|
|
272
|
+
CIFqfEL5NriQelqrFsvgHsmD+MpvDoSWm5C8IrTubtlNyWUzXSVT4OIwzPobzPqG
|
|
273
|
+
LILJ+e7bLw8RrM0HfgFnl8c=
|
|
274
|
+
-----END PRIVATE KEY-----
|
|
275
|
+
\"\"\")
|
|
276
|
+
```
|
|
206
277
|
|
|
207
278
|
:param str resource_name: The name of the resource.
|
|
208
279
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
209
280
|
:param pulumi.Input[str] cert: Cert of the Certificate in which the Certificate will add.
|
|
210
281
|
:param pulumi.Input[str] key: Key of the Certificate in which the Certificate will add.
|
|
211
|
-
:param pulumi.Input[str] name: Name of the Certificate. This name
|
|
282
|
+
:param pulumi.Input[str] name: Name of the Certificate. This name 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.
|
|
212
283
|
"""
|
|
213
284
|
...
|
|
214
285
|
@overload
|
|
@@ -217,15 +288,86 @@ class Certificate(pulumi.CustomResource):
|
|
|
217
288
|
args: CertificateArgs,
|
|
218
289
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
219
290
|
"""
|
|
220
|
-
> **DEPRECATED:** This datasource has been deprecated from version `1.129.0`. Please use new datasource alicloud_ssl_certificates_service_certificate.
|
|
221
|
-
|
|
222
291
|
Provides a CAS Certificate resource.
|
|
223
292
|
|
|
293
|
+
For information about SSL Certificates Certificate and how to use it, see [What is Certificate](https://www.alibabacloud.com/help/product/28533.html).
|
|
294
|
+
|
|
295
|
+
> **NOTE:** Available since v1.35.0.
|
|
296
|
+
|
|
297
|
+
> **NOTE:** Deprecated since v1.129.0.
|
|
298
|
+
|
|
224
299
|
> **NOTE:** The Certificate name which you want to add must be already registered and had not added by another account. Every Certificate name can only exist in a unique group.
|
|
225
300
|
|
|
226
301
|
> **NOTE:** The Cas Certificate region only support cn-hangzhou, me-east-1, eu-central-1, ap-northeast-1.
|
|
227
302
|
|
|
228
|
-
> **
|
|
303
|
+
> **DEPRECATED:** This resource has been deprecated from version `1.129.0`. Please use new resource alicloud_ssl_certificates_service_certificate.
|
|
304
|
+
|
|
305
|
+
## Example Usage
|
|
306
|
+
|
|
307
|
+
Basic Usage
|
|
308
|
+
|
|
309
|
+
```python
|
|
310
|
+
import pulumi
|
|
311
|
+
import pulumi_alicloud as alicloud
|
|
312
|
+
import pulumi_random as random
|
|
313
|
+
|
|
314
|
+
default = random.index.Integer("default",
|
|
315
|
+
min=10000,
|
|
316
|
+
max=99999)
|
|
317
|
+
default_certificate = alicloud.cas.Certificate("default",
|
|
318
|
+
name=f"tf-example-{default['result']}",
|
|
319
|
+
cert=\"\"\"-----BEGIN CERTIFICATE-----
|
|
320
|
+
MIIDeDCCAmCgAwIBAgIEN3ZT6zANBgkqhkiG9w0BAQsFADBVMQswCQYDVQQGEwJD
|
|
321
|
+
TjEVMBMGA1UEAwwMKi50ZnRlc3QudG9wMRAwDgYDVQQIDAdCZWlKaW5nMRAwDgYD
|
|
322
|
+
VQQHDAdCZWlKaW5nMQswCQYDVQQKDAJBQTAeFw0yMzA4MjgwNjQ5NDNaFw0yNTA4
|
|
323
|
+
MjcwNjQ5NDNaMFUxCzAJBgNVBAYTAkNOMRUwEwYDVQQDDAwqLnRmdGVzdC50b3Ax
|
|
324
|
+
EDAOBgNVBAgMB0JlaUppbmcxEDAOBgNVBAcMB0JlaUppbmcxCzAJBgNVBAoMAkFB
|
|
325
|
+
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAzkk9NJUH7PLSQK4RRrGQ
|
|
326
|
+
Y5dVsftkhnKh9HhI6yrnlowWIDPS1PZHOU/5gQ7xPUPGdKQV5S7x8wROnAaXEimx
|
|
327
|
+
N4GdQw25pGhRJvlwme9fzJJiSe6lG49NCxmuBiEdJAzPKaTPpK1cG1f1TqdgCfHR
|
|
328
|
+
HAL6Jxb3ylHG2LlTNFLXikubUi5RT6/9C8psr713Zm4HveCI/cx0WdgZ+fmsc9ft
|
|
329
|
+
rkIB1DdyV1kQ51m8r2rLi3J7aC5ggGOiex/VlGSd4e6SOQLpdQEdDbodtOJ4LgVk
|
|
330
|
+
+arFNCMinUWIOPGFzXhdm6lssPbh4MOBrz8c/M9TcF4hoMn5/o/9johZIZ/DOvXt
|
|
331
|
+
ZQIDAQABo1AwTjAdBgNVHQ4EFgQUOnWiddgeZj17IeysatqhE361o5YwHwYDVR0j
|
|
332
|
+
BBgwFoAUOnWiddgeZj17IeysatqhE361o5YwDAYDVR0TBAUwAwEB/zANBgkqhkiG
|
|
333
|
+
9w0BAQsFAAOCAQEAfh3cnOszHM/5wXjY7BIkmgDOReksS+87ibhBz7T2ddZj+yCF
|
|
334
|
+
9GdIBzXCiHpQFXpW8a3kc3I7l3nGfMTkmF6ld3ot/6SXP17QKJwxtvUA4ib8QkWD
|
|
335
|
+
S7FT+UcHCUHv42Sh1e5uAlQ5pMSul7iKcR7jwlwZGZ0905HOqrmdyUGJ+Ud2uZWD
|
|
336
|
+
AC0dJF6Bv9VhNtci8Imp05PaPH09deXLZu8LRrKRZFy9qLW5R6Swv7nzxckOAqDk
|
|
337
|
+
TTc40xwvQROekWUyxeJL7xaHuylUHE0bxsiIfx5bZsBizRjprIwGlj85CSPuTZyP
|
|
338
|
+
DPfaiZAN/61h5HNAnxLltOZfqabKYYw7l9LBDg==
|
|
339
|
+
-----END CERTIFICATE-----
|
|
340
|
+
\"\"\",
|
|
341
|
+
key=\"\"\"-----BEGIN PRIVATE KEY-----
|
|
342
|
+
MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQDOST00lQfs8tJA
|
|
343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
|
357
|
+
i9qU6VzZKG7Axc5gA9yq6tHp3vWPI4bNdvwqIIa/nzVILjGA5fcYFbRN+7gHwo8s
|
|
358
|
+
rNAgi5PAoKWqQRovyJRY9Eq/sn6l1jbJZAOUAMZMWDm8z89OqK7PNQSIAtfFSneo
|
|
359
|
+
2QxJkGeTLwKBgGJkafBB8af9b1/7YWISLepPNPbihH/BhMThAMGEdAVs2TaymtA4
|
|
360
|
+
g1OFck/1pSVUtFXcbmjbf8ntruQcYbLQuNz6lFXsUXP9QPwCUrbE85ouL2bZSps2
|
|
361
|
+
AvsJoPzUKe2nBUAp6CUrkjPaAJYsc6ae8X/fAaRRfeu33ef9+OV4yrq3AoGAYFZo
|
|
362
|
+
ZmfrN2Kdkt7Z6dLTEVPlsMfGQ6pyNmxdM9rkzzNC0JcGymfDIb7RE35T3+hTy6La
|
|
363
|
+
AMiCXv3xn6qAzY2NFh87tpPlyymWMOLTnf3Kkcfszlfp45idOBGCu46V9NDVbppT
|
|
364
|
+
2UmrSIR/H5dbTXsNcAlt/hhlpeInjhkU1VqmH10CgYEA7Kk+QhWq705SczpWjm5J
|
|
365
|
+
9kHqfFzJLwAWNBduiia0WypgPhLe/4wT1rYQkBtKMVKrgFo7Cvi4YKlrtlDnXyeU
|
|
366
|
+
CIFqfEL5NriQelqrFsvgHsmD+MpvDoSWm5C8IrTubtlNyWUzXSVT4OIwzPobzPqG
|
|
367
|
+
LILJ+e7bLw8RrM0HfgFnl8c=
|
|
368
|
+
-----END PRIVATE KEY-----
|
|
369
|
+
\"\"\")
|
|
370
|
+
```
|
|
229
371
|
|
|
230
372
|
:param str resource_name: The name of the resource.
|
|
231
373
|
:param CertificateArgs args: The arguments to use to populate this resource's properties.
|
|
@@ -290,7 +432,7 @@ class Certificate(pulumi.CustomResource):
|
|
|
290
432
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
291
433
|
:param pulumi.Input[str] cert: Cert of the Certificate in which the Certificate will add.
|
|
292
434
|
:param pulumi.Input[str] key: Key of the Certificate in which the Certificate will add.
|
|
293
|
-
:param pulumi.Input[str] name: Name of the Certificate. This name
|
|
435
|
+
:param pulumi.Input[str] name: Name of the Certificate. This name 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.
|
|
294
436
|
"""
|
|
295
437
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
296
438
|
|
|
@@ -334,7 +476,7 @@ class Certificate(pulumi.CustomResource):
|
|
|
334
476
|
@_utilities.deprecated("""attribute 'name' has been deprecated from provider version 1.129.0 and it will be remove in the future version. Please use the new attribute 'certificate_name' instead.""")
|
|
335
477
|
def name(self) -> pulumi.Output[str]:
|
|
336
478
|
"""
|
|
337
|
-
Name of the Certificate. This name
|
|
479
|
+
Name of the Certificate. This name 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.
|
|
338
480
|
"""
|
|
339
481
|
return pulumi.get(self, "name")
|
|
340
482
|
|
|
@@ -23,10 +23,7 @@ class ServiceCertificateArgs:
|
|
|
23
23
|
The set of arguments for constructing a ServiceCertificate resource.
|
|
24
24
|
:param pulumi.Input[str] cert: Cert of the Certificate in which the Certificate will add.
|
|
25
25
|
:param pulumi.Input[str] key: Key of the Certificate in which the Certificate will add.
|
|
26
|
-
:param pulumi.Input[str] certificate_name: Name of the Certificate.
|
|
27
|
-
This name without suffix can have a string of 1 to 63 characters, must contain only alphanumeric characters or "-",
|
|
28
|
-
and must not begin or end with "-", and "-" must not in the 3th and 4th character positions at the same time.
|
|
29
|
-
Suffix .sh and .tel are not supported.
|
|
26
|
+
:param pulumi.Input[str] certificate_name: Name of the Certificate. `certificate_name` 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.
|
|
30
27
|
**NOTE:** One of `certificate_name` and `name` must be specified.
|
|
31
28
|
:param pulumi.Input[str] lang: The lang.
|
|
32
29
|
:param pulumi.Input[str] name: It has been deprecated from version 1.129.0 and using `certificate_name` instead.
|
|
@@ -71,10 +68,7 @@ class ServiceCertificateArgs:
|
|
|
71
68
|
@pulumi.getter(name="certificateName")
|
|
72
69
|
def certificate_name(self) -> Optional[pulumi.Input[str]]:
|
|
73
70
|
"""
|
|
74
|
-
Name of the Certificate.
|
|
75
|
-
This name without suffix can have a string of 1 to 63 characters, must contain only alphanumeric characters or "-",
|
|
76
|
-
and must not begin or end with "-", and "-" must not in the 3th and 4th character positions at the same time.
|
|
77
|
-
Suffix .sh and .tel are not supported.
|
|
71
|
+
Name of the Certificate. `certificate_name` 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.
|
|
78
72
|
**NOTE:** One of `certificate_name` and `name` must be specified.
|
|
79
73
|
"""
|
|
80
74
|
return pulumi.get(self, "certificate_name")
|
|
@@ -120,10 +114,7 @@ class _ServiceCertificateState:
|
|
|
120
114
|
"""
|
|
121
115
|
Input properties used for looking up and filtering ServiceCertificate resources.
|
|
122
116
|
:param pulumi.Input[str] cert: Cert of the Certificate in which the Certificate will add.
|
|
123
|
-
:param pulumi.Input[str] certificate_name: Name of the Certificate.
|
|
124
|
-
This name without suffix can have a string of 1 to 63 characters, must contain only alphanumeric characters or "-",
|
|
125
|
-
and must not begin or end with "-", and "-" must not in the 3th and 4th character positions at the same time.
|
|
126
|
-
Suffix .sh and .tel are not supported.
|
|
117
|
+
:param pulumi.Input[str] certificate_name: Name of the Certificate. `certificate_name` 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.
|
|
127
118
|
**NOTE:** One of `certificate_name` and `name` must be specified.
|
|
128
119
|
:param pulumi.Input[str] key: Key of the Certificate in which the Certificate will add.
|
|
129
120
|
:param pulumi.Input[str] lang: The lang.
|
|
@@ -159,10 +150,7 @@ class _ServiceCertificateState:
|
|
|
159
150
|
@pulumi.getter(name="certificateName")
|
|
160
151
|
def certificate_name(self) -> Optional[pulumi.Input[str]]:
|
|
161
152
|
"""
|
|
162
|
-
Name of the Certificate.
|
|
163
|
-
This name without suffix can have a string of 1 to 63 characters, must contain only alphanumeric characters or "-",
|
|
164
|
-
and must not begin or end with "-", and "-" must not in the 3th and 4th character positions at the same time.
|
|
165
|
-
Suffix .sh and .tel are not supported.
|
|
153
|
+
Name of the Certificate. `certificate_name` 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.
|
|
166
154
|
**NOTE:** One of `certificate_name` and `name` must be specified.
|
|
167
155
|
"""
|
|
168
156
|
return pulumi.get(self, "certificate_name")
|
|
@@ -240,7 +228,7 @@ class ServiceCertificate(pulumi.CustomResource):
|
|
|
240
228
|
min=10000,
|
|
241
229
|
max=99999)
|
|
242
230
|
default_service_certificate = alicloud.cas.ServiceCertificate("default",
|
|
243
|
-
certificate_name=f"
|
|
231
|
+
certificate_name=f"terraform-example-{default['result']}",
|
|
244
232
|
cert=\"\"\"-----BEGIN CERTIFICATE-----
|
|
245
233
|
MIIDeDCCAmCgAwIBAgIEN3ZT6zANBgkqhkiG9w0BAQsFADBVMQswCQYDVQQGEwJD
|
|
246
234
|
TjEVMBMGA1UEAwwMKi50ZnRlc3QudG9wMRAwDgYDVQQIDAdCZWlKaW5nMRAwDgYD
|
|
@@ -305,10 +293,7 @@ class ServiceCertificate(pulumi.CustomResource):
|
|
|
305
293
|
:param str resource_name: The name of the resource.
|
|
306
294
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
307
295
|
:param pulumi.Input[str] cert: Cert of the Certificate in which the Certificate will add.
|
|
308
|
-
:param pulumi.Input[str] certificate_name: Name of the Certificate.
|
|
309
|
-
This name without suffix can have a string of 1 to 63 characters, must contain only alphanumeric characters or "-",
|
|
310
|
-
and must not begin or end with "-", and "-" must not in the 3th and 4th character positions at the same time.
|
|
311
|
-
Suffix .sh and .tel are not supported.
|
|
296
|
+
:param pulumi.Input[str] certificate_name: Name of the Certificate. `certificate_name` 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.
|
|
312
297
|
**NOTE:** One of `certificate_name` and `name` must be specified.
|
|
313
298
|
:param pulumi.Input[str] key: Key of the Certificate in which the Certificate will add.
|
|
314
299
|
:param pulumi.Input[str] lang: The lang.
|
|
@@ -340,7 +325,7 @@ class ServiceCertificate(pulumi.CustomResource):
|
|
|
340
325
|
min=10000,
|
|
341
326
|
max=99999)
|
|
342
327
|
default_service_certificate = alicloud.cas.ServiceCertificate("default",
|
|
343
|
-
certificate_name=f"
|
|
328
|
+
certificate_name=f"terraform-example-{default['result']}",
|
|
344
329
|
cert=\"\"\"-----BEGIN CERTIFICATE-----
|
|
345
330
|
MIIDeDCCAmCgAwIBAgIEN3ZT6zANBgkqhkiG9w0BAQsFADBVMQswCQYDVQQGEwJD
|
|
346
331
|
TjEVMBMGA1UEAwwMKi50ZnRlc3QudG9wMRAwDgYDVQQIDAdCZWlKaW5nMRAwDgYD
|
|
@@ -463,10 +448,7 @@ class ServiceCertificate(pulumi.CustomResource):
|
|
|
463
448
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
464
449
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
465
450
|
:param pulumi.Input[str] cert: Cert of the Certificate in which the Certificate will add.
|
|
466
|
-
:param pulumi.Input[str] certificate_name: Name of the Certificate.
|
|
467
|
-
This name without suffix can have a string of 1 to 63 characters, must contain only alphanumeric characters or "-",
|
|
468
|
-
and must not begin or end with "-", and "-" must not in the 3th and 4th character positions at the same time.
|
|
469
|
-
Suffix .sh and .tel are not supported.
|
|
451
|
+
:param pulumi.Input[str] certificate_name: Name of the Certificate. `certificate_name` 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.
|
|
470
452
|
**NOTE:** One of `certificate_name` and `name` must be specified.
|
|
471
453
|
:param pulumi.Input[str] key: Key of the Certificate in which the Certificate will add.
|
|
472
454
|
:param pulumi.Input[str] lang: The lang.
|
|
@@ -495,10 +477,7 @@ class ServiceCertificate(pulumi.CustomResource):
|
|
|
495
477
|
@pulumi.getter(name="certificateName")
|
|
496
478
|
def certificate_name(self) -> pulumi.Output[str]:
|
|
497
479
|
"""
|
|
498
|
-
Name of the Certificate.
|
|
499
|
-
This name without suffix can have a string of 1 to 63 characters, must contain only alphanumeric characters or "-",
|
|
500
|
-
and must not begin or end with "-", and "-" must not in the 3th and 4th character positions at the same time.
|
|
501
|
-
Suffix .sh and .tel are not supported.
|
|
480
|
+
Name of the Certificate. `certificate_name` 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.
|
|
502
481
|
**NOTE:** One of `certificate_name` and `name` must be specified.
|
|
503
482
|
"""
|
|
504
483
|
return pulumi.get(self, "certificate_name")
|
|
@@ -219,7 +219,7 @@ class RealTimeLogDelivery(pulumi.CustomResource):
|
|
|
219
219
|
project_name=f"terraform-example-{default_integer['result']}",
|
|
220
220
|
description="terraform-example")
|
|
221
221
|
default_store = alicloud.log.Store("default",
|
|
222
|
-
project_name=default_project.
|
|
222
|
+
project_name=default_project.project_name,
|
|
223
223
|
logstore_name="example-store",
|
|
224
224
|
shard_count=3,
|
|
225
225
|
auto_split=True,
|
|
@@ -290,7 +290,7 @@ class RealTimeLogDelivery(pulumi.CustomResource):
|
|
|
290
290
|
project_name=f"terraform-example-{default_integer['result']}",
|
|
291
291
|
description="terraform-example")
|
|
292
292
|
default_store = alicloud.log.Store("default",
|
|
293
|
-
project_name=default_project.
|
|
293
|
+
project_name=default_project.project_name,
|
|
294
294
|
logstore_name="example-store",
|
|
295
295
|
shard_count=3,
|
|
296
296
|
auto_split=True,
|