pulumi-gcp 7.15.0a1711038061__py3-none-any.whl → 7.16.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 (83) hide show
  1. pulumi_gcp/__init__.py +102 -0
  2. pulumi_gcp/accesscontextmanager/__init__.py +1 -0
  3. pulumi_gcp/accesscontextmanager/_inputs.py +74 -58
  4. pulumi_gcp/accesscontextmanager/outputs.py +74 -58
  5. pulumi_gcp/accesscontextmanager/service_perimeter.py +0 -2
  6. pulumi_gcp/accesscontextmanager/service_perimeter_dry_run_resource.py +345 -0
  7. pulumi_gcp/accesscontextmanager/service_perimeter_egress_policy.py +80 -0
  8. pulumi_gcp/accesscontextmanager/service_perimeter_ingress_policy.py +86 -0
  9. pulumi_gcp/accesscontextmanager/service_perimeter_resource.py +4 -2
  10. pulumi_gcp/apphub/__init__.py +15 -0
  11. pulumi_gcp/apphub/_inputs.py +1016 -0
  12. pulumi_gcp/apphub/application.py +775 -0
  13. pulumi_gcp/apphub/get_discovered_service.py +180 -0
  14. pulumi_gcp/apphub/get_discovered_workload.py +180 -0
  15. pulumi_gcp/apphub/outputs.py +1206 -0
  16. pulumi_gcp/apphub/service.py +1121 -0
  17. pulumi_gcp/apphub/service_project_attachment.py +516 -0
  18. pulumi_gcp/apphub/workload.py +1197 -0
  19. pulumi_gcp/cloudquota/__init__.py +10 -0
  20. pulumi_gcp/cloudquota/get_s_quota_info.py +322 -0
  21. pulumi_gcp/cloudquota/get_s_quota_infos.py +136 -0
  22. pulumi_gcp/cloudquota/outputs.py +375 -0
  23. pulumi_gcp/cloudrunv2/_inputs.py +85 -4
  24. pulumi_gcp/cloudrunv2/get_service.py +11 -1
  25. pulumi_gcp/cloudrunv2/outputs.py +165 -6
  26. pulumi_gcp/cloudrunv2/service.py +60 -6
  27. pulumi_gcp/composer/_inputs.py +16 -0
  28. pulumi_gcp/composer/outputs.py +23 -0
  29. pulumi_gcp/compute/_inputs.py +109 -11
  30. pulumi_gcp/compute/outputs.py +144 -13
  31. pulumi_gcp/compute/region_network_endpoint_group.py +30 -0
  32. pulumi_gcp/compute/region_url_map.py +152 -0
  33. pulumi_gcp/config/__init__.pyi +4 -0
  34. pulumi_gcp/config/vars.py +8 -0
  35. pulumi_gcp/dataform/repository.py +4 -74
  36. pulumi_gcp/firebase/__init__.py +1 -0
  37. pulumi_gcp/firebase/android_app.py +41 -40
  38. pulumi_gcp/firebase/app_check_device_check_config.py +572 -0
  39. pulumi_gcp/firestore/_inputs.py +69 -0
  40. pulumi_gcp/firestore/database.py +206 -0
  41. pulumi_gcp/firestore/index.py +34 -48
  42. pulumi_gcp/firestore/outputs.py +80 -0
  43. pulumi_gcp/gkeonprem/_inputs.py +1 -3
  44. pulumi_gcp/gkeonprem/outputs.py +1 -3
  45. pulumi_gcp/gkeonprem/v_mware_cluster.py +2 -0
  46. pulumi_gcp/iap/__init__.py +5 -0
  47. pulumi_gcp/iap/_inputs.py +100 -0
  48. pulumi_gcp/iap/get_tunnel_dest_group_iam_policy.py +172 -0
  49. pulumi_gcp/iap/outputs.py +76 -0
  50. pulumi_gcp/iap/tunnel_dest_group.py +524 -0
  51. pulumi_gcp/iap/tunnel_dest_group_iam_binding.py +858 -0
  52. pulumi_gcp/iap/tunnel_dest_group_iam_member.py +858 -0
  53. pulumi_gcp/iap/tunnel_dest_group_iam_policy.py +760 -0
  54. pulumi_gcp/kms/__init__.py +1 -0
  55. pulumi_gcp/kms/_inputs.py +246 -0
  56. pulumi_gcp/kms/ekm_connection.py +610 -0
  57. pulumi_gcp/kms/outputs.py +242 -0
  58. pulumi_gcp/monitoring/_inputs.py +2 -0
  59. pulumi_gcp/monitoring/outputs.py +2 -0
  60. pulumi_gcp/networksecurity/__init__.py +1 -0
  61. pulumi_gcp/networksecurity/firewall_endpoint.py +48 -0
  62. pulumi_gcp/networksecurity/firewall_endpoint_association.py +753 -0
  63. pulumi_gcp/notebooks/instance.py +8 -0
  64. pulumi_gcp/orgpolicy/policy.py +2 -2
  65. pulumi_gcp/provider.py +40 -0
  66. pulumi_gcp/pubsub/_inputs.py +108 -0
  67. pulumi_gcp/pubsub/get_topic.py +11 -1
  68. pulumi_gcp/pubsub/outputs.py +213 -0
  69. pulumi_gcp/pubsub/subscription.py +4 -4
  70. pulumi_gcp/pubsub/topic.py +92 -0
  71. pulumi_gcp/securityposture/posture.py +2 -2
  72. pulumi_gcp/securityposture/posture_deployment.py +2 -2
  73. pulumi_gcp/storage/_inputs.py +72 -15
  74. pulumi_gcp/storage/bucket.py +54 -0
  75. pulumi_gcp/storage/get_bucket.py +11 -1
  76. pulumi_gcp/storage/outputs.py +110 -14
  77. pulumi_gcp/workstations/_inputs.py +247 -4
  78. pulumi_gcp/workstations/outputs.py +261 -5
  79. pulumi_gcp/workstations/workstation_config.py +160 -0
  80. {pulumi_gcp-7.15.0a1711038061.dist-info → pulumi_gcp-7.16.0.dist-info}/METADATA +1 -1
  81. {pulumi_gcp-7.15.0a1711038061.dist-info → pulumi_gcp-7.16.0.dist-info}/RECORD +83 -61
  82. {pulumi_gcp-7.15.0a1711038061.dist-info → pulumi_gcp-7.16.0.dist-info}/WHEEL +0 -0
  83. {pulumi_gcp-7.15.0a1711038061.dist-info → pulumi_gcp-7.16.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,180 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import copy
6
+ import warnings
7
+ import pulumi
8
+ import pulumi.runtime
9
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
10
+ from .. import _utilities
11
+ from . import outputs
12
+
13
+ __all__ = [
14
+ 'GetDiscoveredServiceResult',
15
+ 'AwaitableGetDiscoveredServiceResult',
16
+ 'get_discovered_service',
17
+ 'get_discovered_service_output',
18
+ ]
19
+
20
+ @pulumi.output_type
21
+ class GetDiscoveredServiceResult:
22
+ """
23
+ A collection of values returned by getDiscoveredService.
24
+ """
25
+ def __init__(__self__, id=None, location=None, name=None, project=None, service_properties=None, service_references=None, service_uri=None):
26
+ if id and not isinstance(id, str):
27
+ raise TypeError("Expected argument 'id' to be a str")
28
+ pulumi.set(__self__, "id", id)
29
+ if location and not isinstance(location, str):
30
+ raise TypeError("Expected argument 'location' to be a str")
31
+ pulumi.set(__self__, "location", location)
32
+ if name and not isinstance(name, str):
33
+ raise TypeError("Expected argument 'name' to be a str")
34
+ pulumi.set(__self__, "name", name)
35
+ if project and not isinstance(project, str):
36
+ raise TypeError("Expected argument 'project' to be a str")
37
+ pulumi.set(__self__, "project", project)
38
+ if service_properties and not isinstance(service_properties, list):
39
+ raise TypeError("Expected argument 'service_properties' to be a list")
40
+ pulumi.set(__self__, "service_properties", service_properties)
41
+ if service_references and not isinstance(service_references, list):
42
+ raise TypeError("Expected argument 'service_references' to be a list")
43
+ pulumi.set(__self__, "service_references", service_references)
44
+ if service_uri and not isinstance(service_uri, str):
45
+ raise TypeError("Expected argument 'service_uri' to be a str")
46
+ pulumi.set(__self__, "service_uri", service_uri)
47
+
48
+ @property
49
+ @pulumi.getter
50
+ def id(self) -> str:
51
+ """
52
+ The provider-assigned unique ID for this managed resource.
53
+ """
54
+ return pulumi.get(self, "id")
55
+
56
+ @property
57
+ @pulumi.getter
58
+ def location(self) -> str:
59
+ """
60
+ The location that the underlying resource resides in.
61
+ """
62
+ return pulumi.get(self, "location")
63
+
64
+ @property
65
+ @pulumi.getter
66
+ def name(self) -> str:
67
+ """
68
+ Resource name of a Service. Format: "projects/{host-project-id}/locations/{location}/applications/{application-id}/services/{service-id}".
69
+ """
70
+ return pulumi.get(self, "name")
71
+
72
+ @property
73
+ @pulumi.getter
74
+ def project(self) -> Optional[str]:
75
+ return pulumi.get(self, "project")
76
+
77
+ @property
78
+ @pulumi.getter(name="serviceProperties")
79
+ def service_properties(self) -> Sequence['outputs.GetDiscoveredServiceServicePropertyResult']:
80
+ """
81
+ Properties of an underlying compute resource that can comprise a Service. Structure is documented below
82
+ """
83
+ return pulumi.get(self, "service_properties")
84
+
85
+ @property
86
+ @pulumi.getter(name="serviceReferences")
87
+ def service_references(self) -> Sequence['outputs.GetDiscoveredServiceServiceReferenceResult']:
88
+ """
89
+ Reference to an underlying networking resource that can comprise a Service. Structure is documented below
90
+ """
91
+ return pulumi.get(self, "service_references")
92
+
93
+ @property
94
+ @pulumi.getter(name="serviceUri")
95
+ def service_uri(self) -> str:
96
+ return pulumi.get(self, "service_uri")
97
+
98
+
99
+ class AwaitableGetDiscoveredServiceResult(GetDiscoveredServiceResult):
100
+ # pylint: disable=using-constant-test
101
+ def __await__(self):
102
+ if False:
103
+ yield self
104
+ return GetDiscoveredServiceResult(
105
+ id=self.id,
106
+ location=self.location,
107
+ name=self.name,
108
+ project=self.project,
109
+ service_properties=self.service_properties,
110
+ service_references=self.service_references,
111
+ service_uri=self.service_uri)
112
+
113
+
114
+ def get_discovered_service(location: Optional[str] = None,
115
+ project: Optional[str] = None,
116
+ service_uri: Optional[str] = None,
117
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDiscoveredServiceResult:
118
+ """
119
+ Get information about a discovered service from its uri.
120
+
121
+ ## Example Usage
122
+
123
+ <!--Start PulumiCodeChooser -->
124
+ ```python
125
+ import pulumi
126
+ import pulumi_gcp as gcp
127
+
128
+ my_service = gcp.apphub.get_discovered_service(location="my-location",
129
+ service_uri="my-service-uri")
130
+ ```
131
+ <!--End PulumiCodeChooser -->
132
+
133
+
134
+ :param str location: The location of the discovered service.
135
+ :param str project: The host project of the discovered service.
136
+ :param str service_uri: The uri of the service.
137
+ """
138
+ __args__ = dict()
139
+ __args__['location'] = location
140
+ __args__['project'] = project
141
+ __args__['serviceUri'] = service_uri
142
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
143
+ __ret__ = pulumi.runtime.invoke('gcp:apphub/getDiscoveredService:getDiscoveredService', __args__, opts=opts, typ=GetDiscoveredServiceResult).value
144
+
145
+ return AwaitableGetDiscoveredServiceResult(
146
+ id=pulumi.get(__ret__, 'id'),
147
+ location=pulumi.get(__ret__, 'location'),
148
+ name=pulumi.get(__ret__, 'name'),
149
+ project=pulumi.get(__ret__, 'project'),
150
+ service_properties=pulumi.get(__ret__, 'service_properties'),
151
+ service_references=pulumi.get(__ret__, 'service_references'),
152
+ service_uri=pulumi.get(__ret__, 'service_uri'))
153
+
154
+
155
+ @_utilities.lift_output_func(get_discovered_service)
156
+ def get_discovered_service_output(location: Optional[pulumi.Input[str]] = None,
157
+ project: Optional[pulumi.Input[Optional[str]]] = None,
158
+ service_uri: Optional[pulumi.Input[str]] = None,
159
+ opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDiscoveredServiceResult]:
160
+ """
161
+ Get information about a discovered service from its uri.
162
+
163
+ ## Example Usage
164
+
165
+ <!--Start PulumiCodeChooser -->
166
+ ```python
167
+ import pulumi
168
+ import pulumi_gcp as gcp
169
+
170
+ my_service = gcp.apphub.get_discovered_service(location="my-location",
171
+ service_uri="my-service-uri")
172
+ ```
173
+ <!--End PulumiCodeChooser -->
174
+
175
+
176
+ :param str location: The location of the discovered service.
177
+ :param str project: The host project of the discovered service.
178
+ :param str service_uri: The uri of the service.
179
+ """
180
+ ...
@@ -0,0 +1,180 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import copy
6
+ import warnings
7
+ import pulumi
8
+ import pulumi.runtime
9
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
10
+ from .. import _utilities
11
+ from . import outputs
12
+
13
+ __all__ = [
14
+ 'GetDiscoveredWorkloadResult',
15
+ 'AwaitableGetDiscoveredWorkloadResult',
16
+ 'get_discovered_workload',
17
+ 'get_discovered_workload_output',
18
+ ]
19
+
20
+ @pulumi.output_type
21
+ class GetDiscoveredWorkloadResult:
22
+ """
23
+ A collection of values returned by getDiscoveredWorkload.
24
+ """
25
+ def __init__(__self__, id=None, location=None, name=None, project=None, workload_properties=None, workload_references=None, workload_uri=None):
26
+ if id and not isinstance(id, str):
27
+ raise TypeError("Expected argument 'id' to be a str")
28
+ pulumi.set(__self__, "id", id)
29
+ if location and not isinstance(location, str):
30
+ raise TypeError("Expected argument 'location' to be a str")
31
+ pulumi.set(__self__, "location", location)
32
+ if name and not isinstance(name, str):
33
+ raise TypeError("Expected argument 'name' to be a str")
34
+ pulumi.set(__self__, "name", name)
35
+ if project and not isinstance(project, str):
36
+ raise TypeError("Expected argument 'project' to be a str")
37
+ pulumi.set(__self__, "project", project)
38
+ if workload_properties and not isinstance(workload_properties, list):
39
+ raise TypeError("Expected argument 'workload_properties' to be a list")
40
+ pulumi.set(__self__, "workload_properties", workload_properties)
41
+ if workload_references and not isinstance(workload_references, list):
42
+ raise TypeError("Expected argument 'workload_references' to be a list")
43
+ pulumi.set(__self__, "workload_references", workload_references)
44
+ if workload_uri and not isinstance(workload_uri, str):
45
+ raise TypeError("Expected argument 'workload_uri' to be a str")
46
+ pulumi.set(__self__, "workload_uri", workload_uri)
47
+
48
+ @property
49
+ @pulumi.getter
50
+ def id(self) -> str:
51
+ """
52
+ The provider-assigned unique ID for this managed resource.
53
+ """
54
+ return pulumi.get(self, "id")
55
+
56
+ @property
57
+ @pulumi.getter
58
+ def location(self) -> str:
59
+ """
60
+ The location that the underlying resource resides in.
61
+ """
62
+ return pulumi.get(self, "location")
63
+
64
+ @property
65
+ @pulumi.getter
66
+ def name(self) -> str:
67
+ """
68
+ Resource name of a Workload. Format: "projects/{host-project-id}/locations/{location}/applications/{application-id}/workloads/{workload-id}".
69
+ """
70
+ return pulumi.get(self, "name")
71
+
72
+ @property
73
+ @pulumi.getter
74
+ def project(self) -> Optional[str]:
75
+ return pulumi.get(self, "project")
76
+
77
+ @property
78
+ @pulumi.getter(name="workloadProperties")
79
+ def workload_properties(self) -> Sequence['outputs.GetDiscoveredWorkloadWorkloadPropertyResult']:
80
+ """
81
+ Properties of an underlying compute resource that can comprise a Workload. Structure is documented below
82
+ """
83
+ return pulumi.get(self, "workload_properties")
84
+
85
+ @property
86
+ @pulumi.getter(name="workloadReferences")
87
+ def workload_references(self) -> Sequence['outputs.GetDiscoveredWorkloadWorkloadReferenceResult']:
88
+ """
89
+ Reference to an underlying networking resource that can comprise a Workload. Structure is documented below
90
+ """
91
+ return pulumi.get(self, "workload_references")
92
+
93
+ @property
94
+ @pulumi.getter(name="workloadUri")
95
+ def workload_uri(self) -> str:
96
+ return pulumi.get(self, "workload_uri")
97
+
98
+
99
+ class AwaitableGetDiscoveredWorkloadResult(GetDiscoveredWorkloadResult):
100
+ # pylint: disable=using-constant-test
101
+ def __await__(self):
102
+ if False:
103
+ yield self
104
+ return GetDiscoveredWorkloadResult(
105
+ id=self.id,
106
+ location=self.location,
107
+ name=self.name,
108
+ project=self.project,
109
+ workload_properties=self.workload_properties,
110
+ workload_references=self.workload_references,
111
+ workload_uri=self.workload_uri)
112
+
113
+
114
+ def get_discovered_workload(location: Optional[str] = None,
115
+ project: Optional[str] = None,
116
+ workload_uri: Optional[str] = None,
117
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDiscoveredWorkloadResult:
118
+ """
119
+ Get information about a discovered workload from its uri.
120
+
121
+ ## Example Usage
122
+
123
+ <!--Start PulumiCodeChooser -->
124
+ ```python
125
+ import pulumi
126
+ import pulumi_gcp as gcp
127
+
128
+ my_workload = gcp.apphub.get_discovered_workload(location="us-central1",
129
+ workload_uri="my-workload-uri")
130
+ ```
131
+ <!--End PulumiCodeChooser -->
132
+
133
+
134
+ :param str location: The location of the discovered workload.
135
+ :param str project: The host project of the discovered workload.
136
+ :param str workload_uri: The uri of the workload (instance group managed by the Instance Group Manager). Example: "//compute.googleapis.com/projects/1/regions/us-east1/instanceGroups/id1"
137
+ """
138
+ __args__ = dict()
139
+ __args__['location'] = location
140
+ __args__['project'] = project
141
+ __args__['workloadUri'] = workload_uri
142
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
143
+ __ret__ = pulumi.runtime.invoke('gcp:apphub/getDiscoveredWorkload:getDiscoveredWorkload', __args__, opts=opts, typ=GetDiscoveredWorkloadResult).value
144
+
145
+ return AwaitableGetDiscoveredWorkloadResult(
146
+ id=pulumi.get(__ret__, 'id'),
147
+ location=pulumi.get(__ret__, 'location'),
148
+ name=pulumi.get(__ret__, 'name'),
149
+ project=pulumi.get(__ret__, 'project'),
150
+ workload_properties=pulumi.get(__ret__, 'workload_properties'),
151
+ workload_references=pulumi.get(__ret__, 'workload_references'),
152
+ workload_uri=pulumi.get(__ret__, 'workload_uri'))
153
+
154
+
155
+ @_utilities.lift_output_func(get_discovered_workload)
156
+ def get_discovered_workload_output(location: Optional[pulumi.Input[str]] = None,
157
+ project: Optional[pulumi.Input[Optional[str]]] = None,
158
+ workload_uri: Optional[pulumi.Input[str]] = None,
159
+ opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDiscoveredWorkloadResult]:
160
+ """
161
+ Get information about a discovered workload from its uri.
162
+
163
+ ## Example Usage
164
+
165
+ <!--Start PulumiCodeChooser -->
166
+ ```python
167
+ import pulumi
168
+ import pulumi_gcp as gcp
169
+
170
+ my_workload = gcp.apphub.get_discovered_workload(location="us-central1",
171
+ workload_uri="my-workload-uri")
172
+ ```
173
+ <!--End PulumiCodeChooser -->
174
+
175
+
176
+ :param str location: The location of the discovered workload.
177
+ :param str project: The host project of the discovered workload.
178
+ :param str workload_uri: The uri of the workload (instance group managed by the Instance Group Manager). Example: "//compute.googleapis.com/projects/1/regions/us-east1/instanceGroups/id1"
179
+ """
180
+ ...