pulumi-gcp 7.39.0a1726207510__py3-none-any.whl → 8.0.0a1__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 (167) hide show
  1. pulumi_gcp/__init__.py +32 -19
  2. pulumi_gcp/accesscontextmanager/access_policy.py +4 -2
  3. pulumi_gcp/activedirectory/domain.py +38 -2
  4. pulumi_gcp/activedirectory/domain_trust.py +0 -30
  5. pulumi_gcp/activedirectory/peering.py +0 -72
  6. pulumi_gcp/alloydb/cluster.py +12 -200
  7. pulumi_gcp/alloydb/instance.py +13 -5
  8. pulumi_gcp/alloydb/user.py +14 -6
  9. pulumi_gcp/apigee/keystores_aliases_self_signed_cert.py +4 -2
  10. pulumi_gcp/apigee/sync_authorization.py +4 -2
  11. pulumi_gcp/apigee/target_server.py +4 -2
  12. pulumi_gcp/appengine/firewall_rule.py +4 -2
  13. pulumi_gcp/appengine/flexible_app_version.py +4 -2
  14. pulumi_gcp/apphub/service.py +8 -4
  15. pulumi_gcp/apphub/service_project_attachment.py +8 -4
  16. pulumi_gcp/applicationintegration/client.py +0 -154
  17. pulumi_gcp/bigquery/_inputs.py +0 -70
  18. pulumi_gcp/bigquery/iam_binding.py +0 -260
  19. pulumi_gcp/bigquery/iam_member.py +0 -260
  20. pulumi_gcp/bigquery/iam_policy.py +0 -240
  21. pulumi_gcp/bigquery/outputs.py +0 -44
  22. pulumi_gcp/bigquery/reservation.py +0 -84
  23. pulumi_gcp/bigquery/table.py +0 -98
  24. pulumi_gcp/billing/project_info.py +4 -2
  25. pulumi_gcp/certificateauthority/get_authority.py +0 -20
  26. pulumi_gcp/certificatemanager/get_certificate_map.py +0 -14
  27. pulumi_gcp/cloudasset/folder_feed.py +4 -2
  28. pulumi_gcp/cloudidentity/get_group_lookup.py +0 -18
  29. pulumi_gcp/cloudidentity/get_group_memberships.py +0 -14
  30. pulumi_gcp/cloudidentity/get_groups.py +0 -14
  31. pulumi_gcp/cloudrunv2/_inputs.py +25 -25
  32. pulumi_gcp/cloudrunv2/get_job.py +11 -1
  33. pulumi_gcp/cloudrunv2/get_service.py +11 -1
  34. pulumi_gcp/cloudrunv2/job.py +50 -0
  35. pulumi_gcp/cloudrunv2/outputs.py +26 -26
  36. pulumi_gcp/cloudrunv2/service.py +54 -0
  37. pulumi_gcp/compute/_inputs.py +117 -54
  38. pulumi_gcp/compute/backend_service.py +52 -0
  39. pulumi_gcp/compute/disk_async_replication.py +0 -48
  40. pulumi_gcp/compute/firewall_policy_rule.py +4 -2
  41. pulumi_gcp/compute/forwarding_rule.py +42 -0
  42. pulumi_gcp/compute/get_backend_bucket.py +0 -14
  43. pulumi_gcp/compute/get_backend_service.py +0 -20
  44. pulumi_gcp/compute/get_certificate.py +0 -20
  45. pulumi_gcp/compute/get_forwarding_rule.py +11 -15
  46. pulumi_gcp/compute/get_forwarding_rules.py +0 -16
  47. pulumi_gcp/compute/get_global_forwarding_rule.py +0 -14
  48. pulumi_gcp/compute/get_hc_vpn_gateway.py +0 -14
  49. pulumi_gcp/compute/get_health_check.py +0 -14
  50. pulumi_gcp/compute/get_lbip_ranges.py +0 -32
  51. pulumi_gcp/compute/get_netblock_ip_ranges.py +0 -52
  52. pulumi_gcp/compute/get_network.py +0 -14
  53. pulumi_gcp/compute/get_networks.py +0 -14
  54. pulumi_gcp/compute/get_region_ssl_certificate.py +0 -20
  55. pulumi_gcp/compute/get_ssl_policy.py +0 -14
  56. pulumi_gcp/compute/get_vpn_gateway.py +0 -14
  57. pulumi_gcp/compute/global_address.py +8 -4
  58. pulumi_gcp/compute/global_forwarding_rule.py +7 -0
  59. pulumi_gcp/compute/instance_template.py +56 -63
  60. pulumi_gcp/compute/managed_ssl_certificate.py +1 -20
  61. pulumi_gcp/compute/manged_ssl_certificate.py +1 -20
  62. pulumi_gcp/compute/network_attachment.py +8 -4
  63. pulumi_gcp/compute/node_group.py +4 -2
  64. pulumi_gcp/compute/organization_security_policy_association.py +4 -2
  65. pulumi_gcp/compute/outputs.py +101 -42
  66. pulumi_gcp/compute/project_cloud_armor_tier.py +4 -2
  67. pulumi_gcp/compute/region_backend_service.py +36 -7
  68. pulumi_gcp/compute/region_instance_template.py +56 -7
  69. pulumi_gcp/compute/region_ssl_certificate.py +49 -7
  70. pulumi_gcp/compute/ssl_certificate.py +49 -7
  71. pulumi_gcp/compute/subnetwork.py +193 -23
  72. pulumi_gcp/config/__init__.pyi +3 -5
  73. pulumi_gcp/config/vars.py +6 -10
  74. pulumi_gcp/container/_inputs.py +19 -41
  75. pulumi_gcp/container/cluster.py +79 -0
  76. pulumi_gcp/container/get_cluster.py +21 -25
  77. pulumi_gcp/container/get_engine_versions.py +8 -2
  78. pulumi_gcp/container/outputs.py +17 -40
  79. pulumi_gcp/dataproc/get_metastore_service.py +0 -16
  80. pulumi_gcp/diagflow/intent.py +4 -2
  81. pulumi_gcp/dns/get_record_set.py +0 -20
  82. pulumi_gcp/edgenetwork/network.py +83 -0
  83. pulumi_gcp/edgenetwork/subnet.py +83 -0
  84. pulumi_gcp/filestore/get_instance.py +0 -20
  85. pulumi_gcp/firebase/database_instance.py +2 -0
  86. pulumi_gcp/firebase/hosting_custom_domain.py +4 -2
  87. pulumi_gcp/firebase/hosting_version.py +4 -2
  88. pulumi_gcp/firebase/project.py +2 -0
  89. pulumi_gcp/firestore/document.py +8 -4
  90. pulumi_gcp/folder/access_approval_settings.py +12 -6
  91. pulumi_gcp/gkeonprem/_inputs.py +11 -11
  92. pulumi_gcp/gkeonprem/outputs.py +9 -9
  93. pulumi_gcp/gkeonprem/v_mware_cluster.py +31 -31
  94. pulumi_gcp/gkeonprem/v_mware_node_pool.py +186 -0
  95. pulumi_gcp/iam/access_boundary_policy.py +4 -2
  96. pulumi_gcp/iam/deny_policy.py +4 -2
  97. pulumi_gcp/iam/get_workload_identity_pool.py +0 -14
  98. pulumi_gcp/iam/get_workload_identity_pool_provider.py +0 -16
  99. pulumi_gcp/iap/brand.py +4 -2
  100. pulumi_gcp/iap/client.py +4 -2
  101. pulumi_gcp/iap/get_client.py +0 -18
  102. pulumi_gcp/identityplatform/__init__.py +0 -1
  103. pulumi_gcp/identityplatform/_inputs.py +0 -396
  104. pulumi_gcp/identityplatform/config.py +2 -0
  105. pulumi_gcp/identityplatform/outputs.py +0 -313
  106. pulumi_gcp/integrationconnectors/managed_zone.py +4 -2
  107. pulumi_gcp/kms/__init__.py +4 -0
  108. pulumi_gcp/kms/_inputs.py +130 -0
  109. pulumi_gcp/kms/autokey_config.py +6 -2
  110. pulumi_gcp/kms/ekm_connection_iam_binding.py +1097 -0
  111. pulumi_gcp/kms/ekm_connection_iam_member.py +1097 -0
  112. pulumi_gcp/kms/ekm_connection_iam_policy.py +916 -0
  113. pulumi_gcp/kms/get_ekm_connection_iam_policy.py +177 -0
  114. pulumi_gcp/kms/key_handle.py +8 -2
  115. pulumi_gcp/kms/outputs.py +76 -0
  116. pulumi_gcp/logging/folder_settings.py +4 -2
  117. pulumi_gcp/monitoring/get_secret_version.py +2 -2
  118. pulumi_gcp/monitoring/monitored_project.py +4 -2
  119. pulumi_gcp/networksecurity/firewall_endpoint_association.py +12 -44
  120. pulumi_gcp/networkservices/_inputs.py +23 -0
  121. pulumi_gcp/networkservices/outputs.py +17 -1
  122. pulumi_gcp/networkservices/tcp_route.py +2 -0
  123. pulumi_gcp/organizations/access_approval_settings.py +4 -2
  124. pulumi_gcp/organizations/folder.py +35 -1
  125. pulumi_gcp/organizations/get_active_folder.py +0 -16
  126. pulumi_gcp/organizations/get_client_config.py +16 -15
  127. pulumi_gcp/organizations/get_folder.py +11 -1
  128. pulumi_gcp/organizations/get_project.py +3 -13
  129. pulumi_gcp/organizations/project.py +3 -87
  130. pulumi_gcp/orgpolicy/policy.py +12 -6
  131. pulumi_gcp/projects/api_key.py +2 -52
  132. pulumi_gcp/provider.py +32 -52
  133. pulumi_gcp/pubsub/topic.py +1 -1
  134. pulumi_gcp/pulumi-plugin.json +1 -1
  135. pulumi_gcp/redis/cluster.py +58 -0
  136. pulumi_gcp/redis/get_instance.py +0 -20
  137. pulumi_gcp/resourcemanager/lien.py +4 -2
  138. pulumi_gcp/secretmanager/get_secret_version.py +2 -2
  139. pulumi_gcp/securitycenter/__init__.py +1 -0
  140. pulumi_gcp/securitycenter/folder_custom_module.py +8 -4
  141. pulumi_gcp/securitycenter/management_folder_security_health_analytics_custom_module.py +8 -4
  142. pulumi_gcp/securitycenter/v2_organization_scc_big_query_exports.py +862 -0
  143. pulumi_gcp/serviceusage/consumer_quota_override.py +12 -6
  144. pulumi_gcp/spanner/get_instance.py +0 -14
  145. pulumi_gcp/sql/_inputs.py +3 -36
  146. pulumi_gcp/sql/outputs.py +6 -49
  147. pulumi_gcp/storage/_inputs.py +23 -23
  148. pulumi_gcp/storage/bucket.py +6 -6
  149. pulumi_gcp/storage/outputs.py +27 -27
  150. pulumi_gcp/tags/get_tag_key.py +0 -30
  151. pulumi_gcp/tags/get_tag_keys.py +0 -26
  152. pulumi_gcp/tags/get_tag_value.py +0 -16
  153. pulumi_gcp/tags/get_tag_values.py +0 -14
  154. pulumi_gcp/tags/tag_binding.py +4 -2
  155. pulumi_gcp/vertex/ai_feature_online_store_featureview.py +4 -2
  156. pulumi_gcp/vmwareengine/network.py +4 -2
  157. pulumi_gcp/vpcaccess/connector.py +14 -6
  158. pulumi_gcp/vpcaccess/get_connector.py +6 -2
  159. {pulumi_gcp-7.39.0a1726207510.dist-info → pulumi_gcp-8.0.0a1.dist-info}/METADATA +1 -1
  160. {pulumi_gcp-7.39.0a1726207510.dist-info → pulumi_gcp-8.0.0a1.dist-info}/RECORD +162 -162
  161. pulumi_gcp/datastore/__init__.py +0 -10
  162. pulumi_gcp/datastore/_inputs.py +0 -76
  163. pulumi_gcp/datastore/data_store_index.py +0 -515
  164. pulumi_gcp/datastore/outputs.py +0 -51
  165. pulumi_gcp/identityplatform/project_default_config.py +0 -357
  166. {pulumi_gcp-7.39.0a1726207510.dist-info → pulumi_gcp-8.0.0a1.dist-info}/WHEEL +0 -0
  167. {pulumi_gcp-7.39.0a1726207510.dist-info → pulumi_gcp-8.0.0a1.dist-info}/top_level.txt +0 -0
@@ -220,13 +220,6 @@ def get_health_check(name: Optional[str] = None,
220
220
 
221
221
  ## Example Usage
222
222
 
223
- ```python
224
- import pulumi
225
- import pulumi_gcp as gcp
226
-
227
- health_check = gcp.compute.get_health_check(name="my-hc")
228
- ```
229
-
230
223
 
231
224
  :param str name: Name of the resource.
232
225
 
@@ -271,13 +264,6 @@ def get_health_check_output(name: Optional[pulumi.Input[str]] = None,
271
264
 
272
265
  ## Example Usage
273
266
 
274
- ```python
275
- import pulumi
276
- import pulumi_gcp as gcp
277
-
278
- health_check = gcp.compute.get_health_check(name="my-hc")
279
- ```
280
-
281
267
 
282
268
  :param str name: Name of the resource.
283
269
 
@@ -80,22 +80,6 @@ def get_lbip_ranges(opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGet
80
80
  https://cloud.google.com/compute/docs/load-balancing/health-checks#health_check_source_ips_and_firewall_rules
81
81
 
82
82
  ## Example Usage
83
-
84
- ```python
85
- import pulumi
86
- import pulumi_gcp as gcp
87
-
88
- ranges = gcp.compute.get_lbip_ranges()
89
- lb = gcp.compute.Firewall("lb",
90
- name="lb-firewall",
91
- network=main["name"],
92
- allows=[{
93
- "protocol": "tcp",
94
- "ports": ["80"],
95
- }],
96
- source_ranges=ranges.networks,
97
- target_tags=["InstanceBehindLoadBalancer"])
98
- ```
99
83
  """
100
84
  __args__ = dict()
101
85
  opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
@@ -115,21 +99,5 @@ def get_lbip_ranges_output(opts: Optional[pulumi.InvokeOptions] = None) -> pulum
115
99
  https://cloud.google.com/compute/docs/load-balancing/health-checks#health_check_source_ips_and_firewall_rules
116
100
 
117
101
  ## Example Usage
118
-
119
- ```python
120
- import pulumi
121
- import pulumi_gcp as gcp
122
-
123
- ranges = gcp.compute.get_lbip_ranges()
124
- lb = gcp.compute.Firewall("lb",
125
- name="lb-firewall",
126
- network=main["name"],
127
- allows=[{
128
- "protocol": "tcp",
129
- "ports": ["80"],
130
- }],
131
- source_ranges=ranges.networks,
132
- target_tags=["InstanceBehindLoadBalancer"])
133
- ```
134
102
  """
135
103
  ...
@@ -103,34 +103,8 @@ def get_netblock_ip_ranges(range_type: Optional[str] = None,
103
103
 
104
104
  ### Cloud Ranges
105
105
 
106
- ```python
107
- import pulumi
108
- import pulumi_gcp as gcp
109
-
110
- netblock = gcp.compute.get_netblock_ip_ranges()
111
- pulumi.export("cidrBlocks", netblock.cidr_blocks)
112
- pulumi.export("cidrBlocksIpv4", netblock.cidr_blocks_ipv4s)
113
- pulumi.export("cidrBlocksIpv6", netblock.cidr_blocks_ipv6s)
114
- ```
115
-
116
106
  ### Allow Health Checks
117
107
 
118
- ```python
119
- import pulumi
120
- import pulumi_gcp as gcp
121
-
122
- legacy_hcs = gcp.compute.get_netblock_ip_ranges(range_type="legacy-health-checkers")
123
- default = gcp.compute.Network("default", name="test-network")
124
- allow_hcs = gcp.compute.Firewall("allow-hcs",
125
- name="allow-hcs",
126
- network=default.name,
127
- allows=[{
128
- "protocol": "tcp",
129
- "ports": ["80"],
130
- }],
131
- source_ranges=legacy_hcs.cidr_blocks_ipv4s)
132
- ```
133
-
134
108
 
135
109
  :param str range_type: The type of range for which to provide results.
136
110
 
@@ -175,34 +149,8 @@ def get_netblock_ip_ranges_output(range_type: Optional[pulumi.Input[Optional[str
175
149
 
176
150
  ### Cloud Ranges
177
151
 
178
- ```python
179
- import pulumi
180
- import pulumi_gcp as gcp
181
-
182
- netblock = gcp.compute.get_netblock_ip_ranges()
183
- pulumi.export("cidrBlocks", netblock.cidr_blocks)
184
- pulumi.export("cidrBlocksIpv4", netblock.cidr_blocks_ipv4s)
185
- pulumi.export("cidrBlocksIpv6", netblock.cidr_blocks_ipv6s)
186
- ```
187
-
188
152
  ### Allow Health Checks
189
153
 
190
- ```python
191
- import pulumi
192
- import pulumi_gcp as gcp
193
-
194
- legacy_hcs = gcp.compute.get_netblock_ip_ranges(range_type="legacy-health-checkers")
195
- default = gcp.compute.Network("default", name="test-network")
196
- allow_hcs = gcp.compute.Firewall("allow-hcs",
197
- name="allow-hcs",
198
- network=default.name,
199
- allows=[{
200
- "protocol": "tcp",
201
- "ports": ["80"],
202
- }],
203
- source_ranges=legacy_hcs.cidr_blocks_ipv4s)
204
- ```
205
-
206
154
 
207
155
  :param str range_type: The type of range for which to provide results.
208
156
 
@@ -135,13 +135,6 @@ def get_network(name: Optional[str] = None,
135
135
 
136
136
  ## Example Usage
137
137
 
138
- ```python
139
- import pulumi
140
- import pulumi_gcp as gcp
141
-
142
- my_network = gcp.compute.get_network(name="default-us-east1")
143
- ```
144
-
145
138
 
146
139
  :param str name: The name of the network.
147
140
 
@@ -176,13 +169,6 @@ def get_network_output(name: Optional[pulumi.Input[str]] = None,
176
169
 
177
170
  ## Example Usage
178
171
 
179
- ```python
180
- import pulumi
181
- import pulumi_gcp as gcp
182
-
183
- my_network = gcp.compute.get_network(name="default-us-east1")
184
- ```
185
-
186
172
 
187
173
  :param str name: The name of the network.
188
174
 
@@ -92,13 +92,6 @@ def get_networks(project: Optional[str] = None,
92
92
 
93
93
  ## Example Usage
94
94
 
95
- ```python
96
- import pulumi
97
- import pulumi_gcp as gcp
98
-
99
- my_networks = gcp.compute.get_networks(project="my-cloud-project")
100
- ```
101
-
102
95
 
103
96
  :param str project: The name of the project.
104
97
  """
@@ -122,13 +115,6 @@ def get_networks_output(project: Optional[pulumi.Input[Optional[str]]] = None,
122
115
 
123
116
  ## Example Usage
124
117
 
125
- ```python
126
- import pulumi
127
- import pulumi_gcp as gcp
128
-
129
- my_networks = gcp.compute.get_networks(project="my-cloud-project")
130
- ```
131
-
132
118
 
133
119
  :param str project: The name of the project.
134
120
  """
@@ -157,16 +157,6 @@ def get_region_ssl_certificate(name: Optional[str] = None,
157
157
 
158
158
  ## Example Usage
159
159
 
160
- ```python
161
- import pulumi
162
- import pulumi_gcp as gcp
163
-
164
- my_cert = gcp.compute.get_region_ssl_certificate(name="my-cert")
165
- pulumi.export("certificate", my_cert.certificate)
166
- pulumi.export("certificateId", my_cert.certificate_id)
167
- pulumi.export("selfLink", my_cert.self_link)
168
- ```
169
-
170
160
 
171
161
  :param str name: The name of the certificate.
172
162
 
@@ -208,16 +198,6 @@ def get_region_ssl_certificate_output(name: Optional[pulumi.Input[str]] = None,
208
198
 
209
199
  ## Example Usage
210
200
 
211
- ```python
212
- import pulumi
213
- import pulumi_gcp as gcp
214
-
215
- my_cert = gcp.compute.get_region_ssl_certificate(name="my-cert")
216
- pulumi.export("certificate", my_cert.certificate)
217
- pulumi.export("certificateId", my_cert.certificate_id)
218
- pulumi.export("selfLink", my_cert.self_link)
219
- ```
220
-
221
201
 
222
202
  :param str name: The name of the certificate.
223
203
 
@@ -171,13 +171,6 @@ def get_ssl_policy(name: Optional[str] = None,
171
171
 
172
172
  ## Example Usage
173
173
 
174
- ```python
175
- import pulumi
176
- import pulumi_gcp as gcp
177
-
178
- my_ssl_policy = gcp.compute.get_ssl_policy(name="production-ssl-policy")
179
- ```
180
-
181
174
 
182
175
  :param str name: The name of the SSL Policy.
183
176
 
@@ -215,13 +208,6 @@ def get_ssl_policy_output(name: Optional[pulumi.Input[str]] = None,
215
208
 
216
209
  ## Example Usage
217
210
 
218
- ```python
219
- import pulumi
220
- import pulumi_gcp as gcp
221
-
222
- my_ssl_policy = gcp.compute.get_ssl_policy(name="production-ssl-policy")
223
- ```
224
-
225
211
 
226
212
  :param str name: The name of the SSL Policy.
227
213
 
@@ -124,13 +124,6 @@ def get_vpn_gateway(name: Optional[str] = None,
124
124
 
125
125
  ## Example Usage
126
126
 
127
- ```python
128
- import pulumi
129
- import pulumi_gcp as gcp
130
-
131
- my_vpn_gateway = gcp.compute.get_vpn_gateway(name="vpn-gateway-us-east1")
132
- ```
133
-
134
127
 
135
128
  :param str name: The name of the VPN gateway.
136
129
 
@@ -168,13 +161,6 @@ def get_vpn_gateway_output(name: Optional[pulumi.Input[str]] = None,
168
161
 
169
162
  ## Example Usage
170
163
 
171
- ```python
172
- import pulumi
173
- import pulumi_gcp as gcp
174
-
175
- my_vpn_gateway = gcp.compute.get_vpn_gateway(name="vpn-gateway-us-east1")
176
- ```
177
-
178
164
 
179
165
  :param str name: The name of the VPN gateway.
180
166
 
@@ -273,7 +273,8 @@ class _GlobalAddressState:
273
273
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_labels: All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
274
274
  :param pulumi.Input[str] ip_version: The IP Version that will be used by this address. The default value is `IPV4`.
275
275
  Possible values are: `IPV4`, `IPV6`.
276
- :param pulumi.Input[str] label_fingerprint: The fingerprint used for optimistic locking of this resource. Used internally during updates.
276
+ :param pulumi.Input[str] label_fingerprint: The fingerprint used for optimistic locking of this resource. Used
277
+ internally during updates.
277
278
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Labels to apply to this address. A list of key->value pairs.
278
279
 
279
280
  **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
@@ -419,7 +420,8 @@ class _GlobalAddressState:
419
420
  @pulumi.getter(name="labelFingerprint")
420
421
  def label_fingerprint(self) -> Optional[pulumi.Input[str]]:
421
422
  """
422
- The fingerprint used for optimistic locking of this resource. Used internally during updates.
423
+ The fingerprint used for optimistic locking of this resource. Used
424
+ internally during updates.
423
425
  """
424
426
  return pulumi.get(self, "label_fingerprint")
425
427
 
@@ -827,7 +829,8 @@ class GlobalAddress(pulumi.CustomResource):
827
829
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_labels: All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
828
830
  :param pulumi.Input[str] ip_version: The IP Version that will be used by this address. The default value is `IPV4`.
829
831
  Possible values are: `IPV4`, `IPV6`.
830
- :param pulumi.Input[str] label_fingerprint: The fingerprint used for optimistic locking of this resource. Used internally during updates.
832
+ :param pulumi.Input[str] label_fingerprint: The fingerprint used for optimistic locking of this resource. Used
833
+ internally during updates.
831
834
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Labels to apply to this address. A list of key->value pairs.
832
835
 
833
836
  **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
@@ -939,7 +942,8 @@ class GlobalAddress(pulumi.CustomResource):
939
942
  @pulumi.getter(name="labelFingerprint")
940
943
  def label_fingerprint(self) -> pulumi.Output[str]:
941
944
  """
942
- The fingerprint used for optimistic locking of this resource. Used internally during updates.
945
+ The fingerprint used for optimistic locking of this resource. Used
946
+ internally during updates.
943
947
  """
944
948
  return pulumi.get(self, "label_fingerprint")
945
949
 
@@ -158,6 +158,7 @@ class GlobalForwardingRuleArgs:
158
158
  For internal forwarding rules within the same VPC network, two or more
159
159
  forwarding rules cannot use the same `[IPAddress, IPProtocol]` pair, and
160
160
  cannot have overlapping `portRange`s.
161
+ @pattern: \\d+(?:-\\d+)?
161
162
  :param pulumi.Input[str] project: The ID of the project in which the resource belongs.
162
163
  If it is not provided, the provider project is used.
163
164
  :param pulumi.Input['GlobalForwardingRuleServiceDirectoryRegistrationsArgs'] service_directory_registrations: Service Directory resources to register this forwarding rule with.
@@ -459,6 +460,7 @@ class GlobalForwardingRuleArgs:
459
460
  For internal forwarding rules within the same VPC network, two or more
460
461
  forwarding rules cannot use the same `[IPAddress, IPProtocol]` pair, and
461
462
  cannot have overlapping `portRange`s.
463
+ @pattern: \\d+(?:-\\d+)?
462
464
  """
463
465
  return pulumi.get(self, "port_range")
464
466
 
@@ -661,6 +663,7 @@ class _GlobalForwardingRuleState:
661
663
  For internal forwarding rules within the same VPC network, two or more
662
664
  forwarding rules cannot use the same `[IPAddress, IPProtocol]` pair, and
663
665
  cannot have overlapping `portRange`s.
666
+ @pattern: \\d+(?:-\\d+)?
664
667
  :param pulumi.Input[str] project: The ID of the project in which the resource belongs.
665
668
  If it is not provided, the provider project is used.
666
669
  :param pulumi.Input[str] psc_connection_id: The PSC connection id of the PSC Forwarding Rule.
@@ -1008,6 +1011,7 @@ class _GlobalForwardingRuleState:
1008
1011
  For internal forwarding rules within the same VPC network, two or more
1009
1012
  forwarding rules cannot use the same `[IPAddress, IPProtocol]` pair, and
1010
1013
  cannot have overlapping `portRange`s.
1014
+ @pattern: \\d+(?:-\\d+)?
1011
1015
  """
1012
1016
  return pulumi.get(self, "port_range")
1013
1017
 
@@ -1648,6 +1652,7 @@ class GlobalForwardingRule(pulumi.CustomResource):
1648
1652
  For internal forwarding rules within the same VPC network, two or more
1649
1653
  forwarding rules cannot use the same `[IPAddress, IPProtocol]` pair, and
1650
1654
  cannot have overlapping `portRange`s.
1655
+ @pattern: \\d+(?:-\\d+)?
1651
1656
  :param pulumi.Input[str] project: The ID of the project in which the resource belongs.
1652
1657
  If it is not provided, the provider project is used.
1653
1658
  :param pulumi.Input[Union['GlobalForwardingRuleServiceDirectoryRegistrationsArgs', 'GlobalForwardingRuleServiceDirectoryRegistrationsArgsDict']] service_directory_registrations: Service Directory resources to register this forwarding rule with.
@@ -2272,6 +2277,7 @@ class GlobalForwardingRule(pulumi.CustomResource):
2272
2277
  For internal forwarding rules within the same VPC network, two or more
2273
2278
  forwarding rules cannot use the same `[IPAddress, IPProtocol]` pair, and
2274
2279
  cannot have overlapping `portRange`s.
2280
+ @pattern: \\d+(?:-\\d+)?
2275
2281
  :param pulumi.Input[str] project: The ID of the project in which the resource belongs.
2276
2282
  If it is not provided, the provider project is used.
2277
2283
  :param pulumi.Input[str] psc_connection_id: The PSC connection id of the PSC Forwarding Rule.
@@ -2544,6 +2550,7 @@ class GlobalForwardingRule(pulumi.CustomResource):
2544
2550
  For internal forwarding rules within the same VPC network, two or more
2545
2551
  forwarding rules cannot use the same `[IPAddress, IPProtocol]` pair, and
2546
2552
  cannot have overlapping `portRange`s.
2553
+ @pattern: \\d+(?:-\\d+)?
2547
2554
  """
2548
2555
  return pulumi.get(self, "port_range")
2549
2556
 
@@ -84,7 +84,14 @@ class InstanceTemplateArgs:
84
84
  :param pulumi.Input[str] name: The name of the instance template. If you leave
85
85
  this blank, the provider will auto-generate a unique name.
86
86
  :param pulumi.Input[str] name_prefix: Creates a unique name beginning with the specified
87
- prefix. Conflicts with `name`.
87
+ prefix. Conflicts with `name`. Max length is 54 characters.
88
+ Prefixes with lengths longer than 37 characters will use a shortened
89
+ UUID that will be more prone to collisions.
90
+
91
+ Resulting name for a `name_prefix` <= 37 characters:
92
+ `name_prefix` + YYYYmmddHHSSssss + 8 digit incremental counter
93
+ Resulting name for a `name_prefix` 38 - 54 characters:
94
+ `name_prefix` + YYmmdd + 3 digit incremental counter
88
95
  :param pulumi.Input[Sequence[pulumi.Input['InstanceTemplateNetworkInterfaceArgs']]] network_interfaces: Networks to attach to instances created from
89
96
  this template. This can be specified multiple times for multiple networks.
90
97
  Structure is documented below.
@@ -359,7 +366,14 @@ class InstanceTemplateArgs:
359
366
  def name_prefix(self) -> Optional[pulumi.Input[str]]:
360
367
  """
361
368
  Creates a unique name beginning with the specified
362
- prefix. Conflicts with `name`.
369
+ prefix. Conflicts with `name`. Max length is 54 characters.
370
+ Prefixes with lengths longer than 37 characters will use a shortened
371
+ UUID that will be more prone to collisions.
372
+
373
+ Resulting name for a `name_prefix` <= 37 characters:
374
+ `name_prefix` + YYYYmmddHHSSssss + 8 digit incremental counter
375
+ Resulting name for a `name_prefix` 38 - 54 characters:
376
+ `name_prefix` + YYmmdd + 3 digit incremental counter
363
377
  """
364
378
  return pulumi.get(self, "name_prefix")
365
379
 
@@ -602,7 +616,14 @@ class _InstanceTemplateState:
602
616
  :param pulumi.Input[str] name: The name of the instance template. If you leave
603
617
  this blank, the provider will auto-generate a unique name.
604
618
  :param pulumi.Input[str] name_prefix: Creates a unique name beginning with the specified
605
- prefix. Conflicts with `name`.
619
+ prefix. Conflicts with `name`. Max length is 54 characters.
620
+ Prefixes with lengths longer than 37 characters will use a shortened
621
+ UUID that will be more prone to collisions.
622
+
623
+ Resulting name for a `name_prefix` <= 37 characters:
624
+ `name_prefix` + YYYYmmddHHSSssss + 8 digit incremental counter
625
+ Resulting name for a `name_prefix` 38 - 54 characters:
626
+ `name_prefix` + YYmmdd + 3 digit incremental counter
606
627
  :param pulumi.Input[Sequence[pulumi.Input['InstanceTemplateNetworkInterfaceArgs']]] network_interfaces: Networks to attach to instances created from
607
628
  this template. This can be specified multiple times for multiple networks.
608
629
  Structure is documented below.
@@ -920,7 +941,14 @@ class _InstanceTemplateState:
920
941
  def name_prefix(self) -> Optional[pulumi.Input[str]]:
921
942
  """
922
943
  Creates a unique name beginning with the specified
923
- prefix. Conflicts with `name`.
944
+ prefix. Conflicts with `name`. Max length is 54 characters.
945
+ Prefixes with lengths longer than 37 characters will use a shortened
946
+ UUID that will be more prone to collisions.
947
+
948
+ Resulting name for a `name_prefix` <= 37 characters:
949
+ `name_prefix` + YYYYmmddHHSSssss + 8 digit incremental counter
950
+ Resulting name for a `name_prefix` 38 - 54 characters:
951
+ `name_prefix` + YYmmdd + 3 digit incremental counter
924
952
  """
925
953
  return pulumi.get(self, "name_prefix")
926
954
 
@@ -1337,38 +1365,10 @@ class InstanceTemplate(pulumi.CustomResource):
1337
1365
  data source, which will retrieve the latest image on every `pulumi apply`, and will update
1338
1366
  the template to use that specific image:
1339
1367
 
1340
- ```python
1341
- import pulumi
1342
- import pulumi_gcp as gcp
1343
-
1344
- my_image = gcp.compute.get_image(family="debian-11",
1345
- project="debian-cloud")
1346
- instance_template = gcp.compute.InstanceTemplate("instance_template",
1347
- name_prefix="instance-template-",
1348
- machine_type="e2-medium",
1349
- region="us-central1",
1350
- disks=[{
1351
- "source_image": my_image.self_link,
1352
- }])
1353
- ```
1354
-
1355
1368
  To have instances update to the latest on every scaling event or instance re-creation,
1356
1369
  use the family as the image for the disk, and it will use GCP's default behavior, setting
1357
1370
  the image for the template to the family:
1358
1371
 
1359
- ```python
1360
- import pulumi
1361
- import pulumi_gcp as gcp
1362
-
1363
- instance_template = gcp.compute.InstanceTemplate("instance_template",
1364
- name_prefix="instance-template-",
1365
- machine_type="e2-medium",
1366
- region="us-central1",
1367
- disks=[{
1368
- "source_image": "debian-cloud/debian-11",
1369
- }])
1370
- ```
1371
-
1372
1372
  ## Import
1373
1373
 
1374
1374
  Instance templates can be imported using any of these accepted formats:
@@ -1429,7 +1429,14 @@ class InstanceTemplate(pulumi.CustomResource):
1429
1429
  :param pulumi.Input[str] name: The name of the instance template. If you leave
1430
1430
  this blank, the provider will auto-generate a unique name.
1431
1431
  :param pulumi.Input[str] name_prefix: Creates a unique name beginning with the specified
1432
- prefix. Conflicts with `name`.
1432
+ prefix. Conflicts with `name`. Max length is 54 characters.
1433
+ Prefixes with lengths longer than 37 characters will use a shortened
1434
+ UUID that will be more prone to collisions.
1435
+
1436
+ Resulting name for a `name_prefix` <= 37 characters:
1437
+ `name_prefix` + YYYYmmddHHSSssss + 8 digit incremental counter
1438
+ Resulting name for a `name_prefix` 38 - 54 characters:
1439
+ `name_prefix` + YYmmdd + 3 digit incremental counter
1433
1440
  :param pulumi.Input[Sequence[pulumi.Input[Union['InstanceTemplateNetworkInterfaceArgs', 'InstanceTemplateNetworkInterfaceArgsDict']]]] network_interfaces: Networks to attach to instances created from
1434
1441
  this template. This can be specified multiple times for multiple networks.
1435
1442
  Structure is documented below.
@@ -1631,38 +1638,10 @@ class InstanceTemplate(pulumi.CustomResource):
1631
1638
  data source, which will retrieve the latest image on every `pulumi apply`, and will update
1632
1639
  the template to use that specific image:
1633
1640
 
1634
- ```python
1635
- import pulumi
1636
- import pulumi_gcp as gcp
1637
-
1638
- my_image = gcp.compute.get_image(family="debian-11",
1639
- project="debian-cloud")
1640
- instance_template = gcp.compute.InstanceTemplate("instance_template",
1641
- name_prefix="instance-template-",
1642
- machine_type="e2-medium",
1643
- region="us-central1",
1644
- disks=[{
1645
- "source_image": my_image.self_link,
1646
- }])
1647
- ```
1648
-
1649
1641
  To have instances update to the latest on every scaling event or instance re-creation,
1650
1642
  use the family as the image for the disk, and it will use GCP's default behavior, setting
1651
1643
  the image for the template to the family:
1652
1644
 
1653
- ```python
1654
- import pulumi
1655
- import pulumi_gcp as gcp
1656
-
1657
- instance_template = gcp.compute.InstanceTemplate("instance_template",
1658
- name_prefix="instance-template-",
1659
- machine_type="e2-medium",
1660
- region="us-central1",
1661
- disks=[{
1662
- "source_image": "debian-cloud/debian-11",
1663
- }])
1664
- ```
1665
-
1666
1645
  ## Import
1667
1646
 
1668
1647
  Instance templates can be imported using any of these accepted formats:
@@ -1863,7 +1842,14 @@ class InstanceTemplate(pulumi.CustomResource):
1863
1842
  :param pulumi.Input[str] name: The name of the instance template. If you leave
1864
1843
  this blank, the provider will auto-generate a unique name.
1865
1844
  :param pulumi.Input[str] name_prefix: Creates a unique name beginning with the specified
1866
- prefix. Conflicts with `name`.
1845
+ prefix. Conflicts with `name`. Max length is 54 characters.
1846
+ Prefixes with lengths longer than 37 characters will use a shortened
1847
+ UUID that will be more prone to collisions.
1848
+
1849
+ Resulting name for a `name_prefix` <= 37 characters:
1850
+ `name_prefix` + YYYYmmddHHSSssss + 8 digit incremental counter
1851
+ Resulting name for a `name_prefix` 38 - 54 characters:
1852
+ `name_prefix` + YYmmdd + 3 digit incremental counter
1867
1853
  :param pulumi.Input[Sequence[pulumi.Input[Union['InstanceTemplateNetworkInterfaceArgs', 'InstanceTemplateNetworkInterfaceArgsDict']]]] network_interfaces: Networks to attach to instances created from
1868
1854
  this template. This can be specified multiple times for multiple networks.
1869
1855
  Structure is documented below.
@@ -2089,7 +2075,14 @@ class InstanceTemplate(pulumi.CustomResource):
2089
2075
  def name_prefix(self) -> pulumi.Output[str]:
2090
2076
  """
2091
2077
  Creates a unique name beginning with the specified
2092
- prefix. Conflicts with `name`.
2078
+ prefix. Conflicts with `name`. Max length is 54 characters.
2079
+ Prefixes with lengths longer than 37 characters will use a shortened
2080
+ UUID that will be more prone to collisions.
2081
+
2082
+ Resulting name for a `name_prefix` <= 37 characters:
2083
+ `name_prefix` + YYYYmmddHHSSssss + 8 digit incremental counter
2084
+ Resulting name for a `name_prefix` 38 - 54 characters:
2085
+ `name_prefix` + YYmmdd + 3 digit incremental counter
2093
2086
  """
2094
2087
  return pulumi.get(self, "name_prefix")
2095
2088
 
@@ -21,7 +21,6 @@ __all__ = ['ManagedSslCertificateArgs', 'ManagedSslCertificate']
21
21
  @pulumi.input_type
22
22
  class ManagedSslCertificateArgs:
23
23
  def __init__(__self__, *,
24
- certificate_id: Optional[pulumi.Input[int]] = None,
25
24
  description: Optional[pulumi.Input[str]] = None,
26
25
  managed: Optional[pulumi.Input['ManagedSslCertificateManagedArgs']] = None,
27
26
  name: Optional[pulumi.Input[str]] = None,
@@ -29,7 +28,6 @@ class ManagedSslCertificateArgs:
29
28
  type: Optional[pulumi.Input[str]] = None):
30
29
  """
31
30
  The set of arguments for constructing a ManagedSslCertificate resource.
32
- :param pulumi.Input[int] certificate_id: The unique identifier for the resource.
33
31
  :param pulumi.Input[str] description: An optional description of this resource.
34
32
  :param pulumi.Input['ManagedSslCertificateManagedArgs'] managed: Properties relevant to a managed certificate. These will be used if the
35
33
  certificate is managed (as indicated by a value of `MANAGED` in `type`).
@@ -49,8 +47,6 @@ class ManagedSslCertificateArgs:
49
47
  Default value is `MANAGED`.
50
48
  Possible values are: `MANAGED`.
51
49
  """
52
- if certificate_id is not None:
53
- pulumi.set(__self__, "certificate_id", certificate_id)
54
50
  if description is not None:
55
51
  pulumi.set(__self__, "description", description)
56
52
  if managed is not None:
@@ -62,18 +58,6 @@ class ManagedSslCertificateArgs:
62
58
  if type is not None:
63
59
  pulumi.set(__self__, "type", type)
64
60
 
65
- @property
66
- @pulumi.getter(name="certificateId")
67
- def certificate_id(self) -> Optional[pulumi.Input[int]]:
68
- """
69
- The unique identifier for the resource.
70
- """
71
- return pulumi.get(self, "certificate_id")
72
-
73
- @certificate_id.setter
74
- def certificate_id(self, value: Optional[pulumi.Input[int]]):
75
- pulumi.set(self, "certificate_id", value)
76
-
77
61
  @property
78
62
  @pulumi.getter
79
63
  def description(self) -> Optional[pulumi.Input[str]]:
@@ -347,7 +331,6 @@ class ManagedSslCertificate(pulumi.CustomResource):
347
331
  def __init__(__self__,
348
332
  resource_name: str,
349
333
  opts: Optional[pulumi.ResourceOptions] = None,
350
- certificate_id: Optional[pulumi.Input[int]] = None,
351
334
  description: Optional[pulumi.Input[str]] = None,
352
335
  managed: Optional[pulumi.Input[Union['ManagedSslCertificateManagedArgs', 'ManagedSslCertificateManagedArgsDict']]] = None,
353
336
  name: Optional[pulumi.Input[str]] = None,
@@ -456,7 +439,6 @@ class ManagedSslCertificate(pulumi.CustomResource):
456
439
 
457
440
  :param str resource_name: The name of the resource.
458
441
  :param pulumi.ResourceOptions opts: Options for the resource.
459
- :param pulumi.Input[int] certificate_id: The unique identifier for the resource.
460
442
  :param pulumi.Input[str] description: An optional description of this resource.
461
443
  :param pulumi.Input[Union['ManagedSslCertificateManagedArgs', 'ManagedSslCertificateManagedArgsDict']] managed: Properties relevant to a managed certificate. These will be used if the
462
444
  certificate is managed (as indicated by a value of `MANAGED` in `type`).
@@ -597,7 +579,6 @@ class ManagedSslCertificate(pulumi.CustomResource):
597
579
  def _internal_init(__self__,
598
580
  resource_name: str,
599
581
  opts: Optional[pulumi.ResourceOptions] = None,
600
- certificate_id: Optional[pulumi.Input[int]] = None,
601
582
  description: Optional[pulumi.Input[str]] = None,
602
583
  managed: Optional[pulumi.Input[Union['ManagedSslCertificateManagedArgs', 'ManagedSslCertificateManagedArgsDict']]] = None,
603
584
  name: Optional[pulumi.Input[str]] = None,
@@ -612,12 +593,12 @@ class ManagedSslCertificate(pulumi.CustomResource):
612
593
  raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
613
594
  __props__ = ManagedSslCertificateArgs.__new__(ManagedSslCertificateArgs)
614
595
 
615
- __props__.__dict__["certificate_id"] = certificate_id
616
596
  __props__.__dict__["description"] = description
617
597
  __props__.__dict__["managed"] = managed
618
598
  __props__.__dict__["name"] = name
619
599
  __props__.__dict__["project"] = project
620
600
  __props__.__dict__["type"] = type
601
+ __props__.__dict__["certificate_id"] = None
621
602
  __props__.__dict__["creation_timestamp"] = None
622
603
  __props__.__dict__["expire_time"] = None
623
604
  __props__.__dict__["self_link"] = None