pulumi-gcp 7.25.0a1717135845__py3-none-any.whl → 7.26.0__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 (203) hide show
  1. pulumi_gcp/__init__.py +144 -0
  2. pulumi_gcp/alloydb/_inputs.py +92 -0
  3. pulumi_gcp/alloydb/backup.py +12 -4
  4. pulumi_gcp/alloydb/cluster.py +72 -6
  5. pulumi_gcp/alloydb/instance.py +60 -2
  6. pulumi_gcp/alloydb/outputs.py +114 -0
  7. pulumi_gcp/appengine/_inputs.py +18 -0
  8. pulumi_gcp/appengine/domain_mapping.py +1 -1
  9. pulumi_gcp/appengine/outputs.py +16 -0
  10. pulumi_gcp/artifactregistry/get_repository_iam_policy.py +6 -2
  11. pulumi_gcp/artifactregistry/repository_iam_binding.py +21 -7
  12. pulumi_gcp/artifactregistry/repository_iam_member.py +21 -7
  13. pulumi_gcp/artifactregistry/repository_iam_policy.py +21 -7
  14. pulumi_gcp/bigquery/_inputs.py +286 -2
  15. pulumi_gcp/bigquery/connection_iam_binding.py +21 -7
  16. pulumi_gcp/bigquery/connection_iam_member.py +21 -7
  17. pulumi_gcp/bigquery/connection_iam_policy.py +21 -7
  18. pulumi_gcp/bigquery/data_transfer_config.py +14 -7
  19. pulumi_gcp/bigquery/get_connection_iam_policy.py +6 -2
  20. pulumi_gcp/bigquery/outputs.py +289 -2
  21. pulumi_gcp/bigquery/table.py +77 -35
  22. pulumi_gcp/bigqueryanalyticshub/data_exchange_iam_binding.py +21 -7
  23. pulumi_gcp/bigqueryanalyticshub/data_exchange_iam_member.py +21 -7
  24. pulumi_gcp/bigqueryanalyticshub/data_exchange_iam_policy.py +21 -7
  25. pulumi_gcp/bigqueryanalyticshub/get_data_exchange_iam_policy.py +6 -2
  26. pulumi_gcp/bigqueryanalyticshub/get_listing_iam_policy.py +6 -2
  27. pulumi_gcp/bigqueryanalyticshub/listing_iam_binding.py +21 -7
  28. pulumi_gcp/bigqueryanalyticshub/listing_iam_member.py +21 -7
  29. pulumi_gcp/bigqueryanalyticshub/listing_iam_policy.py +21 -7
  30. pulumi_gcp/bigquerydatapolicy/data_policy_iam_binding.py +21 -7
  31. pulumi_gcp/bigquerydatapolicy/data_policy_iam_member.py +21 -7
  32. pulumi_gcp/bigquerydatapolicy/data_policy_iam_policy.py +21 -7
  33. pulumi_gcp/bigquerydatapolicy/get_iam_policy.py +6 -2
  34. pulumi_gcp/certificateauthority/_inputs.py +20 -4
  35. pulumi_gcp/certificateauthority/ca_pool_iam_binding.py +21 -7
  36. pulumi_gcp/certificateauthority/ca_pool_iam_member.py +21 -7
  37. pulumi_gcp/certificateauthority/ca_pool_iam_policy.py +21 -7
  38. pulumi_gcp/certificateauthority/certificate_template.py +157 -173
  39. pulumi_gcp/certificateauthority/certificate_template_iam_binding.py +27 -0
  40. pulumi_gcp/certificateauthority/certificate_template_iam_member.py +27 -0
  41. pulumi_gcp/certificateauthority/certificate_template_iam_policy.py +27 -0
  42. pulumi_gcp/certificateauthority/get_ca_pool_iam_policy.py +6 -2
  43. pulumi_gcp/certificateauthority/get_certificate_template_iam_policy.py +6 -0
  44. pulumi_gcp/certificateauthority/outputs.py +20 -4
  45. pulumi_gcp/cloudbuildv2/connection_iam_binding.py +21 -7
  46. pulumi_gcp/cloudbuildv2/connection_iam_member.py +21 -7
  47. pulumi_gcp/cloudbuildv2/connection_iam_policy.py +21 -7
  48. pulumi_gcp/cloudbuildv2/get_connection_iam_policy.py +6 -2
  49. pulumi_gcp/clouddeploy/get_custom_target_type_iam_policy.py +6 -2
  50. pulumi_gcp/cloudfunctionsv2/function.py +0 -4
  51. pulumi_gcp/cloudfunctionsv2/function_iam_binding.py +21 -7
  52. pulumi_gcp/cloudfunctionsv2/function_iam_member.py +21 -7
  53. pulumi_gcp/cloudfunctionsv2/function_iam_policy.py +21 -7
  54. pulumi_gcp/cloudfunctionsv2/get_function_iam_policy.py +6 -2
  55. pulumi_gcp/cloudrun/_inputs.py +80 -4
  56. pulumi_gcp/cloudrun/get_service_iam_policy.py +6 -2
  57. pulumi_gcp/cloudrun/iam_binding.py +21 -7
  58. pulumi_gcp/cloudrun/iam_member.py +21 -7
  59. pulumi_gcp/cloudrun/iam_policy.py +21 -7
  60. pulumi_gcp/cloudrun/outputs.py +137 -4
  61. pulumi_gcp/cloudrunv2/get_job_iam_policy.py +6 -2
  62. pulumi_gcp/cloudrunv2/get_service.py +11 -1
  63. pulumi_gcp/cloudrunv2/get_service_iam_policy.py +6 -2
  64. pulumi_gcp/cloudrunv2/job_iam_binding.py +21 -7
  65. pulumi_gcp/cloudrunv2/job_iam_member.py +21 -7
  66. pulumi_gcp/cloudrunv2/job_iam_policy.py +21 -7
  67. pulumi_gcp/cloudrunv2/service.py +47 -0
  68. pulumi_gcp/cloudrunv2/service_iam_binding.py +21 -7
  69. pulumi_gcp/cloudrunv2/service_iam_member.py +21 -7
  70. pulumi_gcp/cloudrunv2/service_iam_policy.py +21 -7
  71. pulumi_gcp/cloudtasks/get_queue_iam_policy.py +6 -2
  72. pulumi_gcp/cloudtasks/queue_iam_binding.py +21 -7
  73. pulumi_gcp/cloudtasks/queue_iam_member.py +21 -7
  74. pulumi_gcp/cloudtasks/queue_iam_policy.py +21 -7
  75. pulumi_gcp/composer/user_workloads_secret.py +4 -4
  76. pulumi_gcp/compute/__init__.py +1 -0
  77. pulumi_gcp/compute/_inputs.py +416 -194
  78. pulumi_gcp/compute/get_subnetworks.py +157 -0
  79. pulumi_gcp/compute/instance_group_membership.py +2 -2
  80. pulumi_gcp/compute/interconnect_attachment.py +82 -0
  81. pulumi_gcp/compute/network_endpoint.py +2 -2
  82. pulumi_gcp/compute/network_endpoint_list.py +2 -2
  83. pulumi_gcp/compute/outputs.py +629 -181
  84. pulumi_gcp/compute/region_ssl_policy.py +39 -40
  85. pulumi_gcp/compute/security_policy_rule.py +55 -1
  86. pulumi_gcp/container/_inputs.py +560 -0
  87. pulumi_gcp/container/outputs.py +1106 -51
  88. pulumi_gcp/dataplex/__init__.py +15 -0
  89. pulumi_gcp/dataplex/_inputs.py +264 -0
  90. pulumi_gcp/dataplex/aspect_type.py +1077 -0
  91. pulumi_gcp/dataplex/aspect_type_iam_binding.py +779 -0
  92. pulumi_gcp/dataplex/aspect_type_iam_member.py +779 -0
  93. pulumi_gcp/dataplex/aspect_type_iam_policy.py +618 -0
  94. pulumi_gcp/dataplex/datascan_iam_binding.py +21 -7
  95. pulumi_gcp/dataplex/datascan_iam_member.py +21 -7
  96. pulumi_gcp/dataplex/datascan_iam_policy.py +21 -7
  97. pulumi_gcp/dataplex/entry_group.py +722 -0
  98. pulumi_gcp/dataplex/entry_group_iam_binding.py +779 -0
  99. pulumi_gcp/dataplex/entry_group_iam_member.py +779 -0
  100. pulumi_gcp/dataplex/entry_group_iam_policy.py +618 -0
  101. pulumi_gcp/dataplex/entry_type.py +963 -0
  102. pulumi_gcp/dataplex/entry_type_iam_binding.py +779 -0
  103. pulumi_gcp/dataplex/entry_type_iam_member.py +779 -0
  104. pulumi_gcp/dataplex/entry_type_iam_policy.py +618 -0
  105. pulumi_gcp/dataplex/get_aspect_type_iam_policy.py +168 -0
  106. pulumi_gcp/dataplex/get_datascan_iam_policy.py +6 -2
  107. pulumi_gcp/dataplex/get_entry_group_iam_policy.py +168 -0
  108. pulumi_gcp/dataplex/get_entry_type_iam_policy.py +168 -0
  109. pulumi_gcp/dataplex/get_task_iam_policy.py +6 -2
  110. pulumi_gcp/dataplex/outputs.py +188 -0
  111. pulumi_gcp/dataplex/task.py +16 -16
  112. pulumi_gcp/dataplex/task_iam_binding.py +21 -7
  113. pulumi_gcp/dataplex/task_iam_member.py +21 -7
  114. pulumi_gcp/dataplex/task_iam_policy.py +21 -7
  115. pulumi_gcp/dataproc/autoscaling_policy_iam_binding.py +21 -7
  116. pulumi_gcp/dataproc/autoscaling_policy_iam_member.py +21 -7
  117. pulumi_gcp/dataproc/autoscaling_policy_iam_policy.py +21 -7
  118. pulumi_gcp/dataproc/get_autoscaling_policy_iam_policy.py +6 -2
  119. pulumi_gcp/dataproc/get_metastore_federation_iam_policy.py +6 -2
  120. pulumi_gcp/dataproc/get_metastore_service_iam_policy.py +6 -2
  121. pulumi_gcp/dataproc/metastore_federation_iam_binding.py +21 -7
  122. pulumi_gcp/dataproc/metastore_federation_iam_member.py +21 -7
  123. pulumi_gcp/dataproc/metastore_federation_iam_policy.py +21 -7
  124. pulumi_gcp/dataproc/metastore_service_iam_binding.py +21 -7
  125. pulumi_gcp/dataproc/metastore_service_iam_member.py +21 -7
  126. pulumi_gcp/dataproc/metastore_service_iam_policy.py +21 -7
  127. pulumi_gcp/datastream/connection_profile.py +47 -0
  128. pulumi_gcp/datastream/private_connection.py +47 -0
  129. pulumi_gcp/datastream/stream.py +47 -0
  130. pulumi_gcp/firestore/field.py +4 -4
  131. pulumi_gcp/gkebackup/backup_plan_iam_binding.py +21 -7
  132. pulumi_gcp/gkebackup/backup_plan_iam_member.py +21 -7
  133. pulumi_gcp/gkebackup/backup_plan_iam_policy.py +21 -7
  134. pulumi_gcp/gkebackup/get_backup_plan_iam_policy.py +6 -2
  135. pulumi_gcp/gkebackup/get_restore_plan_iam_policy.py +6 -2
  136. pulumi_gcp/gkehub/feature_iam_binding.py +21 -7
  137. pulumi_gcp/gkehub/feature_iam_member.py +21 -7
  138. pulumi_gcp/gkehub/feature_iam_policy.py +21 -7
  139. pulumi_gcp/gkehub/get_feature_iam_policy.py +6 -2
  140. pulumi_gcp/gkehub/get_membership_iam_policy.py +6 -2
  141. pulumi_gcp/gkehub/membership_binding.py +6 -6
  142. pulumi_gcp/gkehub/membership_iam_binding.py +21 -7
  143. pulumi_gcp/gkehub/membership_iam_member.py +21 -7
  144. pulumi_gcp/gkehub/membership_iam_policy.py +21 -7
  145. pulumi_gcp/gkehub/membership_rbac_role_binding.py +4 -4
  146. pulumi_gcp/gkehub/namespace.py +4 -4
  147. pulumi_gcp/gkehub/scope_rbac_role_binding.py +4 -4
  148. pulumi_gcp/iap/tunnel_dest_group.py +2 -2
  149. pulumi_gcp/integrationconnectors/managed_zone.py +8 -8
  150. pulumi_gcp/kms/__init__.py +2 -0
  151. pulumi_gcp/kms/autokey_config.py +366 -0
  152. pulumi_gcp/kms/key_handle.py +548 -0
  153. pulumi_gcp/logging/__init__.py +4 -0
  154. pulumi_gcp/logging/_inputs.py +100 -0
  155. pulumi_gcp/logging/get_log_view_iam_policy.py +157 -0
  156. pulumi_gcp/logging/log_view_iam_binding.py +630 -0
  157. pulumi_gcp/logging/log_view_iam_member.py +630 -0
  158. pulumi_gcp/logging/log_view_iam_policy.py +449 -0
  159. pulumi_gcp/logging/outputs.py +76 -0
  160. pulumi_gcp/netapp/storage_pool.py +9 -9
  161. pulumi_gcp/networksecurity/address_group_iam_policy.py +21 -7
  162. pulumi_gcp/networksecurity/get_address_group_iam_policy.py +6 -2
  163. pulumi_gcp/networkservices/__init__.py +1 -0
  164. pulumi_gcp/networkservices/_inputs.py +245 -27
  165. pulumi_gcp/networkservices/lb_route_extension.py +663 -0
  166. pulumi_gcp/networkservices/lb_traffic_extension.py +28 -14
  167. pulumi_gcp/networkservices/outputs.py +251 -20
  168. pulumi_gcp/notebooks/get_instance_iam_policy.py +6 -2
  169. pulumi_gcp/notebooks/get_runtime_iam_policy.py +6 -2
  170. pulumi_gcp/notebooks/instance_iam_binding.py +21 -7
  171. pulumi_gcp/notebooks/instance_iam_member.py +21 -7
  172. pulumi_gcp/notebooks/instance_iam_policy.py +21 -7
  173. pulumi_gcp/notebooks/runtime_iam_binding.py +21 -7
  174. pulumi_gcp/notebooks/runtime_iam_member.py +21 -7
  175. pulumi_gcp/notebooks/runtime_iam_policy.py +21 -7
  176. pulumi_gcp/orgpolicy/policy.py +2 -2
  177. pulumi_gcp/privilegedaccessmanager/entitlement.py +7 -7
  178. pulumi_gcp/pubsub/_inputs.py +16 -0
  179. pulumi_gcp/pubsub/outputs.py +25 -0
  180. pulumi_gcp/pubsub/subscription.py +8 -4
  181. pulumi_gcp/pulumi-plugin.json +1 -1
  182. pulumi_gcp/securesourcemanager/get_instance_iam_policy.py +6 -2
  183. pulumi_gcp/sql/_inputs.py +2 -4
  184. pulumi_gcp/sql/outputs.py +6 -8
  185. pulumi_gcp/sql/user.py +4 -4
  186. pulumi_gcp/storage/_inputs.py +48 -0
  187. pulumi_gcp/storage/outputs.py +75 -0
  188. pulumi_gcp/tpu/_inputs.py +2 -2
  189. pulumi_gcp/tpu/outputs.py +2 -2
  190. pulumi_gcp/vertex/get_ai_endpoint_iam_policy.py +6 -2
  191. pulumi_gcp/workbench/get_instance_iam_policy.py +6 -2
  192. pulumi_gcp/workstations/get_workstation_config_iam_policy.py +6 -2
  193. pulumi_gcp/workstations/get_workstation_iam_policy.py +6 -2
  194. pulumi_gcp/workstations/workstation_config_iam_binding.py +21 -7
  195. pulumi_gcp/workstations/workstation_config_iam_member.py +21 -7
  196. pulumi_gcp/workstations/workstation_config_iam_policy.py +21 -7
  197. pulumi_gcp/workstations/workstation_iam_binding.py +21 -7
  198. pulumi_gcp/workstations/workstation_iam_member.py +21 -7
  199. pulumi_gcp/workstations/workstation_iam_policy.py +21 -7
  200. {pulumi_gcp-7.25.0a1717135845.dist-info → pulumi_gcp-7.26.0.dist-info}/METADATA +1 -1
  201. {pulumi_gcp-7.25.0a1717135845.dist-info → pulumi_gcp-7.26.0.dist-info}/RECORD +203 -180
  202. {pulumi_gcp-7.25.0a1717135845.dist-info → pulumi_gcp-7.26.0.dist-info}/WHEEL +0 -0
  203. {pulumi_gcp-7.25.0a1717135845.dist-info → pulumi_gcp-7.26.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,157 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import copy
6
+ import warnings
7
+ import pulumi
8
+ import pulumi.runtime
9
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
10
+ from .. import _utilities
11
+ from . import outputs
12
+
13
+ __all__ = [
14
+ 'GetSubnetworksResult',
15
+ 'AwaitableGetSubnetworksResult',
16
+ 'get_subnetworks',
17
+ 'get_subnetworks_output',
18
+ ]
19
+
20
+ @pulumi.output_type
21
+ class GetSubnetworksResult:
22
+ """
23
+ A collection of values returned by getSubnetworks.
24
+ """
25
+ def __init__(__self__, filter=None, id=None, project=None, region=None, subnetworks=None):
26
+ if filter and not isinstance(filter, str):
27
+ raise TypeError("Expected argument 'filter' to be a str")
28
+ pulumi.set(__self__, "filter", filter)
29
+ if id and not isinstance(id, str):
30
+ raise TypeError("Expected argument 'id' to be a str")
31
+ pulumi.set(__self__, "id", id)
32
+ if project and not isinstance(project, str):
33
+ raise TypeError("Expected argument 'project' to be a str")
34
+ pulumi.set(__self__, "project", project)
35
+ if region and not isinstance(region, str):
36
+ raise TypeError("Expected argument 'region' to be a str")
37
+ pulumi.set(__self__, "region", region)
38
+ if subnetworks and not isinstance(subnetworks, list):
39
+ raise TypeError("Expected argument 'subnetworks' to be a list")
40
+ pulumi.set(__self__, "subnetworks", subnetworks)
41
+
42
+ @property
43
+ @pulumi.getter
44
+ def filter(self) -> Optional[str]:
45
+ return pulumi.get(self, "filter")
46
+
47
+ @property
48
+ @pulumi.getter
49
+ def id(self) -> str:
50
+ """
51
+ The provider-assigned unique ID for this managed resource.
52
+ """
53
+ return pulumi.get(self, "id")
54
+
55
+ @property
56
+ @pulumi.getter
57
+ def project(self) -> Optional[str]:
58
+ return pulumi.get(self, "project")
59
+
60
+ @property
61
+ @pulumi.getter
62
+ def region(self) -> Optional[str]:
63
+ return pulumi.get(self, "region")
64
+
65
+ @property
66
+ @pulumi.getter
67
+ def subnetworks(self) -> Sequence['outputs.GetSubnetworksSubnetworkResult']:
68
+ """
69
+ A list of all retrieved GCE subnetworks. Structure is defined below.
70
+ """
71
+ return pulumi.get(self, "subnetworks")
72
+
73
+
74
+ class AwaitableGetSubnetworksResult(GetSubnetworksResult):
75
+ # pylint: disable=using-constant-test
76
+ def __await__(self):
77
+ if False:
78
+ yield self
79
+ return GetSubnetworksResult(
80
+ filter=self.filter,
81
+ id=self.id,
82
+ project=self.project,
83
+ region=self.region,
84
+ subnetworks=self.subnetworks)
85
+
86
+
87
+ def get_subnetworks(filter: Optional[str] = None,
88
+ project: Optional[str] = None,
89
+ region: Optional[str] = None,
90
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSubnetworksResult:
91
+ """
92
+ Get subnetworks within GCE.
93
+ See [the official documentation](https://cloud.google.com/vpc/docs/subnets)
94
+ and [API](https://cloud.google.com/compute/docs/reference/rest/v1/subnetworks/list).
95
+
96
+ ## Example Usage
97
+
98
+ ```python
99
+ import pulumi
100
+ import pulumi_gcp as gcp
101
+
102
+ my_subnetworks = gcp.compute.get_subnetworks(filter="ipCidrRange eq 192.168.178.0/24",
103
+ project="my-project",
104
+ region="us-east1")
105
+ ```
106
+
107
+
108
+ :param str filter: A string filter as defined in the [REST API](https://cloud.google.com/compute/docs/reference/rest/v1/subnetworks/list#query-parameters).
109
+ :param str project: The ID of the project in which the resource belongs. If it
110
+ is not provided, the provider project is used.
111
+ :param str region: The region this subnetwork has been created in. If
112
+ unspecified, this defaults to the region configured in the provider.
113
+ """
114
+ __args__ = dict()
115
+ __args__['filter'] = filter
116
+ __args__['project'] = project
117
+ __args__['region'] = region
118
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
119
+ __ret__ = pulumi.runtime.invoke('gcp:compute/getSubnetworks:getSubnetworks', __args__, opts=opts, typ=GetSubnetworksResult).value
120
+
121
+ return AwaitableGetSubnetworksResult(
122
+ filter=pulumi.get(__ret__, 'filter'),
123
+ id=pulumi.get(__ret__, 'id'),
124
+ project=pulumi.get(__ret__, 'project'),
125
+ region=pulumi.get(__ret__, 'region'),
126
+ subnetworks=pulumi.get(__ret__, 'subnetworks'))
127
+
128
+
129
+ @_utilities.lift_output_func(get_subnetworks)
130
+ def get_subnetworks_output(filter: Optional[pulumi.Input[Optional[str]]] = None,
131
+ project: Optional[pulumi.Input[Optional[str]]] = None,
132
+ region: Optional[pulumi.Input[Optional[str]]] = None,
133
+ opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSubnetworksResult]:
134
+ """
135
+ Get subnetworks within GCE.
136
+ See [the official documentation](https://cloud.google.com/vpc/docs/subnets)
137
+ and [API](https://cloud.google.com/compute/docs/reference/rest/v1/subnetworks/list).
138
+
139
+ ## Example Usage
140
+
141
+ ```python
142
+ import pulumi
143
+ import pulumi_gcp as gcp
144
+
145
+ my_subnetworks = gcp.compute.get_subnetworks(filter="ipCidrRange eq 192.168.178.0/24",
146
+ project="my-project",
147
+ region="us-east1")
148
+ ```
149
+
150
+
151
+ :param str filter: A string filter as defined in the [REST API](https://cloud.google.com/compute/docs/reference/rest/v1/subnetworks/list#query-parameters).
152
+ :param str project: The ID of the project in which the resource belongs. If it
153
+ is not provided, the provider project is used.
154
+ :param str region: The region this subnetwork has been created in. If
155
+ unspecified, this defaults to the region configured in the provider.
156
+ """
157
+ ...
@@ -189,7 +189,7 @@ class InstanceGroupMembership(pulumi.CustomResource):
189
189
  > **NOTE** This resource has been added to avoid a situation, where after
190
190
  Instance is recreated, it's removed from Instance Group and it's needed to
191
191
  perform `apply` twice. To avoid situations like this, please use this resource
192
- with the lifecycle `update_triggered_by` method, with the passed Instance's ID.
192
+ with the lifecycle `replace_triggered_by` method, with the passed Instance's ID.
193
193
 
194
194
  To get more information about InstanceGroupMembership, see:
195
195
 
@@ -282,7 +282,7 @@ class InstanceGroupMembership(pulumi.CustomResource):
282
282
  > **NOTE** This resource has been added to avoid a situation, where after
283
283
  Instance is recreated, it's removed from Instance Group and it's needed to
284
284
  perform `apply` twice. To avoid situations like this, please use this resource
285
- with the lifecycle `update_triggered_by` method, with the passed Instance's ID.
285
+ with the lifecycle `replace_triggered_by` method, with the passed Instance's ID.
286
286
 
287
287
  To get more information about InstanceGroupMembership, see:
288
288
 
@@ -30,6 +30,7 @@ class InterconnectAttachmentArgs:
30
30
  project: Optional[pulumi.Input[str]] = None,
31
31
  region: Optional[pulumi.Input[str]] = None,
32
32
  stack_type: Optional[pulumi.Input[str]] = None,
33
+ subnet_length: Optional[pulumi.Input[int]] = None,
33
34
  type: Optional[pulumi.Input[str]] = None,
34
35
  vlan_tag8021q: Optional[pulumi.Input[int]] = None):
35
36
  """
@@ -110,6 +111,12 @@ class InterconnectAttachmentArgs:
110
111
  This field can be both set at interconnect attachments creation and update
111
112
  interconnect attachment operations.
112
113
  Possible values are: `IPV4_IPV6`, `IPV4_ONLY`.
114
+ :param pulumi.Input[int] subnet_length: Length of the IPv4 subnet mask. Allowed values: 29 (default), 30. The default value is 29,
115
+ except for Cross-Cloud Interconnect connections that use an InterconnectRemoteLocation with a
116
+ constraints.subnetLengthRange.min equal to 30. For example, connections that use an Azure
117
+ remote location fall into this category. In these cases, the default value is 30, and
118
+ requesting 29 returns an error. Where both 29 and 30 are allowed, 29 is preferred, because it
119
+ gives Google Cloud Support more debugging visibility.
113
120
  :param pulumi.Input[str] type: The type of InterconnectAttachment you wish to create. Defaults to
114
121
  DEDICATED.
115
122
  Possible values are: `DEDICATED`, `PARTNER`, `PARTNER_PROVIDER`.
@@ -143,6 +150,8 @@ class InterconnectAttachmentArgs:
143
150
  pulumi.set(__self__, "region", region)
144
151
  if stack_type is not None:
145
152
  pulumi.set(__self__, "stack_type", stack_type)
153
+ if subnet_length is not None:
154
+ pulumi.set(__self__, "subnet_length", subnet_length)
146
155
  if type is not None:
147
156
  pulumi.set(__self__, "type", type)
148
157
  if vlan_tag8021q is not None:
@@ -378,6 +387,23 @@ class InterconnectAttachmentArgs:
378
387
  def stack_type(self, value: Optional[pulumi.Input[str]]):
379
388
  pulumi.set(self, "stack_type", value)
380
389
 
390
+ @property
391
+ @pulumi.getter(name="subnetLength")
392
+ def subnet_length(self) -> Optional[pulumi.Input[int]]:
393
+ """
394
+ Length of the IPv4 subnet mask. Allowed values: 29 (default), 30. The default value is 29,
395
+ except for Cross-Cloud Interconnect connections that use an InterconnectRemoteLocation with a
396
+ constraints.subnetLengthRange.min equal to 30. For example, connections that use an Azure
397
+ remote location fall into this category. In these cases, the default value is 30, and
398
+ requesting 29 returns an error. Where both 29 and 30 are allowed, 29 is preferred, because it
399
+ gives Google Cloud Support more debugging visibility.
400
+ """
401
+ return pulumi.get(self, "subnet_length")
402
+
403
+ @subnet_length.setter
404
+ def subnet_length(self, value: Optional[pulumi.Input[int]]):
405
+ pulumi.set(self, "subnet_length", value)
406
+
381
407
  @property
382
408
  @pulumi.getter
383
409
  def type(self) -> Optional[pulumi.Input[str]]:
@@ -434,6 +460,7 @@ class _InterconnectAttachmentState:
434
460
  self_link: Optional[pulumi.Input[str]] = None,
435
461
  stack_type: Optional[pulumi.Input[str]] = None,
436
462
  state: Optional[pulumi.Input[str]] = None,
463
+ subnet_length: Optional[pulumi.Input[int]] = None,
437
464
  type: Optional[pulumi.Input[str]] = None,
438
465
  vlan_tag8021q: Optional[pulumi.Input[int]] = None):
439
466
  """
@@ -536,6 +563,12 @@ class _InterconnectAttachmentState:
536
563
  interconnect attachment operations.
537
564
  Possible values are: `IPV4_IPV6`, `IPV4_ONLY`.
538
565
  :param pulumi.Input[str] state: [Output Only] The current state of this attachment's functionality.
566
+ :param pulumi.Input[int] subnet_length: Length of the IPv4 subnet mask. Allowed values: 29 (default), 30. The default value is 29,
567
+ except for Cross-Cloud Interconnect connections that use an InterconnectRemoteLocation with a
568
+ constraints.subnetLengthRange.min equal to 30. For example, connections that use an Azure
569
+ remote location fall into this category. In these cases, the default value is 30, and
570
+ requesting 29 returns an error. Where both 29 and 30 are allowed, 29 is preferred, because it
571
+ gives Google Cloud Support more debugging visibility.
539
572
  :param pulumi.Input[str] type: The type of InterconnectAttachment you wish to create. Defaults to
540
573
  DEDICATED.
541
574
  Possible values are: `DEDICATED`, `PARTNER`, `PARTNER_PROVIDER`.
@@ -592,6 +625,8 @@ class _InterconnectAttachmentState:
592
625
  pulumi.set(__self__, "stack_type", stack_type)
593
626
  if state is not None:
594
627
  pulumi.set(__self__, "state", state)
628
+ if subnet_length is not None:
629
+ pulumi.set(__self__, "subnet_length", subnet_length)
595
630
  if type is not None:
596
631
  pulumi.set(__self__, "type", type)
597
632
  if vlan_tag8021q is not None:
@@ -970,6 +1005,23 @@ class _InterconnectAttachmentState:
970
1005
  def state(self, value: Optional[pulumi.Input[str]]):
971
1006
  pulumi.set(self, "state", value)
972
1007
 
1008
+ @property
1009
+ @pulumi.getter(name="subnetLength")
1010
+ def subnet_length(self) -> Optional[pulumi.Input[int]]:
1011
+ """
1012
+ Length of the IPv4 subnet mask. Allowed values: 29 (default), 30. The default value is 29,
1013
+ except for Cross-Cloud Interconnect connections that use an InterconnectRemoteLocation with a
1014
+ constraints.subnetLengthRange.min equal to 30. For example, connections that use an Azure
1015
+ remote location fall into this category. In these cases, the default value is 30, and
1016
+ requesting 29 returns an error. Where both 29 and 30 are allowed, 29 is preferred, because it
1017
+ gives Google Cloud Support more debugging visibility.
1018
+ """
1019
+ return pulumi.get(self, "subnet_length")
1020
+
1021
+ @subnet_length.setter
1022
+ def subnet_length(self, value: Optional[pulumi.Input[int]]):
1023
+ pulumi.set(self, "subnet_length", value)
1024
+
973
1025
  @property
974
1026
  @pulumi.getter
975
1027
  def type(self) -> Optional[pulumi.Input[str]]:
@@ -1017,6 +1069,7 @@ class InterconnectAttachment(pulumi.CustomResource):
1017
1069
  region: Optional[pulumi.Input[str]] = None,
1018
1070
  router: Optional[pulumi.Input[str]] = None,
1019
1071
  stack_type: Optional[pulumi.Input[str]] = None,
1072
+ subnet_length: Optional[pulumi.Input[int]] = None,
1020
1073
  type: Optional[pulumi.Input[str]] = None,
1021
1074
  vlan_tag8021q: Optional[pulumi.Input[int]] = None,
1022
1075
  __props__=None):
@@ -1188,6 +1241,12 @@ class InterconnectAttachment(pulumi.CustomResource):
1188
1241
  This field can be both set at interconnect attachments creation and update
1189
1242
  interconnect attachment operations.
1190
1243
  Possible values are: `IPV4_IPV6`, `IPV4_ONLY`.
1244
+ :param pulumi.Input[int] subnet_length: Length of the IPv4 subnet mask. Allowed values: 29 (default), 30. The default value is 29,
1245
+ except for Cross-Cloud Interconnect connections that use an InterconnectRemoteLocation with a
1246
+ constraints.subnetLengthRange.min equal to 30. For example, connections that use an Azure
1247
+ remote location fall into this category. In these cases, the default value is 30, and
1248
+ requesting 29 returns an error. Where both 29 and 30 are allowed, 29 is preferred, because it
1249
+ gives Google Cloud Support more debugging visibility.
1191
1250
  :param pulumi.Input[str] type: The type of InterconnectAttachment you wish to create. Defaults to
1192
1251
  DEDICATED.
1193
1252
  Possible values are: `DEDICATED`, `PARTNER`, `PARTNER_PROVIDER`.
@@ -1319,6 +1378,7 @@ class InterconnectAttachment(pulumi.CustomResource):
1319
1378
  region: Optional[pulumi.Input[str]] = None,
1320
1379
  router: Optional[pulumi.Input[str]] = None,
1321
1380
  stack_type: Optional[pulumi.Input[str]] = None,
1381
+ subnet_length: Optional[pulumi.Input[int]] = None,
1322
1382
  type: Optional[pulumi.Input[str]] = None,
1323
1383
  vlan_tag8021q: Optional[pulumi.Input[int]] = None,
1324
1384
  __props__=None):
@@ -1346,6 +1406,7 @@ class InterconnectAttachment(pulumi.CustomResource):
1346
1406
  raise TypeError("Missing required property 'router'")
1347
1407
  __props__.__dict__["router"] = router
1348
1408
  __props__.__dict__["stack_type"] = stack_type
1409
+ __props__.__dict__["subnet_length"] = subnet_length
1349
1410
  __props__.__dict__["type"] = type
1350
1411
  __props__.__dict__["vlan_tag8021q"] = vlan_tag8021q
1351
1412
  __props__.__dict__["cloud_router_ip_address"] = None
@@ -1394,6 +1455,7 @@ class InterconnectAttachment(pulumi.CustomResource):
1394
1455
  self_link: Optional[pulumi.Input[str]] = None,
1395
1456
  stack_type: Optional[pulumi.Input[str]] = None,
1396
1457
  state: Optional[pulumi.Input[str]] = None,
1458
+ subnet_length: Optional[pulumi.Input[int]] = None,
1397
1459
  type: Optional[pulumi.Input[str]] = None,
1398
1460
  vlan_tag8021q: Optional[pulumi.Input[int]] = None) -> 'InterconnectAttachment':
1399
1461
  """
@@ -1501,6 +1563,12 @@ class InterconnectAttachment(pulumi.CustomResource):
1501
1563
  interconnect attachment operations.
1502
1564
  Possible values are: `IPV4_IPV6`, `IPV4_ONLY`.
1503
1565
  :param pulumi.Input[str] state: [Output Only] The current state of this attachment's functionality.
1566
+ :param pulumi.Input[int] subnet_length: Length of the IPv4 subnet mask. Allowed values: 29 (default), 30. The default value is 29,
1567
+ except for Cross-Cloud Interconnect connections that use an InterconnectRemoteLocation with a
1568
+ constraints.subnetLengthRange.min equal to 30. For example, connections that use an Azure
1569
+ remote location fall into this category. In these cases, the default value is 30, and
1570
+ requesting 29 returns an error. Where both 29 and 30 are allowed, 29 is preferred, because it
1571
+ gives Google Cloud Support more debugging visibility.
1504
1572
  :param pulumi.Input[str] type: The type of InterconnectAttachment you wish to create. Defaults to
1505
1573
  DEDICATED.
1506
1574
  Possible values are: `DEDICATED`, `PARTNER`, `PARTNER_PROVIDER`.
@@ -1536,6 +1604,7 @@ class InterconnectAttachment(pulumi.CustomResource):
1536
1604
  __props__.__dict__["self_link"] = self_link
1537
1605
  __props__.__dict__["stack_type"] = stack_type
1538
1606
  __props__.__dict__["state"] = state
1607
+ __props__.__dict__["subnet_length"] = subnet_length
1539
1608
  __props__.__dict__["type"] = type
1540
1609
  __props__.__dict__["vlan_tag8021q"] = vlan_tag8021q
1541
1610
  return InterconnectAttachment(resource_name, opts=opts, __props__=__props__)
@@ -1813,6 +1882,19 @@ class InterconnectAttachment(pulumi.CustomResource):
1813
1882
  """
1814
1883
  return pulumi.get(self, "state")
1815
1884
 
1885
+ @property
1886
+ @pulumi.getter(name="subnetLength")
1887
+ def subnet_length(self) -> pulumi.Output[Optional[int]]:
1888
+ """
1889
+ Length of the IPv4 subnet mask. Allowed values: 29 (default), 30. The default value is 29,
1890
+ except for Cross-Cloud Interconnect connections that use an InterconnectRemoteLocation with a
1891
+ constraints.subnetLengthRange.min equal to 30. For example, connections that use an Azure
1892
+ remote location fall into this category. In these cases, the default value is 30, and
1893
+ requesting 29 returns an error. Where both 29 and 30 are allowed, 29 is preferred, because it
1894
+ gives Google Cloud Support more debugging visibility.
1895
+ """
1896
+ return pulumi.get(self, "subnet_length")
1897
+
1816
1898
  @property
1817
1899
  @pulumi.getter
1818
1900
  def type(self) -> pulumi.Output[str]:
@@ -278,7 +278,7 @@ class NetworkEndpoint(pulumi.CustomResource):
278
278
 
279
279
  > **NOTE** In case the Endpoint's Instance is recreated, it's needed to
280
280
  perform `apply` twice. To avoid situations like this, please use this resource
281
- with the lifecycle `update_triggered_by` method, with the passed Instance's ID.
281
+ with the lifecycle `replace_triggered_by` method, with the passed Instance's ID.
282
282
 
283
283
  To get more information about NetworkEndpoint, see:
284
284
 
@@ -393,7 +393,7 @@ class NetworkEndpoint(pulumi.CustomResource):
393
393
 
394
394
  > **NOTE** In case the Endpoint's Instance is recreated, it's needed to
395
395
  perform `apply` twice. To avoid situations like this, please use this resource
396
- with the lifecycle `update_triggered_by` method, with the passed Instance's ID.
396
+ with the lifecycle `replace_triggered_by` method, with the passed Instance's ID.
397
397
 
398
398
  To get more information about NetworkEndpoint, see:
399
399
 
@@ -206,7 +206,7 @@ class NetworkEndpointList(pulumi.CustomResource):
206
206
 
207
207
  > **NOTE** In case the Endpoint's Instance is recreated, it's needed to
208
208
  perform `apply` twice. To avoid situations like this, please use this resource
209
- with the lifecycle `update_triggered_by` method, with the passed Instance's ID.
209
+ with the lifecycle `replace_triggered_by` method, with the passed Instance's ID.
210
210
 
211
211
  To get more information about NetworkEndpoints, see:
212
212
 
@@ -340,7 +340,7 @@ class NetworkEndpointList(pulumi.CustomResource):
340
340
 
341
341
  > **NOTE** In case the Endpoint's Instance is recreated, it's needed to
342
342
  perform `apply` twice. To avoid situations like this, please use this resource
343
- with the lifecycle `update_triggered_by` method, with the passed Instance's ID.
343
+ with the lifecycle `replace_triggered_by` method, with the passed Instance's ID.
344
344
 
345
345
  To get more information about NetworkEndpoints, see:
346
346