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.
Files changed (55) hide show
  1. pulumi_harness/__init__.py +24 -0
  2. pulumi_harness/autostopping/__init__.py +2 -0
  3. pulumi_harness/autostopping/_inputs.py +1698 -622
  4. pulumi_harness/autostopping/get_aws_alb.py +4 -0
  5. pulumi_harness/autostopping/get_aws_proxy.py +4 -0
  6. pulumi_harness/autostopping/get_azure_gateway.py +4 -0
  7. pulumi_harness/autostopping/get_azure_proxy.py +4 -0
  8. pulumi_harness/autostopping/get_gcp_proxy.py +4 -0
  9. pulumi_harness/autostopping/get_rule_ecs.py +4 -0
  10. pulumi_harness/autostopping/get_rule_rds.py +4 -0
  11. pulumi_harness/autostopping/get_rule_scale_group.py +254 -0
  12. pulumi_harness/autostopping/get_rule_vm.py +4 -0
  13. pulumi_harness/autostopping/outputs.py +727 -0
  14. pulumi_harness/autostopping/rule_ecs.py +58 -0
  15. pulumi_harness/autostopping/rule_scale_group.py +592 -0
  16. pulumi_harness/cluster/get_orchestrator.py +4 -0
  17. pulumi_harness/cluster/get_orchestrator_config.py +21 -1
  18. pulumi_harness/cluster/orchestrator.py +2 -28
  19. pulumi_harness/cluster/orchestrator_config.py +49 -0
  20. pulumi_harness/platform/__init__.py +5 -0
  21. pulumi_harness/platform/_inputs.py +5804 -371
  22. pulumi_harness/platform/connector_rancher.py +36 -0
  23. pulumi_harness/platform/db_instance.py +49 -49
  24. pulumi_harness/platform/db_schema.py +243 -0
  25. pulumi_harness/platform/environment.py +166 -0
  26. pulumi_harness/platform/environment_group.py +10 -10
  27. pulumi_harness/platform/gcp_secret_manager_connector.py +94 -0
  28. pulumi_harness/platform/get_db_instance.py +21 -21
  29. pulumi_harness/platform/get_db_schema.py +21 -1
  30. pulumi_harness/platform/get_default_notification_template_set.py +31 -1
  31. pulumi_harness/platform/get_gitops_agent_operator_yaml.py +4 -0
  32. pulumi_harness/platform/get_gitops_app_project_mapping.py +4 -0
  33. pulumi_harness/platform/get_gitops_applications.py +4 -0
  34. pulumi_harness/platform/get_gitops_repo_cert.py +4 -0
  35. pulumi_harness/platform/get_infra_module.py +192 -6
  36. pulumi_harness/platform/get_infra_module_testing.py +521 -0
  37. pulumi_harness/platform/get_infra_modules.py +103 -0
  38. pulumi_harness/platform/get_manual_freeze.py +4 -0
  39. pulumi_harness/platform/get_pipeline_central_notification_rule.py +2 -26
  40. pulumi_harness/platform/get_secret_winrm.py +263 -0
  41. pulumi_harness/platform/git_ops_applications.py +0 -4
  42. pulumi_harness/platform/gitops_applicationset.py +308 -6
  43. pulumi_harness/platform/infra_module_testing.py +1134 -0
  44. pulumi_harness/platform/infrastructure.py +82 -0
  45. pulumi_harness/platform/outputs.py +4467 -251
  46. pulumi_harness/platform/pipeline.py +2 -2
  47. pulumi_harness/platform/pipeline_central_notification_rule.py +187 -0
  48. pulumi_harness/platform/secret_winrm.py +1082 -0
  49. pulumi_harness/platform/service.py +150 -0
  50. pulumi_harness/platform/triggers.py +6 -4
  51. pulumi_harness/pulumi-plugin.json +1 -1
  52. {pulumi_harness-0.9.0a1760076204.dist-info → pulumi_harness-0.10.0a1764049859.dist-info}/METADATA +1 -1
  53. {pulumi_harness-0.9.0a1760076204.dist-info → pulumi_harness-0.10.0a1764049859.dist-info}/RECORD +55 -48
  54. {pulumi_harness-0.9.0a1760076204.dist-info → pulumi_harness-0.10.0a1764049859.dist-info}/WHEEL +0 -0
  55. {pulumi_harness-0.9.0a1760076204.dist-info → pulumi_harness-0.10.0a1764049859.dist-info}/top_level.txt +0 -0
@@ -26,6 +26,11 @@ __all__ = [
26
26
  'RuleRdsDepend',
27
27
  'RuleRdsTcp',
28
28
  'RuleRdsTcpForwardRule',
29
+ 'RuleScaleGroupDepend',
30
+ 'RuleScaleGroupHttp',
31
+ 'RuleScaleGroupHttpHealth',
32
+ 'RuleScaleGroupHttpRouting',
33
+ 'RuleScaleGroupScaleGroup',
29
34
  'RuleVmDepend',
30
35
  'RuleVmFilter',
31
36
  'RuleVmFilterTag',
@@ -47,6 +52,11 @@ __all__ = [
47
52
  'GetRuleRdsDependResult',
48
53
  'GetRuleRdsTcpResult',
49
54
  'GetRuleRdsTcpForwardRuleResult',
55
+ 'GetRuleScaleGroupDependResult',
56
+ 'GetRuleScaleGroupHttpResult',
57
+ 'GetRuleScaleGroupHttpHealthResult',
58
+ 'GetRuleScaleGroupHttpRoutingResult',
59
+ 'GetRuleScaleGroupScaleGroupResult',
50
60
  'GetRuleVmDependResult',
51
61
  'GetRuleVmFilterResult',
52
62
  'GetRuleVmFilterTagResult',
@@ -531,6 +541,412 @@ class RuleRdsTcpForwardRule(dict):
531
541
  return pulumi.get(self, "connect_on")
532
542
 
533
543
 
544
+ @pulumi.output_type
545
+ class RuleScaleGroupDepend(dict):
546
+ @staticmethod
547
+ def __key_warning(key: str):
548
+ suggest = None
549
+ if key == "ruleId":
550
+ suggest = "rule_id"
551
+ elif key == "delayInSec":
552
+ suggest = "delay_in_sec"
553
+
554
+ if suggest:
555
+ pulumi.log.warn(f"Key '{key}' not found in RuleScaleGroupDepend. Access the value via the '{suggest}' property getter instead.")
556
+
557
+ def __getitem__(self, key: str) -> Any:
558
+ RuleScaleGroupDepend.__key_warning(key)
559
+ return super().__getitem__(key)
560
+
561
+ def get(self, key: str, default = None) -> Any:
562
+ RuleScaleGroupDepend.__key_warning(key)
563
+ return super().get(key, default)
564
+
565
+ def __init__(__self__, *,
566
+ rule_id: _builtins.int,
567
+ delay_in_sec: Optional[_builtins.int] = None):
568
+ """
569
+ :param _builtins.int rule_id: Rule id of the dependent rule
570
+ :param _builtins.int delay_in_sec: Number of seconds the rule should wait after warming up the dependent rule
571
+ """
572
+ pulumi.set(__self__, "rule_id", rule_id)
573
+ if delay_in_sec is not None:
574
+ pulumi.set(__self__, "delay_in_sec", delay_in_sec)
575
+
576
+ @_builtins.property
577
+ @pulumi.getter(name="ruleId")
578
+ def rule_id(self) -> _builtins.int:
579
+ """
580
+ Rule id of the dependent rule
581
+ """
582
+ return pulumi.get(self, "rule_id")
583
+
584
+ @_builtins.property
585
+ @pulumi.getter(name="delayInSec")
586
+ def delay_in_sec(self) -> Optional[_builtins.int]:
587
+ """
588
+ Number of seconds the rule should wait after warming up the dependent rule
589
+ """
590
+ return pulumi.get(self, "delay_in_sec")
591
+
592
+
593
+ @pulumi.output_type
594
+ class RuleScaleGroupHttp(dict):
595
+ @staticmethod
596
+ def __key_warning(key: str):
597
+ suggest = None
598
+ if key == "proxyId":
599
+ suggest = "proxy_id"
600
+
601
+ if suggest:
602
+ pulumi.log.warn(f"Key '{key}' not found in RuleScaleGroupHttp. Access the value via the '{suggest}' property getter instead.")
603
+
604
+ def __getitem__(self, key: str) -> Any:
605
+ RuleScaleGroupHttp.__key_warning(key)
606
+ return super().__getitem__(key)
607
+
608
+ def get(self, key: str, default = None) -> Any:
609
+ RuleScaleGroupHttp.__key_warning(key)
610
+ return super().get(key, default)
611
+
612
+ def __init__(__self__, *,
613
+ proxy_id: _builtins.str,
614
+ healths: Optional[Sequence['outputs.RuleScaleGroupHttpHealth']] = None,
615
+ routings: Optional[Sequence['outputs.RuleScaleGroupHttpRouting']] = None):
616
+ """
617
+ :param _builtins.str proxy_id: Id of the proxy
618
+ :param Sequence['RuleScaleGroupHttpHealthArgs'] healths: Health Check Details
619
+ :param Sequence['RuleScaleGroupHttpRoutingArgs'] routings: Routing configuration used to access the scaling group
620
+ """
621
+ pulumi.set(__self__, "proxy_id", proxy_id)
622
+ if healths is not None:
623
+ pulumi.set(__self__, "healths", healths)
624
+ if routings is not None:
625
+ pulumi.set(__self__, "routings", routings)
626
+
627
+ @_builtins.property
628
+ @pulumi.getter(name="proxyId")
629
+ def proxy_id(self) -> _builtins.str:
630
+ """
631
+ Id of the proxy
632
+ """
633
+ return pulumi.get(self, "proxy_id")
634
+
635
+ @_builtins.property
636
+ @pulumi.getter
637
+ def healths(self) -> Optional[Sequence['outputs.RuleScaleGroupHttpHealth']]:
638
+ """
639
+ Health Check Details
640
+ """
641
+ return pulumi.get(self, "healths")
642
+
643
+ @_builtins.property
644
+ @pulumi.getter
645
+ def routings(self) -> Optional[Sequence['outputs.RuleScaleGroupHttpRouting']]:
646
+ """
647
+ Routing configuration used to access the scaling group
648
+ """
649
+ return pulumi.get(self, "routings")
650
+
651
+
652
+ @pulumi.output_type
653
+ class RuleScaleGroupHttpHealth(dict):
654
+ @staticmethod
655
+ def __key_warning(key: str):
656
+ suggest = None
657
+ if key == "statusCodeFrom":
658
+ suggest = "status_code_from"
659
+ elif key == "statusCodeTo":
660
+ suggest = "status_code_to"
661
+
662
+ if suggest:
663
+ pulumi.log.warn(f"Key '{key}' not found in RuleScaleGroupHttpHealth. Access the value via the '{suggest}' property getter instead.")
664
+
665
+ def __getitem__(self, key: str) -> Any:
666
+ RuleScaleGroupHttpHealth.__key_warning(key)
667
+ return super().__getitem__(key)
668
+
669
+ def get(self, key: str, default = None) -> Any:
670
+ RuleScaleGroupHttpHealth.__key_warning(key)
671
+ return super().get(key, default)
672
+
673
+ def __init__(__self__, *,
674
+ port: _builtins.int,
675
+ protocol: _builtins.str,
676
+ path: Optional[_builtins.str] = None,
677
+ status_code_from: Optional[_builtins.int] = None,
678
+ status_code_to: Optional[_builtins.int] = None,
679
+ timeout: Optional[_builtins.int] = None):
680
+ """
681
+ :param _builtins.int port: Health check port on the VM
682
+ :param _builtins.str protocol: Protocol can be http or https
683
+ :param _builtins.str path: API path to use for health check
684
+ :param _builtins.int status_code_from: Lower limit for acceptable status code
685
+ :param _builtins.int status_code_to: Upper limit for acceptable status code
686
+ :param _builtins.int timeout: Health check timeout
687
+ """
688
+ pulumi.set(__self__, "port", port)
689
+ pulumi.set(__self__, "protocol", protocol)
690
+ if path is not None:
691
+ pulumi.set(__self__, "path", path)
692
+ if status_code_from is not None:
693
+ pulumi.set(__self__, "status_code_from", status_code_from)
694
+ if status_code_to is not None:
695
+ pulumi.set(__self__, "status_code_to", status_code_to)
696
+ if timeout is not None:
697
+ pulumi.set(__self__, "timeout", timeout)
698
+
699
+ @_builtins.property
700
+ @pulumi.getter
701
+ def port(self) -> _builtins.int:
702
+ """
703
+ Health check port on the VM
704
+ """
705
+ return pulumi.get(self, "port")
706
+
707
+ @_builtins.property
708
+ @pulumi.getter
709
+ def protocol(self) -> _builtins.str:
710
+ """
711
+ Protocol can be http or https
712
+ """
713
+ return pulumi.get(self, "protocol")
714
+
715
+ @_builtins.property
716
+ @pulumi.getter
717
+ def path(self) -> Optional[_builtins.str]:
718
+ """
719
+ API path to use for health check
720
+ """
721
+ return pulumi.get(self, "path")
722
+
723
+ @_builtins.property
724
+ @pulumi.getter(name="statusCodeFrom")
725
+ def status_code_from(self) -> Optional[_builtins.int]:
726
+ """
727
+ Lower limit for acceptable status code
728
+ """
729
+ return pulumi.get(self, "status_code_from")
730
+
731
+ @_builtins.property
732
+ @pulumi.getter(name="statusCodeTo")
733
+ def status_code_to(self) -> Optional[_builtins.int]:
734
+ """
735
+ Upper limit for acceptable status code
736
+ """
737
+ return pulumi.get(self, "status_code_to")
738
+
739
+ @_builtins.property
740
+ @pulumi.getter
741
+ def timeout(self) -> Optional[_builtins.int]:
742
+ """
743
+ Health check timeout
744
+ """
745
+ return pulumi.get(self, "timeout")
746
+
747
+
748
+ @pulumi.output_type
749
+ class RuleScaleGroupHttpRouting(dict):
750
+ @staticmethod
751
+ def __key_warning(key: str):
752
+ suggest = None
753
+ if key == "sourceProtocol":
754
+ suggest = "source_protocol"
755
+ elif key == "targetProtocol":
756
+ suggest = "target_protocol"
757
+ elif key == "sourcePort":
758
+ suggest = "source_port"
759
+ elif key == "targetPort":
760
+ suggest = "target_port"
761
+
762
+ if suggest:
763
+ pulumi.log.warn(f"Key '{key}' not found in RuleScaleGroupHttpRouting. Access the value via the '{suggest}' property getter instead.")
764
+
765
+ def __getitem__(self, key: str) -> Any:
766
+ RuleScaleGroupHttpRouting.__key_warning(key)
767
+ return super().__getitem__(key)
768
+
769
+ def get(self, key: str, default = None) -> Any:
770
+ RuleScaleGroupHttpRouting.__key_warning(key)
771
+ return super().get(key, default)
772
+
773
+ def __init__(__self__, *,
774
+ source_protocol: _builtins.str,
775
+ target_protocol: _builtins.str,
776
+ action: Optional[_builtins.str] = None,
777
+ source_port: Optional[_builtins.int] = None,
778
+ target_port: Optional[_builtins.int] = None):
779
+ """
780
+ :param _builtins.str source_protocol: Source protocol of the proxy can be http or https
781
+ :param _builtins.str target_protocol: Target protocol of the instance can be http or https
782
+ :param _builtins.str action: Organization Identifier for the Entity
783
+ :param _builtins.int source_port: Port on the proxy
784
+ :param _builtins.int target_port: Port on the VM
785
+ """
786
+ pulumi.set(__self__, "source_protocol", source_protocol)
787
+ pulumi.set(__self__, "target_protocol", target_protocol)
788
+ if action is not None:
789
+ pulumi.set(__self__, "action", action)
790
+ if source_port is not None:
791
+ pulumi.set(__self__, "source_port", source_port)
792
+ if target_port is not None:
793
+ pulumi.set(__self__, "target_port", target_port)
794
+
795
+ @_builtins.property
796
+ @pulumi.getter(name="sourceProtocol")
797
+ def source_protocol(self) -> _builtins.str:
798
+ """
799
+ Source protocol of the proxy can be http or https
800
+ """
801
+ return pulumi.get(self, "source_protocol")
802
+
803
+ @_builtins.property
804
+ @pulumi.getter(name="targetProtocol")
805
+ def target_protocol(self) -> _builtins.str:
806
+ """
807
+ Target protocol of the instance can be http or https
808
+ """
809
+ return pulumi.get(self, "target_protocol")
810
+
811
+ @_builtins.property
812
+ @pulumi.getter
813
+ def action(self) -> Optional[_builtins.str]:
814
+ """
815
+ Organization Identifier for the Entity
816
+ """
817
+ return pulumi.get(self, "action")
818
+
819
+ @_builtins.property
820
+ @pulumi.getter(name="sourcePort")
821
+ def source_port(self) -> Optional[_builtins.int]:
822
+ """
823
+ Port on the proxy
824
+ """
825
+ return pulumi.get(self, "source_port")
826
+
827
+ @_builtins.property
828
+ @pulumi.getter(name="targetPort")
829
+ def target_port(self) -> Optional[_builtins.int]:
830
+ """
831
+ Port on the VM
832
+ """
833
+ return pulumi.get(self, "target_port")
834
+
835
+
836
+ @pulumi.output_type
837
+ class RuleScaleGroupScaleGroup(dict):
838
+ @staticmethod
839
+ def __key_warning(key: str):
840
+ suggest = None
841
+ if key == "onDemand":
842
+ suggest = "on_demand"
843
+
844
+ if suggest:
845
+ pulumi.log.warn(f"Key '{key}' not found in RuleScaleGroupScaleGroup. Access the value via the '{suggest}' property getter instead.")
846
+
847
+ def __getitem__(self, key: str) -> Any:
848
+ RuleScaleGroupScaleGroup.__key_warning(key)
849
+ return super().__getitem__(key)
850
+
851
+ def get(self, key: str, default = None) -> Any:
852
+ RuleScaleGroupScaleGroup.__key_warning(key)
853
+ return super().get(key, default)
854
+
855
+ def __init__(__self__, *,
856
+ desired: _builtins.int,
857
+ id: _builtins.str,
858
+ max: _builtins.int,
859
+ min: _builtins.int,
860
+ name: _builtins.str,
861
+ on_demand: _builtins.int,
862
+ region: Optional[_builtins.str] = None,
863
+ zone: Optional[_builtins.str] = None):
864
+ """
865
+ :param _builtins.int desired: Desired capacity of the Scaling Group
866
+ :param _builtins.str id: ID of the Scaling Group
867
+ :param _builtins.int max: Maximum capacity of the Scaling Group
868
+ :param _builtins.int min: Minimum capacity of the Scaling Group
869
+ :param _builtins.str name: Name of the Scaling Group
870
+ :param _builtins.int on_demand: On-demand capacity of the Scaling Group
871
+ :param _builtins.str region: Region of the Scaling Group
872
+ :param _builtins.str zone: Zone of the Scaling Group. Needed for GCP only
873
+ """
874
+ pulumi.set(__self__, "desired", desired)
875
+ pulumi.set(__self__, "id", id)
876
+ pulumi.set(__self__, "max", max)
877
+ pulumi.set(__self__, "min", min)
878
+ pulumi.set(__self__, "name", name)
879
+ pulumi.set(__self__, "on_demand", on_demand)
880
+ if region is not None:
881
+ pulumi.set(__self__, "region", region)
882
+ if zone is not None:
883
+ pulumi.set(__self__, "zone", zone)
884
+
885
+ @_builtins.property
886
+ @pulumi.getter
887
+ def desired(self) -> _builtins.int:
888
+ """
889
+ Desired capacity of the Scaling Group
890
+ """
891
+ return pulumi.get(self, "desired")
892
+
893
+ @_builtins.property
894
+ @pulumi.getter
895
+ def id(self) -> _builtins.str:
896
+ """
897
+ ID of the Scaling Group
898
+ """
899
+ return pulumi.get(self, "id")
900
+
901
+ @_builtins.property
902
+ @pulumi.getter
903
+ def max(self) -> _builtins.int:
904
+ """
905
+ Maximum capacity of the Scaling Group
906
+ """
907
+ return pulumi.get(self, "max")
908
+
909
+ @_builtins.property
910
+ @pulumi.getter
911
+ def min(self) -> _builtins.int:
912
+ """
913
+ Minimum capacity of the Scaling Group
914
+ """
915
+ return pulumi.get(self, "min")
916
+
917
+ @_builtins.property
918
+ @pulumi.getter
919
+ def name(self) -> _builtins.str:
920
+ """
921
+ Name of the Scaling Group
922
+ """
923
+ return pulumi.get(self, "name")
924
+
925
+ @_builtins.property
926
+ @pulumi.getter(name="onDemand")
927
+ def on_demand(self) -> _builtins.int:
928
+ """
929
+ On-demand capacity of the Scaling Group
930
+ """
931
+ return pulumi.get(self, "on_demand")
932
+
933
+ @_builtins.property
934
+ @pulumi.getter
935
+ def region(self) -> Optional[_builtins.str]:
936
+ """
937
+ Region of the Scaling Group
938
+ """
939
+ return pulumi.get(self, "region")
940
+
941
+ @_builtins.property
942
+ @pulumi.getter
943
+ def zone(self) -> Optional[_builtins.str]:
944
+ """
945
+ Zone of the Scaling Group. Needed for GCP only
946
+ """
947
+ return pulumi.get(self, "zone")
948
+
949
+
534
950
  @pulumi.output_type
535
951
  class RuleVmDepend(dict):
536
952
  @staticmethod
@@ -1496,6 +1912,317 @@ class GetRuleRdsTcpForwardRuleResult(dict):
1496
1912
  return pulumi.get(self, "connect_on")
1497
1913
 
1498
1914
 
1915
+ @pulumi.output_type
1916
+ class GetRuleScaleGroupDependResult(dict):
1917
+ def __init__(__self__, *,
1918
+ rule_id: _builtins.int,
1919
+ delay_in_sec: Optional[_builtins.int] = None):
1920
+ """
1921
+ :param _builtins.int rule_id: Rule id of the dependent rule
1922
+ :param _builtins.int delay_in_sec: Number of seconds the rule should wait after warming up the dependent rule
1923
+ """
1924
+ pulumi.set(__self__, "rule_id", rule_id)
1925
+ if delay_in_sec is not None:
1926
+ pulumi.set(__self__, "delay_in_sec", delay_in_sec)
1927
+
1928
+ @_builtins.property
1929
+ @pulumi.getter(name="ruleId")
1930
+ def rule_id(self) -> _builtins.int:
1931
+ """
1932
+ Rule id of the dependent rule
1933
+ """
1934
+ return pulumi.get(self, "rule_id")
1935
+
1936
+ @_builtins.property
1937
+ @pulumi.getter(name="delayInSec")
1938
+ def delay_in_sec(self) -> Optional[_builtins.int]:
1939
+ """
1940
+ Number of seconds the rule should wait after warming up the dependent rule
1941
+ """
1942
+ return pulumi.get(self, "delay_in_sec")
1943
+
1944
+
1945
+ @pulumi.output_type
1946
+ class GetRuleScaleGroupHttpResult(dict):
1947
+ def __init__(__self__, *,
1948
+ proxy_id: _builtins.str,
1949
+ healths: Optional[Sequence['outputs.GetRuleScaleGroupHttpHealthResult']] = None,
1950
+ routings: Optional[Sequence['outputs.GetRuleScaleGroupHttpRoutingResult']] = None):
1951
+ """
1952
+ :param _builtins.str proxy_id: Id of the proxy
1953
+ :param Sequence['GetRuleScaleGroupHttpHealthArgs'] healths: Health Check Details
1954
+ :param Sequence['GetRuleScaleGroupHttpRoutingArgs'] routings: Routing configuration used to access the scaling group
1955
+ """
1956
+ pulumi.set(__self__, "proxy_id", proxy_id)
1957
+ if healths is not None:
1958
+ pulumi.set(__self__, "healths", healths)
1959
+ if routings is not None:
1960
+ pulumi.set(__self__, "routings", routings)
1961
+
1962
+ @_builtins.property
1963
+ @pulumi.getter(name="proxyId")
1964
+ def proxy_id(self) -> _builtins.str:
1965
+ """
1966
+ Id of the proxy
1967
+ """
1968
+ return pulumi.get(self, "proxy_id")
1969
+
1970
+ @_builtins.property
1971
+ @pulumi.getter
1972
+ def healths(self) -> Optional[Sequence['outputs.GetRuleScaleGroupHttpHealthResult']]:
1973
+ """
1974
+ Health Check Details
1975
+ """
1976
+ return pulumi.get(self, "healths")
1977
+
1978
+ @_builtins.property
1979
+ @pulumi.getter
1980
+ def routings(self) -> Optional[Sequence['outputs.GetRuleScaleGroupHttpRoutingResult']]:
1981
+ """
1982
+ Routing configuration used to access the scaling group
1983
+ """
1984
+ return pulumi.get(self, "routings")
1985
+
1986
+
1987
+ @pulumi.output_type
1988
+ class GetRuleScaleGroupHttpHealthResult(dict):
1989
+ def __init__(__self__, *,
1990
+ port: _builtins.int,
1991
+ protocol: _builtins.str,
1992
+ path: Optional[_builtins.str] = None,
1993
+ status_code_from: Optional[_builtins.int] = None,
1994
+ status_code_to: Optional[_builtins.int] = None,
1995
+ timeout: Optional[_builtins.int] = None):
1996
+ """
1997
+ :param _builtins.int port: Health check port on the VM
1998
+ :param _builtins.str protocol: Protocol can be http or https
1999
+ :param _builtins.str path: API path to use for health check
2000
+ :param _builtins.int status_code_from: Lower limit for acceptable status code
2001
+ :param _builtins.int status_code_to: Upper limit for acceptable status code
2002
+ :param _builtins.int timeout: Health check timeout
2003
+ """
2004
+ pulumi.set(__self__, "port", port)
2005
+ pulumi.set(__self__, "protocol", protocol)
2006
+ if path is not None:
2007
+ pulumi.set(__self__, "path", path)
2008
+ if status_code_from is not None:
2009
+ pulumi.set(__self__, "status_code_from", status_code_from)
2010
+ if status_code_to is not None:
2011
+ pulumi.set(__self__, "status_code_to", status_code_to)
2012
+ if timeout is not None:
2013
+ pulumi.set(__self__, "timeout", timeout)
2014
+
2015
+ @_builtins.property
2016
+ @pulumi.getter
2017
+ def port(self) -> _builtins.int:
2018
+ """
2019
+ Health check port on the VM
2020
+ """
2021
+ return pulumi.get(self, "port")
2022
+
2023
+ @_builtins.property
2024
+ @pulumi.getter
2025
+ def protocol(self) -> _builtins.str:
2026
+ """
2027
+ Protocol can be http or https
2028
+ """
2029
+ return pulumi.get(self, "protocol")
2030
+
2031
+ @_builtins.property
2032
+ @pulumi.getter
2033
+ def path(self) -> Optional[_builtins.str]:
2034
+ """
2035
+ API path to use for health check
2036
+ """
2037
+ return pulumi.get(self, "path")
2038
+
2039
+ @_builtins.property
2040
+ @pulumi.getter(name="statusCodeFrom")
2041
+ def status_code_from(self) -> Optional[_builtins.int]:
2042
+ """
2043
+ Lower limit for acceptable status code
2044
+ """
2045
+ return pulumi.get(self, "status_code_from")
2046
+
2047
+ @_builtins.property
2048
+ @pulumi.getter(name="statusCodeTo")
2049
+ def status_code_to(self) -> Optional[_builtins.int]:
2050
+ """
2051
+ Upper limit for acceptable status code
2052
+ """
2053
+ return pulumi.get(self, "status_code_to")
2054
+
2055
+ @_builtins.property
2056
+ @pulumi.getter
2057
+ def timeout(self) -> Optional[_builtins.int]:
2058
+ """
2059
+ Health check timeout
2060
+ """
2061
+ return pulumi.get(self, "timeout")
2062
+
2063
+
2064
+ @pulumi.output_type
2065
+ class GetRuleScaleGroupHttpRoutingResult(dict):
2066
+ def __init__(__self__, *,
2067
+ source_protocol: _builtins.str,
2068
+ target_protocol: _builtins.str,
2069
+ action: Optional[_builtins.str] = None,
2070
+ source_port: Optional[_builtins.int] = None,
2071
+ target_port: Optional[_builtins.int] = None):
2072
+ """
2073
+ :param _builtins.str source_protocol: Source protocol of the proxy can be http or https
2074
+ :param _builtins.str target_protocol: Target protocol of the instance can be http or https
2075
+ :param _builtins.str action: Organization Identifier for the Entity
2076
+ :param _builtins.int source_port: Port on the proxy
2077
+ :param _builtins.int target_port: Port on the VM
2078
+ """
2079
+ pulumi.set(__self__, "source_protocol", source_protocol)
2080
+ pulumi.set(__self__, "target_protocol", target_protocol)
2081
+ if action is not None:
2082
+ pulumi.set(__self__, "action", action)
2083
+ if source_port is not None:
2084
+ pulumi.set(__self__, "source_port", source_port)
2085
+ if target_port is not None:
2086
+ pulumi.set(__self__, "target_port", target_port)
2087
+
2088
+ @_builtins.property
2089
+ @pulumi.getter(name="sourceProtocol")
2090
+ def source_protocol(self) -> _builtins.str:
2091
+ """
2092
+ Source protocol of the proxy can be http or https
2093
+ """
2094
+ return pulumi.get(self, "source_protocol")
2095
+
2096
+ @_builtins.property
2097
+ @pulumi.getter(name="targetProtocol")
2098
+ def target_protocol(self) -> _builtins.str:
2099
+ """
2100
+ Target protocol of the instance can be http or https
2101
+ """
2102
+ return pulumi.get(self, "target_protocol")
2103
+
2104
+ @_builtins.property
2105
+ @pulumi.getter
2106
+ def action(self) -> Optional[_builtins.str]:
2107
+ """
2108
+ Organization Identifier for the Entity
2109
+ """
2110
+ return pulumi.get(self, "action")
2111
+
2112
+ @_builtins.property
2113
+ @pulumi.getter(name="sourcePort")
2114
+ def source_port(self) -> Optional[_builtins.int]:
2115
+ """
2116
+ Port on the proxy
2117
+ """
2118
+ return pulumi.get(self, "source_port")
2119
+
2120
+ @_builtins.property
2121
+ @pulumi.getter(name="targetPort")
2122
+ def target_port(self) -> Optional[_builtins.int]:
2123
+ """
2124
+ Port on the VM
2125
+ """
2126
+ return pulumi.get(self, "target_port")
2127
+
2128
+
2129
+ @pulumi.output_type
2130
+ class GetRuleScaleGroupScaleGroupResult(dict):
2131
+ def __init__(__self__, *,
2132
+ desired: _builtins.int,
2133
+ id: _builtins.str,
2134
+ max: _builtins.int,
2135
+ min: _builtins.int,
2136
+ name: _builtins.str,
2137
+ on_demand: _builtins.int,
2138
+ region: Optional[_builtins.str] = None,
2139
+ zone: Optional[_builtins.str] = None):
2140
+ """
2141
+ :param _builtins.int desired: Desired capacity of the Scaling Group
2142
+ :param _builtins.str id: ID of the Scaling Group
2143
+ :param _builtins.int max: Maximum capacity of the Scaling Group
2144
+ :param _builtins.int min: Minimum capacity of the Scaling Group
2145
+ :param _builtins.str name: Name of the Scaling Group
2146
+ :param _builtins.int on_demand: On-demand capacity of the Scaling Group
2147
+ :param _builtins.str region: Region of the Scaling Group
2148
+ :param _builtins.str zone: Zone of the Scaling Group. Needed for GCP only
2149
+ """
2150
+ pulumi.set(__self__, "desired", desired)
2151
+ pulumi.set(__self__, "id", id)
2152
+ pulumi.set(__self__, "max", max)
2153
+ pulumi.set(__self__, "min", min)
2154
+ pulumi.set(__self__, "name", name)
2155
+ pulumi.set(__self__, "on_demand", on_demand)
2156
+ if region is not None:
2157
+ pulumi.set(__self__, "region", region)
2158
+ if zone is not None:
2159
+ pulumi.set(__self__, "zone", zone)
2160
+
2161
+ @_builtins.property
2162
+ @pulumi.getter
2163
+ def desired(self) -> _builtins.int:
2164
+ """
2165
+ Desired capacity of the Scaling Group
2166
+ """
2167
+ return pulumi.get(self, "desired")
2168
+
2169
+ @_builtins.property
2170
+ @pulumi.getter
2171
+ def id(self) -> _builtins.str:
2172
+ """
2173
+ ID of the Scaling Group
2174
+ """
2175
+ return pulumi.get(self, "id")
2176
+
2177
+ @_builtins.property
2178
+ @pulumi.getter
2179
+ def max(self) -> _builtins.int:
2180
+ """
2181
+ Maximum capacity of the Scaling Group
2182
+ """
2183
+ return pulumi.get(self, "max")
2184
+
2185
+ @_builtins.property
2186
+ @pulumi.getter
2187
+ def min(self) -> _builtins.int:
2188
+ """
2189
+ Minimum capacity of the Scaling Group
2190
+ """
2191
+ return pulumi.get(self, "min")
2192
+
2193
+ @_builtins.property
2194
+ @pulumi.getter
2195
+ def name(self) -> _builtins.str:
2196
+ """
2197
+ Name of the Scaling Group
2198
+ """
2199
+ return pulumi.get(self, "name")
2200
+
2201
+ @_builtins.property
2202
+ @pulumi.getter(name="onDemand")
2203
+ def on_demand(self) -> _builtins.int:
2204
+ """
2205
+ On-demand capacity of the Scaling Group
2206
+ """
2207
+ return pulumi.get(self, "on_demand")
2208
+
2209
+ @_builtins.property
2210
+ @pulumi.getter
2211
+ def region(self) -> Optional[_builtins.str]:
2212
+ """
2213
+ Region of the Scaling Group
2214
+ """
2215
+ return pulumi.get(self, "region")
2216
+
2217
+ @_builtins.property
2218
+ @pulumi.getter
2219
+ def zone(self) -> Optional[_builtins.str]:
2220
+ """
2221
+ Zone of the Scaling Group. Needed for GCP only
2222
+ """
2223
+ return pulumi.get(self, "zone")
2224
+
2225
+
1499
2226
  @pulumi.output_type
1500
2227
  class GetRuleVmDependResult(dict):
1501
2228
  def __init__(__self__, *,