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,140 @@
|
|
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
|
+
'GetAiEndpointIamPolicyResult',
|
14
|
+
'AwaitableGetAiEndpointIamPolicyResult',
|
15
|
+
'get_ai_endpoint_iam_policy',
|
16
|
+
'get_ai_endpoint_iam_policy_output',
|
17
|
+
]
|
18
|
+
|
19
|
+
@pulumi.output_type
|
20
|
+
class GetAiEndpointIamPolicyResult:
|
21
|
+
"""
|
22
|
+
A collection of values returned by getAiEndpointIamPolicy.
|
23
|
+
"""
|
24
|
+
def __init__(__self__, endpoint=None, etag=None, id=None, location=None, policy_data=None, project=None):
|
25
|
+
if endpoint and not isinstance(endpoint, str):
|
26
|
+
raise TypeError("Expected argument 'endpoint' to be a str")
|
27
|
+
pulumi.set(__self__, "endpoint", endpoint)
|
28
|
+
if etag and not isinstance(etag, str):
|
29
|
+
raise TypeError("Expected argument 'etag' to be a str")
|
30
|
+
pulumi.set(__self__, "etag", etag)
|
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 policy_data and not isinstance(policy_data, str):
|
38
|
+
raise TypeError("Expected argument 'policy_data' to be a str")
|
39
|
+
pulumi.set(__self__, "policy_data", policy_data)
|
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
|
+
|
44
|
+
@property
|
45
|
+
@pulumi.getter
|
46
|
+
def endpoint(self) -> str:
|
47
|
+
return pulumi.get(self, "endpoint")
|
48
|
+
|
49
|
+
@property
|
50
|
+
@pulumi.getter
|
51
|
+
def etag(self) -> str:
|
52
|
+
"""
|
53
|
+
(Computed) The etag of the IAM policy.
|
54
|
+
"""
|
55
|
+
return pulumi.get(self, "etag")
|
56
|
+
|
57
|
+
@property
|
58
|
+
@pulumi.getter
|
59
|
+
def id(self) -> str:
|
60
|
+
"""
|
61
|
+
The provider-assigned unique ID for this managed resource.
|
62
|
+
"""
|
63
|
+
return pulumi.get(self, "id")
|
64
|
+
|
65
|
+
@property
|
66
|
+
@pulumi.getter
|
67
|
+
def location(self) -> str:
|
68
|
+
return pulumi.get(self, "location")
|
69
|
+
|
70
|
+
@property
|
71
|
+
@pulumi.getter(name="policyData")
|
72
|
+
def policy_data(self) -> str:
|
73
|
+
"""
|
74
|
+
(Required only by `vertex.AiEndpointIamPolicy`) The policy data generated by
|
75
|
+
a `organizations_get_iam_policy` data source.
|
76
|
+
"""
|
77
|
+
return pulumi.get(self, "policy_data")
|
78
|
+
|
79
|
+
@property
|
80
|
+
@pulumi.getter
|
81
|
+
def project(self) -> str:
|
82
|
+
return pulumi.get(self, "project")
|
83
|
+
|
84
|
+
|
85
|
+
class AwaitableGetAiEndpointIamPolicyResult(GetAiEndpointIamPolicyResult):
|
86
|
+
# pylint: disable=using-constant-test
|
87
|
+
def __await__(self):
|
88
|
+
if False:
|
89
|
+
yield self
|
90
|
+
return GetAiEndpointIamPolicyResult(
|
91
|
+
endpoint=self.endpoint,
|
92
|
+
etag=self.etag,
|
93
|
+
id=self.id,
|
94
|
+
location=self.location,
|
95
|
+
policy_data=self.policy_data,
|
96
|
+
project=self.project)
|
97
|
+
|
98
|
+
|
99
|
+
def get_ai_endpoint_iam_policy(endpoint: Optional[str] = None,
|
100
|
+
location: Optional[str] = None,
|
101
|
+
project: Optional[str] = None,
|
102
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAiEndpointIamPolicyResult:
|
103
|
+
"""
|
104
|
+
Use this data source to access information about an existing resource.
|
105
|
+
|
106
|
+
:param str endpoint: Used to find the parent resource to bind the IAM policy to
|
107
|
+
:param str location: The location for the resource Used to find the parent resource to bind the IAM policy to
|
108
|
+
:param str project: The ID of the project in which the resource belongs.
|
109
|
+
If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
|
110
|
+
"""
|
111
|
+
__args__ = dict()
|
112
|
+
__args__['endpoint'] = endpoint
|
113
|
+
__args__['location'] = location
|
114
|
+
__args__['project'] = project
|
115
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
116
|
+
__ret__ = pulumi.runtime.invoke('gcp:vertex/getAiEndpointIamPolicy:getAiEndpointIamPolicy', __args__, opts=opts, typ=GetAiEndpointIamPolicyResult).value
|
117
|
+
|
118
|
+
return AwaitableGetAiEndpointIamPolicyResult(
|
119
|
+
endpoint=pulumi.get(__ret__, 'endpoint'),
|
120
|
+
etag=pulumi.get(__ret__, 'etag'),
|
121
|
+
id=pulumi.get(__ret__, 'id'),
|
122
|
+
location=pulumi.get(__ret__, 'location'),
|
123
|
+
policy_data=pulumi.get(__ret__, 'policy_data'),
|
124
|
+
project=pulumi.get(__ret__, 'project'))
|
125
|
+
|
126
|
+
|
127
|
+
@_utilities.lift_output_func(get_ai_endpoint_iam_policy)
|
128
|
+
def get_ai_endpoint_iam_policy_output(endpoint: Optional[pulumi.Input[str]] = None,
|
129
|
+
location: Optional[pulumi.Input[Optional[str]]] = None,
|
130
|
+
project: Optional[pulumi.Input[Optional[str]]] = None,
|
131
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAiEndpointIamPolicyResult]:
|
132
|
+
"""
|
133
|
+
Use this data source to access information about an existing resource.
|
134
|
+
|
135
|
+
:param str endpoint: Used to find the parent resource to bind the IAM policy to
|
136
|
+
:param str location: The location for the resource Used to find the parent resource to bind the IAM policy to
|
137
|
+
:param str project: The ID of the project in which the resource belongs.
|
138
|
+
If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
|
139
|
+
"""
|
140
|
+
...
|
pulumi_gcp/vertex/outputs.py
CHANGED
@@ -19,6 +19,8 @@ __all__ = [
|
|
19
19
|
'AiEndpointDeployedModelDedicatedResourceMachineSpec',
|
20
20
|
'AiEndpointDeployedModelPrivateEndpoint',
|
21
21
|
'AiEndpointEncryptionSpec',
|
22
|
+
'AiEndpointIamBindingCondition',
|
23
|
+
'AiEndpointIamMemberCondition',
|
22
24
|
'AiFeatureStoreEncryptionSpec',
|
23
25
|
'AiFeatureStoreEntityTypeIamBindingCondition',
|
24
26
|
'AiFeatureStoreEntityTypeIamMemberCondition',
|
@@ -690,6 +692,60 @@ class AiEndpointEncryptionSpec(dict):
|
|
690
692
|
return pulumi.get(self, "kms_key_name")
|
691
693
|
|
692
694
|
|
695
|
+
@pulumi.output_type
|
696
|
+
class AiEndpointIamBindingCondition(dict):
|
697
|
+
def __init__(__self__, *,
|
698
|
+
expression: str,
|
699
|
+
title: str,
|
700
|
+
description: Optional[str] = None):
|
701
|
+
pulumi.set(__self__, "expression", expression)
|
702
|
+
pulumi.set(__self__, "title", title)
|
703
|
+
if description is not None:
|
704
|
+
pulumi.set(__self__, "description", description)
|
705
|
+
|
706
|
+
@property
|
707
|
+
@pulumi.getter
|
708
|
+
def expression(self) -> str:
|
709
|
+
return pulumi.get(self, "expression")
|
710
|
+
|
711
|
+
@property
|
712
|
+
@pulumi.getter
|
713
|
+
def title(self) -> str:
|
714
|
+
return pulumi.get(self, "title")
|
715
|
+
|
716
|
+
@property
|
717
|
+
@pulumi.getter
|
718
|
+
def description(self) -> Optional[str]:
|
719
|
+
return pulumi.get(self, "description")
|
720
|
+
|
721
|
+
|
722
|
+
@pulumi.output_type
|
723
|
+
class AiEndpointIamMemberCondition(dict):
|
724
|
+
def __init__(__self__, *,
|
725
|
+
expression: str,
|
726
|
+
title: str,
|
727
|
+
description: Optional[str] = None):
|
728
|
+
pulumi.set(__self__, "expression", expression)
|
729
|
+
pulumi.set(__self__, "title", title)
|
730
|
+
if description is not None:
|
731
|
+
pulumi.set(__self__, "description", description)
|
732
|
+
|
733
|
+
@property
|
734
|
+
@pulumi.getter
|
735
|
+
def expression(self) -> str:
|
736
|
+
return pulumi.get(self, "expression")
|
737
|
+
|
738
|
+
@property
|
739
|
+
@pulumi.getter
|
740
|
+
def title(self) -> str:
|
741
|
+
return pulumi.get(self, "title")
|
742
|
+
|
743
|
+
@property
|
744
|
+
@pulumi.getter
|
745
|
+
def description(self) -> Optional[str]:
|
746
|
+
return pulumi.get(self, "description")
|
747
|
+
|
748
|
+
|
693
749
|
@pulumi.output_type
|
694
750
|
class AiFeatureStoreEncryptionSpec(dict):
|
695
751
|
@staticmethod
|
@@ -8,8 +8,13 @@ import typing
|
|
8
8
|
from .cluster import *
|
9
9
|
from .get_cluster import *
|
10
10
|
from .get_network import *
|
11
|
+
from .get_network_peering import *
|
12
|
+
from .get_network_policy import *
|
13
|
+
from .get_nsx_credentials import *
|
11
14
|
from .get_private_cloud import *
|
12
15
|
from .network import *
|
16
|
+
from .network_peering import *
|
17
|
+
from .network_policy import *
|
13
18
|
from .private_cloud import *
|
14
19
|
from ._inputs import *
|
15
20
|
from . import outputs
|
@@ -11,6 +11,8 @@ from .. import _utilities
|
|
11
11
|
|
12
12
|
__all__ = [
|
13
13
|
'ClusterNodeTypeConfigArgs',
|
14
|
+
'NetworkPolicyExternalIpArgs',
|
15
|
+
'NetworkPolicyInternetAccessArgs',
|
14
16
|
'NetworkVpcNetworkArgs',
|
15
17
|
'PrivateCloudHcxArgs',
|
16
18
|
'PrivateCloudManagementClusterArgs',
|
@@ -79,6 +81,88 @@ class ClusterNodeTypeConfigArgs:
|
|
79
81
|
pulumi.set(self, "custom_core_count", value)
|
80
82
|
|
81
83
|
|
84
|
+
@pulumi.input_type
|
85
|
+
class NetworkPolicyExternalIpArgs:
|
86
|
+
def __init__(__self__, *,
|
87
|
+
enabled: Optional[pulumi.Input[bool]] = None,
|
88
|
+
state: Optional[pulumi.Input[str]] = None):
|
89
|
+
"""
|
90
|
+
:param pulumi.Input[bool] enabled: True if the service is enabled; false otherwise.
|
91
|
+
:param pulumi.Input[str] state: (Output)
|
92
|
+
State of the service. New values may be added to this enum when appropriate.
|
93
|
+
"""
|
94
|
+
if enabled is not None:
|
95
|
+
pulumi.set(__self__, "enabled", enabled)
|
96
|
+
if state is not None:
|
97
|
+
pulumi.set(__self__, "state", state)
|
98
|
+
|
99
|
+
@property
|
100
|
+
@pulumi.getter
|
101
|
+
def enabled(self) -> Optional[pulumi.Input[bool]]:
|
102
|
+
"""
|
103
|
+
True if the service is enabled; false otherwise.
|
104
|
+
"""
|
105
|
+
return pulumi.get(self, "enabled")
|
106
|
+
|
107
|
+
@enabled.setter
|
108
|
+
def enabled(self, value: Optional[pulumi.Input[bool]]):
|
109
|
+
pulumi.set(self, "enabled", value)
|
110
|
+
|
111
|
+
@property
|
112
|
+
@pulumi.getter
|
113
|
+
def state(self) -> Optional[pulumi.Input[str]]:
|
114
|
+
"""
|
115
|
+
(Output)
|
116
|
+
State of the service. New values may be added to this enum when appropriate.
|
117
|
+
"""
|
118
|
+
return pulumi.get(self, "state")
|
119
|
+
|
120
|
+
@state.setter
|
121
|
+
def state(self, value: Optional[pulumi.Input[str]]):
|
122
|
+
pulumi.set(self, "state", value)
|
123
|
+
|
124
|
+
|
125
|
+
@pulumi.input_type
|
126
|
+
class NetworkPolicyInternetAccessArgs:
|
127
|
+
def __init__(__self__, *,
|
128
|
+
enabled: Optional[pulumi.Input[bool]] = None,
|
129
|
+
state: Optional[pulumi.Input[str]] = None):
|
130
|
+
"""
|
131
|
+
:param pulumi.Input[bool] enabled: True if the service is enabled; false otherwise.
|
132
|
+
:param pulumi.Input[str] state: (Output)
|
133
|
+
State of the service. New values may be added to this enum when appropriate.
|
134
|
+
"""
|
135
|
+
if enabled is not None:
|
136
|
+
pulumi.set(__self__, "enabled", enabled)
|
137
|
+
if state is not None:
|
138
|
+
pulumi.set(__self__, "state", state)
|
139
|
+
|
140
|
+
@property
|
141
|
+
@pulumi.getter
|
142
|
+
def enabled(self) -> Optional[pulumi.Input[bool]]:
|
143
|
+
"""
|
144
|
+
True if the service is enabled; false otherwise.
|
145
|
+
"""
|
146
|
+
return pulumi.get(self, "enabled")
|
147
|
+
|
148
|
+
@enabled.setter
|
149
|
+
def enabled(self, value: Optional[pulumi.Input[bool]]):
|
150
|
+
pulumi.set(self, "enabled", value)
|
151
|
+
|
152
|
+
@property
|
153
|
+
@pulumi.getter
|
154
|
+
def state(self) -> Optional[pulumi.Input[str]]:
|
155
|
+
"""
|
156
|
+
(Output)
|
157
|
+
State of the service. New values may be added to this enum when appropriate.
|
158
|
+
"""
|
159
|
+
return pulumi.get(self, "state")
|
160
|
+
|
161
|
+
@state.setter
|
162
|
+
def state(self, value: Optional[pulumi.Input[str]]):
|
163
|
+
pulumi.set(self, "state", value)
|
164
|
+
|
165
|
+
|
82
166
|
@pulumi.input_type
|
83
167
|
class NetworkVpcNetworkArgs:
|
84
168
|
def __init__(__self__, *,
|
@@ -89,7 +173,7 @@ class NetworkVpcNetworkArgs:
|
|
89
173
|
The relative resource name of the service VPC network this VMware Engine network is attached to.
|
90
174
|
For example: projects/123123/global/networks/my-network
|
91
175
|
:param pulumi.Input[str] type: VMware Engine network type.
|
92
|
-
Possible values are: `LEGACY`.
|
176
|
+
Possible values are: `LEGACY`, `STANDARD`.
|
93
177
|
"""
|
94
178
|
if network is not None:
|
95
179
|
pulumi.set(__self__, "network", network)
|
@@ -115,7 +199,7 @@ class NetworkVpcNetworkArgs:
|
|
115
199
|
def type(self) -> Optional[pulumi.Input[str]]:
|
116
200
|
"""
|
117
201
|
VMware Engine network type.
|
118
|
-
Possible values are: `LEGACY`.
|
202
|
+
Possible values are: `LEGACY`, `STANDARD`.
|
119
203
|
"""
|
120
204
|
return pulumi.get(self, "type")
|
121
205
|
|
@@ -316,11 +400,14 @@ class PrivateCloudManagementClusterNodeTypeConfigArgs:
|
|
316
400
|
class PrivateCloudNetworkConfigArgs:
|
317
401
|
def __init__(__self__, *,
|
318
402
|
management_cidr: pulumi.Input[str],
|
403
|
+
dns_server_ip: Optional[pulumi.Input[str]] = None,
|
319
404
|
management_ip_address_layout_version: Optional[pulumi.Input[int]] = None,
|
320
405
|
vmware_engine_network: Optional[pulumi.Input[str]] = None,
|
321
406
|
vmware_engine_network_canonical: Optional[pulumi.Input[str]] = None):
|
322
407
|
"""
|
323
408
|
:param pulumi.Input[str] management_cidr: Management CIDR used by VMware management appliances.
|
409
|
+
:param pulumi.Input[str] dns_server_ip: (Output)
|
410
|
+
DNS Server IP of the Private Cloud.
|
324
411
|
:param pulumi.Input[int] management_ip_address_layout_version: (Output)
|
325
412
|
The IP address layout version of the management IP address range.
|
326
413
|
Possible versions include:
|
@@ -336,6 +423,8 @@ class PrivateCloudNetworkConfigArgs:
|
|
336
423
|
the form: projects/{project_number}/locations/{location}/vmwareEngineNetworks/{vmwareEngineNetworkId}
|
337
424
|
"""
|
338
425
|
pulumi.set(__self__, "management_cidr", management_cidr)
|
426
|
+
if dns_server_ip is not None:
|
427
|
+
pulumi.set(__self__, "dns_server_ip", dns_server_ip)
|
339
428
|
if management_ip_address_layout_version is not None:
|
340
429
|
pulumi.set(__self__, "management_ip_address_layout_version", management_ip_address_layout_version)
|
341
430
|
if vmware_engine_network is not None:
|
@@ -355,6 +444,19 @@ class PrivateCloudNetworkConfigArgs:
|
|
355
444
|
def management_cidr(self, value: pulumi.Input[str]):
|
356
445
|
pulumi.set(self, "management_cidr", value)
|
357
446
|
|
447
|
+
@property
|
448
|
+
@pulumi.getter(name="dnsServerIp")
|
449
|
+
def dns_server_ip(self) -> Optional[pulumi.Input[str]]:
|
450
|
+
"""
|
451
|
+
(Output)
|
452
|
+
DNS Server IP of the Private Cloud.
|
453
|
+
"""
|
454
|
+
return pulumi.get(self, "dns_server_ip")
|
455
|
+
|
456
|
+
@dns_server_ip.setter
|
457
|
+
def dns_server_ip(self, value: Optional[pulumi.Input[str]]):
|
458
|
+
pulumi.set(self, "dns_server_ip", value)
|
459
|
+
|
358
460
|
@property
|
359
461
|
@pulumi.getter(name="managementIpAddressLayoutVersion")
|
360
462
|
def management_ip_address_layout_version(self) -> Optional[pulumi.Input[int]]:
|
@@ -122,14 +122,19 @@ def get_network(location: Optional[str] = None,
|
|
122
122
|
project: Optional[str] = None,
|
123
123
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetNetworkResult:
|
124
124
|
"""
|
125
|
+
Use this data source to get details about a VMwareEngine network resource.
|
126
|
+
|
127
|
+
To get more information about VMwareEngine Network, see:
|
128
|
+
* [API documentation](https://cloud.google.com/vmware-engine/docs/reference/rest/v1/projects.locations.vmwareEngineNetworks)
|
129
|
+
|
125
130
|
## Example Usage
|
126
131
|
|
127
132
|
```python
|
128
133
|
import pulumi
|
129
134
|
import pulumi_gcp as gcp
|
130
135
|
|
131
|
-
my_nw = gcp.vmwareengine.get_network(
|
132
|
-
|
136
|
+
my_nw = gcp.vmwareengine.get_network(location="us-central1",
|
137
|
+
name="us-central1-default")
|
133
138
|
```
|
134
139
|
|
135
140
|
|
@@ -164,14 +169,19 @@ def get_network_output(location: Optional[pulumi.Input[str]] = None,
|
|
164
169
|
project: Optional[pulumi.Input[Optional[str]]] = None,
|
165
170
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetNetworkResult]:
|
166
171
|
"""
|
172
|
+
Use this data source to get details about a VMwareEngine network resource.
|
173
|
+
|
174
|
+
To get more information about VMwareEngine Network, see:
|
175
|
+
* [API documentation](https://cloud.google.com/vmware-engine/docs/reference/rest/v1/projects.locations.vmwareEngineNetworks)
|
176
|
+
|
167
177
|
## Example Usage
|
168
178
|
|
169
179
|
```python
|
170
180
|
import pulumi
|
171
181
|
import pulumi_gcp as gcp
|
172
182
|
|
173
|
-
my_nw = gcp.vmwareengine.get_network(
|
174
|
-
|
183
|
+
my_nw = gcp.vmwareengine.get_network(location="us-central1",
|
184
|
+
name="us-central1-default")
|
175
185
|
```
|
176
186
|
|
177
187
|
|
@@ -0,0 +1,260 @@
|
|
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
|
+
'GetNetworkPeeringResult',
|
14
|
+
'AwaitableGetNetworkPeeringResult',
|
15
|
+
'get_network_peering',
|
16
|
+
'get_network_peering_output',
|
17
|
+
]
|
18
|
+
|
19
|
+
@pulumi.output_type
|
20
|
+
class GetNetworkPeeringResult:
|
21
|
+
"""
|
22
|
+
A collection of values returned by getNetworkPeering.
|
23
|
+
"""
|
24
|
+
def __init__(__self__, create_time=None, description=None, export_custom_routes=None, export_custom_routes_with_public_ip=None, id=None, import_custom_routes=None, import_custom_routes_with_public_ip=None, name=None, peer_network=None, peer_network_type=None, project=None, state=None, state_details=None, uid=None, update_time=None, vmware_engine_network=None, vmware_engine_network_canonical=None):
|
25
|
+
if create_time and not isinstance(create_time, str):
|
26
|
+
raise TypeError("Expected argument 'create_time' to be a str")
|
27
|
+
pulumi.set(__self__, "create_time", create_time)
|
28
|
+
if description and not isinstance(description, str):
|
29
|
+
raise TypeError("Expected argument 'description' to be a str")
|
30
|
+
pulumi.set(__self__, "description", description)
|
31
|
+
if export_custom_routes and not isinstance(export_custom_routes, bool):
|
32
|
+
raise TypeError("Expected argument 'export_custom_routes' to be a bool")
|
33
|
+
pulumi.set(__self__, "export_custom_routes", export_custom_routes)
|
34
|
+
if export_custom_routes_with_public_ip and not isinstance(export_custom_routes_with_public_ip, bool):
|
35
|
+
raise TypeError("Expected argument 'export_custom_routes_with_public_ip' to be a bool")
|
36
|
+
pulumi.set(__self__, "export_custom_routes_with_public_ip", export_custom_routes_with_public_ip)
|
37
|
+
if id and not isinstance(id, str):
|
38
|
+
raise TypeError("Expected argument 'id' to be a str")
|
39
|
+
pulumi.set(__self__, "id", id)
|
40
|
+
if import_custom_routes and not isinstance(import_custom_routes, bool):
|
41
|
+
raise TypeError("Expected argument 'import_custom_routes' to be a bool")
|
42
|
+
pulumi.set(__self__, "import_custom_routes", import_custom_routes)
|
43
|
+
if import_custom_routes_with_public_ip and not isinstance(import_custom_routes_with_public_ip, bool):
|
44
|
+
raise TypeError("Expected argument 'import_custom_routes_with_public_ip' to be a bool")
|
45
|
+
pulumi.set(__self__, "import_custom_routes_with_public_ip", import_custom_routes_with_public_ip)
|
46
|
+
if name and not isinstance(name, str):
|
47
|
+
raise TypeError("Expected argument 'name' to be a str")
|
48
|
+
pulumi.set(__self__, "name", name)
|
49
|
+
if peer_network and not isinstance(peer_network, str):
|
50
|
+
raise TypeError("Expected argument 'peer_network' to be a str")
|
51
|
+
pulumi.set(__self__, "peer_network", peer_network)
|
52
|
+
if peer_network_type and not isinstance(peer_network_type, str):
|
53
|
+
raise TypeError("Expected argument 'peer_network_type' to be a str")
|
54
|
+
pulumi.set(__self__, "peer_network_type", peer_network_type)
|
55
|
+
if project and not isinstance(project, str):
|
56
|
+
raise TypeError("Expected argument 'project' to be a str")
|
57
|
+
pulumi.set(__self__, "project", project)
|
58
|
+
if state and not isinstance(state, str):
|
59
|
+
raise TypeError("Expected argument 'state' to be a str")
|
60
|
+
pulumi.set(__self__, "state", state)
|
61
|
+
if state_details and not isinstance(state_details, str):
|
62
|
+
raise TypeError("Expected argument 'state_details' to be a str")
|
63
|
+
pulumi.set(__self__, "state_details", state_details)
|
64
|
+
if uid and not isinstance(uid, str):
|
65
|
+
raise TypeError("Expected argument 'uid' to be a str")
|
66
|
+
pulumi.set(__self__, "uid", uid)
|
67
|
+
if update_time and not isinstance(update_time, str):
|
68
|
+
raise TypeError("Expected argument 'update_time' to be a str")
|
69
|
+
pulumi.set(__self__, "update_time", update_time)
|
70
|
+
if vmware_engine_network and not isinstance(vmware_engine_network, str):
|
71
|
+
raise TypeError("Expected argument 'vmware_engine_network' to be a str")
|
72
|
+
pulumi.set(__self__, "vmware_engine_network", vmware_engine_network)
|
73
|
+
if vmware_engine_network_canonical and not isinstance(vmware_engine_network_canonical, str):
|
74
|
+
raise TypeError("Expected argument 'vmware_engine_network_canonical' to be a str")
|
75
|
+
pulumi.set(__self__, "vmware_engine_network_canonical", vmware_engine_network_canonical)
|
76
|
+
|
77
|
+
@property
|
78
|
+
@pulumi.getter(name="createTime")
|
79
|
+
def create_time(self) -> str:
|
80
|
+
return pulumi.get(self, "create_time")
|
81
|
+
|
82
|
+
@property
|
83
|
+
@pulumi.getter
|
84
|
+
def description(self) -> str:
|
85
|
+
return pulumi.get(self, "description")
|
86
|
+
|
87
|
+
@property
|
88
|
+
@pulumi.getter(name="exportCustomRoutes")
|
89
|
+
def export_custom_routes(self) -> bool:
|
90
|
+
return pulumi.get(self, "export_custom_routes")
|
91
|
+
|
92
|
+
@property
|
93
|
+
@pulumi.getter(name="exportCustomRoutesWithPublicIp")
|
94
|
+
def export_custom_routes_with_public_ip(self) -> bool:
|
95
|
+
return pulumi.get(self, "export_custom_routes_with_public_ip")
|
96
|
+
|
97
|
+
@property
|
98
|
+
@pulumi.getter
|
99
|
+
def id(self) -> str:
|
100
|
+
"""
|
101
|
+
The provider-assigned unique ID for this managed resource.
|
102
|
+
"""
|
103
|
+
return pulumi.get(self, "id")
|
104
|
+
|
105
|
+
@property
|
106
|
+
@pulumi.getter(name="importCustomRoutes")
|
107
|
+
def import_custom_routes(self) -> bool:
|
108
|
+
return pulumi.get(self, "import_custom_routes")
|
109
|
+
|
110
|
+
@property
|
111
|
+
@pulumi.getter(name="importCustomRoutesWithPublicIp")
|
112
|
+
def import_custom_routes_with_public_ip(self) -> bool:
|
113
|
+
return pulumi.get(self, "import_custom_routes_with_public_ip")
|
114
|
+
|
115
|
+
@property
|
116
|
+
@pulumi.getter
|
117
|
+
def name(self) -> str:
|
118
|
+
return pulumi.get(self, "name")
|
119
|
+
|
120
|
+
@property
|
121
|
+
@pulumi.getter(name="peerNetwork")
|
122
|
+
def peer_network(self) -> str:
|
123
|
+
return pulumi.get(self, "peer_network")
|
124
|
+
|
125
|
+
@property
|
126
|
+
@pulumi.getter(name="peerNetworkType")
|
127
|
+
def peer_network_type(self) -> str:
|
128
|
+
return pulumi.get(self, "peer_network_type")
|
129
|
+
|
130
|
+
@property
|
131
|
+
@pulumi.getter
|
132
|
+
def project(self) -> Optional[str]:
|
133
|
+
return pulumi.get(self, "project")
|
134
|
+
|
135
|
+
@property
|
136
|
+
@pulumi.getter
|
137
|
+
def state(self) -> str:
|
138
|
+
return pulumi.get(self, "state")
|
139
|
+
|
140
|
+
@property
|
141
|
+
@pulumi.getter(name="stateDetails")
|
142
|
+
def state_details(self) -> str:
|
143
|
+
return pulumi.get(self, "state_details")
|
144
|
+
|
145
|
+
@property
|
146
|
+
@pulumi.getter
|
147
|
+
def uid(self) -> str:
|
148
|
+
return pulumi.get(self, "uid")
|
149
|
+
|
150
|
+
@property
|
151
|
+
@pulumi.getter(name="updateTime")
|
152
|
+
def update_time(self) -> str:
|
153
|
+
return pulumi.get(self, "update_time")
|
154
|
+
|
155
|
+
@property
|
156
|
+
@pulumi.getter(name="vmwareEngineNetwork")
|
157
|
+
def vmware_engine_network(self) -> str:
|
158
|
+
return pulumi.get(self, "vmware_engine_network")
|
159
|
+
|
160
|
+
@property
|
161
|
+
@pulumi.getter(name="vmwareEngineNetworkCanonical")
|
162
|
+
def vmware_engine_network_canonical(self) -> str:
|
163
|
+
return pulumi.get(self, "vmware_engine_network_canonical")
|
164
|
+
|
165
|
+
|
166
|
+
class AwaitableGetNetworkPeeringResult(GetNetworkPeeringResult):
|
167
|
+
# pylint: disable=using-constant-test
|
168
|
+
def __await__(self):
|
169
|
+
if False:
|
170
|
+
yield self
|
171
|
+
return GetNetworkPeeringResult(
|
172
|
+
create_time=self.create_time,
|
173
|
+
description=self.description,
|
174
|
+
export_custom_routes=self.export_custom_routes,
|
175
|
+
export_custom_routes_with_public_ip=self.export_custom_routes_with_public_ip,
|
176
|
+
id=self.id,
|
177
|
+
import_custom_routes=self.import_custom_routes,
|
178
|
+
import_custom_routes_with_public_ip=self.import_custom_routes_with_public_ip,
|
179
|
+
name=self.name,
|
180
|
+
peer_network=self.peer_network,
|
181
|
+
peer_network_type=self.peer_network_type,
|
182
|
+
project=self.project,
|
183
|
+
state=self.state,
|
184
|
+
state_details=self.state_details,
|
185
|
+
uid=self.uid,
|
186
|
+
update_time=self.update_time,
|
187
|
+
vmware_engine_network=self.vmware_engine_network,
|
188
|
+
vmware_engine_network_canonical=self.vmware_engine_network_canonical)
|
189
|
+
|
190
|
+
|
191
|
+
def get_network_peering(name: Optional[str] = None,
|
192
|
+
project: Optional[str] = None,
|
193
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetNetworkPeeringResult:
|
194
|
+
"""
|
195
|
+
Use this data source to get details about a network peering resource.
|
196
|
+
|
197
|
+
To get more information about network peering, see:
|
198
|
+
* [API documentation](https://cloud.google.com/vmware-engine/docs/reference/rest/v1/projects.locations.networkPeerings)
|
199
|
+
|
200
|
+
## Example Usage
|
201
|
+
|
202
|
+
```python
|
203
|
+
import pulumi
|
204
|
+
import pulumi_gcp as gcp
|
205
|
+
|
206
|
+
my_network_peering = gcp.vmwareengine.get_network_peering(name="my-network-peering")
|
207
|
+
```
|
208
|
+
|
209
|
+
|
210
|
+
:param str name: Name of the resource.
|
211
|
+
"""
|
212
|
+
__args__ = dict()
|
213
|
+
__args__['name'] = name
|
214
|
+
__args__['project'] = project
|
215
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
216
|
+
__ret__ = pulumi.runtime.invoke('gcp:vmwareengine/getNetworkPeering:getNetworkPeering', __args__, opts=opts, typ=GetNetworkPeeringResult).value
|
217
|
+
|
218
|
+
return AwaitableGetNetworkPeeringResult(
|
219
|
+
create_time=pulumi.get(__ret__, 'create_time'),
|
220
|
+
description=pulumi.get(__ret__, 'description'),
|
221
|
+
export_custom_routes=pulumi.get(__ret__, 'export_custom_routes'),
|
222
|
+
export_custom_routes_with_public_ip=pulumi.get(__ret__, 'export_custom_routes_with_public_ip'),
|
223
|
+
id=pulumi.get(__ret__, 'id'),
|
224
|
+
import_custom_routes=pulumi.get(__ret__, 'import_custom_routes'),
|
225
|
+
import_custom_routes_with_public_ip=pulumi.get(__ret__, 'import_custom_routes_with_public_ip'),
|
226
|
+
name=pulumi.get(__ret__, 'name'),
|
227
|
+
peer_network=pulumi.get(__ret__, 'peer_network'),
|
228
|
+
peer_network_type=pulumi.get(__ret__, 'peer_network_type'),
|
229
|
+
project=pulumi.get(__ret__, 'project'),
|
230
|
+
state=pulumi.get(__ret__, 'state'),
|
231
|
+
state_details=pulumi.get(__ret__, 'state_details'),
|
232
|
+
uid=pulumi.get(__ret__, 'uid'),
|
233
|
+
update_time=pulumi.get(__ret__, 'update_time'),
|
234
|
+
vmware_engine_network=pulumi.get(__ret__, 'vmware_engine_network'),
|
235
|
+
vmware_engine_network_canonical=pulumi.get(__ret__, 'vmware_engine_network_canonical'))
|
236
|
+
|
237
|
+
|
238
|
+
@_utilities.lift_output_func(get_network_peering)
|
239
|
+
def get_network_peering_output(name: Optional[pulumi.Input[str]] = None,
|
240
|
+
project: Optional[pulumi.Input[Optional[str]]] = None,
|
241
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetNetworkPeeringResult]:
|
242
|
+
"""
|
243
|
+
Use this data source to get details about a network peering resource.
|
244
|
+
|
245
|
+
To get more information about network peering, see:
|
246
|
+
* [API documentation](https://cloud.google.com/vmware-engine/docs/reference/rest/v1/projects.locations.networkPeerings)
|
247
|
+
|
248
|
+
## Example Usage
|
249
|
+
|
250
|
+
```python
|
251
|
+
import pulumi
|
252
|
+
import pulumi_gcp as gcp
|
253
|
+
|
254
|
+
my_network_peering = gcp.vmwareengine.get_network_peering(name="my-network-peering")
|
255
|
+
```
|
256
|
+
|
257
|
+
|
258
|
+
:param str name: Name of the resource.
|
259
|
+
"""
|
260
|
+
...
|