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