@pulumi/alicloud 3.61.1 → 3.61.2
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.
- package/brain/getIndustrialPidLoops.d.ts +18 -2
- package/brain/getIndustrialPidLoops.js +6 -2
- package/brain/getIndustrialPidLoops.js.map +1 -1
- package/brain/getIndustrialPidOrganizations.d.ts +12 -2
- package/brain/getIndustrialPidOrganizations.js +6 -2
- package/brain/getIndustrialPidOrganizations.js.map +1 -1
- package/brain/getIndustrialPidProjects.d.ts +18 -2
- package/brain/getIndustrialPidProjects.js +6 -2
- package/brain/getIndustrialPidProjects.js.map +1 -1
- package/brain/getIndustrialSerice.d.ts +6 -2
- package/brain/getIndustrialSerice.js +6 -2
- package/brain/getIndustrialSerice.js.map +1 -1
- package/brain/industrialPidLoop.d.ts +3 -1
- package/brain/industrialPidLoop.js +3 -1
- package/brain/industrialPidLoop.js.map +1 -1
- package/brain/industrialPidOrganization.d.ts +2 -2
- package/brain/industrialPidOrganization.js +2 -2
- package/brain/industrialPidProject.d.ts +2 -2
- package/brain/industrialPidProject.js +2 -2
- package/cas/certificate.d.ts +79 -6
- package/cas/certificate.js +76 -3
- package/cas/certificate.js.map +1 -1
- package/cas/serviceCertificate.d.ts +4 -13
- package/cas/serviceCertificate.js +1 -1
- package/cas/serviceCertificate.js.map +1 -1
- package/cdn/realTimeLogDelivery.d.ts +1 -1
- package/cdn/realTimeLogDelivery.js +1 -1
- package/cen/getTransitRouterRouteTables.d.ts +86 -11
- package/cen/getTransitRouterRouteTables.js +59 -4
- package/cen/getTransitRouterRouteTables.js.map +1 -1
- package/cfg/remediation.d.ts +4 -1
- package/cfg/remediation.js +4 -1
- package/cfg/remediation.js.map +1 -1
- package/clickhouse/account.d.ts +1 -1
- package/clickhouse/account.js +1 -1
- package/clickhouse/backupPolicy.d.ts +1 -1
- package/clickhouse/backupPolicy.js +1 -1
- package/cloudfirewall/instance.d.ts +1 -0
- package/cloudfirewall/instance.js +1 -0
- package/cloudfirewall/instance.js.map +1 -1
- package/cs/kubernetes.d.ts +3 -3
- package/cs/managedKubernetes.d.ts +317 -20
- package/cs/managedKubernetes.js +1 -1
- package/cs/managedKubernetes.js.map +1 -1
- package/cs/registryEnterpriseNamespace.d.ts +36 -25
- package/cs/registryEnterpriseNamespace.js +15 -16
- package/cs/registryEnterpriseNamespace.js.map +1 -1
- package/cs/registryEnterpriseRepo.d.ts +45 -34
- package/cs/registryEnterpriseRepo.js +19 -14
- package/cs/registryEnterpriseRepo.js.map +1 -1
- package/cs/registryEnterpriseSyncRule.d.ts +49 -46
- package/cs/registryEnterpriseSyncRule.js +16 -13
- package/cs/registryEnterpriseSyncRule.js.map +1 -1
- package/cs/serverlessKubernetes.d.ts +64 -60
- package/cs/serverlessKubernetes.js +13 -13
- package/cs/serverlessKubernetes.js.map +1 -1
- package/databasefilesystem/instance.d.ts +1 -1
- package/databasefilesystem/instance.js +1 -1
- package/dts/consumerChannel.d.ts +1 -1
- package/dts/consumerChannel.js +1 -1
- package/dts/subscriptionJob.d.ts +1 -1
- package/dts/subscriptionJob.js +1 -1
- package/ecs/autoProvisioningGroup.d.ts +1 -1
- package/ecs/autoProvisioningGroup.js +1 -1
- package/ehpc/getClusters.d.ts +11 -2
- package/ehpc/getClusters.js +2 -2
- package/ehpc/getClusters.js.map +1 -1
- package/ehpc/getJobTemplates.d.ts +5 -2
- package/ehpc/getJobTemplates.js +2 -2
- package/ehpc/getJobTemplates.js.map +1 -1
- package/ehpc/jobTemplate.d.ts +1 -1
- package/ehpc/jobTemplate.js +1 -1
- package/fc/function.d.ts +3 -3
- package/fc/function.js +3 -3
- package/fc/functionAsyncInvokeConfig.d.ts +1 -1
- package/fc/functionAsyncInvokeConfig.js +1 -1
- package/fc/trigger.d.ts +1 -1
- package/fc/trigger.js +1 -1
- package/gpdb/account.d.ts +0 -2
- package/gpdb/account.js +0 -2
- package/gpdb/account.js.map +1 -1
- package/gpdb/connection.d.ts +0 -2
- package/gpdb/connection.js +0 -2
- package/gpdb/connection.js.map +1 -1
- package/log/alert.d.ts +15 -14
- package/log/alert.js +15 -14
- package/log/alert.js.map +1 -1
- package/log/audit.d.ts +1 -0
- package/log/audit.js +1 -0
- package/log/audit.js.map +1 -1
- package/log/dashboard.d.ts +4 -4
- package/log/dashboard.js +4 -4
- package/log/etl.d.ts +13 -13
- package/log/etl.js +13 -13
- package/log/ingestion.d.ts +5 -5
- package/log/ingestion.js +5 -5
- package/log/logTailAttachment.d.ts +7 -7
- package/log/logTailAttachment.js +7 -7
- package/log/logTailConfig.d.ts +5 -5
- package/log/logTailConfig.js +5 -5
- package/log/machineGroup.d.ts +2 -2
- package/log/machineGroup.js +2 -2
- package/log/ossExport.d.ts +5 -5
- package/log/ossExport.js +5 -5
- package/log/project.d.ts +2 -2
- package/log/project.js +2 -2
- package/log/storeIndex.d.ts +5 -5
- package/log/storeIndex.js +5 -5
- package/nlb/serverGroup.d.ts +1 -1
- package/nlb/serverGroup.js +1 -1
- package/oos/serviceSetting.d.ts +5 -4
- package/oos/serviceSetting.js +5 -4
- package/oos/serviceSetting.js.map +1 -1
- package/oss/bucket.d.ts +10 -5
- package/oss/bucket.js +10 -5
- package/oss/bucket.js.map +1 -1
- package/oss/bucketObject.d.ts +6 -4
- package/oss/bucketObject.js +6 -4
- package/oss/bucketObject.js.map +1 -1
- package/oss/bucketReplication.d.ts +1 -1
- package/oss/bucketReplication.js +1 -1
- package/package.json +2 -2
- package/polardb/cluster.d.ts +24 -9
- package/polardb/cluster.js +2 -0
- package/polardb/cluster.js.map +1 -1
- package/pvtz/zoneRecord.d.ts +1 -1
- package/pvtz/zoneRecord.js +1 -1
- package/ram/accessKey.d.ts +2 -0
- package/ram/accessKey.js +2 -0
- package/ram/accessKey.js.map +1 -1
- package/rds/accountPrivilege.d.ts +1 -1
- package/rds/accountPrivilege.js +1 -1
- package/rds/backupPolicy.d.ts +81 -3
- package/rds/backupPolicy.js +8 -0
- package/rds/backupPolicy.js.map +1 -1
- package/rds/database.d.ts +21 -3
- package/rds/database.js.map +1 -1
- package/rds/instance.js +4 -2
- package/rds/instance.js.map +1 -1
- package/rocketmq/group.d.ts +1 -1
- package/rocketmq/group.js +1 -1
- package/rocketmq/topic.d.ts +1 -1
- package/rocketmq/topic.js +1 -1
- package/sls/alert.d.ts +3 -3
- package/sls/alert.js +3 -3
- package/sls/scheduledSql.d.ts +5 -5
- package/sls/scheduledSql.js +5 -5
- package/types/input.d.ts +56 -10
- package/types/output.d.ts +82 -12
- package/vpc/havipAttachment.d.ts +1 -1
- package/vpc/havipAttachment.js +1 -1
- package/vpc/ipv6InternetBandwidth.d.ts +2 -2
- package/vpc/ipv6InternetBandwidth.js +2 -2
- package/vpc/routeTableAttachment.d.ts +2 -2
- package/vpc/routeTableAttachment.js +2 -2
- package/vpc/trafficMirrorFilterIngressRule.d.ts +1 -1
- package/vpc/trafficMirrorFilterIngressRule.js +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Provides a Container Registry Enterprise Edition Sync Rule resource.
|
|
4
4
|
*
|
|
5
|
-
* For information about Container Registry Enterprise Edition
|
|
5
|
+
* For information about Container Registry Enterprise Edition Sync Rule and how to use it, see [What is Sync Rule](https://www.alibabacloud.com/help/en/acr/developer-reference/api-cr-2018-12-01-createreposyncrule)
|
|
6
6
|
*
|
|
7
7
|
* > **NOTE:** Available since v1.90.0.
|
|
8
8
|
*
|
|
@@ -15,16 +15,24 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
15
15
|
* ```typescript
|
|
16
16
|
* import * as pulumi from "@pulumi/pulumi";
|
|
17
17
|
* import * as alicloud from "@pulumi/alicloud";
|
|
18
|
+
* import * as random from "@pulumi/random";
|
|
18
19
|
*
|
|
19
20
|
* const config = new pulumi.Config();
|
|
20
|
-
* const name = config.get("name") || "
|
|
21
|
+
* const name = config.get("name") || "terraform-example";
|
|
22
|
+
* const default = alicloud.getRegions({
|
|
23
|
+
* current: true,
|
|
24
|
+
* });
|
|
25
|
+
* const defaultInteger = new random.index.Integer("default", {
|
|
26
|
+
* min: 10000,
|
|
27
|
+
* max: 99999,
|
|
28
|
+
* });
|
|
21
29
|
* const source = new alicloud.cr.RegistryEnterpriseInstance("source", {
|
|
22
30
|
* paymentType: "Subscription",
|
|
23
31
|
* period: 1,
|
|
24
32
|
* renewPeriod: 0,
|
|
25
33
|
* renewalStatus: "ManualRenewal",
|
|
26
34
|
* instanceType: "Advanced",
|
|
27
|
-
* instanceName: `${name}-source`,
|
|
35
|
+
* instanceName: `${name}-source-${defaultInteger.result}`,
|
|
28
36
|
* });
|
|
29
37
|
* const target = new alicloud.cr.RegistryEnterpriseInstance("target", {
|
|
30
38
|
* paymentType: "Subscription",
|
|
@@ -32,7 +40,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
32
40
|
* renewPeriod: 0,
|
|
33
41
|
* renewalStatus: "ManualRenewal",
|
|
34
42
|
* instanceType: "Advanced",
|
|
35
|
-
* instanceName: `${name}-target`,
|
|
43
|
+
* instanceName: `${name}-target-${defaultInteger.result}`,
|
|
36
44
|
* });
|
|
37
45
|
* const sourceRegistryEnterpriseNamespace = new alicloud.cs.RegistryEnterpriseNamespace("source", {
|
|
38
46
|
* instanceId: source.id,
|
|
@@ -52,7 +60,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
52
60
|
* name: name,
|
|
53
61
|
* summary: "this is summary of my new repo",
|
|
54
62
|
* repoType: "PUBLIC",
|
|
55
|
-
* detail: "this is a public repo",
|
|
56
63
|
* });
|
|
57
64
|
* const targetRegistryEnterpriseRepo = new alicloud.cs.RegistryEnterpriseRepo("target", {
|
|
58
65
|
* instanceId: target.id,
|
|
@@ -60,18 +67,14 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
60
67
|
* name: name,
|
|
61
68
|
* summary: "this is summary of my new repo",
|
|
62
69
|
* repoType: "PUBLIC",
|
|
63
|
-
* detail: "this is a public repo",
|
|
64
|
-
* });
|
|
65
|
-
* const default = alicloud.getRegions({
|
|
66
|
-
* current: true,
|
|
67
70
|
* });
|
|
68
71
|
* const defaultRegistryEnterpriseSyncRule = new alicloud.cs.RegistryEnterpriseSyncRule("default", {
|
|
69
72
|
* instanceId: source.id,
|
|
70
73
|
* namespaceName: sourceRegistryEnterpriseNamespace.name,
|
|
71
74
|
* name: name,
|
|
72
|
-
* targetRegionId: _default.then(_default => _default.regions?.[0]?.id),
|
|
73
75
|
* targetInstanceId: target.id,
|
|
74
76
|
* targetNamespaceName: targetRegistryEnterpriseNamespace.name,
|
|
77
|
+
* targetRegionId: _default.then(_default => _default.regions?.[0]?.id),
|
|
75
78
|
* tagFilter: ".*",
|
|
76
79
|
* repoName: sourceRegistryEnterpriseRepo.name,
|
|
77
80
|
* targetRepoName: targetRegistryEnterpriseRepo.name,
|
|
@@ -80,10 +83,10 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
80
83
|
*
|
|
81
84
|
* ## Import
|
|
82
85
|
*
|
|
83
|
-
* Container Registry Enterprise Edition
|
|
86
|
+
* Container Registry Enterprise Edition Sync Rule can be imported using the id, e.g.
|
|
84
87
|
*
|
|
85
88
|
* ```sh
|
|
86
|
-
* $ pulumi import alicloud:cs/registryEnterpriseSyncRule:RegistryEnterpriseSyncRule
|
|
89
|
+
* $ pulumi import alicloud:cs/registryEnterpriseSyncRule:RegistryEnterpriseSyncRule example <instance_id>:<namespace_name>:<rule_id>
|
|
87
90
|
* ```
|
|
88
91
|
*/
|
|
89
92
|
export declare class RegistryEnterpriseSyncRule extends pulumi.CustomResource {
|
|
@@ -103,51 +106,51 @@ export declare class RegistryEnterpriseSyncRule extends pulumi.CustomResource {
|
|
|
103
106
|
*/
|
|
104
107
|
static isInstance(obj: any): obj is RegistryEnterpriseSyncRule;
|
|
105
108
|
/**
|
|
106
|
-
* ID of Container Registry Enterprise Edition source instance.
|
|
109
|
+
* The ID of the Container Registry Enterprise Edition source instance.
|
|
107
110
|
*/
|
|
108
111
|
readonly instanceId: pulumi.Output<string>;
|
|
109
112
|
/**
|
|
110
|
-
*
|
|
113
|
+
* The name of the sync rule.
|
|
111
114
|
*/
|
|
112
115
|
readonly name: pulumi.Output<string>;
|
|
113
116
|
/**
|
|
114
|
-
*
|
|
117
|
+
* The namespace name of the source instance.
|
|
115
118
|
*/
|
|
116
119
|
readonly namespaceName: pulumi.Output<string>;
|
|
117
120
|
/**
|
|
118
|
-
*
|
|
121
|
+
* The image repository name of the source instance.
|
|
119
122
|
*/
|
|
120
123
|
readonly repoName: pulumi.Output<string | undefined>;
|
|
121
124
|
/**
|
|
122
|
-
* The
|
|
125
|
+
* The ID of the sync rule.
|
|
123
126
|
*/
|
|
124
127
|
readonly ruleId: pulumi.Output<string>;
|
|
125
128
|
/**
|
|
126
|
-
*
|
|
129
|
+
* The synchronization direction.
|
|
127
130
|
*/
|
|
128
131
|
readonly syncDirection: pulumi.Output<string>;
|
|
129
132
|
/**
|
|
130
|
-
*
|
|
133
|
+
* The synchronization scope.
|
|
131
134
|
*/
|
|
132
135
|
readonly syncScope: pulumi.Output<string>;
|
|
133
136
|
/**
|
|
134
|
-
* The regular expression used to filter image tags
|
|
137
|
+
* The regular expression used to filter image tags.
|
|
135
138
|
*/
|
|
136
139
|
readonly tagFilter: pulumi.Output<string>;
|
|
137
140
|
/**
|
|
138
|
-
* ID of
|
|
141
|
+
* The ID of the destination instance.
|
|
139
142
|
*/
|
|
140
143
|
readonly targetInstanceId: pulumi.Output<string>;
|
|
141
144
|
/**
|
|
142
|
-
*
|
|
145
|
+
* The namespace name of the destination instance.
|
|
143
146
|
*/
|
|
144
147
|
readonly targetNamespaceName: pulumi.Output<string>;
|
|
145
148
|
/**
|
|
146
|
-
* The
|
|
149
|
+
* The region ID of the destination instance.
|
|
147
150
|
*/
|
|
148
151
|
readonly targetRegionId: pulumi.Output<string>;
|
|
149
152
|
/**
|
|
150
|
-
*
|
|
153
|
+
* The image repository name of the destination instance.
|
|
151
154
|
*/
|
|
152
155
|
readonly targetRepoName: pulumi.Output<string | undefined>;
|
|
153
156
|
/**
|
|
@@ -164,51 +167,51 @@ export declare class RegistryEnterpriseSyncRule extends pulumi.CustomResource {
|
|
|
164
167
|
*/
|
|
165
168
|
export interface RegistryEnterpriseSyncRuleState {
|
|
166
169
|
/**
|
|
167
|
-
* ID of Container Registry Enterprise Edition source instance.
|
|
170
|
+
* The ID of the Container Registry Enterprise Edition source instance.
|
|
168
171
|
*/
|
|
169
172
|
instanceId?: pulumi.Input<string>;
|
|
170
173
|
/**
|
|
171
|
-
*
|
|
174
|
+
* The name of the sync rule.
|
|
172
175
|
*/
|
|
173
176
|
name?: pulumi.Input<string>;
|
|
174
177
|
/**
|
|
175
|
-
*
|
|
178
|
+
* The namespace name of the source instance.
|
|
176
179
|
*/
|
|
177
180
|
namespaceName?: pulumi.Input<string>;
|
|
178
181
|
/**
|
|
179
|
-
*
|
|
182
|
+
* The image repository name of the source instance.
|
|
180
183
|
*/
|
|
181
184
|
repoName?: pulumi.Input<string>;
|
|
182
185
|
/**
|
|
183
|
-
* The
|
|
186
|
+
* The ID of the sync rule.
|
|
184
187
|
*/
|
|
185
188
|
ruleId?: pulumi.Input<string>;
|
|
186
189
|
/**
|
|
187
|
-
*
|
|
190
|
+
* The synchronization direction.
|
|
188
191
|
*/
|
|
189
192
|
syncDirection?: pulumi.Input<string>;
|
|
190
193
|
/**
|
|
191
|
-
*
|
|
194
|
+
* The synchronization scope.
|
|
192
195
|
*/
|
|
193
196
|
syncScope?: pulumi.Input<string>;
|
|
194
197
|
/**
|
|
195
|
-
* The regular expression used to filter image tags
|
|
198
|
+
* The regular expression used to filter image tags.
|
|
196
199
|
*/
|
|
197
200
|
tagFilter?: pulumi.Input<string>;
|
|
198
201
|
/**
|
|
199
|
-
* ID of
|
|
202
|
+
* The ID of the destination instance.
|
|
200
203
|
*/
|
|
201
204
|
targetInstanceId?: pulumi.Input<string>;
|
|
202
205
|
/**
|
|
203
|
-
*
|
|
206
|
+
* The namespace name of the destination instance.
|
|
204
207
|
*/
|
|
205
208
|
targetNamespaceName?: pulumi.Input<string>;
|
|
206
209
|
/**
|
|
207
|
-
* The
|
|
210
|
+
* The region ID of the destination instance.
|
|
208
211
|
*/
|
|
209
212
|
targetRegionId?: pulumi.Input<string>;
|
|
210
213
|
/**
|
|
211
|
-
*
|
|
214
|
+
* The image repository name of the destination instance.
|
|
212
215
|
*/
|
|
213
216
|
targetRepoName?: pulumi.Input<string>;
|
|
214
217
|
}
|
|
@@ -217,39 +220,39 @@ export interface RegistryEnterpriseSyncRuleState {
|
|
|
217
220
|
*/
|
|
218
221
|
export interface RegistryEnterpriseSyncRuleArgs {
|
|
219
222
|
/**
|
|
220
|
-
* ID of Container Registry Enterprise Edition source instance.
|
|
223
|
+
* The ID of the Container Registry Enterprise Edition source instance.
|
|
221
224
|
*/
|
|
222
225
|
instanceId: pulumi.Input<string>;
|
|
223
226
|
/**
|
|
224
|
-
*
|
|
227
|
+
* The name of the sync rule.
|
|
225
228
|
*/
|
|
226
229
|
name?: pulumi.Input<string>;
|
|
227
230
|
/**
|
|
228
|
-
*
|
|
231
|
+
* The namespace name of the source instance.
|
|
229
232
|
*/
|
|
230
233
|
namespaceName: pulumi.Input<string>;
|
|
231
234
|
/**
|
|
232
|
-
*
|
|
235
|
+
* The image repository name of the source instance.
|
|
233
236
|
*/
|
|
234
237
|
repoName?: pulumi.Input<string>;
|
|
235
238
|
/**
|
|
236
|
-
* The regular expression used to filter image tags
|
|
239
|
+
* The regular expression used to filter image tags.
|
|
237
240
|
*/
|
|
238
241
|
tagFilter: pulumi.Input<string>;
|
|
239
242
|
/**
|
|
240
|
-
* ID of
|
|
243
|
+
* The ID of the destination instance.
|
|
241
244
|
*/
|
|
242
245
|
targetInstanceId: pulumi.Input<string>;
|
|
243
246
|
/**
|
|
244
|
-
*
|
|
247
|
+
* The namespace name of the destination instance.
|
|
245
248
|
*/
|
|
246
249
|
targetNamespaceName: pulumi.Input<string>;
|
|
247
250
|
/**
|
|
248
|
-
* The
|
|
251
|
+
* The region ID of the destination instance.
|
|
249
252
|
*/
|
|
250
253
|
targetRegionId: pulumi.Input<string>;
|
|
251
254
|
/**
|
|
252
|
-
*
|
|
255
|
+
* The image repository name of the destination instance.
|
|
253
256
|
*/
|
|
254
257
|
targetRepoName?: pulumi.Input<string>;
|
|
255
258
|
}
|
|
@@ -6,9 +6,9 @@ exports.RegistryEnterpriseSyncRule = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* Provides a Container Registry Enterprise Edition Sync Rule resource.
|
|
10
10
|
*
|
|
11
|
-
* For information about Container Registry Enterprise Edition
|
|
11
|
+
* For information about Container Registry Enterprise Edition Sync Rule and how to use it, see [What is Sync Rule](https://www.alibabacloud.com/help/en/acr/developer-reference/api-cr-2018-12-01-createreposyncrule)
|
|
12
12
|
*
|
|
13
13
|
* > **NOTE:** Available since v1.90.0.
|
|
14
14
|
*
|
|
@@ -21,16 +21,24 @@ const utilities = require("../utilities");
|
|
|
21
21
|
* ```typescript
|
|
22
22
|
* import * as pulumi from "@pulumi/pulumi";
|
|
23
23
|
* import * as alicloud from "@pulumi/alicloud";
|
|
24
|
+
* import * as random from "@pulumi/random";
|
|
24
25
|
*
|
|
25
26
|
* const config = new pulumi.Config();
|
|
26
|
-
* const name = config.get("name") || "
|
|
27
|
+
* const name = config.get("name") || "terraform-example";
|
|
28
|
+
* const default = alicloud.getRegions({
|
|
29
|
+
* current: true,
|
|
30
|
+
* });
|
|
31
|
+
* const defaultInteger = new random.index.Integer("default", {
|
|
32
|
+
* min: 10000,
|
|
33
|
+
* max: 99999,
|
|
34
|
+
* });
|
|
27
35
|
* const source = new alicloud.cr.RegistryEnterpriseInstance("source", {
|
|
28
36
|
* paymentType: "Subscription",
|
|
29
37
|
* period: 1,
|
|
30
38
|
* renewPeriod: 0,
|
|
31
39
|
* renewalStatus: "ManualRenewal",
|
|
32
40
|
* instanceType: "Advanced",
|
|
33
|
-
* instanceName: `${name}-source`,
|
|
41
|
+
* instanceName: `${name}-source-${defaultInteger.result}`,
|
|
34
42
|
* });
|
|
35
43
|
* const target = new alicloud.cr.RegistryEnterpriseInstance("target", {
|
|
36
44
|
* paymentType: "Subscription",
|
|
@@ -38,7 +46,7 @@ const utilities = require("../utilities");
|
|
|
38
46
|
* renewPeriod: 0,
|
|
39
47
|
* renewalStatus: "ManualRenewal",
|
|
40
48
|
* instanceType: "Advanced",
|
|
41
|
-
* instanceName: `${name}-target`,
|
|
49
|
+
* instanceName: `${name}-target-${defaultInteger.result}`,
|
|
42
50
|
* });
|
|
43
51
|
* const sourceRegistryEnterpriseNamespace = new alicloud.cs.RegistryEnterpriseNamespace("source", {
|
|
44
52
|
* instanceId: source.id,
|
|
@@ -58,7 +66,6 @@ const utilities = require("../utilities");
|
|
|
58
66
|
* name: name,
|
|
59
67
|
* summary: "this is summary of my new repo",
|
|
60
68
|
* repoType: "PUBLIC",
|
|
61
|
-
* detail: "this is a public repo",
|
|
62
69
|
* });
|
|
63
70
|
* const targetRegistryEnterpriseRepo = new alicloud.cs.RegistryEnterpriseRepo("target", {
|
|
64
71
|
* instanceId: target.id,
|
|
@@ -66,18 +73,14 @@ const utilities = require("../utilities");
|
|
|
66
73
|
* name: name,
|
|
67
74
|
* summary: "this is summary of my new repo",
|
|
68
75
|
* repoType: "PUBLIC",
|
|
69
|
-
* detail: "this is a public repo",
|
|
70
|
-
* });
|
|
71
|
-
* const default = alicloud.getRegions({
|
|
72
|
-
* current: true,
|
|
73
76
|
* });
|
|
74
77
|
* const defaultRegistryEnterpriseSyncRule = new alicloud.cs.RegistryEnterpriseSyncRule("default", {
|
|
75
78
|
* instanceId: source.id,
|
|
76
79
|
* namespaceName: sourceRegistryEnterpriseNamespace.name,
|
|
77
80
|
* name: name,
|
|
78
|
-
* targetRegionId: _default.then(_default => _default.regions?.[0]?.id),
|
|
79
81
|
* targetInstanceId: target.id,
|
|
80
82
|
* targetNamespaceName: targetRegistryEnterpriseNamespace.name,
|
|
83
|
+
* targetRegionId: _default.then(_default => _default.regions?.[0]?.id),
|
|
81
84
|
* tagFilter: ".*",
|
|
82
85
|
* repoName: sourceRegistryEnterpriseRepo.name,
|
|
83
86
|
* targetRepoName: targetRegistryEnterpriseRepo.name,
|
|
@@ -86,10 +89,10 @@ const utilities = require("../utilities");
|
|
|
86
89
|
*
|
|
87
90
|
* ## Import
|
|
88
91
|
*
|
|
89
|
-
* Container Registry Enterprise Edition
|
|
92
|
+
* Container Registry Enterprise Edition Sync Rule can be imported using the id, e.g.
|
|
90
93
|
*
|
|
91
94
|
* ```sh
|
|
92
|
-
* $ pulumi import alicloud:cs/registryEnterpriseSyncRule:RegistryEnterpriseSyncRule
|
|
95
|
+
* $ pulumi import alicloud:cs/registryEnterpriseSyncRule:RegistryEnterpriseSyncRule example <instance_id>:<namespace_name>:<rule_id>
|
|
93
96
|
* ```
|
|
94
97
|
*/
|
|
95
98
|
class RegistryEnterpriseSyncRule extends pulumi.CustomResource {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registryEnterpriseSyncRule.js","sourceRoot":"","sources":["../../cs/registryEnterpriseSyncRule.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"registryEnterpriseSyncRule.js","sourceRoot":"","sources":["../../cs/registryEnterpriseSyncRule.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyFG;AACH,MAAa,0BAA2B,SAAQ,MAAM,CAAC,cAAc;IACjE;;;;;;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