pulumi-gcp 7.3.0a1702567892__py3-none-any.whl → 7.3.1__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- pulumi_gcp/__init__.py +129 -0
- pulumi_gcp/artifactregistry/_inputs.py +88 -0
- pulumi_gcp/artifactregistry/outputs.py +148 -0
- pulumi_gcp/artifactregistry/repository.py +116 -16
- pulumi_gcp/bigquery/_inputs.py +110 -0
- pulumi_gcp/bigquery/connection.py +123 -3
- pulumi_gcp/bigquery/outputs.py +145 -0
- pulumi_gcp/cloudbuild/_inputs.py +241 -1
- pulumi_gcp/cloudbuild/outputs.py +353 -2
- pulumi_gcp/cloudfunctionsv2/_inputs.py +6 -2
- pulumi_gcp/cloudfunctionsv2/outputs.py +6 -2
- pulumi_gcp/cloudidentity/_inputs.py +54 -5
- pulumi_gcp/cloudidentity/group_membership.py +0 -8
- pulumi_gcp/cloudidentity/outputs.py +99 -4
- pulumi_gcp/cloudrunv2/_inputs.py +8 -4
- pulumi_gcp/cloudrunv2/job.py +44 -0
- pulumi_gcp/cloudrunv2/outputs.py +8 -4
- pulumi_gcp/cloudrunv2/service.py +42 -0
- pulumi_gcp/cloudtasks/queue.py +0 -10
- pulumi_gcp/composer/_inputs.py +17 -4
- pulumi_gcp/composer/outputs.py +20 -4
- pulumi_gcp/compute/_inputs.py +46 -0
- pulumi_gcp/compute/get_global_forwarding_rule.py +11 -1
- pulumi_gcp/compute/global_forwarding_rule.py +69 -0
- pulumi_gcp/compute/outputs.py +75 -0
- pulumi_gcp/config/__init__.pyi +6 -0
- pulumi_gcp/config/vars.py +12 -0
- pulumi_gcp/container/_inputs.py +58 -0
- pulumi_gcp/container/node_pool.py +68 -14
- pulumi_gcp/container/outputs.py +68 -0
- pulumi_gcp/dataform/__init__.py +4 -0
- pulumi_gcp/dataform/_inputs.py +80 -0
- pulumi_gcp/dataform/get_repository_iam_policy.py +144 -0
- pulumi_gcp/dataform/outputs.py +56 -0
- pulumi_gcp/dataform/repository_iam_binding.py +325 -0
- pulumi_gcp/dataform/repository_iam_member.py +325 -0
- pulumi_gcp/dataform/repository_iam_policy.py +254 -0
- pulumi_gcp/dataloss/_inputs.py +29 -26
- pulumi_gcp/dataloss/outputs.py +28 -25
- pulumi_gcp/dataloss/prevention_job_trigger.py +78 -0
- pulumi_gcp/datastream/connection_profile.py +82 -4
- pulumi_gcp/datastream/stream.py +32 -22
- pulumi_gcp/firestore/database.py +146 -28
- pulumi_gcp/gkehub/_inputs.py +821 -3
- pulumi_gcp/gkehub/feature.py +176 -0
- pulumi_gcp/gkehub/feature_membership.py +105 -59
- pulumi_gcp/gkehub/fleet.py +70 -2
- pulumi_gcp/gkehub/outputs.py +819 -3
- pulumi_gcp/gkehub/scope.py +2 -2
- pulumi_gcp/iam/_inputs.py +72 -0
- pulumi_gcp/iam/outputs.py +79 -0
- pulumi_gcp/iam/workforce_pool.py +75 -0
- pulumi_gcp/identityplatform/project_default_config.py +4 -0
- pulumi_gcp/logging/__init__.py +3 -0
- pulumi_gcp/logging/get_folder_settings.py +197 -0
- pulumi_gcp/logging/get_organization_settings.py +197 -0
- pulumi_gcp/logging/get_project_settings.py +197 -0
- pulumi_gcp/migrationcenter/__init__.py +8 -0
- pulumi_gcp/migrationcenter/group.py +652 -0
- pulumi_gcp/netapp/__init__.py +8 -0
- pulumi_gcp/netapp/storage_pool.py +970 -0
- pulumi_gcp/projects/iam_custom_role.py +7 -7
- pulumi_gcp/provider.py +60 -0
- pulumi_gcp/securesourcemanager/__init__.py +14 -0
- pulumi_gcp/securesourcemanager/_inputs.py +94 -0
- pulumi_gcp/securesourcemanager/get_instance_iam_policy.py +168 -0
- pulumi_gcp/securesourcemanager/instance.py +607 -0
- pulumi_gcp/securesourcemanager/instance_iam_binding.py +325 -0
- pulumi_gcp/securesourcemanager/instance_iam_member.py +325 -0
- pulumi_gcp/securesourcemanager/instance_iam_policy.py +254 -0
- pulumi_gcp/securesourcemanager/outputs.py +70 -0
- pulumi_gcp/securitycenter/__init__.py +1 -0
- pulumi_gcp/securitycenter/event_threat_detection_custom_module.py +528 -0
- pulumi_gcp/sql/_inputs.py +2 -2
- pulumi_gcp/sql/database_instance.py +4 -4
- pulumi_gcp/sql/outputs.py +2 -2
- pulumi_gcp/storage/_inputs.py +16 -0
- pulumi_gcp/storage/outputs.py +21 -0
- pulumi_gcp/vertex/__init__.py +4 -0
- pulumi_gcp/vertex/_inputs.py +80 -0
- pulumi_gcp/vertex/ai_endpoint_iam_binding.py +325 -0
- pulumi_gcp/vertex/ai_endpoint_iam_member.py +325 -0
- pulumi_gcp/vertex/ai_endpoint_iam_policy.py +254 -0
- pulumi_gcp/vertex/get_ai_endpoint_iam_policy.py +140 -0
- pulumi_gcp/vertex/outputs.py +56 -0
- pulumi_gcp/vmwareengine/__init__.py +5 -0
- pulumi_gcp/vmwareengine/_inputs.py +104 -2
- pulumi_gcp/vmwareengine/get_network.py +14 -4
- pulumi_gcp/vmwareengine/get_network_peering.py +260 -0
- pulumi_gcp/vmwareengine/get_network_policy.py +228 -0
- pulumi_gcp/vmwareengine/get_nsx_credentials.py +133 -0
- pulumi_gcp/vmwareengine/get_private_cloud.py +14 -4
- pulumi_gcp/vmwareengine/network.py +41 -7
- pulumi_gcp/vmwareengine/network_peering.py +959 -0
- pulumi_gcp/vmwareengine/network_policy.py +836 -0
- pulumi_gcp/vmwareengine/outputs.py +133 -2
- pulumi_gcp/vmwareengine/private_cloud.py +20 -68
- {pulumi_gcp-7.3.0a1702567892.dist-info → pulumi_gcp-7.3.1.dist-info}/METADATA +1 -1
- {pulumi_gcp-7.3.0a1702567892.dist-info → pulumi_gcp-7.3.1.dist-info}/RECORD +101 -72
- {pulumi_gcp-7.3.0a1702567892.dist-info → pulumi_gcp-7.3.1.dist-info}/WHEEL +0 -0
- {pulumi_gcp-7.3.0a1702567892.dist-info → pulumi_gcp-7.3.1.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,228 @@
|
|
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
|
+
'GetNetworkPolicyResult',
|
15
|
+
'AwaitableGetNetworkPolicyResult',
|
16
|
+
'get_network_policy',
|
17
|
+
'get_network_policy_output',
|
18
|
+
]
|
19
|
+
|
20
|
+
@pulumi.output_type
|
21
|
+
class GetNetworkPolicyResult:
|
22
|
+
"""
|
23
|
+
A collection of values returned by getNetworkPolicy.
|
24
|
+
"""
|
25
|
+
def __init__(__self__, create_time=None, description=None, edge_services_cidr=None, external_ips=None, id=None, internet_accesses=None, location=None, name=None, project=None, uid=None, update_time=None, vmware_engine_network=None, vmware_engine_network_canonical=None):
|
26
|
+
if create_time and not isinstance(create_time, str):
|
27
|
+
raise TypeError("Expected argument 'create_time' to be a str")
|
28
|
+
pulumi.set(__self__, "create_time", create_time)
|
29
|
+
if description and not isinstance(description, str):
|
30
|
+
raise TypeError("Expected argument 'description' to be a str")
|
31
|
+
pulumi.set(__self__, "description", description)
|
32
|
+
if edge_services_cidr and not isinstance(edge_services_cidr, str):
|
33
|
+
raise TypeError("Expected argument 'edge_services_cidr' to be a str")
|
34
|
+
pulumi.set(__self__, "edge_services_cidr", edge_services_cidr)
|
35
|
+
if external_ips and not isinstance(external_ips, list):
|
36
|
+
raise TypeError("Expected argument 'external_ips' to be a list")
|
37
|
+
pulumi.set(__self__, "external_ips", external_ips)
|
38
|
+
if id and not isinstance(id, str):
|
39
|
+
raise TypeError("Expected argument 'id' to be a str")
|
40
|
+
pulumi.set(__self__, "id", id)
|
41
|
+
if internet_accesses and not isinstance(internet_accesses, list):
|
42
|
+
raise TypeError("Expected argument 'internet_accesses' to be a list")
|
43
|
+
pulumi.set(__self__, "internet_accesses", internet_accesses)
|
44
|
+
if location and not isinstance(location, str):
|
45
|
+
raise TypeError("Expected argument 'location' to be a str")
|
46
|
+
pulumi.set(__self__, "location", location)
|
47
|
+
if name and not isinstance(name, str):
|
48
|
+
raise TypeError("Expected argument 'name' to be a str")
|
49
|
+
pulumi.set(__self__, "name", name)
|
50
|
+
if project and not isinstance(project, str):
|
51
|
+
raise TypeError("Expected argument 'project' to be a str")
|
52
|
+
pulumi.set(__self__, "project", project)
|
53
|
+
if uid and not isinstance(uid, str):
|
54
|
+
raise TypeError("Expected argument 'uid' to be a str")
|
55
|
+
pulumi.set(__self__, "uid", uid)
|
56
|
+
if update_time and not isinstance(update_time, str):
|
57
|
+
raise TypeError("Expected argument 'update_time' to be a str")
|
58
|
+
pulumi.set(__self__, "update_time", update_time)
|
59
|
+
if vmware_engine_network and not isinstance(vmware_engine_network, str):
|
60
|
+
raise TypeError("Expected argument 'vmware_engine_network' to be a str")
|
61
|
+
pulumi.set(__self__, "vmware_engine_network", vmware_engine_network)
|
62
|
+
if vmware_engine_network_canonical and not isinstance(vmware_engine_network_canonical, str):
|
63
|
+
raise TypeError("Expected argument 'vmware_engine_network_canonical' to be a str")
|
64
|
+
pulumi.set(__self__, "vmware_engine_network_canonical", vmware_engine_network_canonical)
|
65
|
+
|
66
|
+
@property
|
67
|
+
@pulumi.getter(name="createTime")
|
68
|
+
def create_time(self) -> str:
|
69
|
+
return pulumi.get(self, "create_time")
|
70
|
+
|
71
|
+
@property
|
72
|
+
@pulumi.getter
|
73
|
+
def description(self) -> str:
|
74
|
+
return pulumi.get(self, "description")
|
75
|
+
|
76
|
+
@property
|
77
|
+
@pulumi.getter(name="edgeServicesCidr")
|
78
|
+
def edge_services_cidr(self) -> str:
|
79
|
+
return pulumi.get(self, "edge_services_cidr")
|
80
|
+
|
81
|
+
@property
|
82
|
+
@pulumi.getter(name="externalIps")
|
83
|
+
def external_ips(self) -> Sequence['outputs.GetNetworkPolicyExternalIpResult']:
|
84
|
+
return pulumi.get(self, "external_ips")
|
85
|
+
|
86
|
+
@property
|
87
|
+
@pulumi.getter
|
88
|
+
def id(self) -> str:
|
89
|
+
"""
|
90
|
+
The provider-assigned unique ID for this managed resource.
|
91
|
+
"""
|
92
|
+
return pulumi.get(self, "id")
|
93
|
+
|
94
|
+
@property
|
95
|
+
@pulumi.getter(name="internetAccesses")
|
96
|
+
def internet_accesses(self) -> Sequence['outputs.GetNetworkPolicyInternetAccessResult']:
|
97
|
+
return pulumi.get(self, "internet_accesses")
|
98
|
+
|
99
|
+
@property
|
100
|
+
@pulumi.getter
|
101
|
+
def location(self) -> str:
|
102
|
+
return pulumi.get(self, "location")
|
103
|
+
|
104
|
+
@property
|
105
|
+
@pulumi.getter
|
106
|
+
def name(self) -> str:
|
107
|
+
return pulumi.get(self, "name")
|
108
|
+
|
109
|
+
@property
|
110
|
+
@pulumi.getter
|
111
|
+
def project(self) -> Optional[str]:
|
112
|
+
return pulumi.get(self, "project")
|
113
|
+
|
114
|
+
@property
|
115
|
+
@pulumi.getter
|
116
|
+
def uid(self) -> str:
|
117
|
+
return pulumi.get(self, "uid")
|
118
|
+
|
119
|
+
@property
|
120
|
+
@pulumi.getter(name="updateTime")
|
121
|
+
def update_time(self) -> str:
|
122
|
+
return pulumi.get(self, "update_time")
|
123
|
+
|
124
|
+
@property
|
125
|
+
@pulumi.getter(name="vmwareEngineNetwork")
|
126
|
+
def vmware_engine_network(self) -> str:
|
127
|
+
return pulumi.get(self, "vmware_engine_network")
|
128
|
+
|
129
|
+
@property
|
130
|
+
@pulumi.getter(name="vmwareEngineNetworkCanonical")
|
131
|
+
def vmware_engine_network_canonical(self) -> str:
|
132
|
+
return pulumi.get(self, "vmware_engine_network_canonical")
|
133
|
+
|
134
|
+
|
135
|
+
class AwaitableGetNetworkPolicyResult(GetNetworkPolicyResult):
|
136
|
+
# pylint: disable=using-constant-test
|
137
|
+
def __await__(self):
|
138
|
+
if False:
|
139
|
+
yield self
|
140
|
+
return GetNetworkPolicyResult(
|
141
|
+
create_time=self.create_time,
|
142
|
+
description=self.description,
|
143
|
+
edge_services_cidr=self.edge_services_cidr,
|
144
|
+
external_ips=self.external_ips,
|
145
|
+
id=self.id,
|
146
|
+
internet_accesses=self.internet_accesses,
|
147
|
+
location=self.location,
|
148
|
+
name=self.name,
|
149
|
+
project=self.project,
|
150
|
+
uid=self.uid,
|
151
|
+
update_time=self.update_time,
|
152
|
+
vmware_engine_network=self.vmware_engine_network,
|
153
|
+
vmware_engine_network_canonical=self.vmware_engine_network_canonical)
|
154
|
+
|
155
|
+
|
156
|
+
def get_network_policy(location: Optional[str] = None,
|
157
|
+
name: Optional[str] = None,
|
158
|
+
project: Optional[str] = None,
|
159
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetNetworkPolicyResult:
|
160
|
+
"""
|
161
|
+
Use this data source to get details about a network policy resource.
|
162
|
+
|
163
|
+
To get more information about network policy, see:
|
164
|
+
* [API documentation](https://cloud.google.com/vmware-engine/docs/reference/rest/v1/projects.locations.networkPolicies)
|
165
|
+
|
166
|
+
## Example Usage
|
167
|
+
|
168
|
+
```python
|
169
|
+
import pulumi
|
170
|
+
import pulumi_gcp as gcp
|
171
|
+
|
172
|
+
my_network_policy = gcp.vmwareengine.get_network_policy(location="us-central1",
|
173
|
+
name="my-network-policy")
|
174
|
+
```
|
175
|
+
|
176
|
+
|
177
|
+
:param str location: Location of the resource.
|
178
|
+
:param str name: Name of the resource.
|
179
|
+
"""
|
180
|
+
__args__ = dict()
|
181
|
+
__args__['location'] = location
|
182
|
+
__args__['name'] = name
|
183
|
+
__args__['project'] = project
|
184
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
185
|
+
__ret__ = pulumi.runtime.invoke('gcp:vmwareengine/getNetworkPolicy:getNetworkPolicy', __args__, opts=opts, typ=GetNetworkPolicyResult).value
|
186
|
+
|
187
|
+
return AwaitableGetNetworkPolicyResult(
|
188
|
+
create_time=pulumi.get(__ret__, 'create_time'),
|
189
|
+
description=pulumi.get(__ret__, 'description'),
|
190
|
+
edge_services_cidr=pulumi.get(__ret__, 'edge_services_cidr'),
|
191
|
+
external_ips=pulumi.get(__ret__, 'external_ips'),
|
192
|
+
id=pulumi.get(__ret__, 'id'),
|
193
|
+
internet_accesses=pulumi.get(__ret__, 'internet_accesses'),
|
194
|
+
location=pulumi.get(__ret__, 'location'),
|
195
|
+
name=pulumi.get(__ret__, 'name'),
|
196
|
+
project=pulumi.get(__ret__, 'project'),
|
197
|
+
uid=pulumi.get(__ret__, 'uid'),
|
198
|
+
update_time=pulumi.get(__ret__, 'update_time'),
|
199
|
+
vmware_engine_network=pulumi.get(__ret__, 'vmware_engine_network'),
|
200
|
+
vmware_engine_network_canonical=pulumi.get(__ret__, 'vmware_engine_network_canonical'))
|
201
|
+
|
202
|
+
|
203
|
+
@_utilities.lift_output_func(get_network_policy)
|
204
|
+
def get_network_policy_output(location: Optional[pulumi.Input[str]] = None,
|
205
|
+
name: Optional[pulumi.Input[str]] = None,
|
206
|
+
project: Optional[pulumi.Input[Optional[str]]] = None,
|
207
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetNetworkPolicyResult]:
|
208
|
+
"""
|
209
|
+
Use this data source to get details about a network policy resource.
|
210
|
+
|
211
|
+
To get more information about network policy, see:
|
212
|
+
* [API documentation](https://cloud.google.com/vmware-engine/docs/reference/rest/v1/projects.locations.networkPolicies)
|
213
|
+
|
214
|
+
## Example Usage
|
215
|
+
|
216
|
+
```python
|
217
|
+
import pulumi
|
218
|
+
import pulumi_gcp as gcp
|
219
|
+
|
220
|
+
my_network_policy = gcp.vmwareengine.get_network_policy(location="us-central1",
|
221
|
+
name="my-network-policy")
|
222
|
+
```
|
223
|
+
|
224
|
+
|
225
|
+
:param str location: Location of the resource.
|
226
|
+
:param str name: Name of the resource.
|
227
|
+
"""
|
228
|
+
...
|
@@ -0,0 +1,133 @@
|
|
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
|
+
|
12
|
+
__all__ = [
|
13
|
+
'GetNsxCredentialsResult',
|
14
|
+
'AwaitableGetNsxCredentialsResult',
|
15
|
+
'get_nsx_credentials',
|
16
|
+
'get_nsx_credentials_output',
|
17
|
+
]
|
18
|
+
|
19
|
+
@pulumi.output_type
|
20
|
+
class GetNsxCredentialsResult:
|
21
|
+
"""
|
22
|
+
A collection of values returned by getNsxCredentials.
|
23
|
+
"""
|
24
|
+
def __init__(__self__, id=None, parent=None, password=None, username=None):
|
25
|
+
if id and not isinstance(id, str):
|
26
|
+
raise TypeError("Expected argument 'id' to be a str")
|
27
|
+
pulumi.set(__self__, "id", id)
|
28
|
+
if parent and not isinstance(parent, str):
|
29
|
+
raise TypeError("Expected argument 'parent' to be a str")
|
30
|
+
pulumi.set(__self__, "parent", parent)
|
31
|
+
if password and not isinstance(password, str):
|
32
|
+
raise TypeError("Expected argument 'password' to be a str")
|
33
|
+
pulumi.set(__self__, "password", password)
|
34
|
+
if username and not isinstance(username, str):
|
35
|
+
raise TypeError("Expected argument 'username' to be a str")
|
36
|
+
pulumi.set(__self__, "username", username)
|
37
|
+
|
38
|
+
@property
|
39
|
+
@pulumi.getter
|
40
|
+
def id(self) -> str:
|
41
|
+
"""
|
42
|
+
The provider-assigned unique ID for this managed resource.
|
43
|
+
"""
|
44
|
+
return pulumi.get(self, "id")
|
45
|
+
|
46
|
+
@property
|
47
|
+
@pulumi.getter
|
48
|
+
def parent(self) -> str:
|
49
|
+
return pulumi.get(self, "parent")
|
50
|
+
|
51
|
+
@property
|
52
|
+
@pulumi.getter
|
53
|
+
def password(self) -> str:
|
54
|
+
"""
|
55
|
+
The password of the NSX Credential.
|
56
|
+
"""
|
57
|
+
return pulumi.get(self, "password")
|
58
|
+
|
59
|
+
@property
|
60
|
+
@pulumi.getter
|
61
|
+
def username(self) -> str:
|
62
|
+
"""
|
63
|
+
The username of the NSX Credential.
|
64
|
+
"""
|
65
|
+
return pulumi.get(self, "username")
|
66
|
+
|
67
|
+
|
68
|
+
class AwaitableGetNsxCredentialsResult(GetNsxCredentialsResult):
|
69
|
+
# pylint: disable=using-constant-test
|
70
|
+
def __await__(self):
|
71
|
+
if False:
|
72
|
+
yield self
|
73
|
+
return GetNsxCredentialsResult(
|
74
|
+
id=self.id,
|
75
|
+
parent=self.parent,
|
76
|
+
password=self.password,
|
77
|
+
username=self.username)
|
78
|
+
|
79
|
+
|
80
|
+
def get_nsx_credentials(parent: Optional[str] = None,
|
81
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetNsxCredentialsResult:
|
82
|
+
"""
|
83
|
+
Use this data source to get NSX credentials for a Private Cloud.
|
84
|
+
|
85
|
+
To get more information about private cloud NSX credentials, see:
|
86
|
+
* [API documentation](https://cloud.google.com/vmware-engine/docs/reference/rest/v1/projects.locations.privateClouds/showNsxCredentials)
|
87
|
+
|
88
|
+
## Example Usage
|
89
|
+
|
90
|
+
```python
|
91
|
+
import pulumi
|
92
|
+
import pulumi_gcp as gcp
|
93
|
+
|
94
|
+
ds = gcp.vmwareengine.get_nsx_credentials(parent="projects/my-project/locations/us-west1-a/privateClouds/my-cloud")
|
95
|
+
```
|
96
|
+
|
97
|
+
|
98
|
+
:param str parent: The resource name of the private cloud which contains the NSX.
|
99
|
+
"""
|
100
|
+
__args__ = dict()
|
101
|
+
__args__['parent'] = parent
|
102
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
103
|
+
__ret__ = pulumi.runtime.invoke('gcp:vmwareengine/getNsxCredentials:getNsxCredentials', __args__, opts=opts, typ=GetNsxCredentialsResult).value
|
104
|
+
|
105
|
+
return AwaitableGetNsxCredentialsResult(
|
106
|
+
id=pulumi.get(__ret__, 'id'),
|
107
|
+
parent=pulumi.get(__ret__, 'parent'),
|
108
|
+
password=pulumi.get(__ret__, 'password'),
|
109
|
+
username=pulumi.get(__ret__, 'username'))
|
110
|
+
|
111
|
+
|
112
|
+
@_utilities.lift_output_func(get_nsx_credentials)
|
113
|
+
def get_nsx_credentials_output(parent: Optional[pulumi.Input[str]] = None,
|
114
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetNsxCredentialsResult]:
|
115
|
+
"""
|
116
|
+
Use this data source to get NSX credentials for a Private Cloud.
|
117
|
+
|
118
|
+
To get more information about private cloud NSX credentials, see:
|
119
|
+
* [API documentation](https://cloud.google.com/vmware-engine/docs/reference/rest/v1/projects.locations.privateClouds/showNsxCredentials)
|
120
|
+
|
121
|
+
## Example Usage
|
122
|
+
|
123
|
+
```python
|
124
|
+
import pulumi
|
125
|
+
import pulumi_gcp as gcp
|
126
|
+
|
127
|
+
ds = gcp.vmwareengine.get_nsx_credentials(parent="projects/my-project/locations/us-west1-a/privateClouds/my-cloud")
|
128
|
+
```
|
129
|
+
|
130
|
+
|
131
|
+
:param str parent: The resource name of the private cloud which contains the NSX.
|
132
|
+
"""
|
133
|
+
...
|
@@ -149,14 +149,19 @@ def get_private_cloud(location: Optional[str] = None,
|
|
149
149
|
project: Optional[str] = None,
|
150
150
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetPrivateCloudResult:
|
151
151
|
"""
|
152
|
+
Use this data source to get details about a private cloud resource.
|
153
|
+
|
154
|
+
To get more information about private cloud, see:
|
155
|
+
* [API documentation](https://cloud.google.com/vmware-engine/docs/reference/rest/v1/projects.locations.privateClouds)
|
156
|
+
|
152
157
|
## Example Usage
|
153
158
|
|
154
159
|
```python
|
155
160
|
import pulumi
|
156
161
|
import pulumi_gcp as gcp
|
157
162
|
|
158
|
-
my_pc = gcp.vmwareengine.get_private_cloud(
|
159
|
-
|
163
|
+
my_pc = gcp.vmwareengine.get_private_cloud(location="us-central1-a",
|
164
|
+
name="my-pc")
|
160
165
|
```
|
161
166
|
|
162
167
|
|
@@ -195,14 +200,19 @@ def get_private_cloud_output(location: Optional[pulumi.Input[str]] = None,
|
|
195
200
|
project: Optional[pulumi.Input[Optional[str]]] = None,
|
196
201
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPrivateCloudResult]:
|
197
202
|
"""
|
203
|
+
Use this data source to get details about a private cloud resource.
|
204
|
+
|
205
|
+
To get more information about private cloud, see:
|
206
|
+
* [API documentation](https://cloud.google.com/vmware-engine/docs/reference/rest/v1/projects.locations.privateClouds)
|
207
|
+
|
198
208
|
## Example Usage
|
199
209
|
|
200
210
|
```python
|
201
211
|
import pulumi
|
202
212
|
import pulumi_gcp as gcp
|
203
213
|
|
204
|
-
my_pc = gcp.vmwareengine.get_private_cloud(
|
205
|
-
|
214
|
+
my_pc = gcp.vmwareengine.get_private_cloud(location="us-central1-a",
|
215
|
+
name="my-pc")
|
206
216
|
```
|
207
217
|
|
208
218
|
|
@@ -25,7 +25,7 @@ class NetworkArgs:
|
|
25
25
|
The set of arguments for constructing a Network resource.
|
26
26
|
:param pulumi.Input[str] location: The location where the VMwareEngineNetwork should reside.
|
27
27
|
:param pulumi.Input[str] type: VMware Engine network type.
|
28
|
-
Possible values are: `LEGACY`.
|
28
|
+
Possible values are: `LEGACY`, `STANDARD`.
|
29
29
|
:param pulumi.Input[str] description: User-provided description for this VMware Engine network.
|
30
30
|
:param pulumi.Input[str] name: The ID of the VMwareEngineNetwork.
|
31
31
|
|
@@ -60,7 +60,7 @@ class NetworkArgs:
|
|
60
60
|
def type(self) -> pulumi.Input[str]:
|
61
61
|
"""
|
62
62
|
VMware Engine network type.
|
63
|
-
Possible values are: `LEGACY`.
|
63
|
+
Possible values are: `LEGACY`, `STANDARD`.
|
64
64
|
"""
|
65
65
|
return pulumi.get(self, "type")
|
66
66
|
|
@@ -132,7 +132,7 @@ class _NetworkState:
|
|
132
132
|
If it is not provided, the provider project is used.
|
133
133
|
:param pulumi.Input[str] state: State of the VMware Engine network.
|
134
134
|
:param pulumi.Input[str] type: VMware Engine network type.
|
135
|
-
Possible values are: `LEGACY`.
|
135
|
+
Possible values are: `LEGACY`, `STANDARD`.
|
136
136
|
:param pulumi.Input[str] uid: System-generated unique identifier for the resource.
|
137
137
|
:param pulumi.Input[Sequence[pulumi.Input['NetworkVpcNetworkArgs']]] vpc_networks: VMware Engine service VPC networks that provide connectivity from a private cloud to customer projects,
|
138
138
|
the internet, and other Google Cloud services.
|
@@ -224,7 +224,7 @@ class _NetworkState:
|
|
224
224
|
def type(self) -> Optional[pulumi.Input[str]]:
|
225
225
|
"""
|
226
226
|
VMware Engine network type.
|
227
|
-
Possible values are: `LEGACY`.
|
227
|
+
Possible values are: `LEGACY`, `STANDARD`.
|
228
228
|
"""
|
229
229
|
return pulumi.get(self, "type")
|
230
230
|
|
@@ -271,7 +271,24 @@ class Network(pulumi.CustomResource):
|
|
271
271
|
type: Optional[pulumi.Input[str]] = None,
|
272
272
|
__props__=None):
|
273
273
|
"""
|
274
|
+
Provides connectivity for VMware Engine private clouds.
|
275
|
+
|
276
|
+
To get more information about Network, see:
|
277
|
+
|
278
|
+
* [API documentation](https://cloud.google.com/vmware-engine/docs/reference/rest/v1/projects.locations.vmwareEngineNetworks)
|
279
|
+
|
274
280
|
## Example Usage
|
281
|
+
### Vmware Engine Network Standard
|
282
|
+
|
283
|
+
```python
|
284
|
+
import pulumi
|
285
|
+
import pulumi_gcp as gcp
|
286
|
+
|
287
|
+
vmw_engine_network = gcp.vmwareengine.Network("vmw-engine-network",
|
288
|
+
description="VMwareEngine standard network sample",
|
289
|
+
location="global",
|
290
|
+
type="STANDARD")
|
291
|
+
```
|
275
292
|
|
276
293
|
## Import
|
277
294
|
|
@@ -308,7 +325,7 @@ class Network(pulumi.CustomResource):
|
|
308
325
|
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
309
326
|
If it is not provided, the provider project is used.
|
310
327
|
:param pulumi.Input[str] type: VMware Engine network type.
|
311
|
-
Possible values are: `LEGACY`.
|
328
|
+
Possible values are: `LEGACY`, `STANDARD`.
|
312
329
|
"""
|
313
330
|
...
|
314
331
|
@overload
|
@@ -317,7 +334,24 @@ class Network(pulumi.CustomResource):
|
|
317
334
|
args: NetworkArgs,
|
318
335
|
opts: Optional[pulumi.ResourceOptions] = None):
|
319
336
|
"""
|
337
|
+
Provides connectivity for VMware Engine private clouds.
|
338
|
+
|
339
|
+
To get more information about Network, see:
|
340
|
+
|
341
|
+
* [API documentation](https://cloud.google.com/vmware-engine/docs/reference/rest/v1/projects.locations.vmwareEngineNetworks)
|
342
|
+
|
320
343
|
## Example Usage
|
344
|
+
### Vmware Engine Network Standard
|
345
|
+
|
346
|
+
```python
|
347
|
+
import pulumi
|
348
|
+
import pulumi_gcp as gcp
|
349
|
+
|
350
|
+
vmw_engine_network = gcp.vmwareengine.Network("vmw-engine-network",
|
351
|
+
description="VMwareEngine standard network sample",
|
352
|
+
location="global",
|
353
|
+
type="STANDARD")
|
354
|
+
```
|
321
355
|
|
322
356
|
## Import
|
323
357
|
|
@@ -419,7 +453,7 @@ class Network(pulumi.CustomResource):
|
|
419
453
|
If it is not provided, the provider project is used.
|
420
454
|
:param pulumi.Input[str] state: State of the VMware Engine network.
|
421
455
|
:param pulumi.Input[str] type: VMware Engine network type.
|
422
|
-
Possible values are: `LEGACY`.
|
456
|
+
Possible values are: `LEGACY`, `STANDARD`.
|
423
457
|
:param pulumi.Input[str] uid: System-generated unique identifier for the resource.
|
424
458
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NetworkVpcNetworkArgs']]]] vpc_networks: VMware Engine service VPC networks that provide connectivity from a private cloud to customer projects,
|
425
459
|
the internet, and other Google Cloud services.
|
@@ -488,7 +522,7 @@ class Network(pulumi.CustomResource):
|
|
488
522
|
def type(self) -> pulumi.Output[str]:
|
489
523
|
"""
|
490
524
|
VMware Engine network type.
|
491
|
-
Possible values are: `LEGACY`.
|
525
|
+
Possible values are: `LEGACY`, `STANDARD`.
|
492
526
|
"""
|
493
527
|
return pulumi.get(self, "type")
|
494
528
|
|