pulumi-gcp 8.42.0a1756925793__py3-none-any.whl → 9.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 (149) hide show
  1. pulumi_gcp/__init__.py +35 -48
  2. pulumi_gcp/alloydb/backup.py +8 -4
  3. pulumi_gcp/alloydb/cluster.py +56 -10
  4. pulumi_gcp/alloydb/get_cluster.py +12 -1
  5. pulumi_gcp/alloydb/instance.py +10 -4
  6. pulumi_gcp/alloydb/user.py +8 -4
  7. pulumi_gcp/apigee/_inputs.py +151 -108
  8. pulumi_gcp/apigee/keystores_aliases_key_cert_file.py +52 -40
  9. pulumi_gcp/apigee/outputs.py +92 -88
  10. pulumi_gcp/artifactregistry/__init__.py +1 -0
  11. pulumi_gcp/artifactregistry/_inputs.py +0 -12
  12. pulumi_gcp/artifactregistry/get_npm_package.py +251 -0
  13. pulumi_gcp/artifactregistry/outputs.py +8 -16
  14. pulumi_gcp/beyondcorp/__init__.py +0 -5
  15. pulumi_gcp/beyondcorp/_inputs.py +0 -312
  16. pulumi_gcp/beyondcorp/outputs.py +0 -200
  17. pulumi_gcp/bigquery/_inputs.py +114 -4
  18. pulumi_gcp/bigquery/app_profile.py +52 -19
  19. pulumi_gcp/bigquery/dataset_access.py +8 -4
  20. pulumi_gcp/bigquery/outputs.py +75 -5
  21. pulumi_gcp/bigquery/table.py +21 -7
  22. pulumi_gcp/bigtable/app_profile.py +50 -15
  23. pulumi_gcp/bigtable/get_table_iam_policy.py +16 -18
  24. pulumi_gcp/bigtable/table.py +42 -42
  25. pulumi_gcp/bigtable/table_iam_binding.py +43 -43
  26. pulumi_gcp/bigtable/table_iam_member.py +43 -43
  27. pulumi_gcp/bigtable/table_iam_policy.py +43 -43
  28. pulumi_gcp/billing/_inputs.py +0 -6
  29. pulumi_gcp/billing/outputs.py +0 -4
  30. pulumi_gcp/certificatemanager/__init__.py +1 -0
  31. pulumi_gcp/certificatemanager/get_dns_authorization.py +229 -0
  32. pulumi_gcp/certificatemanager/outputs.py +41 -0
  33. pulumi_gcp/cloudbuild/_inputs.py +289 -45
  34. pulumi_gcp/cloudbuild/bitbucket_server_config.py +2 -6
  35. pulumi_gcp/cloudbuild/get_trigger.py +12 -1
  36. pulumi_gcp/cloudbuild/outputs.py +366 -30
  37. pulumi_gcp/cloudbuild/trigger.py +156 -0
  38. pulumi_gcp/cloudbuild/worker_pool.py +23 -34
  39. pulumi_gcp/cloudfunctions/function.py +8 -4
  40. pulumi_gcp/cloudfunctionsv2/_inputs.py +23 -21
  41. pulumi_gcp/cloudfunctionsv2/outputs.py +17 -16
  42. pulumi_gcp/cloudrunv2/_inputs.py +23 -26
  43. pulumi_gcp/cloudrunv2/outputs.py +28 -30
  44. pulumi_gcp/cloudrunv2/service.py +18 -12
  45. pulumi_gcp/cloudtasks/queue.py +98 -2
  46. pulumi_gcp/colab/_inputs.py +1 -114
  47. pulumi_gcp/colab/outputs.py +1 -106
  48. pulumi_gcp/composer/environment.py +49 -28
  49. pulumi_gcp/compute/_inputs.py +80 -0
  50. pulumi_gcp/compute/backend_bucket.py +54 -0
  51. pulumi_gcp/compute/backend_service.py +54 -0
  52. pulumi_gcp/compute/get_backend_bucket.py +12 -1
  53. pulumi_gcp/compute/get_backend_service.py +12 -1
  54. pulumi_gcp/compute/instance_from_machine_image.py +110 -75
  55. pulumi_gcp/compute/instance_from_template.py +110 -75
  56. pulumi_gcp/compute/instance_group_manager.py +14 -7
  57. pulumi_gcp/compute/instance_template.py +14 -7
  58. pulumi_gcp/compute/interconnect.py +8 -4
  59. pulumi_gcp/compute/network_peering_routes_config.py +0 -100
  60. pulumi_gcp/compute/organization_security_policy.py +83 -51
  61. pulumi_gcp/compute/outputs.py +128 -0
  62. pulumi_gcp/compute/packet_mirroring.py +6 -0
  63. pulumi_gcp/compute/region_instance_group_manager.py +14 -7
  64. pulumi_gcp/compute/subnetwork.py +0 -98
  65. pulumi_gcp/config/__init__.pyi +2 -2
  66. pulumi_gcp/config/vars.py +4 -4
  67. pulumi_gcp/container/_inputs.py +20 -0
  68. pulumi_gcp/container/aws_cluster.py +42 -28
  69. pulumi_gcp/container/aws_node_pool.py +42 -28
  70. pulumi_gcp/container/azure_cluster.py +70 -35
  71. pulumi_gcp/container/azure_node_pool.py +42 -28
  72. pulumi_gcp/container/outputs.py +25 -0
  73. pulumi_gcp/databasemigrationservice/connection_profile.py +4 -2
  74. pulumi_gcp/databasemigrationservice/migration_job.py +4 -2
  75. pulumi_gcp/dataplex/asset.py +21 -28
  76. pulumi_gcp/dataplex/zone.py +21 -28
  77. pulumi_gcp/dataproc/cluster.py +14 -21
  78. pulumi_gcp/dataproc/workflow_template.py +105 -42
  79. pulumi_gcp/diagflow/_inputs.py +152 -0
  80. pulumi_gcp/diagflow/cx_agent.py +425 -0
  81. pulumi_gcp/diagflow/outputs.py +143 -0
  82. pulumi_gcp/firebase/app_check_play_integrity_config.py +4 -8
  83. pulumi_gcp/firebase/app_check_recaptcha_enterprise_config.py +2 -4
  84. pulumi_gcp/firebase/app_check_service_config.py +6 -12
  85. pulumi_gcp/firebase/app_hosting_backend.py +4 -8
  86. pulumi_gcp/firebase/app_hosting_build.py +4 -8
  87. pulumi_gcp/firebase/app_hosting_traffic.py +6 -12
  88. pulumi_gcp/firebase/data_connect_service.py +4 -8
  89. pulumi_gcp/firebase/database_instance.py +4 -8
  90. pulumi_gcp/gkehub/_inputs.py +0 -60
  91. pulumi_gcp/gkehub/get_membership.py +1 -12
  92. pulumi_gcp/gkehub/membership.py +0 -70
  93. pulumi_gcp/gkehub/outputs.py +0 -36
  94. pulumi_gcp/iap/__init__.py +4 -0
  95. pulumi_gcp/iap/_inputs.py +130 -0
  96. pulumi_gcp/iap/get_web_region_forwarding_rule_service_iam_policy.py +182 -0
  97. pulumi_gcp/iap/outputs.py +76 -0
  98. pulumi_gcp/{beyondcorp/application_iam_binding.py → iap/web_region_forwarding_rule_service_iam_binding.py} +321 -314
  99. pulumi_gcp/{beyondcorp/application_iam_member.py → iap/web_region_forwarding_rule_service_iam_member.py} +321 -314
  100. pulumi_gcp/iap/web_region_forwarding_rule_service_iam_policy.py +910 -0
  101. pulumi_gcp/kms/autokey_config.py +0 -2
  102. pulumi_gcp/kms/key_handle.py +0 -2
  103. pulumi_gcp/logging/billing_account_bucket_config.py +21 -7
  104. pulumi_gcp/logging/folder_bucket_config.py +21 -7
  105. pulumi_gcp/logging/organization_bucket_config.py +21 -7
  106. pulumi_gcp/memorystore/get_instance.py +1 -12
  107. pulumi_gcp/memorystore/instance.py +0 -70
  108. pulumi_gcp/monitoring/dashboard.py +14 -7
  109. pulumi_gcp/networkservices/lb_traffic_extension.py +24 -23
  110. pulumi_gcp/notebooks/__init__.py +0 -1
  111. pulumi_gcp/oracledatabase/cloud_vm_cluster.py +3 -3
  112. pulumi_gcp/organizations/project.py +21 -7
  113. pulumi_gcp/projects/service.py +2 -4
  114. pulumi_gcp/provider.py +20 -20
  115. pulumi_gcp/pulumi-plugin.json +1 -1
  116. pulumi_gcp/redis/cluster.py +0 -70
  117. pulumi_gcp/redis/get_cluster.py +1 -12
  118. pulumi_gcp/saasruntime/__init__.py +11 -0
  119. pulumi_gcp/saasruntime/_inputs.py +55 -0
  120. pulumi_gcp/saasruntime/outputs.py +39 -0
  121. pulumi_gcp/saasruntime/saa_s.py +815 -0
  122. pulumi_gcp/securesourcemanager/_inputs.py +20 -19
  123. pulumi_gcp/securesourcemanager/outputs.py +15 -14
  124. pulumi_gcp/serviceaccount/get_account_key.py +1 -21
  125. pulumi_gcp/sql/database_instance.py +61 -7
  126. pulumi_gcp/sql/get_database_instance.py +12 -1
  127. pulumi_gcp/sql/outputs.py +11 -0
  128. pulumi_gcp/sql/user.py +61 -0
  129. pulumi_gcp/storage/_inputs.py +7 -7
  130. pulumi_gcp/storage/bucket.py +14 -7
  131. pulumi_gcp/storage/outputs.py +7 -7
  132. pulumi_gcp/tpu/__init__.py +0 -2
  133. pulumi_gcp/tpu/_inputs.py +0 -93
  134. pulumi_gcp/tpu/outputs.py +0 -72
  135. pulumi_gcp/vertex/_inputs.py +8 -9
  136. pulumi_gcp/vertex/ai_endpoint.py +2 -4
  137. pulumi_gcp/vertex/ai_feature_online_store_featureview.py +0 -2
  138. pulumi_gcp/vertex/ai_index.py +24 -23
  139. pulumi_gcp/vertex/outputs.py +7 -8
  140. {pulumi_gcp-8.42.0a1756925793.dist-info → pulumi_gcp-9.0.0a1.dist-info}/METADATA +1 -1
  141. {pulumi_gcp-8.42.0a1756925793.dist-info → pulumi_gcp-9.0.0a1.dist-info}/RECORD +143 -141
  142. pulumi_gcp/beyondcorp/application.py +0 -746
  143. pulumi_gcp/beyondcorp/application_iam_policy.py +0 -903
  144. pulumi_gcp/beyondcorp/get_application_iam_policy.py +0 -182
  145. pulumi_gcp/notebooks/location.py +0 -285
  146. pulumi_gcp/tpu/get_tensorflow_versions.py +0 -184
  147. pulumi_gcp/tpu/node.py +0 -1062
  148. {pulumi_gcp-8.42.0a1756925793.dist-info → pulumi_gcp-9.0.0a1.dist-info}/WHEEL +0 -0
  149. {pulumi_gcp-8.42.0a1756925793.dist-info → pulumi_gcp-9.0.0a1.dist-info}/top_level.txt +0 -0
@@ -1,746 +0,0 @@
1
- # coding=utf-8
2
- # *** WARNING: this file was generated by pulumi-language-python. ***
3
- # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
-
5
- import builtins as _builtins
6
- import warnings
7
- import sys
8
- import pulumi
9
- import pulumi.runtime
10
- from typing import Any, Mapping, Optional, Sequence, Union, overload
11
- if sys.version_info >= (3, 11):
12
- from typing import NotRequired, TypedDict, TypeAlias
13
- else:
14
- from typing_extensions import NotRequired, TypedDict, TypeAlias
15
- from .. import _utilities
16
- from . import outputs
17
- from ._inputs import *
18
-
19
- __all__ = ['ApplicationArgs', 'Application']
20
-
21
- @pulumi.input_type
22
- class ApplicationArgs:
23
- def __init__(__self__, *,
24
- application_id: pulumi.Input[_builtins.str],
25
- endpoint_matchers: pulumi.Input[Sequence[pulumi.Input['ApplicationEndpointMatcherArgs']]],
26
- security_gateways_id: pulumi.Input[_builtins.str],
27
- display_name: Optional[pulumi.Input[_builtins.str]] = None,
28
- project: Optional[pulumi.Input[_builtins.str]] = None,
29
- upstreams: Optional[pulumi.Input[Sequence[pulumi.Input['ApplicationUpstreamArgs']]]] = None):
30
- """
31
- The set of arguments for constructing a Application resource.
32
- :param pulumi.Input[_builtins.str] application_id: Optional. User-settable Application resource ID.
33
- * Must start with a letter.
34
- * Must contain between 4-63 characters from `/a-z-/`.
35
- * Must end with a number or letter.
36
- :param pulumi.Input[Sequence[pulumi.Input['ApplicationEndpointMatcherArgs']]] endpoint_matchers: Required. Endpoint matchers associated with an application.
37
- A combination of hostname and ports as endpoint matcher is used to match
38
- the application.
39
- Match conditions for OR logic.
40
- An array of match conditions to allow for multiple matching criteria.
41
- The rule is considered a match if one the conditions are met.
42
- The conditions can be one of the following combination
43
- (Hostname), (Hostname & Ports)
44
- EXAMPLES:
45
- Hostname - ("*.abc.com"), ("xyz.abc.com")
46
- Hostname and Ports - ("abc.com" and "22"), ("abc.com" and "22,33") etc
47
- Structure is documented below.
48
- :param pulumi.Input[_builtins.str] security_gateways_id: Part of `parent`. See documentation of `projectsId`.
49
- :param pulumi.Input[_builtins.str] display_name: Optional. An arbitrary user-provided name for the Application resource.
50
- Cannot exceed 64 characters.
51
- :param pulumi.Input[_builtins.str] project: The ID of the project in which the resource belongs.
52
- If it is not provided, the provider project is used.
53
- :param pulumi.Input[Sequence[pulumi.Input['ApplicationUpstreamArgs']]] upstreams: Optional. List of which upstream resource(s) to forward traffic to.
54
- Structure is documented below.
55
- """
56
- pulumi.set(__self__, "application_id", application_id)
57
- pulumi.set(__self__, "endpoint_matchers", endpoint_matchers)
58
- pulumi.set(__self__, "security_gateways_id", security_gateways_id)
59
- if display_name is not None:
60
- pulumi.set(__self__, "display_name", display_name)
61
- if project is not None:
62
- pulumi.set(__self__, "project", project)
63
- if upstreams is not None:
64
- pulumi.set(__self__, "upstreams", upstreams)
65
-
66
- @_builtins.property
67
- @pulumi.getter(name="applicationId")
68
- def application_id(self) -> pulumi.Input[_builtins.str]:
69
- """
70
- Optional. User-settable Application resource ID.
71
- * Must start with a letter.
72
- * Must contain between 4-63 characters from `/a-z-/`.
73
- * Must end with a number or letter.
74
- """
75
- return pulumi.get(self, "application_id")
76
-
77
- @application_id.setter
78
- def application_id(self, value: pulumi.Input[_builtins.str]):
79
- pulumi.set(self, "application_id", value)
80
-
81
- @_builtins.property
82
- @pulumi.getter(name="endpointMatchers")
83
- def endpoint_matchers(self) -> pulumi.Input[Sequence[pulumi.Input['ApplicationEndpointMatcherArgs']]]:
84
- """
85
- Required. Endpoint matchers associated with an application.
86
- A combination of hostname and ports as endpoint matcher is used to match
87
- the application.
88
- Match conditions for OR logic.
89
- An array of match conditions to allow for multiple matching criteria.
90
- The rule is considered a match if one the conditions are met.
91
- The conditions can be one of the following combination
92
- (Hostname), (Hostname & Ports)
93
- EXAMPLES:
94
- Hostname - ("*.abc.com"), ("xyz.abc.com")
95
- Hostname and Ports - ("abc.com" and "22"), ("abc.com" and "22,33") etc
96
- Structure is documented below.
97
- """
98
- return pulumi.get(self, "endpoint_matchers")
99
-
100
- @endpoint_matchers.setter
101
- def endpoint_matchers(self, value: pulumi.Input[Sequence[pulumi.Input['ApplicationEndpointMatcherArgs']]]):
102
- pulumi.set(self, "endpoint_matchers", value)
103
-
104
- @_builtins.property
105
- @pulumi.getter(name="securityGatewaysId")
106
- def security_gateways_id(self) -> pulumi.Input[_builtins.str]:
107
- """
108
- Part of `parent`. See documentation of `projectsId`.
109
- """
110
- return pulumi.get(self, "security_gateways_id")
111
-
112
- @security_gateways_id.setter
113
- def security_gateways_id(self, value: pulumi.Input[_builtins.str]):
114
- pulumi.set(self, "security_gateways_id", value)
115
-
116
- @_builtins.property
117
- @pulumi.getter(name="displayName")
118
- def display_name(self) -> Optional[pulumi.Input[_builtins.str]]:
119
- """
120
- Optional. An arbitrary user-provided name for the Application resource.
121
- Cannot exceed 64 characters.
122
- """
123
- return pulumi.get(self, "display_name")
124
-
125
- @display_name.setter
126
- def display_name(self, value: Optional[pulumi.Input[_builtins.str]]):
127
- pulumi.set(self, "display_name", value)
128
-
129
- @_builtins.property
130
- @pulumi.getter
131
- def project(self) -> Optional[pulumi.Input[_builtins.str]]:
132
- """
133
- The ID of the project in which the resource belongs.
134
- If it is not provided, the provider project is used.
135
- """
136
- return pulumi.get(self, "project")
137
-
138
- @project.setter
139
- def project(self, value: Optional[pulumi.Input[_builtins.str]]):
140
- pulumi.set(self, "project", value)
141
-
142
- @_builtins.property
143
- @pulumi.getter
144
- def upstreams(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ApplicationUpstreamArgs']]]]:
145
- """
146
- Optional. List of which upstream resource(s) to forward traffic to.
147
- Structure is documented below.
148
- """
149
- return pulumi.get(self, "upstreams")
150
-
151
- @upstreams.setter
152
- def upstreams(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ApplicationUpstreamArgs']]]]):
153
- pulumi.set(self, "upstreams", value)
154
-
155
-
156
- @pulumi.input_type
157
- class _ApplicationState:
158
- def __init__(__self__, *,
159
- application_id: Optional[pulumi.Input[_builtins.str]] = None,
160
- create_time: Optional[pulumi.Input[_builtins.str]] = None,
161
- display_name: Optional[pulumi.Input[_builtins.str]] = None,
162
- endpoint_matchers: Optional[pulumi.Input[Sequence[pulumi.Input['ApplicationEndpointMatcherArgs']]]] = None,
163
- name: Optional[pulumi.Input[_builtins.str]] = None,
164
- project: Optional[pulumi.Input[_builtins.str]] = None,
165
- security_gateways_id: Optional[pulumi.Input[_builtins.str]] = None,
166
- update_time: Optional[pulumi.Input[_builtins.str]] = None,
167
- upstreams: Optional[pulumi.Input[Sequence[pulumi.Input['ApplicationUpstreamArgs']]]] = None):
168
- """
169
- Input properties used for looking up and filtering Application resources.
170
- :param pulumi.Input[_builtins.str] application_id: Optional. User-settable Application resource ID.
171
- * Must start with a letter.
172
- * Must contain between 4-63 characters from `/a-z-/`.
173
- * Must end with a number or letter.
174
- :param pulumi.Input[_builtins.str] create_time: Output only. Timestamp when the resource was created.
175
- :param pulumi.Input[_builtins.str] display_name: Optional. An arbitrary user-provided name for the Application resource.
176
- Cannot exceed 64 characters.
177
- :param pulumi.Input[Sequence[pulumi.Input['ApplicationEndpointMatcherArgs']]] endpoint_matchers: Required. Endpoint matchers associated with an application.
178
- A combination of hostname and ports as endpoint matcher is used to match
179
- the application.
180
- Match conditions for OR logic.
181
- An array of match conditions to allow for multiple matching criteria.
182
- The rule is considered a match if one the conditions are met.
183
- The conditions can be one of the following combination
184
- (Hostname), (Hostname & Ports)
185
- EXAMPLES:
186
- Hostname - ("*.abc.com"), ("xyz.abc.com")
187
- Hostname and Ports - ("abc.com" and "22"), ("abc.com" and "22,33") etc
188
- Structure is documented below.
189
- :param pulumi.Input[_builtins.str] name: Identifier. Name of the resource.
190
- :param pulumi.Input[_builtins.str] project: The ID of the project in which the resource belongs.
191
- If it is not provided, the provider project is used.
192
- :param pulumi.Input[_builtins.str] security_gateways_id: Part of `parent`. See documentation of `projectsId`.
193
- :param pulumi.Input[_builtins.str] update_time: Output only. Timestamp when the resource was last modified.
194
- :param pulumi.Input[Sequence[pulumi.Input['ApplicationUpstreamArgs']]] upstreams: Optional. List of which upstream resource(s) to forward traffic to.
195
- Structure is documented below.
196
- """
197
- if application_id is not None:
198
- pulumi.set(__self__, "application_id", application_id)
199
- if create_time is not None:
200
- pulumi.set(__self__, "create_time", create_time)
201
- if display_name is not None:
202
- pulumi.set(__self__, "display_name", display_name)
203
- if endpoint_matchers is not None:
204
- pulumi.set(__self__, "endpoint_matchers", endpoint_matchers)
205
- if name is not None:
206
- pulumi.set(__self__, "name", name)
207
- if project is not None:
208
- pulumi.set(__self__, "project", project)
209
- if security_gateways_id is not None:
210
- pulumi.set(__self__, "security_gateways_id", security_gateways_id)
211
- if update_time is not None:
212
- pulumi.set(__self__, "update_time", update_time)
213
- if upstreams is not None:
214
- pulumi.set(__self__, "upstreams", upstreams)
215
-
216
- @_builtins.property
217
- @pulumi.getter(name="applicationId")
218
- def application_id(self) -> Optional[pulumi.Input[_builtins.str]]:
219
- """
220
- Optional. User-settable Application resource ID.
221
- * Must start with a letter.
222
- * Must contain between 4-63 characters from `/a-z-/`.
223
- * Must end with a number or letter.
224
- """
225
- return pulumi.get(self, "application_id")
226
-
227
- @application_id.setter
228
- def application_id(self, value: Optional[pulumi.Input[_builtins.str]]):
229
- pulumi.set(self, "application_id", value)
230
-
231
- @_builtins.property
232
- @pulumi.getter(name="createTime")
233
- def create_time(self) -> Optional[pulumi.Input[_builtins.str]]:
234
- """
235
- Output only. Timestamp when the resource was created.
236
- """
237
- return pulumi.get(self, "create_time")
238
-
239
- @create_time.setter
240
- def create_time(self, value: Optional[pulumi.Input[_builtins.str]]):
241
- pulumi.set(self, "create_time", value)
242
-
243
- @_builtins.property
244
- @pulumi.getter(name="displayName")
245
- def display_name(self) -> Optional[pulumi.Input[_builtins.str]]:
246
- """
247
- Optional. An arbitrary user-provided name for the Application resource.
248
- Cannot exceed 64 characters.
249
- """
250
- return pulumi.get(self, "display_name")
251
-
252
- @display_name.setter
253
- def display_name(self, value: Optional[pulumi.Input[_builtins.str]]):
254
- pulumi.set(self, "display_name", value)
255
-
256
- @_builtins.property
257
- @pulumi.getter(name="endpointMatchers")
258
- def endpoint_matchers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ApplicationEndpointMatcherArgs']]]]:
259
- """
260
- Required. Endpoint matchers associated with an application.
261
- A combination of hostname and ports as endpoint matcher is used to match
262
- the application.
263
- Match conditions for OR logic.
264
- An array of match conditions to allow for multiple matching criteria.
265
- The rule is considered a match if one the conditions are met.
266
- The conditions can be one of the following combination
267
- (Hostname), (Hostname & Ports)
268
- EXAMPLES:
269
- Hostname - ("*.abc.com"), ("xyz.abc.com")
270
- Hostname and Ports - ("abc.com" and "22"), ("abc.com" and "22,33") etc
271
- Structure is documented below.
272
- """
273
- return pulumi.get(self, "endpoint_matchers")
274
-
275
- @endpoint_matchers.setter
276
- def endpoint_matchers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ApplicationEndpointMatcherArgs']]]]):
277
- pulumi.set(self, "endpoint_matchers", value)
278
-
279
- @_builtins.property
280
- @pulumi.getter
281
- def name(self) -> Optional[pulumi.Input[_builtins.str]]:
282
- """
283
- Identifier. Name of the resource.
284
- """
285
- return pulumi.get(self, "name")
286
-
287
- @name.setter
288
- def name(self, value: Optional[pulumi.Input[_builtins.str]]):
289
- pulumi.set(self, "name", value)
290
-
291
- @_builtins.property
292
- @pulumi.getter
293
- def project(self) -> Optional[pulumi.Input[_builtins.str]]:
294
- """
295
- The ID of the project in which the resource belongs.
296
- If it is not provided, the provider project is used.
297
- """
298
- return pulumi.get(self, "project")
299
-
300
- @project.setter
301
- def project(self, value: Optional[pulumi.Input[_builtins.str]]):
302
- pulumi.set(self, "project", value)
303
-
304
- @_builtins.property
305
- @pulumi.getter(name="securityGatewaysId")
306
- def security_gateways_id(self) -> Optional[pulumi.Input[_builtins.str]]:
307
- """
308
- Part of `parent`. See documentation of `projectsId`.
309
- """
310
- return pulumi.get(self, "security_gateways_id")
311
-
312
- @security_gateways_id.setter
313
- def security_gateways_id(self, value: Optional[pulumi.Input[_builtins.str]]):
314
- pulumi.set(self, "security_gateways_id", value)
315
-
316
- @_builtins.property
317
- @pulumi.getter(name="updateTime")
318
- def update_time(self) -> Optional[pulumi.Input[_builtins.str]]:
319
- """
320
- Output only. Timestamp when the resource was last modified.
321
- """
322
- return pulumi.get(self, "update_time")
323
-
324
- @update_time.setter
325
- def update_time(self, value: Optional[pulumi.Input[_builtins.str]]):
326
- pulumi.set(self, "update_time", value)
327
-
328
- @_builtins.property
329
- @pulumi.getter
330
- def upstreams(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ApplicationUpstreamArgs']]]]:
331
- """
332
- Optional. List of which upstream resource(s) to forward traffic to.
333
- Structure is documented below.
334
- """
335
- return pulumi.get(self, "upstreams")
336
-
337
- @upstreams.setter
338
- def upstreams(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ApplicationUpstreamArgs']]]]):
339
- pulumi.set(self, "upstreams", value)
340
-
341
-
342
- @pulumi.type_token("gcp:beyondcorp/application:Application")
343
- class Application(pulumi.CustomResource):
344
- @overload
345
- def __init__(__self__,
346
- resource_name: str,
347
- opts: Optional[pulumi.ResourceOptions] = None,
348
- application_id: Optional[pulumi.Input[_builtins.str]] = None,
349
- display_name: Optional[pulumi.Input[_builtins.str]] = None,
350
- endpoint_matchers: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ApplicationEndpointMatcherArgs', 'ApplicationEndpointMatcherArgsDict']]]]] = None,
351
- project: Optional[pulumi.Input[_builtins.str]] = None,
352
- security_gateways_id: Optional[pulumi.Input[_builtins.str]] = None,
353
- upstreams: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ApplicationUpstreamArgs', 'ApplicationUpstreamArgsDict']]]]] = None,
354
- __props__=None):
355
- """
356
- > **Warning:** `beyondcorp.Application` is deprecated. Use `beyondcorp.SecurityGatewayApplication` instead.
357
-
358
- Specifies application endpoint(s) to protect behind a Security Gateway.
359
-
360
- ## Example Usage
361
-
362
- ### Beyondcorp Application Basic
363
-
364
- ```python
365
- import pulumi
366
- import pulumi_gcp as gcp
367
-
368
- default = gcp.beyondcorp.SecurityGateway("default",
369
- security_gateway_id="default",
370
- display_name="My Security Gateway resource",
371
- hubs=[{
372
- "region": "us-central1",
373
- }])
374
- example = gcp.beyondcorp.Application("example",
375
- security_gateways_id=default.security_gateway_id,
376
- application_id="google",
377
- endpoint_matchers=[{
378
- "hostname": "google.com",
379
- }])
380
- ```
381
- ### Beyondcorp Application Vpc
382
-
383
- ```python
384
- import pulumi
385
- import pulumi_gcp as gcp
386
-
387
- project = gcp.organizations.get_project()
388
- default = gcp.beyondcorp.SecurityGateway("default",
389
- security_gateway_id="default",
390
- display_name="My Security Gateway resource",
391
- hubs=[{
392
- "region": "us-central1",
393
- }])
394
- example = gcp.beyondcorp.Application("example",
395
- security_gateways_id=default.security_gateway_id,
396
- application_id="my-vm-service",
397
- endpoint_matchers=[{
398
- "hostname": "my-vm-service.com",
399
- }],
400
- upstreams=[{
401
- "egress_policy": {
402
- "regions": ["us-central1"],
403
- },
404
- "network": {
405
- "name": f"projects/{project.project_id}/global/networks/default",
406
- },
407
- }])
408
- ```
409
-
410
- ## Import
411
-
412
- Application can be imported using any of these accepted formats:
413
-
414
- * `projects/{{project}}/locations/global/securityGateways/{{security_gateways_id}}/applications/{{application_id}}`
415
-
416
- * `{{project}}/{{security_gateways_id}}/{{application_id}}`
417
-
418
- * `{{security_gateways_id}}/{{application_id}}`
419
-
420
- When using the `pulumi import` command, Application can be imported using one of the formats above. For example:
421
-
422
- ```sh
423
- $ pulumi import gcp:beyondcorp/application:Application default projects/{{project}}/locations/global/securityGateways/{{security_gateways_id}}/applications/{{application_id}}
424
- ```
425
-
426
- ```sh
427
- $ pulumi import gcp:beyondcorp/application:Application default {{project}}/{{security_gateways_id}}/{{application_id}}
428
- ```
429
-
430
- ```sh
431
- $ pulumi import gcp:beyondcorp/application:Application default {{security_gateways_id}}/{{application_id}}
432
- ```
433
-
434
- :param str resource_name: The name of the resource.
435
- :param pulumi.ResourceOptions opts: Options for the resource.
436
- :param pulumi.Input[_builtins.str] application_id: Optional. User-settable Application resource ID.
437
- * Must start with a letter.
438
- * Must contain between 4-63 characters from `/a-z-/`.
439
- * Must end with a number or letter.
440
- :param pulumi.Input[_builtins.str] display_name: Optional. An arbitrary user-provided name for the Application resource.
441
- Cannot exceed 64 characters.
442
- :param pulumi.Input[Sequence[pulumi.Input[Union['ApplicationEndpointMatcherArgs', 'ApplicationEndpointMatcherArgsDict']]]] endpoint_matchers: Required. Endpoint matchers associated with an application.
443
- A combination of hostname and ports as endpoint matcher is used to match
444
- the application.
445
- Match conditions for OR logic.
446
- An array of match conditions to allow for multiple matching criteria.
447
- The rule is considered a match if one the conditions are met.
448
- The conditions can be one of the following combination
449
- (Hostname), (Hostname & Ports)
450
- EXAMPLES:
451
- Hostname - ("*.abc.com"), ("xyz.abc.com")
452
- Hostname and Ports - ("abc.com" and "22"), ("abc.com" and "22,33") etc
453
- Structure is documented below.
454
- :param pulumi.Input[_builtins.str] project: The ID of the project in which the resource belongs.
455
- If it is not provided, the provider project is used.
456
- :param pulumi.Input[_builtins.str] security_gateways_id: Part of `parent`. See documentation of `projectsId`.
457
- :param pulumi.Input[Sequence[pulumi.Input[Union['ApplicationUpstreamArgs', 'ApplicationUpstreamArgsDict']]]] upstreams: Optional. List of which upstream resource(s) to forward traffic to.
458
- Structure is documented below.
459
- """
460
- ...
461
- @overload
462
- def __init__(__self__,
463
- resource_name: str,
464
- args: ApplicationArgs,
465
- opts: Optional[pulumi.ResourceOptions] = None):
466
- """
467
- > **Warning:** `beyondcorp.Application` is deprecated. Use `beyondcorp.SecurityGatewayApplication` instead.
468
-
469
- Specifies application endpoint(s) to protect behind a Security Gateway.
470
-
471
- ## Example Usage
472
-
473
- ### Beyondcorp Application Basic
474
-
475
- ```python
476
- import pulumi
477
- import pulumi_gcp as gcp
478
-
479
- default = gcp.beyondcorp.SecurityGateway("default",
480
- security_gateway_id="default",
481
- display_name="My Security Gateway resource",
482
- hubs=[{
483
- "region": "us-central1",
484
- }])
485
- example = gcp.beyondcorp.Application("example",
486
- security_gateways_id=default.security_gateway_id,
487
- application_id="google",
488
- endpoint_matchers=[{
489
- "hostname": "google.com",
490
- }])
491
- ```
492
- ### Beyondcorp Application Vpc
493
-
494
- ```python
495
- import pulumi
496
- import pulumi_gcp as gcp
497
-
498
- project = gcp.organizations.get_project()
499
- default = gcp.beyondcorp.SecurityGateway("default",
500
- security_gateway_id="default",
501
- display_name="My Security Gateway resource",
502
- hubs=[{
503
- "region": "us-central1",
504
- }])
505
- example = gcp.beyondcorp.Application("example",
506
- security_gateways_id=default.security_gateway_id,
507
- application_id="my-vm-service",
508
- endpoint_matchers=[{
509
- "hostname": "my-vm-service.com",
510
- }],
511
- upstreams=[{
512
- "egress_policy": {
513
- "regions": ["us-central1"],
514
- },
515
- "network": {
516
- "name": f"projects/{project.project_id}/global/networks/default",
517
- },
518
- }])
519
- ```
520
-
521
- ## Import
522
-
523
- Application can be imported using any of these accepted formats:
524
-
525
- * `projects/{{project}}/locations/global/securityGateways/{{security_gateways_id}}/applications/{{application_id}}`
526
-
527
- * `{{project}}/{{security_gateways_id}}/{{application_id}}`
528
-
529
- * `{{security_gateways_id}}/{{application_id}}`
530
-
531
- When using the `pulumi import` command, Application can be imported using one of the formats above. For example:
532
-
533
- ```sh
534
- $ pulumi import gcp:beyondcorp/application:Application default projects/{{project}}/locations/global/securityGateways/{{security_gateways_id}}/applications/{{application_id}}
535
- ```
536
-
537
- ```sh
538
- $ pulumi import gcp:beyondcorp/application:Application default {{project}}/{{security_gateways_id}}/{{application_id}}
539
- ```
540
-
541
- ```sh
542
- $ pulumi import gcp:beyondcorp/application:Application default {{security_gateways_id}}/{{application_id}}
543
- ```
544
-
545
- :param str resource_name: The name of the resource.
546
- :param ApplicationArgs args: The arguments to use to populate this resource's properties.
547
- :param pulumi.ResourceOptions opts: Options for the resource.
548
- """
549
- ...
550
- def __init__(__self__, resource_name: str, *args, **kwargs):
551
- resource_args, opts = _utilities.get_resource_args_opts(ApplicationArgs, pulumi.ResourceOptions, *args, **kwargs)
552
- if resource_args is not None:
553
- __self__._internal_init(resource_name, opts, **resource_args.__dict__)
554
- else:
555
- __self__._internal_init(resource_name, *args, **kwargs)
556
-
557
- def _internal_init(__self__,
558
- resource_name: str,
559
- opts: Optional[pulumi.ResourceOptions] = None,
560
- application_id: Optional[pulumi.Input[_builtins.str]] = None,
561
- display_name: Optional[pulumi.Input[_builtins.str]] = None,
562
- endpoint_matchers: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ApplicationEndpointMatcherArgs', 'ApplicationEndpointMatcherArgsDict']]]]] = None,
563
- project: Optional[pulumi.Input[_builtins.str]] = None,
564
- security_gateways_id: Optional[pulumi.Input[_builtins.str]] = None,
565
- upstreams: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ApplicationUpstreamArgs', 'ApplicationUpstreamArgsDict']]]]] = None,
566
- __props__=None):
567
- opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
568
- if not isinstance(opts, pulumi.ResourceOptions):
569
- raise TypeError('Expected resource options to be a ResourceOptions instance')
570
- if opts.id is None:
571
- if __props__ is not None:
572
- raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
573
- __props__ = ApplicationArgs.__new__(ApplicationArgs)
574
-
575
- if application_id is None and not opts.urn:
576
- raise TypeError("Missing required property 'application_id'")
577
- __props__.__dict__["application_id"] = application_id
578
- __props__.__dict__["display_name"] = display_name
579
- if endpoint_matchers is None and not opts.urn:
580
- raise TypeError("Missing required property 'endpoint_matchers'")
581
- __props__.__dict__["endpoint_matchers"] = endpoint_matchers
582
- __props__.__dict__["project"] = project
583
- if security_gateways_id is None and not opts.urn:
584
- raise TypeError("Missing required property 'security_gateways_id'")
585
- __props__.__dict__["security_gateways_id"] = security_gateways_id
586
- __props__.__dict__["upstreams"] = upstreams
587
- __props__.__dict__["create_time"] = None
588
- __props__.__dict__["name"] = None
589
- __props__.__dict__["update_time"] = None
590
- super(Application, __self__).__init__(
591
- 'gcp:beyondcorp/application:Application',
592
- resource_name,
593
- __props__,
594
- opts)
595
-
596
- @staticmethod
597
- def get(resource_name: str,
598
- id: pulumi.Input[str],
599
- opts: Optional[pulumi.ResourceOptions] = None,
600
- application_id: Optional[pulumi.Input[_builtins.str]] = None,
601
- create_time: Optional[pulumi.Input[_builtins.str]] = None,
602
- display_name: Optional[pulumi.Input[_builtins.str]] = None,
603
- endpoint_matchers: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ApplicationEndpointMatcherArgs', 'ApplicationEndpointMatcherArgsDict']]]]] = None,
604
- name: Optional[pulumi.Input[_builtins.str]] = None,
605
- project: Optional[pulumi.Input[_builtins.str]] = None,
606
- security_gateways_id: Optional[pulumi.Input[_builtins.str]] = None,
607
- update_time: Optional[pulumi.Input[_builtins.str]] = None,
608
- upstreams: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ApplicationUpstreamArgs', 'ApplicationUpstreamArgsDict']]]]] = None) -> 'Application':
609
- """
610
- Get an existing Application resource's state with the given name, id, and optional extra
611
- properties used to qualify the lookup.
612
-
613
- :param str resource_name: The unique name of the resulting resource.
614
- :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
615
- :param pulumi.ResourceOptions opts: Options for the resource.
616
- :param pulumi.Input[_builtins.str] application_id: Optional. User-settable Application resource ID.
617
- * Must start with a letter.
618
- * Must contain between 4-63 characters from `/a-z-/`.
619
- * Must end with a number or letter.
620
- :param pulumi.Input[_builtins.str] create_time: Output only. Timestamp when the resource was created.
621
- :param pulumi.Input[_builtins.str] display_name: Optional. An arbitrary user-provided name for the Application resource.
622
- Cannot exceed 64 characters.
623
- :param pulumi.Input[Sequence[pulumi.Input[Union['ApplicationEndpointMatcherArgs', 'ApplicationEndpointMatcherArgsDict']]]] endpoint_matchers: Required. Endpoint matchers associated with an application.
624
- A combination of hostname and ports as endpoint matcher is used to match
625
- the application.
626
- Match conditions for OR logic.
627
- An array of match conditions to allow for multiple matching criteria.
628
- The rule is considered a match if one the conditions are met.
629
- The conditions can be one of the following combination
630
- (Hostname), (Hostname & Ports)
631
- EXAMPLES:
632
- Hostname - ("*.abc.com"), ("xyz.abc.com")
633
- Hostname and Ports - ("abc.com" and "22"), ("abc.com" and "22,33") etc
634
- Structure is documented below.
635
- :param pulumi.Input[_builtins.str] name: Identifier. Name of the resource.
636
- :param pulumi.Input[_builtins.str] project: The ID of the project in which the resource belongs.
637
- If it is not provided, the provider project is used.
638
- :param pulumi.Input[_builtins.str] security_gateways_id: Part of `parent`. See documentation of `projectsId`.
639
- :param pulumi.Input[_builtins.str] update_time: Output only. Timestamp when the resource was last modified.
640
- :param pulumi.Input[Sequence[pulumi.Input[Union['ApplicationUpstreamArgs', 'ApplicationUpstreamArgsDict']]]] upstreams: Optional. List of which upstream resource(s) to forward traffic to.
641
- Structure is documented below.
642
- """
643
- opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
644
-
645
- __props__ = _ApplicationState.__new__(_ApplicationState)
646
-
647
- __props__.__dict__["application_id"] = application_id
648
- __props__.__dict__["create_time"] = create_time
649
- __props__.__dict__["display_name"] = display_name
650
- __props__.__dict__["endpoint_matchers"] = endpoint_matchers
651
- __props__.__dict__["name"] = name
652
- __props__.__dict__["project"] = project
653
- __props__.__dict__["security_gateways_id"] = security_gateways_id
654
- __props__.__dict__["update_time"] = update_time
655
- __props__.__dict__["upstreams"] = upstreams
656
- return Application(resource_name, opts=opts, __props__=__props__)
657
-
658
- @_builtins.property
659
- @pulumi.getter(name="applicationId")
660
- def application_id(self) -> pulumi.Output[_builtins.str]:
661
- """
662
- Optional. User-settable Application resource ID.
663
- * Must start with a letter.
664
- * Must contain between 4-63 characters from `/a-z-/`.
665
- * Must end with a number or letter.
666
- """
667
- return pulumi.get(self, "application_id")
668
-
669
- @_builtins.property
670
- @pulumi.getter(name="createTime")
671
- def create_time(self) -> pulumi.Output[_builtins.str]:
672
- """
673
- Output only. Timestamp when the resource was created.
674
- """
675
- return pulumi.get(self, "create_time")
676
-
677
- @_builtins.property
678
- @pulumi.getter(name="displayName")
679
- def display_name(self) -> pulumi.Output[Optional[_builtins.str]]:
680
- """
681
- Optional. An arbitrary user-provided name for the Application resource.
682
- Cannot exceed 64 characters.
683
- """
684
- return pulumi.get(self, "display_name")
685
-
686
- @_builtins.property
687
- @pulumi.getter(name="endpointMatchers")
688
- def endpoint_matchers(self) -> pulumi.Output[Sequence['outputs.ApplicationEndpointMatcher']]:
689
- """
690
- Required. Endpoint matchers associated with an application.
691
- A combination of hostname and ports as endpoint matcher is used to match
692
- the application.
693
- Match conditions for OR logic.
694
- An array of match conditions to allow for multiple matching criteria.
695
- The rule is considered a match if one the conditions are met.
696
- The conditions can be one of the following combination
697
- (Hostname), (Hostname & Ports)
698
- EXAMPLES:
699
- Hostname - ("*.abc.com"), ("xyz.abc.com")
700
- Hostname and Ports - ("abc.com" and "22"), ("abc.com" and "22,33") etc
701
- Structure is documented below.
702
- """
703
- return pulumi.get(self, "endpoint_matchers")
704
-
705
- @_builtins.property
706
- @pulumi.getter
707
- def name(self) -> pulumi.Output[_builtins.str]:
708
- """
709
- Identifier. Name of the resource.
710
- """
711
- return pulumi.get(self, "name")
712
-
713
- @_builtins.property
714
- @pulumi.getter
715
- def project(self) -> pulumi.Output[_builtins.str]:
716
- """
717
- The ID of the project in which the resource belongs.
718
- If it is not provided, the provider project is used.
719
- """
720
- return pulumi.get(self, "project")
721
-
722
- @_builtins.property
723
- @pulumi.getter(name="securityGatewaysId")
724
- def security_gateways_id(self) -> pulumi.Output[_builtins.str]:
725
- """
726
- Part of `parent`. See documentation of `projectsId`.
727
- """
728
- return pulumi.get(self, "security_gateways_id")
729
-
730
- @_builtins.property
731
- @pulumi.getter(name="updateTime")
732
- def update_time(self) -> pulumi.Output[_builtins.str]:
733
- """
734
- Output only. Timestamp when the resource was last modified.
735
- """
736
- return pulumi.get(self, "update_time")
737
-
738
- @_builtins.property
739
- @pulumi.getter
740
- def upstreams(self) -> pulumi.Output[Optional[Sequence['outputs.ApplicationUpstream']]]:
741
- """
742
- Optional. List of which upstream resource(s) to forward traffic to.
743
- Structure is documented below.
744
- """
745
- return pulumi.get(self, "upstreams")
746
-