@pulumi/gcp 9.15.0 → 9.16.0
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.
- package/backupdisasterrecovery/backupPlan.d.ts +1 -0
- package/backupdisasterrecovery/backupPlan.js +1 -0
- package/backupdisasterrecovery/backupPlan.js.map +1 -1
- package/biglake/getIcebergTableIamPolicy.d.ts +79 -0
- package/biglake/getIcebergTableIamPolicy.js +34 -0
- package/biglake/getIcebergTableIamPolicy.js.map +1 -0
- package/biglake/icebergTable.d.ts +262 -0
- package/biglake/icebergTable.js +185 -0
- package/biglake/icebergTable.js.map +1 -0
- package/biglake/icebergTableIamBinding.d.ts +217 -0
- package/biglake/icebergTableIamBinding.js +123 -0
- package/biglake/icebergTableIamBinding.js.map +1 -0
- package/biglake/icebergTableIamMember.d.ts +217 -0
- package/biglake/icebergTableIamMember.js +123 -0
- package/biglake/icebergTableIamMember.js.map +1 -0
- package/biglake/icebergTableIamPolicy.d.ts +164 -0
- package/biglake/icebergTableIamPolicy.js +116 -0
- package/biglake/icebergTableIamPolicy.js.map +1 -0
- package/biglake/index.d.ts +15 -0
- package/biglake/index.js +24 -1
- package/biglake/index.js.map +1 -1
- package/bigquery/connection.d.ts +1 -1
- package/bigquery/connection.js +1 -1
- package/bigquery/routine.d.ts +1 -1
- package/bigquery/routine.js +1 -1
- package/billing/projectInfo.d.ts +2 -2
- package/billing/projectInfo.js +2 -2
- package/ces/toolset.d.ts +3 -1
- package/ces/toolset.js +3 -1
- package/ces/toolset.js.map +1 -1
- package/chronicle/dataTable.d.ts +382 -0
- package/chronicle/dataTable.js +207 -0
- package/chronicle/dataTable.js.map +1 -0
- package/chronicle/index.d.ts +3 -0
- package/chronicle/index.js +6 -1
- package/chronicle/index.js.map +1 -1
- package/cloudrunv2/service.d.ts +1 -1
- package/cloudrunv2/service.js +1 -1
- package/compute/organizationSecurityPolicyRule.d.ts +1 -1
- package/compute/organizationSecurityPolicyRule.js +1 -1
- package/compute/regionBackendService.d.ts +41 -3
- package/compute/regionBackendService.js +38 -0
- package/compute/regionBackendService.js.map +1 -1
- package/compute/regionNetworkFirewallPolicyRule.d.ts +86 -0
- package/compute/regionNetworkFirewallPolicyRule.js +39 -0
- package/compute/regionNetworkFirewallPolicyRule.js.map +1 -1
- package/compute/resourcePolicy.d.ts +16 -0
- package/compute/resourcePolicy.js +16 -0
- package/compute/resourcePolicy.js.map +1 -1
- package/compute/rolloutPlan.d.ts +1 -1
- package/compute/rolloutPlan.js +1 -1
- package/compute/router.d.ts +1 -1
- package/compute/router.js +1 -1
- package/compute/targetInstance.d.ts +2 -2
- package/compute/targetInstance.js +2 -2
- package/contactcenterinsights/autoLabelingRule.d.ts +223 -0
- package/contactcenterinsights/autoLabelingRule.js +102 -0
- package/contactcenterinsights/autoLabelingRule.js.map +1 -0
- package/contactcenterinsights/index.d.ts +3 -0
- package/contactcenterinsights/index.js +6 -1
- package/contactcenterinsights/index.js.map +1 -1
- package/databasemigrationservice/connectionProfile.d.ts +3 -3
- package/databasemigrationservice/connectionProfile.js +3 -3
- package/dataform/folder.d.ts +1 -1
- package/dataform/folder.js +1 -1
- package/dataform/teamFolder.d.ts +1 -1
- package/dataform/teamFolder.js +1 -1
- package/dataplex/dataAsset.d.ts +5 -5
- package/dataplex/dataAsset.js +5 -5
- package/dataplex/dataProduct.d.ts +3 -3
- package/dataplex/dataProduct.js +3 -3
- package/dataplex/dataProductDataAsset.d.ts +5 -5
- package/dataplex/dataProductDataAsset.js +5 -5
- package/dataplex/datascan.d.ts +9 -9
- package/dataplex/datascan.js +9 -9
- package/dataplex/entryLink.d.ts +11 -11
- package/dataplex/entryLink.js +11 -11
- package/dataplex/entryType.d.ts +1 -1
- package/dataplex/entryType.js +1 -1
- package/dataplex/glossaryCategory.d.ts +4 -4
- package/dataplex/glossaryCategory.js +4 -4
- package/dataplex/glossaryTerm.d.ts +4 -4
- package/dataplex/glossaryTerm.js +4 -4
- package/dataplex/task.d.ts +8 -8
- package/dataplex/task.js +8 -8
- package/dataproc/batch.d.ts +5 -5
- package/dataproc/batch.js +5 -5
- package/datastream/stream.d.ts +2 -2
- package/datastream/stream.js +2 -2
- package/developerconnect/insightsConfig.d.ts +5 -5
- package/developerconnect/insightsConfig.js +5 -5
- package/discoveryengine/dataStore.d.ts +2 -2
- package/discoveryengine/dataStore.js +0 -3
- package/discoveryengine/dataStore.js.map +1 -1
- package/discoveryengine/searchEngine.d.ts +11 -3
- package/discoveryengine/searchEngine.js +9 -1
- package/discoveryengine/searchEngine.js.map +1 -1
- package/firestore/field.d.ts +3 -3
- package/firestore/field.js +3 -3
- package/gkehub/membershipBinding.d.ts +3 -3
- package/gkehub/membershipBinding.js +3 -3
- package/gkehub/membershipRbacRoleBinding.d.ts +2 -2
- package/gkehub/membershipRbacRoleBinding.js +2 -2
- package/gkehub/namespace.d.ts +2 -2
- package/gkehub/namespace.js +2 -2
- package/gkehub/scopeRbacRoleBinding.d.ts +4 -4
- package/gkehub/scopeRbacRoleBinding.js +4 -4
- package/iam/workforcePoolProvider.d.ts +15 -0
- package/iam/workforcePoolProvider.js.map +1 -1
- package/iap/tunnelDestGroup.d.ts +1 -1
- package/iap/tunnelDestGroup.js +1 -1
- package/integrationconnectors/managedZone.d.ts +4 -4
- package/integrationconnectors/managedZone.js +4 -4
- package/memorystore/getInstance.d.ts +2 -0
- package/memorystore/getInstance.js.map +1 -1
- package/memorystore/instance.d.ts +125 -0
- package/memorystore/instance.js +93 -0
- package/memorystore/instance.js.map +1 -1
- package/networkconnectivity/gatewayAdvertisedRoute.d.ts +1 -1
- package/networkconnectivity/gatewayAdvertisedRoute.js +1 -1
- package/networkconnectivity/spoke.d.ts +8 -8
- package/networkconnectivity/spoke.js +8 -8
- package/networksecurity/index.d.ts +6 -0
- package/networksecurity/index.js +11 -1
- package/networksecurity/index.js.map +1 -1
- package/networksecurity/ullMirroringCollector.d.ts +304 -0
- package/networksecurity/ullMirroringCollector.js +168 -0
- package/networksecurity/ullMirroringCollector.js.map +1 -0
- package/networksecurity/ullMirroringEngine.d.ts +212 -0
- package/networksecurity/ullMirroringEngine.js +115 -0
- package/networksecurity/ullMirroringEngine.js.map +1 -0
- package/networkservices/authzExtension.d.ts +2 -3
- package/networkservices/authzExtension.js +0 -4
- package/networkservices/authzExtension.js.map +1 -1
- package/observability/folderSettings.d.ts +2 -2
- package/observability/folderSettings.js +2 -2
- package/observability/projectSettings.d.ts +2 -2
- package/observability/projectSettings.js +2 -2
- package/observability/traceScope.d.ts +2 -5
- package/observability/traceScope.js +2 -5
- package/observability/traceScope.js.map +1 -1
- package/oracledatabase/dbSystem.d.ts +2 -1
- package/oracledatabase/dbSystem.js +2 -1
- package/oracledatabase/dbSystem.js.map +1 -1
- package/orgpolicy/policy.d.ts +1 -1
- package/orgpolicy/policy.js +1 -1
- package/package.json +2 -2
- package/pubsub/subscription.d.ts +4 -4
- package/pubsub/subscription.js +4 -4
- package/redis/cluster.d.ts +117 -0
- package/redis/cluster.js +85 -0
- package/redis/cluster.js.map +1 -1
- package/redis/getCluster.d.ts +2 -0
- package/redis/getCluster.js.map +1 -1
- package/sql/index.d.ts +3 -0
- package/sql/index.js +6 -1
- package/sql/index.js.map +1 -1
- package/sql/provisionScript.d.ts +197 -0
- package/sql/provisionScript.js +118 -0
- package/sql/provisionScript.js.map +1 -0
- package/types/input.d.ts +215 -3
- package/types/output.d.ts +255 -9
- package/vertex/aiEndpoint.d.ts +3 -3
- package/vertex/aiEndpoint.js +3 -3
- package/vertex/aiFeatureOnlineStoreFeatureview.d.ts +2 -2
- package/vertex/aiFeatureOnlineStoreFeatureview.js +2 -2
|
@@ -0,0 +1,304 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* A Mirroring Collector is a logical representation of an appliance that collects
|
|
4
|
+
* mirrored traffic.
|
|
5
|
+
*
|
|
6
|
+
* > **Warning:** This resource is in beta, and should be used with the terraform-provider-google-beta provider.
|
|
7
|
+
* See Provider Versions for more details on beta resources.
|
|
8
|
+
*
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* ### Network Security Ull Mirroring Collector Basic
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as gcp from "@pulumi/gcp";
|
|
16
|
+
*
|
|
17
|
+
* const network = new gcp.compute.Network("network", {
|
|
18
|
+
* name: "example-network",
|
|
19
|
+
* autoCreateSubnetworks: false,
|
|
20
|
+
* });
|
|
21
|
+
* const subnetwork = new gcp.compute.Subnetwork("subnetwork", {
|
|
22
|
+
* name: "example-subnet",
|
|
23
|
+
* region: "us-south1",
|
|
24
|
+
* ipCidrRange: "10.1.0.0/16",
|
|
25
|
+
* network: network.name,
|
|
26
|
+
* });
|
|
27
|
+
* const healthCheck = new gcp.compute.RegionHealthCheck("health_check", {
|
|
28
|
+
* name: "example-hc",
|
|
29
|
+
* region: "us-south1",
|
|
30
|
+
* httpHealthCheck: {
|
|
31
|
+
* port: 80,
|
|
32
|
+
* },
|
|
33
|
+
* });
|
|
34
|
+
* const backendService = new gcp.compute.RegionBackendService("backend_service", {
|
|
35
|
+
* name: "example-bs",
|
|
36
|
+
* region: "us-south1",
|
|
37
|
+
* healthChecks: healthCheck.id,
|
|
38
|
+
* protocol: "UDP",
|
|
39
|
+
* loadBalancingScheme: "INTERNAL",
|
|
40
|
+
* });
|
|
41
|
+
* const forwardingRule = new gcp.compute.ForwardingRule("forwarding_rule", {
|
|
42
|
+
* name: "example-fwr",
|
|
43
|
+
* region: "us-south1",
|
|
44
|
+
* network: network.name,
|
|
45
|
+
* subnetwork: subnetwork.name,
|
|
46
|
+
* backendService: backendService.id,
|
|
47
|
+
* loadBalancingScheme: "INTERNAL",
|
|
48
|
+
* ports: ["6081"],
|
|
49
|
+
* ipProtocol: "UDP",
|
|
50
|
+
* isMirroringCollector: true,
|
|
51
|
+
* });
|
|
52
|
+
* const ullMirroringEngine = new gcp.networksecurity.UllMirroringEngine("ull_mirroring_engine", {
|
|
53
|
+
* ullMirroringEngineId: "example-ull-eng",
|
|
54
|
+
* location: "us-south1-d",
|
|
55
|
+
* });
|
|
56
|
+
* const _default = new gcp.networksecurity.UllMirroringCollector("default", {
|
|
57
|
+
* ullMirroringCollectorId: "example-ull-col",
|
|
58
|
+
* location: "us-south1-d",
|
|
59
|
+
* forwardingRule: forwardingRule.id,
|
|
60
|
+
* engine: ullMirroringEngine.id,
|
|
61
|
+
* labels: {
|
|
62
|
+
* foo: "bar",
|
|
63
|
+
* },
|
|
64
|
+
* });
|
|
65
|
+
* ```
|
|
66
|
+
*
|
|
67
|
+
* ## Import
|
|
68
|
+
*
|
|
69
|
+
* UllMirroringCollector can be imported using any of these accepted formats:
|
|
70
|
+
*
|
|
71
|
+
* * `projects/{{project}}/locations/{{location}}/ullMirroringCollectors/{{ull_mirroring_collector_id}}`
|
|
72
|
+
* * `{{project}}/{{location}}/{{ull_mirroring_collector_id}}`
|
|
73
|
+
* * `{{location}}/{{ull_mirroring_collector_id}}`
|
|
74
|
+
*
|
|
75
|
+
* When using the `pulumi import` command, UllMirroringCollector can be imported using one of the formats above. For example:
|
|
76
|
+
*
|
|
77
|
+
* ```sh
|
|
78
|
+
* $ pulumi import gcp:networksecurity/ullMirroringCollector:UllMirroringCollector default projects/{{project}}/locations/{{location}}/ullMirroringCollectors/{{ull_mirroring_collector_id}}
|
|
79
|
+
* $ pulumi import gcp:networksecurity/ullMirroringCollector:UllMirroringCollector default {{project}}/{{location}}/{{ull_mirroring_collector_id}}
|
|
80
|
+
* $ pulumi import gcp:networksecurity/ullMirroringCollector:UllMirroringCollector default {{location}}/{{ull_mirroring_collector_id}}
|
|
81
|
+
* ```
|
|
82
|
+
*/
|
|
83
|
+
export declare class UllMirroringCollector extends pulumi.CustomResource {
|
|
84
|
+
/**
|
|
85
|
+
* Get an existing UllMirroringCollector resource's state with the given name, ID, and optional extra
|
|
86
|
+
* properties used to qualify the lookup.
|
|
87
|
+
*
|
|
88
|
+
* @param name The _unique_ name of the resulting resource.
|
|
89
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
90
|
+
* @param state Any extra arguments used during the lookup.
|
|
91
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
92
|
+
*/
|
|
93
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: UllMirroringCollectorState, opts?: pulumi.CustomResourceOptions): UllMirroringCollector;
|
|
94
|
+
/**
|
|
95
|
+
* Returns true if the given object is an instance of UllMirroringCollector. This is designed to work even
|
|
96
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
97
|
+
*/
|
|
98
|
+
static isInstance(obj: any): obj is UllMirroringCollector;
|
|
99
|
+
/**
|
|
100
|
+
* The timestamp when the resource was created.
|
|
101
|
+
* See https://google.aip.dev/148#timestamps.
|
|
102
|
+
*/
|
|
103
|
+
readonly createTime: pulumi.Output<string>;
|
|
104
|
+
/**
|
|
105
|
+
* All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
|
|
106
|
+
*/
|
|
107
|
+
readonly effectiveLabels: pulumi.Output<{
|
|
108
|
+
[key: string]: string;
|
|
109
|
+
}>;
|
|
110
|
+
/**
|
|
111
|
+
* The engine resource to which this collector points to, for example:
|
|
112
|
+
* `projects/123456789/locations/us-south1-d/ullMirroringEngines/my-engine`.
|
|
113
|
+
*/
|
|
114
|
+
readonly engine: pulumi.Output<string>;
|
|
115
|
+
/**
|
|
116
|
+
* The regional load balancer which the mirrored traffic should be forwarded
|
|
117
|
+
* to, for example:
|
|
118
|
+
* `projects/123456789/regions/us-south1/forwardingRules/my-fr`.
|
|
119
|
+
*/
|
|
120
|
+
readonly forwardingRule: pulumi.Output<string>;
|
|
121
|
+
/**
|
|
122
|
+
* Labels are key/value pairs that help to organize and filter resources.
|
|
123
|
+
* **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
|
124
|
+
* Please refer to the field `effectiveLabels` for all of the labels present on the resource.
|
|
125
|
+
*/
|
|
126
|
+
readonly labels: pulumi.Output<{
|
|
127
|
+
[key: string]: string;
|
|
128
|
+
} | undefined>;
|
|
129
|
+
/**
|
|
130
|
+
* The cloud location of the collector, e.g. `us-south1-d` or `us-south1-e`.
|
|
131
|
+
*/
|
|
132
|
+
readonly location: pulumi.Output<string>;
|
|
133
|
+
/**
|
|
134
|
+
* The resource name of this collector, for example:
|
|
135
|
+
* `projects/123456789/locations/us-south1-d/ullMirroringCollectors/my-collector`.
|
|
136
|
+
* See https://google.aip.dev/122 for more details.
|
|
137
|
+
*/
|
|
138
|
+
readonly name: pulumi.Output<string>;
|
|
139
|
+
/**
|
|
140
|
+
* The ID of the project in which the resource belongs.
|
|
141
|
+
* If it is not provided, the provider project is used.
|
|
142
|
+
*/
|
|
143
|
+
readonly project: pulumi.Output<string>;
|
|
144
|
+
/**
|
|
145
|
+
* The combination of labels configured directly on the resource
|
|
146
|
+
* and default labels configured on the provider.
|
|
147
|
+
*/
|
|
148
|
+
readonly pulumiLabels: pulumi.Output<{
|
|
149
|
+
[key: string]: string;
|
|
150
|
+
}>;
|
|
151
|
+
/**
|
|
152
|
+
* The current state of the resource does not match the user's intended state,
|
|
153
|
+
* and the system is working to reconcile them. This is part of the normal
|
|
154
|
+
* operation. See https://google.aip.dev/128.
|
|
155
|
+
*/
|
|
156
|
+
readonly reconciling: pulumi.Output<boolean>;
|
|
157
|
+
/**
|
|
158
|
+
* The current state of the collector.
|
|
159
|
+
* See https://google.aip.dev/216.
|
|
160
|
+
* Possible values:
|
|
161
|
+
* ACTIVE
|
|
162
|
+
* CREATING
|
|
163
|
+
* DELETING
|
|
164
|
+
*/
|
|
165
|
+
readonly state: pulumi.Output<string>;
|
|
166
|
+
/**
|
|
167
|
+
* The ID to use for the new collector, which will become the final
|
|
168
|
+
* component of the collector's resource name.
|
|
169
|
+
*/
|
|
170
|
+
readonly ullMirroringCollectorId: pulumi.Output<string>;
|
|
171
|
+
/**
|
|
172
|
+
* The timestamp when the resource was most recently updated.
|
|
173
|
+
* See https://google.aip.dev/148#timestamps.
|
|
174
|
+
*/
|
|
175
|
+
readonly updateTime: pulumi.Output<string>;
|
|
176
|
+
/**
|
|
177
|
+
* Create a UllMirroringCollector resource with the given unique name, arguments, and options.
|
|
178
|
+
*
|
|
179
|
+
* @param name The _unique_ name of the resource.
|
|
180
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
181
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
182
|
+
*/
|
|
183
|
+
constructor(name: string, args: UllMirroringCollectorArgs, opts?: pulumi.CustomResourceOptions);
|
|
184
|
+
}
|
|
185
|
+
/**
|
|
186
|
+
* Input properties used for looking up and filtering UllMirroringCollector resources.
|
|
187
|
+
*/
|
|
188
|
+
export interface UllMirroringCollectorState {
|
|
189
|
+
/**
|
|
190
|
+
* The timestamp when the resource was created.
|
|
191
|
+
* See https://google.aip.dev/148#timestamps.
|
|
192
|
+
*/
|
|
193
|
+
createTime?: pulumi.Input<string>;
|
|
194
|
+
/**
|
|
195
|
+
* All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
|
|
196
|
+
*/
|
|
197
|
+
effectiveLabels?: pulumi.Input<{
|
|
198
|
+
[key: string]: pulumi.Input<string>;
|
|
199
|
+
}>;
|
|
200
|
+
/**
|
|
201
|
+
* The engine resource to which this collector points to, for example:
|
|
202
|
+
* `projects/123456789/locations/us-south1-d/ullMirroringEngines/my-engine`.
|
|
203
|
+
*/
|
|
204
|
+
engine?: pulumi.Input<string>;
|
|
205
|
+
/**
|
|
206
|
+
* The regional load balancer which the mirrored traffic should be forwarded
|
|
207
|
+
* to, for example:
|
|
208
|
+
* `projects/123456789/regions/us-south1/forwardingRules/my-fr`.
|
|
209
|
+
*/
|
|
210
|
+
forwardingRule?: pulumi.Input<string>;
|
|
211
|
+
/**
|
|
212
|
+
* Labels are key/value pairs that help to organize and filter resources.
|
|
213
|
+
* **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
|
214
|
+
* Please refer to the field `effectiveLabels` for all of the labels present on the resource.
|
|
215
|
+
*/
|
|
216
|
+
labels?: pulumi.Input<{
|
|
217
|
+
[key: string]: pulumi.Input<string>;
|
|
218
|
+
}>;
|
|
219
|
+
/**
|
|
220
|
+
* The cloud location of the collector, e.g. `us-south1-d` or `us-south1-e`.
|
|
221
|
+
*/
|
|
222
|
+
location?: pulumi.Input<string>;
|
|
223
|
+
/**
|
|
224
|
+
* The resource name of this collector, for example:
|
|
225
|
+
* `projects/123456789/locations/us-south1-d/ullMirroringCollectors/my-collector`.
|
|
226
|
+
* See https://google.aip.dev/122 for more details.
|
|
227
|
+
*/
|
|
228
|
+
name?: pulumi.Input<string>;
|
|
229
|
+
/**
|
|
230
|
+
* The ID of the project in which the resource belongs.
|
|
231
|
+
* If it is not provided, the provider project is used.
|
|
232
|
+
*/
|
|
233
|
+
project?: pulumi.Input<string>;
|
|
234
|
+
/**
|
|
235
|
+
* The combination of labels configured directly on the resource
|
|
236
|
+
* and default labels configured on the provider.
|
|
237
|
+
*/
|
|
238
|
+
pulumiLabels?: pulumi.Input<{
|
|
239
|
+
[key: string]: pulumi.Input<string>;
|
|
240
|
+
}>;
|
|
241
|
+
/**
|
|
242
|
+
* The current state of the resource does not match the user's intended state,
|
|
243
|
+
* and the system is working to reconcile them. This is part of the normal
|
|
244
|
+
* operation. See https://google.aip.dev/128.
|
|
245
|
+
*/
|
|
246
|
+
reconciling?: pulumi.Input<boolean>;
|
|
247
|
+
/**
|
|
248
|
+
* The current state of the collector.
|
|
249
|
+
* See https://google.aip.dev/216.
|
|
250
|
+
* Possible values:
|
|
251
|
+
* ACTIVE
|
|
252
|
+
* CREATING
|
|
253
|
+
* DELETING
|
|
254
|
+
*/
|
|
255
|
+
state?: pulumi.Input<string>;
|
|
256
|
+
/**
|
|
257
|
+
* The ID to use for the new collector, which will become the final
|
|
258
|
+
* component of the collector's resource name.
|
|
259
|
+
*/
|
|
260
|
+
ullMirroringCollectorId?: pulumi.Input<string>;
|
|
261
|
+
/**
|
|
262
|
+
* The timestamp when the resource was most recently updated.
|
|
263
|
+
* See https://google.aip.dev/148#timestamps.
|
|
264
|
+
*/
|
|
265
|
+
updateTime?: pulumi.Input<string>;
|
|
266
|
+
}
|
|
267
|
+
/**
|
|
268
|
+
* The set of arguments for constructing a UllMirroringCollector resource.
|
|
269
|
+
*/
|
|
270
|
+
export interface UllMirroringCollectorArgs {
|
|
271
|
+
/**
|
|
272
|
+
* The engine resource to which this collector points to, for example:
|
|
273
|
+
* `projects/123456789/locations/us-south1-d/ullMirroringEngines/my-engine`.
|
|
274
|
+
*/
|
|
275
|
+
engine: pulumi.Input<string>;
|
|
276
|
+
/**
|
|
277
|
+
* The regional load balancer which the mirrored traffic should be forwarded
|
|
278
|
+
* to, for example:
|
|
279
|
+
* `projects/123456789/regions/us-south1/forwardingRules/my-fr`.
|
|
280
|
+
*/
|
|
281
|
+
forwardingRule: pulumi.Input<string>;
|
|
282
|
+
/**
|
|
283
|
+
* Labels are key/value pairs that help to organize and filter resources.
|
|
284
|
+
* **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
|
285
|
+
* Please refer to the field `effectiveLabels` for all of the labels present on the resource.
|
|
286
|
+
*/
|
|
287
|
+
labels?: pulumi.Input<{
|
|
288
|
+
[key: string]: pulumi.Input<string>;
|
|
289
|
+
}>;
|
|
290
|
+
/**
|
|
291
|
+
* The cloud location of the collector, e.g. `us-south1-d` or `us-south1-e`.
|
|
292
|
+
*/
|
|
293
|
+
location: pulumi.Input<string>;
|
|
294
|
+
/**
|
|
295
|
+
* The ID of the project in which the resource belongs.
|
|
296
|
+
* If it is not provided, the provider project is used.
|
|
297
|
+
*/
|
|
298
|
+
project?: pulumi.Input<string>;
|
|
299
|
+
/**
|
|
300
|
+
* The ID to use for the new collector, which will become the final
|
|
301
|
+
* component of the collector's resource name.
|
|
302
|
+
*/
|
|
303
|
+
ullMirroringCollectorId: pulumi.Input<string>;
|
|
304
|
+
}
|
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.UllMirroringCollector = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* A Mirroring Collector is a logical representation of an appliance that collects
|
|
10
|
+
* mirrored traffic.
|
|
11
|
+
*
|
|
12
|
+
* > **Warning:** This resource is in beta, and should be used with the terraform-provider-google-beta provider.
|
|
13
|
+
* See Provider Versions for more details on beta resources.
|
|
14
|
+
*
|
|
15
|
+
* ## Example Usage
|
|
16
|
+
*
|
|
17
|
+
* ### Network Security Ull Mirroring Collector Basic
|
|
18
|
+
*
|
|
19
|
+
* ```typescript
|
|
20
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
21
|
+
* import * as gcp from "@pulumi/gcp";
|
|
22
|
+
*
|
|
23
|
+
* const network = new gcp.compute.Network("network", {
|
|
24
|
+
* name: "example-network",
|
|
25
|
+
* autoCreateSubnetworks: false,
|
|
26
|
+
* });
|
|
27
|
+
* const subnetwork = new gcp.compute.Subnetwork("subnetwork", {
|
|
28
|
+
* name: "example-subnet",
|
|
29
|
+
* region: "us-south1",
|
|
30
|
+
* ipCidrRange: "10.1.0.0/16",
|
|
31
|
+
* network: network.name,
|
|
32
|
+
* });
|
|
33
|
+
* const healthCheck = new gcp.compute.RegionHealthCheck("health_check", {
|
|
34
|
+
* name: "example-hc",
|
|
35
|
+
* region: "us-south1",
|
|
36
|
+
* httpHealthCheck: {
|
|
37
|
+
* port: 80,
|
|
38
|
+
* },
|
|
39
|
+
* });
|
|
40
|
+
* const backendService = new gcp.compute.RegionBackendService("backend_service", {
|
|
41
|
+
* name: "example-bs",
|
|
42
|
+
* region: "us-south1",
|
|
43
|
+
* healthChecks: healthCheck.id,
|
|
44
|
+
* protocol: "UDP",
|
|
45
|
+
* loadBalancingScheme: "INTERNAL",
|
|
46
|
+
* });
|
|
47
|
+
* const forwardingRule = new gcp.compute.ForwardingRule("forwarding_rule", {
|
|
48
|
+
* name: "example-fwr",
|
|
49
|
+
* region: "us-south1",
|
|
50
|
+
* network: network.name,
|
|
51
|
+
* subnetwork: subnetwork.name,
|
|
52
|
+
* backendService: backendService.id,
|
|
53
|
+
* loadBalancingScheme: "INTERNAL",
|
|
54
|
+
* ports: ["6081"],
|
|
55
|
+
* ipProtocol: "UDP",
|
|
56
|
+
* isMirroringCollector: true,
|
|
57
|
+
* });
|
|
58
|
+
* const ullMirroringEngine = new gcp.networksecurity.UllMirroringEngine("ull_mirroring_engine", {
|
|
59
|
+
* ullMirroringEngineId: "example-ull-eng",
|
|
60
|
+
* location: "us-south1-d",
|
|
61
|
+
* });
|
|
62
|
+
* const _default = new gcp.networksecurity.UllMirroringCollector("default", {
|
|
63
|
+
* ullMirroringCollectorId: "example-ull-col",
|
|
64
|
+
* location: "us-south1-d",
|
|
65
|
+
* forwardingRule: forwardingRule.id,
|
|
66
|
+
* engine: ullMirroringEngine.id,
|
|
67
|
+
* labels: {
|
|
68
|
+
* foo: "bar",
|
|
69
|
+
* },
|
|
70
|
+
* });
|
|
71
|
+
* ```
|
|
72
|
+
*
|
|
73
|
+
* ## Import
|
|
74
|
+
*
|
|
75
|
+
* UllMirroringCollector can be imported using any of these accepted formats:
|
|
76
|
+
*
|
|
77
|
+
* * `projects/{{project}}/locations/{{location}}/ullMirroringCollectors/{{ull_mirroring_collector_id}}`
|
|
78
|
+
* * `{{project}}/{{location}}/{{ull_mirroring_collector_id}}`
|
|
79
|
+
* * `{{location}}/{{ull_mirroring_collector_id}}`
|
|
80
|
+
*
|
|
81
|
+
* When using the `pulumi import` command, UllMirroringCollector can be imported using one of the formats above. For example:
|
|
82
|
+
*
|
|
83
|
+
* ```sh
|
|
84
|
+
* $ pulumi import gcp:networksecurity/ullMirroringCollector:UllMirroringCollector default projects/{{project}}/locations/{{location}}/ullMirroringCollectors/{{ull_mirroring_collector_id}}
|
|
85
|
+
* $ pulumi import gcp:networksecurity/ullMirroringCollector:UllMirroringCollector default {{project}}/{{location}}/{{ull_mirroring_collector_id}}
|
|
86
|
+
* $ pulumi import gcp:networksecurity/ullMirroringCollector:UllMirroringCollector default {{location}}/{{ull_mirroring_collector_id}}
|
|
87
|
+
* ```
|
|
88
|
+
*/
|
|
89
|
+
class UllMirroringCollector extends pulumi.CustomResource {
|
|
90
|
+
/**
|
|
91
|
+
* Get an existing UllMirroringCollector resource's state with the given name, ID, and optional extra
|
|
92
|
+
* properties used to qualify the lookup.
|
|
93
|
+
*
|
|
94
|
+
* @param name The _unique_ name of the resulting resource.
|
|
95
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
96
|
+
* @param state Any extra arguments used during the lookup.
|
|
97
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
98
|
+
*/
|
|
99
|
+
static get(name, id, state, opts) {
|
|
100
|
+
return new UllMirroringCollector(name, state, { ...opts, id: id });
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* Returns true if the given object is an instance of UllMirroringCollector. This is designed to work even
|
|
104
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
105
|
+
*/
|
|
106
|
+
static isInstance(obj) {
|
|
107
|
+
if (obj === undefined || obj === null) {
|
|
108
|
+
return false;
|
|
109
|
+
}
|
|
110
|
+
return obj['__pulumiType'] === UllMirroringCollector.__pulumiType;
|
|
111
|
+
}
|
|
112
|
+
constructor(name, argsOrState, opts) {
|
|
113
|
+
let resourceInputs = {};
|
|
114
|
+
opts = opts || {};
|
|
115
|
+
if (opts.id) {
|
|
116
|
+
const state = argsOrState;
|
|
117
|
+
resourceInputs["createTime"] = state?.createTime;
|
|
118
|
+
resourceInputs["effectiveLabels"] = state?.effectiveLabels;
|
|
119
|
+
resourceInputs["engine"] = state?.engine;
|
|
120
|
+
resourceInputs["forwardingRule"] = state?.forwardingRule;
|
|
121
|
+
resourceInputs["labels"] = state?.labels;
|
|
122
|
+
resourceInputs["location"] = state?.location;
|
|
123
|
+
resourceInputs["name"] = state?.name;
|
|
124
|
+
resourceInputs["project"] = state?.project;
|
|
125
|
+
resourceInputs["pulumiLabels"] = state?.pulumiLabels;
|
|
126
|
+
resourceInputs["reconciling"] = state?.reconciling;
|
|
127
|
+
resourceInputs["state"] = state?.state;
|
|
128
|
+
resourceInputs["ullMirroringCollectorId"] = state?.ullMirroringCollectorId;
|
|
129
|
+
resourceInputs["updateTime"] = state?.updateTime;
|
|
130
|
+
}
|
|
131
|
+
else {
|
|
132
|
+
const args = argsOrState;
|
|
133
|
+
if (args?.engine === undefined && !opts.urn) {
|
|
134
|
+
throw new Error("Missing required property 'engine'");
|
|
135
|
+
}
|
|
136
|
+
if (args?.forwardingRule === undefined && !opts.urn) {
|
|
137
|
+
throw new Error("Missing required property 'forwardingRule'");
|
|
138
|
+
}
|
|
139
|
+
if (args?.location === undefined && !opts.urn) {
|
|
140
|
+
throw new Error("Missing required property 'location'");
|
|
141
|
+
}
|
|
142
|
+
if (args?.ullMirroringCollectorId === undefined && !opts.urn) {
|
|
143
|
+
throw new Error("Missing required property 'ullMirroringCollectorId'");
|
|
144
|
+
}
|
|
145
|
+
resourceInputs["engine"] = args?.engine;
|
|
146
|
+
resourceInputs["forwardingRule"] = args?.forwardingRule;
|
|
147
|
+
resourceInputs["labels"] = args?.labels;
|
|
148
|
+
resourceInputs["location"] = args?.location;
|
|
149
|
+
resourceInputs["project"] = args?.project;
|
|
150
|
+
resourceInputs["ullMirroringCollectorId"] = args?.ullMirroringCollectorId;
|
|
151
|
+
resourceInputs["createTime"] = undefined /*out*/;
|
|
152
|
+
resourceInputs["effectiveLabels"] = undefined /*out*/;
|
|
153
|
+
resourceInputs["name"] = undefined /*out*/;
|
|
154
|
+
resourceInputs["pulumiLabels"] = undefined /*out*/;
|
|
155
|
+
resourceInputs["reconciling"] = undefined /*out*/;
|
|
156
|
+
resourceInputs["state"] = undefined /*out*/;
|
|
157
|
+
resourceInputs["updateTime"] = undefined /*out*/;
|
|
158
|
+
}
|
|
159
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
160
|
+
const secretOpts = { additionalSecretOutputs: ["effectiveLabels", "pulumiLabels"] };
|
|
161
|
+
opts = pulumi.mergeOptions(opts, secretOpts);
|
|
162
|
+
super(UllMirroringCollector.__pulumiType, name, resourceInputs, opts);
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
exports.UllMirroringCollector = UllMirroringCollector;
|
|
166
|
+
/** @internal */
|
|
167
|
+
UllMirroringCollector.__pulumiType = 'gcp:networksecurity/ullMirroringCollector:UllMirroringCollector';
|
|
168
|
+
//# sourceMappingURL=ullMirroringCollector.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ullMirroringCollector.js","sourceRoot":"","sources":["../../networksecurity/ullMirroringCollector.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgFG;AACH,MAAa,qBAAsB,SAAQ,MAAM,CAAC,cAAc;IAC5D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkC,EAAE,IAAmC;QAChI,OAAO,IAAI,qBAAqB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC5E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACn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