pulumi-harness 0.9.0a1760076204__py3-none-any.whl → 0.10.0a1764049859__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.
- pulumi_harness/__init__.py +24 -0
- pulumi_harness/autostopping/__init__.py +2 -0
- pulumi_harness/autostopping/_inputs.py +1698 -622
- pulumi_harness/autostopping/get_aws_alb.py +4 -0
- pulumi_harness/autostopping/get_aws_proxy.py +4 -0
- pulumi_harness/autostopping/get_azure_gateway.py +4 -0
- pulumi_harness/autostopping/get_azure_proxy.py +4 -0
- pulumi_harness/autostopping/get_gcp_proxy.py +4 -0
- pulumi_harness/autostopping/get_rule_ecs.py +4 -0
- pulumi_harness/autostopping/get_rule_rds.py +4 -0
- pulumi_harness/autostopping/get_rule_scale_group.py +254 -0
- pulumi_harness/autostopping/get_rule_vm.py +4 -0
- pulumi_harness/autostopping/outputs.py +727 -0
- pulumi_harness/autostopping/rule_ecs.py +58 -0
- pulumi_harness/autostopping/rule_scale_group.py +592 -0
- pulumi_harness/cluster/get_orchestrator.py +4 -0
- pulumi_harness/cluster/get_orchestrator_config.py +21 -1
- pulumi_harness/cluster/orchestrator.py +2 -28
- pulumi_harness/cluster/orchestrator_config.py +49 -0
- pulumi_harness/platform/__init__.py +5 -0
- pulumi_harness/platform/_inputs.py +5804 -371
- pulumi_harness/platform/connector_rancher.py +36 -0
- pulumi_harness/platform/db_instance.py +49 -49
- pulumi_harness/platform/db_schema.py +243 -0
- pulumi_harness/platform/environment.py +166 -0
- pulumi_harness/platform/environment_group.py +10 -10
- pulumi_harness/platform/gcp_secret_manager_connector.py +94 -0
- pulumi_harness/platform/get_db_instance.py +21 -21
- pulumi_harness/platform/get_db_schema.py +21 -1
- pulumi_harness/platform/get_default_notification_template_set.py +31 -1
- pulumi_harness/platform/get_gitops_agent_operator_yaml.py +4 -0
- pulumi_harness/platform/get_gitops_app_project_mapping.py +4 -0
- pulumi_harness/platform/get_gitops_applications.py +4 -0
- pulumi_harness/platform/get_gitops_repo_cert.py +4 -0
- pulumi_harness/platform/get_infra_module.py +192 -6
- pulumi_harness/platform/get_infra_module_testing.py +521 -0
- pulumi_harness/platform/get_infra_modules.py +103 -0
- pulumi_harness/platform/get_manual_freeze.py +4 -0
- pulumi_harness/platform/get_pipeline_central_notification_rule.py +2 -26
- pulumi_harness/platform/get_secret_winrm.py +263 -0
- pulumi_harness/platform/git_ops_applications.py +0 -4
- pulumi_harness/platform/gitops_applicationset.py +308 -6
- pulumi_harness/platform/infra_module_testing.py +1134 -0
- pulumi_harness/platform/infrastructure.py +82 -0
- pulumi_harness/platform/outputs.py +4467 -251
- pulumi_harness/platform/pipeline.py +2 -2
- pulumi_harness/platform/pipeline_central_notification_rule.py +187 -0
- pulumi_harness/platform/secret_winrm.py +1082 -0
- pulumi_harness/platform/service.py +150 -0
- pulumi_harness/platform/triggers.py +6 -4
- pulumi_harness/pulumi-plugin.json +1 -1
- {pulumi_harness-0.9.0a1760076204.dist-info → pulumi_harness-0.10.0a1764049859.dist-info}/METADATA +1 -1
- {pulumi_harness-0.9.0a1760076204.dist-info → pulumi_harness-0.10.0a1764049859.dist-info}/RECORD +55 -48
- {pulumi_harness-0.9.0a1760076204.dist-info → pulumi_harness-0.10.0a1764049859.dist-info}/WHEEL +0 -0
- {pulumi_harness-0.9.0a1760076204.dist-info → pulumi_harness-0.10.0a1764049859.dist-info}/top_level.txt +0 -0
|
@@ -35,6 +35,16 @@ __all__ = [
|
|
|
35
35
|
'RuleRdsTcpArgsDict',
|
|
36
36
|
'RuleRdsTcpForwardRuleArgs',
|
|
37
37
|
'RuleRdsTcpForwardRuleArgsDict',
|
|
38
|
+
'RuleScaleGroupDependArgs',
|
|
39
|
+
'RuleScaleGroupDependArgsDict',
|
|
40
|
+
'RuleScaleGroupHttpArgs',
|
|
41
|
+
'RuleScaleGroupHttpArgsDict',
|
|
42
|
+
'RuleScaleGroupHttpHealthArgs',
|
|
43
|
+
'RuleScaleGroupHttpHealthArgsDict',
|
|
44
|
+
'RuleScaleGroupHttpRoutingArgs',
|
|
45
|
+
'RuleScaleGroupHttpRoutingArgsDict',
|
|
46
|
+
'RuleScaleGroupScaleGroupArgs',
|
|
47
|
+
'RuleScaleGroupScaleGroupArgsDict',
|
|
38
48
|
'RuleVmDependArgs',
|
|
39
49
|
'RuleVmDependArgsDict',
|
|
40
50
|
'RuleVmFilterArgs',
|
|
@@ -77,6 +87,16 @@ __all__ = [
|
|
|
77
87
|
'GetRuleRdsTcpArgsDict',
|
|
78
88
|
'GetRuleRdsTcpForwardRuleArgs',
|
|
79
89
|
'GetRuleRdsTcpForwardRuleArgsDict',
|
|
90
|
+
'GetRuleScaleGroupDependArgs',
|
|
91
|
+
'GetRuleScaleGroupDependArgsDict',
|
|
92
|
+
'GetRuleScaleGroupHttpArgs',
|
|
93
|
+
'GetRuleScaleGroupHttpArgsDict',
|
|
94
|
+
'GetRuleScaleGroupHttpHealthArgs',
|
|
95
|
+
'GetRuleScaleGroupHttpHealthArgsDict',
|
|
96
|
+
'GetRuleScaleGroupHttpRoutingArgs',
|
|
97
|
+
'GetRuleScaleGroupHttpRoutingArgsDict',
|
|
98
|
+
'GetRuleScaleGroupScaleGroupArgs',
|
|
99
|
+
'GetRuleScaleGroupScaleGroupArgsDict',
|
|
80
100
|
'GetRuleVmDependArgs',
|
|
81
101
|
'GetRuleVmDependArgsDict',
|
|
82
102
|
'GetRuleVmFilterArgs',
|
|
@@ -626,7 +646,7 @@ class RuleRdsTcpForwardRuleArgs:
|
|
|
626
646
|
|
|
627
647
|
|
|
628
648
|
if not MYPY:
|
|
629
|
-
class
|
|
649
|
+
class RuleScaleGroupDependArgsDict(TypedDict):
|
|
630
650
|
rule_id: pulumi.Input[_builtins.int]
|
|
631
651
|
"""
|
|
632
652
|
Rule id of the dependent rule
|
|
@@ -636,10 +656,10 @@ if not MYPY:
|
|
|
636
656
|
Number of seconds the rule should wait after warming up the dependent rule
|
|
637
657
|
"""
|
|
638
658
|
elif False:
|
|
639
|
-
|
|
659
|
+
RuleScaleGroupDependArgsDict: TypeAlias = Mapping[str, Any]
|
|
640
660
|
|
|
641
661
|
@pulumi.input_type
|
|
642
|
-
class
|
|
662
|
+
class RuleScaleGroupDependArgs:
|
|
643
663
|
def __init__(__self__, *,
|
|
644
664
|
rule_id: pulumi.Input[_builtins.int],
|
|
645
665
|
delay_in_sec: Optional[pulumi.Input[_builtins.int]] = None):
|
|
@@ -677,157 +697,32 @@ class RuleVmDependArgs:
|
|
|
677
697
|
|
|
678
698
|
|
|
679
699
|
if not MYPY:
|
|
680
|
-
class
|
|
681
|
-
vm_ids: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]
|
|
682
|
-
"""
|
|
683
|
-
Ids of instances that needs to be managed using the AutoStopping rules
|
|
684
|
-
"""
|
|
685
|
-
regions: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
686
|
-
"""
|
|
687
|
-
Regions of instances that needs to be managed using the AutoStopping rules
|
|
688
|
-
"""
|
|
689
|
-
tags: NotRequired[pulumi.Input[Sequence[pulumi.Input['RuleVmFilterTagArgsDict']]]]
|
|
690
|
-
"""
|
|
691
|
-
Tags of instances that needs to be managed using the AutoStopping rules
|
|
692
|
-
"""
|
|
693
|
-
zones: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
694
|
-
"""
|
|
695
|
-
Zones of instances that needs to be managed using the AutoStopping rules
|
|
696
|
-
"""
|
|
697
|
-
elif False:
|
|
698
|
-
RuleVmFilterArgsDict: TypeAlias = Mapping[str, Any]
|
|
699
|
-
|
|
700
|
-
@pulumi.input_type
|
|
701
|
-
class RuleVmFilterArgs:
|
|
702
|
-
def __init__(__self__, *,
|
|
703
|
-
vm_ids: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]],
|
|
704
|
-
regions: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
705
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input['RuleVmFilterTagArgs']]]] = None,
|
|
706
|
-
zones: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None):
|
|
707
|
-
"""
|
|
708
|
-
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] vm_ids: Ids of instances that needs to be managed using the AutoStopping rules
|
|
709
|
-
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] regions: Regions of instances that needs to be managed using the AutoStopping rules
|
|
710
|
-
:param pulumi.Input[Sequence[pulumi.Input['RuleVmFilterTagArgs']]] tags: Tags of instances that needs to be managed using the AutoStopping rules
|
|
711
|
-
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] zones: Zones of instances that needs to be managed using the AutoStopping rules
|
|
712
|
-
"""
|
|
713
|
-
pulumi.set(__self__, "vm_ids", vm_ids)
|
|
714
|
-
if regions is not None:
|
|
715
|
-
pulumi.set(__self__, "regions", regions)
|
|
716
|
-
if tags is not None:
|
|
717
|
-
pulumi.set(__self__, "tags", tags)
|
|
718
|
-
if zones is not None:
|
|
719
|
-
pulumi.set(__self__, "zones", zones)
|
|
720
|
-
|
|
721
|
-
@_builtins.property
|
|
722
|
-
@pulumi.getter(name="vmIds")
|
|
723
|
-
def vm_ids(self) -> pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]:
|
|
724
|
-
"""
|
|
725
|
-
Ids of instances that needs to be managed using the AutoStopping rules
|
|
726
|
-
"""
|
|
727
|
-
return pulumi.get(self, "vm_ids")
|
|
728
|
-
|
|
729
|
-
@vm_ids.setter
|
|
730
|
-
def vm_ids(self, value: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]):
|
|
731
|
-
pulumi.set(self, "vm_ids", value)
|
|
732
|
-
|
|
733
|
-
@_builtins.property
|
|
734
|
-
@pulumi.getter
|
|
735
|
-
def regions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
736
|
-
"""
|
|
737
|
-
Regions of instances that needs to be managed using the AutoStopping rules
|
|
738
|
-
"""
|
|
739
|
-
return pulumi.get(self, "regions")
|
|
740
|
-
|
|
741
|
-
@regions.setter
|
|
742
|
-
def regions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
743
|
-
pulumi.set(self, "regions", value)
|
|
744
|
-
|
|
745
|
-
@_builtins.property
|
|
746
|
-
@pulumi.getter
|
|
747
|
-
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['RuleVmFilterTagArgs']]]]:
|
|
748
|
-
"""
|
|
749
|
-
Tags of instances that needs to be managed using the AutoStopping rules
|
|
750
|
-
"""
|
|
751
|
-
return pulumi.get(self, "tags")
|
|
752
|
-
|
|
753
|
-
@tags.setter
|
|
754
|
-
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['RuleVmFilterTagArgs']]]]):
|
|
755
|
-
pulumi.set(self, "tags", value)
|
|
756
|
-
|
|
757
|
-
@_builtins.property
|
|
758
|
-
@pulumi.getter
|
|
759
|
-
def zones(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
760
|
-
"""
|
|
761
|
-
Zones of instances that needs to be managed using the AutoStopping rules
|
|
762
|
-
"""
|
|
763
|
-
return pulumi.get(self, "zones")
|
|
764
|
-
|
|
765
|
-
@zones.setter
|
|
766
|
-
def zones(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
767
|
-
pulumi.set(self, "zones", value)
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
if not MYPY:
|
|
771
|
-
class RuleVmFilterTagArgsDict(TypedDict):
|
|
772
|
-
key: pulumi.Input[_builtins.str]
|
|
773
|
-
value: pulumi.Input[_builtins.str]
|
|
774
|
-
elif False:
|
|
775
|
-
RuleVmFilterTagArgsDict: TypeAlias = Mapping[str, Any]
|
|
776
|
-
|
|
777
|
-
@pulumi.input_type
|
|
778
|
-
class RuleVmFilterTagArgs:
|
|
779
|
-
def __init__(__self__, *,
|
|
780
|
-
key: pulumi.Input[_builtins.str],
|
|
781
|
-
value: pulumi.Input[_builtins.str]):
|
|
782
|
-
pulumi.set(__self__, "key", key)
|
|
783
|
-
pulumi.set(__self__, "value", value)
|
|
784
|
-
|
|
785
|
-
@_builtins.property
|
|
786
|
-
@pulumi.getter
|
|
787
|
-
def key(self) -> pulumi.Input[_builtins.str]:
|
|
788
|
-
return pulumi.get(self, "key")
|
|
789
|
-
|
|
790
|
-
@key.setter
|
|
791
|
-
def key(self, value: pulumi.Input[_builtins.str]):
|
|
792
|
-
pulumi.set(self, "key", value)
|
|
793
|
-
|
|
794
|
-
@_builtins.property
|
|
795
|
-
@pulumi.getter
|
|
796
|
-
def value(self) -> pulumi.Input[_builtins.str]:
|
|
797
|
-
return pulumi.get(self, "value")
|
|
798
|
-
|
|
799
|
-
@value.setter
|
|
800
|
-
def value(self, value: pulumi.Input[_builtins.str]):
|
|
801
|
-
pulumi.set(self, "value", value)
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
if not MYPY:
|
|
805
|
-
class RuleVmHttpArgsDict(TypedDict):
|
|
700
|
+
class RuleScaleGroupHttpArgsDict(TypedDict):
|
|
806
701
|
proxy_id: pulumi.Input[_builtins.str]
|
|
807
702
|
"""
|
|
808
703
|
Id of the proxy
|
|
809
704
|
"""
|
|
810
|
-
healths: NotRequired[pulumi.Input[Sequence[pulumi.Input['
|
|
705
|
+
healths: NotRequired[pulumi.Input[Sequence[pulumi.Input['RuleScaleGroupHttpHealthArgsDict']]]]
|
|
811
706
|
"""
|
|
812
707
|
Health Check Details
|
|
813
708
|
"""
|
|
814
|
-
routings: NotRequired[pulumi.Input[Sequence[pulumi.Input['
|
|
709
|
+
routings: NotRequired[pulumi.Input[Sequence[pulumi.Input['RuleScaleGroupHttpRoutingArgsDict']]]]
|
|
815
710
|
"""
|
|
816
|
-
Routing configuration used to access the
|
|
711
|
+
Routing configuration used to access the scaling group
|
|
817
712
|
"""
|
|
818
713
|
elif False:
|
|
819
|
-
|
|
714
|
+
RuleScaleGroupHttpArgsDict: TypeAlias = Mapping[str, Any]
|
|
820
715
|
|
|
821
716
|
@pulumi.input_type
|
|
822
|
-
class
|
|
717
|
+
class RuleScaleGroupHttpArgs:
|
|
823
718
|
def __init__(__self__, *,
|
|
824
719
|
proxy_id: pulumi.Input[_builtins.str],
|
|
825
|
-
healths: Optional[pulumi.Input[Sequence[pulumi.Input['
|
|
826
|
-
routings: Optional[pulumi.Input[Sequence[pulumi.Input['
|
|
720
|
+
healths: Optional[pulumi.Input[Sequence[pulumi.Input['RuleScaleGroupHttpHealthArgs']]]] = None,
|
|
721
|
+
routings: Optional[pulumi.Input[Sequence[pulumi.Input['RuleScaleGroupHttpRoutingArgs']]]] = None):
|
|
827
722
|
"""
|
|
828
723
|
:param pulumi.Input[_builtins.str] proxy_id: Id of the proxy
|
|
829
|
-
:param pulumi.Input[Sequence[pulumi.Input['
|
|
830
|
-
:param pulumi.Input[Sequence[pulumi.Input['
|
|
724
|
+
:param pulumi.Input[Sequence[pulumi.Input['RuleScaleGroupHttpHealthArgs']]] healths: Health Check Details
|
|
725
|
+
:param pulumi.Input[Sequence[pulumi.Input['RuleScaleGroupHttpRoutingArgs']]] routings: Routing configuration used to access the scaling group
|
|
831
726
|
"""
|
|
832
727
|
pulumi.set(__self__, "proxy_id", proxy_id)
|
|
833
728
|
if healths is not None:
|
|
@@ -849,31 +744,31 @@ class RuleVmHttpArgs:
|
|
|
849
744
|
|
|
850
745
|
@_builtins.property
|
|
851
746
|
@pulumi.getter
|
|
852
|
-
def healths(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['
|
|
747
|
+
def healths(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['RuleScaleGroupHttpHealthArgs']]]]:
|
|
853
748
|
"""
|
|
854
749
|
Health Check Details
|
|
855
750
|
"""
|
|
856
751
|
return pulumi.get(self, "healths")
|
|
857
752
|
|
|
858
753
|
@healths.setter
|
|
859
|
-
def healths(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['
|
|
754
|
+
def healths(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['RuleScaleGroupHttpHealthArgs']]]]):
|
|
860
755
|
pulumi.set(self, "healths", value)
|
|
861
756
|
|
|
862
757
|
@_builtins.property
|
|
863
758
|
@pulumi.getter
|
|
864
|
-
def routings(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['
|
|
759
|
+
def routings(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['RuleScaleGroupHttpRoutingArgs']]]]:
|
|
865
760
|
"""
|
|
866
|
-
Routing configuration used to access the
|
|
761
|
+
Routing configuration used to access the scaling group
|
|
867
762
|
"""
|
|
868
763
|
return pulumi.get(self, "routings")
|
|
869
764
|
|
|
870
765
|
@routings.setter
|
|
871
|
-
def routings(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['
|
|
766
|
+
def routings(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['RuleScaleGroupHttpRoutingArgs']]]]):
|
|
872
767
|
pulumi.set(self, "routings", value)
|
|
873
768
|
|
|
874
769
|
|
|
875
770
|
if not MYPY:
|
|
876
|
-
class
|
|
771
|
+
class RuleScaleGroupHttpHealthArgsDict(TypedDict):
|
|
877
772
|
port: pulumi.Input[_builtins.int]
|
|
878
773
|
"""
|
|
879
774
|
Health check port on the VM
|
|
@@ -899,10 +794,10 @@ if not MYPY:
|
|
|
899
794
|
Health check timeout
|
|
900
795
|
"""
|
|
901
796
|
elif False:
|
|
902
|
-
|
|
797
|
+
RuleScaleGroupHttpHealthArgsDict: TypeAlias = Mapping[str, Any]
|
|
903
798
|
|
|
904
799
|
@pulumi.input_type
|
|
905
|
-
class
|
|
800
|
+
class RuleScaleGroupHttpHealthArgs:
|
|
906
801
|
def __init__(__self__, *,
|
|
907
802
|
port: pulumi.Input[_builtins.int],
|
|
908
803
|
protocol: pulumi.Input[_builtins.str],
|
|
@@ -1003,7 +898,7 @@ class RuleVmHttpHealthArgs:
|
|
|
1003
898
|
|
|
1004
899
|
|
|
1005
900
|
if not MYPY:
|
|
1006
|
-
class
|
|
901
|
+
class RuleScaleGroupHttpRoutingArgsDict(TypedDict):
|
|
1007
902
|
source_protocol: pulumi.Input[_builtins.str]
|
|
1008
903
|
"""
|
|
1009
904
|
Source protocol of the proxy can be http or https
|
|
@@ -1025,10 +920,10 @@ if not MYPY:
|
|
|
1025
920
|
Port on the VM
|
|
1026
921
|
"""
|
|
1027
922
|
elif False:
|
|
1028
|
-
|
|
923
|
+
RuleScaleGroupHttpRoutingArgsDict: TypeAlias = Mapping[str, Any]
|
|
1029
924
|
|
|
1030
925
|
@pulumi.input_type
|
|
1031
|
-
class
|
|
926
|
+
class RuleScaleGroupHttpRoutingArgs:
|
|
1032
927
|
def __init__(__self__, *,
|
|
1033
928
|
source_protocol: pulumi.Input[_builtins.str],
|
|
1034
929
|
target_protocol: pulumi.Input[_builtins.str],
|
|
@@ -1113,563 +1008,1501 @@ class RuleVmHttpRoutingArgs:
|
|
|
1113
1008
|
|
|
1114
1009
|
|
|
1115
1010
|
if not MYPY:
|
|
1116
|
-
class
|
|
1117
|
-
|
|
1011
|
+
class RuleScaleGroupScaleGroupArgsDict(TypedDict):
|
|
1012
|
+
desired: pulumi.Input[_builtins.int]
|
|
1118
1013
|
"""
|
|
1119
|
-
|
|
1014
|
+
Desired capacity of the Scaling Group
|
|
1120
1015
|
"""
|
|
1121
|
-
|
|
1016
|
+
id: pulumi.Input[_builtins.str]
|
|
1122
1017
|
"""
|
|
1123
|
-
|
|
1018
|
+
ID of the Scaling Group
|
|
1124
1019
|
"""
|
|
1125
|
-
|
|
1020
|
+
max: pulumi.Input[_builtins.int]
|
|
1126
1021
|
"""
|
|
1127
|
-
|
|
1022
|
+
Maximum capacity of the Scaling Group
|
|
1128
1023
|
"""
|
|
1129
|
-
|
|
1024
|
+
min: pulumi.Input[_builtins.int]
|
|
1130
1025
|
"""
|
|
1131
|
-
|
|
1026
|
+
Minimum capacity of the Scaling Group
|
|
1027
|
+
"""
|
|
1028
|
+
name: pulumi.Input[_builtins.str]
|
|
1029
|
+
"""
|
|
1030
|
+
Name of the Scaling Group
|
|
1031
|
+
"""
|
|
1032
|
+
on_demand: pulumi.Input[_builtins.int]
|
|
1033
|
+
"""
|
|
1034
|
+
On-demand capacity of the Scaling Group
|
|
1035
|
+
"""
|
|
1036
|
+
region: NotRequired[pulumi.Input[_builtins.str]]
|
|
1037
|
+
"""
|
|
1038
|
+
Region of the Scaling Group
|
|
1039
|
+
"""
|
|
1040
|
+
zone: NotRequired[pulumi.Input[_builtins.str]]
|
|
1041
|
+
"""
|
|
1042
|
+
Zone of the Scaling Group. Needed for GCP only
|
|
1132
1043
|
"""
|
|
1133
1044
|
elif False:
|
|
1134
|
-
|
|
1045
|
+
RuleScaleGroupScaleGroupArgsDict: TypeAlias = Mapping[str, Any]
|
|
1135
1046
|
|
|
1136
1047
|
@pulumi.input_type
|
|
1137
|
-
class
|
|
1048
|
+
class RuleScaleGroupScaleGroupArgs:
|
|
1138
1049
|
def __init__(__self__, *,
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
pulumi.
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1050
|
+
desired: pulumi.Input[_builtins.int],
|
|
1051
|
+
id: pulumi.Input[_builtins.str],
|
|
1052
|
+
max: pulumi.Input[_builtins.int],
|
|
1053
|
+
min: pulumi.Input[_builtins.int],
|
|
1054
|
+
name: pulumi.Input[_builtins.str],
|
|
1055
|
+
on_demand: pulumi.Input[_builtins.int],
|
|
1056
|
+
region: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1057
|
+
zone: Optional[pulumi.Input[_builtins.str]] = None):
|
|
1058
|
+
"""
|
|
1059
|
+
:param pulumi.Input[_builtins.int] desired: Desired capacity of the Scaling Group
|
|
1060
|
+
:param pulumi.Input[_builtins.str] id: ID of the Scaling Group
|
|
1061
|
+
:param pulumi.Input[_builtins.int] max: Maximum capacity of the Scaling Group
|
|
1062
|
+
:param pulumi.Input[_builtins.int] min: Minimum capacity of the Scaling Group
|
|
1063
|
+
:param pulumi.Input[_builtins.str] name: Name of the Scaling Group
|
|
1064
|
+
:param pulumi.Input[_builtins.int] on_demand: On-demand capacity of the Scaling Group
|
|
1065
|
+
:param pulumi.Input[_builtins.str] region: Region of the Scaling Group
|
|
1066
|
+
:param pulumi.Input[_builtins.str] zone: Zone of the Scaling Group. Needed for GCP only
|
|
1067
|
+
"""
|
|
1068
|
+
pulumi.set(__self__, "desired", desired)
|
|
1069
|
+
pulumi.set(__self__, "id", id)
|
|
1070
|
+
pulumi.set(__self__, "max", max)
|
|
1071
|
+
pulumi.set(__self__, "min", min)
|
|
1072
|
+
pulumi.set(__self__, "name", name)
|
|
1073
|
+
pulumi.set(__self__, "on_demand", on_demand)
|
|
1074
|
+
if region is not None:
|
|
1075
|
+
pulumi.set(__self__, "region", region)
|
|
1076
|
+
if zone is not None:
|
|
1077
|
+
pulumi.set(__self__, "zone", zone)
|
|
1156
1078
|
|
|
1157
1079
|
@_builtins.property
|
|
1158
|
-
@pulumi.getter
|
|
1159
|
-
def
|
|
1080
|
+
@pulumi.getter
|
|
1081
|
+
def desired(self) -> pulumi.Input[_builtins.int]:
|
|
1160
1082
|
"""
|
|
1161
|
-
|
|
1083
|
+
Desired capacity of the Scaling Group
|
|
1162
1084
|
"""
|
|
1163
|
-
return pulumi.get(self, "
|
|
1085
|
+
return pulumi.get(self, "desired")
|
|
1164
1086
|
|
|
1165
|
-
@
|
|
1166
|
-
def
|
|
1167
|
-
pulumi.set(self, "
|
|
1087
|
+
@desired.setter
|
|
1088
|
+
def desired(self, value: pulumi.Input[_builtins.int]):
|
|
1089
|
+
pulumi.set(self, "desired", value)
|
|
1168
1090
|
|
|
1169
1091
|
@_builtins.property
|
|
1170
|
-
@pulumi.getter
|
|
1171
|
-
def
|
|
1092
|
+
@pulumi.getter
|
|
1093
|
+
def id(self) -> pulumi.Input[_builtins.str]:
|
|
1172
1094
|
"""
|
|
1173
|
-
|
|
1095
|
+
ID of the Scaling Group
|
|
1174
1096
|
"""
|
|
1175
|
-
return pulumi.get(self, "
|
|
1097
|
+
return pulumi.get(self, "id")
|
|
1176
1098
|
|
|
1177
|
-
@
|
|
1178
|
-
def
|
|
1179
|
-
pulumi.set(self, "
|
|
1099
|
+
@id.setter
|
|
1100
|
+
def id(self, value: pulumi.Input[_builtins.str]):
|
|
1101
|
+
pulumi.set(self, "id", value)
|
|
1180
1102
|
|
|
1181
1103
|
@_builtins.property
|
|
1182
1104
|
@pulumi.getter
|
|
1183
|
-
def
|
|
1105
|
+
def max(self) -> pulumi.Input[_builtins.int]:
|
|
1184
1106
|
"""
|
|
1185
|
-
|
|
1107
|
+
Maximum capacity of the Scaling Group
|
|
1186
1108
|
"""
|
|
1187
|
-
return pulumi.get(self, "
|
|
1109
|
+
return pulumi.get(self, "max")
|
|
1188
1110
|
|
|
1189
|
-
@
|
|
1190
|
-
def
|
|
1191
|
-
pulumi.set(self, "
|
|
1111
|
+
@max.setter
|
|
1112
|
+
def max(self, value: pulumi.Input[_builtins.int]):
|
|
1113
|
+
pulumi.set(self, "max", value)
|
|
1192
1114
|
|
|
1193
1115
|
@_builtins.property
|
|
1194
1116
|
@pulumi.getter
|
|
1195
|
-
def
|
|
1117
|
+
def min(self) -> pulumi.Input[_builtins.int]:
|
|
1196
1118
|
"""
|
|
1197
|
-
|
|
1119
|
+
Minimum capacity of the Scaling Group
|
|
1198
1120
|
"""
|
|
1199
|
-
return pulumi.get(self, "
|
|
1200
|
-
|
|
1201
|
-
@sshes.setter
|
|
1202
|
-
def sshes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['RuleVmTcpSshArgs']]]]):
|
|
1203
|
-
pulumi.set(self, "sshes", value)
|
|
1121
|
+
return pulumi.get(self, "min")
|
|
1204
1122
|
|
|
1123
|
+
@min.setter
|
|
1124
|
+
def min(self, value: pulumi.Input[_builtins.int]):
|
|
1125
|
+
pulumi.set(self, "min", value)
|
|
1205
1126
|
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
"""
|
|
1210
|
-
Port to listen on the vm
|
|
1211
|
-
"""
|
|
1212
|
-
connect_on: NotRequired[pulumi.Input[_builtins.int]]
|
|
1127
|
+
@_builtins.property
|
|
1128
|
+
@pulumi.getter
|
|
1129
|
+
def name(self) -> pulumi.Input[_builtins.str]:
|
|
1213
1130
|
"""
|
|
1214
|
-
|
|
1131
|
+
Name of the Scaling Group
|
|
1215
1132
|
"""
|
|
1216
|
-
|
|
1217
|
-
RuleVmTcpForwardRuleArgsDict: TypeAlias = Mapping[str, Any]
|
|
1133
|
+
return pulumi.get(self, "name")
|
|
1218
1134
|
|
|
1219
|
-
@
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1135
|
+
@name.setter
|
|
1136
|
+
def name(self, value: pulumi.Input[_builtins.str]):
|
|
1137
|
+
pulumi.set(self, "name", value)
|
|
1138
|
+
|
|
1139
|
+
@_builtins.property
|
|
1140
|
+
@pulumi.getter(name="onDemand")
|
|
1141
|
+
def on_demand(self) -> pulumi.Input[_builtins.int]:
|
|
1224
1142
|
"""
|
|
1225
|
-
|
|
1226
|
-
:param pulumi.Input[_builtins.int] connect_on: Port to listen on the proxy
|
|
1143
|
+
On-demand capacity of the Scaling Group
|
|
1227
1144
|
"""
|
|
1228
|
-
pulumi.
|
|
1229
|
-
|
|
1230
|
-
|
|
1145
|
+
return pulumi.get(self, "on_demand")
|
|
1146
|
+
|
|
1147
|
+
@on_demand.setter
|
|
1148
|
+
def on_demand(self, value: pulumi.Input[_builtins.int]):
|
|
1149
|
+
pulumi.set(self, "on_demand", value)
|
|
1231
1150
|
|
|
1232
1151
|
@_builtins.property
|
|
1233
1152
|
@pulumi.getter
|
|
1234
|
-
def
|
|
1153
|
+
def region(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1235
1154
|
"""
|
|
1236
|
-
|
|
1155
|
+
Region of the Scaling Group
|
|
1237
1156
|
"""
|
|
1238
|
-
return pulumi.get(self, "
|
|
1157
|
+
return pulumi.get(self, "region")
|
|
1239
1158
|
|
|
1240
|
-
@
|
|
1241
|
-
def
|
|
1242
|
-
pulumi.set(self, "
|
|
1159
|
+
@region.setter
|
|
1160
|
+
def region(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1161
|
+
pulumi.set(self, "region", value)
|
|
1243
1162
|
|
|
1244
1163
|
@_builtins.property
|
|
1245
|
-
@pulumi.getter
|
|
1246
|
-
def
|
|
1164
|
+
@pulumi.getter
|
|
1165
|
+
def zone(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1247
1166
|
"""
|
|
1248
|
-
|
|
1167
|
+
Zone of the Scaling Group. Needed for GCP only
|
|
1249
1168
|
"""
|
|
1250
|
-
return pulumi.get(self, "
|
|
1169
|
+
return pulumi.get(self, "zone")
|
|
1251
1170
|
|
|
1252
|
-
@
|
|
1253
|
-
def
|
|
1254
|
-
pulumi.set(self, "
|
|
1171
|
+
@zone.setter
|
|
1172
|
+
def zone(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1173
|
+
pulumi.set(self, "zone", value)
|
|
1255
1174
|
|
|
1256
1175
|
|
|
1257
1176
|
if not MYPY:
|
|
1258
|
-
class
|
|
1259
|
-
|
|
1177
|
+
class RuleVmDependArgsDict(TypedDict):
|
|
1178
|
+
rule_id: pulumi.Input[_builtins.int]
|
|
1260
1179
|
"""
|
|
1261
|
-
|
|
1180
|
+
Rule id of the dependent rule
|
|
1262
1181
|
"""
|
|
1263
|
-
|
|
1182
|
+
delay_in_sec: NotRequired[pulumi.Input[_builtins.int]]
|
|
1264
1183
|
"""
|
|
1265
|
-
|
|
1184
|
+
Number of seconds the rule should wait after warming up the dependent rule
|
|
1266
1185
|
"""
|
|
1267
1186
|
elif False:
|
|
1268
|
-
|
|
1187
|
+
RuleVmDependArgsDict: TypeAlias = Mapping[str, Any]
|
|
1269
1188
|
|
|
1270
1189
|
@pulumi.input_type
|
|
1271
|
-
class
|
|
1190
|
+
class RuleVmDependArgs:
|
|
1272
1191
|
def __init__(__self__, *,
|
|
1273
|
-
|
|
1274
|
-
|
|
1192
|
+
rule_id: pulumi.Input[_builtins.int],
|
|
1193
|
+
delay_in_sec: Optional[pulumi.Input[_builtins.int]] = None):
|
|
1275
1194
|
"""
|
|
1276
|
-
:param pulumi.Input[_builtins.int]
|
|
1277
|
-
:param pulumi.Input[_builtins.int]
|
|
1195
|
+
:param pulumi.Input[_builtins.int] rule_id: Rule id of the dependent rule
|
|
1196
|
+
:param pulumi.Input[_builtins.int] delay_in_sec: Number of seconds the rule should wait after warming up the dependent rule
|
|
1278
1197
|
"""
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
pulumi.set(__self__, "port", port)
|
|
1198
|
+
pulumi.set(__self__, "rule_id", rule_id)
|
|
1199
|
+
if delay_in_sec is not None:
|
|
1200
|
+
pulumi.set(__self__, "delay_in_sec", delay_in_sec)
|
|
1283
1201
|
|
|
1284
1202
|
@_builtins.property
|
|
1285
|
-
@pulumi.getter(name="
|
|
1286
|
-
def
|
|
1203
|
+
@pulumi.getter(name="ruleId")
|
|
1204
|
+
def rule_id(self) -> pulumi.Input[_builtins.int]:
|
|
1287
1205
|
"""
|
|
1288
|
-
|
|
1206
|
+
Rule id of the dependent rule
|
|
1289
1207
|
"""
|
|
1290
|
-
return pulumi.get(self, "
|
|
1208
|
+
return pulumi.get(self, "rule_id")
|
|
1209
|
+
|
|
1210
|
+
@rule_id.setter
|
|
1211
|
+
def rule_id(self, value: pulumi.Input[_builtins.int]):
|
|
1212
|
+
pulumi.set(self, "rule_id", value)
|
|
1213
|
+
|
|
1214
|
+
@_builtins.property
|
|
1215
|
+
@pulumi.getter(name="delayInSec")
|
|
1216
|
+
def delay_in_sec(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1217
|
+
"""
|
|
1218
|
+
Number of seconds the rule should wait after warming up the dependent rule
|
|
1219
|
+
"""
|
|
1220
|
+
return pulumi.get(self, "delay_in_sec")
|
|
1221
|
+
|
|
1222
|
+
@delay_in_sec.setter
|
|
1223
|
+
def delay_in_sec(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
1224
|
+
pulumi.set(self, "delay_in_sec", value)
|
|
1291
1225
|
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1226
|
+
|
|
1227
|
+
if not MYPY:
|
|
1228
|
+
class RuleVmFilterArgsDict(TypedDict):
|
|
1229
|
+
vm_ids: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]
|
|
1230
|
+
"""
|
|
1231
|
+
Ids of instances that needs to be managed using the AutoStopping rules
|
|
1232
|
+
"""
|
|
1233
|
+
regions: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
1234
|
+
"""
|
|
1235
|
+
Regions of instances that needs to be managed using the AutoStopping rules
|
|
1236
|
+
"""
|
|
1237
|
+
tags: NotRequired[pulumi.Input[Sequence[pulumi.Input['RuleVmFilterTagArgsDict']]]]
|
|
1238
|
+
"""
|
|
1239
|
+
Tags of instances that needs to be managed using the AutoStopping rules
|
|
1240
|
+
"""
|
|
1241
|
+
zones: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
1242
|
+
"""
|
|
1243
|
+
Zones of instances that needs to be managed using the AutoStopping rules
|
|
1244
|
+
"""
|
|
1245
|
+
elif False:
|
|
1246
|
+
RuleVmFilterArgsDict: TypeAlias = Mapping[str, Any]
|
|
1247
|
+
|
|
1248
|
+
@pulumi.input_type
|
|
1249
|
+
class RuleVmFilterArgs:
|
|
1250
|
+
def __init__(__self__, *,
|
|
1251
|
+
vm_ids: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]],
|
|
1252
|
+
regions: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
1253
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input['RuleVmFilterTagArgs']]]] = None,
|
|
1254
|
+
zones: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None):
|
|
1255
|
+
"""
|
|
1256
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] vm_ids: Ids of instances that needs to be managed using the AutoStopping rules
|
|
1257
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] regions: Regions of instances that needs to be managed using the AutoStopping rules
|
|
1258
|
+
:param pulumi.Input[Sequence[pulumi.Input['RuleVmFilterTagArgs']]] tags: Tags of instances that needs to be managed using the AutoStopping rules
|
|
1259
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] zones: Zones of instances that needs to be managed using the AutoStopping rules
|
|
1260
|
+
"""
|
|
1261
|
+
pulumi.set(__self__, "vm_ids", vm_ids)
|
|
1262
|
+
if regions is not None:
|
|
1263
|
+
pulumi.set(__self__, "regions", regions)
|
|
1264
|
+
if tags is not None:
|
|
1265
|
+
pulumi.set(__self__, "tags", tags)
|
|
1266
|
+
if zones is not None:
|
|
1267
|
+
pulumi.set(__self__, "zones", zones)
|
|
1268
|
+
|
|
1269
|
+
@_builtins.property
|
|
1270
|
+
@pulumi.getter(name="vmIds")
|
|
1271
|
+
def vm_ids(self) -> pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]:
|
|
1272
|
+
"""
|
|
1273
|
+
Ids of instances that needs to be managed using the AutoStopping rules
|
|
1274
|
+
"""
|
|
1275
|
+
return pulumi.get(self, "vm_ids")
|
|
1276
|
+
|
|
1277
|
+
@vm_ids.setter
|
|
1278
|
+
def vm_ids(self, value: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]):
|
|
1279
|
+
pulumi.set(self, "vm_ids", value)
|
|
1295
1280
|
|
|
1296
1281
|
@_builtins.property
|
|
1297
1282
|
@pulumi.getter
|
|
1298
|
-
def
|
|
1283
|
+
def regions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
1299
1284
|
"""
|
|
1300
|
-
|
|
1285
|
+
Regions of instances that needs to be managed using the AutoStopping rules
|
|
1301
1286
|
"""
|
|
1302
|
-
return pulumi.get(self, "
|
|
1287
|
+
return pulumi.get(self, "regions")
|
|
1303
1288
|
|
|
1304
|
-
@
|
|
1305
|
-
def
|
|
1306
|
-
pulumi.set(self, "
|
|
1289
|
+
@regions.setter
|
|
1290
|
+
def regions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
1291
|
+
pulumi.set(self, "regions", value)
|
|
1292
|
+
|
|
1293
|
+
@_builtins.property
|
|
1294
|
+
@pulumi.getter
|
|
1295
|
+
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['RuleVmFilterTagArgs']]]]:
|
|
1296
|
+
"""
|
|
1297
|
+
Tags of instances that needs to be managed using the AutoStopping rules
|
|
1298
|
+
"""
|
|
1299
|
+
return pulumi.get(self, "tags")
|
|
1300
|
+
|
|
1301
|
+
@tags.setter
|
|
1302
|
+
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['RuleVmFilterTagArgs']]]]):
|
|
1303
|
+
pulumi.set(self, "tags", value)
|
|
1304
|
+
|
|
1305
|
+
@_builtins.property
|
|
1306
|
+
@pulumi.getter
|
|
1307
|
+
def zones(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
1308
|
+
"""
|
|
1309
|
+
Zones of instances that needs to be managed using the AutoStopping rules
|
|
1310
|
+
"""
|
|
1311
|
+
return pulumi.get(self, "zones")
|
|
1312
|
+
|
|
1313
|
+
@zones.setter
|
|
1314
|
+
def zones(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
1315
|
+
pulumi.set(self, "zones", value)
|
|
1307
1316
|
|
|
1308
1317
|
|
|
1309
1318
|
if not MYPY:
|
|
1310
|
-
class
|
|
1311
|
-
|
|
1319
|
+
class RuleVmFilterTagArgsDict(TypedDict):
|
|
1320
|
+
key: pulumi.Input[_builtins.str]
|
|
1321
|
+
value: pulumi.Input[_builtins.str]
|
|
1322
|
+
elif False:
|
|
1323
|
+
RuleVmFilterTagArgsDict: TypeAlias = Mapping[str, Any]
|
|
1324
|
+
|
|
1325
|
+
@pulumi.input_type
|
|
1326
|
+
class RuleVmFilterTagArgs:
|
|
1327
|
+
def __init__(__self__, *,
|
|
1328
|
+
key: pulumi.Input[_builtins.str],
|
|
1329
|
+
value: pulumi.Input[_builtins.str]):
|
|
1330
|
+
pulumi.set(__self__, "key", key)
|
|
1331
|
+
pulumi.set(__self__, "value", value)
|
|
1332
|
+
|
|
1333
|
+
@_builtins.property
|
|
1334
|
+
@pulumi.getter
|
|
1335
|
+
def key(self) -> pulumi.Input[_builtins.str]:
|
|
1336
|
+
return pulumi.get(self, "key")
|
|
1337
|
+
|
|
1338
|
+
@key.setter
|
|
1339
|
+
def key(self, value: pulumi.Input[_builtins.str]):
|
|
1340
|
+
pulumi.set(self, "key", value)
|
|
1341
|
+
|
|
1342
|
+
@_builtins.property
|
|
1343
|
+
@pulumi.getter
|
|
1344
|
+
def value(self) -> pulumi.Input[_builtins.str]:
|
|
1345
|
+
return pulumi.get(self, "value")
|
|
1346
|
+
|
|
1347
|
+
@value.setter
|
|
1348
|
+
def value(self, value: pulumi.Input[_builtins.str]):
|
|
1349
|
+
pulumi.set(self, "value", value)
|
|
1350
|
+
|
|
1351
|
+
|
|
1352
|
+
if not MYPY:
|
|
1353
|
+
class RuleVmHttpArgsDict(TypedDict):
|
|
1354
|
+
proxy_id: pulumi.Input[_builtins.str]
|
|
1312
1355
|
"""
|
|
1313
|
-
|
|
1356
|
+
Id of the proxy
|
|
1314
1357
|
"""
|
|
1315
|
-
|
|
1358
|
+
healths: NotRequired[pulumi.Input[Sequence[pulumi.Input['RuleVmHttpHealthArgsDict']]]]
|
|
1316
1359
|
"""
|
|
1317
|
-
|
|
1360
|
+
Health Check Details
|
|
1361
|
+
"""
|
|
1362
|
+
routings: NotRequired[pulumi.Input[Sequence[pulumi.Input['RuleVmHttpRoutingArgsDict']]]]
|
|
1363
|
+
"""
|
|
1364
|
+
Routing configuration used to access the instances
|
|
1318
1365
|
"""
|
|
1319
1366
|
elif False:
|
|
1320
|
-
|
|
1367
|
+
RuleVmHttpArgsDict: TypeAlias = Mapping[str, Any]
|
|
1321
1368
|
|
|
1322
1369
|
@pulumi.input_type
|
|
1323
|
-
class
|
|
1370
|
+
class RuleVmHttpArgs:
|
|
1324
1371
|
def __init__(__self__, *,
|
|
1325
|
-
|
|
1326
|
-
|
|
1372
|
+
proxy_id: pulumi.Input[_builtins.str],
|
|
1373
|
+
healths: Optional[pulumi.Input[Sequence[pulumi.Input['RuleVmHttpHealthArgs']]]] = None,
|
|
1374
|
+
routings: Optional[pulumi.Input[Sequence[pulumi.Input['RuleVmHttpRoutingArgs']]]] = None):
|
|
1327
1375
|
"""
|
|
1328
|
-
:param pulumi.Input[_builtins.
|
|
1329
|
-
:param pulumi.Input[
|
|
1376
|
+
:param pulumi.Input[_builtins.str] proxy_id: Id of the proxy
|
|
1377
|
+
:param pulumi.Input[Sequence[pulumi.Input['RuleVmHttpHealthArgs']]] healths: Health Check Details
|
|
1378
|
+
:param pulumi.Input[Sequence[pulumi.Input['RuleVmHttpRoutingArgs']]] routings: Routing configuration used to access the instances
|
|
1330
1379
|
"""
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1380
|
+
pulumi.set(__self__, "proxy_id", proxy_id)
|
|
1381
|
+
if healths is not None:
|
|
1382
|
+
pulumi.set(__self__, "healths", healths)
|
|
1383
|
+
if routings is not None:
|
|
1384
|
+
pulumi.set(__self__, "routings", routings)
|
|
1335
1385
|
|
|
1336
1386
|
@_builtins.property
|
|
1337
|
-
@pulumi.getter(name="
|
|
1338
|
-
def
|
|
1387
|
+
@pulumi.getter(name="proxyId")
|
|
1388
|
+
def proxy_id(self) -> pulumi.Input[_builtins.str]:
|
|
1339
1389
|
"""
|
|
1340
|
-
|
|
1390
|
+
Id of the proxy
|
|
1341
1391
|
"""
|
|
1342
|
-
return pulumi.get(self, "
|
|
1392
|
+
return pulumi.get(self, "proxy_id")
|
|
1343
1393
|
|
|
1344
|
-
@
|
|
1345
|
-
def
|
|
1346
|
-
pulumi.set(self, "
|
|
1394
|
+
@proxy_id.setter
|
|
1395
|
+
def proxy_id(self, value: pulumi.Input[_builtins.str]):
|
|
1396
|
+
pulumi.set(self, "proxy_id", value)
|
|
1347
1397
|
|
|
1348
1398
|
@_builtins.property
|
|
1349
1399
|
@pulumi.getter
|
|
1350
|
-
def
|
|
1400
|
+
def healths(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['RuleVmHttpHealthArgs']]]]:
|
|
1351
1401
|
"""
|
|
1352
|
-
|
|
1402
|
+
Health Check Details
|
|
1353
1403
|
"""
|
|
1354
|
-
return pulumi.get(self, "
|
|
1404
|
+
return pulumi.get(self, "healths")
|
|
1355
1405
|
|
|
1356
|
-
@
|
|
1357
|
-
def
|
|
1358
|
-
pulumi.set(self, "
|
|
1406
|
+
@healths.setter
|
|
1407
|
+
def healths(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['RuleVmHttpHealthArgs']]]]):
|
|
1408
|
+
pulumi.set(self, "healths", value)
|
|
1409
|
+
|
|
1410
|
+
@_builtins.property
|
|
1411
|
+
@pulumi.getter
|
|
1412
|
+
def routings(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['RuleVmHttpRoutingArgs']]]]:
|
|
1413
|
+
"""
|
|
1414
|
+
Routing configuration used to access the instances
|
|
1415
|
+
"""
|
|
1416
|
+
return pulumi.get(self, "routings")
|
|
1417
|
+
|
|
1418
|
+
@routings.setter
|
|
1419
|
+
def routings(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['RuleVmHttpRoutingArgs']]]]):
|
|
1420
|
+
pulumi.set(self, "routings", value)
|
|
1421
|
+
|
|
1422
|
+
|
|
1423
|
+
if not MYPY:
|
|
1424
|
+
class RuleVmHttpHealthArgsDict(TypedDict):
|
|
1425
|
+
port: pulumi.Input[_builtins.int]
|
|
1426
|
+
"""
|
|
1427
|
+
Health check port on the VM
|
|
1428
|
+
"""
|
|
1429
|
+
protocol: pulumi.Input[_builtins.str]
|
|
1430
|
+
"""
|
|
1431
|
+
Protocol can be http or https
|
|
1432
|
+
"""
|
|
1433
|
+
path: NotRequired[pulumi.Input[_builtins.str]]
|
|
1434
|
+
"""
|
|
1435
|
+
API path to use for health check
|
|
1436
|
+
"""
|
|
1437
|
+
status_code_from: NotRequired[pulumi.Input[_builtins.int]]
|
|
1438
|
+
"""
|
|
1439
|
+
Lower limit for acceptable status code
|
|
1440
|
+
"""
|
|
1441
|
+
status_code_to: NotRequired[pulumi.Input[_builtins.int]]
|
|
1442
|
+
"""
|
|
1443
|
+
Upper limit for acceptable status code
|
|
1444
|
+
"""
|
|
1445
|
+
timeout: NotRequired[pulumi.Input[_builtins.int]]
|
|
1446
|
+
"""
|
|
1447
|
+
Health check timeout
|
|
1448
|
+
"""
|
|
1449
|
+
elif False:
|
|
1450
|
+
RuleVmHttpHealthArgsDict: TypeAlias = Mapping[str, Any]
|
|
1451
|
+
|
|
1452
|
+
@pulumi.input_type
|
|
1453
|
+
class RuleVmHttpHealthArgs:
|
|
1454
|
+
def __init__(__self__, *,
|
|
1455
|
+
port: pulumi.Input[_builtins.int],
|
|
1456
|
+
protocol: pulumi.Input[_builtins.str],
|
|
1457
|
+
path: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1458
|
+
status_code_from: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1459
|
+
status_code_to: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1460
|
+
timeout: Optional[pulumi.Input[_builtins.int]] = None):
|
|
1461
|
+
"""
|
|
1462
|
+
:param pulumi.Input[_builtins.int] port: Health check port on the VM
|
|
1463
|
+
:param pulumi.Input[_builtins.str] protocol: Protocol can be http or https
|
|
1464
|
+
:param pulumi.Input[_builtins.str] path: API path to use for health check
|
|
1465
|
+
:param pulumi.Input[_builtins.int] status_code_from: Lower limit for acceptable status code
|
|
1466
|
+
:param pulumi.Input[_builtins.int] status_code_to: Upper limit for acceptable status code
|
|
1467
|
+
:param pulumi.Input[_builtins.int] timeout: Health check timeout
|
|
1468
|
+
"""
|
|
1469
|
+
pulumi.set(__self__, "port", port)
|
|
1470
|
+
pulumi.set(__self__, "protocol", protocol)
|
|
1471
|
+
if path is not None:
|
|
1472
|
+
pulumi.set(__self__, "path", path)
|
|
1473
|
+
if status_code_from is not None:
|
|
1474
|
+
pulumi.set(__self__, "status_code_from", status_code_from)
|
|
1475
|
+
if status_code_to is not None:
|
|
1476
|
+
pulumi.set(__self__, "status_code_to", status_code_to)
|
|
1477
|
+
if timeout is not None:
|
|
1478
|
+
pulumi.set(__self__, "timeout", timeout)
|
|
1479
|
+
|
|
1480
|
+
@_builtins.property
|
|
1481
|
+
@pulumi.getter
|
|
1482
|
+
def port(self) -> pulumi.Input[_builtins.int]:
|
|
1483
|
+
"""
|
|
1484
|
+
Health check port on the VM
|
|
1485
|
+
"""
|
|
1486
|
+
return pulumi.get(self, "port")
|
|
1487
|
+
|
|
1488
|
+
@port.setter
|
|
1489
|
+
def port(self, value: pulumi.Input[_builtins.int]):
|
|
1490
|
+
pulumi.set(self, "port", value)
|
|
1491
|
+
|
|
1492
|
+
@_builtins.property
|
|
1493
|
+
@pulumi.getter
|
|
1494
|
+
def protocol(self) -> pulumi.Input[_builtins.str]:
|
|
1495
|
+
"""
|
|
1496
|
+
Protocol can be http or https
|
|
1497
|
+
"""
|
|
1498
|
+
return pulumi.get(self, "protocol")
|
|
1499
|
+
|
|
1500
|
+
@protocol.setter
|
|
1501
|
+
def protocol(self, value: pulumi.Input[_builtins.str]):
|
|
1502
|
+
pulumi.set(self, "protocol", value)
|
|
1503
|
+
|
|
1504
|
+
@_builtins.property
|
|
1505
|
+
@pulumi.getter
|
|
1506
|
+
def path(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1507
|
+
"""
|
|
1508
|
+
API path to use for health check
|
|
1509
|
+
"""
|
|
1510
|
+
return pulumi.get(self, "path")
|
|
1511
|
+
|
|
1512
|
+
@path.setter
|
|
1513
|
+
def path(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1514
|
+
pulumi.set(self, "path", value)
|
|
1515
|
+
|
|
1516
|
+
@_builtins.property
|
|
1517
|
+
@pulumi.getter(name="statusCodeFrom")
|
|
1518
|
+
def status_code_from(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1519
|
+
"""
|
|
1520
|
+
Lower limit for acceptable status code
|
|
1521
|
+
"""
|
|
1522
|
+
return pulumi.get(self, "status_code_from")
|
|
1523
|
+
|
|
1524
|
+
@status_code_from.setter
|
|
1525
|
+
def status_code_from(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
1526
|
+
pulumi.set(self, "status_code_from", value)
|
|
1527
|
+
|
|
1528
|
+
@_builtins.property
|
|
1529
|
+
@pulumi.getter(name="statusCodeTo")
|
|
1530
|
+
def status_code_to(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1531
|
+
"""
|
|
1532
|
+
Upper limit for acceptable status code
|
|
1533
|
+
"""
|
|
1534
|
+
return pulumi.get(self, "status_code_to")
|
|
1535
|
+
|
|
1536
|
+
@status_code_to.setter
|
|
1537
|
+
def status_code_to(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
1538
|
+
pulumi.set(self, "status_code_to", value)
|
|
1539
|
+
|
|
1540
|
+
@_builtins.property
|
|
1541
|
+
@pulumi.getter
|
|
1542
|
+
def timeout(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1543
|
+
"""
|
|
1544
|
+
Health check timeout
|
|
1545
|
+
"""
|
|
1546
|
+
return pulumi.get(self, "timeout")
|
|
1547
|
+
|
|
1548
|
+
@timeout.setter
|
|
1549
|
+
def timeout(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
1550
|
+
pulumi.set(self, "timeout", value)
|
|
1551
|
+
|
|
1552
|
+
|
|
1553
|
+
if not MYPY:
|
|
1554
|
+
class RuleVmHttpRoutingArgsDict(TypedDict):
|
|
1555
|
+
source_protocol: pulumi.Input[_builtins.str]
|
|
1556
|
+
"""
|
|
1557
|
+
Source protocol of the proxy can be http or https
|
|
1558
|
+
"""
|
|
1559
|
+
target_protocol: pulumi.Input[_builtins.str]
|
|
1560
|
+
"""
|
|
1561
|
+
Target protocol of the instance can be http or https
|
|
1562
|
+
"""
|
|
1563
|
+
action: NotRequired[pulumi.Input[_builtins.str]]
|
|
1564
|
+
"""
|
|
1565
|
+
Organization Identifier for the Entity
|
|
1566
|
+
"""
|
|
1567
|
+
source_port: NotRequired[pulumi.Input[_builtins.int]]
|
|
1568
|
+
"""
|
|
1569
|
+
Port on the proxy
|
|
1570
|
+
"""
|
|
1571
|
+
target_port: NotRequired[pulumi.Input[_builtins.int]]
|
|
1572
|
+
"""
|
|
1573
|
+
Port on the VM
|
|
1574
|
+
"""
|
|
1575
|
+
elif False:
|
|
1576
|
+
RuleVmHttpRoutingArgsDict: TypeAlias = Mapping[str, Any]
|
|
1577
|
+
|
|
1578
|
+
@pulumi.input_type
|
|
1579
|
+
class RuleVmHttpRoutingArgs:
|
|
1580
|
+
def __init__(__self__, *,
|
|
1581
|
+
source_protocol: pulumi.Input[_builtins.str],
|
|
1582
|
+
target_protocol: pulumi.Input[_builtins.str],
|
|
1583
|
+
action: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1584
|
+
source_port: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1585
|
+
target_port: Optional[pulumi.Input[_builtins.int]] = None):
|
|
1586
|
+
"""
|
|
1587
|
+
:param pulumi.Input[_builtins.str] source_protocol: Source protocol of the proxy can be http or https
|
|
1588
|
+
:param pulumi.Input[_builtins.str] target_protocol: Target protocol of the instance can be http or https
|
|
1589
|
+
:param pulumi.Input[_builtins.str] action: Organization Identifier for the Entity
|
|
1590
|
+
:param pulumi.Input[_builtins.int] source_port: Port on the proxy
|
|
1591
|
+
:param pulumi.Input[_builtins.int] target_port: Port on the VM
|
|
1592
|
+
"""
|
|
1593
|
+
pulumi.set(__self__, "source_protocol", source_protocol)
|
|
1594
|
+
pulumi.set(__self__, "target_protocol", target_protocol)
|
|
1595
|
+
if action is not None:
|
|
1596
|
+
pulumi.set(__self__, "action", action)
|
|
1597
|
+
if source_port is not None:
|
|
1598
|
+
pulumi.set(__self__, "source_port", source_port)
|
|
1599
|
+
if target_port is not None:
|
|
1600
|
+
pulumi.set(__self__, "target_port", target_port)
|
|
1601
|
+
|
|
1602
|
+
@_builtins.property
|
|
1603
|
+
@pulumi.getter(name="sourceProtocol")
|
|
1604
|
+
def source_protocol(self) -> pulumi.Input[_builtins.str]:
|
|
1605
|
+
"""
|
|
1606
|
+
Source protocol of the proxy can be http or https
|
|
1607
|
+
"""
|
|
1608
|
+
return pulumi.get(self, "source_protocol")
|
|
1609
|
+
|
|
1610
|
+
@source_protocol.setter
|
|
1611
|
+
def source_protocol(self, value: pulumi.Input[_builtins.str]):
|
|
1612
|
+
pulumi.set(self, "source_protocol", value)
|
|
1613
|
+
|
|
1614
|
+
@_builtins.property
|
|
1615
|
+
@pulumi.getter(name="targetProtocol")
|
|
1616
|
+
def target_protocol(self) -> pulumi.Input[_builtins.str]:
|
|
1617
|
+
"""
|
|
1618
|
+
Target protocol of the instance can be http or https
|
|
1619
|
+
"""
|
|
1620
|
+
return pulumi.get(self, "target_protocol")
|
|
1621
|
+
|
|
1622
|
+
@target_protocol.setter
|
|
1623
|
+
def target_protocol(self, value: pulumi.Input[_builtins.str]):
|
|
1624
|
+
pulumi.set(self, "target_protocol", value)
|
|
1625
|
+
|
|
1626
|
+
@_builtins.property
|
|
1627
|
+
@pulumi.getter
|
|
1628
|
+
def action(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1629
|
+
"""
|
|
1630
|
+
Organization Identifier for the Entity
|
|
1631
|
+
"""
|
|
1632
|
+
return pulumi.get(self, "action")
|
|
1633
|
+
|
|
1634
|
+
@action.setter
|
|
1635
|
+
def action(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1636
|
+
pulumi.set(self, "action", value)
|
|
1637
|
+
|
|
1638
|
+
@_builtins.property
|
|
1639
|
+
@pulumi.getter(name="sourcePort")
|
|
1640
|
+
def source_port(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1641
|
+
"""
|
|
1642
|
+
Port on the proxy
|
|
1643
|
+
"""
|
|
1644
|
+
return pulumi.get(self, "source_port")
|
|
1645
|
+
|
|
1646
|
+
@source_port.setter
|
|
1647
|
+
def source_port(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
1648
|
+
pulumi.set(self, "source_port", value)
|
|
1649
|
+
|
|
1650
|
+
@_builtins.property
|
|
1651
|
+
@pulumi.getter(name="targetPort")
|
|
1652
|
+
def target_port(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1653
|
+
"""
|
|
1654
|
+
Port on the VM
|
|
1655
|
+
"""
|
|
1656
|
+
return pulumi.get(self, "target_port")
|
|
1657
|
+
|
|
1658
|
+
@target_port.setter
|
|
1659
|
+
def target_port(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
1660
|
+
pulumi.set(self, "target_port", value)
|
|
1661
|
+
|
|
1662
|
+
|
|
1663
|
+
if not MYPY:
|
|
1664
|
+
class RuleVmTcpArgsDict(TypedDict):
|
|
1665
|
+
proxy_id: pulumi.Input[_builtins.str]
|
|
1666
|
+
"""
|
|
1667
|
+
Id of the Proxy
|
|
1668
|
+
"""
|
|
1669
|
+
forward_rules: NotRequired[pulumi.Input[Sequence[pulumi.Input['RuleVmTcpForwardRuleArgsDict']]]]
|
|
1670
|
+
"""
|
|
1671
|
+
Additional tcp forwarding rules
|
|
1672
|
+
"""
|
|
1673
|
+
rdps: NotRequired[pulumi.Input[Sequence[pulumi.Input['RuleVmTcpRdpArgsDict']]]]
|
|
1674
|
+
"""
|
|
1675
|
+
RDP configuration
|
|
1676
|
+
"""
|
|
1677
|
+
sshes: NotRequired[pulumi.Input[Sequence[pulumi.Input['RuleVmTcpSshArgsDict']]]]
|
|
1678
|
+
"""
|
|
1679
|
+
SSH configuration
|
|
1680
|
+
"""
|
|
1681
|
+
elif False:
|
|
1682
|
+
RuleVmTcpArgsDict: TypeAlias = Mapping[str, Any]
|
|
1683
|
+
|
|
1684
|
+
@pulumi.input_type
|
|
1685
|
+
class RuleVmTcpArgs:
|
|
1686
|
+
def __init__(__self__, *,
|
|
1687
|
+
proxy_id: pulumi.Input[_builtins.str],
|
|
1688
|
+
forward_rules: Optional[pulumi.Input[Sequence[pulumi.Input['RuleVmTcpForwardRuleArgs']]]] = None,
|
|
1689
|
+
rdps: Optional[pulumi.Input[Sequence[pulumi.Input['RuleVmTcpRdpArgs']]]] = None,
|
|
1690
|
+
sshes: Optional[pulumi.Input[Sequence[pulumi.Input['RuleVmTcpSshArgs']]]] = None):
|
|
1691
|
+
"""
|
|
1692
|
+
:param pulumi.Input[_builtins.str] proxy_id: Id of the Proxy
|
|
1693
|
+
:param pulumi.Input[Sequence[pulumi.Input['RuleVmTcpForwardRuleArgs']]] forward_rules: Additional tcp forwarding rules
|
|
1694
|
+
:param pulumi.Input[Sequence[pulumi.Input['RuleVmTcpRdpArgs']]] rdps: RDP configuration
|
|
1695
|
+
:param pulumi.Input[Sequence[pulumi.Input['RuleVmTcpSshArgs']]] sshes: SSH configuration
|
|
1696
|
+
"""
|
|
1697
|
+
pulumi.set(__self__, "proxy_id", proxy_id)
|
|
1698
|
+
if forward_rules is not None:
|
|
1699
|
+
pulumi.set(__self__, "forward_rules", forward_rules)
|
|
1700
|
+
if rdps is not None:
|
|
1701
|
+
pulumi.set(__self__, "rdps", rdps)
|
|
1702
|
+
if sshes is not None:
|
|
1703
|
+
pulumi.set(__self__, "sshes", sshes)
|
|
1704
|
+
|
|
1705
|
+
@_builtins.property
|
|
1706
|
+
@pulumi.getter(name="proxyId")
|
|
1707
|
+
def proxy_id(self) -> pulumi.Input[_builtins.str]:
|
|
1708
|
+
"""
|
|
1709
|
+
Id of the Proxy
|
|
1710
|
+
"""
|
|
1711
|
+
return pulumi.get(self, "proxy_id")
|
|
1712
|
+
|
|
1713
|
+
@proxy_id.setter
|
|
1714
|
+
def proxy_id(self, value: pulumi.Input[_builtins.str]):
|
|
1715
|
+
pulumi.set(self, "proxy_id", value)
|
|
1716
|
+
|
|
1717
|
+
@_builtins.property
|
|
1718
|
+
@pulumi.getter(name="forwardRules")
|
|
1719
|
+
def forward_rules(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['RuleVmTcpForwardRuleArgs']]]]:
|
|
1720
|
+
"""
|
|
1721
|
+
Additional tcp forwarding rules
|
|
1722
|
+
"""
|
|
1723
|
+
return pulumi.get(self, "forward_rules")
|
|
1724
|
+
|
|
1725
|
+
@forward_rules.setter
|
|
1726
|
+
def forward_rules(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['RuleVmTcpForwardRuleArgs']]]]):
|
|
1727
|
+
pulumi.set(self, "forward_rules", value)
|
|
1728
|
+
|
|
1729
|
+
@_builtins.property
|
|
1730
|
+
@pulumi.getter
|
|
1731
|
+
def rdps(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['RuleVmTcpRdpArgs']]]]:
|
|
1732
|
+
"""
|
|
1733
|
+
RDP configuration
|
|
1734
|
+
"""
|
|
1735
|
+
return pulumi.get(self, "rdps")
|
|
1736
|
+
|
|
1737
|
+
@rdps.setter
|
|
1738
|
+
def rdps(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['RuleVmTcpRdpArgs']]]]):
|
|
1739
|
+
pulumi.set(self, "rdps", value)
|
|
1740
|
+
|
|
1741
|
+
@_builtins.property
|
|
1742
|
+
@pulumi.getter
|
|
1743
|
+
def sshes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['RuleVmTcpSshArgs']]]]:
|
|
1744
|
+
"""
|
|
1745
|
+
SSH configuration
|
|
1746
|
+
"""
|
|
1747
|
+
return pulumi.get(self, "sshes")
|
|
1748
|
+
|
|
1749
|
+
@sshes.setter
|
|
1750
|
+
def sshes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['RuleVmTcpSshArgs']]]]):
|
|
1751
|
+
pulumi.set(self, "sshes", value)
|
|
1752
|
+
|
|
1753
|
+
|
|
1754
|
+
if not MYPY:
|
|
1755
|
+
class RuleVmTcpForwardRuleArgsDict(TypedDict):
|
|
1756
|
+
port: pulumi.Input[_builtins.int]
|
|
1757
|
+
"""
|
|
1758
|
+
Port to listen on the vm
|
|
1759
|
+
"""
|
|
1760
|
+
connect_on: NotRequired[pulumi.Input[_builtins.int]]
|
|
1761
|
+
"""
|
|
1762
|
+
Port to listen on the proxy
|
|
1763
|
+
"""
|
|
1764
|
+
elif False:
|
|
1765
|
+
RuleVmTcpForwardRuleArgsDict: TypeAlias = Mapping[str, Any]
|
|
1766
|
+
|
|
1767
|
+
@pulumi.input_type
|
|
1768
|
+
class RuleVmTcpForwardRuleArgs:
|
|
1769
|
+
def __init__(__self__, *,
|
|
1770
|
+
port: pulumi.Input[_builtins.int],
|
|
1771
|
+
connect_on: Optional[pulumi.Input[_builtins.int]] = None):
|
|
1772
|
+
"""
|
|
1773
|
+
:param pulumi.Input[_builtins.int] port: Port to listen on the vm
|
|
1774
|
+
:param pulumi.Input[_builtins.int] connect_on: Port to listen on the proxy
|
|
1775
|
+
"""
|
|
1776
|
+
pulumi.set(__self__, "port", port)
|
|
1777
|
+
if connect_on is not None:
|
|
1778
|
+
pulumi.set(__self__, "connect_on", connect_on)
|
|
1779
|
+
|
|
1780
|
+
@_builtins.property
|
|
1781
|
+
@pulumi.getter
|
|
1782
|
+
def port(self) -> pulumi.Input[_builtins.int]:
|
|
1783
|
+
"""
|
|
1784
|
+
Port to listen on the vm
|
|
1785
|
+
"""
|
|
1786
|
+
return pulumi.get(self, "port")
|
|
1787
|
+
|
|
1788
|
+
@port.setter
|
|
1789
|
+
def port(self, value: pulumi.Input[_builtins.int]):
|
|
1790
|
+
pulumi.set(self, "port", value)
|
|
1791
|
+
|
|
1792
|
+
@_builtins.property
|
|
1793
|
+
@pulumi.getter(name="connectOn")
|
|
1794
|
+
def connect_on(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1795
|
+
"""
|
|
1796
|
+
Port to listen on the proxy
|
|
1797
|
+
"""
|
|
1798
|
+
return pulumi.get(self, "connect_on")
|
|
1799
|
+
|
|
1800
|
+
@connect_on.setter
|
|
1801
|
+
def connect_on(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
1802
|
+
pulumi.set(self, "connect_on", value)
|
|
1803
|
+
|
|
1804
|
+
|
|
1805
|
+
if not MYPY:
|
|
1806
|
+
class RuleVmTcpRdpArgsDict(TypedDict):
|
|
1807
|
+
connect_on: NotRequired[pulumi.Input[_builtins.int]]
|
|
1808
|
+
"""
|
|
1809
|
+
Port to listen on the proxy
|
|
1810
|
+
"""
|
|
1811
|
+
port: NotRequired[pulumi.Input[_builtins.int]]
|
|
1812
|
+
"""
|
|
1813
|
+
Port to listen on the vm
|
|
1814
|
+
"""
|
|
1815
|
+
elif False:
|
|
1816
|
+
RuleVmTcpRdpArgsDict: TypeAlias = Mapping[str, Any]
|
|
1817
|
+
|
|
1818
|
+
@pulumi.input_type
|
|
1819
|
+
class RuleVmTcpRdpArgs:
|
|
1820
|
+
def __init__(__self__, *,
|
|
1821
|
+
connect_on: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1822
|
+
port: Optional[pulumi.Input[_builtins.int]] = None):
|
|
1823
|
+
"""
|
|
1824
|
+
:param pulumi.Input[_builtins.int] connect_on: Port to listen on the proxy
|
|
1825
|
+
:param pulumi.Input[_builtins.int] port: Port to listen on the vm
|
|
1826
|
+
"""
|
|
1827
|
+
if connect_on is not None:
|
|
1828
|
+
pulumi.set(__self__, "connect_on", connect_on)
|
|
1829
|
+
if port is not None:
|
|
1830
|
+
pulumi.set(__self__, "port", port)
|
|
1831
|
+
|
|
1832
|
+
@_builtins.property
|
|
1833
|
+
@pulumi.getter(name="connectOn")
|
|
1834
|
+
def connect_on(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1835
|
+
"""
|
|
1836
|
+
Port to listen on the proxy
|
|
1837
|
+
"""
|
|
1838
|
+
return pulumi.get(self, "connect_on")
|
|
1839
|
+
|
|
1840
|
+
@connect_on.setter
|
|
1841
|
+
def connect_on(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
1842
|
+
pulumi.set(self, "connect_on", value)
|
|
1843
|
+
|
|
1844
|
+
@_builtins.property
|
|
1845
|
+
@pulumi.getter
|
|
1846
|
+
def port(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1847
|
+
"""
|
|
1848
|
+
Port to listen on the vm
|
|
1849
|
+
"""
|
|
1850
|
+
return pulumi.get(self, "port")
|
|
1851
|
+
|
|
1852
|
+
@port.setter
|
|
1853
|
+
def port(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
1854
|
+
pulumi.set(self, "port", value)
|
|
1855
|
+
|
|
1856
|
+
|
|
1857
|
+
if not MYPY:
|
|
1858
|
+
class RuleVmTcpSshArgsDict(TypedDict):
|
|
1859
|
+
connect_on: NotRequired[pulumi.Input[_builtins.int]]
|
|
1860
|
+
"""
|
|
1861
|
+
Port to listen on the proxy
|
|
1862
|
+
"""
|
|
1863
|
+
port: NotRequired[pulumi.Input[_builtins.int]]
|
|
1864
|
+
"""
|
|
1865
|
+
Port to listen on the vm
|
|
1866
|
+
"""
|
|
1867
|
+
elif False:
|
|
1868
|
+
RuleVmTcpSshArgsDict: TypeAlias = Mapping[str, Any]
|
|
1869
|
+
|
|
1870
|
+
@pulumi.input_type
|
|
1871
|
+
class RuleVmTcpSshArgs:
|
|
1872
|
+
def __init__(__self__, *,
|
|
1873
|
+
connect_on: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1874
|
+
port: Optional[pulumi.Input[_builtins.int]] = None):
|
|
1875
|
+
"""
|
|
1876
|
+
:param pulumi.Input[_builtins.int] connect_on: Port to listen on the proxy
|
|
1877
|
+
:param pulumi.Input[_builtins.int] port: Port to listen on the vm
|
|
1878
|
+
"""
|
|
1879
|
+
if connect_on is not None:
|
|
1880
|
+
pulumi.set(__self__, "connect_on", connect_on)
|
|
1881
|
+
if port is not None:
|
|
1882
|
+
pulumi.set(__self__, "port", port)
|
|
1883
|
+
|
|
1884
|
+
@_builtins.property
|
|
1885
|
+
@pulumi.getter(name="connectOn")
|
|
1886
|
+
def connect_on(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1887
|
+
"""
|
|
1888
|
+
Port to listen on the proxy
|
|
1889
|
+
"""
|
|
1890
|
+
return pulumi.get(self, "connect_on")
|
|
1891
|
+
|
|
1892
|
+
@connect_on.setter
|
|
1893
|
+
def connect_on(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
1894
|
+
pulumi.set(self, "connect_on", value)
|
|
1895
|
+
|
|
1896
|
+
@_builtins.property
|
|
1897
|
+
@pulumi.getter
|
|
1898
|
+
def port(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1899
|
+
"""
|
|
1900
|
+
Port to listen on the vm
|
|
1901
|
+
"""
|
|
1902
|
+
return pulumi.get(self, "port")
|
|
1903
|
+
|
|
1904
|
+
@port.setter
|
|
1905
|
+
def port(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
1906
|
+
pulumi.set(self, "port", value)
|
|
1907
|
+
|
|
1908
|
+
|
|
1909
|
+
if not MYPY:
|
|
1910
|
+
class ScheduleRepeatArgsDict(TypedDict):
|
|
1911
|
+
days: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]
|
|
1912
|
+
"""
|
|
1913
|
+
List of days on which schedule need to be active. Valid values are SUN, MON, TUE, WED, THU, FRI and SAT.
|
|
1914
|
+
"""
|
|
1915
|
+
end_time: NotRequired[pulumi.Input[_builtins.str]]
|
|
1916
|
+
"""
|
|
1917
|
+
Ending time of schedule action on the day. Defaults to 24:00Hrs unless specified. Accepted format is HH:MM. Eg : 20:00 for 8pm
|
|
1918
|
+
"""
|
|
1919
|
+
start_time: NotRequired[pulumi.Input[_builtins.str]]
|
|
1920
|
+
"""
|
|
1921
|
+
Starting time of schedule action on the day. Defaults to 00:00Hrs unless specified. Accepted format is HH:MM. Eg : 13:15 for 01:15pm
|
|
1922
|
+
"""
|
|
1923
|
+
elif False:
|
|
1924
|
+
ScheduleRepeatArgsDict: TypeAlias = Mapping[str, Any]
|
|
1925
|
+
|
|
1926
|
+
@pulumi.input_type
|
|
1927
|
+
class ScheduleRepeatArgs:
|
|
1928
|
+
def __init__(__self__, *,
|
|
1929
|
+
days: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]],
|
|
1930
|
+
end_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1931
|
+
start_time: Optional[pulumi.Input[_builtins.str]] = None):
|
|
1932
|
+
"""
|
|
1933
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] days: List of days on which schedule need to be active. Valid values are SUN, MON, TUE, WED, THU, FRI and SAT.
|
|
1934
|
+
:param pulumi.Input[_builtins.str] end_time: Ending time of schedule action on the day. Defaults to 24:00Hrs unless specified. Accepted format is HH:MM. Eg : 20:00 for 8pm
|
|
1935
|
+
:param pulumi.Input[_builtins.str] start_time: Starting time of schedule action on the day. Defaults to 00:00Hrs unless specified. Accepted format is HH:MM. Eg : 13:15 for 01:15pm
|
|
1936
|
+
"""
|
|
1937
|
+
pulumi.set(__self__, "days", days)
|
|
1938
|
+
if end_time is not None:
|
|
1939
|
+
pulumi.set(__self__, "end_time", end_time)
|
|
1940
|
+
if start_time is not None:
|
|
1941
|
+
pulumi.set(__self__, "start_time", start_time)
|
|
1942
|
+
|
|
1943
|
+
@_builtins.property
|
|
1944
|
+
@pulumi.getter
|
|
1945
|
+
def days(self) -> pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]:
|
|
1946
|
+
"""
|
|
1947
|
+
List of days on which schedule need to be active. Valid values are SUN, MON, TUE, WED, THU, FRI and SAT.
|
|
1948
|
+
"""
|
|
1949
|
+
return pulumi.get(self, "days")
|
|
1950
|
+
|
|
1951
|
+
@days.setter
|
|
1952
|
+
def days(self, value: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]):
|
|
1953
|
+
pulumi.set(self, "days", value)
|
|
1954
|
+
|
|
1955
|
+
@_builtins.property
|
|
1956
|
+
@pulumi.getter(name="endTime")
|
|
1957
|
+
def end_time(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1958
|
+
"""
|
|
1959
|
+
Ending time of schedule action on the day. Defaults to 24:00Hrs unless specified. Accepted format is HH:MM. Eg : 20:00 for 8pm
|
|
1960
|
+
"""
|
|
1961
|
+
return pulumi.get(self, "end_time")
|
|
1962
|
+
|
|
1963
|
+
@end_time.setter
|
|
1964
|
+
def end_time(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1965
|
+
pulumi.set(self, "end_time", value)
|
|
1966
|
+
|
|
1967
|
+
@_builtins.property
|
|
1968
|
+
@pulumi.getter(name="startTime")
|
|
1969
|
+
def start_time(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1970
|
+
"""
|
|
1971
|
+
Starting time of schedule action on the day. Defaults to 00:00Hrs unless specified. Accepted format is HH:MM. Eg : 13:15 for 01:15pm
|
|
1972
|
+
"""
|
|
1973
|
+
return pulumi.get(self, "start_time")
|
|
1974
|
+
|
|
1975
|
+
@start_time.setter
|
|
1976
|
+
def start_time(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1977
|
+
pulumi.set(self, "start_time", value)
|
|
1978
|
+
|
|
1979
|
+
|
|
1980
|
+
if not MYPY:
|
|
1981
|
+
class GetAwsProxyCertificatesArgsDict(TypedDict):
|
|
1982
|
+
cert_secret_id: _builtins.str
|
|
1983
|
+
"""
|
|
1984
|
+
Certificate secret ID
|
|
1985
|
+
"""
|
|
1986
|
+
key_secret_id: _builtins.str
|
|
1987
|
+
"""
|
|
1988
|
+
Private key secret ID
|
|
1989
|
+
"""
|
|
1990
|
+
elif False:
|
|
1991
|
+
GetAwsProxyCertificatesArgsDict: TypeAlias = Mapping[str, Any]
|
|
1992
|
+
|
|
1993
|
+
@pulumi.input_type
|
|
1994
|
+
class GetAwsProxyCertificatesArgs:
|
|
1995
|
+
def __init__(__self__, *,
|
|
1996
|
+
cert_secret_id: _builtins.str,
|
|
1997
|
+
key_secret_id: _builtins.str):
|
|
1998
|
+
"""
|
|
1999
|
+
:param _builtins.str cert_secret_id: Certificate secret ID
|
|
2000
|
+
:param _builtins.str key_secret_id: Private key secret ID
|
|
2001
|
+
"""
|
|
2002
|
+
pulumi.set(__self__, "cert_secret_id", cert_secret_id)
|
|
2003
|
+
pulumi.set(__self__, "key_secret_id", key_secret_id)
|
|
2004
|
+
|
|
2005
|
+
@_builtins.property
|
|
2006
|
+
@pulumi.getter(name="certSecretId")
|
|
2007
|
+
def cert_secret_id(self) -> _builtins.str:
|
|
2008
|
+
"""
|
|
2009
|
+
Certificate secret ID
|
|
2010
|
+
"""
|
|
2011
|
+
return pulumi.get(self, "cert_secret_id")
|
|
2012
|
+
|
|
2013
|
+
@cert_secret_id.setter
|
|
2014
|
+
def cert_secret_id(self, value: _builtins.str):
|
|
2015
|
+
pulumi.set(self, "cert_secret_id", value)
|
|
2016
|
+
|
|
2017
|
+
@_builtins.property
|
|
2018
|
+
@pulumi.getter(name="keySecretId")
|
|
2019
|
+
def key_secret_id(self) -> _builtins.str:
|
|
2020
|
+
"""
|
|
2021
|
+
Private key secret ID
|
|
2022
|
+
"""
|
|
2023
|
+
return pulumi.get(self, "key_secret_id")
|
|
2024
|
+
|
|
2025
|
+
@key_secret_id.setter
|
|
2026
|
+
def key_secret_id(self, value: _builtins.str):
|
|
2027
|
+
pulumi.set(self, "key_secret_id", value)
|
|
2028
|
+
|
|
2029
|
+
|
|
2030
|
+
if not MYPY:
|
|
2031
|
+
class GetAzureProxyCertificatesArgsDict(TypedDict):
|
|
2032
|
+
cert_secret_id: _builtins.str
|
|
2033
|
+
"""
|
|
2034
|
+
ID of certificate secret uploaded to vault
|
|
2035
|
+
"""
|
|
2036
|
+
key_secret_id: _builtins.str
|
|
2037
|
+
"""
|
|
2038
|
+
ID of certificate key uploaded to vault
|
|
2039
|
+
"""
|
|
2040
|
+
elif False:
|
|
2041
|
+
GetAzureProxyCertificatesArgsDict: TypeAlias = Mapping[str, Any]
|
|
2042
|
+
|
|
2043
|
+
@pulumi.input_type
|
|
2044
|
+
class GetAzureProxyCertificatesArgs:
|
|
2045
|
+
def __init__(__self__, *,
|
|
2046
|
+
cert_secret_id: _builtins.str,
|
|
2047
|
+
key_secret_id: _builtins.str):
|
|
2048
|
+
"""
|
|
2049
|
+
:param _builtins.str cert_secret_id: ID of certificate secret uploaded to vault
|
|
2050
|
+
:param _builtins.str key_secret_id: ID of certificate key uploaded to vault
|
|
2051
|
+
"""
|
|
2052
|
+
pulumi.set(__self__, "cert_secret_id", cert_secret_id)
|
|
2053
|
+
pulumi.set(__self__, "key_secret_id", key_secret_id)
|
|
2054
|
+
|
|
2055
|
+
@_builtins.property
|
|
2056
|
+
@pulumi.getter(name="certSecretId")
|
|
2057
|
+
def cert_secret_id(self) -> _builtins.str:
|
|
2058
|
+
"""
|
|
2059
|
+
ID of certificate secret uploaded to vault
|
|
2060
|
+
"""
|
|
2061
|
+
return pulumi.get(self, "cert_secret_id")
|
|
2062
|
+
|
|
2063
|
+
@cert_secret_id.setter
|
|
2064
|
+
def cert_secret_id(self, value: _builtins.str):
|
|
2065
|
+
pulumi.set(self, "cert_secret_id", value)
|
|
2066
|
+
|
|
2067
|
+
@_builtins.property
|
|
2068
|
+
@pulumi.getter(name="keySecretId")
|
|
2069
|
+
def key_secret_id(self) -> _builtins.str:
|
|
2070
|
+
"""
|
|
2071
|
+
ID of certificate key uploaded to vault
|
|
2072
|
+
"""
|
|
2073
|
+
return pulumi.get(self, "key_secret_id")
|
|
2074
|
+
|
|
2075
|
+
@key_secret_id.setter
|
|
2076
|
+
def key_secret_id(self, value: _builtins.str):
|
|
2077
|
+
pulumi.set(self, "key_secret_id", value)
|
|
2078
|
+
|
|
2079
|
+
|
|
2080
|
+
if not MYPY:
|
|
2081
|
+
class GetGcpProxyCertificatesArgsDict(TypedDict):
|
|
2082
|
+
cert_secret_id: _builtins.str
|
|
2083
|
+
"""
|
|
2084
|
+
Certificate secret ID
|
|
2085
|
+
"""
|
|
2086
|
+
key_secret_id: _builtins.str
|
|
2087
|
+
"""
|
|
2088
|
+
Private key secret ID
|
|
2089
|
+
"""
|
|
2090
|
+
elif False:
|
|
2091
|
+
GetGcpProxyCertificatesArgsDict: TypeAlias = Mapping[str, Any]
|
|
2092
|
+
|
|
2093
|
+
@pulumi.input_type
|
|
2094
|
+
class GetGcpProxyCertificatesArgs:
|
|
2095
|
+
def __init__(__self__, *,
|
|
2096
|
+
cert_secret_id: _builtins.str,
|
|
2097
|
+
key_secret_id: _builtins.str):
|
|
2098
|
+
"""
|
|
2099
|
+
:param _builtins.str cert_secret_id: Certificate secret ID
|
|
2100
|
+
:param _builtins.str key_secret_id: Private key secret ID
|
|
2101
|
+
"""
|
|
2102
|
+
pulumi.set(__self__, "cert_secret_id", cert_secret_id)
|
|
2103
|
+
pulumi.set(__self__, "key_secret_id", key_secret_id)
|
|
2104
|
+
|
|
2105
|
+
@_builtins.property
|
|
2106
|
+
@pulumi.getter(name="certSecretId")
|
|
2107
|
+
def cert_secret_id(self) -> _builtins.str:
|
|
2108
|
+
"""
|
|
2109
|
+
Certificate secret ID
|
|
2110
|
+
"""
|
|
2111
|
+
return pulumi.get(self, "cert_secret_id")
|
|
2112
|
+
|
|
2113
|
+
@cert_secret_id.setter
|
|
2114
|
+
def cert_secret_id(self, value: _builtins.str):
|
|
2115
|
+
pulumi.set(self, "cert_secret_id", value)
|
|
2116
|
+
|
|
2117
|
+
@_builtins.property
|
|
2118
|
+
@pulumi.getter(name="keySecretId")
|
|
2119
|
+
def key_secret_id(self) -> _builtins.str:
|
|
2120
|
+
"""
|
|
2121
|
+
Private key secret ID
|
|
2122
|
+
"""
|
|
2123
|
+
return pulumi.get(self, "key_secret_id")
|
|
2124
|
+
|
|
2125
|
+
@key_secret_id.setter
|
|
2126
|
+
def key_secret_id(self, value: _builtins.str):
|
|
2127
|
+
pulumi.set(self, "key_secret_id", value)
|
|
2128
|
+
|
|
2129
|
+
|
|
2130
|
+
if not MYPY:
|
|
2131
|
+
class GetRuleEcsContainerArgsDict(TypedDict):
|
|
2132
|
+
cluster: _builtins.str
|
|
2133
|
+
"""
|
|
2134
|
+
Name of cluster in which service belong to
|
|
2135
|
+
"""
|
|
2136
|
+
region: _builtins.str
|
|
2137
|
+
"""
|
|
2138
|
+
Region of cluster
|
|
2139
|
+
"""
|
|
2140
|
+
service: _builtins.str
|
|
2141
|
+
"""
|
|
2142
|
+
Name of service to be onboarded
|
|
2143
|
+
"""
|
|
2144
|
+
task_count: NotRequired[_builtins.int]
|
|
2145
|
+
"""
|
|
2146
|
+
Desired number of tasks on warming up a rule
|
|
2147
|
+
"""
|
|
2148
|
+
elif False:
|
|
2149
|
+
GetRuleEcsContainerArgsDict: TypeAlias = Mapping[str, Any]
|
|
2150
|
+
|
|
2151
|
+
@pulumi.input_type
|
|
2152
|
+
class GetRuleEcsContainerArgs:
|
|
2153
|
+
def __init__(__self__, *,
|
|
2154
|
+
cluster: _builtins.str,
|
|
2155
|
+
region: _builtins.str,
|
|
2156
|
+
service: _builtins.str,
|
|
2157
|
+
task_count: Optional[_builtins.int] = None):
|
|
2158
|
+
"""
|
|
2159
|
+
:param _builtins.str cluster: Name of cluster in which service belong to
|
|
2160
|
+
:param _builtins.str region: Region of cluster
|
|
2161
|
+
:param _builtins.str service: Name of service to be onboarded
|
|
2162
|
+
:param _builtins.int task_count: Desired number of tasks on warming up a rule
|
|
2163
|
+
"""
|
|
2164
|
+
pulumi.set(__self__, "cluster", cluster)
|
|
2165
|
+
pulumi.set(__self__, "region", region)
|
|
2166
|
+
pulumi.set(__self__, "service", service)
|
|
2167
|
+
if task_count is not None:
|
|
2168
|
+
pulumi.set(__self__, "task_count", task_count)
|
|
2169
|
+
|
|
2170
|
+
@_builtins.property
|
|
2171
|
+
@pulumi.getter
|
|
2172
|
+
def cluster(self) -> _builtins.str:
|
|
2173
|
+
"""
|
|
2174
|
+
Name of cluster in which service belong to
|
|
2175
|
+
"""
|
|
2176
|
+
return pulumi.get(self, "cluster")
|
|
2177
|
+
|
|
2178
|
+
@cluster.setter
|
|
2179
|
+
def cluster(self, value: _builtins.str):
|
|
2180
|
+
pulumi.set(self, "cluster", value)
|
|
2181
|
+
|
|
2182
|
+
@_builtins.property
|
|
2183
|
+
@pulumi.getter
|
|
2184
|
+
def region(self) -> _builtins.str:
|
|
2185
|
+
"""
|
|
2186
|
+
Region of cluster
|
|
2187
|
+
"""
|
|
2188
|
+
return pulumi.get(self, "region")
|
|
2189
|
+
|
|
2190
|
+
@region.setter
|
|
2191
|
+
def region(self, value: _builtins.str):
|
|
2192
|
+
pulumi.set(self, "region", value)
|
|
2193
|
+
|
|
2194
|
+
@_builtins.property
|
|
2195
|
+
@pulumi.getter
|
|
2196
|
+
def service(self) -> _builtins.str:
|
|
2197
|
+
"""
|
|
2198
|
+
Name of service to be onboarded
|
|
2199
|
+
"""
|
|
2200
|
+
return pulumi.get(self, "service")
|
|
2201
|
+
|
|
2202
|
+
@service.setter
|
|
2203
|
+
def service(self, value: _builtins.str):
|
|
2204
|
+
pulumi.set(self, "service", value)
|
|
2205
|
+
|
|
2206
|
+
@_builtins.property
|
|
2207
|
+
@pulumi.getter(name="taskCount")
|
|
2208
|
+
def task_count(self) -> Optional[_builtins.int]:
|
|
2209
|
+
"""
|
|
2210
|
+
Desired number of tasks on warming up a rule
|
|
2211
|
+
"""
|
|
2212
|
+
return pulumi.get(self, "task_count")
|
|
2213
|
+
|
|
2214
|
+
@task_count.setter
|
|
2215
|
+
def task_count(self, value: Optional[_builtins.int]):
|
|
2216
|
+
pulumi.set(self, "task_count", value)
|
|
1359
2217
|
|
|
1360
2218
|
|
|
1361
2219
|
if not MYPY:
|
|
1362
|
-
class
|
|
1363
|
-
|
|
1364
|
-
"""
|
|
1365
|
-
List of days on which schedule need to be active. Valid values are SUN, MON, TUE, WED, THU, FRI and SAT.
|
|
1366
|
-
"""
|
|
1367
|
-
end_time: NotRequired[pulumi.Input[_builtins.str]]
|
|
2220
|
+
class GetRuleEcsDependArgsDict(TypedDict):
|
|
2221
|
+
rule_id: _builtins.int
|
|
1368
2222
|
"""
|
|
1369
|
-
|
|
2223
|
+
Rule id of the dependent rule
|
|
1370
2224
|
"""
|
|
1371
|
-
|
|
2225
|
+
delay_in_sec: NotRequired[_builtins.int]
|
|
1372
2226
|
"""
|
|
1373
|
-
|
|
2227
|
+
Number of seconds the rule should wait after warming up the dependent rule
|
|
1374
2228
|
"""
|
|
1375
2229
|
elif False:
|
|
1376
|
-
|
|
2230
|
+
GetRuleEcsDependArgsDict: TypeAlias = Mapping[str, Any]
|
|
1377
2231
|
|
|
1378
2232
|
@pulumi.input_type
|
|
1379
|
-
class
|
|
2233
|
+
class GetRuleEcsDependArgs:
|
|
1380
2234
|
def __init__(__self__, *,
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
start_time: Optional[pulumi.Input[_builtins.str]] = None):
|
|
2235
|
+
rule_id: _builtins.int,
|
|
2236
|
+
delay_in_sec: Optional[_builtins.int] = None):
|
|
1384
2237
|
"""
|
|
1385
|
-
:param
|
|
1386
|
-
:param
|
|
1387
|
-
:param pulumi.Input[_builtins.str] start_time: Starting time of schedule action on the day. Defaults to 00:00Hrs unless specified. Accepted format is HH:MM. Eg : 13:15 for 01:15pm
|
|
2238
|
+
:param _builtins.int rule_id: Rule id of the dependent rule
|
|
2239
|
+
:param _builtins.int delay_in_sec: Number of seconds the rule should wait after warming up the dependent rule
|
|
1388
2240
|
"""
|
|
1389
|
-
pulumi.set(__self__, "
|
|
1390
|
-
if
|
|
1391
|
-
pulumi.set(__self__, "
|
|
1392
|
-
if start_time is not None:
|
|
1393
|
-
pulumi.set(__self__, "start_time", start_time)
|
|
2241
|
+
pulumi.set(__self__, "rule_id", rule_id)
|
|
2242
|
+
if delay_in_sec is not None:
|
|
2243
|
+
pulumi.set(__self__, "delay_in_sec", delay_in_sec)
|
|
1394
2244
|
|
|
1395
2245
|
@_builtins.property
|
|
1396
|
-
@pulumi.getter
|
|
1397
|
-
def
|
|
2246
|
+
@pulumi.getter(name="ruleId")
|
|
2247
|
+
def rule_id(self) -> _builtins.int:
|
|
1398
2248
|
"""
|
|
1399
|
-
|
|
2249
|
+
Rule id of the dependent rule
|
|
1400
2250
|
"""
|
|
1401
|
-
return pulumi.get(self, "
|
|
2251
|
+
return pulumi.get(self, "rule_id")
|
|
1402
2252
|
|
|
1403
|
-
@
|
|
1404
|
-
def
|
|
1405
|
-
pulumi.set(self, "
|
|
2253
|
+
@rule_id.setter
|
|
2254
|
+
def rule_id(self, value: _builtins.int):
|
|
2255
|
+
pulumi.set(self, "rule_id", value)
|
|
1406
2256
|
|
|
1407
2257
|
@_builtins.property
|
|
1408
|
-
@pulumi.getter(name="
|
|
1409
|
-
def
|
|
2258
|
+
@pulumi.getter(name="delayInSec")
|
|
2259
|
+
def delay_in_sec(self) -> Optional[_builtins.int]:
|
|
1410
2260
|
"""
|
|
1411
|
-
|
|
2261
|
+
Number of seconds the rule should wait after warming up the dependent rule
|
|
1412
2262
|
"""
|
|
1413
|
-
return pulumi.get(self, "
|
|
2263
|
+
return pulumi.get(self, "delay_in_sec")
|
|
1414
2264
|
|
|
1415
|
-
@
|
|
1416
|
-
def
|
|
1417
|
-
pulumi.set(self, "
|
|
2265
|
+
@delay_in_sec.setter
|
|
2266
|
+
def delay_in_sec(self, value: Optional[_builtins.int]):
|
|
2267
|
+
pulumi.set(self, "delay_in_sec", value)
|
|
2268
|
+
|
|
2269
|
+
|
|
2270
|
+
if not MYPY:
|
|
2271
|
+
class GetRuleEcsHttpArgsDict(TypedDict):
|
|
2272
|
+
proxy_id: _builtins.str
|
|
2273
|
+
"""
|
|
2274
|
+
Id of the proxy
|
|
2275
|
+
"""
|
|
2276
|
+
elif False:
|
|
2277
|
+
GetRuleEcsHttpArgsDict: TypeAlias = Mapping[str, Any]
|
|
2278
|
+
|
|
2279
|
+
@pulumi.input_type
|
|
2280
|
+
class GetRuleEcsHttpArgs:
|
|
2281
|
+
def __init__(__self__, *,
|
|
2282
|
+
proxy_id: _builtins.str):
|
|
2283
|
+
"""
|
|
2284
|
+
:param _builtins.str proxy_id: Id of the proxy
|
|
2285
|
+
"""
|
|
2286
|
+
pulumi.set(__self__, "proxy_id", proxy_id)
|
|
1418
2287
|
|
|
1419
2288
|
@_builtins.property
|
|
1420
|
-
@pulumi.getter(name="
|
|
1421
|
-
def
|
|
2289
|
+
@pulumi.getter(name="proxyId")
|
|
2290
|
+
def proxy_id(self) -> _builtins.str:
|
|
1422
2291
|
"""
|
|
1423
|
-
|
|
2292
|
+
Id of the proxy
|
|
1424
2293
|
"""
|
|
1425
|
-
return pulumi.get(self, "
|
|
2294
|
+
return pulumi.get(self, "proxy_id")
|
|
1426
2295
|
|
|
1427
|
-
@
|
|
1428
|
-
def
|
|
1429
|
-
pulumi.set(self, "
|
|
2296
|
+
@proxy_id.setter
|
|
2297
|
+
def proxy_id(self, value: _builtins.str):
|
|
2298
|
+
pulumi.set(self, "proxy_id", value)
|
|
1430
2299
|
|
|
1431
2300
|
|
|
1432
2301
|
if not MYPY:
|
|
1433
|
-
class
|
|
1434
|
-
|
|
2302
|
+
class GetRuleRdsDatabaseArgsDict(TypedDict):
|
|
2303
|
+
id: _builtins.str
|
|
1435
2304
|
"""
|
|
1436
|
-
|
|
2305
|
+
ID of the database
|
|
1437
2306
|
"""
|
|
1438
|
-
|
|
2307
|
+
region: _builtins.str
|
|
1439
2308
|
"""
|
|
1440
|
-
|
|
2309
|
+
Region to which database belong to
|
|
1441
2310
|
"""
|
|
1442
2311
|
elif False:
|
|
1443
|
-
|
|
2312
|
+
GetRuleRdsDatabaseArgsDict: TypeAlias = Mapping[str, Any]
|
|
1444
2313
|
|
|
1445
2314
|
@pulumi.input_type
|
|
1446
|
-
class
|
|
2315
|
+
class GetRuleRdsDatabaseArgs:
|
|
1447
2316
|
def __init__(__self__, *,
|
|
1448
|
-
|
|
1449
|
-
|
|
2317
|
+
id: _builtins.str,
|
|
2318
|
+
region: _builtins.str):
|
|
1450
2319
|
"""
|
|
1451
|
-
:param _builtins.str
|
|
1452
|
-
:param _builtins.str
|
|
2320
|
+
:param _builtins.str id: ID of the database
|
|
2321
|
+
:param _builtins.str region: Region to which database belong to
|
|
1453
2322
|
"""
|
|
1454
|
-
pulumi.set(__self__, "
|
|
1455
|
-
pulumi.set(__self__, "
|
|
2323
|
+
pulumi.set(__self__, "id", id)
|
|
2324
|
+
pulumi.set(__self__, "region", region)
|
|
1456
2325
|
|
|
1457
2326
|
@_builtins.property
|
|
1458
|
-
@pulumi.getter
|
|
1459
|
-
def
|
|
2327
|
+
@pulumi.getter
|
|
2328
|
+
def id(self) -> _builtins.str:
|
|
1460
2329
|
"""
|
|
1461
|
-
|
|
2330
|
+
ID of the database
|
|
1462
2331
|
"""
|
|
1463
|
-
return pulumi.get(self, "
|
|
2332
|
+
return pulumi.get(self, "id")
|
|
1464
2333
|
|
|
1465
|
-
@
|
|
1466
|
-
def
|
|
1467
|
-
pulumi.set(self, "
|
|
2334
|
+
@id.setter
|
|
2335
|
+
def id(self, value: _builtins.str):
|
|
2336
|
+
pulumi.set(self, "id", value)
|
|
1468
2337
|
|
|
1469
2338
|
@_builtins.property
|
|
1470
|
-
@pulumi.getter
|
|
1471
|
-
def
|
|
2339
|
+
@pulumi.getter
|
|
2340
|
+
def region(self) -> _builtins.str:
|
|
1472
2341
|
"""
|
|
1473
|
-
|
|
2342
|
+
Region to which database belong to
|
|
1474
2343
|
"""
|
|
1475
|
-
return pulumi.get(self, "
|
|
2344
|
+
return pulumi.get(self, "region")
|
|
1476
2345
|
|
|
1477
|
-
@
|
|
1478
|
-
def
|
|
1479
|
-
pulumi.set(self, "
|
|
2346
|
+
@region.setter
|
|
2347
|
+
def region(self, value: _builtins.str):
|
|
2348
|
+
pulumi.set(self, "region", value)
|
|
1480
2349
|
|
|
1481
2350
|
|
|
1482
2351
|
if not MYPY:
|
|
1483
|
-
class
|
|
1484
|
-
|
|
2352
|
+
class GetRuleRdsDependArgsDict(TypedDict):
|
|
2353
|
+
rule_id: _builtins.int
|
|
1485
2354
|
"""
|
|
1486
|
-
|
|
2355
|
+
Rule id of the dependent rule
|
|
1487
2356
|
"""
|
|
1488
|
-
|
|
2357
|
+
delay_in_sec: NotRequired[_builtins.int]
|
|
1489
2358
|
"""
|
|
1490
|
-
|
|
2359
|
+
Number of seconds the rule should wait after warming up the dependent rule
|
|
1491
2360
|
"""
|
|
1492
2361
|
elif False:
|
|
1493
|
-
|
|
2362
|
+
GetRuleRdsDependArgsDict: TypeAlias = Mapping[str, Any]
|
|
1494
2363
|
|
|
1495
2364
|
@pulumi.input_type
|
|
1496
|
-
class
|
|
2365
|
+
class GetRuleRdsDependArgs:
|
|
1497
2366
|
def __init__(__self__, *,
|
|
1498
|
-
|
|
1499
|
-
|
|
2367
|
+
rule_id: _builtins.int,
|
|
2368
|
+
delay_in_sec: Optional[_builtins.int] = None):
|
|
1500
2369
|
"""
|
|
1501
|
-
:param _builtins.
|
|
1502
|
-
:param _builtins.
|
|
2370
|
+
:param _builtins.int rule_id: Rule id of the dependent rule
|
|
2371
|
+
:param _builtins.int delay_in_sec: Number of seconds the rule should wait after warming up the dependent rule
|
|
1503
2372
|
"""
|
|
1504
|
-
pulumi.set(__self__, "
|
|
1505
|
-
|
|
2373
|
+
pulumi.set(__self__, "rule_id", rule_id)
|
|
2374
|
+
if delay_in_sec is not None:
|
|
2375
|
+
pulumi.set(__self__, "delay_in_sec", delay_in_sec)
|
|
1506
2376
|
|
|
1507
2377
|
@_builtins.property
|
|
1508
|
-
@pulumi.getter(name="
|
|
1509
|
-
def
|
|
2378
|
+
@pulumi.getter(name="ruleId")
|
|
2379
|
+
def rule_id(self) -> _builtins.int:
|
|
1510
2380
|
"""
|
|
1511
|
-
|
|
2381
|
+
Rule id of the dependent rule
|
|
1512
2382
|
"""
|
|
1513
|
-
return pulumi.get(self, "
|
|
2383
|
+
return pulumi.get(self, "rule_id")
|
|
1514
2384
|
|
|
1515
|
-
@
|
|
1516
|
-
def
|
|
1517
|
-
pulumi.set(self, "
|
|
2385
|
+
@rule_id.setter
|
|
2386
|
+
def rule_id(self, value: _builtins.int):
|
|
2387
|
+
pulumi.set(self, "rule_id", value)
|
|
1518
2388
|
|
|
1519
2389
|
@_builtins.property
|
|
1520
|
-
@pulumi.getter(name="
|
|
1521
|
-
def
|
|
2390
|
+
@pulumi.getter(name="delayInSec")
|
|
2391
|
+
def delay_in_sec(self) -> Optional[_builtins.int]:
|
|
1522
2392
|
"""
|
|
1523
|
-
|
|
2393
|
+
Number of seconds the rule should wait after warming up the dependent rule
|
|
1524
2394
|
"""
|
|
1525
|
-
return pulumi.get(self, "
|
|
2395
|
+
return pulumi.get(self, "delay_in_sec")
|
|
1526
2396
|
|
|
1527
|
-
@
|
|
1528
|
-
def
|
|
1529
|
-
pulumi.set(self, "
|
|
2397
|
+
@delay_in_sec.setter
|
|
2398
|
+
def delay_in_sec(self, value: Optional[_builtins.int]):
|
|
2399
|
+
pulumi.set(self, "delay_in_sec", value)
|
|
1530
2400
|
|
|
1531
2401
|
|
|
1532
2402
|
if not MYPY:
|
|
1533
|
-
class
|
|
1534
|
-
|
|
2403
|
+
class GetRuleRdsTcpArgsDict(TypedDict):
|
|
2404
|
+
proxy_id: _builtins.str
|
|
1535
2405
|
"""
|
|
1536
|
-
|
|
2406
|
+
Id of the Proxy
|
|
1537
2407
|
"""
|
|
1538
|
-
|
|
2408
|
+
forward_rules: NotRequired[Sequence['GetRuleRdsTcpForwardRuleArgsDict']]
|
|
1539
2409
|
"""
|
|
1540
|
-
|
|
2410
|
+
Additional tcp forwarding rules
|
|
1541
2411
|
"""
|
|
1542
2412
|
elif False:
|
|
1543
|
-
|
|
2413
|
+
GetRuleRdsTcpArgsDict: TypeAlias = Mapping[str, Any]
|
|
1544
2414
|
|
|
1545
2415
|
@pulumi.input_type
|
|
1546
|
-
class
|
|
2416
|
+
class GetRuleRdsTcpArgs:
|
|
1547
2417
|
def __init__(__self__, *,
|
|
1548
|
-
|
|
1549
|
-
|
|
2418
|
+
proxy_id: _builtins.str,
|
|
2419
|
+
forward_rules: Optional[Sequence['GetRuleRdsTcpForwardRuleArgs']] = None):
|
|
1550
2420
|
"""
|
|
1551
|
-
:param _builtins.str
|
|
1552
|
-
:param
|
|
2421
|
+
:param _builtins.str proxy_id: Id of the Proxy
|
|
2422
|
+
:param Sequence['GetRuleRdsTcpForwardRuleArgs'] forward_rules: Additional tcp forwarding rules
|
|
1553
2423
|
"""
|
|
1554
|
-
pulumi.set(__self__, "
|
|
1555
|
-
|
|
2424
|
+
pulumi.set(__self__, "proxy_id", proxy_id)
|
|
2425
|
+
if forward_rules is not None:
|
|
2426
|
+
pulumi.set(__self__, "forward_rules", forward_rules)
|
|
1556
2427
|
|
|
1557
2428
|
@_builtins.property
|
|
1558
|
-
@pulumi.getter(name="
|
|
1559
|
-
def
|
|
2429
|
+
@pulumi.getter(name="proxyId")
|
|
2430
|
+
def proxy_id(self) -> _builtins.str:
|
|
1560
2431
|
"""
|
|
1561
|
-
|
|
2432
|
+
Id of the Proxy
|
|
1562
2433
|
"""
|
|
1563
|
-
return pulumi.get(self, "
|
|
2434
|
+
return pulumi.get(self, "proxy_id")
|
|
1564
2435
|
|
|
1565
|
-
@
|
|
1566
|
-
def
|
|
1567
|
-
pulumi.set(self, "
|
|
2436
|
+
@proxy_id.setter
|
|
2437
|
+
def proxy_id(self, value: _builtins.str):
|
|
2438
|
+
pulumi.set(self, "proxy_id", value)
|
|
1568
2439
|
|
|
1569
2440
|
@_builtins.property
|
|
1570
|
-
@pulumi.getter(name="
|
|
1571
|
-
def
|
|
2441
|
+
@pulumi.getter(name="forwardRules")
|
|
2442
|
+
def forward_rules(self) -> Optional[Sequence['GetRuleRdsTcpForwardRuleArgs']]:
|
|
1572
2443
|
"""
|
|
1573
|
-
|
|
2444
|
+
Additional tcp forwarding rules
|
|
1574
2445
|
"""
|
|
1575
|
-
return pulumi.get(self, "
|
|
2446
|
+
return pulumi.get(self, "forward_rules")
|
|
1576
2447
|
|
|
1577
|
-
@
|
|
1578
|
-
def
|
|
1579
|
-
pulumi.set(self, "
|
|
2448
|
+
@forward_rules.setter
|
|
2449
|
+
def forward_rules(self, value: Optional[Sequence['GetRuleRdsTcpForwardRuleArgs']]):
|
|
2450
|
+
pulumi.set(self, "forward_rules", value)
|
|
1580
2451
|
|
|
1581
2452
|
|
|
1582
2453
|
if not MYPY:
|
|
1583
|
-
class
|
|
1584
|
-
|
|
1585
|
-
"""
|
|
1586
|
-
Name of cluster in which service belong to
|
|
1587
|
-
"""
|
|
1588
|
-
region: _builtins.str
|
|
1589
|
-
"""
|
|
1590
|
-
Region of cluster
|
|
1591
|
-
"""
|
|
1592
|
-
service: _builtins.str
|
|
2454
|
+
class GetRuleRdsTcpForwardRuleArgsDict(TypedDict):
|
|
2455
|
+
port: _builtins.int
|
|
1593
2456
|
"""
|
|
1594
|
-
|
|
2457
|
+
Port to listen on the vm
|
|
1595
2458
|
"""
|
|
1596
|
-
|
|
2459
|
+
connect_on: NotRequired[_builtins.int]
|
|
1597
2460
|
"""
|
|
1598
|
-
|
|
2461
|
+
Port to listen on the proxy
|
|
1599
2462
|
"""
|
|
1600
2463
|
elif False:
|
|
1601
|
-
|
|
2464
|
+
GetRuleRdsTcpForwardRuleArgsDict: TypeAlias = Mapping[str, Any]
|
|
1602
2465
|
|
|
1603
2466
|
@pulumi.input_type
|
|
1604
|
-
class
|
|
2467
|
+
class GetRuleRdsTcpForwardRuleArgs:
|
|
1605
2468
|
def __init__(__self__, *,
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
service: _builtins.str,
|
|
1609
|
-
task_count: Optional[_builtins.int] = None):
|
|
1610
|
-
"""
|
|
1611
|
-
:param _builtins.str cluster: Name of cluster in which service belong to
|
|
1612
|
-
:param _builtins.str region: Region of cluster
|
|
1613
|
-
:param _builtins.str service: Name of service to be onboarded
|
|
1614
|
-
:param _builtins.int task_count: Desired number of tasks on warming up a rule
|
|
1615
|
-
"""
|
|
1616
|
-
pulumi.set(__self__, "cluster", cluster)
|
|
1617
|
-
pulumi.set(__self__, "region", region)
|
|
1618
|
-
pulumi.set(__self__, "service", service)
|
|
1619
|
-
if task_count is not None:
|
|
1620
|
-
pulumi.set(__self__, "task_count", task_count)
|
|
1621
|
-
|
|
1622
|
-
@_builtins.property
|
|
1623
|
-
@pulumi.getter
|
|
1624
|
-
def cluster(self) -> _builtins.str:
|
|
1625
|
-
"""
|
|
1626
|
-
Name of cluster in which service belong to
|
|
1627
|
-
"""
|
|
1628
|
-
return pulumi.get(self, "cluster")
|
|
1629
|
-
|
|
1630
|
-
@cluster.setter
|
|
1631
|
-
def cluster(self, value: _builtins.str):
|
|
1632
|
-
pulumi.set(self, "cluster", value)
|
|
1633
|
-
|
|
1634
|
-
@_builtins.property
|
|
1635
|
-
@pulumi.getter
|
|
1636
|
-
def region(self) -> _builtins.str:
|
|
2469
|
+
port: _builtins.int,
|
|
2470
|
+
connect_on: Optional[_builtins.int] = None):
|
|
1637
2471
|
"""
|
|
1638
|
-
|
|
2472
|
+
:param _builtins.int port: Port to listen on the vm
|
|
2473
|
+
:param _builtins.int connect_on: Port to listen on the proxy
|
|
1639
2474
|
"""
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
def region(self, value: _builtins.str):
|
|
1644
|
-
pulumi.set(self, "region", value)
|
|
2475
|
+
pulumi.set(__self__, "port", port)
|
|
2476
|
+
if connect_on is not None:
|
|
2477
|
+
pulumi.set(__self__, "connect_on", connect_on)
|
|
1645
2478
|
|
|
1646
2479
|
@_builtins.property
|
|
1647
2480
|
@pulumi.getter
|
|
1648
|
-
def
|
|
2481
|
+
def port(self) -> _builtins.int:
|
|
1649
2482
|
"""
|
|
1650
|
-
|
|
2483
|
+
Port to listen on the vm
|
|
1651
2484
|
"""
|
|
1652
|
-
return pulumi.get(self, "
|
|
2485
|
+
return pulumi.get(self, "port")
|
|
1653
2486
|
|
|
1654
|
-
@
|
|
1655
|
-
def
|
|
1656
|
-
pulumi.set(self, "
|
|
2487
|
+
@port.setter
|
|
2488
|
+
def port(self, value: _builtins.int):
|
|
2489
|
+
pulumi.set(self, "port", value)
|
|
1657
2490
|
|
|
1658
2491
|
@_builtins.property
|
|
1659
|
-
@pulumi.getter(name="
|
|
1660
|
-
def
|
|
2492
|
+
@pulumi.getter(name="connectOn")
|
|
2493
|
+
def connect_on(self) -> Optional[_builtins.int]:
|
|
1661
2494
|
"""
|
|
1662
|
-
|
|
2495
|
+
Port to listen on the proxy
|
|
1663
2496
|
"""
|
|
1664
|
-
return pulumi.get(self, "
|
|
2497
|
+
return pulumi.get(self, "connect_on")
|
|
1665
2498
|
|
|
1666
|
-
@
|
|
1667
|
-
def
|
|
1668
|
-
pulumi.set(self, "
|
|
2499
|
+
@connect_on.setter
|
|
2500
|
+
def connect_on(self, value: Optional[_builtins.int]):
|
|
2501
|
+
pulumi.set(self, "connect_on", value)
|
|
1669
2502
|
|
|
1670
2503
|
|
|
1671
2504
|
if not MYPY:
|
|
1672
|
-
class
|
|
2505
|
+
class GetRuleScaleGroupDependArgsDict(TypedDict):
|
|
1673
2506
|
rule_id: _builtins.int
|
|
1674
2507
|
"""
|
|
1675
2508
|
Rule id of the dependent rule
|
|
@@ -1679,10 +2512,10 @@ if not MYPY:
|
|
|
1679
2512
|
Number of seconds the rule should wait after warming up the dependent rule
|
|
1680
2513
|
"""
|
|
1681
2514
|
elif False:
|
|
1682
|
-
|
|
2515
|
+
GetRuleScaleGroupDependArgsDict: TypeAlias = Mapping[str, Any]
|
|
1683
2516
|
|
|
1684
2517
|
@pulumi.input_type
|
|
1685
|
-
class
|
|
2518
|
+
class GetRuleScaleGroupDependArgs:
|
|
1686
2519
|
def __init__(__self__, *,
|
|
1687
2520
|
rule_id: _builtins.int,
|
|
1688
2521
|
delay_in_sec: Optional[_builtins.int] = None):
|
|
@@ -1720,237 +2553,480 @@ class GetRuleEcsDependArgs:
|
|
|
1720
2553
|
|
|
1721
2554
|
|
|
1722
2555
|
if not MYPY:
|
|
1723
|
-
class
|
|
2556
|
+
class GetRuleScaleGroupHttpArgsDict(TypedDict):
|
|
1724
2557
|
proxy_id: _builtins.str
|
|
1725
2558
|
"""
|
|
1726
2559
|
Id of the proxy
|
|
1727
2560
|
"""
|
|
2561
|
+
healths: NotRequired[Sequence['GetRuleScaleGroupHttpHealthArgsDict']]
|
|
2562
|
+
"""
|
|
2563
|
+
Health Check Details
|
|
2564
|
+
"""
|
|
2565
|
+
routings: NotRequired[Sequence['GetRuleScaleGroupHttpRoutingArgsDict']]
|
|
2566
|
+
"""
|
|
2567
|
+
Routing configuration used to access the scaling group
|
|
2568
|
+
"""
|
|
1728
2569
|
elif False:
|
|
1729
|
-
|
|
2570
|
+
GetRuleScaleGroupHttpArgsDict: TypeAlias = Mapping[str, Any]
|
|
1730
2571
|
|
|
1731
2572
|
@pulumi.input_type
|
|
1732
|
-
class
|
|
2573
|
+
class GetRuleScaleGroupHttpArgs:
|
|
1733
2574
|
def __init__(__self__, *,
|
|
1734
|
-
proxy_id: _builtins.str
|
|
2575
|
+
proxy_id: _builtins.str,
|
|
2576
|
+
healths: Optional[Sequence['GetRuleScaleGroupHttpHealthArgs']] = None,
|
|
2577
|
+
routings: Optional[Sequence['GetRuleScaleGroupHttpRoutingArgs']] = None):
|
|
2578
|
+
"""
|
|
2579
|
+
:param _builtins.str proxy_id: Id of the proxy
|
|
2580
|
+
:param Sequence['GetRuleScaleGroupHttpHealthArgs'] healths: Health Check Details
|
|
2581
|
+
:param Sequence['GetRuleScaleGroupHttpRoutingArgs'] routings: Routing configuration used to access the scaling group
|
|
2582
|
+
"""
|
|
2583
|
+
pulumi.set(__self__, "proxy_id", proxy_id)
|
|
2584
|
+
if healths is not None:
|
|
2585
|
+
pulumi.set(__self__, "healths", healths)
|
|
2586
|
+
if routings is not None:
|
|
2587
|
+
pulumi.set(__self__, "routings", routings)
|
|
2588
|
+
|
|
2589
|
+
@_builtins.property
|
|
2590
|
+
@pulumi.getter(name="proxyId")
|
|
2591
|
+
def proxy_id(self) -> _builtins.str:
|
|
2592
|
+
"""
|
|
2593
|
+
Id of the proxy
|
|
2594
|
+
"""
|
|
2595
|
+
return pulumi.get(self, "proxy_id")
|
|
2596
|
+
|
|
2597
|
+
@proxy_id.setter
|
|
2598
|
+
def proxy_id(self, value: _builtins.str):
|
|
2599
|
+
pulumi.set(self, "proxy_id", value)
|
|
2600
|
+
|
|
2601
|
+
@_builtins.property
|
|
2602
|
+
@pulumi.getter
|
|
2603
|
+
def healths(self) -> Optional[Sequence['GetRuleScaleGroupHttpHealthArgs']]:
|
|
2604
|
+
"""
|
|
2605
|
+
Health Check Details
|
|
2606
|
+
"""
|
|
2607
|
+
return pulumi.get(self, "healths")
|
|
2608
|
+
|
|
2609
|
+
@healths.setter
|
|
2610
|
+
def healths(self, value: Optional[Sequence['GetRuleScaleGroupHttpHealthArgs']]):
|
|
2611
|
+
pulumi.set(self, "healths", value)
|
|
2612
|
+
|
|
2613
|
+
@_builtins.property
|
|
2614
|
+
@pulumi.getter
|
|
2615
|
+
def routings(self) -> Optional[Sequence['GetRuleScaleGroupHttpRoutingArgs']]:
|
|
2616
|
+
"""
|
|
2617
|
+
Routing configuration used to access the scaling group
|
|
2618
|
+
"""
|
|
2619
|
+
return pulumi.get(self, "routings")
|
|
2620
|
+
|
|
2621
|
+
@routings.setter
|
|
2622
|
+
def routings(self, value: Optional[Sequence['GetRuleScaleGroupHttpRoutingArgs']]):
|
|
2623
|
+
pulumi.set(self, "routings", value)
|
|
2624
|
+
|
|
2625
|
+
|
|
2626
|
+
if not MYPY:
|
|
2627
|
+
class GetRuleScaleGroupHttpHealthArgsDict(TypedDict):
|
|
2628
|
+
port: _builtins.int
|
|
2629
|
+
"""
|
|
2630
|
+
Health check port on the VM
|
|
2631
|
+
"""
|
|
2632
|
+
protocol: _builtins.str
|
|
2633
|
+
"""
|
|
2634
|
+
Protocol can be http or https
|
|
2635
|
+
"""
|
|
2636
|
+
path: NotRequired[_builtins.str]
|
|
2637
|
+
"""
|
|
2638
|
+
API path to use for health check
|
|
2639
|
+
"""
|
|
2640
|
+
status_code_from: NotRequired[_builtins.int]
|
|
2641
|
+
"""
|
|
2642
|
+
Lower limit for acceptable status code
|
|
2643
|
+
"""
|
|
2644
|
+
status_code_to: NotRequired[_builtins.int]
|
|
2645
|
+
"""
|
|
2646
|
+
Upper limit for acceptable status code
|
|
2647
|
+
"""
|
|
2648
|
+
timeout: NotRequired[_builtins.int]
|
|
2649
|
+
"""
|
|
2650
|
+
Health check timeout
|
|
2651
|
+
"""
|
|
2652
|
+
elif False:
|
|
2653
|
+
GetRuleScaleGroupHttpHealthArgsDict: TypeAlias = Mapping[str, Any]
|
|
2654
|
+
|
|
2655
|
+
@pulumi.input_type
|
|
2656
|
+
class GetRuleScaleGroupHttpHealthArgs:
|
|
2657
|
+
def __init__(__self__, *,
|
|
2658
|
+
port: _builtins.int,
|
|
2659
|
+
protocol: _builtins.str,
|
|
2660
|
+
path: Optional[_builtins.str] = None,
|
|
2661
|
+
status_code_from: Optional[_builtins.int] = None,
|
|
2662
|
+
status_code_to: Optional[_builtins.int] = None,
|
|
2663
|
+
timeout: Optional[_builtins.int] = None):
|
|
2664
|
+
"""
|
|
2665
|
+
:param _builtins.int port: Health check port on the VM
|
|
2666
|
+
:param _builtins.str protocol: Protocol can be http or https
|
|
2667
|
+
:param _builtins.str path: API path to use for health check
|
|
2668
|
+
:param _builtins.int status_code_from: Lower limit for acceptable status code
|
|
2669
|
+
:param _builtins.int status_code_to: Upper limit for acceptable status code
|
|
2670
|
+
:param _builtins.int timeout: Health check timeout
|
|
2671
|
+
"""
|
|
2672
|
+
pulumi.set(__self__, "port", port)
|
|
2673
|
+
pulumi.set(__self__, "protocol", protocol)
|
|
2674
|
+
if path is not None:
|
|
2675
|
+
pulumi.set(__self__, "path", path)
|
|
2676
|
+
if status_code_from is not None:
|
|
2677
|
+
pulumi.set(__self__, "status_code_from", status_code_from)
|
|
2678
|
+
if status_code_to is not None:
|
|
2679
|
+
pulumi.set(__self__, "status_code_to", status_code_to)
|
|
2680
|
+
if timeout is not None:
|
|
2681
|
+
pulumi.set(__self__, "timeout", timeout)
|
|
2682
|
+
|
|
2683
|
+
@_builtins.property
|
|
2684
|
+
@pulumi.getter
|
|
2685
|
+
def port(self) -> _builtins.int:
|
|
2686
|
+
"""
|
|
2687
|
+
Health check port on the VM
|
|
2688
|
+
"""
|
|
2689
|
+
return pulumi.get(self, "port")
|
|
2690
|
+
|
|
2691
|
+
@port.setter
|
|
2692
|
+
def port(self, value: _builtins.int):
|
|
2693
|
+
pulumi.set(self, "port", value)
|
|
2694
|
+
|
|
2695
|
+
@_builtins.property
|
|
2696
|
+
@pulumi.getter
|
|
2697
|
+
def protocol(self) -> _builtins.str:
|
|
2698
|
+
"""
|
|
2699
|
+
Protocol can be http or https
|
|
2700
|
+
"""
|
|
2701
|
+
return pulumi.get(self, "protocol")
|
|
2702
|
+
|
|
2703
|
+
@protocol.setter
|
|
2704
|
+
def protocol(self, value: _builtins.str):
|
|
2705
|
+
pulumi.set(self, "protocol", value)
|
|
2706
|
+
|
|
2707
|
+
@_builtins.property
|
|
2708
|
+
@pulumi.getter
|
|
2709
|
+
def path(self) -> Optional[_builtins.str]:
|
|
2710
|
+
"""
|
|
2711
|
+
API path to use for health check
|
|
2712
|
+
"""
|
|
2713
|
+
return pulumi.get(self, "path")
|
|
2714
|
+
|
|
2715
|
+
@path.setter
|
|
2716
|
+
def path(self, value: Optional[_builtins.str]):
|
|
2717
|
+
pulumi.set(self, "path", value)
|
|
2718
|
+
|
|
2719
|
+
@_builtins.property
|
|
2720
|
+
@pulumi.getter(name="statusCodeFrom")
|
|
2721
|
+
def status_code_from(self) -> Optional[_builtins.int]:
|
|
2722
|
+
"""
|
|
2723
|
+
Lower limit for acceptable status code
|
|
2724
|
+
"""
|
|
2725
|
+
return pulumi.get(self, "status_code_from")
|
|
2726
|
+
|
|
2727
|
+
@status_code_from.setter
|
|
2728
|
+
def status_code_from(self, value: Optional[_builtins.int]):
|
|
2729
|
+
pulumi.set(self, "status_code_from", value)
|
|
2730
|
+
|
|
2731
|
+
@_builtins.property
|
|
2732
|
+
@pulumi.getter(name="statusCodeTo")
|
|
2733
|
+
def status_code_to(self) -> Optional[_builtins.int]:
|
|
1735
2734
|
"""
|
|
1736
|
-
|
|
2735
|
+
Upper limit for acceptable status code
|
|
1737
2736
|
"""
|
|
1738
|
-
pulumi.
|
|
2737
|
+
return pulumi.get(self, "status_code_to")
|
|
2738
|
+
|
|
2739
|
+
@status_code_to.setter
|
|
2740
|
+
def status_code_to(self, value: Optional[_builtins.int]):
|
|
2741
|
+
pulumi.set(self, "status_code_to", value)
|
|
1739
2742
|
|
|
1740
2743
|
@_builtins.property
|
|
1741
|
-
@pulumi.getter
|
|
1742
|
-
def
|
|
2744
|
+
@pulumi.getter
|
|
2745
|
+
def timeout(self) -> Optional[_builtins.int]:
|
|
1743
2746
|
"""
|
|
1744
|
-
|
|
2747
|
+
Health check timeout
|
|
1745
2748
|
"""
|
|
1746
|
-
return pulumi.get(self, "
|
|
2749
|
+
return pulumi.get(self, "timeout")
|
|
1747
2750
|
|
|
1748
|
-
@
|
|
1749
|
-
def
|
|
1750
|
-
pulumi.set(self, "
|
|
2751
|
+
@timeout.setter
|
|
2752
|
+
def timeout(self, value: Optional[_builtins.int]):
|
|
2753
|
+
pulumi.set(self, "timeout", value)
|
|
1751
2754
|
|
|
1752
2755
|
|
|
1753
2756
|
if not MYPY:
|
|
1754
|
-
class
|
|
1755
|
-
|
|
2757
|
+
class GetRuleScaleGroupHttpRoutingArgsDict(TypedDict):
|
|
2758
|
+
source_protocol: _builtins.str
|
|
1756
2759
|
"""
|
|
1757
|
-
|
|
2760
|
+
Source protocol of the proxy can be http or https
|
|
1758
2761
|
"""
|
|
1759
|
-
|
|
2762
|
+
target_protocol: _builtins.str
|
|
1760
2763
|
"""
|
|
1761
|
-
|
|
2764
|
+
Target protocol of the instance can be http or https
|
|
2765
|
+
"""
|
|
2766
|
+
action: NotRequired[_builtins.str]
|
|
2767
|
+
"""
|
|
2768
|
+
Organization Identifier for the Entity
|
|
2769
|
+
"""
|
|
2770
|
+
source_port: NotRequired[_builtins.int]
|
|
2771
|
+
"""
|
|
2772
|
+
Port on the proxy
|
|
2773
|
+
"""
|
|
2774
|
+
target_port: NotRequired[_builtins.int]
|
|
2775
|
+
"""
|
|
2776
|
+
Port on the VM
|
|
1762
2777
|
"""
|
|
1763
2778
|
elif False:
|
|
1764
|
-
|
|
2779
|
+
GetRuleScaleGroupHttpRoutingArgsDict: TypeAlias = Mapping[str, Any]
|
|
1765
2780
|
|
|
1766
2781
|
@pulumi.input_type
|
|
1767
|
-
class
|
|
2782
|
+
class GetRuleScaleGroupHttpRoutingArgs:
|
|
1768
2783
|
def __init__(__self__, *,
|
|
1769
|
-
|
|
1770
|
-
|
|
2784
|
+
source_protocol: _builtins.str,
|
|
2785
|
+
target_protocol: _builtins.str,
|
|
2786
|
+
action: Optional[_builtins.str] = None,
|
|
2787
|
+
source_port: Optional[_builtins.int] = None,
|
|
2788
|
+
target_port: Optional[_builtins.int] = None):
|
|
1771
2789
|
"""
|
|
1772
|
-
:param _builtins.str
|
|
1773
|
-
:param _builtins.str
|
|
2790
|
+
:param _builtins.str source_protocol: Source protocol of the proxy can be http or https
|
|
2791
|
+
:param _builtins.str target_protocol: Target protocol of the instance can be http or https
|
|
2792
|
+
:param _builtins.str action: Organization Identifier for the Entity
|
|
2793
|
+
:param _builtins.int source_port: Port on the proxy
|
|
2794
|
+
:param _builtins.int target_port: Port on the VM
|
|
1774
2795
|
"""
|
|
1775
|
-
pulumi.set(__self__, "
|
|
1776
|
-
pulumi.set(__self__, "
|
|
2796
|
+
pulumi.set(__self__, "source_protocol", source_protocol)
|
|
2797
|
+
pulumi.set(__self__, "target_protocol", target_protocol)
|
|
2798
|
+
if action is not None:
|
|
2799
|
+
pulumi.set(__self__, "action", action)
|
|
2800
|
+
if source_port is not None:
|
|
2801
|
+
pulumi.set(__self__, "source_port", source_port)
|
|
2802
|
+
if target_port is not None:
|
|
2803
|
+
pulumi.set(__self__, "target_port", target_port)
|
|
1777
2804
|
|
|
1778
2805
|
@_builtins.property
|
|
1779
|
-
@pulumi.getter
|
|
1780
|
-
def
|
|
2806
|
+
@pulumi.getter(name="sourceProtocol")
|
|
2807
|
+
def source_protocol(self) -> _builtins.str:
|
|
1781
2808
|
"""
|
|
1782
|
-
|
|
2809
|
+
Source protocol of the proxy can be http or https
|
|
1783
2810
|
"""
|
|
1784
|
-
return pulumi.get(self, "
|
|
2811
|
+
return pulumi.get(self, "source_protocol")
|
|
1785
2812
|
|
|
1786
|
-
@
|
|
1787
|
-
def
|
|
1788
|
-
pulumi.set(self, "
|
|
2813
|
+
@source_protocol.setter
|
|
2814
|
+
def source_protocol(self, value: _builtins.str):
|
|
2815
|
+
pulumi.set(self, "source_protocol", value)
|
|
1789
2816
|
|
|
1790
2817
|
@_builtins.property
|
|
1791
|
-
@pulumi.getter
|
|
1792
|
-
def
|
|
2818
|
+
@pulumi.getter(name="targetProtocol")
|
|
2819
|
+
def target_protocol(self) -> _builtins.str:
|
|
1793
2820
|
"""
|
|
1794
|
-
|
|
2821
|
+
Target protocol of the instance can be http or https
|
|
1795
2822
|
"""
|
|
1796
|
-
return pulumi.get(self, "
|
|
1797
|
-
|
|
1798
|
-
@region.setter
|
|
1799
|
-
def region(self, value: _builtins.str):
|
|
1800
|
-
pulumi.set(self, "region", value)
|
|
2823
|
+
return pulumi.get(self, "target_protocol")
|
|
1801
2824
|
|
|
2825
|
+
@target_protocol.setter
|
|
2826
|
+
def target_protocol(self, value: _builtins.str):
|
|
2827
|
+
pulumi.set(self, "target_protocol", value)
|
|
1802
2828
|
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
"""
|
|
1807
|
-
Rule id of the dependent rule
|
|
1808
|
-
"""
|
|
1809
|
-
delay_in_sec: NotRequired[_builtins.int]
|
|
2829
|
+
@_builtins.property
|
|
2830
|
+
@pulumi.getter
|
|
2831
|
+
def action(self) -> Optional[_builtins.str]:
|
|
1810
2832
|
"""
|
|
1811
|
-
|
|
2833
|
+
Organization Identifier for the Entity
|
|
1812
2834
|
"""
|
|
1813
|
-
|
|
1814
|
-
GetRuleRdsDependArgsDict: TypeAlias = Mapping[str, Any]
|
|
2835
|
+
return pulumi.get(self, "action")
|
|
1815
2836
|
|
|
1816
|
-
@
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
rule_id: _builtins.int,
|
|
1820
|
-
delay_in_sec: Optional[_builtins.int] = None):
|
|
1821
|
-
"""
|
|
1822
|
-
:param _builtins.int rule_id: Rule id of the dependent rule
|
|
1823
|
-
:param _builtins.int delay_in_sec: Number of seconds the rule should wait after warming up the dependent rule
|
|
1824
|
-
"""
|
|
1825
|
-
pulumi.set(__self__, "rule_id", rule_id)
|
|
1826
|
-
if delay_in_sec is not None:
|
|
1827
|
-
pulumi.set(__self__, "delay_in_sec", delay_in_sec)
|
|
2837
|
+
@action.setter
|
|
2838
|
+
def action(self, value: Optional[_builtins.str]):
|
|
2839
|
+
pulumi.set(self, "action", value)
|
|
1828
2840
|
|
|
1829
2841
|
@_builtins.property
|
|
1830
|
-
@pulumi.getter(name="
|
|
1831
|
-
def
|
|
2842
|
+
@pulumi.getter(name="sourcePort")
|
|
2843
|
+
def source_port(self) -> Optional[_builtins.int]:
|
|
1832
2844
|
"""
|
|
1833
|
-
|
|
2845
|
+
Port on the proxy
|
|
1834
2846
|
"""
|
|
1835
|
-
return pulumi.get(self, "
|
|
2847
|
+
return pulumi.get(self, "source_port")
|
|
1836
2848
|
|
|
1837
|
-
@
|
|
1838
|
-
def
|
|
1839
|
-
pulumi.set(self, "
|
|
2849
|
+
@source_port.setter
|
|
2850
|
+
def source_port(self, value: Optional[_builtins.int]):
|
|
2851
|
+
pulumi.set(self, "source_port", value)
|
|
1840
2852
|
|
|
1841
2853
|
@_builtins.property
|
|
1842
|
-
@pulumi.getter(name="
|
|
1843
|
-
def
|
|
2854
|
+
@pulumi.getter(name="targetPort")
|
|
2855
|
+
def target_port(self) -> Optional[_builtins.int]:
|
|
1844
2856
|
"""
|
|
1845
|
-
|
|
2857
|
+
Port on the VM
|
|
1846
2858
|
"""
|
|
1847
|
-
return pulumi.get(self, "
|
|
2859
|
+
return pulumi.get(self, "target_port")
|
|
1848
2860
|
|
|
1849
|
-
@
|
|
1850
|
-
def
|
|
1851
|
-
pulumi.set(self, "
|
|
2861
|
+
@target_port.setter
|
|
2862
|
+
def target_port(self, value: Optional[_builtins.int]):
|
|
2863
|
+
pulumi.set(self, "target_port", value)
|
|
1852
2864
|
|
|
1853
2865
|
|
|
1854
2866
|
if not MYPY:
|
|
1855
|
-
class
|
|
1856
|
-
|
|
2867
|
+
class GetRuleScaleGroupScaleGroupArgsDict(TypedDict):
|
|
2868
|
+
desired: _builtins.int
|
|
1857
2869
|
"""
|
|
1858
|
-
|
|
2870
|
+
Desired capacity of the Scaling Group
|
|
1859
2871
|
"""
|
|
1860
|
-
|
|
2872
|
+
id: _builtins.str
|
|
1861
2873
|
"""
|
|
1862
|
-
|
|
2874
|
+
ID of the Scaling Group
|
|
2875
|
+
"""
|
|
2876
|
+
max: _builtins.int
|
|
2877
|
+
"""
|
|
2878
|
+
Maximum capacity of the Scaling Group
|
|
2879
|
+
"""
|
|
2880
|
+
min: _builtins.int
|
|
2881
|
+
"""
|
|
2882
|
+
Minimum capacity of the Scaling Group
|
|
2883
|
+
"""
|
|
2884
|
+
name: _builtins.str
|
|
2885
|
+
"""
|
|
2886
|
+
Name of the Scaling Group
|
|
2887
|
+
"""
|
|
2888
|
+
on_demand: _builtins.int
|
|
2889
|
+
"""
|
|
2890
|
+
On-demand capacity of the Scaling Group
|
|
2891
|
+
"""
|
|
2892
|
+
region: NotRequired[_builtins.str]
|
|
2893
|
+
"""
|
|
2894
|
+
Region of the Scaling Group
|
|
2895
|
+
"""
|
|
2896
|
+
zone: NotRequired[_builtins.str]
|
|
2897
|
+
"""
|
|
2898
|
+
Zone of the Scaling Group. Needed for GCP only
|
|
1863
2899
|
"""
|
|
1864
2900
|
elif False:
|
|
1865
|
-
|
|
2901
|
+
GetRuleScaleGroupScaleGroupArgsDict: TypeAlias = Mapping[str, Any]
|
|
1866
2902
|
|
|
1867
2903
|
@pulumi.input_type
|
|
1868
|
-
class
|
|
2904
|
+
class GetRuleScaleGroupScaleGroupArgs:
|
|
1869
2905
|
def __init__(__self__, *,
|
|
1870
|
-
|
|
1871
|
-
|
|
2906
|
+
desired: _builtins.int,
|
|
2907
|
+
id: _builtins.str,
|
|
2908
|
+
max: _builtins.int,
|
|
2909
|
+
min: _builtins.int,
|
|
2910
|
+
name: _builtins.str,
|
|
2911
|
+
on_demand: _builtins.int,
|
|
2912
|
+
region: Optional[_builtins.str] = None,
|
|
2913
|
+
zone: Optional[_builtins.str] = None):
|
|
2914
|
+
"""
|
|
2915
|
+
:param _builtins.int desired: Desired capacity of the Scaling Group
|
|
2916
|
+
:param _builtins.str id: ID of the Scaling Group
|
|
2917
|
+
:param _builtins.int max: Maximum capacity of the Scaling Group
|
|
2918
|
+
:param _builtins.int min: Minimum capacity of the Scaling Group
|
|
2919
|
+
:param _builtins.str name: Name of the Scaling Group
|
|
2920
|
+
:param _builtins.int on_demand: On-demand capacity of the Scaling Group
|
|
2921
|
+
:param _builtins.str region: Region of the Scaling Group
|
|
2922
|
+
:param _builtins.str zone: Zone of the Scaling Group. Needed for GCP only
|
|
2923
|
+
"""
|
|
2924
|
+
pulumi.set(__self__, "desired", desired)
|
|
2925
|
+
pulumi.set(__self__, "id", id)
|
|
2926
|
+
pulumi.set(__self__, "max", max)
|
|
2927
|
+
pulumi.set(__self__, "min", min)
|
|
2928
|
+
pulumi.set(__self__, "name", name)
|
|
2929
|
+
pulumi.set(__self__, "on_demand", on_demand)
|
|
2930
|
+
if region is not None:
|
|
2931
|
+
pulumi.set(__self__, "region", region)
|
|
2932
|
+
if zone is not None:
|
|
2933
|
+
pulumi.set(__self__, "zone", zone)
|
|
2934
|
+
|
|
2935
|
+
@_builtins.property
|
|
2936
|
+
@pulumi.getter
|
|
2937
|
+
def desired(self) -> _builtins.int:
|
|
1872
2938
|
"""
|
|
1873
|
-
|
|
1874
|
-
:param Sequence['GetRuleRdsTcpForwardRuleArgs'] forward_rules: Additional tcp forwarding rules
|
|
2939
|
+
Desired capacity of the Scaling Group
|
|
1875
2940
|
"""
|
|
1876
|
-
pulumi.
|
|
1877
|
-
|
|
1878
|
-
|
|
2941
|
+
return pulumi.get(self, "desired")
|
|
2942
|
+
|
|
2943
|
+
@desired.setter
|
|
2944
|
+
def desired(self, value: _builtins.int):
|
|
2945
|
+
pulumi.set(self, "desired", value)
|
|
1879
2946
|
|
|
1880
2947
|
@_builtins.property
|
|
1881
|
-
@pulumi.getter
|
|
1882
|
-
def
|
|
2948
|
+
@pulumi.getter
|
|
2949
|
+
def id(self) -> _builtins.str:
|
|
1883
2950
|
"""
|
|
1884
|
-
|
|
2951
|
+
ID of the Scaling Group
|
|
1885
2952
|
"""
|
|
1886
|
-
return pulumi.get(self, "
|
|
2953
|
+
return pulumi.get(self, "id")
|
|
1887
2954
|
|
|
1888
|
-
@
|
|
1889
|
-
def
|
|
1890
|
-
pulumi.set(self, "
|
|
2955
|
+
@id.setter
|
|
2956
|
+
def id(self, value: _builtins.str):
|
|
2957
|
+
pulumi.set(self, "id", value)
|
|
1891
2958
|
|
|
1892
2959
|
@_builtins.property
|
|
1893
|
-
@pulumi.getter
|
|
1894
|
-
def
|
|
2960
|
+
@pulumi.getter
|
|
2961
|
+
def max(self) -> _builtins.int:
|
|
1895
2962
|
"""
|
|
1896
|
-
|
|
2963
|
+
Maximum capacity of the Scaling Group
|
|
1897
2964
|
"""
|
|
1898
|
-
return pulumi.get(self, "
|
|
1899
|
-
|
|
1900
|
-
@forward_rules.setter
|
|
1901
|
-
def forward_rules(self, value: Optional[Sequence['GetRuleRdsTcpForwardRuleArgs']]):
|
|
1902
|
-
pulumi.set(self, "forward_rules", value)
|
|
2965
|
+
return pulumi.get(self, "max")
|
|
1903
2966
|
|
|
2967
|
+
@max.setter
|
|
2968
|
+
def max(self, value: _builtins.int):
|
|
2969
|
+
pulumi.set(self, "max", value)
|
|
1904
2970
|
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
|
|
2971
|
+
@_builtins.property
|
|
2972
|
+
@pulumi.getter
|
|
2973
|
+
def min(self) -> _builtins.int:
|
|
1908
2974
|
"""
|
|
1909
|
-
|
|
2975
|
+
Minimum capacity of the Scaling Group
|
|
1910
2976
|
"""
|
|
1911
|
-
|
|
2977
|
+
return pulumi.get(self, "min")
|
|
2978
|
+
|
|
2979
|
+
@min.setter
|
|
2980
|
+
def min(self, value: _builtins.int):
|
|
2981
|
+
pulumi.set(self, "min", value)
|
|
2982
|
+
|
|
2983
|
+
@_builtins.property
|
|
2984
|
+
@pulumi.getter
|
|
2985
|
+
def name(self) -> _builtins.str:
|
|
1912
2986
|
"""
|
|
1913
|
-
|
|
2987
|
+
Name of the Scaling Group
|
|
1914
2988
|
"""
|
|
1915
|
-
|
|
1916
|
-
GetRuleRdsTcpForwardRuleArgsDict: TypeAlias = Mapping[str, Any]
|
|
2989
|
+
return pulumi.get(self, "name")
|
|
1917
2990
|
|
|
1918
|
-
@
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
|
|
2991
|
+
@name.setter
|
|
2992
|
+
def name(self, value: _builtins.str):
|
|
2993
|
+
pulumi.set(self, "name", value)
|
|
2994
|
+
|
|
2995
|
+
@_builtins.property
|
|
2996
|
+
@pulumi.getter(name="onDemand")
|
|
2997
|
+
def on_demand(self) -> _builtins.int:
|
|
1923
2998
|
"""
|
|
1924
|
-
|
|
1925
|
-
:param _builtins.int connect_on: Port to listen on the proxy
|
|
2999
|
+
On-demand capacity of the Scaling Group
|
|
1926
3000
|
"""
|
|
1927
|
-
pulumi.
|
|
1928
|
-
|
|
1929
|
-
|
|
3001
|
+
return pulumi.get(self, "on_demand")
|
|
3002
|
+
|
|
3003
|
+
@on_demand.setter
|
|
3004
|
+
def on_demand(self, value: _builtins.int):
|
|
3005
|
+
pulumi.set(self, "on_demand", value)
|
|
1930
3006
|
|
|
1931
3007
|
@_builtins.property
|
|
1932
3008
|
@pulumi.getter
|
|
1933
|
-
def
|
|
3009
|
+
def region(self) -> Optional[_builtins.str]:
|
|
1934
3010
|
"""
|
|
1935
|
-
|
|
3011
|
+
Region of the Scaling Group
|
|
1936
3012
|
"""
|
|
1937
|
-
return pulumi.get(self, "
|
|
3013
|
+
return pulumi.get(self, "region")
|
|
1938
3014
|
|
|
1939
|
-
@
|
|
1940
|
-
def
|
|
1941
|
-
pulumi.set(self, "
|
|
3015
|
+
@region.setter
|
|
3016
|
+
def region(self, value: Optional[_builtins.str]):
|
|
3017
|
+
pulumi.set(self, "region", value)
|
|
1942
3018
|
|
|
1943
3019
|
@_builtins.property
|
|
1944
|
-
@pulumi.getter
|
|
1945
|
-
def
|
|
3020
|
+
@pulumi.getter
|
|
3021
|
+
def zone(self) -> Optional[_builtins.str]:
|
|
1946
3022
|
"""
|
|
1947
|
-
|
|
3023
|
+
Zone of the Scaling Group. Needed for GCP only
|
|
1948
3024
|
"""
|
|
1949
|
-
return pulumi.get(self, "
|
|
3025
|
+
return pulumi.get(self, "zone")
|
|
1950
3026
|
|
|
1951
|
-
@
|
|
1952
|
-
def
|
|
1953
|
-
pulumi.set(self, "
|
|
3027
|
+
@zone.setter
|
|
3028
|
+
def zone(self, value: Optional[_builtins.str]):
|
|
3029
|
+
pulumi.set(self, "zone", value)
|
|
1954
3030
|
|
|
1955
3031
|
|
|
1956
3032
|
if not MYPY:
|