pulumi-alicloud 3.70.0__py3-none-any.whl → 3.70.0a1733793116__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 -27
- pulumi_alicloud/arms/_inputs.py +0 -185
- pulumi_alicloud/arms/dispatch_rule.py +1 -70
- 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 +11 -258
- pulumi_alicloud/cen/private_zone.py +69 -73
- pulumi_alicloud/cen/transit_router_multicast_domain_peer_member.py +2 -2
- pulumi_alicloud/cfg/rule.py +2 -2
- pulumi_alicloud/ess/_inputs.py +0 -54
- pulumi_alicloud/ess/outputs.py +0 -51
- pulumi_alicloud/ess/scaling_configuration.py +0 -47
- pulumi_alicloud/ess/scaling_group.py +0 -47
- pulumi_alicloud/fc/v3_trigger.py +0 -96
- pulumi_alicloud/kms/_inputs.py +5 -5
- pulumi_alicloud/kms/outputs.py +3 -3
- pulumi_alicloud/nas/access_group.py +2 -10
- pulumi_alicloud/nas/access_point.py +2 -10
- pulumi_alicloud/nas/fileset.py +2 -2
- pulumi_alicloud/oos/execution.py +10 -18
- pulumi_alicloud/oos/template.py +6 -14
- pulumi_alicloud/pai/__init__.py +0 -1
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/rdc/get_organizations.py +2 -12
- pulumi_alicloud/rdc/organization.py +2 -6
- pulumi_alicloud/vpc/__init__.py +0 -1
- {pulumi_alicloud-3.70.0.dist-info → pulumi_alicloud-3.70.0a1733793116.dist-info}/METADATA +3 -3
- {pulumi_alicloud-3.70.0.dist-info → pulumi_alicloud-3.70.0a1733793116.dist-info}/RECORD +31 -35
- pulumi_alicloud/live/__init__.py +0 -8
- pulumi_alicloud/live/caster.py +0 -1343
- pulumi_alicloud/pai/service.py +0 -501
- pulumi_alicloud/vpc/ipam_ipam_pool_allocation.py +0 -545
- {pulumi_alicloud-3.70.0.dist-info → pulumi_alicloud-3.70.0a1733793116.dist-info}/WHEEL +0 -0
- {pulumi_alicloud-3.70.0.dist-info → pulumi_alicloud-3.70.0a1733793116.dist-info}/top_level.txt +0 -0
pulumi_alicloud/arms/outputs.py
CHANGED
|
@@ -22,7 +22,6 @@ __all__ = [
|
|
|
22
22
|
'DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpression',
|
|
23
23
|
'DispatchRuleNotifyRule',
|
|
24
24
|
'DispatchRuleNotifyRuleNotifyObject',
|
|
25
|
-
'DispatchRuleNotifyTemplate',
|
|
26
25
|
'PrometheusAlertRuleAnnotation',
|
|
27
26
|
'PrometheusAlertRuleLabel',
|
|
28
27
|
'SyntheticTaskAvailableAssertion',
|
|
@@ -50,7 +49,6 @@ __all__ = [
|
|
|
50
49
|
'GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionResult',
|
|
51
50
|
'GetDispatchRulesRuleNotifyRuleResult',
|
|
52
51
|
'GetDispatchRulesRuleNotifyRuleNotifyObjectResult',
|
|
53
|
-
'GetDispatchRulesRuleNotifyTemplateResult',
|
|
54
52
|
'GetIntegrationExportersIntegrationExporterResult',
|
|
55
53
|
'GetPrometheisPrometheiResult',
|
|
56
54
|
'GetPrometheusAlertRulesRuleResult',
|
|
@@ -413,145 +411,6 @@ class DispatchRuleNotifyRuleNotifyObject(dict):
|
|
|
413
411
|
return pulumi.get(self, "notify_type")
|
|
414
412
|
|
|
415
413
|
|
|
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
|
-
|
|
555
414
|
@pulumi.output_type
|
|
556
415
|
class PrometheusAlertRuleAnnotation(dict):
|
|
557
416
|
def __init__(__self__, *,
|
|
@@ -2587,29 +2446,29 @@ class GetDispatchRulesRuleResult(dict):
|
|
|
2587
2446
|
def __init__(__self__, *,
|
|
2588
2447
|
dispatch_rule_id: str,
|
|
2589
2448
|
dispatch_rule_name: str,
|
|
2449
|
+
dispatch_type: str,
|
|
2590
2450
|
group_rules: Sequence['outputs.GetDispatchRulesRuleGroupRuleResult'],
|
|
2591
2451
|
id: str,
|
|
2592
2452
|
label_match_expression_grids: Sequence['outputs.GetDispatchRulesRuleLabelMatchExpressionGridResult'],
|
|
2593
2453
|
notify_rules: Sequence['outputs.GetDispatchRulesRuleNotifyRuleResult'],
|
|
2594
|
-
notify_templates: Sequence['outputs.GetDispatchRulesRuleNotifyTemplateResult'],
|
|
2595
2454
|
status: str):
|
|
2596
2455
|
"""
|
|
2597
2456
|
:param str dispatch_rule_id: Dispatch rule ID.
|
|
2598
2457
|
:param str dispatch_rule_name: The name of the dispatch rule.
|
|
2458
|
+
:param str dispatch_type: The type of the dispatch rule.
|
|
2599
2459
|
:param Sequence['GetDispatchRulesRuleGroupRuleArgs'] group_rules: Sets the event group.
|
|
2600
2460
|
:param str id: The ID of the Dispatch Rule.
|
|
2601
2461
|
:param Sequence['GetDispatchRulesRuleLabelMatchExpressionGridArgs'] label_match_expression_grids: Sets the dispatch rule.
|
|
2602
2462
|
:param Sequence['GetDispatchRulesRuleNotifyRuleArgs'] notify_rules: Sets the notification rule.
|
|
2603
|
-
:param Sequence['GetDispatchRulesRuleNotifyTemplateArgs'] notify_templates: (Available since v1.238.0) The notification method.
|
|
2604
2463
|
:param str status: The resource status of Alert Dispatch Rule.
|
|
2605
2464
|
"""
|
|
2606
2465
|
pulumi.set(__self__, "dispatch_rule_id", dispatch_rule_id)
|
|
2607
2466
|
pulumi.set(__self__, "dispatch_rule_name", dispatch_rule_name)
|
|
2467
|
+
pulumi.set(__self__, "dispatch_type", dispatch_type)
|
|
2608
2468
|
pulumi.set(__self__, "group_rules", group_rules)
|
|
2609
2469
|
pulumi.set(__self__, "id", id)
|
|
2610
2470
|
pulumi.set(__self__, "label_match_expression_grids", label_match_expression_grids)
|
|
2611
2471
|
pulumi.set(__self__, "notify_rules", notify_rules)
|
|
2612
|
-
pulumi.set(__self__, "notify_templates", notify_templates)
|
|
2613
2472
|
pulumi.set(__self__, "status", status)
|
|
2614
2473
|
|
|
2615
2474
|
@property
|
|
@@ -2628,6 +2487,14 @@ class GetDispatchRulesRuleResult(dict):
|
|
|
2628
2487
|
"""
|
|
2629
2488
|
return pulumi.get(self, "dispatch_rule_name")
|
|
2630
2489
|
|
|
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
|
+
|
|
2631
2498
|
@property
|
|
2632
2499
|
@pulumi.getter(name="groupRules")
|
|
2633
2500
|
def group_rules(self) -> Sequence['outputs.GetDispatchRulesRuleGroupRuleResult']:
|
|
@@ -2660,14 +2527,6 @@ class GetDispatchRulesRuleResult(dict):
|
|
|
2660
2527
|
"""
|
|
2661
2528
|
return pulumi.get(self, "notify_rules")
|
|
2662
2529
|
|
|
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
|
-
|
|
2671
2530
|
@property
|
|
2672
2531
|
@pulumi.getter
|
|
2673
2532
|
def status(self) -> str:
|
|
@@ -2895,112 +2754,6 @@ class GetDispatchRulesRuleNotifyRuleNotifyObjectResult(dict):
|
|
|
2895
2754
|
return pulumi.get(self, "notify_type")
|
|
2896
2755
|
|
|
2897
2756
|
|
|
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
|
-
|
|
3004
2757
|
@pulumi.output_type
|
|
3005
2758
|
class GetIntegrationExportersIntegrationExporterResult(dict):
|
|
3006
2759
|
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 access region. The access region is the region of the cloud resource that accesses the PrivateZone service through CEN.
|
|
29
29
|
:param pulumi.Input[str] cen_id: The ID of the CEN instance.
|
|
30
|
-
:param pulumi.Input[str] host_region_id: The
|
|
30
|
+
:param pulumi.Input[str] host_region_id: The service region. The service region is the target region of the PrivateZone service to be accessed through CEN.
|
|
31
|
+
:param pulumi.Input[str] host_vpc_id: The VPC that belongs to the service region.
|
|
31
32
|
|
|
32
|
-
->**NOTE:** The
|
|
33
|
-
:param pulumi.Input[str] host_vpc_id: The ID of the VPC that is associated with PrivateZone.
|
|
33
|
+
->**NOTE:** The "cen.PrivateZone" resource depends on the related "cen.InstanceAttachment" resource.
|
|
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 access region. The access region is the region of the cloud resource that accesses the PrivateZone service through CEN.
|
|
45
45
|
"""
|
|
46
46
|
return pulumi.get(self, "access_region_id")
|
|
47
47
|
|
|
@@ -65,9 +65,7 @@ class PrivateZoneArgs:
|
|
|
65
65
|
@pulumi.getter(name="hostRegionId")
|
|
66
66
|
def host_region_id(self) -> pulumi.Input[str]:
|
|
67
67
|
"""
|
|
68
|
-
The
|
|
69
|
-
|
|
70
|
-
->**NOTE:** The resource `cen.PrivateZone` depends on the resource `cen.InstanceAttachment`.
|
|
68
|
+
The service region. The service region is the target region of the PrivateZone service to be accessed through CEN.
|
|
71
69
|
"""
|
|
72
70
|
return pulumi.get(self, "host_region_id")
|
|
73
71
|
|
|
@@ -79,7 +77,9 @@ class PrivateZoneArgs:
|
|
|
79
77
|
@pulumi.getter(name="hostVpcId")
|
|
80
78
|
def host_vpc_id(self) -> pulumi.Input[str]:
|
|
81
79
|
"""
|
|
82
|
-
The
|
|
80
|
+
The VPC that belongs to the service region.
|
|
81
|
+
|
|
82
|
+
->**NOTE:** The "cen.PrivateZone" resource depends on the related "cen.InstanceAttachment" resource.
|
|
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 access region. The access region is the region of the cloud resource that accesses the PrivateZone service through CEN.
|
|
102
102
|
:param pulumi.Input[str] cen_id: The ID of the CEN instance.
|
|
103
|
-
:param pulumi.Input[str] host_region_id: The
|
|
103
|
+
:param pulumi.Input[str] host_region_id: The service region. The service region is the target region of the PrivateZone service to be accessed through CEN.
|
|
104
|
+
:param pulumi.Input[str] host_vpc_id: The VPC that belongs to the service region.
|
|
104
105
|
|
|
105
|
-
->**NOTE:** The
|
|
106
|
-
:param pulumi.Input[str]
|
|
107
|
-
:param pulumi.Input[str] status: The status of the Private Zone.
|
|
106
|
+
->**NOTE:** The "cen.PrivateZone" resource depends on the related "cen.InstanceAttachment" resource.
|
|
107
|
+
:param pulumi.Input[str] status: The status of the PrivateZone service. Valid values: ["Creating", "Active", "Deleting"].
|
|
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 access region. The access region is the region of the cloud resource that accesses the PrivateZone service through CEN.
|
|
125
125
|
"""
|
|
126
126
|
return pulumi.get(self, "access_region_id")
|
|
127
127
|
|
|
@@ -145,9 +145,7 @@ class _PrivateZoneState:
|
|
|
145
145
|
@pulumi.getter(name="hostRegionId")
|
|
146
146
|
def host_region_id(self) -> Optional[pulumi.Input[str]]:
|
|
147
147
|
"""
|
|
148
|
-
The
|
|
149
|
-
|
|
150
|
-
->**NOTE:** The resource `cen.PrivateZone` depends on the resource `cen.InstanceAttachment`.
|
|
148
|
+
The service region. The service region is the target region of the PrivateZone service to be accessed through CEN.
|
|
151
149
|
"""
|
|
152
150
|
return pulumi.get(self, "host_region_id")
|
|
153
151
|
|
|
@@ -159,7 +157,9 @@ class _PrivateZoneState:
|
|
|
159
157
|
@pulumi.getter(name="hostVpcId")
|
|
160
158
|
def host_vpc_id(self) -> Optional[pulumi.Input[str]]:
|
|
161
159
|
"""
|
|
162
|
-
The
|
|
160
|
+
The VPC that belongs to the service region.
|
|
161
|
+
|
|
162
|
+
->**NOTE:** The "cen.PrivateZone" resource depends on the related "cen.InstanceAttachment" resource.
|
|
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 PrivateZone service. Valid values: ["Creating", "Active", "Deleting"].
|
|
175
175
|
"""
|
|
176
176
|
return pulumi.get(self, "status")
|
|
177
177
|
|
|
@@ -191,9 +191,11 @@ class PrivateZone(pulumi.CustomResource):
|
|
|
191
191
|
host_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
192
192
|
__props__=None):
|
|
193
193
|
"""
|
|
194
|
-
|
|
194
|
+
This topic describes how to configure PrivateZone access.
|
|
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.
|
|
195
197
|
|
|
196
|
-
For information about
|
|
198
|
+
For information about CEN Private Zone and how to use it, see [Manage CEN Private Zone](https://www.alibabacloud.com/help/en/cloud-enterprise-network/latest/api-cbn-2017-09-12-routeprivatezoneincentovpc).
|
|
197
199
|
|
|
198
200
|
> **NOTE:** Available since v1.83.0.
|
|
199
201
|
|
|
@@ -205,45 +207,41 @@ class PrivateZone(pulumi.CustomResource):
|
|
|
205
207
|
import pulumi
|
|
206
208
|
import pulumi_alicloud as alicloud
|
|
207
209
|
|
|
208
|
-
config = pulumi.Config()
|
|
209
|
-
name = config.get("name")
|
|
210
|
-
if name is None:
|
|
211
|
-
name = "terraform-example"
|
|
212
210
|
default = alicloud.get_regions(current=True)
|
|
213
|
-
|
|
214
|
-
vpc_name=
|
|
211
|
+
example = alicloud.vpc.Network("example",
|
|
212
|
+
vpc_name="tf_example",
|
|
215
213
|
cidr_block="172.17.3.0/24")
|
|
216
|
-
|
|
217
|
-
cen_instance_name=
|
|
218
|
-
description=
|
|
219
|
-
|
|
220
|
-
instance_id=
|
|
221
|
-
child_instance_id=
|
|
214
|
+
example_instance = alicloud.cen.Instance("example",
|
|
215
|
+
cen_instance_name="tf_example",
|
|
216
|
+
description="an example for cen")
|
|
217
|
+
example_instance_attachment = alicloud.cen.InstanceAttachment("example",
|
|
218
|
+
instance_id=example_instance.id,
|
|
219
|
+
child_instance_id=example.id,
|
|
222
220
|
child_instance_type="VPC",
|
|
223
221
|
child_instance_region_id=default.regions[0].id)
|
|
224
222
|
default_private_zone = alicloud.cen.PrivateZone("default",
|
|
225
|
-
cen_id=default_instance_attachment.instance_id,
|
|
226
223
|
access_region_id=default.regions[0].id,
|
|
227
|
-
|
|
228
|
-
host_region_id=default.regions[0].id
|
|
224
|
+
cen_id=example_instance_attachment.instance_id,
|
|
225
|
+
host_region_id=default.regions[0].id,
|
|
226
|
+
host_vpc_id=example.id)
|
|
229
227
|
```
|
|
230
228
|
|
|
231
229
|
## Import
|
|
232
230
|
|
|
233
|
-
|
|
231
|
+
CEN Private Zone can be imported using the id, e.g.
|
|
234
232
|
|
|
235
233
|
```sh
|
|
236
|
-
$ pulumi import alicloud:cen/privateZone:PrivateZone example
|
|
234
|
+
$ pulumi import alicloud:cen/privateZone:PrivateZone example cen-abc123456:cn-hangzhou
|
|
237
235
|
```
|
|
238
236
|
|
|
239
237
|
:param str resource_name: The name of the resource.
|
|
240
238
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
241
|
-
:param pulumi.Input[str] access_region_id: The
|
|
239
|
+
:param pulumi.Input[str] access_region_id: The access region. The access region is the region of the cloud resource that accesses the PrivateZone service through CEN.
|
|
242
240
|
:param pulumi.Input[str] cen_id: The ID of the CEN instance.
|
|
243
|
-
:param pulumi.Input[str] host_region_id: The
|
|
241
|
+
:param pulumi.Input[str] host_region_id: The service region. The service region is the target region of the PrivateZone service to be accessed through CEN.
|
|
242
|
+
:param pulumi.Input[str] host_vpc_id: The VPC that belongs to the service region.
|
|
244
243
|
|
|
245
|
-
->**NOTE:** The
|
|
246
|
-
:param pulumi.Input[str] host_vpc_id: The ID of the VPC that is associated with PrivateZone.
|
|
244
|
+
->**NOTE:** The "cen.PrivateZone" resource depends on the related "cen.InstanceAttachment" resource.
|
|
247
245
|
"""
|
|
248
246
|
...
|
|
249
247
|
@overload
|
|
@@ -252,9 +250,11 @@ class PrivateZone(pulumi.CustomResource):
|
|
|
252
250
|
args: PrivateZoneArgs,
|
|
253
251
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
254
252
|
"""
|
|
255
|
-
|
|
253
|
+
This topic describes how to configure PrivateZone access.
|
|
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.
|
|
256
256
|
|
|
257
|
-
For information about
|
|
257
|
+
For information about CEN Private Zone and how to use it, see [Manage CEN 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,35 +266,31 @@ 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"
|
|
273
269
|
default = alicloud.get_regions(current=True)
|
|
274
|
-
|
|
275
|
-
vpc_name=
|
|
270
|
+
example = alicloud.vpc.Network("example",
|
|
271
|
+
vpc_name="tf_example",
|
|
276
272
|
cidr_block="172.17.3.0/24")
|
|
277
|
-
|
|
278
|
-
cen_instance_name=
|
|
279
|
-
description=
|
|
280
|
-
|
|
281
|
-
instance_id=
|
|
282
|
-
child_instance_id=
|
|
273
|
+
example_instance = alicloud.cen.Instance("example",
|
|
274
|
+
cen_instance_name="tf_example",
|
|
275
|
+
description="an example for cen")
|
|
276
|
+
example_instance_attachment = alicloud.cen.InstanceAttachment("example",
|
|
277
|
+
instance_id=example_instance.id,
|
|
278
|
+
child_instance_id=example.id,
|
|
283
279
|
child_instance_type="VPC",
|
|
284
280
|
child_instance_region_id=default.regions[0].id)
|
|
285
281
|
default_private_zone = alicloud.cen.PrivateZone("default",
|
|
286
|
-
cen_id=default_instance_attachment.instance_id,
|
|
287
282
|
access_region_id=default.regions[0].id,
|
|
288
|
-
|
|
289
|
-
host_region_id=default.regions[0].id
|
|
283
|
+
cen_id=example_instance_attachment.instance_id,
|
|
284
|
+
host_region_id=default.regions[0].id,
|
|
285
|
+
host_vpc_id=example.id)
|
|
290
286
|
```
|
|
291
287
|
|
|
292
288
|
## Import
|
|
293
289
|
|
|
294
|
-
|
|
290
|
+
CEN Private Zone can be imported using the id, e.g.
|
|
295
291
|
|
|
296
292
|
```sh
|
|
297
|
-
$ pulumi import alicloud:cen/privateZone:PrivateZone example
|
|
293
|
+
$ pulumi import alicloud:cen/privateZone:PrivateZone example cen-abc123456:cn-hangzhou
|
|
298
294
|
```
|
|
299
295
|
|
|
300
296
|
:param str resource_name: The name of the resource.
|
|
@@ -360,13 +356,13 @@ class PrivateZone(pulumi.CustomResource):
|
|
|
360
356
|
:param str resource_name: The unique name of the resulting resource.
|
|
361
357
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
362
358
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
363
|
-
:param pulumi.Input[str] access_region_id: The
|
|
359
|
+
:param pulumi.Input[str] access_region_id: The access region. The access region is the region of the cloud resource that accesses the PrivateZone service through CEN.
|
|
364
360
|
:param pulumi.Input[str] cen_id: The ID of the CEN instance.
|
|
365
|
-
:param pulumi.Input[str] host_region_id: The
|
|
361
|
+
:param pulumi.Input[str] host_region_id: The service region. The service region is the target region of the PrivateZone service to be accessed through CEN.
|
|
362
|
+
:param pulumi.Input[str] host_vpc_id: The VPC that belongs to the service region.
|
|
366
363
|
|
|
367
|
-
->**NOTE:** The
|
|
368
|
-
:param pulumi.Input[str]
|
|
369
|
-
:param pulumi.Input[str] status: The status of the Private Zone.
|
|
364
|
+
->**NOTE:** The "cen.PrivateZone" resource depends on the related "cen.InstanceAttachment" resource.
|
|
365
|
+
:param pulumi.Input[str] status: The status of the PrivateZone service. Valid values: ["Creating", "Active", "Deleting"].
|
|
370
366
|
"""
|
|
371
367
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
372
368
|
|
|
@@ -383,7 +379,7 @@ class PrivateZone(pulumi.CustomResource):
|
|
|
383
379
|
@pulumi.getter(name="accessRegionId")
|
|
384
380
|
def access_region_id(self) -> pulumi.Output[str]:
|
|
385
381
|
"""
|
|
386
|
-
The
|
|
382
|
+
The access region. The access region is the region of the cloud resource that accesses the PrivateZone service through CEN.
|
|
387
383
|
"""
|
|
388
384
|
return pulumi.get(self, "access_region_id")
|
|
389
385
|
|
|
@@ -399,9 +395,7 @@ class PrivateZone(pulumi.CustomResource):
|
|
|
399
395
|
@pulumi.getter(name="hostRegionId")
|
|
400
396
|
def host_region_id(self) -> pulumi.Output[str]:
|
|
401
397
|
"""
|
|
402
|
-
The
|
|
403
|
-
|
|
404
|
-
->**NOTE:** The resource `cen.PrivateZone` depends on the resource `cen.InstanceAttachment`.
|
|
398
|
+
The service region. The service region is the target region of the PrivateZone service to be accessed through CEN.
|
|
405
399
|
"""
|
|
406
400
|
return pulumi.get(self, "host_region_id")
|
|
407
401
|
|
|
@@ -409,7 +403,9 @@ class PrivateZone(pulumi.CustomResource):
|
|
|
409
403
|
@pulumi.getter(name="hostVpcId")
|
|
410
404
|
def host_vpc_id(self) -> pulumi.Output[str]:
|
|
411
405
|
"""
|
|
412
|
-
The
|
|
406
|
+
The VPC that belongs to the service region.
|
|
407
|
+
|
|
408
|
+
->**NOTE:** The "cen.PrivateZone" resource depends on the related "cen.InstanceAttachment" resource.
|
|
413
409
|
"""
|
|
414
410
|
return pulumi.get(self, "host_vpc_id")
|
|
415
411
|
|
|
@@ -417,7 +413,7 @@ class PrivateZone(pulumi.CustomResource):
|
|
|
417
413
|
@pulumi.getter
|
|
418
414
|
def status(self) -> pulumi.Output[str]:
|
|
419
415
|
"""
|
|
420
|
-
The status of the
|
|
416
|
+
The status of the PrivateZone service. Valid values: ["Creating", "Active", "Deleting"].
|
|
421
417
|
"""
|
|
422
418
|
return pulumi.get(self, "status")
|
|
423
419
|
|
|
@@ -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.
|
|
246
|
+
group_ip_address="224.0.0.1")
|
|
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.
|
|
324
|
+
group_ip_address="224.0.0.1")
|
|
325
325
|
```
|
|
326
326
|
|
|
327
327
|
## Import
|