pulumi-alicloud 3.72.0__py3-none-any.whl → 3.72.0a1735837979__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-alicloud might be problematic. Click here for more details.
- pulumi_alicloud/__init__.py +0 -75
- pulumi_alicloud/_inputs.py +0 -471
- pulumi_alicloud/adb/cluster.py +0 -68
- pulumi_alicloud/adb/db_cluster.py +0 -94
- pulumi_alicloud/adb/get_db_cluster_lake_versions.py +4 -39
- pulumi_alicloud/adb/outputs.py +2 -106
- pulumi_alicloud/cfg/get_aggregate_compliance_packs.py +2 -2
- pulumi_alicloud/cfg/get_aggregate_config_rules.py +4 -4
- pulumi_alicloud/cfg/get_aggregate_deliveries.py +2 -16
- pulumi_alicloud/cfg/get_aggregators.py +2 -2
- pulumi_alicloud/cfg/get_compliance_packs.py +2 -2
- pulumi_alicloud/cfg/get_configuration_recorders.py +6 -2
- pulumi_alicloud/cfg/get_deliveries.py +2 -11
- pulumi_alicloud/cfg/get_delivery_channels.py +4 -0
- pulumi_alicloud/cfg/get_rules.py +7 -3
- pulumi_alicloud/cfg/outputs.py +20 -28
- pulumi_alicloud/cloudfirewall/get_instance_members.py +2 -2
- pulumi_alicloud/cloudfirewall/get_instances.py +6 -23
- pulumi_alicloud/cloudfirewall/get_vpc_firewall_cens.py +2 -2
- pulumi_alicloud/cloudfirewall/get_vpc_firewall_control_policies.py +2 -32
- pulumi_alicloud/cloudfirewall/get_vpc_firewalls.py +2 -2
- pulumi_alicloud/cloudfirewall/instance.py +1 -1
- pulumi_alicloud/cloudfirewall/outputs.py +4 -16
- pulumi_alicloud/config/__init__.pyi +0 -2
- pulumi_alicloud/config/outputs.py +0 -284
- pulumi_alicloud/config/vars.py +0 -4
- pulumi_alicloud/cr/_inputs.py +0 -128
- pulumi_alicloud/cr/outputs.py +0 -93
- pulumi_alicloud/cr/registry_enterprise_instance.py +63 -86
- pulumi_alicloud/cs/registry_enterprise_sync_rule.py +38 -331
- pulumi_alicloud/dcdn/get_domains.py +2 -2
- pulumi_alicloud/dcdn/get_ipa_domains.py +2 -14
- pulumi_alicloud/dcdn/get_waf_domains.py +2 -5
- pulumi_alicloud/dcdn/get_waf_policies.py +2 -8
- pulumi_alicloud/dcdn/outputs.py +6 -6
- pulumi_alicloud/ddos/get_ddos_coo_domain_resources.py +2 -8
- pulumi_alicloud/ddos/get_ddos_coo_ports.py +4 -16
- pulumi_alicloud/ddos/outputs.py +4 -4
- pulumi_alicloud/ecs/_inputs.py +0 -9
- pulumi_alicloud/ecs/get_ecs_disks.py +14 -103
- pulumi_alicloud/ecs/outputs.py +36 -90
- pulumi_alicloud/esa/__init__.py +0 -3
- pulumi_alicloud/ess/get_scaling_configurations.py +10 -116
- pulumi_alicloud/ess/notification.py +3 -50
- pulumi_alicloud/ess/outputs.py +8 -104
- pulumi_alicloud/ess/scheduled_task.py +7 -7
- pulumi_alicloud/fc/v3_trigger.py +1 -1
- pulumi_alicloud/ga/get_accelerator_spare_ip_attachments.py +2 -11
- pulumi_alicloud/ga/get_acls.py +2 -14
- pulumi_alicloud/ga/get_additional_certificates.py +2 -11
- pulumi_alicloud/ga/get_bandwidth_packages.py +2 -14
- pulumi_alicloud/ga/get_basic_accelerate_ip_endpoint_relations.py +2 -2
- pulumi_alicloud/ga/get_basic_accelerate_ips.py +2 -2
- pulumi_alicloud/ga/get_basic_accelerators.py +2 -2
- pulumi_alicloud/ga/get_basic_endpoints.py +2 -2
- pulumi_alicloud/ga/get_custom_routing_endpoint_group_destinations.py +2 -2
- pulumi_alicloud/ga/get_custom_routing_endpoint_groups.py +2 -2
- pulumi_alicloud/ga/get_custom_routing_endpoint_traffic_policies.py +2 -2
- pulumi_alicloud/ga/get_custom_routing_endpoints.py +2 -2
- pulumi_alicloud/ga/get_custom_routing_port_mappings.py +2 -2
- pulumi_alicloud/ga/get_domains.py +2 -2
- pulumi_alicloud/ga/get_forwarding_rules.py +2 -8
- pulumi_alicloud/ga/get_ip_sets.py +2 -8
- pulumi_alicloud/ga/get_listeners.py +2 -11
- pulumi_alicloud/ga/outputs.py +32 -64
- pulumi_alicloud/get_msc_sub_contact_verification_message.py +2 -2
- pulumi_alicloud/get_msc_sub_contacts.py +2 -8
- pulumi_alicloud/get_msc_sub_subscriptions.py +2 -5
- pulumi_alicloud/get_msc_sub_webhooks.py +2 -8
- pulumi_alicloud/kms/key.py +28 -108
- pulumi_alicloud/kvstore/get_instances.py +3 -14
- pulumi_alicloud/kvstore/outputs.py +4 -48
- pulumi_alicloud/marketplace/order.py +2 -2
- pulumi_alicloud/mongodb/__init__.py +0 -1
- pulumi_alicloud/oss/__init__.py +0 -2
- pulumi_alicloud/oss/_inputs.py +0 -68
- pulumi_alicloud/oss/outputs.py +0 -74
- pulumi_alicloud/privatelink/get_service.py +2 -2
- pulumi_alicloud/privatelink/get_vpc_endpoint_connections.py +2 -14
- pulumi_alicloud/privatelink/get_vpc_endpoint_service_resources.py +2 -8
- pulumi_alicloud/privatelink/get_vpc_endpoint_service_users.py +2 -11
- pulumi_alicloud/privatelink/get_vpc_endpoint_zones.py +2 -11
- pulumi_alicloud/privatelink/get_vpc_endpoints.py +2 -23
- pulumi_alicloud/privatelink/outputs.py +6 -6
- pulumi_alicloud/provider.py +0 -20
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/ram/get_policies.py +8 -66
- pulumi_alicloud/rds/instance.py +14 -211
- pulumi_alicloud/resourcemanager/control_policy_attachment.py +28 -28
- pulumi_alicloud/resourcemanager/shared_resource.py +0 -7
- pulumi_alicloud/schedulerx/__init__.py +0 -3
- pulumi_alicloud/schedulerx/namespace.py +51 -64
- pulumi_alicloud/schedulerx/outputs.py +0 -425
- pulumi_alicloud/sddp/get_configs.py +2 -5
- pulumi_alicloud/sddp/get_data_limits.py +2 -11
- pulumi_alicloud/sddp/get_instances.py +2 -5
- pulumi_alicloud/sddp/get_rules.py +2 -29
- pulumi_alicloud/sddp/outputs.py +14 -14
- pulumi_alicloud/vpc/get_peer_connections.py +2 -17
- pulumi_alicloud/vpc/network.py +40 -293
- pulumi_alicloud/vpc/outputs.py +2 -2
- pulumi_alicloud/vpc/peer_connection.py +132 -239
- pulumi_alicloud/vpc/peer_connection_accepter.py +6 -85
- pulumi_alicloud/waf/domain.py +2 -2
- pulumi_alicloud/waf/get_certificates.py +2 -14
- pulumi_alicloud/waf/get_domains.py +4 -6
- pulumi_alicloud/waf/get_instances.py +2 -2
- pulumi_alicloud/waf/instance.py +64 -0
- pulumi_alicloud/waf/outputs.py +4 -2
- pulumi_alicloud/wafv3/get_instances.py +4 -10
- {pulumi_alicloud-3.72.0.dist-info → pulumi_alicloud-3.72.0a1735837979.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.72.0.dist-info → pulumi_alicloud-3.72.0a1735837979.dist-info}/RECORD +114 -129
- {pulumi_alicloud-3.72.0.dist-info → pulumi_alicloud-3.72.0a1735837979.dist-info}/WHEEL +1 -1
- pulumi_alicloud/apig/__init__.py +0 -12
- pulumi_alicloud/apig/_inputs.py +0 -263
- pulumi_alicloud/apig/environment.py +0 -317
- pulumi_alicloud/apig/gateway.py +0 -645
- pulumi_alicloud/apig/http_api.py +0 -465
- pulumi_alicloud/apig/outputs.py +0 -213
- pulumi_alicloud/esa/_inputs.py +0 -456
- pulumi_alicloud/esa/outputs.py +0 -321
- pulumi_alicloud/esa/record.py +0 -798
- pulumi_alicloud/mongodb/private_srv_network_address.py +0 -283
- pulumi_alicloud/oss/access_point.py +0 -463
- pulumi_alicloud/oss/bucket_worm.py +0 -327
- pulumi_alicloud/schedulerx/_inputs.py +0 -542
- pulumi_alicloud/schedulerx/app_group.py +0 -952
- pulumi_alicloud/schedulerx/job.py +0 -1454
- {pulumi_alicloud-3.72.0.dist-info → pulumi_alicloud-3.72.0a1735837979.dist-info}/top_level.txt +0 -0
|
@@ -27,31 +27,18 @@ class RegistryEnterpriseSyncRuleArgs:
|
|
|
27
27
|
target_region_id: pulumi.Input[str],
|
|
28
28
|
name: Optional[pulumi.Input[str]] = None,
|
|
29
29
|
repo_name: Optional[pulumi.Input[str]] = None,
|
|
30
|
-
|
|
31
|
-
sync_scope: Optional[pulumi.Input[str]] = None,
|
|
32
|
-
sync_trigger: Optional[pulumi.Input[str]] = None,
|
|
33
|
-
target_repo_name: Optional[pulumi.Input[str]] = None,
|
|
34
|
-
target_user_id: Optional[pulumi.Input[str]] = None):
|
|
30
|
+
target_repo_name: Optional[pulumi.Input[str]] = None):
|
|
35
31
|
"""
|
|
36
32
|
The set of arguments for constructing a RegistryEnterpriseSyncRule resource.
|
|
37
|
-
:param pulumi.Input[str] instance_id: The ID of the Container Registry source instance.
|
|
33
|
+
:param pulumi.Input[str] instance_id: The ID of the Container Registry Enterprise Edition source instance.
|
|
38
34
|
:param pulumi.Input[str] namespace_name: The namespace name of the source instance.
|
|
39
35
|
:param pulumi.Input[str] tag_filter: The regular expression used to filter image tags.
|
|
40
36
|
:param pulumi.Input[str] target_instance_id: The ID of the destination instance.
|
|
41
37
|
:param pulumi.Input[str] target_namespace_name: The namespace name of the destination instance.
|
|
42
38
|
:param pulumi.Input[str] target_region_id: The region ID of the destination instance.
|
|
43
|
-
:param pulumi.Input[str] name:
|
|
39
|
+
:param pulumi.Input[str] name: The name of the sync rule.
|
|
44
40
|
:param pulumi.Input[str] repo_name: The image repository name of the source instance.
|
|
45
|
-
:param pulumi.Input[str] sync_rule_name: The name of the sync rule.
|
|
46
|
-
:param pulumi.Input[str] sync_scope: The synchronization scope. Valid values:
|
|
47
|
-
- `REPO`: Encrypts or decrypts data.
|
|
48
|
-
- `NAMESPACE`: Generates or verifies a digital signature.
|
|
49
|
-
> **NOTE:** From version 1.240.0, `sync_scope` can be set.
|
|
50
|
-
:param pulumi.Input[str] sync_trigger: The policy configured to trigger the synchronization rule. Default value: `PASSIVE`. Valid values:
|
|
51
|
-
- `INITIATIVE`: Manually triggers the synchronization rule.
|
|
52
|
-
- `PASSIVE`: Automatically triggers the synchronization rule.
|
|
53
41
|
:param pulumi.Input[str] target_repo_name: The image repository name of the destination instance.
|
|
54
|
-
:param pulumi.Input[str] target_user_id: The UID of the account to which the target instance belongs.
|
|
55
42
|
"""
|
|
56
43
|
pulumi.set(__self__, "instance_id", instance_id)
|
|
57
44
|
pulumi.set(__self__, "namespace_name", namespace_name)
|
|
@@ -59,29 +46,18 @@ class RegistryEnterpriseSyncRuleArgs:
|
|
|
59
46
|
pulumi.set(__self__, "target_instance_id", target_instance_id)
|
|
60
47
|
pulumi.set(__self__, "target_namespace_name", target_namespace_name)
|
|
61
48
|
pulumi.set(__self__, "target_region_id", target_region_id)
|
|
62
|
-
if name is not None:
|
|
63
|
-
warnings.warn("""Field `name` has been deprecated from provider version 1.240.0. New field `sync_rule_name` instead.""", DeprecationWarning)
|
|
64
|
-
pulumi.log.warn("""name is deprecated: Field `name` has been deprecated from provider version 1.240.0. New field `sync_rule_name` instead.""")
|
|
65
49
|
if name is not None:
|
|
66
50
|
pulumi.set(__self__, "name", name)
|
|
67
51
|
if repo_name is not None:
|
|
68
52
|
pulumi.set(__self__, "repo_name", repo_name)
|
|
69
|
-
if sync_rule_name is not None:
|
|
70
|
-
pulumi.set(__self__, "sync_rule_name", sync_rule_name)
|
|
71
|
-
if sync_scope is not None:
|
|
72
|
-
pulumi.set(__self__, "sync_scope", sync_scope)
|
|
73
|
-
if sync_trigger is not None:
|
|
74
|
-
pulumi.set(__self__, "sync_trigger", sync_trigger)
|
|
75
53
|
if target_repo_name is not None:
|
|
76
54
|
pulumi.set(__self__, "target_repo_name", target_repo_name)
|
|
77
|
-
if target_user_id is not None:
|
|
78
|
-
pulumi.set(__self__, "target_user_id", target_user_id)
|
|
79
55
|
|
|
80
56
|
@property
|
|
81
57
|
@pulumi.getter(name="instanceId")
|
|
82
58
|
def instance_id(self) -> pulumi.Input[str]:
|
|
83
59
|
"""
|
|
84
|
-
The ID of the Container Registry source instance.
|
|
60
|
+
The ID of the Container Registry Enterprise Edition source instance.
|
|
85
61
|
"""
|
|
86
62
|
return pulumi.get(self, "instance_id")
|
|
87
63
|
|
|
@@ -151,10 +127,9 @@ class RegistryEnterpriseSyncRuleArgs:
|
|
|
151
127
|
|
|
152
128
|
@property
|
|
153
129
|
@pulumi.getter
|
|
154
|
-
@_utilities.deprecated("""Field `name` has been deprecated from provider version 1.240.0. New field `sync_rule_name` instead.""")
|
|
155
130
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
156
131
|
"""
|
|
157
|
-
|
|
132
|
+
The name of the sync rule.
|
|
158
133
|
"""
|
|
159
134
|
return pulumi.get(self, "name")
|
|
160
135
|
|
|
@@ -174,47 +149,6 @@ class RegistryEnterpriseSyncRuleArgs:
|
|
|
174
149
|
def repo_name(self, value: Optional[pulumi.Input[str]]):
|
|
175
150
|
pulumi.set(self, "repo_name", value)
|
|
176
151
|
|
|
177
|
-
@property
|
|
178
|
-
@pulumi.getter(name="syncRuleName")
|
|
179
|
-
def sync_rule_name(self) -> Optional[pulumi.Input[str]]:
|
|
180
|
-
"""
|
|
181
|
-
The name of the sync rule.
|
|
182
|
-
"""
|
|
183
|
-
return pulumi.get(self, "sync_rule_name")
|
|
184
|
-
|
|
185
|
-
@sync_rule_name.setter
|
|
186
|
-
def sync_rule_name(self, value: Optional[pulumi.Input[str]]):
|
|
187
|
-
pulumi.set(self, "sync_rule_name", value)
|
|
188
|
-
|
|
189
|
-
@property
|
|
190
|
-
@pulumi.getter(name="syncScope")
|
|
191
|
-
def sync_scope(self) -> Optional[pulumi.Input[str]]:
|
|
192
|
-
"""
|
|
193
|
-
The synchronization scope. Valid values:
|
|
194
|
-
- `REPO`: Encrypts or decrypts data.
|
|
195
|
-
- `NAMESPACE`: Generates or verifies a digital signature.
|
|
196
|
-
> **NOTE:** From version 1.240.0, `sync_scope` can be set.
|
|
197
|
-
"""
|
|
198
|
-
return pulumi.get(self, "sync_scope")
|
|
199
|
-
|
|
200
|
-
@sync_scope.setter
|
|
201
|
-
def sync_scope(self, value: Optional[pulumi.Input[str]]):
|
|
202
|
-
pulumi.set(self, "sync_scope", value)
|
|
203
|
-
|
|
204
|
-
@property
|
|
205
|
-
@pulumi.getter(name="syncTrigger")
|
|
206
|
-
def sync_trigger(self) -> Optional[pulumi.Input[str]]:
|
|
207
|
-
"""
|
|
208
|
-
The policy configured to trigger the synchronization rule. Default value: `PASSIVE`. Valid values:
|
|
209
|
-
- `INITIATIVE`: Manually triggers the synchronization rule.
|
|
210
|
-
- `PASSIVE`: Automatically triggers the synchronization rule.
|
|
211
|
-
"""
|
|
212
|
-
return pulumi.get(self, "sync_trigger")
|
|
213
|
-
|
|
214
|
-
@sync_trigger.setter
|
|
215
|
-
def sync_trigger(self, value: Optional[pulumi.Input[str]]):
|
|
216
|
-
pulumi.set(self, "sync_trigger", value)
|
|
217
|
-
|
|
218
152
|
@property
|
|
219
153
|
@pulumi.getter(name="targetRepoName")
|
|
220
154
|
def target_repo_name(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -227,96 +161,51 @@ class RegistryEnterpriseSyncRuleArgs:
|
|
|
227
161
|
def target_repo_name(self, value: Optional[pulumi.Input[str]]):
|
|
228
162
|
pulumi.set(self, "target_repo_name", value)
|
|
229
163
|
|
|
230
|
-
@property
|
|
231
|
-
@pulumi.getter(name="targetUserId")
|
|
232
|
-
def target_user_id(self) -> Optional[pulumi.Input[str]]:
|
|
233
|
-
"""
|
|
234
|
-
The UID of the account to which the target instance belongs.
|
|
235
|
-
"""
|
|
236
|
-
return pulumi.get(self, "target_user_id")
|
|
237
|
-
|
|
238
|
-
@target_user_id.setter
|
|
239
|
-
def target_user_id(self, value: Optional[pulumi.Input[str]]):
|
|
240
|
-
pulumi.set(self, "target_user_id", value)
|
|
241
|
-
|
|
242
164
|
|
|
243
165
|
@pulumi.input_type
|
|
244
166
|
class _RegistryEnterpriseSyncRuleState:
|
|
245
167
|
def __init__(__self__, *,
|
|
246
|
-
create_time: Optional[pulumi.Input[str]] = None,
|
|
247
168
|
instance_id: Optional[pulumi.Input[str]] = None,
|
|
248
169
|
name: Optional[pulumi.Input[str]] = None,
|
|
249
170
|
namespace_name: Optional[pulumi.Input[str]] = None,
|
|
250
|
-
region_id: Optional[pulumi.Input[str]] = None,
|
|
251
171
|
repo_name: Optional[pulumi.Input[str]] = None,
|
|
252
|
-
repo_sync_rule_id: Optional[pulumi.Input[str]] = None,
|
|
253
172
|
rule_id: Optional[pulumi.Input[str]] = None,
|
|
254
173
|
sync_direction: Optional[pulumi.Input[str]] = None,
|
|
255
|
-
sync_rule_name: Optional[pulumi.Input[str]] = None,
|
|
256
174
|
sync_scope: Optional[pulumi.Input[str]] = None,
|
|
257
|
-
sync_trigger: Optional[pulumi.Input[str]] = None,
|
|
258
175
|
tag_filter: Optional[pulumi.Input[str]] = None,
|
|
259
176
|
target_instance_id: Optional[pulumi.Input[str]] = None,
|
|
260
177
|
target_namespace_name: Optional[pulumi.Input[str]] = None,
|
|
261
178
|
target_region_id: Optional[pulumi.Input[str]] = None,
|
|
262
|
-
target_repo_name: Optional[pulumi.Input[str]] = None
|
|
263
|
-
target_user_id: Optional[pulumi.Input[str]] = None):
|
|
179
|
+
target_repo_name: Optional[pulumi.Input[str]] = None):
|
|
264
180
|
"""
|
|
265
181
|
Input properties used for looking up and filtering RegistryEnterpriseSyncRule resources.
|
|
266
|
-
:param pulumi.Input[str]
|
|
267
|
-
:param pulumi.Input[str]
|
|
268
|
-
:param pulumi.Input[str] name: Field `name` has been deprecated from provider version 1.240.0. New field `sync_rule_name` instead.
|
|
182
|
+
:param pulumi.Input[str] instance_id: The ID of the Container Registry Enterprise Edition source instance.
|
|
183
|
+
:param pulumi.Input[str] name: The name of the sync rule.
|
|
269
184
|
:param pulumi.Input[str] namespace_name: The namespace name of the source instance.
|
|
270
|
-
:param pulumi.Input[str] region_id: (Available since v1.240.0) The region ID of the source instance.
|
|
271
185
|
:param pulumi.Input[str] repo_name: The image repository name of the source instance.
|
|
272
|
-
:param pulumi.Input[str]
|
|
273
|
-
:param pulumi.Input[str] rule_id: (Deprecated since v1.240.0) Field `rule_id` has been deprecated from provider version 1.240.0. New field `repo_sync_rule_id` instead.
|
|
186
|
+
:param pulumi.Input[str] rule_id: The ID of the sync rule.
|
|
274
187
|
:param pulumi.Input[str] sync_direction: The synchronization direction.
|
|
275
|
-
:param pulumi.Input[str]
|
|
276
|
-
:param pulumi.Input[str] sync_scope: The synchronization scope. Valid values:
|
|
277
|
-
- `REPO`: Encrypts or decrypts data.
|
|
278
|
-
- `NAMESPACE`: Generates or verifies a digital signature.
|
|
279
|
-
> **NOTE:** From version 1.240.0, `sync_scope` can be set.
|
|
280
|
-
:param pulumi.Input[str] sync_trigger: The policy configured to trigger the synchronization rule. Default value: `PASSIVE`. Valid values:
|
|
281
|
-
- `INITIATIVE`: Manually triggers the synchronization rule.
|
|
282
|
-
- `PASSIVE`: Automatically triggers the synchronization rule.
|
|
188
|
+
:param pulumi.Input[str] sync_scope: The synchronization scope.
|
|
283
189
|
:param pulumi.Input[str] tag_filter: The regular expression used to filter image tags.
|
|
284
190
|
:param pulumi.Input[str] target_instance_id: The ID of the destination instance.
|
|
285
191
|
:param pulumi.Input[str] target_namespace_name: The namespace name of the destination instance.
|
|
286
192
|
:param pulumi.Input[str] target_region_id: The region ID of the destination instance.
|
|
287
193
|
:param pulumi.Input[str] target_repo_name: The image repository name of the destination instance.
|
|
288
|
-
:param pulumi.Input[str] target_user_id: The UID of the account to which the target instance belongs.
|
|
289
194
|
"""
|
|
290
|
-
if create_time is not None:
|
|
291
|
-
pulumi.set(__self__, "create_time", create_time)
|
|
292
195
|
if instance_id is not None:
|
|
293
196
|
pulumi.set(__self__, "instance_id", instance_id)
|
|
294
|
-
if name is not None:
|
|
295
|
-
warnings.warn("""Field `name` has been deprecated from provider version 1.240.0. New field `sync_rule_name` instead.""", DeprecationWarning)
|
|
296
|
-
pulumi.log.warn("""name is deprecated: Field `name` has been deprecated from provider version 1.240.0. New field `sync_rule_name` instead.""")
|
|
297
197
|
if name is not None:
|
|
298
198
|
pulumi.set(__self__, "name", name)
|
|
299
199
|
if namespace_name is not None:
|
|
300
200
|
pulumi.set(__self__, "namespace_name", namespace_name)
|
|
301
|
-
if region_id is not None:
|
|
302
|
-
pulumi.set(__self__, "region_id", region_id)
|
|
303
201
|
if repo_name is not None:
|
|
304
202
|
pulumi.set(__self__, "repo_name", repo_name)
|
|
305
|
-
if repo_sync_rule_id is not None:
|
|
306
|
-
pulumi.set(__self__, "repo_sync_rule_id", repo_sync_rule_id)
|
|
307
|
-
if rule_id is not None:
|
|
308
|
-
warnings.warn("""Field `rule_id` has been deprecated from provider version 1.240.0. New field `repo_sync_rule_id` instead.""", DeprecationWarning)
|
|
309
|
-
pulumi.log.warn("""rule_id is deprecated: Field `rule_id` has been deprecated from provider version 1.240.0. New field `repo_sync_rule_id` instead.""")
|
|
310
203
|
if rule_id is not None:
|
|
311
204
|
pulumi.set(__self__, "rule_id", rule_id)
|
|
312
205
|
if sync_direction is not None:
|
|
313
206
|
pulumi.set(__self__, "sync_direction", sync_direction)
|
|
314
|
-
if sync_rule_name is not None:
|
|
315
|
-
pulumi.set(__self__, "sync_rule_name", sync_rule_name)
|
|
316
207
|
if sync_scope is not None:
|
|
317
208
|
pulumi.set(__self__, "sync_scope", sync_scope)
|
|
318
|
-
if sync_trigger is not None:
|
|
319
|
-
pulumi.set(__self__, "sync_trigger", sync_trigger)
|
|
320
209
|
if tag_filter is not None:
|
|
321
210
|
pulumi.set(__self__, "tag_filter", tag_filter)
|
|
322
211
|
if target_instance_id is not None:
|
|
@@ -327,26 +216,12 @@ class _RegistryEnterpriseSyncRuleState:
|
|
|
327
216
|
pulumi.set(__self__, "target_region_id", target_region_id)
|
|
328
217
|
if target_repo_name is not None:
|
|
329
218
|
pulumi.set(__self__, "target_repo_name", target_repo_name)
|
|
330
|
-
if target_user_id is not None:
|
|
331
|
-
pulumi.set(__self__, "target_user_id", target_user_id)
|
|
332
|
-
|
|
333
|
-
@property
|
|
334
|
-
@pulumi.getter(name="createTime")
|
|
335
|
-
def create_time(self) -> Optional[pulumi.Input[str]]:
|
|
336
|
-
"""
|
|
337
|
-
(Available since v1.240.0) The time when the synchronization rule was created.
|
|
338
|
-
"""
|
|
339
|
-
return pulumi.get(self, "create_time")
|
|
340
|
-
|
|
341
|
-
@create_time.setter
|
|
342
|
-
def create_time(self, value: Optional[pulumi.Input[str]]):
|
|
343
|
-
pulumi.set(self, "create_time", value)
|
|
344
219
|
|
|
345
220
|
@property
|
|
346
221
|
@pulumi.getter(name="instanceId")
|
|
347
222
|
def instance_id(self) -> Optional[pulumi.Input[str]]:
|
|
348
223
|
"""
|
|
349
|
-
The ID of the Container Registry source instance.
|
|
224
|
+
The ID of the Container Registry Enterprise Edition source instance.
|
|
350
225
|
"""
|
|
351
226
|
return pulumi.get(self, "instance_id")
|
|
352
227
|
|
|
@@ -356,10 +231,9 @@ class _RegistryEnterpriseSyncRuleState:
|
|
|
356
231
|
|
|
357
232
|
@property
|
|
358
233
|
@pulumi.getter
|
|
359
|
-
@_utilities.deprecated("""Field `name` has been deprecated from provider version 1.240.0. New field `sync_rule_name` instead.""")
|
|
360
234
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
361
235
|
"""
|
|
362
|
-
|
|
236
|
+
The name of the sync rule.
|
|
363
237
|
"""
|
|
364
238
|
return pulumi.get(self, "name")
|
|
365
239
|
|
|
@@ -379,18 +253,6 @@ class _RegistryEnterpriseSyncRuleState:
|
|
|
379
253
|
def namespace_name(self, value: Optional[pulumi.Input[str]]):
|
|
380
254
|
pulumi.set(self, "namespace_name", value)
|
|
381
255
|
|
|
382
|
-
@property
|
|
383
|
-
@pulumi.getter(name="regionId")
|
|
384
|
-
def region_id(self) -> Optional[pulumi.Input[str]]:
|
|
385
|
-
"""
|
|
386
|
-
(Available since v1.240.0) The region ID of the source instance.
|
|
387
|
-
"""
|
|
388
|
-
return pulumi.get(self, "region_id")
|
|
389
|
-
|
|
390
|
-
@region_id.setter
|
|
391
|
-
def region_id(self, value: Optional[pulumi.Input[str]]):
|
|
392
|
-
pulumi.set(self, "region_id", value)
|
|
393
|
-
|
|
394
256
|
@property
|
|
395
257
|
@pulumi.getter(name="repoName")
|
|
396
258
|
def repo_name(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -403,24 +265,11 @@ class _RegistryEnterpriseSyncRuleState:
|
|
|
403
265
|
def repo_name(self, value: Optional[pulumi.Input[str]]):
|
|
404
266
|
pulumi.set(self, "repo_name", value)
|
|
405
267
|
|
|
406
|
-
@property
|
|
407
|
-
@pulumi.getter(name="repoSyncRuleId")
|
|
408
|
-
def repo_sync_rule_id(self) -> Optional[pulumi.Input[str]]:
|
|
409
|
-
"""
|
|
410
|
-
(Available since v1.240.0) The ID of the synchronization rule.
|
|
411
|
-
"""
|
|
412
|
-
return pulumi.get(self, "repo_sync_rule_id")
|
|
413
|
-
|
|
414
|
-
@repo_sync_rule_id.setter
|
|
415
|
-
def repo_sync_rule_id(self, value: Optional[pulumi.Input[str]]):
|
|
416
|
-
pulumi.set(self, "repo_sync_rule_id", value)
|
|
417
|
-
|
|
418
268
|
@property
|
|
419
269
|
@pulumi.getter(name="ruleId")
|
|
420
|
-
@_utilities.deprecated("""Field `rule_id` has been deprecated from provider version 1.240.0. New field `repo_sync_rule_id` instead.""")
|
|
421
270
|
def rule_id(self) -> Optional[pulumi.Input[str]]:
|
|
422
271
|
"""
|
|
423
|
-
|
|
272
|
+
The ID of the sync rule.
|
|
424
273
|
"""
|
|
425
274
|
return pulumi.get(self, "rule_id")
|
|
426
275
|
|
|
@@ -440,26 +289,11 @@ class _RegistryEnterpriseSyncRuleState:
|
|
|
440
289
|
def sync_direction(self, value: Optional[pulumi.Input[str]]):
|
|
441
290
|
pulumi.set(self, "sync_direction", value)
|
|
442
291
|
|
|
443
|
-
@property
|
|
444
|
-
@pulumi.getter(name="syncRuleName")
|
|
445
|
-
def sync_rule_name(self) -> Optional[pulumi.Input[str]]:
|
|
446
|
-
"""
|
|
447
|
-
The name of the sync rule.
|
|
448
|
-
"""
|
|
449
|
-
return pulumi.get(self, "sync_rule_name")
|
|
450
|
-
|
|
451
|
-
@sync_rule_name.setter
|
|
452
|
-
def sync_rule_name(self, value: Optional[pulumi.Input[str]]):
|
|
453
|
-
pulumi.set(self, "sync_rule_name", value)
|
|
454
|
-
|
|
455
292
|
@property
|
|
456
293
|
@pulumi.getter(name="syncScope")
|
|
457
294
|
def sync_scope(self) -> Optional[pulumi.Input[str]]:
|
|
458
295
|
"""
|
|
459
|
-
The synchronization scope.
|
|
460
|
-
- `REPO`: Encrypts or decrypts data.
|
|
461
|
-
- `NAMESPACE`: Generates or verifies a digital signature.
|
|
462
|
-
> **NOTE:** From version 1.240.0, `sync_scope` can be set.
|
|
296
|
+
The synchronization scope.
|
|
463
297
|
"""
|
|
464
298
|
return pulumi.get(self, "sync_scope")
|
|
465
299
|
|
|
@@ -467,20 +301,6 @@ class _RegistryEnterpriseSyncRuleState:
|
|
|
467
301
|
def sync_scope(self, value: Optional[pulumi.Input[str]]):
|
|
468
302
|
pulumi.set(self, "sync_scope", value)
|
|
469
303
|
|
|
470
|
-
@property
|
|
471
|
-
@pulumi.getter(name="syncTrigger")
|
|
472
|
-
def sync_trigger(self) -> Optional[pulumi.Input[str]]:
|
|
473
|
-
"""
|
|
474
|
-
The policy configured to trigger the synchronization rule. Default value: `PASSIVE`. Valid values:
|
|
475
|
-
- `INITIATIVE`: Manually triggers the synchronization rule.
|
|
476
|
-
- `PASSIVE`: Automatically triggers the synchronization rule.
|
|
477
|
-
"""
|
|
478
|
-
return pulumi.get(self, "sync_trigger")
|
|
479
|
-
|
|
480
|
-
@sync_trigger.setter
|
|
481
|
-
def sync_trigger(self, value: Optional[pulumi.Input[str]]):
|
|
482
|
-
pulumi.set(self, "sync_trigger", value)
|
|
483
|
-
|
|
484
304
|
@property
|
|
485
305
|
@pulumi.getter(name="tagFilter")
|
|
486
306
|
def tag_filter(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -541,18 +361,6 @@ class _RegistryEnterpriseSyncRuleState:
|
|
|
541
361
|
def target_repo_name(self, value: Optional[pulumi.Input[str]]):
|
|
542
362
|
pulumi.set(self, "target_repo_name", value)
|
|
543
363
|
|
|
544
|
-
@property
|
|
545
|
-
@pulumi.getter(name="targetUserId")
|
|
546
|
-
def target_user_id(self) -> Optional[pulumi.Input[str]]:
|
|
547
|
-
"""
|
|
548
|
-
The UID of the account to which the target instance belongs.
|
|
549
|
-
"""
|
|
550
|
-
return pulumi.get(self, "target_user_id")
|
|
551
|
-
|
|
552
|
-
@target_user_id.setter
|
|
553
|
-
def target_user_id(self, value: Optional[pulumi.Input[str]]):
|
|
554
|
-
pulumi.set(self, "target_user_id", value)
|
|
555
|
-
|
|
556
364
|
|
|
557
365
|
class RegistryEnterpriseSyncRule(pulumi.CustomResource):
|
|
558
366
|
@overload
|
|
@@ -563,24 +371,20 @@ class RegistryEnterpriseSyncRule(pulumi.CustomResource):
|
|
|
563
371
|
name: Optional[pulumi.Input[str]] = None,
|
|
564
372
|
namespace_name: Optional[pulumi.Input[str]] = None,
|
|
565
373
|
repo_name: Optional[pulumi.Input[str]] = None,
|
|
566
|
-
sync_rule_name: Optional[pulumi.Input[str]] = None,
|
|
567
|
-
sync_scope: Optional[pulumi.Input[str]] = None,
|
|
568
|
-
sync_trigger: Optional[pulumi.Input[str]] = None,
|
|
569
374
|
tag_filter: Optional[pulumi.Input[str]] = None,
|
|
570
375
|
target_instance_id: Optional[pulumi.Input[str]] = None,
|
|
571
376
|
target_namespace_name: Optional[pulumi.Input[str]] = None,
|
|
572
377
|
target_region_id: Optional[pulumi.Input[str]] = None,
|
|
573
378
|
target_repo_name: Optional[pulumi.Input[str]] = None,
|
|
574
|
-
target_user_id: Optional[pulumi.Input[str]] = None,
|
|
575
379
|
__props__=None):
|
|
576
380
|
"""
|
|
577
|
-
Provides a Container Registry Sync Rule resource.
|
|
381
|
+
Provides a Container Registry Enterprise Edition Sync Rule resource.
|
|
578
382
|
|
|
579
|
-
For information about Container Registry 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)
|
|
383
|
+
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)
|
|
580
384
|
|
|
581
385
|
> **NOTE:** Available since v1.90.0.
|
|
582
386
|
|
|
583
|
-
> **NOTE:** You need to set your registry password in Container Registry console before use this resource.
|
|
387
|
+
> **NOTE:** You need to set your registry password in Container Registry Enterprise Edition console before use this resource.
|
|
584
388
|
|
|
585
389
|
## Example Usage
|
|
586
390
|
|
|
@@ -638,7 +442,7 @@ class RegistryEnterpriseSyncRule(pulumi.CustomResource):
|
|
|
638
442
|
default_registry_enterprise_sync_rule = alicloud.cs.RegistryEnterpriseSyncRule("default",
|
|
639
443
|
instance_id=source.id,
|
|
640
444
|
namespace_name=source_registry_enterprise_namespace.name,
|
|
641
|
-
|
|
445
|
+
name=f"{name}-{default_integer['result']}",
|
|
642
446
|
target_instance_id=target.id,
|
|
643
447
|
target_namespace_name=target_registry_enterprise_namespace.name,
|
|
644
448
|
target_region_id=default.regions[0].id,
|
|
@@ -649,32 +453,23 @@ class RegistryEnterpriseSyncRule(pulumi.CustomResource):
|
|
|
649
453
|
|
|
650
454
|
## Import
|
|
651
455
|
|
|
652
|
-
Container Registry Sync Rule can be imported using the id, e.g.
|
|
456
|
+
Container Registry Enterprise Edition Sync Rule can be imported using the id, e.g.
|
|
653
457
|
|
|
654
458
|
```sh
|
|
655
|
-
$ pulumi import alicloud:cs/registryEnterpriseSyncRule:RegistryEnterpriseSyncRule example <instance_id>:<namespace_name>:<
|
|
459
|
+
$ pulumi import alicloud:cs/registryEnterpriseSyncRule:RegistryEnterpriseSyncRule example <instance_id>:<namespace_name>:<rule_id>
|
|
656
460
|
```
|
|
657
461
|
|
|
658
462
|
:param str resource_name: The name of the resource.
|
|
659
463
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
660
|
-
:param pulumi.Input[str] instance_id: The ID of the Container Registry source instance.
|
|
661
|
-
:param pulumi.Input[str] name:
|
|
464
|
+
:param pulumi.Input[str] instance_id: The ID of the Container Registry Enterprise Edition source instance.
|
|
465
|
+
:param pulumi.Input[str] name: The name of the sync rule.
|
|
662
466
|
:param pulumi.Input[str] namespace_name: The namespace name of the source instance.
|
|
663
467
|
:param pulumi.Input[str] repo_name: The image repository name of the source instance.
|
|
664
|
-
:param pulumi.Input[str] sync_rule_name: The name of the sync rule.
|
|
665
|
-
:param pulumi.Input[str] sync_scope: The synchronization scope. Valid values:
|
|
666
|
-
- `REPO`: Encrypts or decrypts data.
|
|
667
|
-
- `NAMESPACE`: Generates or verifies a digital signature.
|
|
668
|
-
> **NOTE:** From version 1.240.0, `sync_scope` can be set.
|
|
669
|
-
:param pulumi.Input[str] sync_trigger: The policy configured to trigger the synchronization rule. Default value: `PASSIVE`. Valid values:
|
|
670
|
-
- `INITIATIVE`: Manually triggers the synchronization rule.
|
|
671
|
-
- `PASSIVE`: Automatically triggers the synchronization rule.
|
|
672
468
|
:param pulumi.Input[str] tag_filter: The regular expression used to filter image tags.
|
|
673
469
|
:param pulumi.Input[str] target_instance_id: The ID of the destination instance.
|
|
674
470
|
:param pulumi.Input[str] target_namespace_name: The namespace name of the destination instance.
|
|
675
471
|
:param pulumi.Input[str] target_region_id: The region ID of the destination instance.
|
|
676
472
|
:param pulumi.Input[str] target_repo_name: The image repository name of the destination instance.
|
|
677
|
-
:param pulumi.Input[str] target_user_id: The UID of the account to which the target instance belongs.
|
|
678
473
|
"""
|
|
679
474
|
...
|
|
680
475
|
@overload
|
|
@@ -683,13 +478,13 @@ class RegistryEnterpriseSyncRule(pulumi.CustomResource):
|
|
|
683
478
|
args: RegistryEnterpriseSyncRuleArgs,
|
|
684
479
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
685
480
|
"""
|
|
686
|
-
Provides a Container Registry Sync Rule resource.
|
|
481
|
+
Provides a Container Registry Enterprise Edition Sync Rule resource.
|
|
687
482
|
|
|
688
|
-
For information about Container Registry 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)
|
|
483
|
+
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)
|
|
689
484
|
|
|
690
485
|
> **NOTE:** Available since v1.90.0.
|
|
691
486
|
|
|
692
|
-
> **NOTE:** You need to set your registry password in Container Registry console before use this resource.
|
|
487
|
+
> **NOTE:** You need to set your registry password in Container Registry Enterprise Edition console before use this resource.
|
|
693
488
|
|
|
694
489
|
## Example Usage
|
|
695
490
|
|
|
@@ -747,7 +542,7 @@ class RegistryEnterpriseSyncRule(pulumi.CustomResource):
|
|
|
747
542
|
default_registry_enterprise_sync_rule = alicloud.cs.RegistryEnterpriseSyncRule("default",
|
|
748
543
|
instance_id=source.id,
|
|
749
544
|
namespace_name=source_registry_enterprise_namespace.name,
|
|
750
|
-
|
|
545
|
+
name=f"{name}-{default_integer['result']}",
|
|
751
546
|
target_instance_id=target.id,
|
|
752
547
|
target_namespace_name=target_registry_enterprise_namespace.name,
|
|
753
548
|
target_region_id=default.regions[0].id,
|
|
@@ -758,10 +553,10 @@ class RegistryEnterpriseSyncRule(pulumi.CustomResource):
|
|
|
758
553
|
|
|
759
554
|
## Import
|
|
760
555
|
|
|
761
|
-
Container Registry Sync Rule can be imported using the id, e.g.
|
|
556
|
+
Container Registry Enterprise Edition Sync Rule can be imported using the id, e.g.
|
|
762
557
|
|
|
763
558
|
```sh
|
|
764
|
-
$ pulumi import alicloud:cs/registryEnterpriseSyncRule:RegistryEnterpriseSyncRule example <instance_id>:<namespace_name>:<
|
|
559
|
+
$ pulumi import alicloud:cs/registryEnterpriseSyncRule:RegistryEnterpriseSyncRule example <instance_id>:<namespace_name>:<rule_id>
|
|
765
560
|
```
|
|
766
561
|
|
|
767
562
|
:param str resource_name: The name of the resource.
|
|
@@ -783,15 +578,11 @@ class RegistryEnterpriseSyncRule(pulumi.CustomResource):
|
|
|
783
578
|
name: Optional[pulumi.Input[str]] = None,
|
|
784
579
|
namespace_name: Optional[pulumi.Input[str]] = None,
|
|
785
580
|
repo_name: Optional[pulumi.Input[str]] = None,
|
|
786
|
-
sync_rule_name: Optional[pulumi.Input[str]] = None,
|
|
787
|
-
sync_scope: Optional[pulumi.Input[str]] = None,
|
|
788
|
-
sync_trigger: Optional[pulumi.Input[str]] = None,
|
|
789
581
|
tag_filter: Optional[pulumi.Input[str]] = None,
|
|
790
582
|
target_instance_id: Optional[pulumi.Input[str]] = None,
|
|
791
583
|
target_namespace_name: Optional[pulumi.Input[str]] = None,
|
|
792
584
|
target_region_id: Optional[pulumi.Input[str]] = None,
|
|
793
585
|
target_repo_name: Optional[pulumi.Input[str]] = None,
|
|
794
|
-
target_user_id: Optional[pulumi.Input[str]] = None,
|
|
795
586
|
__props__=None):
|
|
796
587
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
797
588
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -809,9 +600,6 @@ class RegistryEnterpriseSyncRule(pulumi.CustomResource):
|
|
|
809
600
|
raise TypeError("Missing required property 'namespace_name'")
|
|
810
601
|
__props__.__dict__["namespace_name"] = namespace_name
|
|
811
602
|
__props__.__dict__["repo_name"] = repo_name
|
|
812
|
-
__props__.__dict__["sync_rule_name"] = sync_rule_name
|
|
813
|
-
__props__.__dict__["sync_scope"] = sync_scope
|
|
814
|
-
__props__.__dict__["sync_trigger"] = sync_trigger
|
|
815
603
|
if tag_filter is None and not opts.urn:
|
|
816
604
|
raise TypeError("Missing required property 'tag_filter'")
|
|
817
605
|
__props__.__dict__["tag_filter"] = tag_filter
|
|
@@ -825,12 +613,9 @@ class RegistryEnterpriseSyncRule(pulumi.CustomResource):
|
|
|
825
613
|
raise TypeError("Missing required property 'target_region_id'")
|
|
826
614
|
__props__.__dict__["target_region_id"] = target_region_id
|
|
827
615
|
__props__.__dict__["target_repo_name"] = target_repo_name
|
|
828
|
-
__props__.__dict__["target_user_id"] = target_user_id
|
|
829
|
-
__props__.__dict__["create_time"] = None
|
|
830
|
-
__props__.__dict__["region_id"] = None
|
|
831
|
-
__props__.__dict__["repo_sync_rule_id"] = None
|
|
832
616
|
__props__.__dict__["rule_id"] = None
|
|
833
617
|
__props__.__dict__["sync_direction"] = None
|
|
618
|
+
__props__.__dict__["sync_scope"] = None
|
|
834
619
|
super(RegistryEnterpriseSyncRule, __self__).__init__(
|
|
835
620
|
'alicloud:cs/registryEnterpriseSyncRule:RegistryEnterpriseSyncRule',
|
|
836
621
|
resource_name,
|
|
@@ -841,24 +626,18 @@ class RegistryEnterpriseSyncRule(pulumi.CustomResource):
|
|
|
841
626
|
def get(resource_name: str,
|
|
842
627
|
id: pulumi.Input[str],
|
|
843
628
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
844
|
-
create_time: Optional[pulumi.Input[str]] = None,
|
|
845
629
|
instance_id: Optional[pulumi.Input[str]] = None,
|
|
846
630
|
name: Optional[pulumi.Input[str]] = None,
|
|
847
631
|
namespace_name: Optional[pulumi.Input[str]] = None,
|
|
848
|
-
region_id: Optional[pulumi.Input[str]] = None,
|
|
849
632
|
repo_name: Optional[pulumi.Input[str]] = None,
|
|
850
|
-
repo_sync_rule_id: Optional[pulumi.Input[str]] = None,
|
|
851
633
|
rule_id: Optional[pulumi.Input[str]] = None,
|
|
852
634
|
sync_direction: Optional[pulumi.Input[str]] = None,
|
|
853
|
-
sync_rule_name: Optional[pulumi.Input[str]] = None,
|
|
854
635
|
sync_scope: Optional[pulumi.Input[str]] = None,
|
|
855
|
-
sync_trigger: Optional[pulumi.Input[str]] = None,
|
|
856
636
|
tag_filter: Optional[pulumi.Input[str]] = None,
|
|
857
637
|
target_instance_id: Optional[pulumi.Input[str]] = None,
|
|
858
638
|
target_namespace_name: Optional[pulumi.Input[str]] = None,
|
|
859
639
|
target_region_id: Optional[pulumi.Input[str]] = None,
|
|
860
|
-
target_repo_name: Optional[pulumi.Input[str]] = None
|
|
861
|
-
target_user_id: Optional[pulumi.Input[str]] = None) -> 'RegistryEnterpriseSyncRule':
|
|
640
|
+
target_repo_name: Optional[pulumi.Input[str]] = None) -> 'RegistryEnterpriseSyncRule':
|
|
862
641
|
"""
|
|
863
642
|
Get an existing RegistryEnterpriseSyncRule resource's state with the given name, id, and optional extra
|
|
864
643
|
properties used to qualify the lookup.
|
|
@@ -866,76 +645,50 @@ class RegistryEnterpriseSyncRule(pulumi.CustomResource):
|
|
|
866
645
|
:param str resource_name: The unique name of the resulting resource.
|
|
867
646
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
868
647
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
869
|
-
:param pulumi.Input[str]
|
|
870
|
-
:param pulumi.Input[str]
|
|
871
|
-
:param pulumi.Input[str] name: Field `name` has been deprecated from provider version 1.240.0. New field `sync_rule_name` instead.
|
|
648
|
+
:param pulumi.Input[str] instance_id: The ID of the Container Registry Enterprise Edition source instance.
|
|
649
|
+
:param pulumi.Input[str] name: The name of the sync rule.
|
|
872
650
|
:param pulumi.Input[str] namespace_name: The namespace name of the source instance.
|
|
873
|
-
:param pulumi.Input[str] region_id: (Available since v1.240.0) The region ID of the source instance.
|
|
874
651
|
:param pulumi.Input[str] repo_name: The image repository name of the source instance.
|
|
875
|
-
:param pulumi.Input[str]
|
|
876
|
-
:param pulumi.Input[str] rule_id: (Deprecated since v1.240.0) Field `rule_id` has been deprecated from provider version 1.240.0. New field `repo_sync_rule_id` instead.
|
|
652
|
+
:param pulumi.Input[str] rule_id: The ID of the sync rule.
|
|
877
653
|
:param pulumi.Input[str] sync_direction: The synchronization direction.
|
|
878
|
-
:param pulumi.Input[str]
|
|
879
|
-
:param pulumi.Input[str] sync_scope: The synchronization scope. Valid values:
|
|
880
|
-
- `REPO`: Encrypts or decrypts data.
|
|
881
|
-
- `NAMESPACE`: Generates or verifies a digital signature.
|
|
882
|
-
> **NOTE:** From version 1.240.0, `sync_scope` can be set.
|
|
883
|
-
:param pulumi.Input[str] sync_trigger: The policy configured to trigger the synchronization rule. Default value: `PASSIVE`. Valid values:
|
|
884
|
-
- `INITIATIVE`: Manually triggers the synchronization rule.
|
|
885
|
-
- `PASSIVE`: Automatically triggers the synchronization rule.
|
|
654
|
+
:param pulumi.Input[str] sync_scope: The synchronization scope.
|
|
886
655
|
:param pulumi.Input[str] tag_filter: The regular expression used to filter image tags.
|
|
887
656
|
:param pulumi.Input[str] target_instance_id: The ID of the destination instance.
|
|
888
657
|
:param pulumi.Input[str] target_namespace_name: The namespace name of the destination instance.
|
|
889
658
|
:param pulumi.Input[str] target_region_id: The region ID of the destination instance.
|
|
890
659
|
:param pulumi.Input[str] target_repo_name: The image repository name of the destination instance.
|
|
891
|
-
:param pulumi.Input[str] target_user_id: The UID of the account to which the target instance belongs.
|
|
892
660
|
"""
|
|
893
661
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
894
662
|
|
|
895
663
|
__props__ = _RegistryEnterpriseSyncRuleState.__new__(_RegistryEnterpriseSyncRuleState)
|
|
896
664
|
|
|
897
|
-
__props__.__dict__["create_time"] = create_time
|
|
898
665
|
__props__.__dict__["instance_id"] = instance_id
|
|
899
666
|
__props__.__dict__["name"] = name
|
|
900
667
|
__props__.__dict__["namespace_name"] = namespace_name
|
|
901
|
-
__props__.__dict__["region_id"] = region_id
|
|
902
668
|
__props__.__dict__["repo_name"] = repo_name
|
|
903
|
-
__props__.__dict__["repo_sync_rule_id"] = repo_sync_rule_id
|
|
904
669
|
__props__.__dict__["rule_id"] = rule_id
|
|
905
670
|
__props__.__dict__["sync_direction"] = sync_direction
|
|
906
|
-
__props__.__dict__["sync_rule_name"] = sync_rule_name
|
|
907
671
|
__props__.__dict__["sync_scope"] = sync_scope
|
|
908
|
-
__props__.__dict__["sync_trigger"] = sync_trigger
|
|
909
672
|
__props__.__dict__["tag_filter"] = tag_filter
|
|
910
673
|
__props__.__dict__["target_instance_id"] = target_instance_id
|
|
911
674
|
__props__.__dict__["target_namespace_name"] = target_namespace_name
|
|
912
675
|
__props__.__dict__["target_region_id"] = target_region_id
|
|
913
676
|
__props__.__dict__["target_repo_name"] = target_repo_name
|
|
914
|
-
__props__.__dict__["target_user_id"] = target_user_id
|
|
915
677
|
return RegistryEnterpriseSyncRule(resource_name, opts=opts, __props__=__props__)
|
|
916
678
|
|
|
917
|
-
@property
|
|
918
|
-
@pulumi.getter(name="createTime")
|
|
919
|
-
def create_time(self) -> pulumi.Output[str]:
|
|
920
|
-
"""
|
|
921
|
-
(Available since v1.240.0) The time when the synchronization rule was created.
|
|
922
|
-
"""
|
|
923
|
-
return pulumi.get(self, "create_time")
|
|
924
|
-
|
|
925
679
|
@property
|
|
926
680
|
@pulumi.getter(name="instanceId")
|
|
927
681
|
def instance_id(self) -> pulumi.Output[str]:
|
|
928
682
|
"""
|
|
929
|
-
The ID of the Container Registry source instance.
|
|
683
|
+
The ID of the Container Registry Enterprise Edition source instance.
|
|
930
684
|
"""
|
|
931
685
|
return pulumi.get(self, "instance_id")
|
|
932
686
|
|
|
933
687
|
@property
|
|
934
688
|
@pulumi.getter
|
|
935
|
-
@_utilities.deprecated("""Field `name` has been deprecated from provider version 1.240.0. New field `sync_rule_name` instead.""")
|
|
936
689
|
def name(self) -> pulumi.Output[str]:
|
|
937
690
|
"""
|
|
938
|
-
|
|
691
|
+
The name of the sync rule.
|
|
939
692
|
"""
|
|
940
693
|
return pulumi.get(self, "name")
|
|
941
694
|
|
|
@@ -947,14 +700,6 @@ class RegistryEnterpriseSyncRule(pulumi.CustomResource):
|
|
|
947
700
|
"""
|
|
948
701
|
return pulumi.get(self, "namespace_name")
|
|
949
702
|
|
|
950
|
-
@property
|
|
951
|
-
@pulumi.getter(name="regionId")
|
|
952
|
-
def region_id(self) -> pulumi.Output[str]:
|
|
953
|
-
"""
|
|
954
|
-
(Available since v1.240.0) The region ID of the source instance.
|
|
955
|
-
"""
|
|
956
|
-
return pulumi.get(self, "region_id")
|
|
957
|
-
|
|
958
703
|
@property
|
|
959
704
|
@pulumi.getter(name="repoName")
|
|
960
705
|
def repo_name(self) -> pulumi.Output[Optional[str]]:
|
|
@@ -963,20 +708,11 @@ class RegistryEnterpriseSyncRule(pulumi.CustomResource):
|
|
|
963
708
|
"""
|
|
964
709
|
return pulumi.get(self, "repo_name")
|
|
965
710
|
|
|
966
|
-
@property
|
|
967
|
-
@pulumi.getter(name="repoSyncRuleId")
|
|
968
|
-
def repo_sync_rule_id(self) -> pulumi.Output[str]:
|
|
969
|
-
"""
|
|
970
|
-
(Available since v1.240.0) The ID of the synchronization rule.
|
|
971
|
-
"""
|
|
972
|
-
return pulumi.get(self, "repo_sync_rule_id")
|
|
973
|
-
|
|
974
711
|
@property
|
|
975
712
|
@pulumi.getter(name="ruleId")
|
|
976
|
-
@_utilities.deprecated("""Field `rule_id` has been deprecated from provider version 1.240.0. New field `repo_sync_rule_id` instead.""")
|
|
977
713
|
def rule_id(self) -> pulumi.Output[str]:
|
|
978
714
|
"""
|
|
979
|
-
|
|
715
|
+
The ID of the sync rule.
|
|
980
716
|
"""
|
|
981
717
|
return pulumi.get(self, "rule_id")
|
|
982
718
|
|
|
@@ -988,35 +724,14 @@ class RegistryEnterpriseSyncRule(pulumi.CustomResource):
|
|
|
988
724
|
"""
|
|
989
725
|
return pulumi.get(self, "sync_direction")
|
|
990
726
|
|
|
991
|
-
@property
|
|
992
|
-
@pulumi.getter(name="syncRuleName")
|
|
993
|
-
def sync_rule_name(self) -> pulumi.Output[str]:
|
|
994
|
-
"""
|
|
995
|
-
The name of the sync rule.
|
|
996
|
-
"""
|
|
997
|
-
return pulumi.get(self, "sync_rule_name")
|
|
998
|
-
|
|
999
727
|
@property
|
|
1000
728
|
@pulumi.getter(name="syncScope")
|
|
1001
729
|
def sync_scope(self) -> pulumi.Output[str]:
|
|
1002
730
|
"""
|
|
1003
|
-
The synchronization scope.
|
|
1004
|
-
- `REPO`: Encrypts or decrypts data.
|
|
1005
|
-
- `NAMESPACE`: Generates or verifies a digital signature.
|
|
1006
|
-
> **NOTE:** From version 1.240.0, `sync_scope` can be set.
|
|
731
|
+
The synchronization scope.
|
|
1007
732
|
"""
|
|
1008
733
|
return pulumi.get(self, "sync_scope")
|
|
1009
734
|
|
|
1010
|
-
@property
|
|
1011
|
-
@pulumi.getter(name="syncTrigger")
|
|
1012
|
-
def sync_trigger(self) -> pulumi.Output[str]:
|
|
1013
|
-
"""
|
|
1014
|
-
The policy configured to trigger the synchronization rule. Default value: `PASSIVE`. Valid values:
|
|
1015
|
-
- `INITIATIVE`: Manually triggers the synchronization rule.
|
|
1016
|
-
- `PASSIVE`: Automatically triggers the synchronization rule.
|
|
1017
|
-
"""
|
|
1018
|
-
return pulumi.get(self, "sync_trigger")
|
|
1019
|
-
|
|
1020
735
|
@property
|
|
1021
736
|
@pulumi.getter(name="tagFilter")
|
|
1022
737
|
def tag_filter(self) -> pulumi.Output[str]:
|
|
@@ -1057,11 +772,3 @@ class RegistryEnterpriseSyncRule(pulumi.CustomResource):
|
|
|
1057
772
|
"""
|
|
1058
773
|
return pulumi.get(self, "target_repo_name")
|
|
1059
774
|
|
|
1060
|
-
@property
|
|
1061
|
-
@pulumi.getter(name="targetUserId")
|
|
1062
|
-
def target_user_id(self) -> pulumi.Output[Optional[str]]:
|
|
1063
|
-
"""
|
|
1064
|
-
The UID of the account to which the target instance belongs.
|
|
1065
|
-
"""
|
|
1066
|
-
return pulumi.get(self, "target_user_id")
|
|
1067
|
-
|