@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.
Files changed (157) hide show
  1. package/brain/getIndustrialPidLoops.d.ts +18 -2
  2. package/brain/getIndustrialPidLoops.js +6 -2
  3. package/brain/getIndustrialPidLoops.js.map +1 -1
  4. package/brain/getIndustrialPidOrganizations.d.ts +12 -2
  5. package/brain/getIndustrialPidOrganizations.js +6 -2
  6. package/brain/getIndustrialPidOrganizations.js.map +1 -1
  7. package/brain/getIndustrialPidProjects.d.ts +18 -2
  8. package/brain/getIndustrialPidProjects.js +6 -2
  9. package/brain/getIndustrialPidProjects.js.map +1 -1
  10. package/brain/getIndustrialSerice.d.ts +6 -2
  11. package/brain/getIndustrialSerice.js +6 -2
  12. package/brain/getIndustrialSerice.js.map +1 -1
  13. package/brain/industrialPidLoop.d.ts +3 -1
  14. package/brain/industrialPidLoop.js +3 -1
  15. package/brain/industrialPidLoop.js.map +1 -1
  16. package/brain/industrialPidOrganization.d.ts +2 -2
  17. package/brain/industrialPidOrganization.js +2 -2
  18. package/brain/industrialPidProject.d.ts +2 -2
  19. package/brain/industrialPidProject.js +2 -2
  20. package/cas/certificate.d.ts +79 -6
  21. package/cas/certificate.js +76 -3
  22. package/cas/certificate.js.map +1 -1
  23. package/cas/serviceCertificate.d.ts +4 -13
  24. package/cas/serviceCertificate.js +1 -1
  25. package/cas/serviceCertificate.js.map +1 -1
  26. package/cdn/realTimeLogDelivery.d.ts +1 -1
  27. package/cdn/realTimeLogDelivery.js +1 -1
  28. package/cen/getTransitRouterRouteTables.d.ts +86 -11
  29. package/cen/getTransitRouterRouteTables.js +59 -4
  30. package/cen/getTransitRouterRouteTables.js.map +1 -1
  31. package/cfg/remediation.d.ts +4 -1
  32. package/cfg/remediation.js +4 -1
  33. package/cfg/remediation.js.map +1 -1
  34. package/clickhouse/account.d.ts +1 -1
  35. package/clickhouse/account.js +1 -1
  36. package/clickhouse/backupPolicy.d.ts +1 -1
  37. package/clickhouse/backupPolicy.js +1 -1
  38. package/cloudfirewall/instance.d.ts +1 -0
  39. package/cloudfirewall/instance.js +1 -0
  40. package/cloudfirewall/instance.js.map +1 -1
  41. package/cs/kubernetes.d.ts +3 -3
  42. package/cs/managedKubernetes.d.ts +317 -20
  43. package/cs/managedKubernetes.js +1 -1
  44. package/cs/managedKubernetes.js.map +1 -1
  45. package/cs/registryEnterpriseNamespace.d.ts +36 -25
  46. package/cs/registryEnterpriseNamespace.js +15 -16
  47. package/cs/registryEnterpriseNamespace.js.map +1 -1
  48. package/cs/registryEnterpriseRepo.d.ts +45 -34
  49. package/cs/registryEnterpriseRepo.js +19 -14
  50. package/cs/registryEnterpriseRepo.js.map +1 -1
  51. package/cs/registryEnterpriseSyncRule.d.ts +49 -46
  52. package/cs/registryEnterpriseSyncRule.js +16 -13
  53. package/cs/registryEnterpriseSyncRule.js.map +1 -1
  54. package/cs/serverlessKubernetes.d.ts +64 -60
  55. package/cs/serverlessKubernetes.js +13 -13
  56. package/cs/serverlessKubernetes.js.map +1 -1
  57. package/databasefilesystem/instance.d.ts +1 -1
  58. package/databasefilesystem/instance.js +1 -1
  59. package/dts/consumerChannel.d.ts +1 -1
  60. package/dts/consumerChannel.js +1 -1
  61. package/dts/subscriptionJob.d.ts +1 -1
  62. package/dts/subscriptionJob.js +1 -1
  63. package/ecs/autoProvisioningGroup.d.ts +1 -1
  64. package/ecs/autoProvisioningGroup.js +1 -1
  65. package/ehpc/getClusters.d.ts +11 -2
  66. package/ehpc/getClusters.js +2 -2
  67. package/ehpc/getClusters.js.map +1 -1
  68. package/ehpc/getJobTemplates.d.ts +5 -2
  69. package/ehpc/getJobTemplates.js +2 -2
  70. package/ehpc/getJobTemplates.js.map +1 -1
  71. package/ehpc/jobTemplate.d.ts +1 -1
  72. package/ehpc/jobTemplate.js +1 -1
  73. package/fc/function.d.ts +3 -3
  74. package/fc/function.js +3 -3
  75. package/fc/functionAsyncInvokeConfig.d.ts +1 -1
  76. package/fc/functionAsyncInvokeConfig.js +1 -1
  77. package/fc/trigger.d.ts +1 -1
  78. package/fc/trigger.js +1 -1
  79. package/gpdb/account.d.ts +0 -2
  80. package/gpdb/account.js +0 -2
  81. package/gpdb/account.js.map +1 -1
  82. package/gpdb/connection.d.ts +0 -2
  83. package/gpdb/connection.js +0 -2
  84. package/gpdb/connection.js.map +1 -1
  85. package/log/alert.d.ts +15 -14
  86. package/log/alert.js +15 -14
  87. package/log/alert.js.map +1 -1
  88. package/log/audit.d.ts +1 -0
  89. package/log/audit.js +1 -0
  90. package/log/audit.js.map +1 -1
  91. package/log/dashboard.d.ts +4 -4
  92. package/log/dashboard.js +4 -4
  93. package/log/etl.d.ts +13 -13
  94. package/log/etl.js +13 -13
  95. package/log/ingestion.d.ts +5 -5
  96. package/log/ingestion.js +5 -5
  97. package/log/logTailAttachment.d.ts +7 -7
  98. package/log/logTailAttachment.js +7 -7
  99. package/log/logTailConfig.d.ts +5 -5
  100. package/log/logTailConfig.js +5 -5
  101. package/log/machineGroup.d.ts +2 -2
  102. package/log/machineGroup.js +2 -2
  103. package/log/ossExport.d.ts +5 -5
  104. package/log/ossExport.js +5 -5
  105. package/log/project.d.ts +2 -2
  106. package/log/project.js +2 -2
  107. package/log/storeIndex.d.ts +5 -5
  108. package/log/storeIndex.js +5 -5
  109. package/nlb/serverGroup.d.ts +1 -1
  110. package/nlb/serverGroup.js +1 -1
  111. package/oos/serviceSetting.d.ts +5 -4
  112. package/oos/serviceSetting.js +5 -4
  113. package/oos/serviceSetting.js.map +1 -1
  114. package/oss/bucket.d.ts +10 -5
  115. package/oss/bucket.js +10 -5
  116. package/oss/bucket.js.map +1 -1
  117. package/oss/bucketObject.d.ts +6 -4
  118. package/oss/bucketObject.js +6 -4
  119. package/oss/bucketObject.js.map +1 -1
  120. package/oss/bucketReplication.d.ts +1 -1
  121. package/oss/bucketReplication.js +1 -1
  122. package/package.json +2 -2
  123. package/polardb/cluster.d.ts +24 -9
  124. package/polardb/cluster.js +2 -0
  125. package/polardb/cluster.js.map +1 -1
  126. package/pvtz/zoneRecord.d.ts +1 -1
  127. package/pvtz/zoneRecord.js +1 -1
  128. package/ram/accessKey.d.ts +2 -0
  129. package/ram/accessKey.js +2 -0
  130. package/ram/accessKey.js.map +1 -1
  131. package/rds/accountPrivilege.d.ts +1 -1
  132. package/rds/accountPrivilege.js +1 -1
  133. package/rds/backupPolicy.d.ts +81 -3
  134. package/rds/backupPolicy.js +8 -0
  135. package/rds/backupPolicy.js.map +1 -1
  136. package/rds/database.d.ts +21 -3
  137. package/rds/database.js.map +1 -1
  138. package/rds/instance.js +4 -2
  139. package/rds/instance.js.map +1 -1
  140. package/rocketmq/group.d.ts +1 -1
  141. package/rocketmq/group.js +1 -1
  142. package/rocketmq/topic.d.ts +1 -1
  143. package/rocketmq/topic.js +1 -1
  144. package/sls/alert.d.ts +3 -3
  145. package/sls/alert.js +3 -3
  146. package/sls/scheduledSql.d.ts +5 -5
  147. package/sls/scheduledSql.js +5 -5
  148. package/types/input.d.ts +56 -10
  149. package/types/output.d.ts +82 -12
  150. package/vpc/havipAttachment.d.ts +1 -1
  151. package/vpc/havipAttachment.js +1 -1
  152. package/vpc/ipv6InternetBandwidth.d.ts +2 -2
  153. package/vpc/ipv6InternetBandwidth.js +2 -2
  154. package/vpc/routeTableAttachment.d.ts +2 -2
  155. package/vpc/routeTableAttachment.js +2 -2
  156. package/vpc/trafficMirrorFilterIngressRule.d.ts +1 -1
  157. package/vpc/trafficMirrorFilterIngressRule.js +1 -1
@@ -1,8 +1,8 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
- * This resource will help you to manager Container Registry Enterprise Edition sync rules.
3
+ * Provides a Container Registry Enterprise Edition Sync Rule resource.
4
4
  *
5
- * For information about Container Registry Enterprise Edition sync rules and how to use it, see [Create a Sync Rule](https://www.alibabacloud.com/help/en/acr/developer-reference/api-cr-2018-12-01-createreposynctaskbyrule)
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") || "tf-example";
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 sync rule can be imported using the id. Format to `{instance_id}:{namespace_name}:{rule_id}`, e.g.
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 default `cri-xxx:my-namespace:crsr-yyy`
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
- * Name of Container Registry Enterprise Edition sync rule.
113
+ * The name of the sync rule.
111
114
  */
112
115
  readonly name: pulumi.Output<string>;
113
116
  /**
114
- * Name of Container Registry Enterprise Edition source namespace. It can contain 2 to 30 characters.
117
+ * The namespace name of the source instance.
115
118
  */
116
119
  readonly namespaceName: pulumi.Output<string>;
117
120
  /**
118
- * Name of the source repository which should be set together with `targetRepoName`, if empty means that the synchronization scope is the entire namespace level.
121
+ * The image repository name of the source instance.
119
122
  */
120
123
  readonly repoName: pulumi.Output<string | undefined>;
121
124
  /**
122
- * The uuid of Container Registry Enterprise Edition sync rule.
125
+ * The ID of the sync rule.
123
126
  */
124
127
  readonly ruleId: pulumi.Output<string>;
125
128
  /**
126
- * `FROM` or `TO`, the direction of synchronization. `FROM` means source instance, `TO` means target instance.
129
+ * The synchronization direction.
127
130
  */
128
131
  readonly syncDirection: pulumi.Output<string>;
129
132
  /**
130
- * `REPO` or `NAMESPACE`,the scope that the synchronization rule applies.
133
+ * The synchronization scope.
131
134
  */
132
135
  readonly syncScope: pulumi.Output<string>;
133
136
  /**
134
- * The regular expression used to filter image tags for synchronization in the source repository.
137
+ * The regular expression used to filter image tags.
135
138
  */
136
139
  readonly tagFilter: pulumi.Output<string>;
137
140
  /**
138
- * ID of Container Registry Enterprise Edition target instance to be synchronized.
141
+ * The ID of the destination instance.
139
142
  */
140
143
  readonly targetInstanceId: pulumi.Output<string>;
141
144
  /**
142
- * Name of Container Registry Enterprise Edition target namespace to be synchronized. It can contain 2 to 30 characters.
145
+ * The namespace name of the destination instance.
143
146
  */
144
147
  readonly targetNamespaceName: pulumi.Output<string>;
145
148
  /**
146
- * The target region to be synchronized.
149
+ * The region ID of the destination instance.
147
150
  */
148
151
  readonly targetRegionId: pulumi.Output<string>;
149
152
  /**
150
- * Name of the target repository.
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
- * Name of Container Registry Enterprise Edition sync rule.
174
+ * The name of the sync rule.
172
175
  */
173
176
  name?: pulumi.Input<string>;
174
177
  /**
175
- * Name of Container Registry Enterprise Edition source namespace. It can contain 2 to 30 characters.
178
+ * The namespace name of the source instance.
176
179
  */
177
180
  namespaceName?: pulumi.Input<string>;
178
181
  /**
179
- * Name of the source repository which should be set together with `targetRepoName`, if empty means that the synchronization scope is the entire namespace level.
182
+ * The image repository name of the source instance.
180
183
  */
181
184
  repoName?: pulumi.Input<string>;
182
185
  /**
183
- * The uuid of Container Registry Enterprise Edition sync rule.
186
+ * The ID of the sync rule.
184
187
  */
185
188
  ruleId?: pulumi.Input<string>;
186
189
  /**
187
- * `FROM` or `TO`, the direction of synchronization. `FROM` means source instance, `TO` means target instance.
190
+ * The synchronization direction.
188
191
  */
189
192
  syncDirection?: pulumi.Input<string>;
190
193
  /**
191
- * `REPO` or `NAMESPACE`,the scope that the synchronization rule applies.
194
+ * The synchronization scope.
192
195
  */
193
196
  syncScope?: pulumi.Input<string>;
194
197
  /**
195
- * The regular expression used to filter image tags for synchronization in the source repository.
198
+ * The regular expression used to filter image tags.
196
199
  */
197
200
  tagFilter?: pulumi.Input<string>;
198
201
  /**
199
- * ID of Container Registry Enterprise Edition target instance to be synchronized.
202
+ * The ID of the destination instance.
200
203
  */
201
204
  targetInstanceId?: pulumi.Input<string>;
202
205
  /**
203
- * Name of Container Registry Enterprise Edition target namespace to be synchronized. It can contain 2 to 30 characters.
206
+ * The namespace name of the destination instance.
204
207
  */
205
208
  targetNamespaceName?: pulumi.Input<string>;
206
209
  /**
207
- * The target region to be synchronized.
210
+ * The region ID of the destination instance.
208
211
  */
209
212
  targetRegionId?: pulumi.Input<string>;
210
213
  /**
211
- * Name of the target repository.
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
- * Name of Container Registry Enterprise Edition sync rule.
227
+ * The name of the sync rule.
225
228
  */
226
229
  name?: pulumi.Input<string>;
227
230
  /**
228
- * Name of Container Registry Enterprise Edition source namespace. It can contain 2 to 30 characters.
231
+ * The namespace name of the source instance.
229
232
  */
230
233
  namespaceName: pulumi.Input<string>;
231
234
  /**
232
- * Name of the source repository which should be set together with `targetRepoName`, if empty means that the synchronization scope is the entire namespace level.
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 for synchronization in the source repository.
239
+ * The regular expression used to filter image tags.
237
240
  */
238
241
  tagFilter: pulumi.Input<string>;
239
242
  /**
240
- * ID of Container Registry Enterprise Edition target instance to be synchronized.
243
+ * The ID of the destination instance.
241
244
  */
242
245
  targetInstanceId: pulumi.Input<string>;
243
246
  /**
244
- * Name of Container Registry Enterprise Edition target namespace to be synchronized. It can contain 2 to 30 characters.
247
+ * The namespace name of the destination instance.
245
248
  */
246
249
  targetNamespaceName: pulumi.Input<string>;
247
250
  /**
248
- * The target region to be synchronized.
251
+ * The region ID of the destination instance.
249
252
  */
250
253
  targetRegionId: pulumi.Input<string>;
251
254
  /**
252
- * Name of the target repository.
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
- * This resource will help you to manager Container Registry Enterprise Edition sync rules.
9
+ * Provides a Container Registry Enterprise Edition Sync Rule resource.
10
10
  *
11
- * For information about Container Registry Enterprise Edition sync rules and how to use it, see [Create a Sync Rule](https://www.alibabacloud.com/help/en/acr/developer-reference/api-cr-2018-12-01-createreposynctaskbyrule)
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") || "tf-example";
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 sync rule can be imported using the id. Format to `{instance_id}:{namespace_name}:{rule_id}`, e.g.
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 default `cri-xxx:my-namespace:crsr-yyy`
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 {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