pulumi-gcp 8.11.0a1734348982__py3-none-any.whl → 8.11.0a1734385115__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 +91 -0
- pulumi_gcp/accesscontextmanager/_inputs.py +29 -0
- pulumi_gcp/accesscontextmanager/outputs.py +18 -0
- pulumi_gcp/accesscontextmanager/service_perimeter.py +36 -0
- pulumi_gcp/accesscontextmanager/service_perimeter_dry_run_egress_policy.py +6 -0
- pulumi_gcp/accesscontextmanager/service_perimeter_dry_run_ingress_policy.py +6 -0
- pulumi_gcp/accesscontextmanager/service_perimeter_egress_policy.py +6 -0
- pulumi_gcp/accesscontextmanager/service_perimeter_ingress_policy.py +6 -0
- pulumi_gcp/apigee/app_group.py +7 -7
- pulumi_gcp/applicationintegration/client.py +8 -6
- pulumi_gcp/artifactregistry/_inputs.py +24 -15
- pulumi_gcp/artifactregistry/outputs.py +32 -20
- pulumi_gcp/artifactregistry/repository.py +128 -0
- pulumi_gcp/assuredworkloads/workload.py +7 -7
- pulumi_gcp/backupdisasterrecovery/__init__.py +2 -0
- pulumi_gcp/backupdisasterrecovery/backup_plan.py +2 -2
- pulumi_gcp/backupdisasterrecovery/backup_vault.py +12 -8
- pulumi_gcp/backupdisasterrecovery/get_backup.py +153 -0
- pulumi_gcp/backupdisasterrecovery/get_backup_vault.py +415 -0
- pulumi_gcp/backupdisasterrecovery/outputs.py +63 -0
- pulumi_gcp/bigquery/app_profile.py +75 -0
- pulumi_gcp/billing/_inputs.py +6 -6
- pulumi_gcp/billing/outputs.py +4 -4
- pulumi_gcp/certificateauthority/_inputs.py +9 -9
- pulumi_gcp/certificateauthority/outputs.py +8 -8
- pulumi_gcp/cloudbuild/_inputs.py +53 -0
- pulumi_gcp/cloudbuild/outputs.py +50 -0
- pulumi_gcp/cloudbuild/worker_pool.py +47 -0
- pulumi_gcp/clouddeploy/_inputs.py +254 -0
- pulumi_gcp/clouddeploy/outputs.py +211 -0
- pulumi_gcp/clouddeploy/target.py +47 -0
- pulumi_gcp/cloudfunctionsv2/_inputs.py +6 -6
- pulumi_gcp/cloudfunctionsv2/outputs.py +8 -8
- pulumi_gcp/cloudrunv2/job.py +4 -4
- pulumi_gcp/cloudrunv2/service.py +4 -4
- pulumi_gcp/composer/get_user_workloads_config_map.py +4 -0
- pulumi_gcp/composer/get_user_workloads_secret.py +4 -0
- pulumi_gcp/composer/user_workloads_config_map.py +14 -0
- pulumi_gcp/composer/user_workloads_secret.py +6 -0
- pulumi_gcp/compute/_inputs.py +566 -25
- pulumi_gcp/compute/disk.py +21 -7
- pulumi_gcp/compute/firewall_policy_rule.py +12 -0
- pulumi_gcp/compute/get_forwarding_rules.py +2 -2
- pulumi_gcp/compute/get_global_forwarding_rule.py +12 -1
- pulumi_gcp/compute/get_instance_group_manager.py +12 -1
- pulumi_gcp/compute/get_network.py +35 -1
- pulumi_gcp/compute/get_region_instance_group_manager.py +12 -1
- pulumi_gcp/compute/get_region_network_endpoint_group.py +12 -1
- pulumi_gcp/compute/global_forwarding_rule.py +28 -0
- pulumi_gcp/compute/instance_group_manager.py +28 -0
- pulumi_gcp/compute/network.py +75 -0
- pulumi_gcp/compute/outputs.py +655 -26
- pulumi_gcp/compute/region_health_check.py +28 -0
- pulumi_gcp/compute/region_instance_group_manager.py +28 -0
- pulumi_gcp/compute/region_network_endpoint.py +28 -0
- pulumi_gcp/compute/region_network_endpoint_group.py +70 -2
- pulumi_gcp/compute/subnetwork.py +30 -2
- pulumi_gcp/compute/url_map.py +7 -7
- pulumi_gcp/config/__init__.pyi +2 -0
- pulumi_gcp/config/vars.py +4 -0
- pulumi_gcp/container/_inputs.py +201 -3
- pulumi_gcp/container/cluster.py +68 -14
- pulumi_gcp/container/get_cluster.py +12 -1
- pulumi_gcp/container/outputs.py +249 -3
- pulumi_gcp/dataproc/_inputs.py +209 -1
- pulumi_gcp/dataproc/batch.py +76 -0
- pulumi_gcp/dataproc/outputs.py +169 -3
- pulumi_gcp/diagflow/_inputs.py +3 -3
- pulumi_gcp/diagflow/outputs.py +2 -2
- pulumi_gcp/discoveryengine/search_engine.py +7 -7
- pulumi_gcp/firebaserules/release.py +76 -0
- pulumi_gcp/firestore/field.py +4 -4
- pulumi_gcp/gemini/__init__.py +15 -0
- pulumi_gcp/gemini/_inputs.py +183 -0
- pulumi_gcp/gemini/code_repository_index.py +659 -0
- pulumi_gcp/gemini/get_repository_group_iam_policy.py +171 -0
- pulumi_gcp/gemini/outputs.py +130 -0
- pulumi_gcp/gemini/repository_group.py +586 -0
- pulumi_gcp/gemini/repository_group_iam_binding.py +604 -0
- pulumi_gcp/gemini/repository_group_iam_member.py +604 -0
- pulumi_gcp/gemini/repository_group_iam_policy.py +443 -0
- pulumi_gcp/gkehub/_inputs.py +30 -10
- pulumi_gcp/gkehub/membership_binding.py +6 -6
- pulumi_gcp/gkehub/membership_rbac_role_binding.py +4 -4
- pulumi_gcp/gkehub/namespace.py +4 -4
- pulumi_gcp/gkehub/outputs.py +21 -7
- pulumi_gcp/gkehub/scope_rbac_role_binding.py +4 -4
- pulumi_gcp/iam/__init__.py +1 -0
- pulumi_gcp/iam/_inputs.py +137 -0
- pulumi_gcp/iam/folders_policy_binding.py +16 -0
- pulumi_gcp/iam/organizations_policy_binding.py +16 -0
- pulumi_gcp/iam/outputs.py +99 -0
- pulumi_gcp/iam/principal_access_boundary_policy.py +16 -0
- pulumi_gcp/iam/projects_policy_binding.py +917 -0
- pulumi_gcp/iap/tunnel_dest_group.py +2 -2
- pulumi_gcp/integrationconnectors/_inputs.py +15 -15
- pulumi_gcp/integrationconnectors/managed_zone.py +8 -8
- pulumi_gcp/integrationconnectors/outputs.py +10 -10
- pulumi_gcp/monitoring/_inputs.py +13 -6
- pulumi_gcp/monitoring/outputs.py +10 -4
- pulumi_gcp/netapp/_inputs.py +3 -3
- pulumi_gcp/netapp/active_directory.py +7 -7
- pulumi_gcp/netapp/outputs.py +2 -2
- pulumi_gcp/netapp/volume.py +11 -11
- pulumi_gcp/networkconnectivity/spoke.py +10 -10
- pulumi_gcp/networksecurity/__init__.py +4 -0
- pulumi_gcp/networksecurity/_inputs.py +115 -0
- pulumi_gcp/networksecurity/mirroring_deployment.py +848 -0
- pulumi_gcp/networksecurity/mirroring_deployment_group.py +752 -0
- pulumi_gcp/networksecurity/mirroring_endpoint_group.py +737 -0
- pulumi_gcp/networksecurity/mirroring_endpoint_group_association.py +840 -0
- pulumi_gcp/networksecurity/outputs.py +70 -0
- pulumi_gcp/oracledatabase/autonomous_database.py +42 -4
- pulumi_gcp/oracledatabase/cloud_exadata_infrastructure.py +42 -4
- pulumi_gcp/oracledatabase/cloud_vm_cluster.py +50 -8
- pulumi_gcp/oracledatabase/get_autonomous_database.py +12 -1
- pulumi_gcp/oracledatabase/get_cloud_exadata_infrastructure.py +12 -1
- pulumi_gcp/oracledatabase/get_cloud_vm_cluster.py +12 -1
- pulumi_gcp/oracledatabase/outputs.py +21 -0
- pulumi_gcp/orgpolicy/policy.py +2 -2
- pulumi_gcp/parallelstore/instance.py +4 -0
- pulumi_gcp/provider.py +20 -0
- pulumi_gcp/pubsub/subscription.py +6 -6
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/redis/_inputs.py +435 -3
- pulumi_gcp/redis/cluster.py +287 -16
- pulumi_gcp/redis/outputs.py +304 -2
- pulumi_gcp/serviceaccount/get_account_id_token.py +2 -2
- pulumi_gcp/serviceaccount/get_account_key.py +2 -2
- pulumi_gcp/storage/get_bucket.py +2 -2
- pulumi_gcp/storage/get_bucket_object_content.py +2 -2
- pulumi_gcp/tpu/__init__.py +1 -0
- pulumi_gcp/tpu/_inputs.py +188 -6
- pulumi_gcp/tpu/outputs.py +164 -4
- pulumi_gcp/tpu/v2_queued_resource.py +434 -0
- pulumi_gcp/vertex/ai_endpoint.py +4 -4
- pulumi_gcp/vertex/ai_feature_online_store_featureview.py +4 -4
- pulumi_gcp/vertex/ai_index_endpoint.py +2 -2
- {pulumi_gcp-8.11.0a1734348982.dist-info → pulumi_gcp-8.11.0a1734385115.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.11.0a1734348982.dist-info → pulumi_gcp-8.11.0a1734385115.dist-info}/RECORD +142 -125
- {pulumi_gcp-8.11.0a1734348982.dist-info → pulumi_gcp-8.11.0a1734385115.dist-info}/WHEEL +0 -0
- {pulumi_gcp-8.11.0a1734348982.dist-info → pulumi_gcp-8.11.0a1734385115.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,840 @@
|
|
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 sys
|
8
|
+
import pulumi
|
9
|
+
import pulumi.runtime
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
+
if sys.version_info >= (3, 11):
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
+
else:
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
15
|
+
from .. import _utilities
|
16
|
+
from . import outputs
|
17
|
+
from ._inputs import *
|
18
|
+
|
19
|
+
__all__ = ['MirroringEndpointGroupAssociationArgs', 'MirroringEndpointGroupAssociation']
|
20
|
+
|
21
|
+
@pulumi.input_type
|
22
|
+
class MirroringEndpointGroupAssociationArgs:
|
23
|
+
def __init__(__self__, *,
|
24
|
+
location: pulumi.Input[str],
|
25
|
+
mirroring_endpoint_group: pulumi.Input[str],
|
26
|
+
network: pulumi.Input[str],
|
27
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
28
|
+
mirroring_endpoint_group_association_id: Optional[pulumi.Input[str]] = None,
|
29
|
+
project: Optional[pulumi.Input[str]] = None):
|
30
|
+
"""
|
31
|
+
The set of arguments for constructing a MirroringEndpointGroupAssociation resource.
|
32
|
+
:param pulumi.Input[str] location: Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122. See documentation for resource type `networksecurity.googleapis.com/MirroringEndpointGroupAssociation`.
|
33
|
+
|
34
|
+
|
35
|
+
- - -
|
36
|
+
:param pulumi.Input[str] mirroring_endpoint_group: Required. Immutable. The Mirroring Endpoint Group that this resource is connected to. Format
|
37
|
+
is:
|
38
|
+
`projects/{project}/locations/global/mirroringEndpointGroups/{mirroringEndpointGroup}`
|
39
|
+
:param pulumi.Input[str] network: Required. Immutable. The VPC network associated. Format:
|
40
|
+
projects/{project}/global/networks/{network}.
|
41
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Optional. Labels as key value pairs
|
42
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
43
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
44
|
+
:param pulumi.Input[str] mirroring_endpoint_group_association_id: Optional. Id of the requesting object
|
45
|
+
If auto-generating Id server-side, remove this field and
|
46
|
+
mirroring_endpoint_group_association_id from the method_signature of Create
|
47
|
+
RPC
|
48
|
+
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
49
|
+
If it is not provided, the provider project is used.
|
50
|
+
"""
|
51
|
+
pulumi.set(__self__, "location", location)
|
52
|
+
pulumi.set(__self__, "mirroring_endpoint_group", mirroring_endpoint_group)
|
53
|
+
pulumi.set(__self__, "network", network)
|
54
|
+
if labels is not None:
|
55
|
+
pulumi.set(__self__, "labels", labels)
|
56
|
+
if mirroring_endpoint_group_association_id is not None:
|
57
|
+
pulumi.set(__self__, "mirroring_endpoint_group_association_id", mirroring_endpoint_group_association_id)
|
58
|
+
if project is not None:
|
59
|
+
pulumi.set(__self__, "project", project)
|
60
|
+
|
61
|
+
@property
|
62
|
+
@pulumi.getter
|
63
|
+
def location(self) -> pulumi.Input[str]:
|
64
|
+
"""
|
65
|
+
Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122. See documentation for resource type `networksecurity.googleapis.com/MirroringEndpointGroupAssociation`.
|
66
|
+
|
67
|
+
|
68
|
+
- - -
|
69
|
+
"""
|
70
|
+
return pulumi.get(self, "location")
|
71
|
+
|
72
|
+
@location.setter
|
73
|
+
def location(self, value: pulumi.Input[str]):
|
74
|
+
pulumi.set(self, "location", value)
|
75
|
+
|
76
|
+
@property
|
77
|
+
@pulumi.getter(name="mirroringEndpointGroup")
|
78
|
+
def mirroring_endpoint_group(self) -> pulumi.Input[str]:
|
79
|
+
"""
|
80
|
+
Required. Immutable. The Mirroring Endpoint Group that this resource is connected to. Format
|
81
|
+
is:
|
82
|
+
`projects/{project}/locations/global/mirroringEndpointGroups/{mirroringEndpointGroup}`
|
83
|
+
"""
|
84
|
+
return pulumi.get(self, "mirroring_endpoint_group")
|
85
|
+
|
86
|
+
@mirroring_endpoint_group.setter
|
87
|
+
def mirroring_endpoint_group(self, value: pulumi.Input[str]):
|
88
|
+
pulumi.set(self, "mirroring_endpoint_group", value)
|
89
|
+
|
90
|
+
@property
|
91
|
+
@pulumi.getter
|
92
|
+
def network(self) -> pulumi.Input[str]:
|
93
|
+
"""
|
94
|
+
Required. Immutable. The VPC network associated. Format:
|
95
|
+
projects/{project}/global/networks/{network}.
|
96
|
+
"""
|
97
|
+
return pulumi.get(self, "network")
|
98
|
+
|
99
|
+
@network.setter
|
100
|
+
def network(self, value: pulumi.Input[str]):
|
101
|
+
pulumi.set(self, "network", value)
|
102
|
+
|
103
|
+
@property
|
104
|
+
@pulumi.getter
|
105
|
+
def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
106
|
+
"""
|
107
|
+
Optional. Labels as key value pairs
|
108
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
109
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
110
|
+
"""
|
111
|
+
return pulumi.get(self, "labels")
|
112
|
+
|
113
|
+
@labels.setter
|
114
|
+
def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
115
|
+
pulumi.set(self, "labels", value)
|
116
|
+
|
117
|
+
@property
|
118
|
+
@pulumi.getter(name="mirroringEndpointGroupAssociationId")
|
119
|
+
def mirroring_endpoint_group_association_id(self) -> Optional[pulumi.Input[str]]:
|
120
|
+
"""
|
121
|
+
Optional. Id of the requesting object
|
122
|
+
If auto-generating Id server-side, remove this field and
|
123
|
+
mirroring_endpoint_group_association_id from the method_signature of Create
|
124
|
+
RPC
|
125
|
+
"""
|
126
|
+
return pulumi.get(self, "mirroring_endpoint_group_association_id")
|
127
|
+
|
128
|
+
@mirroring_endpoint_group_association_id.setter
|
129
|
+
def mirroring_endpoint_group_association_id(self, value: Optional[pulumi.Input[str]]):
|
130
|
+
pulumi.set(self, "mirroring_endpoint_group_association_id", value)
|
131
|
+
|
132
|
+
@property
|
133
|
+
@pulumi.getter
|
134
|
+
def project(self) -> Optional[pulumi.Input[str]]:
|
135
|
+
"""
|
136
|
+
The ID of the project in which the resource belongs.
|
137
|
+
If it is not provided, the provider project is used.
|
138
|
+
"""
|
139
|
+
return pulumi.get(self, "project")
|
140
|
+
|
141
|
+
@project.setter
|
142
|
+
def project(self, value: Optional[pulumi.Input[str]]):
|
143
|
+
pulumi.set(self, "project", value)
|
144
|
+
|
145
|
+
|
146
|
+
@pulumi.input_type
|
147
|
+
class _MirroringEndpointGroupAssociationState:
|
148
|
+
def __init__(__self__, *,
|
149
|
+
create_time: Optional[pulumi.Input[str]] = None,
|
150
|
+
effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
151
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
152
|
+
location: Optional[pulumi.Input[str]] = None,
|
153
|
+
locations_details: Optional[pulumi.Input[Sequence[pulumi.Input['MirroringEndpointGroupAssociationLocationsDetailArgs']]]] = None,
|
154
|
+
mirroring_endpoint_group: Optional[pulumi.Input[str]] = None,
|
155
|
+
mirroring_endpoint_group_association_id: Optional[pulumi.Input[str]] = None,
|
156
|
+
name: Optional[pulumi.Input[str]] = None,
|
157
|
+
network: Optional[pulumi.Input[str]] = None,
|
158
|
+
project: Optional[pulumi.Input[str]] = None,
|
159
|
+
pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
160
|
+
reconciling: Optional[pulumi.Input[bool]] = None,
|
161
|
+
state: Optional[pulumi.Input[str]] = None,
|
162
|
+
update_time: Optional[pulumi.Input[str]] = None):
|
163
|
+
"""
|
164
|
+
Input properties used for looking up and filtering MirroringEndpointGroupAssociation resources.
|
165
|
+
:param pulumi.Input[str] create_time: Output only. [Output only] Create time stamp
|
166
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_labels: All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
|
167
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Optional. Labels as key value pairs
|
168
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
169
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
170
|
+
:param pulumi.Input[str] location: Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122. See documentation for resource type `networksecurity.googleapis.com/MirroringEndpointGroupAssociation`.
|
171
|
+
|
172
|
+
|
173
|
+
- - -
|
174
|
+
:param pulumi.Input[Sequence[pulumi.Input['MirroringEndpointGroupAssociationLocationsDetailArgs']]] locations_details: Output only. The list of locations that this association is in and its details.
|
175
|
+
Structure is documented below.
|
176
|
+
:param pulumi.Input[str] mirroring_endpoint_group: Required. Immutable. The Mirroring Endpoint Group that this resource is connected to. Format
|
177
|
+
is:
|
178
|
+
`projects/{project}/locations/global/mirroringEndpointGroups/{mirroringEndpointGroup}`
|
179
|
+
:param pulumi.Input[str] mirroring_endpoint_group_association_id: Optional. Id of the requesting object
|
180
|
+
If auto-generating Id server-side, remove this field and
|
181
|
+
mirroring_endpoint_group_association_id from the method_signature of Create
|
182
|
+
RPC
|
183
|
+
:param pulumi.Input[str] name: Immutable. Identifier. The name of the MirroringEndpointGroupAssociation.
|
184
|
+
:param pulumi.Input[str] network: Required. Immutable. The VPC network associated. Format:
|
185
|
+
projects/{project}/global/networks/{network}.
|
186
|
+
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
187
|
+
If it is not provided, the provider project is used.
|
188
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] pulumi_labels: The combination of labels configured directly on the resource
|
189
|
+
and default labels configured on the provider.
|
190
|
+
:param pulumi.Input[bool] reconciling: Output only. Whether reconciling is in progress, recommended per
|
191
|
+
https://google.aip.dev/128.
|
192
|
+
:param pulumi.Input[str] state: (Output)
|
193
|
+
Output only. The association state in this location.
|
194
|
+
Possible values:
|
195
|
+
STATE_UNSPECIFIED
|
196
|
+
ACTIVE
|
197
|
+
OUT_OF_SYNC
|
198
|
+
:param pulumi.Input[str] update_time: Output only. [Output only] Update time stamp
|
199
|
+
"""
|
200
|
+
if create_time is not None:
|
201
|
+
pulumi.set(__self__, "create_time", create_time)
|
202
|
+
if effective_labels is not None:
|
203
|
+
pulumi.set(__self__, "effective_labels", effective_labels)
|
204
|
+
if labels is not None:
|
205
|
+
pulumi.set(__self__, "labels", labels)
|
206
|
+
if location is not None:
|
207
|
+
pulumi.set(__self__, "location", location)
|
208
|
+
if locations_details is not None:
|
209
|
+
pulumi.set(__self__, "locations_details", locations_details)
|
210
|
+
if mirroring_endpoint_group is not None:
|
211
|
+
pulumi.set(__self__, "mirroring_endpoint_group", mirroring_endpoint_group)
|
212
|
+
if mirroring_endpoint_group_association_id is not None:
|
213
|
+
pulumi.set(__self__, "mirroring_endpoint_group_association_id", mirroring_endpoint_group_association_id)
|
214
|
+
if name is not None:
|
215
|
+
pulumi.set(__self__, "name", name)
|
216
|
+
if network is not None:
|
217
|
+
pulumi.set(__self__, "network", network)
|
218
|
+
if project is not None:
|
219
|
+
pulumi.set(__self__, "project", project)
|
220
|
+
if pulumi_labels is not None:
|
221
|
+
pulumi.set(__self__, "pulumi_labels", pulumi_labels)
|
222
|
+
if reconciling is not None:
|
223
|
+
pulumi.set(__self__, "reconciling", reconciling)
|
224
|
+
if state is not None:
|
225
|
+
pulumi.set(__self__, "state", state)
|
226
|
+
if update_time is not None:
|
227
|
+
pulumi.set(__self__, "update_time", update_time)
|
228
|
+
|
229
|
+
@property
|
230
|
+
@pulumi.getter(name="createTime")
|
231
|
+
def create_time(self) -> Optional[pulumi.Input[str]]:
|
232
|
+
"""
|
233
|
+
Output only. [Output only] Create time stamp
|
234
|
+
"""
|
235
|
+
return pulumi.get(self, "create_time")
|
236
|
+
|
237
|
+
@create_time.setter
|
238
|
+
def create_time(self, value: Optional[pulumi.Input[str]]):
|
239
|
+
pulumi.set(self, "create_time", value)
|
240
|
+
|
241
|
+
@property
|
242
|
+
@pulumi.getter(name="effectiveLabels")
|
243
|
+
def effective_labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
244
|
+
"""
|
245
|
+
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
|
246
|
+
"""
|
247
|
+
return pulumi.get(self, "effective_labels")
|
248
|
+
|
249
|
+
@effective_labels.setter
|
250
|
+
def effective_labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
251
|
+
pulumi.set(self, "effective_labels", value)
|
252
|
+
|
253
|
+
@property
|
254
|
+
@pulumi.getter
|
255
|
+
def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
256
|
+
"""
|
257
|
+
Optional. Labels as key value pairs
|
258
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
259
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
260
|
+
"""
|
261
|
+
return pulumi.get(self, "labels")
|
262
|
+
|
263
|
+
@labels.setter
|
264
|
+
def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
265
|
+
pulumi.set(self, "labels", value)
|
266
|
+
|
267
|
+
@property
|
268
|
+
@pulumi.getter
|
269
|
+
def location(self) -> Optional[pulumi.Input[str]]:
|
270
|
+
"""
|
271
|
+
Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122. See documentation for resource type `networksecurity.googleapis.com/MirroringEndpointGroupAssociation`.
|
272
|
+
|
273
|
+
|
274
|
+
- - -
|
275
|
+
"""
|
276
|
+
return pulumi.get(self, "location")
|
277
|
+
|
278
|
+
@location.setter
|
279
|
+
def location(self, value: Optional[pulumi.Input[str]]):
|
280
|
+
pulumi.set(self, "location", value)
|
281
|
+
|
282
|
+
@property
|
283
|
+
@pulumi.getter(name="locationsDetails")
|
284
|
+
def locations_details(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['MirroringEndpointGroupAssociationLocationsDetailArgs']]]]:
|
285
|
+
"""
|
286
|
+
Output only. The list of locations that this association is in and its details.
|
287
|
+
Structure is documented below.
|
288
|
+
"""
|
289
|
+
return pulumi.get(self, "locations_details")
|
290
|
+
|
291
|
+
@locations_details.setter
|
292
|
+
def locations_details(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['MirroringEndpointGroupAssociationLocationsDetailArgs']]]]):
|
293
|
+
pulumi.set(self, "locations_details", value)
|
294
|
+
|
295
|
+
@property
|
296
|
+
@pulumi.getter(name="mirroringEndpointGroup")
|
297
|
+
def mirroring_endpoint_group(self) -> Optional[pulumi.Input[str]]:
|
298
|
+
"""
|
299
|
+
Required. Immutable. The Mirroring Endpoint Group that this resource is connected to. Format
|
300
|
+
is:
|
301
|
+
`projects/{project}/locations/global/mirroringEndpointGroups/{mirroringEndpointGroup}`
|
302
|
+
"""
|
303
|
+
return pulumi.get(self, "mirroring_endpoint_group")
|
304
|
+
|
305
|
+
@mirroring_endpoint_group.setter
|
306
|
+
def mirroring_endpoint_group(self, value: Optional[pulumi.Input[str]]):
|
307
|
+
pulumi.set(self, "mirroring_endpoint_group", value)
|
308
|
+
|
309
|
+
@property
|
310
|
+
@pulumi.getter(name="mirroringEndpointGroupAssociationId")
|
311
|
+
def mirroring_endpoint_group_association_id(self) -> Optional[pulumi.Input[str]]:
|
312
|
+
"""
|
313
|
+
Optional. Id of the requesting object
|
314
|
+
If auto-generating Id server-side, remove this field and
|
315
|
+
mirroring_endpoint_group_association_id from the method_signature of Create
|
316
|
+
RPC
|
317
|
+
"""
|
318
|
+
return pulumi.get(self, "mirroring_endpoint_group_association_id")
|
319
|
+
|
320
|
+
@mirroring_endpoint_group_association_id.setter
|
321
|
+
def mirroring_endpoint_group_association_id(self, value: Optional[pulumi.Input[str]]):
|
322
|
+
pulumi.set(self, "mirroring_endpoint_group_association_id", value)
|
323
|
+
|
324
|
+
@property
|
325
|
+
@pulumi.getter
|
326
|
+
def name(self) -> Optional[pulumi.Input[str]]:
|
327
|
+
"""
|
328
|
+
Immutable. Identifier. The name of the MirroringEndpointGroupAssociation.
|
329
|
+
"""
|
330
|
+
return pulumi.get(self, "name")
|
331
|
+
|
332
|
+
@name.setter
|
333
|
+
def name(self, value: Optional[pulumi.Input[str]]):
|
334
|
+
pulumi.set(self, "name", value)
|
335
|
+
|
336
|
+
@property
|
337
|
+
@pulumi.getter
|
338
|
+
def network(self) -> Optional[pulumi.Input[str]]:
|
339
|
+
"""
|
340
|
+
Required. Immutable. The VPC network associated. Format:
|
341
|
+
projects/{project}/global/networks/{network}.
|
342
|
+
"""
|
343
|
+
return pulumi.get(self, "network")
|
344
|
+
|
345
|
+
@network.setter
|
346
|
+
def network(self, value: Optional[pulumi.Input[str]]):
|
347
|
+
pulumi.set(self, "network", value)
|
348
|
+
|
349
|
+
@property
|
350
|
+
@pulumi.getter
|
351
|
+
def project(self) -> Optional[pulumi.Input[str]]:
|
352
|
+
"""
|
353
|
+
The ID of the project in which the resource belongs.
|
354
|
+
If it is not provided, the provider project is used.
|
355
|
+
"""
|
356
|
+
return pulumi.get(self, "project")
|
357
|
+
|
358
|
+
@project.setter
|
359
|
+
def project(self, value: Optional[pulumi.Input[str]]):
|
360
|
+
pulumi.set(self, "project", value)
|
361
|
+
|
362
|
+
@property
|
363
|
+
@pulumi.getter(name="pulumiLabels")
|
364
|
+
def pulumi_labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
365
|
+
"""
|
366
|
+
The combination of labels configured directly on the resource
|
367
|
+
and default labels configured on the provider.
|
368
|
+
"""
|
369
|
+
return pulumi.get(self, "pulumi_labels")
|
370
|
+
|
371
|
+
@pulumi_labels.setter
|
372
|
+
def pulumi_labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
373
|
+
pulumi.set(self, "pulumi_labels", value)
|
374
|
+
|
375
|
+
@property
|
376
|
+
@pulumi.getter
|
377
|
+
def reconciling(self) -> Optional[pulumi.Input[bool]]:
|
378
|
+
"""
|
379
|
+
Output only. Whether reconciling is in progress, recommended per
|
380
|
+
https://google.aip.dev/128.
|
381
|
+
"""
|
382
|
+
return pulumi.get(self, "reconciling")
|
383
|
+
|
384
|
+
@reconciling.setter
|
385
|
+
def reconciling(self, value: Optional[pulumi.Input[bool]]):
|
386
|
+
pulumi.set(self, "reconciling", value)
|
387
|
+
|
388
|
+
@property
|
389
|
+
@pulumi.getter
|
390
|
+
def state(self) -> Optional[pulumi.Input[str]]:
|
391
|
+
"""
|
392
|
+
(Output)
|
393
|
+
Output only. The association state in this location.
|
394
|
+
Possible values:
|
395
|
+
STATE_UNSPECIFIED
|
396
|
+
ACTIVE
|
397
|
+
OUT_OF_SYNC
|
398
|
+
"""
|
399
|
+
return pulumi.get(self, "state")
|
400
|
+
|
401
|
+
@state.setter
|
402
|
+
def state(self, value: Optional[pulumi.Input[str]]):
|
403
|
+
pulumi.set(self, "state", value)
|
404
|
+
|
405
|
+
@property
|
406
|
+
@pulumi.getter(name="updateTime")
|
407
|
+
def update_time(self) -> Optional[pulumi.Input[str]]:
|
408
|
+
"""
|
409
|
+
Output only. [Output only] Update time stamp
|
410
|
+
"""
|
411
|
+
return pulumi.get(self, "update_time")
|
412
|
+
|
413
|
+
@update_time.setter
|
414
|
+
def update_time(self, value: Optional[pulumi.Input[str]]):
|
415
|
+
pulumi.set(self, "update_time", value)
|
416
|
+
|
417
|
+
|
418
|
+
class MirroringEndpointGroupAssociation(pulumi.CustomResource):
|
419
|
+
@overload
|
420
|
+
def __init__(__self__,
|
421
|
+
resource_name: str,
|
422
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
423
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
424
|
+
location: Optional[pulumi.Input[str]] = None,
|
425
|
+
mirroring_endpoint_group: Optional[pulumi.Input[str]] = None,
|
426
|
+
mirroring_endpoint_group_association_id: Optional[pulumi.Input[str]] = None,
|
427
|
+
network: Optional[pulumi.Input[str]] = None,
|
428
|
+
project: Optional[pulumi.Input[str]] = None,
|
429
|
+
__props__=None):
|
430
|
+
"""
|
431
|
+
## Example Usage
|
432
|
+
|
433
|
+
### Network Security Mirroring Endpoint Group Association Basic
|
434
|
+
|
435
|
+
```python
|
436
|
+
import pulumi
|
437
|
+
import pulumi_gcp as gcp
|
438
|
+
|
439
|
+
producer_network = gcp.compute.Network("producer_network",
|
440
|
+
name="example-prod-network",
|
441
|
+
auto_create_subnetworks=False)
|
442
|
+
consumer_network = gcp.compute.Network("consumer_network",
|
443
|
+
name="example-cons-network",
|
444
|
+
auto_create_subnetworks=False)
|
445
|
+
deployment_group = gcp.networksecurity.MirroringDeploymentGroup("deployment_group",
|
446
|
+
mirroring_deployment_group_id="example-dg",
|
447
|
+
location="global",
|
448
|
+
network=producer_network.id)
|
449
|
+
endpoint_group = gcp.networksecurity.MirroringEndpointGroup("endpoint_group",
|
450
|
+
mirroring_endpoint_group_id="example-eg",
|
451
|
+
location="global",
|
452
|
+
mirroring_deployment_group=deployment_group.id)
|
453
|
+
default = gcp.networksecurity.MirroringEndpointGroupAssociation("default",
|
454
|
+
mirroring_endpoint_group_association_id="example-ega",
|
455
|
+
location="global",
|
456
|
+
network=consumer_network.id,
|
457
|
+
mirroring_endpoint_group=endpoint_group.id,
|
458
|
+
labels={
|
459
|
+
"foo": "bar",
|
460
|
+
})
|
461
|
+
```
|
462
|
+
|
463
|
+
## Import
|
464
|
+
|
465
|
+
MirroringEndpointGroupAssociation can be imported using any of these accepted formats:
|
466
|
+
|
467
|
+
* `projects/{{project}}/locations/{{location}}/mirroringEndpointGroupAssociations/{{mirroring_endpoint_group_association_id}}`
|
468
|
+
|
469
|
+
* `{{project}}/{{location}}/{{mirroring_endpoint_group_association_id}}`
|
470
|
+
|
471
|
+
* `{{location}}/{{mirroring_endpoint_group_association_id}}`
|
472
|
+
|
473
|
+
When using the `pulumi import` command, MirroringEndpointGroupAssociation can be imported using one of the formats above. For example:
|
474
|
+
|
475
|
+
```sh
|
476
|
+
$ pulumi import gcp:networksecurity/mirroringEndpointGroupAssociation:MirroringEndpointGroupAssociation default projects/{{project}}/locations/{{location}}/mirroringEndpointGroupAssociations/{{mirroring_endpoint_group_association_id}}
|
477
|
+
```
|
478
|
+
|
479
|
+
```sh
|
480
|
+
$ pulumi import gcp:networksecurity/mirroringEndpointGroupAssociation:MirroringEndpointGroupAssociation default {{project}}/{{location}}/{{mirroring_endpoint_group_association_id}}
|
481
|
+
```
|
482
|
+
|
483
|
+
```sh
|
484
|
+
$ pulumi import gcp:networksecurity/mirroringEndpointGroupAssociation:MirroringEndpointGroupAssociation default {{location}}/{{mirroring_endpoint_group_association_id}}
|
485
|
+
```
|
486
|
+
|
487
|
+
:param str resource_name: The name of the resource.
|
488
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
489
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Optional. Labels as key value pairs
|
490
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
491
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
492
|
+
:param pulumi.Input[str] location: Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122. See documentation for resource type `networksecurity.googleapis.com/MirroringEndpointGroupAssociation`.
|
493
|
+
|
494
|
+
|
495
|
+
- - -
|
496
|
+
:param pulumi.Input[str] mirroring_endpoint_group: Required. Immutable. The Mirroring Endpoint Group that this resource is connected to. Format
|
497
|
+
is:
|
498
|
+
`projects/{project}/locations/global/mirroringEndpointGroups/{mirroringEndpointGroup}`
|
499
|
+
:param pulumi.Input[str] mirroring_endpoint_group_association_id: Optional. Id of the requesting object
|
500
|
+
If auto-generating Id server-side, remove this field and
|
501
|
+
mirroring_endpoint_group_association_id from the method_signature of Create
|
502
|
+
RPC
|
503
|
+
:param pulumi.Input[str] network: Required. Immutable. The VPC network associated. Format:
|
504
|
+
projects/{project}/global/networks/{network}.
|
505
|
+
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
506
|
+
If it is not provided, the provider project is used.
|
507
|
+
"""
|
508
|
+
...
|
509
|
+
@overload
|
510
|
+
def __init__(__self__,
|
511
|
+
resource_name: str,
|
512
|
+
args: MirroringEndpointGroupAssociationArgs,
|
513
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
514
|
+
"""
|
515
|
+
## Example Usage
|
516
|
+
|
517
|
+
### Network Security Mirroring Endpoint Group Association Basic
|
518
|
+
|
519
|
+
```python
|
520
|
+
import pulumi
|
521
|
+
import pulumi_gcp as gcp
|
522
|
+
|
523
|
+
producer_network = gcp.compute.Network("producer_network",
|
524
|
+
name="example-prod-network",
|
525
|
+
auto_create_subnetworks=False)
|
526
|
+
consumer_network = gcp.compute.Network("consumer_network",
|
527
|
+
name="example-cons-network",
|
528
|
+
auto_create_subnetworks=False)
|
529
|
+
deployment_group = gcp.networksecurity.MirroringDeploymentGroup("deployment_group",
|
530
|
+
mirroring_deployment_group_id="example-dg",
|
531
|
+
location="global",
|
532
|
+
network=producer_network.id)
|
533
|
+
endpoint_group = gcp.networksecurity.MirroringEndpointGroup("endpoint_group",
|
534
|
+
mirroring_endpoint_group_id="example-eg",
|
535
|
+
location="global",
|
536
|
+
mirroring_deployment_group=deployment_group.id)
|
537
|
+
default = gcp.networksecurity.MirroringEndpointGroupAssociation("default",
|
538
|
+
mirroring_endpoint_group_association_id="example-ega",
|
539
|
+
location="global",
|
540
|
+
network=consumer_network.id,
|
541
|
+
mirroring_endpoint_group=endpoint_group.id,
|
542
|
+
labels={
|
543
|
+
"foo": "bar",
|
544
|
+
})
|
545
|
+
```
|
546
|
+
|
547
|
+
## Import
|
548
|
+
|
549
|
+
MirroringEndpointGroupAssociation can be imported using any of these accepted formats:
|
550
|
+
|
551
|
+
* `projects/{{project}}/locations/{{location}}/mirroringEndpointGroupAssociations/{{mirroring_endpoint_group_association_id}}`
|
552
|
+
|
553
|
+
* `{{project}}/{{location}}/{{mirroring_endpoint_group_association_id}}`
|
554
|
+
|
555
|
+
* `{{location}}/{{mirroring_endpoint_group_association_id}}`
|
556
|
+
|
557
|
+
When using the `pulumi import` command, MirroringEndpointGroupAssociation can be imported using one of the formats above. For example:
|
558
|
+
|
559
|
+
```sh
|
560
|
+
$ pulumi import gcp:networksecurity/mirroringEndpointGroupAssociation:MirroringEndpointGroupAssociation default projects/{{project}}/locations/{{location}}/mirroringEndpointGroupAssociations/{{mirroring_endpoint_group_association_id}}
|
561
|
+
```
|
562
|
+
|
563
|
+
```sh
|
564
|
+
$ pulumi import gcp:networksecurity/mirroringEndpointGroupAssociation:MirroringEndpointGroupAssociation default {{project}}/{{location}}/{{mirroring_endpoint_group_association_id}}
|
565
|
+
```
|
566
|
+
|
567
|
+
```sh
|
568
|
+
$ pulumi import gcp:networksecurity/mirroringEndpointGroupAssociation:MirroringEndpointGroupAssociation default {{location}}/{{mirroring_endpoint_group_association_id}}
|
569
|
+
```
|
570
|
+
|
571
|
+
:param str resource_name: The name of the resource.
|
572
|
+
:param MirroringEndpointGroupAssociationArgs args: The arguments to use to populate this resource's properties.
|
573
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
574
|
+
"""
|
575
|
+
...
|
576
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
577
|
+
resource_args, opts = _utilities.get_resource_args_opts(MirroringEndpointGroupAssociationArgs, pulumi.ResourceOptions, *args, **kwargs)
|
578
|
+
if resource_args is not None:
|
579
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
580
|
+
else:
|
581
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
582
|
+
|
583
|
+
def _internal_init(__self__,
|
584
|
+
resource_name: str,
|
585
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
586
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
587
|
+
location: Optional[pulumi.Input[str]] = None,
|
588
|
+
mirroring_endpoint_group: Optional[pulumi.Input[str]] = None,
|
589
|
+
mirroring_endpoint_group_association_id: Optional[pulumi.Input[str]] = None,
|
590
|
+
network: Optional[pulumi.Input[str]] = None,
|
591
|
+
project: Optional[pulumi.Input[str]] = None,
|
592
|
+
__props__=None):
|
593
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
594
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
595
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
596
|
+
if opts.id is None:
|
597
|
+
if __props__ is not None:
|
598
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
599
|
+
__props__ = MirroringEndpointGroupAssociationArgs.__new__(MirroringEndpointGroupAssociationArgs)
|
600
|
+
|
601
|
+
__props__.__dict__["labels"] = labels
|
602
|
+
if location is None and not opts.urn:
|
603
|
+
raise TypeError("Missing required property 'location'")
|
604
|
+
__props__.__dict__["location"] = location
|
605
|
+
if mirroring_endpoint_group is None and not opts.urn:
|
606
|
+
raise TypeError("Missing required property 'mirroring_endpoint_group'")
|
607
|
+
__props__.__dict__["mirroring_endpoint_group"] = mirroring_endpoint_group
|
608
|
+
__props__.__dict__["mirroring_endpoint_group_association_id"] = mirroring_endpoint_group_association_id
|
609
|
+
if network is None and not opts.urn:
|
610
|
+
raise TypeError("Missing required property 'network'")
|
611
|
+
__props__.__dict__["network"] = network
|
612
|
+
__props__.__dict__["project"] = project
|
613
|
+
__props__.__dict__["create_time"] = None
|
614
|
+
__props__.__dict__["effective_labels"] = None
|
615
|
+
__props__.__dict__["locations_details"] = None
|
616
|
+
__props__.__dict__["name"] = None
|
617
|
+
__props__.__dict__["pulumi_labels"] = None
|
618
|
+
__props__.__dict__["reconciling"] = None
|
619
|
+
__props__.__dict__["state"] = None
|
620
|
+
__props__.__dict__["update_time"] = None
|
621
|
+
secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["effectiveLabels", "pulumiLabels"])
|
622
|
+
opts = pulumi.ResourceOptions.merge(opts, secret_opts)
|
623
|
+
super(MirroringEndpointGroupAssociation, __self__).__init__(
|
624
|
+
'gcp:networksecurity/mirroringEndpointGroupAssociation:MirroringEndpointGroupAssociation',
|
625
|
+
resource_name,
|
626
|
+
__props__,
|
627
|
+
opts)
|
628
|
+
|
629
|
+
@staticmethod
|
630
|
+
def get(resource_name: str,
|
631
|
+
id: pulumi.Input[str],
|
632
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
633
|
+
create_time: Optional[pulumi.Input[str]] = None,
|
634
|
+
effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
635
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
636
|
+
location: Optional[pulumi.Input[str]] = None,
|
637
|
+
locations_details: Optional[pulumi.Input[Sequence[pulumi.Input[Union['MirroringEndpointGroupAssociationLocationsDetailArgs', 'MirroringEndpointGroupAssociationLocationsDetailArgsDict']]]]] = None,
|
638
|
+
mirroring_endpoint_group: Optional[pulumi.Input[str]] = None,
|
639
|
+
mirroring_endpoint_group_association_id: Optional[pulumi.Input[str]] = None,
|
640
|
+
name: Optional[pulumi.Input[str]] = None,
|
641
|
+
network: Optional[pulumi.Input[str]] = None,
|
642
|
+
project: Optional[pulumi.Input[str]] = None,
|
643
|
+
pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
644
|
+
reconciling: Optional[pulumi.Input[bool]] = None,
|
645
|
+
state: Optional[pulumi.Input[str]] = None,
|
646
|
+
update_time: Optional[pulumi.Input[str]] = None) -> 'MirroringEndpointGroupAssociation':
|
647
|
+
"""
|
648
|
+
Get an existing MirroringEndpointGroupAssociation resource's state with the given name, id, and optional extra
|
649
|
+
properties used to qualify the lookup.
|
650
|
+
|
651
|
+
:param str resource_name: The unique name of the resulting resource.
|
652
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
653
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
654
|
+
:param pulumi.Input[str] create_time: Output only. [Output only] Create time stamp
|
655
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_labels: All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
|
656
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Optional. Labels as key value pairs
|
657
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
658
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
659
|
+
:param pulumi.Input[str] location: Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122. See documentation for resource type `networksecurity.googleapis.com/MirroringEndpointGroupAssociation`.
|
660
|
+
|
661
|
+
|
662
|
+
- - -
|
663
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['MirroringEndpointGroupAssociationLocationsDetailArgs', 'MirroringEndpointGroupAssociationLocationsDetailArgsDict']]]] locations_details: Output only. The list of locations that this association is in and its details.
|
664
|
+
Structure is documented below.
|
665
|
+
:param pulumi.Input[str] mirroring_endpoint_group: Required. Immutable. The Mirroring Endpoint Group that this resource is connected to. Format
|
666
|
+
is:
|
667
|
+
`projects/{project}/locations/global/mirroringEndpointGroups/{mirroringEndpointGroup}`
|
668
|
+
:param pulumi.Input[str] mirroring_endpoint_group_association_id: Optional. Id of the requesting object
|
669
|
+
If auto-generating Id server-side, remove this field and
|
670
|
+
mirroring_endpoint_group_association_id from the method_signature of Create
|
671
|
+
RPC
|
672
|
+
:param pulumi.Input[str] name: Immutable. Identifier. The name of the MirroringEndpointGroupAssociation.
|
673
|
+
:param pulumi.Input[str] network: Required. Immutable. The VPC network associated. Format:
|
674
|
+
projects/{project}/global/networks/{network}.
|
675
|
+
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
676
|
+
If it is not provided, the provider project is used.
|
677
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] pulumi_labels: The combination of labels configured directly on the resource
|
678
|
+
and default labels configured on the provider.
|
679
|
+
:param pulumi.Input[bool] reconciling: Output only. Whether reconciling is in progress, recommended per
|
680
|
+
https://google.aip.dev/128.
|
681
|
+
:param pulumi.Input[str] state: (Output)
|
682
|
+
Output only. The association state in this location.
|
683
|
+
Possible values:
|
684
|
+
STATE_UNSPECIFIED
|
685
|
+
ACTIVE
|
686
|
+
OUT_OF_SYNC
|
687
|
+
:param pulumi.Input[str] update_time: Output only. [Output only] Update time stamp
|
688
|
+
"""
|
689
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
690
|
+
|
691
|
+
__props__ = _MirroringEndpointGroupAssociationState.__new__(_MirroringEndpointGroupAssociationState)
|
692
|
+
|
693
|
+
__props__.__dict__["create_time"] = create_time
|
694
|
+
__props__.__dict__["effective_labels"] = effective_labels
|
695
|
+
__props__.__dict__["labels"] = labels
|
696
|
+
__props__.__dict__["location"] = location
|
697
|
+
__props__.__dict__["locations_details"] = locations_details
|
698
|
+
__props__.__dict__["mirroring_endpoint_group"] = mirroring_endpoint_group
|
699
|
+
__props__.__dict__["mirroring_endpoint_group_association_id"] = mirroring_endpoint_group_association_id
|
700
|
+
__props__.__dict__["name"] = name
|
701
|
+
__props__.__dict__["network"] = network
|
702
|
+
__props__.__dict__["project"] = project
|
703
|
+
__props__.__dict__["pulumi_labels"] = pulumi_labels
|
704
|
+
__props__.__dict__["reconciling"] = reconciling
|
705
|
+
__props__.__dict__["state"] = state
|
706
|
+
__props__.__dict__["update_time"] = update_time
|
707
|
+
return MirroringEndpointGroupAssociation(resource_name, opts=opts, __props__=__props__)
|
708
|
+
|
709
|
+
@property
|
710
|
+
@pulumi.getter(name="createTime")
|
711
|
+
def create_time(self) -> pulumi.Output[str]:
|
712
|
+
"""
|
713
|
+
Output only. [Output only] Create time stamp
|
714
|
+
"""
|
715
|
+
return pulumi.get(self, "create_time")
|
716
|
+
|
717
|
+
@property
|
718
|
+
@pulumi.getter(name="effectiveLabels")
|
719
|
+
def effective_labels(self) -> pulumi.Output[Mapping[str, str]]:
|
720
|
+
"""
|
721
|
+
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
|
722
|
+
"""
|
723
|
+
return pulumi.get(self, "effective_labels")
|
724
|
+
|
725
|
+
@property
|
726
|
+
@pulumi.getter
|
727
|
+
def labels(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
728
|
+
"""
|
729
|
+
Optional. Labels as key value pairs
|
730
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
731
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
732
|
+
"""
|
733
|
+
return pulumi.get(self, "labels")
|
734
|
+
|
735
|
+
@property
|
736
|
+
@pulumi.getter
|
737
|
+
def location(self) -> pulumi.Output[str]:
|
738
|
+
"""
|
739
|
+
Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122. See documentation for resource type `networksecurity.googleapis.com/MirroringEndpointGroupAssociation`.
|
740
|
+
|
741
|
+
|
742
|
+
- - -
|
743
|
+
"""
|
744
|
+
return pulumi.get(self, "location")
|
745
|
+
|
746
|
+
@property
|
747
|
+
@pulumi.getter(name="locationsDetails")
|
748
|
+
def locations_details(self) -> pulumi.Output[Sequence['outputs.MirroringEndpointGroupAssociationLocationsDetail']]:
|
749
|
+
"""
|
750
|
+
Output only. The list of locations that this association is in and its details.
|
751
|
+
Structure is documented below.
|
752
|
+
"""
|
753
|
+
return pulumi.get(self, "locations_details")
|
754
|
+
|
755
|
+
@property
|
756
|
+
@pulumi.getter(name="mirroringEndpointGroup")
|
757
|
+
def mirroring_endpoint_group(self) -> pulumi.Output[str]:
|
758
|
+
"""
|
759
|
+
Required. Immutable. The Mirroring Endpoint Group that this resource is connected to. Format
|
760
|
+
is:
|
761
|
+
`projects/{project}/locations/global/mirroringEndpointGroups/{mirroringEndpointGroup}`
|
762
|
+
"""
|
763
|
+
return pulumi.get(self, "mirroring_endpoint_group")
|
764
|
+
|
765
|
+
@property
|
766
|
+
@pulumi.getter(name="mirroringEndpointGroupAssociationId")
|
767
|
+
def mirroring_endpoint_group_association_id(self) -> pulumi.Output[Optional[str]]:
|
768
|
+
"""
|
769
|
+
Optional. Id of the requesting object
|
770
|
+
If auto-generating Id server-side, remove this field and
|
771
|
+
mirroring_endpoint_group_association_id from the method_signature of Create
|
772
|
+
RPC
|
773
|
+
"""
|
774
|
+
return pulumi.get(self, "mirroring_endpoint_group_association_id")
|
775
|
+
|
776
|
+
@property
|
777
|
+
@pulumi.getter
|
778
|
+
def name(self) -> pulumi.Output[str]:
|
779
|
+
"""
|
780
|
+
Immutable. Identifier. The name of the MirroringEndpointGroupAssociation.
|
781
|
+
"""
|
782
|
+
return pulumi.get(self, "name")
|
783
|
+
|
784
|
+
@property
|
785
|
+
@pulumi.getter
|
786
|
+
def network(self) -> pulumi.Output[str]:
|
787
|
+
"""
|
788
|
+
Required. Immutable. The VPC network associated. Format:
|
789
|
+
projects/{project}/global/networks/{network}.
|
790
|
+
"""
|
791
|
+
return pulumi.get(self, "network")
|
792
|
+
|
793
|
+
@property
|
794
|
+
@pulumi.getter
|
795
|
+
def project(self) -> pulumi.Output[str]:
|
796
|
+
"""
|
797
|
+
The ID of the project in which the resource belongs.
|
798
|
+
If it is not provided, the provider project is used.
|
799
|
+
"""
|
800
|
+
return pulumi.get(self, "project")
|
801
|
+
|
802
|
+
@property
|
803
|
+
@pulumi.getter(name="pulumiLabels")
|
804
|
+
def pulumi_labels(self) -> pulumi.Output[Mapping[str, str]]:
|
805
|
+
"""
|
806
|
+
The combination of labels configured directly on the resource
|
807
|
+
and default labels configured on the provider.
|
808
|
+
"""
|
809
|
+
return pulumi.get(self, "pulumi_labels")
|
810
|
+
|
811
|
+
@property
|
812
|
+
@pulumi.getter
|
813
|
+
def reconciling(self) -> pulumi.Output[bool]:
|
814
|
+
"""
|
815
|
+
Output only. Whether reconciling is in progress, recommended per
|
816
|
+
https://google.aip.dev/128.
|
817
|
+
"""
|
818
|
+
return pulumi.get(self, "reconciling")
|
819
|
+
|
820
|
+
@property
|
821
|
+
@pulumi.getter
|
822
|
+
def state(self) -> pulumi.Output[str]:
|
823
|
+
"""
|
824
|
+
(Output)
|
825
|
+
Output only. The association state in this location.
|
826
|
+
Possible values:
|
827
|
+
STATE_UNSPECIFIED
|
828
|
+
ACTIVE
|
829
|
+
OUT_OF_SYNC
|
830
|
+
"""
|
831
|
+
return pulumi.get(self, "state")
|
832
|
+
|
833
|
+
@property
|
834
|
+
@pulumi.getter(name="updateTime")
|
835
|
+
def update_time(self) -> pulumi.Output[str]:
|
836
|
+
"""
|
837
|
+
Output only. [Output only] Update time stamp
|
838
|
+
"""
|
839
|
+
return pulumi.get(self, "update_time")
|
840
|
+
|