pulumi-gcp 7.20.0a1713984378__py3-none-any.whl → 7.21.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 (131) hide show
  1. pulumi_gcp/__init__.py +48 -0
  2. pulumi_gcp/alloydb/_inputs.py +74 -0
  3. pulumi_gcp/alloydb/backup.py +0 -12
  4. pulumi_gcp/alloydb/cluster.py +0 -12
  5. pulumi_gcp/alloydb/instance.py +90 -81
  6. pulumi_gcp/alloydb/outputs.py +98 -0
  7. pulumi_gcp/apigee/environment.py +47 -0
  8. pulumi_gcp/apigee/organization.py +162 -0
  9. pulumi_gcp/apigee/sharedflow.py +0 -20
  10. pulumi_gcp/appengine/flexible_app_version.py +0 -20
  11. pulumi_gcp/applicationintegration/__init__.py +1 -0
  12. pulumi_gcp/applicationintegration/_inputs.py +843 -0
  13. pulumi_gcp/applicationintegration/auth_config.py +998 -0
  14. pulumi_gcp/applicationintegration/outputs.py +891 -0
  15. pulumi_gcp/artifactregistry/_inputs.py +186 -0
  16. pulumi_gcp/artifactregistry/outputs.py +297 -4
  17. pulumi_gcp/artifactregistry/repository.py +346 -16
  18. pulumi_gcp/bigquery/table.py +61 -0
  19. pulumi_gcp/bigquerydatapolicy/_inputs.py +21 -4
  20. pulumi_gcp/bigquerydatapolicy/data_policy.py +78 -0
  21. pulumi_gcp/bigquerydatapolicy/outputs.py +16 -3
  22. pulumi_gcp/billing/budget.py +54 -0
  23. pulumi_gcp/certificateauthority/_inputs.py +92 -12
  24. pulumi_gcp/certificateauthority/authority.py +117 -27
  25. pulumi_gcp/certificateauthority/certificate.py +176 -0
  26. pulumi_gcp/certificateauthority/outputs.py +144 -12
  27. pulumi_gcp/cloudbuild/worker_pool.py +0 -12
  28. pulumi_gcp/cloudbuildv2/connection.py +0 -12
  29. pulumi_gcp/cloudbuildv2/repository.py +0 -12
  30. pulumi_gcp/clouddeploy/automation.py +0 -12
  31. pulumi_gcp/clouddeploy/custom_target_type.py +0 -12
  32. pulumi_gcp/clouddeploy/delivery_pipeline.py +0 -12
  33. pulumi_gcp/clouddeploy/target.py +0 -12
  34. pulumi_gcp/cloudfunctionsv2/_inputs.py +16 -0
  35. pulumi_gcp/cloudfunctionsv2/function.py +110 -0
  36. pulumi_gcp/cloudfunctionsv2/outputs.py +25 -0
  37. pulumi_gcp/cloudrunv2/job.py +0 -12
  38. pulumi_gcp/cloudrunv2/service.py +0 -12
  39. pulumi_gcp/composer/__init__.py +1 -0
  40. pulumi_gcp/composer/environment.py +35 -47
  41. pulumi_gcp/composer/user_workloads_secret.py +441 -0
  42. pulumi_gcp/compute/__init__.py +1 -0
  43. pulumi_gcp/compute/_inputs.py +169 -58
  44. pulumi_gcp/compute/forwarding_rule.py +0 -13
  45. pulumi_gcp/compute/get_instance_group_manager.py +11 -1
  46. pulumi_gcp/compute/global_address.py +0 -12
  47. pulumi_gcp/compute/global_forwarding_rule.py +0 -282
  48. pulumi_gcp/compute/instance_from_machine_image.py +14 -46
  49. pulumi_gcp/compute/instance_from_template.py +14 -46
  50. pulumi_gcp/compute/instance_group_manager.py +68 -21
  51. pulumi_gcp/compute/outputs.py +213 -65
  52. pulumi_gcp/compute/region_instance_group_manager.py +61 -14
  53. pulumi_gcp/compute/region_instance_template.py +0 -13
  54. pulumi_gcp/compute/region_target_https_proxy.py +257 -0
  55. pulumi_gcp/compute/region_url_map.py +0 -470
  56. pulumi_gcp/compute/security_policy_rule.py +850 -0
  57. pulumi_gcp/container/attached_cluster.py +0 -12
  58. pulumi_gcp/container/aws_cluster.py +0 -12
  59. pulumi_gcp/container/aws_node_pool.py +0 -12
  60. pulumi_gcp/container/azure_cluster.py +0 -12
  61. pulumi_gcp/container/azure_node_pool.py +0 -12
  62. pulumi_gcp/container/cluster.py +0 -20
  63. pulumi_gcp/container/outputs.py +4 -4
  64. pulumi_gcp/dataflow/flex_template_job.py +0 -39
  65. pulumi_gcp/dataloss/__init__.py +1 -0
  66. pulumi_gcp/dataloss/_inputs.py +1040 -0
  67. pulumi_gcp/dataloss/outputs.py +1123 -0
  68. pulumi_gcp/dataloss/prevention_discovery_config.py +737 -0
  69. pulumi_gcp/dataproc/cluster.py +0 -20
  70. pulumi_gcp/dataproc/workflow_template.py +21 -26
  71. pulumi_gcp/deploymentmanager/deployment.py +0 -34
  72. pulumi_gcp/dns/_inputs.py +2 -130
  73. pulumi_gcp/dns/get_keys.py +1 -1
  74. pulumi_gcp/dns/get_managed_zones.py +3 -9
  75. pulumi_gcp/dns/get_record_set.py +3 -0
  76. pulumi_gcp/dns/outputs.py +36 -58
  77. pulumi_gcp/dns/record_set.py +2 -36
  78. pulumi_gcp/filestore/get_instance.py +11 -1
  79. pulumi_gcp/filestore/instance.py +101 -0
  80. pulumi_gcp/firebase/_inputs.py +16 -0
  81. pulumi_gcp/firebase/android_app.py +0 -27
  82. pulumi_gcp/firebase/app_check_play_integrity_config.py +20 -0
  83. pulumi_gcp/firebase/app_check_recaptcha_enterprise_config.py +10 -0
  84. pulumi_gcp/firebase/app_check_service_config.py +0 -125
  85. pulumi_gcp/firebase/apple_app.py +0 -27
  86. pulumi_gcp/firebase/hosting_custom_domain.py +0 -27
  87. pulumi_gcp/firebase/hosting_version.py +44 -0
  88. pulumi_gcp/firebase/outputs.py +12 -0
  89. pulumi_gcp/firebase/web_app.py +0 -20
  90. pulumi_gcp/firestore/database.py +0 -68
  91. pulumi_gcp/firestore/document.py +4 -4
  92. pulumi_gcp/gkeonprem/bare_metal_admin_cluster.py +0 -12
  93. pulumi_gcp/gkeonprem/bare_metal_cluster.py +0 -12
  94. pulumi_gcp/gkeonprem/bare_metal_node_pool.py +0 -12
  95. pulumi_gcp/gkeonprem/v_mware_cluster.py +0 -12
  96. pulumi_gcp/gkeonprem/v_mware_node_pool.py +0 -12
  97. pulumi_gcp/logging/folder_sink.py +54 -0
  98. pulumi_gcp/logging/organization_sink.py +54 -0
  99. pulumi_gcp/monitoring/_inputs.py +46 -2
  100. pulumi_gcp/monitoring/outputs.py +40 -2
  101. pulumi_gcp/monitoring/uptime_check_config.py +6 -0
  102. pulumi_gcp/netapp/active_directory.py +0 -20
  103. pulumi_gcp/netapp/volume_replication.py +0 -68
  104. pulumi_gcp/networkconnectivity/__init__.py +1 -0
  105. pulumi_gcp/networkconnectivity/internal_range.py +1024 -0
  106. pulumi_gcp/organizations/get_active_folder.py +18 -3
  107. pulumi_gcp/projects/__init__.py +1 -0
  108. pulumi_gcp/projects/iam_member_remove.py +313 -0
  109. pulumi_gcp/provider.py +3 -1
  110. pulumi_gcp/secretmanager/get_secret.py +13 -3
  111. pulumi_gcp/secretmanager/outputs.py +20 -1
  112. pulumi_gcp/secretmanager/secret.py +90 -15
  113. pulumi_gcp/servicenetworking/connection.py +0 -20
  114. pulumi_gcp/spanner/database.py +0 -41
  115. pulumi_gcp/spanner/instance.py +0 -40
  116. pulumi_gcp/storage/__init__.py +1 -0
  117. pulumi_gcp/storage/bucket.py +0 -12
  118. pulumi_gcp/storage/get_bucket_objects.py +153 -0
  119. pulumi_gcp/storage/outputs.py +63 -0
  120. pulumi_gcp/vmwareengine/_inputs.py +63 -5
  121. pulumi_gcp/vmwareengine/get_private_cloud.py +1 -21
  122. pulumi_gcp/vmwareengine/outputs.py +113 -5
  123. pulumi_gcp/vmwareengine/private_cloud.py +0 -94
  124. pulumi_gcp/workbench/instance.py +4 -4
  125. pulumi_gcp/workstations/workstation.py +0 -12
  126. pulumi_gcp/workstations/workstation_cluster.py +32 -12
  127. pulumi_gcp/workstations/workstation_config.py +0 -12
  128. {pulumi_gcp-7.20.0a1713984378.dist-info → pulumi_gcp-7.21.0.dist-info}/METADATA +1 -1
  129. {pulumi_gcp-7.20.0a1713984378.dist-info → pulumi_gcp-7.21.0.dist-info}/RECORD +131 -124
  130. {pulumi_gcp-7.20.0a1713984378.dist-info → pulumi_gcp-7.21.0.dist-info}/WHEEL +0 -0
  131. {pulumi_gcp-7.20.0a1713984378.dist-info → pulumi_gcp-7.21.0.dist-info}/top_level.txt +0 -0
pulumi_gcp/dns/outputs.py CHANGED
@@ -841,7 +841,7 @@ class RecordSetRoutingPolicy(dict):
841
841
  :param bool enable_geo_fencing: Specifies whether to enable fencing for geo queries.
842
842
  :param Sequence['RecordSetRoutingPolicyGeoArgs'] geos: The configuration for Geolocation based routing policy.
843
843
  Structure is documented below.
844
- :param 'RecordSetRoutingPolicyPrimaryBackupArgs' primary_backup: The configuration for a primary-backup policy with global to regional failover. Queries are responded to with the global primary targets, but if none of the primary targets are healthy, then we fallback to a regional failover policy.
844
+ :param 'RecordSetRoutingPolicyPrimaryBackupArgs' primary_backup: The configuration for a failover policy with global to regional failover. Queries are responded to with the global primary targets, but if none of the primary targets are healthy, then we fallback to a regional failover policy.
845
845
  Structure is documented below.
846
846
  :param Sequence['RecordSetRoutingPolicyWrrArgs'] wrrs: The configuration for Weighted Round Robin based routing policy.
847
847
  Structure is documented below.
@@ -876,7 +876,7 @@ class RecordSetRoutingPolicy(dict):
876
876
  @pulumi.getter(name="primaryBackup")
877
877
  def primary_backup(self) -> Optional['outputs.RecordSetRoutingPolicyPrimaryBackup']:
878
878
  """
879
- The configuration for a primary-backup policy with global to regional failover. Queries are responded to with the global primary targets, but if none of the primary targets are healthy, then we fallback to a regional failover policy.
879
+ The configuration for a failover policy with global to regional failover. Queries are responded to with the global primary targets, but if none of the primary targets are healthy, then we fallback to a regional failover policy.
880
880
  Structure is documented below.
881
881
  """
882
882
  return pulumi.get(self, "primary_backup")
@@ -2016,18 +2016,20 @@ class GetKeysKeySigningKeyResult(dict):
2016
2016
  @pulumi.output_type
2017
2017
  class GetKeysKeySigningKeyDigestResult(dict):
2018
2018
  def __init__(__self__, *,
2019
- digest: str,
2020
- type: str):
2019
+ digest: Optional[str] = None,
2020
+ type: Optional[str] = None):
2021
2021
  """
2022
2022
  :param str digest: The base-16 encoded bytes of this digest. Suitable for use in a DS resource record.
2023
2023
  :param str type: Specifies the algorithm used to calculate this digest. Possible values are `sha1`, `sha256` and `sha384`
2024
2024
  """
2025
- pulumi.set(__self__, "digest", digest)
2026
- pulumi.set(__self__, "type", type)
2025
+ if digest is not None:
2026
+ pulumi.set(__self__, "digest", digest)
2027
+ if type is not None:
2028
+ pulumi.set(__self__, "type", type)
2027
2029
 
2028
2030
  @property
2029
2031
  @pulumi.getter
2030
- def digest(self) -> str:
2032
+ def digest(self) -> Optional[str]:
2031
2033
  """
2032
2034
  The base-16 encoded bytes of this digest. Suitable for use in a DS resource record.
2033
2035
  """
@@ -2035,7 +2037,7 @@ class GetKeysKeySigningKeyDigestResult(dict):
2035
2037
 
2036
2038
  @property
2037
2039
  @pulumi.getter
2038
- def type(self) -> str:
2040
+ def type(self) -> Optional[str]:
2039
2041
  """
2040
2042
  Specifies the algorithm used to calculate this digest. Possible values are `sha1`, `sha256` and `sha384`
2041
2043
  """
@@ -2151,18 +2153,20 @@ class GetKeysZoneSigningKeyResult(dict):
2151
2153
  @pulumi.output_type
2152
2154
  class GetKeysZoneSigningKeyDigestResult(dict):
2153
2155
  def __init__(__self__, *,
2154
- digest: str,
2155
- type: str):
2156
+ digest: Optional[str] = None,
2157
+ type: Optional[str] = None):
2156
2158
  """
2157
2159
  :param str digest: The base-16 encoded bytes of this digest. Suitable for use in a DS resource record.
2158
2160
  :param str type: Specifies the algorithm used to calculate this digest. Possible values are `sha1`, `sha256` and `sha384`
2159
2161
  """
2160
- pulumi.set(__self__, "digest", digest)
2161
- pulumi.set(__self__, "type", type)
2162
+ if digest is not None:
2163
+ pulumi.set(__self__, "digest", digest)
2164
+ if type is not None:
2165
+ pulumi.set(__self__, "type", type)
2162
2166
 
2163
2167
  @property
2164
2168
  @pulumi.getter
2165
- def digest(self) -> str:
2169
+ def digest(self) -> Optional[str]:
2166
2170
  """
2167
2171
  The base-16 encoded bytes of this digest. Suitable for use in a DS resource record.
2168
2172
  """
@@ -2170,7 +2174,7 @@ class GetKeysZoneSigningKeyDigestResult(dict):
2170
2174
 
2171
2175
  @property
2172
2176
  @pulumi.getter
2173
- def type(self) -> str:
2177
+ def type(self) -> Optional[str]:
2174
2178
  """
2175
2179
  Specifies the algorithm used to calculate this digest. Possible values are `sha1`, `sha256` and `sha384`
2176
2180
  """
@@ -2184,91 +2188,65 @@ class GetManagedZonesManagedZoneResult(dict):
2184
2188
  dns_name: str,
2185
2189
  id: str,
2186
2190
  managed_zone_id: int,
2187
- name: str,
2188
2191
  name_servers: Sequence[str],
2189
- project: str,
2190
- visibility: str):
2191
- """
2192
- :param str description: A textual description field.
2193
- :param str dns_name: The fully qualified DNS name of this zone.
2194
- :param str id: DNS managed zone identifier
2195
- :param int managed_zone_id: Unique identifier for the resource; defined by the server.
2196
- :param str name: A unique name for the resource.
2197
- :param Sequence[str] name_servers: The list of nameservers that will be authoritative for this domain. Use NS records to redirect from your DNS provider to these names, thus making Google Cloud DNS authoritative for this zone.
2192
+ visibility: str,
2193
+ name: Optional[str] = None,
2194
+ project: Optional[str] = None):
2195
+ """
2198
2196
  :param str project: The ID of the project containing Google Cloud DNS zones. If this is not provided the default project will be used.
2199
- :param str visibility: The zone's visibility: public zones are exposed to the Internet, while private zones are visible only to Virtual Private Cloud resources.
2200
2197
  """
2201
2198
  pulumi.set(__self__, "description", description)
2202
2199
  pulumi.set(__self__, "dns_name", dns_name)
2203
2200
  pulumi.set(__self__, "id", id)
2204
2201
  pulumi.set(__self__, "managed_zone_id", managed_zone_id)
2205
- pulumi.set(__self__, "name", name)
2206
2202
  pulumi.set(__self__, "name_servers", name_servers)
2207
- pulumi.set(__self__, "project", project)
2208
2203
  pulumi.set(__self__, "visibility", visibility)
2204
+ if name is not None:
2205
+ pulumi.set(__self__, "name", name)
2206
+ if project is not None:
2207
+ pulumi.set(__self__, "project", project)
2209
2208
 
2210
2209
  @property
2211
2210
  @pulumi.getter
2212
2211
  def description(self) -> str:
2213
- """
2214
- A textual description field.
2215
- """
2216
2212
  return pulumi.get(self, "description")
2217
2213
 
2218
2214
  @property
2219
2215
  @pulumi.getter(name="dnsName")
2220
2216
  def dns_name(self) -> str:
2221
- """
2222
- The fully qualified DNS name of this zone.
2223
- """
2224
2217
  return pulumi.get(self, "dns_name")
2225
2218
 
2226
2219
  @property
2227
2220
  @pulumi.getter
2228
2221
  def id(self) -> str:
2229
- """
2230
- DNS managed zone identifier
2231
- """
2232
2222
  return pulumi.get(self, "id")
2233
2223
 
2234
2224
  @property
2235
2225
  @pulumi.getter(name="managedZoneId")
2236
2226
  def managed_zone_id(self) -> int:
2237
- """
2238
- Unique identifier for the resource; defined by the server.
2239
- """
2240
2227
  return pulumi.get(self, "managed_zone_id")
2241
2228
 
2242
- @property
2243
- @pulumi.getter
2244
- def name(self) -> str:
2245
- """
2246
- A unique name for the resource.
2247
- """
2248
- return pulumi.get(self, "name")
2249
-
2250
2229
  @property
2251
2230
  @pulumi.getter(name="nameServers")
2252
2231
  def name_servers(self) -> Sequence[str]:
2253
- """
2254
- The list of nameservers that will be authoritative for this domain. Use NS records to redirect from your DNS provider to these names, thus making Google Cloud DNS authoritative for this zone.
2255
- """
2256
2232
  return pulumi.get(self, "name_servers")
2257
2233
 
2258
2234
  @property
2259
2235
  @pulumi.getter
2260
- def project(self) -> str:
2261
- """
2262
- The ID of the project containing Google Cloud DNS zones. If this is not provided the default project will be used.
2263
- """
2264
- return pulumi.get(self, "project")
2236
+ def visibility(self) -> str:
2237
+ return pulumi.get(self, "visibility")
2265
2238
 
2266
2239
  @property
2267
2240
  @pulumi.getter
2268
- def visibility(self) -> str:
2241
+ def name(self) -> Optional[str]:
2242
+ return pulumi.get(self, "name")
2243
+
2244
+ @property
2245
+ @pulumi.getter
2246
+ def project(self) -> Optional[str]:
2269
2247
  """
2270
- The zone's visibility: public zones are exposed to the Internet, while private zones are visible only to Virtual Private Cloud resources.
2248
+ The ID of the project containing Google Cloud DNS zones. If this is not provided the default project will be used.
2271
2249
  """
2272
- return pulumi.get(self, "visibility")
2250
+ return pulumi.get(self, "project")
2273
2251
 
2274
2252
 
@@ -36,10 +36,6 @@ class RecordSetArgs:
36
36
  :param pulumi.Input['RecordSetRoutingPolicyArgs'] routing_policy: The configuration for steering traffic based on query.
37
37
  Now you can specify either Weighted Round Robin(WRR) type or Geolocation(GEO) type.
38
38
  Structure is documented below.
39
- :param pulumi.Input[Sequence[pulumi.Input[str]]] rrdatas: The string data for the records in this record set whose meaning depends on the DNS type. For TXT record, if the string
40
- data contains spaces, add surrounding \\" if you don't want your string to get split on spaces. To specify a single
41
- record value longer than 255 characters such as a TXT record for DKIM, add \\"\\" inside the Terraform configuration
42
- string (e.g. "first255characters\\"\\"morecharacters").
43
39
  :param pulumi.Input[int] ttl: The time-to-live of this record set (seconds).
44
40
  """
45
41
  pulumi.set(__self__, "managed_zone", managed_zone)
@@ -123,12 +119,6 @@ class RecordSetArgs:
123
119
  @property
124
120
  @pulumi.getter
125
121
  def rrdatas(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
126
- """
127
- The string data for the records in this record set whose meaning depends on the DNS type. For TXT record, if the string
128
- data contains spaces, add surrounding \\" if you don't want your string to get split on spaces. To specify a single
129
- record value longer than 255 characters such as a TXT record for DKIM, add \\"\\" inside the Terraform configuration
130
- string (e.g. "first255characters\\"\\"morecharacters").
131
- """
132
122
  return pulumi.get(self, "rrdatas")
133
123
 
134
124
  @rrdatas.setter
@@ -168,10 +158,6 @@ class _RecordSetState:
168
158
  :param pulumi.Input['RecordSetRoutingPolicyArgs'] routing_policy: The configuration for steering traffic based on query.
169
159
  Now you can specify either Weighted Round Robin(WRR) type or Geolocation(GEO) type.
170
160
  Structure is documented below.
171
- :param pulumi.Input[Sequence[pulumi.Input[str]]] rrdatas: The string data for the records in this record set whose meaning depends on the DNS type. For TXT record, if the string
172
- data contains spaces, add surrounding \\" if you don't want your string to get split on spaces. To specify a single
173
- record value longer than 255 characters such as a TXT record for DKIM, add \\"\\" inside the Terraform configuration
174
- string (e.g. "first255characters\\"\\"morecharacters").
175
161
  :param pulumi.Input[int] ttl: The time-to-live of this record set (seconds).
176
162
  :param pulumi.Input[str] type: The DNS record set type.
177
163
 
@@ -247,12 +233,6 @@ class _RecordSetState:
247
233
  @property
248
234
  @pulumi.getter
249
235
  def rrdatas(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
250
- """
251
- The string data for the records in this record set whose meaning depends on the DNS type. For TXT record, if the string
252
- data contains spaces, add surrounding \\" if you don't want your string to get split on spaces. To specify a single
253
- record value longer than 255 characters such as a TXT record for DKIM, add \\"\\" inside the Terraform configuration
254
- string (e.g. "first255characters\\"\\"morecharacters").
255
- """
256
236
  return pulumi.get(self, "rrdatas")
257
237
 
258
238
  @rrdatas.setter
@@ -436,7 +416,7 @@ class RecordSet(pulumi.CustomResource):
436
416
  ))
437
417
  ```
438
418
 
439
- ### Primary-Backup
419
+ ### Failover
440
420
 
441
421
  ```python
442
422
  import pulumi
@@ -526,10 +506,6 @@ class RecordSet(pulumi.CustomResource):
526
506
  :param pulumi.Input[pulumi.InputType['RecordSetRoutingPolicyArgs']] routing_policy: The configuration for steering traffic based on query.
527
507
  Now you can specify either Weighted Round Robin(WRR) type or Geolocation(GEO) type.
528
508
  Structure is documented below.
529
- :param pulumi.Input[Sequence[pulumi.Input[str]]] rrdatas: The string data for the records in this record set whose meaning depends on the DNS type. For TXT record, if the string
530
- data contains spaces, add surrounding \\" if you don't want your string to get split on spaces. To specify a single
531
- record value longer than 255 characters such as a TXT record for DKIM, add \\"\\" inside the Terraform configuration
532
- string (e.g. "first255characters\\"\\"morecharacters").
533
509
  :param pulumi.Input[int] ttl: The time-to-live of this record set (seconds).
534
510
  :param pulumi.Input[str] type: The DNS record set type.
535
511
 
@@ -678,7 +654,7 @@ class RecordSet(pulumi.CustomResource):
678
654
  ))
679
655
  ```
680
656
 
681
- ### Primary-Backup
657
+ ### Failover
682
658
 
683
659
  ```python
684
660
  import pulumi
@@ -834,10 +810,6 @@ class RecordSet(pulumi.CustomResource):
834
810
  :param pulumi.Input[pulumi.InputType['RecordSetRoutingPolicyArgs']] routing_policy: The configuration for steering traffic based on query.
835
811
  Now you can specify either Weighted Round Robin(WRR) type or Geolocation(GEO) type.
836
812
  Structure is documented below.
837
- :param pulumi.Input[Sequence[pulumi.Input[str]]] rrdatas: The string data for the records in this record set whose meaning depends on the DNS type. For TXT record, if the string
838
- data contains spaces, add surrounding \\" if you don't want your string to get split on spaces. To specify a single
839
- record value longer than 255 characters such as a TXT record for DKIM, add \\"\\" inside the Terraform configuration
840
- string (e.g. "first255characters\\"\\"morecharacters").
841
813
  :param pulumi.Input[int] ttl: The time-to-live of this record set (seconds).
842
814
  :param pulumi.Input[str] type: The DNS record set type.
843
815
 
@@ -895,12 +867,6 @@ class RecordSet(pulumi.CustomResource):
895
867
  @property
896
868
  @pulumi.getter
897
869
  def rrdatas(self) -> pulumi.Output[Optional[Sequence[str]]]:
898
- """
899
- The string data for the records in this record set whose meaning depends on the DNS type. For TXT record, if the string
900
- data contains spaces, add surrounding \\" if you don't want your string to get split on spaces. To specify a single
901
- record value longer than 255 characters such as a TXT record for DKIM, add \\"\\" inside the Terraform configuration
902
- string (e.g. "first255characters\\"\\"morecharacters").
903
- """
904
870
  return pulumi.get(self, "rrdatas")
905
871
 
906
872
  @property
@@ -22,7 +22,7 @@ class GetInstanceResult:
22
22
  """
23
23
  A collection of values returned by getInstance.
24
24
  """
25
- def __init__(__self__, create_time=None, description=None, effective_labels=None, etag=None, file_shares=None, id=None, kms_key_name=None, labels=None, location=None, name=None, networks=None, project=None, pulumi_labels=None, tier=None, zone=None):
25
+ def __init__(__self__, create_time=None, description=None, effective_labels=None, etag=None, file_shares=None, id=None, kms_key_name=None, labels=None, location=None, name=None, networks=None, project=None, protocol=None, pulumi_labels=None, tier=None, zone=None):
26
26
  if create_time and not isinstance(create_time, str):
27
27
  raise TypeError("Expected argument 'create_time' to be a str")
28
28
  pulumi.set(__self__, "create_time", create_time)
@@ -59,6 +59,9 @@ class GetInstanceResult:
59
59
  if project and not isinstance(project, str):
60
60
  raise TypeError("Expected argument 'project' to be a str")
61
61
  pulumi.set(__self__, "project", project)
62
+ if protocol and not isinstance(protocol, str):
63
+ raise TypeError("Expected argument 'protocol' to be a str")
64
+ pulumi.set(__self__, "protocol", protocol)
62
65
  if pulumi_labels and not isinstance(pulumi_labels, dict):
63
66
  raise TypeError("Expected argument 'pulumi_labels' to be a dict")
64
67
  pulumi.set(__self__, "pulumi_labels", pulumi_labels)
@@ -132,6 +135,11 @@ class GetInstanceResult:
132
135
  def project(self) -> Optional[str]:
133
136
  return pulumi.get(self, "project")
134
137
 
138
+ @property
139
+ @pulumi.getter
140
+ def protocol(self) -> str:
141
+ return pulumi.get(self, "protocol")
142
+
135
143
  @property
136
144
  @pulumi.getter(name="pulumiLabels")
137
145
  def pulumi_labels(self) -> Mapping[str, str]:
@@ -166,6 +174,7 @@ class AwaitableGetInstanceResult(GetInstanceResult):
166
174
  name=self.name,
167
175
  networks=self.networks,
168
176
  project=self.project,
177
+ protocol=self.protocol,
169
178
  pulumi_labels=self.pulumi_labels,
170
179
  tier=self.tier,
171
180
  zone=self.zone)
@@ -210,6 +219,7 @@ def get_instance(location: Optional[str] = None,
210
219
  name=pulumi.get(__ret__, 'name'),
211
220
  networks=pulumi.get(__ret__, 'networks'),
212
221
  project=pulumi.get(__ret__, 'project'),
222
+ protocol=pulumi.get(__ret__, 'protocol'),
213
223
  pulumi_labels=pulumi.get(__ret__, 'pulumi_labels'),
214
224
  tier=pulumi.get(__ret__, 'tier'),
215
225
  zone=pulumi.get(__ret__, 'zone'))
@@ -25,6 +25,7 @@ class InstanceArgs:
25
25
  location: Optional[pulumi.Input[str]] = None,
26
26
  name: Optional[pulumi.Input[str]] = None,
27
27
  project: Optional[pulumi.Input[str]] = None,
28
+ protocol: Optional[pulumi.Input[str]] = None,
28
29
  zone: Optional[pulumi.Input[str]] = None):
29
30
  """
30
31
  The set of arguments for constructing a Instance resource.
@@ -43,6 +44,9 @@ class InstanceArgs:
43
44
  resource.
44
45
  :param pulumi.Input[str] location: The name of the location of the instance. This can be a region for ENTERPRISE tier instances.
45
46
  :param pulumi.Input[str] name: The resource name of the instance.
47
+ :param pulumi.Input[str] protocol: Either NFSv3, for using NFS version 3 as file sharing protocol, or NFSv4.1, for using NFS version 4.1 as file sharing
48
+ protocol. NFSv4.1 can be used with HIGH_SCALE_SSD, ZONAL, REGIONAL and ENTERPRISE. The default is NFSv3. Default value:
49
+ "NFS_V3" Possible values: ["NFS_V3", "NFS_V4_1"]
46
50
  :param pulumi.Input[str] zone: The name of the Filestore zone of the instance.
47
51
  """
48
52
  pulumi.set(__self__, "file_shares", file_shares)
@@ -60,6 +64,8 @@ class InstanceArgs:
60
64
  pulumi.set(__self__, "name", name)
61
65
  if project is not None:
62
66
  pulumi.set(__self__, "project", project)
67
+ if protocol is not None:
68
+ pulumi.set(__self__, "protocol", protocol)
63
69
  if zone is not None:
64
70
  warnings.warn("""`zone` is deprecated and will be removed in a future major release. Use `location` instead.""", DeprecationWarning)
65
71
  pulumi.log.warn("""zone is deprecated: `zone` is deprecated and will be removed in a future major release. Use `location` instead.""")
@@ -178,6 +184,20 @@ class InstanceArgs:
178
184
  def project(self, value: Optional[pulumi.Input[str]]):
179
185
  pulumi.set(self, "project", value)
180
186
 
187
+ @property
188
+ @pulumi.getter
189
+ def protocol(self) -> Optional[pulumi.Input[str]]:
190
+ """
191
+ Either NFSv3, for using NFS version 3 as file sharing protocol, or NFSv4.1, for using NFS version 4.1 as file sharing
192
+ protocol. NFSv4.1 can be used with HIGH_SCALE_SSD, ZONAL, REGIONAL and ENTERPRISE. The default is NFSv3. Default value:
193
+ "NFS_V3" Possible values: ["NFS_V3", "NFS_V4_1"]
194
+ """
195
+ return pulumi.get(self, "protocol")
196
+
197
+ @protocol.setter
198
+ def protocol(self, value: Optional[pulumi.Input[str]]):
199
+ pulumi.set(self, "protocol", value)
200
+
181
201
  @property
182
202
  @pulumi.getter
183
203
  def zone(self) -> Optional[pulumi.Input[str]]:
@@ -208,6 +228,7 @@ class _InstanceState:
208
228
  name: Optional[pulumi.Input[str]] = None,
209
229
  networks: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceNetworkArgs']]]] = None,
210
230
  project: Optional[pulumi.Input[str]] = None,
231
+ protocol: Optional[pulumi.Input[str]] = None,
211
232
  pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
212
233
  tier: Optional[pulumi.Input[str]] = None,
213
234
  zone: Optional[pulumi.Input[str]] = None):
@@ -230,6 +251,9 @@ class _InstanceState:
230
251
  :param pulumi.Input[Sequence[pulumi.Input['InstanceNetworkArgs']]] networks: VPC networks to which the instance is connected. For this version,
231
252
  only a single network is supported.
232
253
  Structure is documented below.
254
+ :param pulumi.Input[str] protocol: Either NFSv3, for using NFS version 3 as file sharing protocol, or NFSv4.1, for using NFS version 4.1 as file sharing
255
+ protocol. NFSv4.1 can be used with HIGH_SCALE_SSD, ZONAL, REGIONAL and ENTERPRISE. The default is NFSv3. Default value:
256
+ "NFS_V3" Possible values: ["NFS_V3", "NFS_V4_1"]
233
257
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] pulumi_labels: The combination of labels configured directly on the resource
234
258
  and default labels configured on the provider.
235
259
  :param pulumi.Input[str] tier: The service tier of the instance.
@@ -258,6 +282,8 @@ class _InstanceState:
258
282
  pulumi.set(__self__, "networks", networks)
259
283
  if project is not None:
260
284
  pulumi.set(__self__, "project", project)
285
+ if protocol is not None:
286
+ pulumi.set(__self__, "protocol", protocol)
261
287
  if pulumi_labels is not None:
262
288
  pulumi.set(__self__, "pulumi_labels", pulumi_labels)
263
289
  if tier is not None:
@@ -404,6 +430,20 @@ class _InstanceState:
404
430
  def project(self, value: Optional[pulumi.Input[str]]):
405
431
  pulumi.set(self, "project", value)
406
432
 
433
+ @property
434
+ @pulumi.getter
435
+ def protocol(self) -> Optional[pulumi.Input[str]]:
436
+ """
437
+ Either NFSv3, for using NFS version 3 as file sharing protocol, or NFSv4.1, for using NFS version 4.1 as file sharing
438
+ protocol. NFSv4.1 can be used with HIGH_SCALE_SSD, ZONAL, REGIONAL and ENTERPRISE. The default is NFSv3. Default value:
439
+ "NFS_V3" Possible values: ["NFS_V3", "NFS_V4_1"]
440
+ """
441
+ return pulumi.get(self, "protocol")
442
+
443
+ @protocol.setter
444
+ def protocol(self, value: Optional[pulumi.Input[str]]):
445
+ pulumi.set(self, "protocol", value)
446
+
407
447
  @property
408
448
  @pulumi.getter(name="pulumiLabels")
409
449
  def pulumi_labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
@@ -459,6 +499,7 @@ class Instance(pulumi.CustomResource):
459
499
  name: Optional[pulumi.Input[str]] = None,
460
500
  networks: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['InstanceNetworkArgs']]]]] = None,
461
501
  project: Optional[pulumi.Input[str]] = None,
502
+ protocol: Optional[pulumi.Input[str]] = None,
462
503
  tier: Optional[pulumi.Input[str]] = None,
463
504
  zone: Optional[pulumi.Input[str]] = None,
464
505
  __props__=None):
@@ -528,6 +569,26 @@ class Instance(pulumi.CustomResource):
528
569
  connect_mode="DIRECT_PEERING",
529
570
  )])
530
571
  ```
572
+ ### Filestore Instance Protocol
573
+
574
+ ```python
575
+ import pulumi
576
+ import pulumi_gcp as gcp
577
+
578
+ instance = gcp.filestore.Instance("instance",
579
+ name="test-instance",
580
+ location="us-central1",
581
+ tier="ENTERPRISE",
582
+ protocol="NFS_V4_1",
583
+ file_shares=gcp.filestore.InstanceFileSharesArgs(
584
+ capacity_gb=1024,
585
+ name="share1",
586
+ ),
587
+ networks=[gcp.filestore.InstanceNetworkArgs(
588
+ network="default",
589
+ modes=["MODE_IPV4"],
590
+ )])
591
+ ```
531
592
  ### Filestore Instance Enterprise
532
593
 
533
594
  ```python
@@ -594,6 +655,9 @@ class Instance(pulumi.CustomResource):
594
655
  :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['InstanceNetworkArgs']]]] networks: VPC networks to which the instance is connected. For this version,
595
656
  only a single network is supported.
596
657
  Structure is documented below.
658
+ :param pulumi.Input[str] protocol: Either NFSv3, for using NFS version 3 as file sharing protocol, or NFSv4.1, for using NFS version 4.1 as file sharing
659
+ protocol. NFSv4.1 can be used with HIGH_SCALE_SSD, ZONAL, REGIONAL and ENTERPRISE. The default is NFSv3. Default value:
660
+ "NFS_V3" Possible values: ["NFS_V3", "NFS_V4_1"]
597
661
  :param pulumi.Input[str] tier: The service tier of the instance.
598
662
  Possible values include: STANDARD, PREMIUM, BASIC_HDD, BASIC_SSD, HIGH_SCALE_SSD, ZONAL, REGIONAL and ENTERPRISE
599
663
  :param pulumi.Input[str] zone: The name of the Filestore zone of the instance.
@@ -670,6 +734,26 @@ class Instance(pulumi.CustomResource):
670
734
  connect_mode="DIRECT_PEERING",
671
735
  )])
672
736
  ```
737
+ ### Filestore Instance Protocol
738
+
739
+ ```python
740
+ import pulumi
741
+ import pulumi_gcp as gcp
742
+
743
+ instance = gcp.filestore.Instance("instance",
744
+ name="test-instance",
745
+ location="us-central1",
746
+ tier="ENTERPRISE",
747
+ protocol="NFS_V4_1",
748
+ file_shares=gcp.filestore.InstanceFileSharesArgs(
749
+ capacity_gb=1024,
750
+ name="share1",
751
+ ),
752
+ networks=[gcp.filestore.InstanceNetworkArgs(
753
+ network="default",
754
+ modes=["MODE_IPV4"],
755
+ )])
756
+ ```
673
757
  ### Filestore Instance Enterprise
674
758
 
675
759
  ```python
@@ -744,6 +828,7 @@ class Instance(pulumi.CustomResource):
744
828
  name: Optional[pulumi.Input[str]] = None,
745
829
  networks: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['InstanceNetworkArgs']]]]] = None,
746
830
  project: Optional[pulumi.Input[str]] = None,
831
+ protocol: Optional[pulumi.Input[str]] = None,
747
832
  tier: Optional[pulumi.Input[str]] = None,
748
833
  zone: Optional[pulumi.Input[str]] = None,
749
834
  __props__=None):
@@ -767,6 +852,7 @@ class Instance(pulumi.CustomResource):
767
852
  raise TypeError("Missing required property 'networks'")
768
853
  __props__.__dict__["networks"] = networks
769
854
  __props__.__dict__["project"] = project
855
+ __props__.__dict__["protocol"] = protocol
770
856
  if tier is None and not opts.urn:
771
857
  raise TypeError("Missing required property 'tier'")
772
858
  __props__.__dict__["tier"] = tier
@@ -798,6 +884,7 @@ class Instance(pulumi.CustomResource):
798
884
  name: Optional[pulumi.Input[str]] = None,
799
885
  networks: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['InstanceNetworkArgs']]]]] = None,
800
886
  project: Optional[pulumi.Input[str]] = None,
887
+ protocol: Optional[pulumi.Input[str]] = None,
801
888
  pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
802
889
  tier: Optional[pulumi.Input[str]] = None,
803
890
  zone: Optional[pulumi.Input[str]] = None) -> 'Instance':
@@ -825,6 +912,9 @@ class Instance(pulumi.CustomResource):
825
912
  :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['InstanceNetworkArgs']]]] networks: VPC networks to which the instance is connected. For this version,
826
913
  only a single network is supported.
827
914
  Structure is documented below.
915
+ :param pulumi.Input[str] protocol: Either NFSv3, for using NFS version 3 as file sharing protocol, or NFSv4.1, for using NFS version 4.1 as file sharing
916
+ protocol. NFSv4.1 can be used with HIGH_SCALE_SSD, ZONAL, REGIONAL and ENTERPRISE. The default is NFSv3. Default value:
917
+ "NFS_V3" Possible values: ["NFS_V3", "NFS_V4_1"]
828
918
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] pulumi_labels: The combination of labels configured directly on the resource
829
919
  and default labels configured on the provider.
830
920
  :param pulumi.Input[str] tier: The service tier of the instance.
@@ -846,6 +936,7 @@ class Instance(pulumi.CustomResource):
846
936
  __props__.__dict__["name"] = name
847
937
  __props__.__dict__["networks"] = networks
848
938
  __props__.__dict__["project"] = project
939
+ __props__.__dict__["protocol"] = protocol
849
940
  __props__.__dict__["pulumi_labels"] = pulumi_labels
850
941
  __props__.__dict__["tier"] = tier
851
942
  __props__.__dict__["zone"] = zone
@@ -943,6 +1034,16 @@ class Instance(pulumi.CustomResource):
943
1034
  def project(self) -> pulumi.Output[str]:
944
1035
  return pulumi.get(self, "project")
945
1036
 
1037
+ @property
1038
+ @pulumi.getter
1039
+ def protocol(self) -> pulumi.Output[Optional[str]]:
1040
+ """
1041
+ Either NFSv3, for using NFS version 3 as file sharing protocol, or NFSv4.1, for using NFS version 4.1 as file sharing
1042
+ protocol. NFSv4.1 can be used with HIGH_SCALE_SSD, ZONAL, REGIONAL and ENTERPRISE. The default is NFSv3. Default value:
1043
+ "NFS_V3" Possible values: ["NFS_V3", "NFS_V4_1"]
1044
+ """
1045
+ return pulumi.get(self, "protocol")
1046
+
946
1047
  @property
947
1048
  @pulumi.getter(name="pulumiLabels")
948
1049
  def pulumi_labels(self) -> pulumi.Output[Mapping[str, str]]:
@@ -1385,11 +1385,13 @@ class HostingVersionConfigRewriteArgs:
1385
1385
  def __init__(__self__, *,
1386
1386
  function: Optional[pulumi.Input[str]] = None,
1387
1387
  glob: Optional[pulumi.Input[str]] = None,
1388
+ path: Optional[pulumi.Input[str]] = None,
1388
1389
  regex: Optional[pulumi.Input[str]] = None,
1389
1390
  run: Optional[pulumi.Input['HostingVersionConfigRewriteRunArgs']] = None):
1390
1391
  """
1391
1392
  :param pulumi.Input[str] function: The function to proxy requests to. Must match the exported function name exactly.
1392
1393
  :param pulumi.Input[str] glob: The user-supplied glob to match against the request URL path.
1394
+ :param pulumi.Input[str] path: The URL path to rewrite the request to.
1393
1395
  :param pulumi.Input[str] regex: The user-supplied RE2 regular expression to match against the request URL path.
1394
1396
  :param pulumi.Input['HostingVersionConfigRewriteRunArgs'] run: The request will be forwarded to Cloud Run.
1395
1397
  Structure is documented below.
@@ -1398,6 +1400,8 @@ class HostingVersionConfigRewriteArgs:
1398
1400
  pulumi.set(__self__, "function", function)
1399
1401
  if glob is not None:
1400
1402
  pulumi.set(__self__, "glob", glob)
1403
+ if path is not None:
1404
+ pulumi.set(__self__, "path", path)
1401
1405
  if regex is not None:
1402
1406
  pulumi.set(__self__, "regex", regex)
1403
1407
  if run is not None:
@@ -1427,6 +1431,18 @@ class HostingVersionConfigRewriteArgs:
1427
1431
  def glob(self, value: Optional[pulumi.Input[str]]):
1428
1432
  pulumi.set(self, "glob", value)
1429
1433
 
1434
+ @property
1435
+ @pulumi.getter
1436
+ def path(self) -> Optional[pulumi.Input[str]]:
1437
+ """
1438
+ The URL path to rewrite the request to.
1439
+ """
1440
+ return pulumi.get(self, "path")
1441
+
1442
+ @path.setter
1443
+ def path(self, value: Optional[pulumi.Input[str]]):
1444
+ pulumi.set(self, "path", value)
1445
+
1430
1446
  @property
1431
1447
  @pulumi.getter
1432
1448
  def regex(self) -> Optional[pulumi.Input[str]]: