pulumi-gcp 7.29.0a1719364094__py3-none-any.whl → 7.29.0a1719416802__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_gcp/__init__.py +8 -0
- pulumi_gcp/activedirectory/domain.py +14 -14
- pulumi_gcp/activedirectory/domain_trust.py +14 -14
- pulumi_gcp/artifactregistry/__init__.py +1 -0
- pulumi_gcp/artifactregistry/_inputs.py +4 -4
- pulumi_gcp/artifactregistry/get_docker_image.py +244 -0
- pulumi_gcp/artifactregistry/outputs.py +6 -6
- pulumi_gcp/artifactregistry/repository.py +8 -8
- pulumi_gcp/bigquery/dataset.py +75 -0
- pulumi_gcp/bigquery/get_dataset.py +11 -1
- pulumi_gcp/billing/_inputs.py +22 -0
- pulumi_gcp/billing/budget.py +50 -0
- pulumi_gcp/billing/outputs.py +20 -0
- pulumi_gcp/cloudrunv2/get_job.py +21 -1
- pulumi_gcp/cloudrunv2/job.py +157 -13
- pulumi_gcp/compute/_inputs.py +83 -0
- pulumi_gcp/compute/outputs.py +166 -1
- pulumi_gcp/dataproc/_inputs.py +100 -0
- pulumi_gcp/dataproc/metastore_service.py +172 -0
- pulumi_gcp/dataproc/outputs.py +192 -1
- pulumi_gcp/gkehub/_inputs.py +2 -2
- pulumi_gcp/gkehub/outputs.py +2 -2
- pulumi_gcp/pubsub/_inputs.py +40 -0
- pulumi_gcp/pubsub/outputs.py +66 -0
- pulumi_gcp/pubsub/subscription.py +166 -0
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/redis/get_instance.py +11 -1
- pulumi_gcp/redis/instance.py +47 -0
- pulumi_gcp/servicenetworking/__init__.py +1 -0
- pulumi_gcp/servicenetworking/vpc_service_controls.py +511 -0
- pulumi_gcp/sql/user.py +21 -7
- pulumi_gcp/vpcaccess/connector.py +2 -8
- {pulumi_gcp-7.29.0a1719364094.dist-info → pulumi_gcp-7.29.0a1719416802.dist-info}/METADATA +1 -1
- {pulumi_gcp-7.29.0a1719364094.dist-info → pulumi_gcp-7.29.0a1719416802.dist-info}/RECORD +36 -34
- {pulumi_gcp-7.29.0a1719364094.dist-info → pulumi_gcp-7.29.0a1719416802.dist-info}/WHEEL +0 -0
- {pulumi_gcp-7.29.0a1719364094.dist-info → pulumi_gcp-7.29.0a1719416802.dist-info}/top_level.txt +0 -0
pulumi_gcp/compute/outputs.py
CHANGED
@@ -440,6 +440,8 @@ __all__ = [
|
|
440
440
|
'SecurityPolicyRuleMatch',
|
441
441
|
'SecurityPolicyRuleMatchConfig',
|
442
442
|
'SecurityPolicyRuleMatchExpr',
|
443
|
+
'SecurityPolicyRuleMatchExprOptions',
|
444
|
+
'SecurityPolicyRuleMatchExprOptionsRecaptchaOptions',
|
443
445
|
'SecurityPolicyRulePreconfiguredWafConfig',
|
444
446
|
'SecurityPolicyRulePreconfiguredWafConfigExclusion',
|
445
447
|
'SecurityPolicyRulePreconfiguredWafConfigExclusionRequestCooky',
|
@@ -728,6 +730,8 @@ __all__ = [
|
|
728
730
|
'GetSecurityPolicyRuleMatchResult',
|
729
731
|
'GetSecurityPolicyRuleMatchConfigResult',
|
730
732
|
'GetSecurityPolicyRuleMatchExprResult',
|
733
|
+
'GetSecurityPolicyRuleMatchExprOptionResult',
|
734
|
+
'GetSecurityPolicyRuleMatchExprOptionRecaptchaOptionResult',
|
731
735
|
'GetSecurityPolicyRulePreconfiguredWafConfigResult',
|
732
736
|
'GetSecurityPolicyRulePreconfiguredWafConfigExclusionResult',
|
733
737
|
'GetSecurityPolicyRulePreconfiguredWafConfigExclusionRequestCookyResult',
|
@@ -31881,7 +31885,9 @@ class SecurityPolicyRuleMatch(dict):
|
|
31881
31885
|
@staticmethod
|
31882
31886
|
def __key_warning(key: str):
|
31883
31887
|
suggest = None
|
31884
|
-
if key == "
|
31888
|
+
if key == "exprOptions":
|
31889
|
+
suggest = "expr_options"
|
31890
|
+
elif key == "versionedExpr":
|
31885
31891
|
suggest = "versioned_expr"
|
31886
31892
|
|
31887
31893
|
if suggest:
|
@@ -31898,6 +31904,7 @@ class SecurityPolicyRuleMatch(dict):
|
|
31898
31904
|
def __init__(__self__, *,
|
31899
31905
|
config: Optional['outputs.SecurityPolicyRuleMatchConfig'] = None,
|
31900
31906
|
expr: Optional['outputs.SecurityPolicyRuleMatchExpr'] = None,
|
31907
|
+
expr_options: Optional['outputs.SecurityPolicyRuleMatchExprOptions'] = None,
|
31901
31908
|
versioned_expr: Optional[str] = None):
|
31902
31909
|
"""
|
31903
31910
|
:param 'SecurityPolicyRuleMatchConfigArgs' config: The configuration options available when specifying versionedExpr.
|
@@ -31905,6 +31912,8 @@ class SecurityPolicyRuleMatch(dict):
|
|
31905
31912
|
Structure is documented below.
|
31906
31913
|
:param 'SecurityPolicyRuleMatchExprArgs' expr: User defined CEVAL expression. A CEVAL expression is used to specify match criteria such as origin.ip, source.region_code and contents in the request header.
|
31907
31914
|
Structure is documented below.
|
31915
|
+
:param 'SecurityPolicyRuleMatchExprOptionsArgs' expr_options: The configuration options available when specifying a user defined CEVAL expression (i.e., 'expr').
|
31916
|
+
Structure is documented below.
|
31908
31917
|
:param str versioned_expr: Preconfigured versioned expression. If this field is specified, config must also be specified.
|
31909
31918
|
Available preconfigured expressions along with their requirements are: SRC_IPS_V1 - must specify the corresponding srcIpRange field in config.
|
31910
31919
|
Possible values are: `SRC_IPS_V1`.
|
@@ -31913,6 +31922,8 @@ class SecurityPolicyRuleMatch(dict):
|
|
31913
31922
|
pulumi.set(__self__, "config", config)
|
31914
31923
|
if expr is not None:
|
31915
31924
|
pulumi.set(__self__, "expr", expr)
|
31925
|
+
if expr_options is not None:
|
31926
|
+
pulumi.set(__self__, "expr_options", expr_options)
|
31916
31927
|
if versioned_expr is not None:
|
31917
31928
|
pulumi.set(__self__, "versioned_expr", versioned_expr)
|
31918
31929
|
|
@@ -31935,6 +31946,15 @@ class SecurityPolicyRuleMatch(dict):
|
|
31935
31946
|
"""
|
31936
31947
|
return pulumi.get(self, "expr")
|
31937
31948
|
|
31949
|
+
@property
|
31950
|
+
@pulumi.getter(name="exprOptions")
|
31951
|
+
def expr_options(self) -> Optional['outputs.SecurityPolicyRuleMatchExprOptions']:
|
31952
|
+
"""
|
31953
|
+
The configuration options available when specifying a user defined CEVAL expression (i.e., 'expr').
|
31954
|
+
Structure is documented below.
|
31955
|
+
"""
|
31956
|
+
return pulumi.get(self, "expr_options")
|
31957
|
+
|
31938
31958
|
@property
|
31939
31959
|
@pulumi.getter(name="versionedExpr")
|
31940
31960
|
def versioned_expr(self) -> Optional[str]:
|
@@ -32000,6 +32020,93 @@ class SecurityPolicyRuleMatchExpr(dict):
|
|
32000
32020
|
return pulumi.get(self, "expression")
|
32001
32021
|
|
32002
32022
|
|
32023
|
+
@pulumi.output_type
|
32024
|
+
class SecurityPolicyRuleMatchExprOptions(dict):
|
32025
|
+
@staticmethod
|
32026
|
+
def __key_warning(key: str):
|
32027
|
+
suggest = None
|
32028
|
+
if key == "recaptchaOptions":
|
32029
|
+
suggest = "recaptcha_options"
|
32030
|
+
|
32031
|
+
if suggest:
|
32032
|
+
pulumi.log.warn(f"Key '{key}' not found in SecurityPolicyRuleMatchExprOptions. Access the value via the '{suggest}' property getter instead.")
|
32033
|
+
|
32034
|
+
def __getitem__(self, key: str) -> Any:
|
32035
|
+
SecurityPolicyRuleMatchExprOptions.__key_warning(key)
|
32036
|
+
return super().__getitem__(key)
|
32037
|
+
|
32038
|
+
def get(self, key: str, default = None) -> Any:
|
32039
|
+
SecurityPolicyRuleMatchExprOptions.__key_warning(key)
|
32040
|
+
return super().get(key, default)
|
32041
|
+
|
32042
|
+
def __init__(__self__, *,
|
32043
|
+
recaptcha_options: 'outputs.SecurityPolicyRuleMatchExprOptionsRecaptchaOptions'):
|
32044
|
+
"""
|
32045
|
+
:param 'SecurityPolicyRuleMatchExprOptionsRecaptchaOptionsArgs' recaptcha_options: reCAPTCHA configuration options to be applied for the rule. If the rule does not evaluate reCAPTCHA tokens, this field has no effect.
|
32046
|
+
Structure is documented below.
|
32047
|
+
"""
|
32048
|
+
pulumi.set(__self__, "recaptcha_options", recaptcha_options)
|
32049
|
+
|
32050
|
+
@property
|
32051
|
+
@pulumi.getter(name="recaptchaOptions")
|
32052
|
+
def recaptcha_options(self) -> 'outputs.SecurityPolicyRuleMatchExprOptionsRecaptchaOptions':
|
32053
|
+
"""
|
32054
|
+
reCAPTCHA configuration options to be applied for the rule. If the rule does not evaluate reCAPTCHA tokens, this field has no effect.
|
32055
|
+
Structure is documented below.
|
32056
|
+
"""
|
32057
|
+
return pulumi.get(self, "recaptcha_options")
|
32058
|
+
|
32059
|
+
|
32060
|
+
@pulumi.output_type
|
32061
|
+
class SecurityPolicyRuleMatchExprOptionsRecaptchaOptions(dict):
|
32062
|
+
@staticmethod
|
32063
|
+
def __key_warning(key: str):
|
32064
|
+
suggest = None
|
32065
|
+
if key == "actionTokenSiteKeys":
|
32066
|
+
suggest = "action_token_site_keys"
|
32067
|
+
elif key == "sessionTokenSiteKeys":
|
32068
|
+
suggest = "session_token_site_keys"
|
32069
|
+
|
32070
|
+
if suggest:
|
32071
|
+
pulumi.log.warn(f"Key '{key}' not found in SecurityPolicyRuleMatchExprOptionsRecaptchaOptions. Access the value via the '{suggest}' property getter instead.")
|
32072
|
+
|
32073
|
+
def __getitem__(self, key: str) -> Any:
|
32074
|
+
SecurityPolicyRuleMatchExprOptionsRecaptchaOptions.__key_warning(key)
|
32075
|
+
return super().__getitem__(key)
|
32076
|
+
|
32077
|
+
def get(self, key: str, default = None) -> Any:
|
32078
|
+
SecurityPolicyRuleMatchExprOptionsRecaptchaOptions.__key_warning(key)
|
32079
|
+
return super().get(key, default)
|
32080
|
+
|
32081
|
+
def __init__(__self__, *,
|
32082
|
+
action_token_site_keys: Optional[Sequence[str]] = None,
|
32083
|
+
session_token_site_keys: Optional[Sequence[str]] = None):
|
32084
|
+
"""
|
32085
|
+
:param Sequence[str] action_token_site_keys: A list of site keys to be used during the validation of reCAPTCHA action-tokens. The provided site keys need to be created from reCAPTCHA API under the same project where the security policy is created.
|
32086
|
+
:param Sequence[str] session_token_site_keys: A list of site keys to be used during the validation of reCAPTCHA session-tokens. The provided site keys need to be created from reCAPTCHA API under the same project where the security policy is created.
|
32087
|
+
"""
|
32088
|
+
if action_token_site_keys is not None:
|
32089
|
+
pulumi.set(__self__, "action_token_site_keys", action_token_site_keys)
|
32090
|
+
if session_token_site_keys is not None:
|
32091
|
+
pulumi.set(__self__, "session_token_site_keys", session_token_site_keys)
|
32092
|
+
|
32093
|
+
@property
|
32094
|
+
@pulumi.getter(name="actionTokenSiteKeys")
|
32095
|
+
def action_token_site_keys(self) -> Optional[Sequence[str]]:
|
32096
|
+
"""
|
32097
|
+
A list of site keys to be used during the validation of reCAPTCHA action-tokens. The provided site keys need to be created from reCAPTCHA API under the same project where the security policy is created.
|
32098
|
+
"""
|
32099
|
+
return pulumi.get(self, "action_token_site_keys")
|
32100
|
+
|
32101
|
+
@property
|
32102
|
+
@pulumi.getter(name="sessionTokenSiteKeys")
|
32103
|
+
def session_token_site_keys(self) -> Optional[Sequence[str]]:
|
32104
|
+
"""
|
32105
|
+
A list of site keys to be used during the validation of reCAPTCHA session-tokens. The provided site keys need to be created from reCAPTCHA API under the same project where the security policy is created.
|
32106
|
+
"""
|
32107
|
+
return pulumi.get(self, "session_token_site_keys")
|
32108
|
+
|
32109
|
+
|
32003
32110
|
@pulumi.output_type
|
32004
32111
|
class SecurityPolicyRulePreconfiguredWafConfig(dict):
|
32005
32112
|
def __init__(__self__, *,
|
@@ -50463,14 +50570,17 @@ class GetSecurityPolicyRuleHeaderActionRequestHeadersToAddResult(dict):
|
|
50463
50570
|
class GetSecurityPolicyRuleMatchResult(dict):
|
50464
50571
|
def __init__(__self__, *,
|
50465
50572
|
configs: Sequence['outputs.GetSecurityPolicyRuleMatchConfigResult'],
|
50573
|
+
expr_options: Sequence['outputs.GetSecurityPolicyRuleMatchExprOptionResult'],
|
50466
50574
|
exprs: Sequence['outputs.GetSecurityPolicyRuleMatchExprResult'],
|
50467
50575
|
versioned_expr: str):
|
50468
50576
|
"""
|
50469
50577
|
:param Sequence['GetSecurityPolicyRuleMatchConfigArgs'] configs: The configuration options available when specifying versioned_expr. This field must be specified if versioned_expr is specified and cannot be specified if versioned_expr is not specified.
|
50578
|
+
:param Sequence['GetSecurityPolicyRuleMatchExprOptionArgs'] expr_options: The configuration options available when specifying a user defined CEVAL expression (i.e., 'expr').
|
50470
50579
|
:param Sequence['GetSecurityPolicyRuleMatchExprArgs'] exprs: User defined CEVAL expression. A CEVAL expression is used to specify match criteria such as origin.ip, source.region_code and contents in the request header.
|
50471
50580
|
:param str versioned_expr: Predefined rule expression. If this field is specified, config must also be specified. Available options: SRC_IPS_V1: Must specify the corresponding src_ip_ranges field in config.
|
50472
50581
|
"""
|
50473
50582
|
pulumi.set(__self__, "configs", configs)
|
50583
|
+
pulumi.set(__self__, "expr_options", expr_options)
|
50474
50584
|
pulumi.set(__self__, "exprs", exprs)
|
50475
50585
|
pulumi.set(__self__, "versioned_expr", versioned_expr)
|
50476
50586
|
|
@@ -50482,6 +50592,14 @@ class GetSecurityPolicyRuleMatchResult(dict):
|
|
50482
50592
|
"""
|
50483
50593
|
return pulumi.get(self, "configs")
|
50484
50594
|
|
50595
|
+
@property
|
50596
|
+
@pulumi.getter(name="exprOptions")
|
50597
|
+
def expr_options(self) -> Sequence['outputs.GetSecurityPolicyRuleMatchExprOptionResult']:
|
50598
|
+
"""
|
50599
|
+
The configuration options available when specifying a user defined CEVAL expression (i.e., 'expr').
|
50600
|
+
"""
|
50601
|
+
return pulumi.get(self, "expr_options")
|
50602
|
+
|
50485
50603
|
@property
|
50486
50604
|
@pulumi.getter
|
50487
50605
|
def exprs(self) -> Sequence['outputs.GetSecurityPolicyRuleMatchExprResult']:
|
@@ -50535,6 +50653,53 @@ class GetSecurityPolicyRuleMatchExprResult(dict):
|
|
50535
50653
|
return pulumi.get(self, "expression")
|
50536
50654
|
|
50537
50655
|
|
50656
|
+
@pulumi.output_type
|
50657
|
+
class GetSecurityPolicyRuleMatchExprOptionResult(dict):
|
50658
|
+
def __init__(__self__, *,
|
50659
|
+
recaptcha_options: Sequence['outputs.GetSecurityPolicyRuleMatchExprOptionRecaptchaOptionResult']):
|
50660
|
+
"""
|
50661
|
+
:param Sequence['GetSecurityPolicyRuleMatchExprOptionRecaptchaOptionArgs'] recaptcha_options: reCAPTCHA configuration options to be applied for the rule. If the rule does not evaluate reCAPTCHA tokens, this field has no effect.
|
50662
|
+
"""
|
50663
|
+
pulumi.set(__self__, "recaptcha_options", recaptcha_options)
|
50664
|
+
|
50665
|
+
@property
|
50666
|
+
@pulumi.getter(name="recaptchaOptions")
|
50667
|
+
def recaptcha_options(self) -> Sequence['outputs.GetSecurityPolicyRuleMatchExprOptionRecaptchaOptionResult']:
|
50668
|
+
"""
|
50669
|
+
reCAPTCHA configuration options to be applied for the rule. If the rule does not evaluate reCAPTCHA tokens, this field has no effect.
|
50670
|
+
"""
|
50671
|
+
return pulumi.get(self, "recaptcha_options")
|
50672
|
+
|
50673
|
+
|
50674
|
+
@pulumi.output_type
|
50675
|
+
class GetSecurityPolicyRuleMatchExprOptionRecaptchaOptionResult(dict):
|
50676
|
+
def __init__(__self__, *,
|
50677
|
+
action_token_site_keys: Sequence[str],
|
50678
|
+
session_token_site_keys: Sequence[str]):
|
50679
|
+
"""
|
50680
|
+
:param Sequence[str] action_token_site_keys: A list of site keys to be used during the validation of reCAPTCHA action-tokens. The provided site keys need to be created from reCAPTCHA API under the same project where the security policy is created
|
50681
|
+
:param Sequence[str] session_token_site_keys: A list of site keys to be used during the validation of reCAPTCHA session-tokens. The provided site keys need to be created from reCAPTCHA API under the same project where the security policy is created.
|
50682
|
+
"""
|
50683
|
+
pulumi.set(__self__, "action_token_site_keys", action_token_site_keys)
|
50684
|
+
pulumi.set(__self__, "session_token_site_keys", session_token_site_keys)
|
50685
|
+
|
50686
|
+
@property
|
50687
|
+
@pulumi.getter(name="actionTokenSiteKeys")
|
50688
|
+
def action_token_site_keys(self) -> Sequence[str]:
|
50689
|
+
"""
|
50690
|
+
A list of site keys to be used during the validation of reCAPTCHA action-tokens. The provided site keys need to be created from reCAPTCHA API under the same project where the security policy is created
|
50691
|
+
"""
|
50692
|
+
return pulumi.get(self, "action_token_site_keys")
|
50693
|
+
|
50694
|
+
@property
|
50695
|
+
@pulumi.getter(name="sessionTokenSiteKeys")
|
50696
|
+
def session_token_site_keys(self) -> Sequence[str]:
|
50697
|
+
"""
|
50698
|
+
A list of site keys to be used during the validation of reCAPTCHA session-tokens. The provided site keys need to be created from reCAPTCHA API under the same project where the security policy is created.
|
50699
|
+
"""
|
50700
|
+
return pulumi.get(self, "session_token_site_keys")
|
50701
|
+
|
50702
|
+
|
50538
50703
|
@pulumi.output_type
|
50539
50704
|
class GetSecurityPolicyRulePreconfiguredWafConfigResult(dict):
|
50540
50705
|
def __init__(__self__, *,
|
pulumi_gcp/dataproc/_inputs.py
CHANGED
@@ -96,6 +96,8 @@ __all__ = [
|
|
96
96
|
'MetastoreServiceNetworkConfigArgs',
|
97
97
|
'MetastoreServiceNetworkConfigConsumerArgs',
|
98
98
|
'MetastoreServiceScalingConfigArgs',
|
99
|
+
'MetastoreServiceScalingConfigAutoscalingConfigArgs',
|
100
|
+
'MetastoreServiceScalingConfigAutoscalingConfigLimitConfigArgs',
|
99
101
|
'MetastoreServiceScheduledBackupArgs',
|
100
102
|
'MetastoreServiceTelemetryConfigArgs',
|
101
103
|
'WorkflowTemplateJobArgs',
|
@@ -5737,18 +5739,36 @@ class MetastoreServiceNetworkConfigConsumerArgs:
|
|
5737
5739
|
@pulumi.input_type
|
5738
5740
|
class MetastoreServiceScalingConfigArgs:
|
5739
5741
|
def __init__(__self__, *,
|
5742
|
+
autoscaling_config: Optional[pulumi.Input['MetastoreServiceScalingConfigAutoscalingConfigArgs']] = None,
|
5740
5743
|
instance_size: Optional[pulumi.Input[str]] = None,
|
5741
5744
|
scaling_factor: Optional[pulumi.Input[float]] = None):
|
5742
5745
|
"""
|
5746
|
+
:param pulumi.Input['MetastoreServiceScalingConfigAutoscalingConfigArgs'] autoscaling_config: Represents the autoscaling configuration of a metastore service.
|
5747
|
+
Structure is documented below.
|
5743
5748
|
:param pulumi.Input[str] instance_size: Metastore instance sizes.
|
5744
5749
|
Possible values are: `EXTRA_SMALL`, `SMALL`, `MEDIUM`, `LARGE`, `EXTRA_LARGE`.
|
5745
5750
|
:param pulumi.Input[float] scaling_factor: Scaling factor, in increments of 0.1 for values less than 1.0, and increments of 1.0 for values greater than 1.0.
|
5746
5751
|
"""
|
5752
|
+
if autoscaling_config is not None:
|
5753
|
+
pulumi.set(__self__, "autoscaling_config", autoscaling_config)
|
5747
5754
|
if instance_size is not None:
|
5748
5755
|
pulumi.set(__self__, "instance_size", instance_size)
|
5749
5756
|
if scaling_factor is not None:
|
5750
5757
|
pulumi.set(__self__, "scaling_factor", scaling_factor)
|
5751
5758
|
|
5759
|
+
@property
|
5760
|
+
@pulumi.getter(name="autoscalingConfig")
|
5761
|
+
def autoscaling_config(self) -> Optional[pulumi.Input['MetastoreServiceScalingConfigAutoscalingConfigArgs']]:
|
5762
|
+
"""
|
5763
|
+
Represents the autoscaling configuration of a metastore service.
|
5764
|
+
Structure is documented below.
|
5765
|
+
"""
|
5766
|
+
return pulumi.get(self, "autoscaling_config")
|
5767
|
+
|
5768
|
+
@autoscaling_config.setter
|
5769
|
+
def autoscaling_config(self, value: Optional[pulumi.Input['MetastoreServiceScalingConfigAutoscalingConfigArgs']]):
|
5770
|
+
pulumi.set(self, "autoscaling_config", value)
|
5771
|
+
|
5752
5772
|
@property
|
5753
5773
|
@pulumi.getter(name="instanceSize")
|
5754
5774
|
def instance_size(self) -> Optional[pulumi.Input[str]]:
|
@@ -5775,6 +5795,86 @@ class MetastoreServiceScalingConfigArgs:
|
|
5775
5795
|
pulumi.set(self, "scaling_factor", value)
|
5776
5796
|
|
5777
5797
|
|
5798
|
+
@pulumi.input_type
|
5799
|
+
class MetastoreServiceScalingConfigAutoscalingConfigArgs:
|
5800
|
+
def __init__(__self__, *,
|
5801
|
+
autoscaling_enabled: Optional[pulumi.Input[bool]] = None,
|
5802
|
+
limit_config: Optional[pulumi.Input['MetastoreServiceScalingConfigAutoscalingConfigLimitConfigArgs']] = None):
|
5803
|
+
"""
|
5804
|
+
:param pulumi.Input[bool] autoscaling_enabled: Defines whether autoscaling is enabled. The default value is false.
|
5805
|
+
:param pulumi.Input['MetastoreServiceScalingConfigAutoscalingConfigLimitConfigArgs'] limit_config: Represents the limit configuration of a metastore service.
|
5806
|
+
Structure is documented below.
|
5807
|
+
"""
|
5808
|
+
if autoscaling_enabled is not None:
|
5809
|
+
pulumi.set(__self__, "autoscaling_enabled", autoscaling_enabled)
|
5810
|
+
if limit_config is not None:
|
5811
|
+
pulumi.set(__self__, "limit_config", limit_config)
|
5812
|
+
|
5813
|
+
@property
|
5814
|
+
@pulumi.getter(name="autoscalingEnabled")
|
5815
|
+
def autoscaling_enabled(self) -> Optional[pulumi.Input[bool]]:
|
5816
|
+
"""
|
5817
|
+
Defines whether autoscaling is enabled. The default value is false.
|
5818
|
+
"""
|
5819
|
+
return pulumi.get(self, "autoscaling_enabled")
|
5820
|
+
|
5821
|
+
@autoscaling_enabled.setter
|
5822
|
+
def autoscaling_enabled(self, value: Optional[pulumi.Input[bool]]):
|
5823
|
+
pulumi.set(self, "autoscaling_enabled", value)
|
5824
|
+
|
5825
|
+
@property
|
5826
|
+
@pulumi.getter(name="limitConfig")
|
5827
|
+
def limit_config(self) -> Optional[pulumi.Input['MetastoreServiceScalingConfigAutoscalingConfigLimitConfigArgs']]:
|
5828
|
+
"""
|
5829
|
+
Represents the limit configuration of a metastore service.
|
5830
|
+
Structure is documented below.
|
5831
|
+
"""
|
5832
|
+
return pulumi.get(self, "limit_config")
|
5833
|
+
|
5834
|
+
@limit_config.setter
|
5835
|
+
def limit_config(self, value: Optional[pulumi.Input['MetastoreServiceScalingConfigAutoscalingConfigLimitConfigArgs']]):
|
5836
|
+
pulumi.set(self, "limit_config", value)
|
5837
|
+
|
5838
|
+
|
5839
|
+
@pulumi.input_type
|
5840
|
+
class MetastoreServiceScalingConfigAutoscalingConfigLimitConfigArgs:
|
5841
|
+
def __init__(__self__, *,
|
5842
|
+
max_scaling_factor: Optional[pulumi.Input[float]] = None,
|
5843
|
+
min_scaling_factor: Optional[pulumi.Input[float]] = None):
|
5844
|
+
"""
|
5845
|
+
:param pulumi.Input[float] max_scaling_factor: The maximum scaling factor that the service will autoscale to. The default value is 6.0.
|
5846
|
+
:param pulumi.Input[float] min_scaling_factor: The minimum scaling factor that the service will autoscale to. The default value is 0.1.
|
5847
|
+
"""
|
5848
|
+
if max_scaling_factor is not None:
|
5849
|
+
pulumi.set(__self__, "max_scaling_factor", max_scaling_factor)
|
5850
|
+
if min_scaling_factor is not None:
|
5851
|
+
pulumi.set(__self__, "min_scaling_factor", min_scaling_factor)
|
5852
|
+
|
5853
|
+
@property
|
5854
|
+
@pulumi.getter(name="maxScalingFactor")
|
5855
|
+
def max_scaling_factor(self) -> Optional[pulumi.Input[float]]:
|
5856
|
+
"""
|
5857
|
+
The maximum scaling factor that the service will autoscale to. The default value is 6.0.
|
5858
|
+
"""
|
5859
|
+
return pulumi.get(self, "max_scaling_factor")
|
5860
|
+
|
5861
|
+
@max_scaling_factor.setter
|
5862
|
+
def max_scaling_factor(self, value: Optional[pulumi.Input[float]]):
|
5863
|
+
pulumi.set(self, "max_scaling_factor", value)
|
5864
|
+
|
5865
|
+
@property
|
5866
|
+
@pulumi.getter(name="minScalingFactor")
|
5867
|
+
def min_scaling_factor(self) -> Optional[pulumi.Input[float]]:
|
5868
|
+
"""
|
5869
|
+
The minimum scaling factor that the service will autoscale to. The default value is 0.1.
|
5870
|
+
"""
|
5871
|
+
return pulumi.get(self, "min_scaling_factor")
|
5872
|
+
|
5873
|
+
@min_scaling_factor.setter
|
5874
|
+
def min_scaling_factor(self, value: Optional[pulumi.Input[float]]):
|
5875
|
+
pulumi.set(self, "min_scaling_factor", value)
|
5876
|
+
|
5877
|
+
|
5778
5878
|
@pulumi.input_type
|
5779
5879
|
class MetastoreServiceScheduledBackupArgs:
|
5780
5880
|
def __init__(__self__, *,
|
@@ -1005,6 +1005,92 @@ class MetastoreService(pulumi.CustomResource):
|
|
1005
1005
|
"env": "test",
|
1006
1006
|
})
|
1007
1007
|
```
|
1008
|
+
### Dataproc Metastore Service Autoscaling Max Scaling Factor
|
1009
|
+
|
1010
|
+
```python
|
1011
|
+
import pulumi
|
1012
|
+
import pulumi_gcp as gcp
|
1013
|
+
|
1014
|
+
test_resource = gcp.dataproc.MetastoreService("test_resource",
|
1015
|
+
service_id="test-service",
|
1016
|
+
location="us-central1",
|
1017
|
+
database_type="SPANNER",
|
1018
|
+
hive_metastore_config=gcp.dataproc.MetastoreServiceHiveMetastoreConfigArgs(
|
1019
|
+
version="3.1.2",
|
1020
|
+
),
|
1021
|
+
scaling_config=gcp.dataproc.MetastoreServiceScalingConfigArgs(
|
1022
|
+
autoscaling_config=gcp.dataproc.MetastoreServiceScalingConfigAutoscalingConfigArgs(
|
1023
|
+
autoscaling_enabled=True,
|
1024
|
+
limit_config=gcp.dataproc.MetastoreServiceScalingConfigAutoscalingConfigLimitConfigArgs(
|
1025
|
+
max_scaling_factor=1,
|
1026
|
+
),
|
1027
|
+
),
|
1028
|
+
))
|
1029
|
+
```
|
1030
|
+
### Dataproc Metastore Service Autoscaling Min And Max Scaling Factor
|
1031
|
+
|
1032
|
+
```python
|
1033
|
+
import pulumi
|
1034
|
+
import pulumi_gcp as gcp
|
1035
|
+
|
1036
|
+
test_resource = gcp.dataproc.MetastoreService("test_resource",
|
1037
|
+
service_id="test-service",
|
1038
|
+
location="us-central1",
|
1039
|
+
database_type="SPANNER",
|
1040
|
+
hive_metastore_config=gcp.dataproc.MetastoreServiceHiveMetastoreConfigArgs(
|
1041
|
+
version="3.1.2",
|
1042
|
+
),
|
1043
|
+
scaling_config=gcp.dataproc.MetastoreServiceScalingConfigArgs(
|
1044
|
+
autoscaling_config=gcp.dataproc.MetastoreServiceScalingConfigAutoscalingConfigArgs(
|
1045
|
+
autoscaling_enabled=True,
|
1046
|
+
limit_config=gcp.dataproc.MetastoreServiceScalingConfigAutoscalingConfigLimitConfigArgs(
|
1047
|
+
min_scaling_factor=0.1,
|
1048
|
+
max_scaling_factor=1,
|
1049
|
+
),
|
1050
|
+
),
|
1051
|
+
))
|
1052
|
+
```
|
1053
|
+
### Dataproc Metastore Service Autoscaling Min Scaling Factor
|
1054
|
+
|
1055
|
+
```python
|
1056
|
+
import pulumi
|
1057
|
+
import pulumi_gcp as gcp
|
1058
|
+
|
1059
|
+
test_resource = gcp.dataproc.MetastoreService("test_resource",
|
1060
|
+
service_id="test-service",
|
1061
|
+
location="us-central1",
|
1062
|
+
database_type="SPANNER",
|
1063
|
+
hive_metastore_config=gcp.dataproc.MetastoreServiceHiveMetastoreConfigArgs(
|
1064
|
+
version="3.1.2",
|
1065
|
+
),
|
1066
|
+
scaling_config=gcp.dataproc.MetastoreServiceScalingConfigArgs(
|
1067
|
+
autoscaling_config=gcp.dataproc.MetastoreServiceScalingConfigAutoscalingConfigArgs(
|
1068
|
+
autoscaling_enabled=True,
|
1069
|
+
limit_config=gcp.dataproc.MetastoreServiceScalingConfigAutoscalingConfigLimitConfigArgs(
|
1070
|
+
min_scaling_factor=0.1,
|
1071
|
+
),
|
1072
|
+
),
|
1073
|
+
))
|
1074
|
+
```
|
1075
|
+
### Dataproc Metastore Service Autoscaling No Limit Config
|
1076
|
+
|
1077
|
+
```python
|
1078
|
+
import pulumi
|
1079
|
+
import pulumi_gcp as gcp
|
1080
|
+
|
1081
|
+
test_resource = gcp.dataproc.MetastoreService("test_resource",
|
1082
|
+
service_id="test-service",
|
1083
|
+
location="us-central1",
|
1084
|
+
database_type="SPANNER",
|
1085
|
+
hive_metastore_config=gcp.dataproc.MetastoreServiceHiveMetastoreConfigArgs(
|
1086
|
+
version="3.1.2",
|
1087
|
+
),
|
1088
|
+
scaling_config=gcp.dataproc.MetastoreServiceScalingConfigArgs(
|
1089
|
+
autoscaling_config=gcp.dataproc.MetastoreServiceScalingConfigAutoscalingConfigArgs(
|
1090
|
+
autoscaling_enabled=True,
|
1091
|
+
),
|
1092
|
+
))
|
1093
|
+
```
|
1008
1094
|
|
1009
1095
|
## Import
|
1010
1096
|
|
@@ -1258,6 +1344,92 @@ class MetastoreService(pulumi.CustomResource):
|
|
1258
1344
|
"env": "test",
|
1259
1345
|
})
|
1260
1346
|
```
|
1347
|
+
### Dataproc Metastore Service Autoscaling Max Scaling Factor
|
1348
|
+
|
1349
|
+
```python
|
1350
|
+
import pulumi
|
1351
|
+
import pulumi_gcp as gcp
|
1352
|
+
|
1353
|
+
test_resource = gcp.dataproc.MetastoreService("test_resource",
|
1354
|
+
service_id="test-service",
|
1355
|
+
location="us-central1",
|
1356
|
+
database_type="SPANNER",
|
1357
|
+
hive_metastore_config=gcp.dataproc.MetastoreServiceHiveMetastoreConfigArgs(
|
1358
|
+
version="3.1.2",
|
1359
|
+
),
|
1360
|
+
scaling_config=gcp.dataproc.MetastoreServiceScalingConfigArgs(
|
1361
|
+
autoscaling_config=gcp.dataproc.MetastoreServiceScalingConfigAutoscalingConfigArgs(
|
1362
|
+
autoscaling_enabled=True,
|
1363
|
+
limit_config=gcp.dataproc.MetastoreServiceScalingConfigAutoscalingConfigLimitConfigArgs(
|
1364
|
+
max_scaling_factor=1,
|
1365
|
+
),
|
1366
|
+
),
|
1367
|
+
))
|
1368
|
+
```
|
1369
|
+
### Dataproc Metastore Service Autoscaling Min And Max Scaling Factor
|
1370
|
+
|
1371
|
+
```python
|
1372
|
+
import pulumi
|
1373
|
+
import pulumi_gcp as gcp
|
1374
|
+
|
1375
|
+
test_resource = gcp.dataproc.MetastoreService("test_resource",
|
1376
|
+
service_id="test-service",
|
1377
|
+
location="us-central1",
|
1378
|
+
database_type="SPANNER",
|
1379
|
+
hive_metastore_config=gcp.dataproc.MetastoreServiceHiveMetastoreConfigArgs(
|
1380
|
+
version="3.1.2",
|
1381
|
+
),
|
1382
|
+
scaling_config=gcp.dataproc.MetastoreServiceScalingConfigArgs(
|
1383
|
+
autoscaling_config=gcp.dataproc.MetastoreServiceScalingConfigAutoscalingConfigArgs(
|
1384
|
+
autoscaling_enabled=True,
|
1385
|
+
limit_config=gcp.dataproc.MetastoreServiceScalingConfigAutoscalingConfigLimitConfigArgs(
|
1386
|
+
min_scaling_factor=0.1,
|
1387
|
+
max_scaling_factor=1,
|
1388
|
+
),
|
1389
|
+
),
|
1390
|
+
))
|
1391
|
+
```
|
1392
|
+
### Dataproc Metastore Service Autoscaling Min Scaling Factor
|
1393
|
+
|
1394
|
+
```python
|
1395
|
+
import pulumi
|
1396
|
+
import pulumi_gcp as gcp
|
1397
|
+
|
1398
|
+
test_resource = gcp.dataproc.MetastoreService("test_resource",
|
1399
|
+
service_id="test-service",
|
1400
|
+
location="us-central1",
|
1401
|
+
database_type="SPANNER",
|
1402
|
+
hive_metastore_config=gcp.dataproc.MetastoreServiceHiveMetastoreConfigArgs(
|
1403
|
+
version="3.1.2",
|
1404
|
+
),
|
1405
|
+
scaling_config=gcp.dataproc.MetastoreServiceScalingConfigArgs(
|
1406
|
+
autoscaling_config=gcp.dataproc.MetastoreServiceScalingConfigAutoscalingConfigArgs(
|
1407
|
+
autoscaling_enabled=True,
|
1408
|
+
limit_config=gcp.dataproc.MetastoreServiceScalingConfigAutoscalingConfigLimitConfigArgs(
|
1409
|
+
min_scaling_factor=0.1,
|
1410
|
+
),
|
1411
|
+
),
|
1412
|
+
))
|
1413
|
+
```
|
1414
|
+
### Dataproc Metastore Service Autoscaling No Limit Config
|
1415
|
+
|
1416
|
+
```python
|
1417
|
+
import pulumi
|
1418
|
+
import pulumi_gcp as gcp
|
1419
|
+
|
1420
|
+
test_resource = gcp.dataproc.MetastoreService("test_resource",
|
1421
|
+
service_id="test-service",
|
1422
|
+
location="us-central1",
|
1423
|
+
database_type="SPANNER",
|
1424
|
+
hive_metastore_config=gcp.dataproc.MetastoreServiceHiveMetastoreConfigArgs(
|
1425
|
+
version="3.1.2",
|
1426
|
+
),
|
1427
|
+
scaling_config=gcp.dataproc.MetastoreServiceScalingConfigArgs(
|
1428
|
+
autoscaling_config=gcp.dataproc.MetastoreServiceScalingConfigAutoscalingConfigArgs(
|
1429
|
+
autoscaling_enabled=True,
|
1430
|
+
),
|
1431
|
+
))
|
1432
|
+
```
|
1261
1433
|
|
1262
1434
|
## Import
|
1263
1435
|
|