pulumi-alicloud 3.70.0a1734412500__py3-none-any.whl → 3.71.0__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 +35 -0
- pulumi_alicloud/arms/_inputs.py +185 -0
- pulumi_alicloud/arms/dispatch_rule.py +70 -1
- pulumi_alicloud/arms/get_dispatch_rules.py +2 -2
- pulumi_alicloud/arms/get_prometheis.py +2 -2
- pulumi_alicloud/arms/get_remote_writes.py +2 -2
- pulumi_alicloud/arms/outputs.py +258 -11
- pulumi_alicloud/cen/private_zone.py +73 -69
- pulumi_alicloud/cen/transit_router_multicast_domain_peer_member.py +2 -2
- pulumi_alicloud/cfg/rule.py +2 -2
- pulumi_alicloud/ecs/ecs_snapshot.py +65 -9
- pulumi_alicloud/ecs/get_instance_types.py +1 -1
- pulumi_alicloud/ecs/outputs.py +78 -1
- pulumi_alicloud/ecs/security_group.py +161 -81
- pulumi_alicloud/ecs/snapshot.py +40 -0
- pulumi_alicloud/eds/ram_directory.py +4 -0
- pulumi_alicloud/ess/_inputs.py +54 -0
- pulumi_alicloud/ess/outputs.py +51 -0
- pulumi_alicloud/ess/scaling_configuration.py +47 -0
- pulumi_alicloud/ess/scaling_group.py +47 -0
- pulumi_alicloud/expressconnect/__init__.py +1 -0
- pulumi_alicloud/expressconnect/router_grant_association.py +477 -0
- pulumi_alicloud/fc/v3_trigger.py +96 -0
- pulumi_alicloud/kms/_inputs.py +5 -5
- pulumi_alicloud/kms/outputs.py +3 -3
- pulumi_alicloud/kvstore/backup_policy.py +32 -24
- pulumi_alicloud/live/__init__.py +8 -0
- pulumi_alicloud/live/caster.py +1343 -0
- pulumi_alicloud/nas/access_group.py +10 -2
- pulumi_alicloud/nas/access_point.py +10 -2
- pulumi_alicloud/nas/fileset.py +2 -2
- pulumi_alicloud/oos/execution.py +18 -10
- pulumi_alicloud/oos/template.py +14 -6
- pulumi_alicloud/pai/__init__.py +1 -0
- pulumi_alicloud/pai/service.py +501 -0
- pulumi_alicloud/polardb/cluster.py +47 -0
- pulumi_alicloud/privatelink/vpc_endpoint.py +143 -69
- pulumi_alicloud/privatelink/vpc_endpoint_service.py +47 -0
- pulumi_alicloud/privatelink/vpc_endpoint_service_resource.py +2 -2
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/rdc/get_organizations.py +12 -2
- pulumi_alicloud/rdc/organization.py +6 -2
- pulumi_alicloud/redis/tair_instance.py +47 -0
- pulumi_alicloud/vpc/__init__.py +1 -0
- pulumi_alicloud/vpc/ipam_ipam_pool_allocation.py +545 -0
- {pulumi_alicloud-3.70.0a1734412500.dist-info → pulumi_alicloud-3.71.0.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.70.0a1734412500.dist-info → pulumi_alicloud-3.71.0.dist-info}/RECORD +49 -44
- {pulumi_alicloud-3.70.0a1734412500.dist-info → pulumi_alicloud-3.71.0.dist-info}/WHEEL +0 -0
- {pulumi_alicloud-3.70.0a1734412500.dist-info → pulumi_alicloud-3.71.0.dist-info}/top_level.txt +0 -0
pulumi_alicloud/arms/outputs.py
CHANGED
|
@@ -22,6 +22,7 @@ __all__ = [
|
|
|
22
22
|
'DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpression',
|
|
23
23
|
'DispatchRuleNotifyRule',
|
|
24
24
|
'DispatchRuleNotifyRuleNotifyObject',
|
|
25
|
+
'DispatchRuleNotifyTemplate',
|
|
25
26
|
'PrometheusAlertRuleAnnotation',
|
|
26
27
|
'PrometheusAlertRuleLabel',
|
|
27
28
|
'SyntheticTaskAvailableAssertion',
|
|
@@ -49,6 +50,7 @@ __all__ = [
|
|
|
49
50
|
'GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionResult',
|
|
50
51
|
'GetDispatchRulesRuleNotifyRuleResult',
|
|
51
52
|
'GetDispatchRulesRuleNotifyRuleNotifyObjectResult',
|
|
53
|
+
'GetDispatchRulesRuleNotifyTemplateResult',
|
|
52
54
|
'GetIntegrationExportersIntegrationExporterResult',
|
|
53
55
|
'GetPrometheisPrometheiResult',
|
|
54
56
|
'GetPrometheusAlertRulesRuleResult',
|
|
@@ -411,6 +413,145 @@ class DispatchRuleNotifyRuleNotifyObject(dict):
|
|
|
411
413
|
return pulumi.get(self, "notify_type")
|
|
412
414
|
|
|
413
415
|
|
|
416
|
+
@pulumi.output_type
|
|
417
|
+
class DispatchRuleNotifyTemplate(dict):
|
|
418
|
+
@staticmethod
|
|
419
|
+
def __key_warning(key: str):
|
|
420
|
+
suggest = None
|
|
421
|
+
if key == "emailContent":
|
|
422
|
+
suggest = "email_content"
|
|
423
|
+
elif key == "emailRecoverContent":
|
|
424
|
+
suggest = "email_recover_content"
|
|
425
|
+
elif key == "emailRecoverTitle":
|
|
426
|
+
suggest = "email_recover_title"
|
|
427
|
+
elif key == "emailTitle":
|
|
428
|
+
suggest = "email_title"
|
|
429
|
+
elif key == "robotContent":
|
|
430
|
+
suggest = "robot_content"
|
|
431
|
+
elif key == "smsContent":
|
|
432
|
+
suggest = "sms_content"
|
|
433
|
+
elif key == "smsRecoverContent":
|
|
434
|
+
suggest = "sms_recover_content"
|
|
435
|
+
elif key == "ttsContent":
|
|
436
|
+
suggest = "tts_content"
|
|
437
|
+
elif key == "ttsRecoverContent":
|
|
438
|
+
suggest = "tts_recover_content"
|
|
439
|
+
|
|
440
|
+
if suggest:
|
|
441
|
+
pulumi.log.warn(f"Key '{key}' not found in DispatchRuleNotifyTemplate. Access the value via the '{suggest}' property getter instead.")
|
|
442
|
+
|
|
443
|
+
def __getitem__(self, key: str) -> Any:
|
|
444
|
+
DispatchRuleNotifyTemplate.__key_warning(key)
|
|
445
|
+
return super().__getitem__(key)
|
|
446
|
+
|
|
447
|
+
def get(self, key: str, default = None) -> Any:
|
|
448
|
+
DispatchRuleNotifyTemplate.__key_warning(key)
|
|
449
|
+
return super().get(key, default)
|
|
450
|
+
|
|
451
|
+
def __init__(__self__, *,
|
|
452
|
+
email_content: str,
|
|
453
|
+
email_recover_content: str,
|
|
454
|
+
email_recover_title: str,
|
|
455
|
+
email_title: str,
|
|
456
|
+
robot_content: str,
|
|
457
|
+
sms_content: str,
|
|
458
|
+
sms_recover_content: str,
|
|
459
|
+
tts_content: str,
|
|
460
|
+
tts_recover_content: str):
|
|
461
|
+
"""
|
|
462
|
+
:param str email_content: The content of the email notification.
|
|
463
|
+
:param str email_recover_content: The content of the email notification for restored alerts.
|
|
464
|
+
:param str email_recover_title: The title of the email notification for restored alerts.
|
|
465
|
+
:param str email_title: The title of the email notification.
|
|
466
|
+
:param str robot_content: The content of the robot notification.
|
|
467
|
+
:param str sms_content: The content of the SMS notification.
|
|
468
|
+
:param str sms_recover_content: The content of the SMS notification for restored alerts.
|
|
469
|
+
:param str tts_content: The content of the TTS notification.
|
|
470
|
+
:param str tts_recover_content: The content of the TTS notification for restored alerts.
|
|
471
|
+
"""
|
|
472
|
+
pulumi.set(__self__, "email_content", email_content)
|
|
473
|
+
pulumi.set(__self__, "email_recover_content", email_recover_content)
|
|
474
|
+
pulumi.set(__self__, "email_recover_title", email_recover_title)
|
|
475
|
+
pulumi.set(__self__, "email_title", email_title)
|
|
476
|
+
pulumi.set(__self__, "robot_content", robot_content)
|
|
477
|
+
pulumi.set(__self__, "sms_content", sms_content)
|
|
478
|
+
pulumi.set(__self__, "sms_recover_content", sms_recover_content)
|
|
479
|
+
pulumi.set(__self__, "tts_content", tts_content)
|
|
480
|
+
pulumi.set(__self__, "tts_recover_content", tts_recover_content)
|
|
481
|
+
|
|
482
|
+
@property
|
|
483
|
+
@pulumi.getter(name="emailContent")
|
|
484
|
+
def email_content(self) -> str:
|
|
485
|
+
"""
|
|
486
|
+
The content of the email notification.
|
|
487
|
+
"""
|
|
488
|
+
return pulumi.get(self, "email_content")
|
|
489
|
+
|
|
490
|
+
@property
|
|
491
|
+
@pulumi.getter(name="emailRecoverContent")
|
|
492
|
+
def email_recover_content(self) -> str:
|
|
493
|
+
"""
|
|
494
|
+
The content of the email notification for restored alerts.
|
|
495
|
+
"""
|
|
496
|
+
return pulumi.get(self, "email_recover_content")
|
|
497
|
+
|
|
498
|
+
@property
|
|
499
|
+
@pulumi.getter(name="emailRecoverTitle")
|
|
500
|
+
def email_recover_title(self) -> str:
|
|
501
|
+
"""
|
|
502
|
+
The title of the email notification for restored alerts.
|
|
503
|
+
"""
|
|
504
|
+
return pulumi.get(self, "email_recover_title")
|
|
505
|
+
|
|
506
|
+
@property
|
|
507
|
+
@pulumi.getter(name="emailTitle")
|
|
508
|
+
def email_title(self) -> str:
|
|
509
|
+
"""
|
|
510
|
+
The title of the email notification.
|
|
511
|
+
"""
|
|
512
|
+
return pulumi.get(self, "email_title")
|
|
513
|
+
|
|
514
|
+
@property
|
|
515
|
+
@pulumi.getter(name="robotContent")
|
|
516
|
+
def robot_content(self) -> str:
|
|
517
|
+
"""
|
|
518
|
+
The content of the robot notification.
|
|
519
|
+
"""
|
|
520
|
+
return pulumi.get(self, "robot_content")
|
|
521
|
+
|
|
522
|
+
@property
|
|
523
|
+
@pulumi.getter(name="smsContent")
|
|
524
|
+
def sms_content(self) -> str:
|
|
525
|
+
"""
|
|
526
|
+
The content of the SMS notification.
|
|
527
|
+
"""
|
|
528
|
+
return pulumi.get(self, "sms_content")
|
|
529
|
+
|
|
530
|
+
@property
|
|
531
|
+
@pulumi.getter(name="smsRecoverContent")
|
|
532
|
+
def sms_recover_content(self) -> str:
|
|
533
|
+
"""
|
|
534
|
+
The content of the SMS notification for restored alerts.
|
|
535
|
+
"""
|
|
536
|
+
return pulumi.get(self, "sms_recover_content")
|
|
537
|
+
|
|
538
|
+
@property
|
|
539
|
+
@pulumi.getter(name="ttsContent")
|
|
540
|
+
def tts_content(self) -> str:
|
|
541
|
+
"""
|
|
542
|
+
The content of the TTS notification.
|
|
543
|
+
"""
|
|
544
|
+
return pulumi.get(self, "tts_content")
|
|
545
|
+
|
|
546
|
+
@property
|
|
547
|
+
@pulumi.getter(name="ttsRecoverContent")
|
|
548
|
+
def tts_recover_content(self) -> str:
|
|
549
|
+
"""
|
|
550
|
+
The content of the TTS notification for restored alerts.
|
|
551
|
+
"""
|
|
552
|
+
return pulumi.get(self, "tts_recover_content")
|
|
553
|
+
|
|
554
|
+
|
|
414
555
|
@pulumi.output_type
|
|
415
556
|
class PrometheusAlertRuleAnnotation(dict):
|
|
416
557
|
def __init__(__self__, *,
|
|
@@ -2446,29 +2587,29 @@ class GetDispatchRulesRuleResult(dict):
|
|
|
2446
2587
|
def __init__(__self__, *,
|
|
2447
2588
|
dispatch_rule_id: str,
|
|
2448
2589
|
dispatch_rule_name: str,
|
|
2449
|
-
dispatch_type: str,
|
|
2450
2590
|
group_rules: Sequence['outputs.GetDispatchRulesRuleGroupRuleResult'],
|
|
2451
2591
|
id: str,
|
|
2452
2592
|
label_match_expression_grids: Sequence['outputs.GetDispatchRulesRuleLabelMatchExpressionGridResult'],
|
|
2453
2593
|
notify_rules: Sequence['outputs.GetDispatchRulesRuleNotifyRuleResult'],
|
|
2594
|
+
notify_templates: Sequence['outputs.GetDispatchRulesRuleNotifyTemplateResult'],
|
|
2454
2595
|
status: str):
|
|
2455
2596
|
"""
|
|
2456
2597
|
:param str dispatch_rule_id: Dispatch rule ID.
|
|
2457
2598
|
:param str dispatch_rule_name: The name of the dispatch rule.
|
|
2458
|
-
:param str dispatch_type: The type of the dispatch rule.
|
|
2459
2599
|
:param Sequence['GetDispatchRulesRuleGroupRuleArgs'] group_rules: Sets the event group.
|
|
2460
2600
|
:param str id: The ID of the Dispatch Rule.
|
|
2461
2601
|
:param Sequence['GetDispatchRulesRuleLabelMatchExpressionGridArgs'] label_match_expression_grids: Sets the dispatch rule.
|
|
2462
2602
|
:param Sequence['GetDispatchRulesRuleNotifyRuleArgs'] notify_rules: Sets the notification rule.
|
|
2603
|
+
:param Sequence['GetDispatchRulesRuleNotifyTemplateArgs'] notify_templates: (Available since v1.238.0) The notification method.
|
|
2463
2604
|
:param str status: The resource status of Alert Dispatch Rule.
|
|
2464
2605
|
"""
|
|
2465
2606
|
pulumi.set(__self__, "dispatch_rule_id", dispatch_rule_id)
|
|
2466
2607
|
pulumi.set(__self__, "dispatch_rule_name", dispatch_rule_name)
|
|
2467
|
-
pulumi.set(__self__, "dispatch_type", dispatch_type)
|
|
2468
2608
|
pulumi.set(__self__, "group_rules", group_rules)
|
|
2469
2609
|
pulumi.set(__self__, "id", id)
|
|
2470
2610
|
pulumi.set(__self__, "label_match_expression_grids", label_match_expression_grids)
|
|
2471
2611
|
pulumi.set(__self__, "notify_rules", notify_rules)
|
|
2612
|
+
pulumi.set(__self__, "notify_templates", notify_templates)
|
|
2472
2613
|
pulumi.set(__self__, "status", status)
|
|
2473
2614
|
|
|
2474
2615
|
@property
|
|
@@ -2487,14 +2628,6 @@ class GetDispatchRulesRuleResult(dict):
|
|
|
2487
2628
|
"""
|
|
2488
2629
|
return pulumi.get(self, "dispatch_rule_name")
|
|
2489
2630
|
|
|
2490
|
-
@property
|
|
2491
|
-
@pulumi.getter(name="dispatchType")
|
|
2492
|
-
def dispatch_type(self) -> str:
|
|
2493
|
-
"""
|
|
2494
|
-
The type of the dispatch rule.
|
|
2495
|
-
"""
|
|
2496
|
-
return pulumi.get(self, "dispatch_type")
|
|
2497
|
-
|
|
2498
2631
|
@property
|
|
2499
2632
|
@pulumi.getter(name="groupRules")
|
|
2500
2633
|
def group_rules(self) -> Sequence['outputs.GetDispatchRulesRuleGroupRuleResult']:
|
|
@@ -2527,6 +2660,14 @@ class GetDispatchRulesRuleResult(dict):
|
|
|
2527
2660
|
"""
|
|
2528
2661
|
return pulumi.get(self, "notify_rules")
|
|
2529
2662
|
|
|
2663
|
+
@property
|
|
2664
|
+
@pulumi.getter(name="notifyTemplates")
|
|
2665
|
+
def notify_templates(self) -> Sequence['outputs.GetDispatchRulesRuleNotifyTemplateResult']:
|
|
2666
|
+
"""
|
|
2667
|
+
(Available since v1.238.0) The notification method.
|
|
2668
|
+
"""
|
|
2669
|
+
return pulumi.get(self, "notify_templates")
|
|
2670
|
+
|
|
2530
2671
|
@property
|
|
2531
2672
|
@pulumi.getter
|
|
2532
2673
|
def status(self) -> str:
|
|
@@ -2754,6 +2895,112 @@ class GetDispatchRulesRuleNotifyRuleNotifyObjectResult(dict):
|
|
|
2754
2895
|
return pulumi.get(self, "notify_type")
|
|
2755
2896
|
|
|
2756
2897
|
|
|
2898
|
+
@pulumi.output_type
|
|
2899
|
+
class GetDispatchRulesRuleNotifyTemplateResult(dict):
|
|
2900
|
+
def __init__(__self__, *,
|
|
2901
|
+
email_content: str,
|
|
2902
|
+
email_recover_content: str,
|
|
2903
|
+
email_recover_title: str,
|
|
2904
|
+
email_title: str,
|
|
2905
|
+
robot_content: str,
|
|
2906
|
+
sms_content: str,
|
|
2907
|
+
sms_recover_content: str,
|
|
2908
|
+
tts_content: str,
|
|
2909
|
+
tts_recover_content: str):
|
|
2910
|
+
"""
|
|
2911
|
+
:param str email_content: The content of the email.
|
|
2912
|
+
:param str email_recover_content: The content of the email.
|
|
2913
|
+
:param str email_recover_title: The title of the email.
|
|
2914
|
+
:param str email_title: The title of the email.
|
|
2915
|
+
:param str robot_content: The content of the robot.
|
|
2916
|
+
:param str sms_content: The content of the SMS.
|
|
2917
|
+
:param str sms_recover_content: The content of the SMS.
|
|
2918
|
+
:param str tts_content: The content of the TTS.
|
|
2919
|
+
:param str tts_recover_content: The content of the TTS.
|
|
2920
|
+
"""
|
|
2921
|
+
pulumi.set(__self__, "email_content", email_content)
|
|
2922
|
+
pulumi.set(__self__, "email_recover_content", email_recover_content)
|
|
2923
|
+
pulumi.set(__self__, "email_recover_title", email_recover_title)
|
|
2924
|
+
pulumi.set(__self__, "email_title", email_title)
|
|
2925
|
+
pulumi.set(__self__, "robot_content", robot_content)
|
|
2926
|
+
pulumi.set(__self__, "sms_content", sms_content)
|
|
2927
|
+
pulumi.set(__self__, "sms_recover_content", sms_recover_content)
|
|
2928
|
+
pulumi.set(__self__, "tts_content", tts_content)
|
|
2929
|
+
pulumi.set(__self__, "tts_recover_content", tts_recover_content)
|
|
2930
|
+
|
|
2931
|
+
@property
|
|
2932
|
+
@pulumi.getter(name="emailContent")
|
|
2933
|
+
def email_content(self) -> str:
|
|
2934
|
+
"""
|
|
2935
|
+
The content of the email.
|
|
2936
|
+
"""
|
|
2937
|
+
return pulumi.get(self, "email_content")
|
|
2938
|
+
|
|
2939
|
+
@property
|
|
2940
|
+
@pulumi.getter(name="emailRecoverContent")
|
|
2941
|
+
def email_recover_content(self) -> str:
|
|
2942
|
+
"""
|
|
2943
|
+
The content of the email.
|
|
2944
|
+
"""
|
|
2945
|
+
return pulumi.get(self, "email_recover_content")
|
|
2946
|
+
|
|
2947
|
+
@property
|
|
2948
|
+
@pulumi.getter(name="emailRecoverTitle")
|
|
2949
|
+
def email_recover_title(self) -> str:
|
|
2950
|
+
"""
|
|
2951
|
+
The title of the email.
|
|
2952
|
+
"""
|
|
2953
|
+
return pulumi.get(self, "email_recover_title")
|
|
2954
|
+
|
|
2955
|
+
@property
|
|
2956
|
+
@pulumi.getter(name="emailTitle")
|
|
2957
|
+
def email_title(self) -> str:
|
|
2958
|
+
"""
|
|
2959
|
+
The title of the email.
|
|
2960
|
+
"""
|
|
2961
|
+
return pulumi.get(self, "email_title")
|
|
2962
|
+
|
|
2963
|
+
@property
|
|
2964
|
+
@pulumi.getter(name="robotContent")
|
|
2965
|
+
def robot_content(self) -> str:
|
|
2966
|
+
"""
|
|
2967
|
+
The content of the robot.
|
|
2968
|
+
"""
|
|
2969
|
+
return pulumi.get(self, "robot_content")
|
|
2970
|
+
|
|
2971
|
+
@property
|
|
2972
|
+
@pulumi.getter(name="smsContent")
|
|
2973
|
+
def sms_content(self) -> str:
|
|
2974
|
+
"""
|
|
2975
|
+
The content of the SMS.
|
|
2976
|
+
"""
|
|
2977
|
+
return pulumi.get(self, "sms_content")
|
|
2978
|
+
|
|
2979
|
+
@property
|
|
2980
|
+
@pulumi.getter(name="smsRecoverContent")
|
|
2981
|
+
def sms_recover_content(self) -> str:
|
|
2982
|
+
"""
|
|
2983
|
+
The content of the SMS.
|
|
2984
|
+
"""
|
|
2985
|
+
return pulumi.get(self, "sms_recover_content")
|
|
2986
|
+
|
|
2987
|
+
@property
|
|
2988
|
+
@pulumi.getter(name="ttsContent")
|
|
2989
|
+
def tts_content(self) -> str:
|
|
2990
|
+
"""
|
|
2991
|
+
The content of the TTS.
|
|
2992
|
+
"""
|
|
2993
|
+
return pulumi.get(self, "tts_content")
|
|
2994
|
+
|
|
2995
|
+
@property
|
|
2996
|
+
@pulumi.getter(name="ttsRecoverContent")
|
|
2997
|
+
def tts_recover_content(self) -> str:
|
|
2998
|
+
"""
|
|
2999
|
+
The content of the TTS.
|
|
3000
|
+
"""
|
|
3001
|
+
return pulumi.get(self, "tts_recover_content")
|
|
3002
|
+
|
|
3003
|
+
|
|
2757
3004
|
@pulumi.output_type
|
|
2758
3005
|
class GetIntegrationExportersIntegrationExporterResult(dict):
|
|
2759
3006
|
def __init__(__self__, *,
|
|
@@ -25,12 +25,12 @@ class PrivateZoneArgs:
|
|
|
25
25
|
host_vpc_id: pulumi.Input[str]):
|
|
26
26
|
"""
|
|
27
27
|
The set of arguments for constructing a PrivateZone resource.
|
|
28
|
-
:param pulumi.Input[str] access_region_id: The
|
|
28
|
+
:param pulumi.Input[str] access_region_id: The ID of the region where PrivateZone is accessed. This region refers to the region in which PrivateZone is accessed by clients.
|
|
29
29
|
:param pulumi.Input[str] cen_id: The ID of the CEN instance.
|
|
30
|
-
:param pulumi.Input[str] host_region_id: The
|
|
31
|
-
:param pulumi.Input[str] host_vpc_id: The VPC that belongs to the service region.
|
|
30
|
+
:param pulumi.Input[str] host_region_id: The ID of the region where PrivateZone is deployed.
|
|
32
31
|
|
|
33
|
-
->**NOTE:** The
|
|
32
|
+
->**NOTE:** The resource `cen.PrivateZone` depends on the resource `cen.InstanceAttachment`.
|
|
33
|
+
:param pulumi.Input[str] host_vpc_id: The ID of the VPC that is associated with PrivateZone.
|
|
34
34
|
"""
|
|
35
35
|
pulumi.set(__self__, "access_region_id", access_region_id)
|
|
36
36
|
pulumi.set(__self__, "cen_id", cen_id)
|
|
@@ -41,7 +41,7 @@ class PrivateZoneArgs:
|
|
|
41
41
|
@pulumi.getter(name="accessRegionId")
|
|
42
42
|
def access_region_id(self) -> pulumi.Input[str]:
|
|
43
43
|
"""
|
|
44
|
-
The
|
|
44
|
+
The ID of the region where PrivateZone is accessed. This region refers to the region in which PrivateZone is accessed by clients.
|
|
45
45
|
"""
|
|
46
46
|
return pulumi.get(self, "access_region_id")
|
|
47
47
|
|
|
@@ -65,7 +65,9 @@ class PrivateZoneArgs:
|
|
|
65
65
|
@pulumi.getter(name="hostRegionId")
|
|
66
66
|
def host_region_id(self) -> pulumi.Input[str]:
|
|
67
67
|
"""
|
|
68
|
-
The
|
|
68
|
+
The ID of the region where PrivateZone is deployed.
|
|
69
|
+
|
|
70
|
+
->**NOTE:** The resource `cen.PrivateZone` depends on the resource `cen.InstanceAttachment`.
|
|
69
71
|
"""
|
|
70
72
|
return pulumi.get(self, "host_region_id")
|
|
71
73
|
|
|
@@ -77,9 +79,7 @@ class PrivateZoneArgs:
|
|
|
77
79
|
@pulumi.getter(name="hostVpcId")
|
|
78
80
|
def host_vpc_id(self) -> pulumi.Input[str]:
|
|
79
81
|
"""
|
|
80
|
-
The VPC that
|
|
81
|
-
|
|
82
|
-
->**NOTE:** The "cen.PrivateZone" resource depends on the related "cen.InstanceAttachment" resource.
|
|
82
|
+
The ID of the VPC that is associated with PrivateZone.
|
|
83
83
|
"""
|
|
84
84
|
return pulumi.get(self, "host_vpc_id")
|
|
85
85
|
|
|
@@ -98,13 +98,13 @@ class _PrivateZoneState:
|
|
|
98
98
|
status: Optional[pulumi.Input[str]] = None):
|
|
99
99
|
"""
|
|
100
100
|
Input properties used for looking up and filtering PrivateZone resources.
|
|
101
|
-
:param pulumi.Input[str] access_region_id: The
|
|
101
|
+
:param pulumi.Input[str] access_region_id: The ID of the region where PrivateZone is accessed. This region refers to the region in which PrivateZone is accessed by clients.
|
|
102
102
|
:param pulumi.Input[str] cen_id: The ID of the CEN instance.
|
|
103
|
-
:param pulumi.Input[str] host_region_id: The
|
|
104
|
-
:param pulumi.Input[str] host_vpc_id: The VPC that belongs to the service region.
|
|
103
|
+
:param pulumi.Input[str] host_region_id: The ID of the region where PrivateZone is deployed.
|
|
105
104
|
|
|
106
|
-
->**NOTE:** The
|
|
107
|
-
:param pulumi.Input[str]
|
|
105
|
+
->**NOTE:** The resource `cen.PrivateZone` depends on the resource `cen.InstanceAttachment`.
|
|
106
|
+
:param pulumi.Input[str] host_vpc_id: The ID of the VPC that is associated with PrivateZone.
|
|
107
|
+
:param pulumi.Input[str] status: The status of the Private Zone.
|
|
108
108
|
"""
|
|
109
109
|
if access_region_id is not None:
|
|
110
110
|
pulumi.set(__self__, "access_region_id", access_region_id)
|
|
@@ -121,7 +121,7 @@ class _PrivateZoneState:
|
|
|
121
121
|
@pulumi.getter(name="accessRegionId")
|
|
122
122
|
def access_region_id(self) -> Optional[pulumi.Input[str]]:
|
|
123
123
|
"""
|
|
124
|
-
The
|
|
124
|
+
The ID of the region where PrivateZone is accessed. This region refers to the region in which PrivateZone is accessed by clients.
|
|
125
125
|
"""
|
|
126
126
|
return pulumi.get(self, "access_region_id")
|
|
127
127
|
|
|
@@ -145,7 +145,9 @@ class _PrivateZoneState:
|
|
|
145
145
|
@pulumi.getter(name="hostRegionId")
|
|
146
146
|
def host_region_id(self) -> Optional[pulumi.Input[str]]:
|
|
147
147
|
"""
|
|
148
|
-
The
|
|
148
|
+
The ID of the region where PrivateZone is deployed.
|
|
149
|
+
|
|
150
|
+
->**NOTE:** The resource `cen.PrivateZone` depends on the resource `cen.InstanceAttachment`.
|
|
149
151
|
"""
|
|
150
152
|
return pulumi.get(self, "host_region_id")
|
|
151
153
|
|
|
@@ -157,9 +159,7 @@ class _PrivateZoneState:
|
|
|
157
159
|
@pulumi.getter(name="hostVpcId")
|
|
158
160
|
def host_vpc_id(self) -> Optional[pulumi.Input[str]]:
|
|
159
161
|
"""
|
|
160
|
-
The VPC that
|
|
161
|
-
|
|
162
|
-
->**NOTE:** The "cen.PrivateZone" resource depends on the related "cen.InstanceAttachment" resource.
|
|
162
|
+
The ID of the VPC that is associated with PrivateZone.
|
|
163
163
|
"""
|
|
164
164
|
return pulumi.get(self, "host_vpc_id")
|
|
165
165
|
|
|
@@ -171,7 +171,7 @@ class _PrivateZoneState:
|
|
|
171
171
|
@pulumi.getter
|
|
172
172
|
def status(self) -> Optional[pulumi.Input[str]]:
|
|
173
173
|
"""
|
|
174
|
-
The status of the
|
|
174
|
+
The status of the Private Zone.
|
|
175
175
|
"""
|
|
176
176
|
return pulumi.get(self, "status")
|
|
177
177
|
|
|
@@ -191,11 +191,9 @@ class PrivateZone(pulumi.CustomResource):
|
|
|
191
191
|
host_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
192
192
|
__props__=None):
|
|
193
193
|
"""
|
|
194
|
-
|
|
195
|
-
PrivateZone is a VPC-based resolution and management service for private domain names.
|
|
196
|
-
After you set a PrivateZone access, the Cloud Connect Network (CCN) and Virtual Border Router (VBR) attached to a CEN instance can access the PrivateZone service through CEN.
|
|
194
|
+
Provides a Cloud Enterprise Network (CEN) Private Zone resource.
|
|
197
195
|
|
|
198
|
-
For information about CEN Private Zone and how to use it, see [
|
|
196
|
+
For information about Cloud Enterprise Network (CEN) Private Zone and how to use it, see [What is Private Zone](https://www.alibabacloud.com/help/en/cloud-enterprise-network/latest/api-cbn-2017-09-12-routeprivatezoneincentovpc).
|
|
199
197
|
|
|
200
198
|
> **NOTE:** Available since v1.83.0.
|
|
201
199
|
|
|
@@ -207,41 +205,45 @@ class PrivateZone(pulumi.CustomResource):
|
|
|
207
205
|
import pulumi
|
|
208
206
|
import pulumi_alicloud as alicloud
|
|
209
207
|
|
|
208
|
+
config = pulumi.Config()
|
|
209
|
+
name = config.get("name")
|
|
210
|
+
if name is None:
|
|
211
|
+
name = "terraform-example"
|
|
210
212
|
default = alicloud.get_regions(current=True)
|
|
211
|
-
|
|
212
|
-
vpc_name=
|
|
213
|
+
default_network = alicloud.vpc.Network("default",
|
|
214
|
+
vpc_name=name,
|
|
213
215
|
cidr_block="172.17.3.0/24")
|
|
214
|
-
|
|
215
|
-
cen_instance_name=
|
|
216
|
-
description=
|
|
217
|
-
|
|
218
|
-
instance_id=
|
|
219
|
-
child_instance_id=
|
|
216
|
+
default_instance = alicloud.cen.Instance("default",
|
|
217
|
+
cen_instance_name=name,
|
|
218
|
+
description=name)
|
|
219
|
+
default_instance_attachment = alicloud.cen.InstanceAttachment("default",
|
|
220
|
+
instance_id=default_instance.id,
|
|
221
|
+
child_instance_id=default_network.id,
|
|
220
222
|
child_instance_type="VPC",
|
|
221
223
|
child_instance_region_id=default.regions[0].id)
|
|
222
224
|
default_private_zone = alicloud.cen.PrivateZone("default",
|
|
225
|
+
cen_id=default_instance_attachment.instance_id,
|
|
223
226
|
access_region_id=default.regions[0].id,
|
|
224
|
-
|
|
225
|
-
host_region_id=default.regions[0].id
|
|
226
|
-
host_vpc_id=example.id)
|
|
227
|
+
host_vpc_id=default_network.id,
|
|
228
|
+
host_region_id=default.regions[0].id)
|
|
227
229
|
```
|
|
228
230
|
|
|
229
231
|
## Import
|
|
230
232
|
|
|
231
|
-
CEN Private Zone can be imported using the id, e.g.
|
|
233
|
+
Cloud Enterprise Network (CEN) Private Zone can be imported using the id, e.g.
|
|
232
234
|
|
|
233
235
|
```sh
|
|
234
|
-
$ pulumi import alicloud:cen/privateZone:PrivateZone example
|
|
236
|
+
$ pulumi import alicloud:cen/privateZone:PrivateZone example <cen_id>:<access_region_id>
|
|
235
237
|
```
|
|
236
238
|
|
|
237
239
|
:param str resource_name: The name of the resource.
|
|
238
240
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
239
|
-
:param pulumi.Input[str] access_region_id: The
|
|
241
|
+
:param pulumi.Input[str] access_region_id: The ID of the region where PrivateZone is accessed. This region refers to the region in which PrivateZone is accessed by clients.
|
|
240
242
|
:param pulumi.Input[str] cen_id: The ID of the CEN instance.
|
|
241
|
-
:param pulumi.Input[str] host_region_id: The
|
|
242
|
-
:param pulumi.Input[str] host_vpc_id: The VPC that belongs to the service region.
|
|
243
|
+
:param pulumi.Input[str] host_region_id: The ID of the region where PrivateZone is deployed.
|
|
243
244
|
|
|
244
|
-
->**NOTE:** The
|
|
245
|
+
->**NOTE:** The resource `cen.PrivateZone` depends on the resource `cen.InstanceAttachment`.
|
|
246
|
+
:param pulumi.Input[str] host_vpc_id: The ID of the VPC that is associated with PrivateZone.
|
|
245
247
|
"""
|
|
246
248
|
...
|
|
247
249
|
@overload
|
|
@@ -250,11 +252,9 @@ class PrivateZone(pulumi.CustomResource):
|
|
|
250
252
|
args: PrivateZoneArgs,
|
|
251
253
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
252
254
|
"""
|
|
253
|
-
|
|
254
|
-
PrivateZone is a VPC-based resolution and management service for private domain names.
|
|
255
|
-
After you set a PrivateZone access, the Cloud Connect Network (CCN) and Virtual Border Router (VBR) attached to a CEN instance can access the PrivateZone service through CEN.
|
|
255
|
+
Provides a Cloud Enterprise Network (CEN) Private Zone resource.
|
|
256
256
|
|
|
257
|
-
For information about CEN Private Zone and how to use it, see [
|
|
257
|
+
For information about Cloud Enterprise Network (CEN) Private Zone and how to use it, see [What is Private Zone](https://www.alibabacloud.com/help/en/cloud-enterprise-network/latest/api-cbn-2017-09-12-routeprivatezoneincentovpc).
|
|
258
258
|
|
|
259
259
|
> **NOTE:** Available since v1.83.0.
|
|
260
260
|
|
|
@@ -266,31 +266,35 @@ class PrivateZone(pulumi.CustomResource):
|
|
|
266
266
|
import pulumi
|
|
267
267
|
import pulumi_alicloud as alicloud
|
|
268
268
|
|
|
269
|
+
config = pulumi.Config()
|
|
270
|
+
name = config.get("name")
|
|
271
|
+
if name is None:
|
|
272
|
+
name = "terraform-example"
|
|
269
273
|
default = alicloud.get_regions(current=True)
|
|
270
|
-
|
|
271
|
-
vpc_name=
|
|
274
|
+
default_network = alicloud.vpc.Network("default",
|
|
275
|
+
vpc_name=name,
|
|
272
276
|
cidr_block="172.17.3.0/24")
|
|
273
|
-
|
|
274
|
-
cen_instance_name=
|
|
275
|
-
description=
|
|
276
|
-
|
|
277
|
-
instance_id=
|
|
278
|
-
child_instance_id=
|
|
277
|
+
default_instance = alicloud.cen.Instance("default",
|
|
278
|
+
cen_instance_name=name,
|
|
279
|
+
description=name)
|
|
280
|
+
default_instance_attachment = alicloud.cen.InstanceAttachment("default",
|
|
281
|
+
instance_id=default_instance.id,
|
|
282
|
+
child_instance_id=default_network.id,
|
|
279
283
|
child_instance_type="VPC",
|
|
280
284
|
child_instance_region_id=default.regions[0].id)
|
|
281
285
|
default_private_zone = alicloud.cen.PrivateZone("default",
|
|
286
|
+
cen_id=default_instance_attachment.instance_id,
|
|
282
287
|
access_region_id=default.regions[0].id,
|
|
283
|
-
|
|
284
|
-
host_region_id=default.regions[0].id
|
|
285
|
-
host_vpc_id=example.id)
|
|
288
|
+
host_vpc_id=default_network.id,
|
|
289
|
+
host_region_id=default.regions[0].id)
|
|
286
290
|
```
|
|
287
291
|
|
|
288
292
|
## Import
|
|
289
293
|
|
|
290
|
-
CEN Private Zone can be imported using the id, e.g.
|
|
294
|
+
Cloud Enterprise Network (CEN) Private Zone can be imported using the id, e.g.
|
|
291
295
|
|
|
292
296
|
```sh
|
|
293
|
-
$ pulumi import alicloud:cen/privateZone:PrivateZone example
|
|
297
|
+
$ pulumi import alicloud:cen/privateZone:PrivateZone example <cen_id>:<access_region_id>
|
|
294
298
|
```
|
|
295
299
|
|
|
296
300
|
:param str resource_name: The name of the resource.
|
|
@@ -356,13 +360,13 @@ class PrivateZone(pulumi.CustomResource):
|
|
|
356
360
|
:param str resource_name: The unique name of the resulting resource.
|
|
357
361
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
358
362
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
359
|
-
:param pulumi.Input[str] access_region_id: The
|
|
363
|
+
:param pulumi.Input[str] access_region_id: The ID of the region where PrivateZone is accessed. This region refers to the region in which PrivateZone is accessed by clients.
|
|
360
364
|
:param pulumi.Input[str] cen_id: The ID of the CEN instance.
|
|
361
|
-
:param pulumi.Input[str] host_region_id: The
|
|
362
|
-
:param pulumi.Input[str] host_vpc_id: The VPC that belongs to the service region.
|
|
365
|
+
:param pulumi.Input[str] host_region_id: The ID of the region where PrivateZone is deployed.
|
|
363
366
|
|
|
364
|
-
->**NOTE:** The
|
|
365
|
-
:param pulumi.Input[str]
|
|
367
|
+
->**NOTE:** The resource `cen.PrivateZone` depends on the resource `cen.InstanceAttachment`.
|
|
368
|
+
:param pulumi.Input[str] host_vpc_id: The ID of the VPC that is associated with PrivateZone.
|
|
369
|
+
:param pulumi.Input[str] status: The status of the Private Zone.
|
|
366
370
|
"""
|
|
367
371
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
368
372
|
|
|
@@ -379,7 +383,7 @@ class PrivateZone(pulumi.CustomResource):
|
|
|
379
383
|
@pulumi.getter(name="accessRegionId")
|
|
380
384
|
def access_region_id(self) -> pulumi.Output[str]:
|
|
381
385
|
"""
|
|
382
|
-
The
|
|
386
|
+
The ID of the region where PrivateZone is accessed. This region refers to the region in which PrivateZone is accessed by clients.
|
|
383
387
|
"""
|
|
384
388
|
return pulumi.get(self, "access_region_id")
|
|
385
389
|
|
|
@@ -395,7 +399,9 @@ class PrivateZone(pulumi.CustomResource):
|
|
|
395
399
|
@pulumi.getter(name="hostRegionId")
|
|
396
400
|
def host_region_id(self) -> pulumi.Output[str]:
|
|
397
401
|
"""
|
|
398
|
-
The
|
|
402
|
+
The ID of the region where PrivateZone is deployed.
|
|
403
|
+
|
|
404
|
+
->**NOTE:** The resource `cen.PrivateZone` depends on the resource `cen.InstanceAttachment`.
|
|
399
405
|
"""
|
|
400
406
|
return pulumi.get(self, "host_region_id")
|
|
401
407
|
|
|
@@ -403,9 +409,7 @@ class PrivateZone(pulumi.CustomResource):
|
|
|
403
409
|
@pulumi.getter(name="hostVpcId")
|
|
404
410
|
def host_vpc_id(self) -> pulumi.Output[str]:
|
|
405
411
|
"""
|
|
406
|
-
The VPC that
|
|
407
|
-
|
|
408
|
-
->**NOTE:** The "cen.PrivateZone" resource depends on the related "cen.InstanceAttachment" resource.
|
|
412
|
+
The ID of the VPC that is associated with PrivateZone.
|
|
409
413
|
"""
|
|
410
414
|
return pulumi.get(self, "host_vpc_id")
|
|
411
415
|
|
|
@@ -413,7 +417,7 @@ class PrivateZone(pulumi.CustomResource):
|
|
|
413
417
|
@pulumi.getter
|
|
414
418
|
def status(self) -> pulumi.Output[str]:
|
|
415
419
|
"""
|
|
416
|
-
The status of the
|
|
420
|
+
The status of the Private Zone.
|
|
417
421
|
"""
|
|
418
422
|
return pulumi.get(self, "status")
|
|
419
423
|
|
|
@@ -243,7 +243,7 @@ class TransitRouterMulticastDomainPeerMember(pulumi.CustomResource):
|
|
|
243
243
|
default_transit_router_multicast_domain_peer_member = alicloud.cen.TransitRouterMulticastDomainPeerMember("default",
|
|
244
244
|
transit_router_multicast_domain_id=default_transit_router_multicast_domain.id,
|
|
245
245
|
peer_transit_router_multicast_domain_id=peer_transit_router_multicast_domain.id,
|
|
246
|
-
group_ip_address="224.0.0
|
|
246
|
+
group_ip_address="224.1.0.0")
|
|
247
247
|
```
|
|
248
248
|
|
|
249
249
|
## Import
|
|
@@ -321,7 +321,7 @@ class TransitRouterMulticastDomainPeerMember(pulumi.CustomResource):
|
|
|
321
321
|
default_transit_router_multicast_domain_peer_member = alicloud.cen.TransitRouterMulticastDomainPeerMember("default",
|
|
322
322
|
transit_router_multicast_domain_id=default_transit_router_multicast_domain.id,
|
|
323
323
|
peer_transit_router_multicast_domain_id=peer_transit_router_multicast_domain.id,
|
|
324
|
-
group_ip_address="224.0.0
|
|
324
|
+
group_ip_address="224.1.0.0")
|
|
325
325
|
```
|
|
326
326
|
|
|
327
327
|
## Import
|