pulumi-gcp 9.3.0a1759387993__py3-none-any.whl → 9.3.0a1759868184__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.
- pulumi_gcp/__init__.py +32 -0
- pulumi_gcp/apigee/__init__.py +1 -0
- pulumi_gcp/apigee/api_deployment.py +372 -0
- pulumi_gcp/apihub/plugin.py +1 -1
- pulumi_gcp/artifactregistry/__init__.py +2 -0
- pulumi_gcp/artifactregistry/get_maven_artifacts.py +164 -0
- pulumi_gcp/artifactregistry/get_npm_packages.py +164 -0
- pulumi_gcp/artifactregistry/outputs.py +165 -0
- pulumi_gcp/cloudrunv2/_inputs.py +823 -15
- pulumi_gcp/cloudrunv2/outputs.py +1749 -743
- pulumi_gcp/cloudrunv2/worker_pool.py +110 -0
- pulumi_gcp/compute/_inputs.py +28 -0
- pulumi_gcp/compute/outputs.py +20 -1
- pulumi_gcp/compute/vpn_tunnel.py +97 -23
- pulumi_gcp/compute/wire_group.py +2 -0
- pulumi_gcp/dataloss/_inputs.py +970 -30
- pulumi_gcp/dataloss/outputs.py +850 -20
- pulumi_gcp/dataloss/prevention_discovery_config.py +54 -0
- pulumi_gcp/diagflow/_inputs.py +66 -0
- pulumi_gcp/diagflow/conversation_profile.py +84 -0
- pulumi_gcp/diagflow/outputs.py +57 -0
- pulumi_gcp/discoveryengine/__init__.py +1 -0
- pulumi_gcp/discoveryengine/_inputs.py +187 -0
- pulumi_gcp/discoveryengine/data_connector.py +1368 -0
- pulumi_gcp/discoveryengine/outputs.py +135 -0
- pulumi_gcp/discoveryengine/search_engine.py +47 -0
- pulumi_gcp/gkebackup/_inputs.py +111 -0
- pulumi_gcp/gkebackup/backup_plan.py +72 -0
- pulumi_gcp/gkebackup/outputs.py +84 -0
- pulumi_gcp/kms/__init__.py +1 -0
- pulumi_gcp/kms/_inputs.py +43 -0
- pulumi_gcp/kms/organization_kaj_policy_config.py +290 -0
- pulumi_gcp/kms/outputs.py +43 -0
- pulumi_gcp/logging/metric.py +2 -2
- pulumi_gcp/looker/instance.py +51 -0
- pulumi_gcp/managedkafka/connect_cluster.py +20 -82
- pulumi_gcp/managedkafka/connector.py +24 -94
- pulumi_gcp/netapp/_inputs.py +28 -5
- pulumi_gcp/netapp/outputs.py +19 -3
- pulumi_gcp/netapp/storage_pool.py +56 -0
- pulumi_gcp/netapp/volume.py +28 -0
- pulumi_gcp/networkconnectivity/spoke.py +14 -14
- pulumi_gcp/networksecurity/mirroring_endpoint_group.py +211 -23
- pulumi_gcp/oracledatabase/odb_network.py +101 -2
- pulumi_gcp/orgpolicy/policy.py +2 -2
- pulumi_gcp/privilegedaccessmanager/_inputs.py +27 -4
- pulumi_gcp/privilegedaccessmanager/outputs.py +31 -6
- pulumi_gcp/pubsub/get_subscription.py +12 -1
- pulumi_gcp/pubsub/get_topic.py +15 -4
- pulumi_gcp/pubsub/subscription.py +153 -7
- pulumi_gcp/pubsub/topic.py +145 -3
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/saasruntime/__init__.py +1 -0
- pulumi_gcp/saasruntime/_inputs.py +60 -0
- pulumi_gcp/saasruntime/outputs.py +55 -0
- pulumi_gcp/saasruntime/rollout_kind.py +1086 -0
- pulumi_gcp/sql/_inputs.py +122 -3
- pulumi_gcp/sql/database_instance.py +47 -0
- pulumi_gcp/sql/get_database_instance.py +12 -1
- pulumi_gcp/sql/outputs.py +233 -2
- pulumi_gcp/storage/bucket.py +52 -24
- pulumi_gcp/storage/get_insights_dataset_config.py +12 -1
- pulumi_gcp/storage/insights_dataset_config.py +49 -0
- pulumi_gcp/storage/insights_report_config.py +47 -0
- pulumi_gcp/vertex/_inputs.py +339 -1
- pulumi_gcp/vertex/ai_endpoint.py +4 -4
- pulumi_gcp/vertex/ai_endpoint_with_model_garden_deployment.py +102 -0
- pulumi_gcp/vertex/ai_feature_online_store_featureview.py +4 -4
- pulumi_gcp/vertex/ai_index.py +74 -2
- pulumi_gcp/vertex/ai_index_endpoint.py +54 -0
- pulumi_gcp/vertex/get_ai_index.py +12 -1
- pulumi_gcp/vertex/outputs.py +303 -1
- {pulumi_gcp-9.3.0a1759387993.dist-info → pulumi_gcp-9.3.0a1759868184.dist-info}/METADATA +1 -1
- {pulumi_gcp-9.3.0a1759387993.dist-info → pulumi_gcp-9.3.0a1759868184.dist-info}/RECORD +76 -70
- {pulumi_gcp-9.3.0a1759387993.dist-info → pulumi_gcp-9.3.0a1759868184.dist-info}/WHEEL +0 -0
- {pulumi_gcp-9.3.0a1759387993.dist-info → pulumi_gcp-9.3.0a1759868184.dist-info}/top_level.txt +0 -0
pulumi_gcp/__init__.py
CHANGED
@@ -735,6 +735,14 @@ _utilities.register(
|
|
735
735
|
"gcp:apigee/api:Api": "Api"
|
736
736
|
}
|
737
737
|
},
|
738
|
+
{
|
739
|
+
"pkg": "gcp",
|
740
|
+
"mod": "apigee/apiDeployment",
|
741
|
+
"fqn": "pulumi_gcp.apigee",
|
742
|
+
"classes": {
|
743
|
+
"gcp:apigee/apiDeployment:ApiDeployment": "ApiDeployment"
|
744
|
+
}
|
745
|
+
},
|
738
746
|
{
|
739
747
|
"pkg": "gcp",
|
740
748
|
"mod": "apigee/apiProduct",
|
@@ -5215,6 +5223,14 @@ _utilities.register(
|
|
5215
5223
|
"gcp:discoveryengine/cmekConfig:CmekConfig": "CmekConfig"
|
5216
5224
|
}
|
5217
5225
|
},
|
5226
|
+
{
|
5227
|
+
"pkg": "gcp",
|
5228
|
+
"mod": "discoveryengine/dataConnector",
|
5229
|
+
"fqn": "pulumi_gcp.discoveryengine",
|
5230
|
+
"classes": {
|
5231
|
+
"gcp:discoveryengine/dataConnector:DataConnector": "DataConnector"
|
5232
|
+
}
|
5233
|
+
},
|
5218
5234
|
{
|
5219
5235
|
"pkg": "gcp",
|
5220
5236
|
"mod": "discoveryengine/dataStore",
|
@@ -7159,6 +7175,14 @@ _utilities.register(
|
|
7159
7175
|
"gcp:kms/keyRingImportJob:KeyRingImportJob": "KeyRingImportJob"
|
7160
7176
|
}
|
7161
7177
|
},
|
7178
|
+
{
|
7179
|
+
"pkg": "gcp",
|
7180
|
+
"mod": "kms/organizationKajPolicyConfig",
|
7181
|
+
"fqn": "pulumi_gcp.kms",
|
7182
|
+
"classes": {
|
7183
|
+
"gcp:kms/organizationKajPolicyConfig:OrganizationKajPolicyConfig": "OrganizationKajPolicyConfig"
|
7184
|
+
}
|
7185
|
+
},
|
7162
7186
|
{
|
7163
7187
|
"pkg": "gcp",
|
7164
7188
|
"mod": "kms/secretCiphertext",
|
@@ -8647,6 +8671,14 @@ _utilities.register(
|
|
8647
8671
|
"gcp:saasruntime/release:Release": "Release"
|
8648
8672
|
}
|
8649
8673
|
},
|
8674
|
+
{
|
8675
|
+
"pkg": "gcp",
|
8676
|
+
"mod": "saasruntime/rolloutKind",
|
8677
|
+
"fqn": "pulumi_gcp.saasruntime",
|
8678
|
+
"classes": {
|
8679
|
+
"gcp:saasruntime/rolloutKind:RolloutKind": "RolloutKind"
|
8680
|
+
}
|
8681
|
+
},
|
8650
8682
|
{
|
8651
8683
|
"pkg": "gcp",
|
8652
8684
|
"mod": "saasruntime/saaS",
|
pulumi_gcp/apigee/__init__.py
CHANGED
@@ -0,0 +1,372 @@
|
|
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
|
+
|
17
|
+
__all__ = ['ApiDeploymentArgs', 'ApiDeployment']
|
18
|
+
|
19
|
+
@pulumi.input_type
|
20
|
+
class ApiDeploymentArgs:
|
21
|
+
def __init__(__self__, *,
|
22
|
+
environment: pulumi.Input[_builtins.str],
|
23
|
+
org_id: pulumi.Input[_builtins.str],
|
24
|
+
proxy_id: pulumi.Input[_builtins.str],
|
25
|
+
revision: pulumi.Input[_builtins.str]):
|
26
|
+
"""
|
27
|
+
The set of arguments for constructing a ApiDeployment resource.
|
28
|
+
:param pulumi.Input[_builtins.str] environment: The Apigee Environment associated with the Apigee API deployment.
|
29
|
+
:param pulumi.Input[_builtins.str] org_id: The Apigee Organization associated with the Apigee API deployment.
|
30
|
+
:param pulumi.Input[_builtins.str] proxy_id: The Apigee API associated with the Apigee API deployment.
|
31
|
+
:param pulumi.Input[_builtins.str] revision: The revision of the API proxy to be deployed.
|
32
|
+
"""
|
33
|
+
pulumi.set(__self__, "environment", environment)
|
34
|
+
pulumi.set(__self__, "org_id", org_id)
|
35
|
+
pulumi.set(__self__, "proxy_id", proxy_id)
|
36
|
+
pulumi.set(__self__, "revision", revision)
|
37
|
+
|
38
|
+
@_builtins.property
|
39
|
+
@pulumi.getter
|
40
|
+
def environment(self) -> pulumi.Input[_builtins.str]:
|
41
|
+
"""
|
42
|
+
The Apigee Environment associated with the Apigee API deployment.
|
43
|
+
"""
|
44
|
+
return pulumi.get(self, "environment")
|
45
|
+
|
46
|
+
@environment.setter
|
47
|
+
def environment(self, value: pulumi.Input[_builtins.str]):
|
48
|
+
pulumi.set(self, "environment", value)
|
49
|
+
|
50
|
+
@_builtins.property
|
51
|
+
@pulumi.getter(name="orgId")
|
52
|
+
def org_id(self) -> pulumi.Input[_builtins.str]:
|
53
|
+
"""
|
54
|
+
The Apigee Organization associated with the Apigee API deployment.
|
55
|
+
"""
|
56
|
+
return pulumi.get(self, "org_id")
|
57
|
+
|
58
|
+
@org_id.setter
|
59
|
+
def org_id(self, value: pulumi.Input[_builtins.str]):
|
60
|
+
pulumi.set(self, "org_id", value)
|
61
|
+
|
62
|
+
@_builtins.property
|
63
|
+
@pulumi.getter(name="proxyId")
|
64
|
+
def proxy_id(self) -> pulumi.Input[_builtins.str]:
|
65
|
+
"""
|
66
|
+
The Apigee API associated with the Apigee API deployment.
|
67
|
+
"""
|
68
|
+
return pulumi.get(self, "proxy_id")
|
69
|
+
|
70
|
+
@proxy_id.setter
|
71
|
+
def proxy_id(self, value: pulumi.Input[_builtins.str]):
|
72
|
+
pulumi.set(self, "proxy_id", value)
|
73
|
+
|
74
|
+
@_builtins.property
|
75
|
+
@pulumi.getter
|
76
|
+
def revision(self) -> pulumi.Input[_builtins.str]:
|
77
|
+
"""
|
78
|
+
The revision of the API proxy to be deployed.
|
79
|
+
"""
|
80
|
+
return pulumi.get(self, "revision")
|
81
|
+
|
82
|
+
@revision.setter
|
83
|
+
def revision(self, value: pulumi.Input[_builtins.str]):
|
84
|
+
pulumi.set(self, "revision", value)
|
85
|
+
|
86
|
+
|
87
|
+
@pulumi.input_type
|
88
|
+
class _ApiDeploymentState:
|
89
|
+
def __init__(__self__, *,
|
90
|
+
environment: Optional[pulumi.Input[_builtins.str]] = None,
|
91
|
+
org_id: Optional[pulumi.Input[_builtins.str]] = None,
|
92
|
+
proxy_id: Optional[pulumi.Input[_builtins.str]] = None,
|
93
|
+
revision: Optional[pulumi.Input[_builtins.str]] = None):
|
94
|
+
"""
|
95
|
+
Input properties used for looking up and filtering ApiDeployment resources.
|
96
|
+
:param pulumi.Input[_builtins.str] environment: The Apigee Environment associated with the Apigee API deployment.
|
97
|
+
:param pulumi.Input[_builtins.str] org_id: The Apigee Organization associated with the Apigee API deployment.
|
98
|
+
:param pulumi.Input[_builtins.str] proxy_id: The Apigee API associated with the Apigee API deployment.
|
99
|
+
:param pulumi.Input[_builtins.str] revision: The revision of the API proxy to be deployed.
|
100
|
+
"""
|
101
|
+
if environment is not None:
|
102
|
+
pulumi.set(__self__, "environment", environment)
|
103
|
+
if org_id is not None:
|
104
|
+
pulumi.set(__self__, "org_id", org_id)
|
105
|
+
if proxy_id is not None:
|
106
|
+
pulumi.set(__self__, "proxy_id", proxy_id)
|
107
|
+
if revision is not None:
|
108
|
+
pulumi.set(__self__, "revision", revision)
|
109
|
+
|
110
|
+
@_builtins.property
|
111
|
+
@pulumi.getter
|
112
|
+
def environment(self) -> Optional[pulumi.Input[_builtins.str]]:
|
113
|
+
"""
|
114
|
+
The Apigee Environment associated with the Apigee API deployment.
|
115
|
+
"""
|
116
|
+
return pulumi.get(self, "environment")
|
117
|
+
|
118
|
+
@environment.setter
|
119
|
+
def environment(self, value: Optional[pulumi.Input[_builtins.str]]):
|
120
|
+
pulumi.set(self, "environment", value)
|
121
|
+
|
122
|
+
@_builtins.property
|
123
|
+
@pulumi.getter(name="orgId")
|
124
|
+
def org_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
125
|
+
"""
|
126
|
+
The Apigee Organization associated with the Apigee API deployment.
|
127
|
+
"""
|
128
|
+
return pulumi.get(self, "org_id")
|
129
|
+
|
130
|
+
@org_id.setter
|
131
|
+
def org_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
132
|
+
pulumi.set(self, "org_id", value)
|
133
|
+
|
134
|
+
@_builtins.property
|
135
|
+
@pulumi.getter(name="proxyId")
|
136
|
+
def proxy_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
137
|
+
"""
|
138
|
+
The Apigee API associated with the Apigee API deployment.
|
139
|
+
"""
|
140
|
+
return pulumi.get(self, "proxy_id")
|
141
|
+
|
142
|
+
@proxy_id.setter
|
143
|
+
def proxy_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
144
|
+
pulumi.set(self, "proxy_id", value)
|
145
|
+
|
146
|
+
@_builtins.property
|
147
|
+
@pulumi.getter
|
148
|
+
def revision(self) -> Optional[pulumi.Input[_builtins.str]]:
|
149
|
+
"""
|
150
|
+
The revision of the API proxy to be deployed.
|
151
|
+
"""
|
152
|
+
return pulumi.get(self, "revision")
|
153
|
+
|
154
|
+
@revision.setter
|
155
|
+
def revision(self, value: Optional[pulumi.Input[_builtins.str]]):
|
156
|
+
pulumi.set(self, "revision", value)
|
157
|
+
|
158
|
+
|
159
|
+
@pulumi.type_token("gcp:apigee/apiDeployment:ApiDeployment")
|
160
|
+
class ApiDeployment(pulumi.CustomResource):
|
161
|
+
@overload
|
162
|
+
def __init__(__self__,
|
163
|
+
resource_name: str,
|
164
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
165
|
+
environment: Optional[pulumi.Input[_builtins.str]] = None,
|
166
|
+
org_id: Optional[pulumi.Input[_builtins.str]] = None,
|
167
|
+
proxy_id: Optional[pulumi.Input[_builtins.str]] = None,
|
168
|
+
revision: Optional[pulumi.Input[_builtins.str]] = None,
|
169
|
+
__props__=None):
|
170
|
+
"""
|
171
|
+
Manages a deployment of an API proxy.
|
172
|
+
|
173
|
+
To get more information about ApiDeployment, see:
|
174
|
+
|
175
|
+
* [API documentation](https://cloud.google.com/apigee/docs/reference/apis/apigee/rest/v1/organizations.environments.apis.revisions.deployments)
|
176
|
+
* How-to Guides
|
177
|
+
* [QUICKSTART_TITLE](https://cloud.google.com/apigee/docs/api-platform/deploy/ui-deploy-overview)
|
178
|
+
|
179
|
+
## Example Usage
|
180
|
+
|
181
|
+
## Import
|
182
|
+
|
183
|
+
ApiDeployment can be imported using any of these accepted formats:
|
184
|
+
|
185
|
+
* `organizations/{{org_id}}/environments/{{environment}}/apis/{{proxy_id}}/revisions/{{revision}}/deployments`
|
186
|
+
|
187
|
+
* `organizations/{{org_id}}/environments/{{environment}}/apis/{{proxy_id}}/revisions/{{revision}}`
|
188
|
+
|
189
|
+
* `{{org_id}}/{{environment}}/{{proxy_id}}/{{revision}}/deployments`
|
190
|
+
|
191
|
+
* `{{org_id}}/{{environment}}/{{proxy_id}}/{{revision}}`
|
192
|
+
|
193
|
+
When using the `pulumi import` command, ApiDeployment can be imported using one of the formats above. For example:
|
194
|
+
|
195
|
+
```sh
|
196
|
+
$ pulumi import gcp:apigee/apiDeployment:ApiDeployment default organizations/{{org_id}}/environments/{{environment}}/apis/{{proxy_id}}/revisions/{{revision}}/deployments
|
197
|
+
```
|
198
|
+
|
199
|
+
```sh
|
200
|
+
$ pulumi import gcp:apigee/apiDeployment:ApiDeployment default organizations/{{org_id}}/environments/{{environment}}/apis/{{proxy_id}}/revisions/{{revision}}
|
201
|
+
```
|
202
|
+
|
203
|
+
```sh
|
204
|
+
$ pulumi import gcp:apigee/apiDeployment:ApiDeployment default {{org_id}}/{{environment}}/{{proxy_id}}/{{revision}}/deployments
|
205
|
+
```
|
206
|
+
|
207
|
+
```sh
|
208
|
+
$ pulumi import gcp:apigee/apiDeployment:ApiDeployment default {{org_id}}/{{environment}}/{{proxy_id}}/{{revision}}
|
209
|
+
```
|
210
|
+
|
211
|
+
:param str resource_name: The name of the resource.
|
212
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
213
|
+
:param pulumi.Input[_builtins.str] environment: The Apigee Environment associated with the Apigee API deployment.
|
214
|
+
:param pulumi.Input[_builtins.str] org_id: The Apigee Organization associated with the Apigee API deployment.
|
215
|
+
:param pulumi.Input[_builtins.str] proxy_id: The Apigee API associated with the Apigee API deployment.
|
216
|
+
:param pulumi.Input[_builtins.str] revision: The revision of the API proxy to be deployed.
|
217
|
+
"""
|
218
|
+
...
|
219
|
+
@overload
|
220
|
+
def __init__(__self__,
|
221
|
+
resource_name: str,
|
222
|
+
args: ApiDeploymentArgs,
|
223
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
224
|
+
"""
|
225
|
+
Manages a deployment of an API proxy.
|
226
|
+
|
227
|
+
To get more information about ApiDeployment, see:
|
228
|
+
|
229
|
+
* [API documentation](https://cloud.google.com/apigee/docs/reference/apis/apigee/rest/v1/organizations.environments.apis.revisions.deployments)
|
230
|
+
* How-to Guides
|
231
|
+
* [QUICKSTART_TITLE](https://cloud.google.com/apigee/docs/api-platform/deploy/ui-deploy-overview)
|
232
|
+
|
233
|
+
## Example Usage
|
234
|
+
|
235
|
+
## Import
|
236
|
+
|
237
|
+
ApiDeployment can be imported using any of these accepted formats:
|
238
|
+
|
239
|
+
* `organizations/{{org_id}}/environments/{{environment}}/apis/{{proxy_id}}/revisions/{{revision}}/deployments`
|
240
|
+
|
241
|
+
* `organizations/{{org_id}}/environments/{{environment}}/apis/{{proxy_id}}/revisions/{{revision}}`
|
242
|
+
|
243
|
+
* `{{org_id}}/{{environment}}/{{proxy_id}}/{{revision}}/deployments`
|
244
|
+
|
245
|
+
* `{{org_id}}/{{environment}}/{{proxy_id}}/{{revision}}`
|
246
|
+
|
247
|
+
When using the `pulumi import` command, ApiDeployment can be imported using one of the formats above. For example:
|
248
|
+
|
249
|
+
```sh
|
250
|
+
$ pulumi import gcp:apigee/apiDeployment:ApiDeployment default organizations/{{org_id}}/environments/{{environment}}/apis/{{proxy_id}}/revisions/{{revision}}/deployments
|
251
|
+
```
|
252
|
+
|
253
|
+
```sh
|
254
|
+
$ pulumi import gcp:apigee/apiDeployment:ApiDeployment default organizations/{{org_id}}/environments/{{environment}}/apis/{{proxy_id}}/revisions/{{revision}}
|
255
|
+
```
|
256
|
+
|
257
|
+
```sh
|
258
|
+
$ pulumi import gcp:apigee/apiDeployment:ApiDeployment default {{org_id}}/{{environment}}/{{proxy_id}}/{{revision}}/deployments
|
259
|
+
```
|
260
|
+
|
261
|
+
```sh
|
262
|
+
$ pulumi import gcp:apigee/apiDeployment:ApiDeployment default {{org_id}}/{{environment}}/{{proxy_id}}/{{revision}}
|
263
|
+
```
|
264
|
+
|
265
|
+
:param str resource_name: The name of the resource.
|
266
|
+
:param ApiDeploymentArgs args: The arguments to use to populate this resource's properties.
|
267
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
268
|
+
"""
|
269
|
+
...
|
270
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
271
|
+
resource_args, opts = _utilities.get_resource_args_opts(ApiDeploymentArgs, pulumi.ResourceOptions, *args, **kwargs)
|
272
|
+
if resource_args is not None:
|
273
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
274
|
+
else:
|
275
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
276
|
+
|
277
|
+
def _internal_init(__self__,
|
278
|
+
resource_name: str,
|
279
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
280
|
+
environment: Optional[pulumi.Input[_builtins.str]] = None,
|
281
|
+
org_id: Optional[pulumi.Input[_builtins.str]] = None,
|
282
|
+
proxy_id: Optional[pulumi.Input[_builtins.str]] = None,
|
283
|
+
revision: Optional[pulumi.Input[_builtins.str]] = None,
|
284
|
+
__props__=None):
|
285
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
286
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
287
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
288
|
+
if opts.id is None:
|
289
|
+
if __props__ is not None:
|
290
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
291
|
+
__props__ = ApiDeploymentArgs.__new__(ApiDeploymentArgs)
|
292
|
+
|
293
|
+
if environment is None and not opts.urn:
|
294
|
+
raise TypeError("Missing required property 'environment'")
|
295
|
+
__props__.__dict__["environment"] = environment
|
296
|
+
if org_id is None and not opts.urn:
|
297
|
+
raise TypeError("Missing required property 'org_id'")
|
298
|
+
__props__.__dict__["org_id"] = org_id
|
299
|
+
if proxy_id is None and not opts.urn:
|
300
|
+
raise TypeError("Missing required property 'proxy_id'")
|
301
|
+
__props__.__dict__["proxy_id"] = proxy_id
|
302
|
+
if revision is None and not opts.urn:
|
303
|
+
raise TypeError("Missing required property 'revision'")
|
304
|
+
__props__.__dict__["revision"] = revision
|
305
|
+
super(ApiDeployment, __self__).__init__(
|
306
|
+
'gcp:apigee/apiDeployment:ApiDeployment',
|
307
|
+
resource_name,
|
308
|
+
__props__,
|
309
|
+
opts)
|
310
|
+
|
311
|
+
@staticmethod
|
312
|
+
def get(resource_name: str,
|
313
|
+
id: pulumi.Input[str],
|
314
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
315
|
+
environment: Optional[pulumi.Input[_builtins.str]] = None,
|
316
|
+
org_id: Optional[pulumi.Input[_builtins.str]] = None,
|
317
|
+
proxy_id: Optional[pulumi.Input[_builtins.str]] = None,
|
318
|
+
revision: Optional[pulumi.Input[_builtins.str]] = None) -> 'ApiDeployment':
|
319
|
+
"""
|
320
|
+
Get an existing ApiDeployment resource's state with the given name, id, and optional extra
|
321
|
+
properties used to qualify the lookup.
|
322
|
+
|
323
|
+
:param str resource_name: The unique name of the resulting resource.
|
324
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
325
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
326
|
+
:param pulumi.Input[_builtins.str] environment: The Apigee Environment associated with the Apigee API deployment.
|
327
|
+
:param pulumi.Input[_builtins.str] org_id: The Apigee Organization associated with the Apigee API deployment.
|
328
|
+
:param pulumi.Input[_builtins.str] proxy_id: The Apigee API associated with the Apigee API deployment.
|
329
|
+
:param pulumi.Input[_builtins.str] revision: The revision of the API proxy to be deployed.
|
330
|
+
"""
|
331
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
332
|
+
|
333
|
+
__props__ = _ApiDeploymentState.__new__(_ApiDeploymentState)
|
334
|
+
|
335
|
+
__props__.__dict__["environment"] = environment
|
336
|
+
__props__.__dict__["org_id"] = org_id
|
337
|
+
__props__.__dict__["proxy_id"] = proxy_id
|
338
|
+
__props__.__dict__["revision"] = revision
|
339
|
+
return ApiDeployment(resource_name, opts=opts, __props__=__props__)
|
340
|
+
|
341
|
+
@_builtins.property
|
342
|
+
@pulumi.getter
|
343
|
+
def environment(self) -> pulumi.Output[_builtins.str]:
|
344
|
+
"""
|
345
|
+
The Apigee Environment associated with the Apigee API deployment.
|
346
|
+
"""
|
347
|
+
return pulumi.get(self, "environment")
|
348
|
+
|
349
|
+
@_builtins.property
|
350
|
+
@pulumi.getter(name="orgId")
|
351
|
+
def org_id(self) -> pulumi.Output[_builtins.str]:
|
352
|
+
"""
|
353
|
+
The Apigee Organization associated with the Apigee API deployment.
|
354
|
+
"""
|
355
|
+
return pulumi.get(self, "org_id")
|
356
|
+
|
357
|
+
@_builtins.property
|
358
|
+
@pulumi.getter(name="proxyId")
|
359
|
+
def proxy_id(self) -> pulumi.Output[_builtins.str]:
|
360
|
+
"""
|
361
|
+
The Apigee API associated with the Apigee API deployment.
|
362
|
+
"""
|
363
|
+
return pulumi.get(self, "proxy_id")
|
364
|
+
|
365
|
+
@_builtins.property
|
366
|
+
@pulumi.getter
|
367
|
+
def revision(self) -> pulumi.Output[_builtins.str]:
|
368
|
+
"""
|
369
|
+
The revision of the API proxy to be deployed.
|
370
|
+
"""
|
371
|
+
return pulumi.get(self, "revision")
|
372
|
+
|
pulumi_gcp/apihub/plugin.py
CHANGED
@@ -980,7 +980,7 @@ class Plugin(pulumi.CustomResource):
|
|
980
980
|
|
981
981
|
@_builtins.property
|
982
982
|
@pulumi.getter(name="configTemplate")
|
983
|
-
def config_template(self) -> pulumi.Output[
|
983
|
+
def config_template(self) -> pulumi.Output['outputs.PluginConfigTemplate']:
|
984
984
|
"""
|
985
985
|
ConfigTemplate represents the configuration template for a plugin.
|
986
986
|
Structure is documented below.
|
@@ -10,7 +10,9 @@ from .get_docker_image import *
|
|
10
10
|
from .get_docker_images import *
|
11
11
|
from .get_locations import *
|
12
12
|
from .get_maven_artifact import *
|
13
|
+
from .get_maven_artifacts import *
|
13
14
|
from .get_npm_package import *
|
15
|
+
from .get_npm_packages import *
|
14
16
|
from .get_package import *
|
15
17
|
from .get_python_package import *
|
16
18
|
from .get_repositories import *
|
@@ -0,0 +1,164 @@
|
|
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
|
+
|
18
|
+
__all__ = [
|
19
|
+
'GetMavenArtifactsResult',
|
20
|
+
'AwaitableGetMavenArtifactsResult',
|
21
|
+
'get_maven_artifacts',
|
22
|
+
'get_maven_artifacts_output',
|
23
|
+
]
|
24
|
+
|
25
|
+
@pulumi.output_type
|
26
|
+
class GetMavenArtifactsResult:
|
27
|
+
"""
|
28
|
+
A collection of values returned by getMavenArtifacts.
|
29
|
+
"""
|
30
|
+
def __init__(__self__, id=None, location=None, maven_artifacts=None, project=None, repository_id=None):
|
31
|
+
if id and not isinstance(id, str):
|
32
|
+
raise TypeError("Expected argument 'id' to be a str")
|
33
|
+
pulumi.set(__self__, "id", id)
|
34
|
+
if location and not isinstance(location, str):
|
35
|
+
raise TypeError("Expected argument 'location' to be a str")
|
36
|
+
pulumi.set(__self__, "location", location)
|
37
|
+
if maven_artifacts and not isinstance(maven_artifacts, list):
|
38
|
+
raise TypeError("Expected argument 'maven_artifacts' to be a list")
|
39
|
+
pulumi.set(__self__, "maven_artifacts", maven_artifacts)
|
40
|
+
if project and not isinstance(project, str):
|
41
|
+
raise TypeError("Expected argument 'project' to be a str")
|
42
|
+
pulumi.set(__self__, "project", project)
|
43
|
+
if repository_id and not isinstance(repository_id, str):
|
44
|
+
raise TypeError("Expected argument 'repository_id' to be a str")
|
45
|
+
pulumi.set(__self__, "repository_id", repository_id)
|
46
|
+
|
47
|
+
@_builtins.property
|
48
|
+
@pulumi.getter
|
49
|
+
def id(self) -> _builtins.str:
|
50
|
+
"""
|
51
|
+
The provider-assigned unique ID for this managed resource.
|
52
|
+
"""
|
53
|
+
return pulumi.get(self, "id")
|
54
|
+
|
55
|
+
@_builtins.property
|
56
|
+
@pulumi.getter
|
57
|
+
def location(self) -> _builtins.str:
|
58
|
+
return pulumi.get(self, "location")
|
59
|
+
|
60
|
+
@_builtins.property
|
61
|
+
@pulumi.getter(name="mavenArtifacts")
|
62
|
+
def maven_artifacts(self) -> Sequence['outputs.GetMavenArtifactsMavenArtifactResult']:
|
63
|
+
"""
|
64
|
+
A list of all retrieved Artifact Registry Maven artifacts. Structure is defined below.
|
65
|
+
"""
|
66
|
+
return pulumi.get(self, "maven_artifacts")
|
67
|
+
|
68
|
+
@_builtins.property
|
69
|
+
@pulumi.getter
|
70
|
+
def project(self) -> Optional[_builtins.str]:
|
71
|
+
return pulumi.get(self, "project")
|
72
|
+
|
73
|
+
@_builtins.property
|
74
|
+
@pulumi.getter(name="repositoryId")
|
75
|
+
def repository_id(self) -> _builtins.str:
|
76
|
+
return pulumi.get(self, "repository_id")
|
77
|
+
|
78
|
+
|
79
|
+
class AwaitableGetMavenArtifactsResult(GetMavenArtifactsResult):
|
80
|
+
# pylint: disable=using-constant-test
|
81
|
+
def __await__(self):
|
82
|
+
if False:
|
83
|
+
yield self
|
84
|
+
return GetMavenArtifactsResult(
|
85
|
+
id=self.id,
|
86
|
+
location=self.location,
|
87
|
+
maven_artifacts=self.maven_artifacts,
|
88
|
+
project=self.project,
|
89
|
+
repository_id=self.repository_id)
|
90
|
+
|
91
|
+
|
92
|
+
def get_maven_artifacts(location: Optional[_builtins.str] = None,
|
93
|
+
project: Optional[_builtins.str] = None,
|
94
|
+
repository_id: Optional[_builtins.str] = None,
|
95
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetMavenArtifactsResult:
|
96
|
+
"""
|
97
|
+
Get information about Artifact Registry Maven artifacts.
|
98
|
+
See [the official documentation](https://cloud.google.com/artifact-registry/docs/java)
|
99
|
+
and [API](https://cloud.google.com/artifact-registry/docs/reference/rest/v1/projects.locations.repositories.mavenArtifacts/list).
|
100
|
+
|
101
|
+
## Example Usage
|
102
|
+
|
103
|
+
```python
|
104
|
+
import pulumi
|
105
|
+
import pulumi_gcp as gcp
|
106
|
+
|
107
|
+
my_artifacts = gcp.artifactregistry.get_maven_artifacts(location="us-central1",
|
108
|
+
repository_id="example-repo")
|
109
|
+
```
|
110
|
+
|
111
|
+
|
112
|
+
:param _builtins.str location: The location of the Artifact Registry repository.
|
113
|
+
:param _builtins.str project: The project ID in which the resource belongs. If it is not provided, the provider project is used.
|
114
|
+
:param _builtins.str repository_id: The last part of the repository name to fetch from.
|
115
|
+
"""
|
116
|
+
__args__ = dict()
|
117
|
+
__args__['location'] = location
|
118
|
+
__args__['project'] = project
|
119
|
+
__args__['repositoryId'] = repository_id
|
120
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
121
|
+
__ret__ = pulumi.runtime.invoke('gcp:artifactregistry/getMavenArtifacts:getMavenArtifacts', __args__, opts=opts, typ=GetMavenArtifactsResult).value
|
122
|
+
|
123
|
+
return AwaitableGetMavenArtifactsResult(
|
124
|
+
id=pulumi.get(__ret__, 'id'),
|
125
|
+
location=pulumi.get(__ret__, 'location'),
|
126
|
+
maven_artifacts=pulumi.get(__ret__, 'maven_artifacts'),
|
127
|
+
project=pulumi.get(__ret__, 'project'),
|
128
|
+
repository_id=pulumi.get(__ret__, 'repository_id'))
|
129
|
+
def get_maven_artifacts_output(location: Optional[pulumi.Input[_builtins.str]] = None,
|
130
|
+
project: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
131
|
+
repository_id: Optional[pulumi.Input[_builtins.str]] = None,
|
132
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetMavenArtifactsResult]:
|
133
|
+
"""
|
134
|
+
Get information about Artifact Registry Maven artifacts.
|
135
|
+
See [the official documentation](https://cloud.google.com/artifact-registry/docs/java)
|
136
|
+
and [API](https://cloud.google.com/artifact-registry/docs/reference/rest/v1/projects.locations.repositories.mavenArtifacts/list).
|
137
|
+
|
138
|
+
## Example Usage
|
139
|
+
|
140
|
+
```python
|
141
|
+
import pulumi
|
142
|
+
import pulumi_gcp as gcp
|
143
|
+
|
144
|
+
my_artifacts = gcp.artifactregistry.get_maven_artifacts(location="us-central1",
|
145
|
+
repository_id="example-repo")
|
146
|
+
```
|
147
|
+
|
148
|
+
|
149
|
+
:param _builtins.str location: The location of the Artifact Registry repository.
|
150
|
+
:param _builtins.str project: The project ID in which the resource belongs. If it is not provided, the provider project is used.
|
151
|
+
:param _builtins.str repository_id: The last part of the repository name to fetch from.
|
152
|
+
"""
|
153
|
+
__args__ = dict()
|
154
|
+
__args__['location'] = location
|
155
|
+
__args__['project'] = project
|
156
|
+
__args__['repositoryId'] = repository_id
|
157
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
158
|
+
__ret__ = pulumi.runtime.invoke_output('gcp:artifactregistry/getMavenArtifacts:getMavenArtifacts', __args__, opts=opts, typ=GetMavenArtifactsResult)
|
159
|
+
return __ret__.apply(lambda __response__: GetMavenArtifactsResult(
|
160
|
+
id=pulumi.get(__response__, 'id'),
|
161
|
+
location=pulumi.get(__response__, 'location'),
|
162
|
+
maven_artifacts=pulumi.get(__response__, 'maven_artifacts'),
|
163
|
+
project=pulumi.get(__response__, 'project'),
|
164
|
+
repository_id=pulumi.get(__response__, 'repository_id')))
|