pulumi-gcp 7.16.0__py3-none-any.whl → 7.16.0a1711520590__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 +0 -8
- pulumi_gcp/accesscontextmanager/__init__.py +0 -1
- pulumi_gcp/accesscontextmanager/service_perimeter_egress_policy.py +0 -80
- pulumi_gcp/accesscontextmanager/service_perimeter_ingress_policy.py +0 -86
- pulumi_gcp/accesscontextmanager/service_perimeter_resource.py +2 -4
- pulumi_gcp/cloudquota/__init__.py +0 -1
- pulumi_gcp/cloudquota/outputs.py +0 -270
- pulumi_gcp/cloudrunv2/_inputs.py +2 -59
- pulumi_gcp/cloudrunv2/outputs.py +4 -107
- pulumi_gcp/cloudrunv2/service.py +6 -6
- pulumi_gcp/composer/_inputs.py +0 -16
- pulumi_gcp/composer/outputs.py +0 -23
- pulumi_gcp/compute/_inputs.py +7 -105
- pulumi_gcp/compute/outputs.py +9 -140
- pulumi_gcp/compute/region_url_map.py +0 -152
- pulumi_gcp/dataform/repository.py +74 -4
- pulumi_gcp/firebase/android_app.py +40 -41
- pulumi_gcp/firestore/index.py +48 -34
- pulumi_gcp/monitoring/_inputs.py +0 -2
- pulumi_gcp/monitoring/outputs.py +0 -2
- pulumi_gcp/networksecurity/firewall_endpoint.py +0 -48
- pulumi_gcp/pubsub/_inputs.py +0 -108
- pulumi_gcp/pubsub/get_topic.py +1 -11
- pulumi_gcp/pubsub/outputs.py +0 -213
- pulumi_gcp/pubsub/topic.py +0 -92
- pulumi_gcp/storage/_inputs.py +0 -40
- pulumi_gcp/storage/bucket.py +0 -54
- pulumi_gcp/storage/get_bucket.py +1 -11
- pulumi_gcp/storage/outputs.py +0 -81
- pulumi_gcp/workstations/_inputs.py +0 -113
- pulumi_gcp/workstations/outputs.py +1 -109
- pulumi_gcp/workstations/workstation_config.py +0 -106
- {pulumi_gcp-7.16.0.dist-info → pulumi_gcp-7.16.0a1711520590.dist-info}/METADATA +1 -1
- {pulumi_gcp-7.16.0.dist-info → pulumi_gcp-7.16.0a1711520590.dist-info}/RECORD +36 -38
- pulumi_gcp/accesscontextmanager/service_perimeter_dry_run_resource.py +0 -345
- pulumi_gcp/cloudquota/get_s_quota_infos.py +0 -136
- {pulumi_gcp-7.16.0.dist-info → pulumi_gcp-7.16.0a1711520590.dist-info}/WHEEL +0 -0
- {pulumi_gcp-7.16.0.dist-info → pulumi_gcp-7.16.0a1711520590.dist-info}/top_level.txt +0 -0
pulumi_gcp/compute/outputs.py
CHANGED
@@ -3717,7 +3717,7 @@ class DiskGuestOsFeature(dict):
|
|
3717
3717
|
type: str):
|
3718
3718
|
"""
|
3719
3719
|
:param str type: The type of supported feature. Read [Enabling guest operating system features](https://cloud.google.com/compute/docs/images/create-delete-deprecate-private-images#guest-os-features) to see a list of available options.
|
3720
|
-
Possible values are: `MULTI_IP_SUBNET`, `SECURE_BOOT`, `SEV_CAPABLE`, `UEFI_COMPATIBLE`, `VIRTIO_SCSI_MULTIQUEUE`, `WINDOWS`, `GVNIC`, `SEV_LIVE_MIGRATABLE`, `SEV_SNP_CAPABLE`, `SUSPEND_RESUME_COMPATIBLE`, `TDX_CAPABLE
|
3720
|
+
Possible values are: `MULTI_IP_SUBNET`, `SECURE_BOOT`, `SEV_CAPABLE`, `UEFI_COMPATIBLE`, `VIRTIO_SCSI_MULTIQUEUE`, `WINDOWS`, `GVNIC`, `SEV_LIVE_MIGRATABLE`, `SEV_SNP_CAPABLE`, `SUSPEND_RESUME_COMPATIBLE`, `TDX_CAPABLE`.
|
3721
3721
|
"""
|
3722
3722
|
pulumi.set(__self__, "type", type)
|
3723
3723
|
|
@@ -3726,7 +3726,7 @@ class DiskGuestOsFeature(dict):
|
|
3726
3726
|
def type(self) -> str:
|
3727
3727
|
"""
|
3728
3728
|
The type of supported feature. Read [Enabling guest operating system features](https://cloud.google.com/compute/docs/images/create-delete-deprecate-private-images#guest-os-features) to see a list of available options.
|
3729
|
-
Possible values are: `MULTI_IP_SUBNET`, `SECURE_BOOT`, `SEV_CAPABLE`, `UEFI_COMPATIBLE`, `VIRTIO_SCSI_MULTIQUEUE`, `WINDOWS`, `GVNIC`, `SEV_LIVE_MIGRATABLE`, `SEV_SNP_CAPABLE`, `SUSPEND_RESUME_COMPATIBLE`, `TDX_CAPABLE
|
3729
|
+
Possible values are: `MULTI_IP_SUBNET`, `SECURE_BOOT`, `SEV_CAPABLE`, `UEFI_COMPATIBLE`, `VIRTIO_SCSI_MULTIQUEUE`, `WINDOWS`, `GVNIC`, `SEV_LIVE_MIGRATABLE`, `SEV_SNP_CAPABLE`, `SUSPEND_RESUME_COMPATIBLE`, `TDX_CAPABLE`.
|
3730
3730
|
"""
|
3731
3731
|
return pulumi.get(self, "type")
|
3732
3732
|
|
@@ -9691,43 +9691,14 @@ class InstanceGroupManagerStatus(dict):
|
|
9691
9691
|
|
9692
9692
|
@pulumi.output_type
|
9693
9693
|
class InstanceGroupManagerStatusAllInstancesConfig(dict):
|
9694
|
-
@staticmethod
|
9695
|
-
def __key_warning(key: str):
|
9696
|
-
suggest = None
|
9697
|
-
if key == "currentRevision":
|
9698
|
-
suggest = "current_revision"
|
9699
|
-
|
9700
|
-
if suggest:
|
9701
|
-
pulumi.log.warn(f"Key '{key}' not found in InstanceGroupManagerStatusAllInstancesConfig. Access the value via the '{suggest}' property getter instead.")
|
9702
|
-
|
9703
|
-
def __getitem__(self, key: str) -> Any:
|
9704
|
-
InstanceGroupManagerStatusAllInstancesConfig.__key_warning(key)
|
9705
|
-
return super().__getitem__(key)
|
9706
|
-
|
9707
|
-
def get(self, key: str, default = None) -> Any:
|
9708
|
-
InstanceGroupManagerStatusAllInstancesConfig.__key_warning(key)
|
9709
|
-
return super().get(key, default)
|
9710
|
-
|
9711
9694
|
def __init__(__self__, *,
|
9712
|
-
current_revision: Optional[str] = None,
|
9713
9695
|
effective: Optional[bool] = None):
|
9714
9696
|
"""
|
9715
|
-
:param str current_revision: Current all-instances configuration revision. This value is in RFC3339 text format.
|
9716
9697
|
:param bool effective: A bit indicating whether this configuration has been applied to all managed instances in the group.
|
9717
9698
|
"""
|
9718
|
-
if current_revision is not None:
|
9719
|
-
pulumi.set(__self__, "current_revision", current_revision)
|
9720
9699
|
if effective is not None:
|
9721
9700
|
pulumi.set(__self__, "effective", effective)
|
9722
9701
|
|
9723
|
-
@property
|
9724
|
-
@pulumi.getter(name="currentRevision")
|
9725
|
-
def current_revision(self) -> Optional[str]:
|
9726
|
-
"""
|
9727
|
-
Current all-instances configuration revision. This value is in RFC3339 text format.
|
9728
|
-
"""
|
9729
|
-
return pulumi.get(self, "current_revision")
|
9730
|
-
|
9731
9702
|
@property
|
9732
9703
|
@pulumi.getter
|
9733
9704
|
def effective(self) -> Optional[bool]:
|
@@ -9763,7 +9734,7 @@ class InstanceGroupManagerStatusStateful(dict):
|
|
9763
9734
|
per_instance_configs: Optional[Sequence['outputs.InstanceGroupManagerStatusStatefulPerInstanceConfig']] = None):
|
9764
9735
|
"""
|
9765
9736
|
:param bool has_stateful_config: A bit indicating whether the managed instance group has stateful configuration, that is, if you have configured any items in a stateful policy or in per-instance configs. The group might report that it has no stateful config even when there is still some preserved state on a managed instance, for example, if you have deleted all PICs but not yet applied those deletions.
|
9766
|
-
:param Sequence['InstanceGroupManagerStatusStatefulPerInstanceConfigArgs'] per_instance_configs: Status of per-instance configs on the
|
9737
|
+
:param Sequence['InstanceGroupManagerStatusStatefulPerInstanceConfigArgs'] per_instance_configs: Status of per-instance configs on the instance.
|
9767
9738
|
"""
|
9768
9739
|
if has_stateful_config is not None:
|
9769
9740
|
pulumi.set(__self__, "has_stateful_config", has_stateful_config)
|
@@ -9782,7 +9753,7 @@ class InstanceGroupManagerStatusStateful(dict):
|
|
9782
9753
|
@pulumi.getter(name="perInstanceConfigs")
|
9783
9754
|
def per_instance_configs(self) -> Optional[Sequence['outputs.InstanceGroupManagerStatusStatefulPerInstanceConfig']]:
|
9784
9755
|
"""
|
9785
|
-
Status of per-instance configs on the
|
9756
|
+
Status of per-instance configs on the instance.
|
9786
9757
|
"""
|
9787
9758
|
return pulumi.get(self, "per_instance_configs")
|
9788
9759
|
|
@@ -18899,43 +18870,14 @@ class RegionInstanceGroupManagerStatus(dict):
|
|
18899
18870
|
|
18900
18871
|
@pulumi.output_type
|
18901
18872
|
class RegionInstanceGroupManagerStatusAllInstancesConfig(dict):
|
18902
|
-
@staticmethod
|
18903
|
-
def __key_warning(key: str):
|
18904
|
-
suggest = None
|
18905
|
-
if key == "currentRevision":
|
18906
|
-
suggest = "current_revision"
|
18907
|
-
|
18908
|
-
if suggest:
|
18909
|
-
pulumi.log.warn(f"Key '{key}' not found in RegionInstanceGroupManagerStatusAllInstancesConfig. Access the value via the '{suggest}' property getter instead.")
|
18910
|
-
|
18911
|
-
def __getitem__(self, key: str) -> Any:
|
18912
|
-
RegionInstanceGroupManagerStatusAllInstancesConfig.__key_warning(key)
|
18913
|
-
return super().__getitem__(key)
|
18914
|
-
|
18915
|
-
def get(self, key: str, default = None) -> Any:
|
18916
|
-
RegionInstanceGroupManagerStatusAllInstancesConfig.__key_warning(key)
|
18917
|
-
return super().get(key, default)
|
18918
|
-
|
18919
18873
|
def __init__(__self__, *,
|
18920
|
-
current_revision: Optional[str] = None,
|
18921
18874
|
effective: Optional[bool] = None):
|
18922
18875
|
"""
|
18923
|
-
:param str current_revision: Current all-instances configuration revision. This value is in RFC3339 text format.
|
18924
18876
|
:param bool effective: A bit indicating whether this configuration has been applied to all managed instances in the group.
|
18925
18877
|
"""
|
18926
|
-
if current_revision is not None:
|
18927
|
-
pulumi.set(__self__, "current_revision", current_revision)
|
18928
18878
|
if effective is not None:
|
18929
18879
|
pulumi.set(__self__, "effective", effective)
|
18930
18880
|
|
18931
|
-
@property
|
18932
|
-
@pulumi.getter(name="currentRevision")
|
18933
|
-
def current_revision(self) -> Optional[str]:
|
18934
|
-
"""
|
18935
|
-
Current all-instances configuration revision. This value is in RFC3339 text format.
|
18936
|
-
"""
|
18937
|
-
return pulumi.get(self, "current_revision")
|
18938
|
-
|
18939
18881
|
@property
|
18940
18882
|
@pulumi.getter
|
18941
18883
|
def effective(self) -> Optional[bool]:
|
@@ -18971,7 +18913,7 @@ class RegionInstanceGroupManagerStatusStateful(dict):
|
|
18971
18913
|
per_instance_configs: Optional[Sequence['outputs.RegionInstanceGroupManagerStatusStatefulPerInstanceConfig']] = None):
|
18972
18914
|
"""
|
18973
18915
|
:param bool has_stateful_config: A bit indicating whether the managed instance group has stateful configuration, that is, if you have configured any items in a stateful policy or in per-instance configs. The group might report that it has no stateful config even when there is still some preserved state on a managed instance, for example, if you have deleted all PICs but not yet applied those deletions.
|
18974
|
-
:param Sequence['RegionInstanceGroupManagerStatusStatefulPerInstanceConfigArgs'] per_instance_configs: Status of per-instance configs on the
|
18916
|
+
:param Sequence['RegionInstanceGroupManagerStatusStatefulPerInstanceConfigArgs'] per_instance_configs: Status of per-instance configs on the instance.
|
18975
18917
|
"""
|
18976
18918
|
if has_stateful_config is not None:
|
18977
18919
|
pulumi.set(__self__, "has_stateful_config", has_stateful_config)
|
@@ -18990,7 +18932,7 @@ class RegionInstanceGroupManagerStatusStateful(dict):
|
|
18990
18932
|
@pulumi.getter(name="perInstanceConfigs")
|
18991
18933
|
def per_instance_configs(self) -> Optional[Sequence['outputs.RegionInstanceGroupManagerStatusStatefulPerInstanceConfig']]:
|
18992
18934
|
"""
|
18993
|
-
Status of per-instance configs on the
|
18935
|
+
Status of per-instance configs on the instance.
|
18994
18936
|
"""
|
18995
18937
|
return pulumi.get(self, "per_instance_configs")
|
18996
18938
|
|
@@ -25471,8 +25413,6 @@ class RegionUrlMapPathMatcherRouteRuleMatchRule(dict):
|
|
25471
25413
|
suggest = "ignore_case"
|
25472
25414
|
elif key == "metadataFilters":
|
25473
25415
|
suggest = "metadata_filters"
|
25474
|
-
elif key == "pathTemplateMatch":
|
25475
|
-
suggest = "path_template_match"
|
25476
25416
|
elif key == "prefixMatch":
|
25477
25417
|
suggest = "prefix_match"
|
25478
25418
|
elif key == "queryParameterMatches":
|
@@ -25496,7 +25436,6 @@ class RegionUrlMapPathMatcherRouteRuleMatchRule(dict):
|
|
25496
25436
|
header_matches: Optional[Sequence['outputs.RegionUrlMapPathMatcherRouteRuleMatchRuleHeaderMatch']] = None,
|
25497
25437
|
ignore_case: Optional[bool] = None,
|
25498
25438
|
metadata_filters: Optional[Sequence['outputs.RegionUrlMapPathMatcherRouteRuleMatchRuleMetadataFilter']] = None,
|
25499
|
-
path_template_match: Optional[str] = None,
|
25500
25439
|
prefix_match: Optional[str] = None,
|
25501
25440
|
query_parameter_matches: Optional[Sequence['outputs.RegionUrlMapPathMatcherRouteRuleMatchRuleQueryParameterMatch']] = None,
|
25502
25441
|
regex_match: Optional[str] = None):
|
@@ -25523,14 +25462,6 @@ class RegionUrlMapPathMatcherRouteRuleMatchRule(dict):
|
|
25523
25462
|
UrlMap. metadataFilters only applies to Loadbalancers that have their
|
25524
25463
|
loadBalancingScheme set to INTERNAL_SELF_MANAGED.
|
25525
25464
|
Structure is documented below.
|
25526
|
-
:param str path_template_match: For satisfying the matchRule condition, the path of the request
|
25527
|
-
must match the wildcard pattern specified in pathTemplateMatch
|
25528
|
-
after removing any query parameters and anchor that may be part
|
25529
|
-
of the original URL.
|
25530
|
-
pathTemplateMatch must be between 1 and 255 characters
|
25531
|
-
(inclusive). The pattern specified by pathTemplateMatch may
|
25532
|
-
have at most 5 wildcard operators and at most 5 variable
|
25533
|
-
captures in total.
|
25534
25465
|
:param str prefix_match: For satisfying the matchRule condition, the request's path must begin with the
|
25535
25466
|
specified prefixMatch. prefixMatch must begin with a /. The value must be
|
25536
25467
|
between 1 and 1024 characters. Only one of prefixMatch, fullPathMatch or
|
@@ -25552,8 +25483,6 @@ class RegionUrlMapPathMatcherRouteRuleMatchRule(dict):
|
|
25552
25483
|
pulumi.set(__self__, "ignore_case", ignore_case)
|
25553
25484
|
if metadata_filters is not None:
|
25554
25485
|
pulumi.set(__self__, "metadata_filters", metadata_filters)
|
25555
|
-
if path_template_match is not None:
|
25556
|
-
pulumi.set(__self__, "path_template_match", path_template_match)
|
25557
25486
|
if prefix_match is not None:
|
25558
25487
|
pulumi.set(__self__, "prefix_match", prefix_match)
|
25559
25488
|
if query_parameter_matches is not None:
|
@@ -25611,21 +25540,6 @@ class RegionUrlMapPathMatcherRouteRuleMatchRule(dict):
|
|
25611
25540
|
"""
|
25612
25541
|
return pulumi.get(self, "metadata_filters")
|
25613
25542
|
|
25614
|
-
@property
|
25615
|
-
@pulumi.getter(name="pathTemplateMatch")
|
25616
|
-
def path_template_match(self) -> Optional[str]:
|
25617
|
-
"""
|
25618
|
-
For satisfying the matchRule condition, the path of the request
|
25619
|
-
must match the wildcard pattern specified in pathTemplateMatch
|
25620
|
-
after removing any query parameters and anchor that may be part
|
25621
|
-
of the original URL.
|
25622
|
-
pathTemplateMatch must be between 1 and 255 characters
|
25623
|
-
(inclusive). The pattern specified by pathTemplateMatch may
|
25624
|
-
have at most 5 wildcard operators and at most 5 variable
|
25625
|
-
captures in total.
|
25626
|
-
"""
|
25627
|
-
return pulumi.get(self, "path_template_match")
|
25628
|
-
|
25629
25543
|
@property
|
25630
25544
|
@pulumi.getter(name="prefixMatch")
|
25631
25545
|
def prefix_match(self) -> Optional[str]:
|
@@ -26775,8 +26689,6 @@ class RegionUrlMapPathMatcherRouteRuleRouteActionUrlRewrite(dict):
|
|
26775
26689
|
suggest = "host_rewrite"
|
26776
26690
|
elif key == "pathPrefixRewrite":
|
26777
26691
|
suggest = "path_prefix_rewrite"
|
26778
|
-
elif key == "pathTemplateRewrite":
|
26779
|
-
suggest = "path_template_rewrite"
|
26780
26692
|
|
26781
26693
|
if suggest:
|
26782
26694
|
pulumi.log.warn(f"Key '{key}' not found in RegionUrlMapPathMatcherRouteRuleRouteActionUrlRewrite. Access the value via the '{suggest}' property getter instead.")
|
@@ -26791,31 +26703,17 @@ class RegionUrlMapPathMatcherRouteRuleRouteActionUrlRewrite(dict):
|
|
26791
26703
|
|
26792
26704
|
def __init__(__self__, *,
|
26793
26705
|
host_rewrite: Optional[str] = None,
|
26794
|
-
path_prefix_rewrite: Optional[str] = None
|
26795
|
-
path_template_rewrite: Optional[str] = None):
|
26706
|
+
path_prefix_rewrite: Optional[str] = None):
|
26796
26707
|
"""
|
26797
26708
|
:param str host_rewrite: Before forwarding the request to the selected service, the request's host header is replaced with contents of hostRewrite.
|
26798
26709
|
The value must be from 1 to 255 characters.
|
26799
26710
|
:param str path_prefix_rewrite: Before forwarding the request to the selected backend service, the matching portion of the request's path is replaced by pathPrefixRewrite.
|
26800
26711
|
The value must be from 1 to 1024 characters.
|
26801
|
-
:param str path_template_rewrite: Prior to forwarding the request to the selected origin, if the
|
26802
|
-
request matched a pathTemplateMatch, the matching portion of the
|
26803
|
-
request's path is replaced re-written using the pattern specified
|
26804
|
-
by pathTemplateRewrite.
|
26805
|
-
pathTemplateRewrite must be between 1 and 255 characters
|
26806
|
-
(inclusive), must start with a '/', and must only use variables
|
26807
|
-
captured by the route's pathTemplate matchers.
|
26808
|
-
pathTemplateRewrite may only be used when all of a route's
|
26809
|
-
MatchRules specify pathTemplate.
|
26810
|
-
Only one of pathPrefixRewrite and pathTemplateRewrite may be
|
26811
|
-
specified.
|
26812
26712
|
"""
|
26813
26713
|
if host_rewrite is not None:
|
26814
26714
|
pulumi.set(__self__, "host_rewrite", host_rewrite)
|
26815
26715
|
if path_prefix_rewrite is not None:
|
26816
26716
|
pulumi.set(__self__, "path_prefix_rewrite", path_prefix_rewrite)
|
26817
|
-
if path_template_rewrite is not None:
|
26818
|
-
pulumi.set(__self__, "path_template_rewrite", path_template_rewrite)
|
26819
26717
|
|
26820
26718
|
@property
|
26821
26719
|
@pulumi.getter(name="hostRewrite")
|
@@ -26835,24 +26733,6 @@ class RegionUrlMapPathMatcherRouteRuleRouteActionUrlRewrite(dict):
|
|
26835
26733
|
"""
|
26836
26734
|
return pulumi.get(self, "path_prefix_rewrite")
|
26837
26735
|
|
26838
|
-
@property
|
26839
|
-
@pulumi.getter(name="pathTemplateRewrite")
|
26840
|
-
def path_template_rewrite(self) -> Optional[str]:
|
26841
|
-
"""
|
26842
|
-
Prior to forwarding the request to the selected origin, if the
|
26843
|
-
request matched a pathTemplateMatch, the matching portion of the
|
26844
|
-
request's path is replaced re-written using the pattern specified
|
26845
|
-
by pathTemplateRewrite.
|
26846
|
-
pathTemplateRewrite must be between 1 and 255 characters
|
26847
|
-
(inclusive), must start with a '/', and must only use variables
|
26848
|
-
captured by the route's pathTemplate matchers.
|
26849
|
-
pathTemplateRewrite may only be used when all of a route's
|
26850
|
-
MatchRules specify pathTemplate.
|
26851
|
-
Only one of pathPrefixRewrite and pathTemplateRewrite may be
|
26852
|
-
specified.
|
26853
|
-
"""
|
26854
|
-
return pulumi.get(self, "path_template_rewrite")
|
26855
|
-
|
26856
26736
|
|
26857
26737
|
@pulumi.output_type
|
26858
26738
|
class RegionUrlMapPathMatcherRouteRuleRouteActionWeightedBackendService(dict):
|
@@ -42334,23 +42214,12 @@ class GetInstanceGroupManagerStatusResult(dict):
|
|
42334
42214
|
@pulumi.output_type
|
42335
42215
|
class GetInstanceGroupManagerStatusAllInstancesConfigResult(dict):
|
42336
42216
|
def __init__(__self__, *,
|
42337
|
-
current_revision: str,
|
42338
42217
|
effective: bool):
|
42339
42218
|
"""
|
42340
|
-
:param str current_revision: Current all-instances configuration revision. This value is in RFC3339 text format.
|
42341
42219
|
:param bool effective: A bit indicating whether this configuration has been applied to all managed instances in the group.
|
42342
42220
|
"""
|
42343
|
-
pulumi.set(__self__, "current_revision", current_revision)
|
42344
42221
|
pulumi.set(__self__, "effective", effective)
|
42345
42222
|
|
42346
|
-
@property
|
42347
|
-
@pulumi.getter(name="currentRevision")
|
42348
|
-
def current_revision(self) -> str:
|
42349
|
-
"""
|
42350
|
-
Current all-instances configuration revision. This value is in RFC3339 text format.
|
42351
|
-
"""
|
42352
|
-
return pulumi.get(self, "current_revision")
|
42353
|
-
|
42354
42223
|
@property
|
42355
42224
|
@pulumi.getter
|
42356
42225
|
def effective(self) -> bool:
|
@@ -42367,7 +42236,7 @@ class GetInstanceGroupManagerStatusStatefulResult(dict):
|
|
42367
42236
|
per_instance_configs: Sequence['outputs.GetInstanceGroupManagerStatusStatefulPerInstanceConfigResult']):
|
42368
42237
|
"""
|
42369
42238
|
:param bool has_stateful_config: A bit indicating whether the managed instance group has stateful configuration, that is, if you have configured any items in a stateful policy or in per-instance configs. The group might report that it has no stateful config even when there is still some preserved state on a managed instance, for example, if you have deleted all PICs but not yet applied those deletions.
|
42370
|
-
:param Sequence['GetInstanceGroupManagerStatusStatefulPerInstanceConfigArgs'] per_instance_configs: Status of per-instance configs on the
|
42239
|
+
:param Sequence['GetInstanceGroupManagerStatusStatefulPerInstanceConfigArgs'] per_instance_configs: Status of per-instance configs on the instance.
|
42371
42240
|
"""
|
42372
42241
|
pulumi.set(__self__, "has_stateful_config", has_stateful_config)
|
42373
42242
|
pulumi.set(__self__, "per_instance_configs", per_instance_configs)
|
@@ -42384,7 +42253,7 @@ class GetInstanceGroupManagerStatusStatefulResult(dict):
|
|
42384
42253
|
@pulumi.getter(name="perInstanceConfigs")
|
42385
42254
|
def per_instance_configs(self) -> Sequence['outputs.GetInstanceGroupManagerStatusStatefulPerInstanceConfigResult']:
|
42386
42255
|
"""
|
42387
|
-
Status of per-instance configs on the
|
42256
|
+
Status of per-instance configs on the instance.
|
42388
42257
|
"""
|
42389
42258
|
return pulumi.get(self, "per_instance_configs")
|
42390
42259
|
|
@@ -1321,82 +1321,6 @@ class RegionUrlMap(pulumi.CustomResource):
|
|
1321
1321
|
network_tier="PREMIUM")
|
1322
1322
|
```
|
1323
1323
|
<!--End PulumiCodeChooser -->
|
1324
|
-
### Region Url Map Path Template Match
|
1325
|
-
|
1326
|
-
<!--Start PulumiCodeChooser -->
|
1327
|
-
```python
|
1328
|
-
import pulumi
|
1329
|
-
import pulumi_gcp as gcp
|
1330
|
-
|
1331
|
-
default = gcp.compute.RegionHealthCheck("default",
|
1332
|
-
region="us-central1",
|
1333
|
-
name="health-check",
|
1334
|
-
check_interval_sec=1,
|
1335
|
-
timeout_sec=1,
|
1336
|
-
http_health_check=gcp.compute.RegionHealthCheckHttpHealthCheckArgs(
|
1337
|
-
port=80,
|
1338
|
-
request_path="/",
|
1339
|
-
))
|
1340
|
-
home_backend = gcp.compute.RegionBackendService("home-backend",
|
1341
|
-
region="us-central1",
|
1342
|
-
name="home-service",
|
1343
|
-
port_name="http",
|
1344
|
-
protocol="HTTP",
|
1345
|
-
timeout_sec=10,
|
1346
|
-
load_balancing_scheme="EXTERNAL_MANAGED",
|
1347
|
-
health_checks=default.id)
|
1348
|
-
cart_backend = gcp.compute.RegionBackendService("cart-backend",
|
1349
|
-
region="us-central1",
|
1350
|
-
name="cart-service",
|
1351
|
-
port_name="http",
|
1352
|
-
protocol="HTTP",
|
1353
|
-
timeout_sec=10,
|
1354
|
-
load_balancing_scheme="EXTERNAL_MANAGED",
|
1355
|
-
health_checks=default.id)
|
1356
|
-
user_backend = gcp.compute.RegionBackendService("user-backend",
|
1357
|
-
region="us-central1",
|
1358
|
-
name="user-service",
|
1359
|
-
port_name="http",
|
1360
|
-
protocol="HTTP",
|
1361
|
-
timeout_sec=10,
|
1362
|
-
load_balancing_scheme="EXTERNAL_MANAGED",
|
1363
|
-
health_checks=default.id)
|
1364
|
-
urlmap = gcp.compute.RegionUrlMap("urlmap",
|
1365
|
-
region="us-central1",
|
1366
|
-
name="urlmap",
|
1367
|
-
description="a description",
|
1368
|
-
default_service=home_backend.id,
|
1369
|
-
host_rules=[gcp.compute.RegionUrlMapHostRuleArgs(
|
1370
|
-
hosts=["mysite.com"],
|
1371
|
-
path_matcher="mysite",
|
1372
|
-
)],
|
1373
|
-
path_matchers=[gcp.compute.RegionUrlMapPathMatcherArgs(
|
1374
|
-
name="mysite",
|
1375
|
-
default_service=home_backend.id,
|
1376
|
-
route_rules=[
|
1377
|
-
gcp.compute.RegionUrlMapPathMatcherRouteRuleArgs(
|
1378
|
-
match_rules=[gcp.compute.RegionUrlMapPathMatcherRouteRuleMatchRuleArgs(
|
1379
|
-
path_template_match="/xyzwebservices/v2/xyz/users/{username=*}/carts/{cartid=**}",
|
1380
|
-
)],
|
1381
|
-
service=cart_backend.id,
|
1382
|
-
priority=1,
|
1383
|
-
route_action=gcp.compute.RegionUrlMapPathMatcherRouteRuleRouteActionArgs(
|
1384
|
-
url_rewrite=gcp.compute.RegionUrlMapPathMatcherRouteRuleRouteActionUrlRewriteArgs(
|
1385
|
-
path_template_rewrite="/{username}-{cartid}/",
|
1386
|
-
),
|
1387
|
-
),
|
1388
|
-
),
|
1389
|
-
gcp.compute.RegionUrlMapPathMatcherRouteRuleArgs(
|
1390
|
-
match_rules=[gcp.compute.RegionUrlMapPathMatcherRouteRuleMatchRuleArgs(
|
1391
|
-
path_template_match="/xyzwebservices/v2/xyz/users/*/accountinfo/*",
|
1392
|
-
)],
|
1393
|
-
service=user_backend.id,
|
1394
|
-
priority=2,
|
1395
|
-
),
|
1396
|
-
],
|
1397
|
-
)])
|
1398
|
-
```
|
1399
|
-
<!--End PulumiCodeChooser -->
|
1400
1324
|
|
1401
1325
|
## Import
|
1402
1326
|
|
@@ -2250,82 +2174,6 @@ class RegionUrlMap(pulumi.CustomResource):
|
|
2250
2174
|
network_tier="PREMIUM")
|
2251
2175
|
```
|
2252
2176
|
<!--End PulumiCodeChooser -->
|
2253
|
-
### Region Url Map Path Template Match
|
2254
|
-
|
2255
|
-
<!--Start PulumiCodeChooser -->
|
2256
|
-
```python
|
2257
|
-
import pulumi
|
2258
|
-
import pulumi_gcp as gcp
|
2259
|
-
|
2260
|
-
default = gcp.compute.RegionHealthCheck("default",
|
2261
|
-
region="us-central1",
|
2262
|
-
name="health-check",
|
2263
|
-
check_interval_sec=1,
|
2264
|
-
timeout_sec=1,
|
2265
|
-
http_health_check=gcp.compute.RegionHealthCheckHttpHealthCheckArgs(
|
2266
|
-
port=80,
|
2267
|
-
request_path="/",
|
2268
|
-
))
|
2269
|
-
home_backend = gcp.compute.RegionBackendService("home-backend",
|
2270
|
-
region="us-central1",
|
2271
|
-
name="home-service",
|
2272
|
-
port_name="http",
|
2273
|
-
protocol="HTTP",
|
2274
|
-
timeout_sec=10,
|
2275
|
-
load_balancing_scheme="EXTERNAL_MANAGED",
|
2276
|
-
health_checks=default.id)
|
2277
|
-
cart_backend = gcp.compute.RegionBackendService("cart-backend",
|
2278
|
-
region="us-central1",
|
2279
|
-
name="cart-service",
|
2280
|
-
port_name="http",
|
2281
|
-
protocol="HTTP",
|
2282
|
-
timeout_sec=10,
|
2283
|
-
load_balancing_scheme="EXTERNAL_MANAGED",
|
2284
|
-
health_checks=default.id)
|
2285
|
-
user_backend = gcp.compute.RegionBackendService("user-backend",
|
2286
|
-
region="us-central1",
|
2287
|
-
name="user-service",
|
2288
|
-
port_name="http",
|
2289
|
-
protocol="HTTP",
|
2290
|
-
timeout_sec=10,
|
2291
|
-
load_balancing_scheme="EXTERNAL_MANAGED",
|
2292
|
-
health_checks=default.id)
|
2293
|
-
urlmap = gcp.compute.RegionUrlMap("urlmap",
|
2294
|
-
region="us-central1",
|
2295
|
-
name="urlmap",
|
2296
|
-
description="a description",
|
2297
|
-
default_service=home_backend.id,
|
2298
|
-
host_rules=[gcp.compute.RegionUrlMapHostRuleArgs(
|
2299
|
-
hosts=["mysite.com"],
|
2300
|
-
path_matcher="mysite",
|
2301
|
-
)],
|
2302
|
-
path_matchers=[gcp.compute.RegionUrlMapPathMatcherArgs(
|
2303
|
-
name="mysite",
|
2304
|
-
default_service=home_backend.id,
|
2305
|
-
route_rules=[
|
2306
|
-
gcp.compute.RegionUrlMapPathMatcherRouteRuleArgs(
|
2307
|
-
match_rules=[gcp.compute.RegionUrlMapPathMatcherRouteRuleMatchRuleArgs(
|
2308
|
-
path_template_match="/xyzwebservices/v2/xyz/users/{username=*}/carts/{cartid=**}",
|
2309
|
-
)],
|
2310
|
-
service=cart_backend.id,
|
2311
|
-
priority=1,
|
2312
|
-
route_action=gcp.compute.RegionUrlMapPathMatcherRouteRuleRouteActionArgs(
|
2313
|
-
url_rewrite=gcp.compute.RegionUrlMapPathMatcherRouteRuleRouteActionUrlRewriteArgs(
|
2314
|
-
path_template_rewrite="/{username}-{cartid}/",
|
2315
|
-
),
|
2316
|
-
),
|
2317
|
-
),
|
2318
|
-
gcp.compute.RegionUrlMapPathMatcherRouteRuleArgs(
|
2319
|
-
match_rules=[gcp.compute.RegionUrlMapPathMatcherRouteRuleMatchRuleArgs(
|
2320
|
-
path_template_match="/xyzwebservices/v2/xyz/users/*/accountinfo/*",
|
2321
|
-
)],
|
2322
|
-
service=user_backend.id,
|
2323
|
-
priority=2,
|
2324
|
-
),
|
2325
|
-
],
|
2326
|
-
)])
|
2327
|
-
```
|
2328
|
-
<!--End PulumiCodeChooser -->
|
2329
2177
|
|
2330
2178
|
## Import
|
2331
2179
|
|
@@ -416,6 +416,7 @@ class Repository(pulumi.CustomResource):
|
|
416
416
|
import pulumi
|
417
417
|
import pulumi_gcp as gcp
|
418
418
|
|
419
|
+
git_repository = gcp.sourcerepo.Repository("git_repository", name="my/repository")
|
419
420
|
secret = gcp.secretmanager.Secret("secret",
|
420
421
|
secret_id="my-secret",
|
421
422
|
replication=gcp.secretmanager.SecretReplicationArgs(
|
@@ -424,7 +425,7 @@ class Repository(pulumi.CustomResource):
|
|
424
425
|
secret_version = gcp.secretmanager.SecretVersion("secret_version",
|
425
426
|
secret=secret.id,
|
426
427
|
secret_data="secret-data")
|
427
|
-
|
428
|
+
dataform_respository = gcp.dataform.Repository("dataform_respository",
|
428
429
|
name="dataform_repository",
|
429
430
|
display_name="dataform_repository",
|
430
431
|
npmrc_environment_variables_secret_version=secret_version.id,
|
@@ -432,7 +433,7 @@ class Repository(pulumi.CustomResource):
|
|
432
433
|
"label_foo1": "label-bar1",
|
433
434
|
},
|
434
435
|
git_remote_settings=gcp.dataform.RepositoryGitRemoteSettingsArgs(
|
435
|
-
url=
|
436
|
+
url=git_repository.url,
|
436
437
|
default_branch="main",
|
437
438
|
authentication_token_secret_version=secret_version.id,
|
438
439
|
),
|
@@ -443,6 +444,40 @@ class Repository(pulumi.CustomResource):
|
|
443
444
|
))
|
444
445
|
```
|
445
446
|
<!--End PulumiCodeChooser -->
|
447
|
+
### Dataform Repository Ssh
|
448
|
+
|
449
|
+
<!--Start PulumiCodeChooser -->
|
450
|
+
```python
|
451
|
+
import pulumi
|
452
|
+
import pulumi_gcp as gcp
|
453
|
+
|
454
|
+
git_repository = gcp.sourcerepo.Repository("git_repository", name="my/repository")
|
455
|
+
secret = gcp.secretmanager.Secret("secret",
|
456
|
+
secret_id="my-secret",
|
457
|
+
replication=gcp.secretmanager.SecretReplicationArgs(
|
458
|
+
auto=gcp.secretmanager.SecretReplicationAutoArgs(),
|
459
|
+
))
|
460
|
+
secret_version = gcp.secretmanager.SecretVersion("secret_version",
|
461
|
+
secret=secret.id,
|
462
|
+
secret_data="secret-data")
|
463
|
+
dataform_respository = gcp.dataform.Repository("dataform_respository",
|
464
|
+
name="dataform_repository",
|
465
|
+
git_remote_settings=gcp.dataform.RepositoryGitRemoteSettingsArgs(
|
466
|
+
url=git_repository.url,
|
467
|
+
default_branch="main",
|
468
|
+
ssh_authentication_config=gcp.dataform.RepositoryGitRemoteSettingsSshAuthenticationConfigArgs(
|
469
|
+
user_private_key_secret_version=secret_version.id,
|
470
|
+
host_public_key="ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAklOUpkDHrfHY17SbrmTIpNLTGK9Tjom/BWDSU",
|
471
|
+
),
|
472
|
+
),
|
473
|
+
workspace_compilation_overrides=gcp.dataform.RepositoryWorkspaceCompilationOverridesArgs(
|
474
|
+
default_database="database",
|
475
|
+
schema_suffix="_suffix",
|
476
|
+
table_prefix="prefix_",
|
477
|
+
),
|
478
|
+
service_account="1234567890-compute@developer.gserviceaccount.com")
|
479
|
+
```
|
480
|
+
<!--End PulumiCodeChooser -->
|
446
481
|
|
447
482
|
## Import
|
448
483
|
|
@@ -512,6 +547,7 @@ class Repository(pulumi.CustomResource):
|
|
512
547
|
import pulumi
|
513
548
|
import pulumi_gcp as gcp
|
514
549
|
|
550
|
+
git_repository = gcp.sourcerepo.Repository("git_repository", name="my/repository")
|
515
551
|
secret = gcp.secretmanager.Secret("secret",
|
516
552
|
secret_id="my-secret",
|
517
553
|
replication=gcp.secretmanager.SecretReplicationArgs(
|
@@ -520,7 +556,7 @@ class Repository(pulumi.CustomResource):
|
|
520
556
|
secret_version = gcp.secretmanager.SecretVersion("secret_version",
|
521
557
|
secret=secret.id,
|
522
558
|
secret_data="secret-data")
|
523
|
-
|
559
|
+
dataform_respository = gcp.dataform.Repository("dataform_respository",
|
524
560
|
name="dataform_repository",
|
525
561
|
display_name="dataform_repository",
|
526
562
|
npmrc_environment_variables_secret_version=secret_version.id,
|
@@ -528,7 +564,7 @@ class Repository(pulumi.CustomResource):
|
|
528
564
|
"label_foo1": "label-bar1",
|
529
565
|
},
|
530
566
|
git_remote_settings=gcp.dataform.RepositoryGitRemoteSettingsArgs(
|
531
|
-
url=
|
567
|
+
url=git_repository.url,
|
532
568
|
default_branch="main",
|
533
569
|
authentication_token_secret_version=secret_version.id,
|
534
570
|
),
|
@@ -539,6 +575,40 @@ class Repository(pulumi.CustomResource):
|
|
539
575
|
))
|
540
576
|
```
|
541
577
|
<!--End PulumiCodeChooser -->
|
578
|
+
### Dataform Repository Ssh
|
579
|
+
|
580
|
+
<!--Start PulumiCodeChooser -->
|
581
|
+
```python
|
582
|
+
import pulumi
|
583
|
+
import pulumi_gcp as gcp
|
584
|
+
|
585
|
+
git_repository = gcp.sourcerepo.Repository("git_repository", name="my/repository")
|
586
|
+
secret = gcp.secretmanager.Secret("secret",
|
587
|
+
secret_id="my-secret",
|
588
|
+
replication=gcp.secretmanager.SecretReplicationArgs(
|
589
|
+
auto=gcp.secretmanager.SecretReplicationAutoArgs(),
|
590
|
+
))
|
591
|
+
secret_version = gcp.secretmanager.SecretVersion("secret_version",
|
592
|
+
secret=secret.id,
|
593
|
+
secret_data="secret-data")
|
594
|
+
dataform_respository = gcp.dataform.Repository("dataform_respository",
|
595
|
+
name="dataform_repository",
|
596
|
+
git_remote_settings=gcp.dataform.RepositoryGitRemoteSettingsArgs(
|
597
|
+
url=git_repository.url,
|
598
|
+
default_branch="main",
|
599
|
+
ssh_authentication_config=gcp.dataform.RepositoryGitRemoteSettingsSshAuthenticationConfigArgs(
|
600
|
+
user_private_key_secret_version=secret_version.id,
|
601
|
+
host_public_key="ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAklOUpkDHrfHY17SbrmTIpNLTGK9Tjom/BWDSU",
|
602
|
+
),
|
603
|
+
),
|
604
|
+
workspace_compilation_overrides=gcp.dataform.RepositoryWorkspaceCompilationOverridesArgs(
|
605
|
+
default_database="database",
|
606
|
+
schema_suffix="_suffix",
|
607
|
+
table_prefix="prefix_",
|
608
|
+
),
|
609
|
+
service_account="1234567890-compute@developer.gserviceaccount.com")
|
610
|
+
```
|
611
|
+
<!--End PulumiCodeChooser -->
|
542
612
|
|
543
613
|
## Import
|
544
614
|
|