Skip to content

Commit 3c02ba9

Browse files
Update the description of mirroring resources. (#13255)
[upstream:50b47b64894f9314e650e16eb1ca76e2091d3fe3] Signed-off-by: Modular Magician <magic-modules@google.com>
1 parent edd1879 commit 3c02ba9

5 files changed

+135
-83
lines changed

.changelog/13255.txt

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:none
2+
Updated descriptions for Network Security's Mirroring resources.
3+
```

website/docs/r/network_security_mirroring_deployment.html.markdown

+31-20
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,16 @@
1616
# ----------------------------------------------------------------------------
1717
subcategory: "Network Security"
1818
description: |-
19-
MirroringDeployment represents the collectors within a Zone and is associated with a deployment group.
19+
A deployment represents a zonal mirroring backend ready to accept
20+
GENEVE-encapsulated replica traffic, e.
2021
---
2122

2223
# google_network_security_mirroring_deployment
2324

24-
MirroringDeployment represents the collectors within a Zone and is associated with a deployment group.
25+
A deployment represents a zonal mirroring backend ready to accept
26+
GENEVE-encapsulated replica traffic, e.g. a zonal instance group fronted by
27+
an internal passthrough load balancer. Deployments are always part of a
28+
global deployment group which represents a global mirroring service.
2529

2630
~> **Warning:** This resource is in beta, and should be used with the terraform-provider-google-beta provider.
2731
See [Provider Versions](https://terraform.io/docs/providers/google/guides/provider_versions.html) for more details on beta resources.
@@ -112,32 +116,32 @@ The following arguments are supported:
112116

113117
* `forwarding_rule` -
114118
(Required)
115-
Required. Immutable. The regional load balancer which the mirrored traffic should be forwarded
116-
to. Format is:
117-
projects/{project}/regions/{region}/forwardingRules/{forwardingRule}
119+
The regional forwarding rule that fronts the mirroring collectors, for
120+
example: `projects/123456789/regions/us-central1/forwardingRules/my-rule`.
121+
See https://google.aip.dev/124.
118122

119123
* `mirroring_deployment_group` -
120124
(Required)
121-
Required. Immutable. The Mirroring Deployment Group that this resource is part of. Format is:
122-
`projects/{project}/locations/global/mirroringDeploymentGroups/{mirroringDeploymentGroup}`
125+
The deployment group that this deployment is a part of, for example:
126+
`projects/123456789/locations/global/mirroringDeploymentGroups/my-dg`.
127+
See https://google.aip.dev/124.
123128

124129
* `location` -
125130
(Required)
126-
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/MirroringDeployment`.
131+
The cloud location of the deployment, e.g. `us-central1-a` or `asia-south1-b`.
127132

128133
* `mirroring_deployment_id` -
129134
(Required)
130-
Required. Id of the requesting object
131-
If auto-generating Id server-side, remove this field and
132-
mirroring_deployment_id from the method_signature of Create RPC
135+
The ID to use for the new deployment, which will become the final
136+
component of the deployment's resource name.
133137

134138

135139
- - -
136140

137141

138142
* `labels` -
139143
(Optional)
140-
Optional. Labels as key value pairs
144+
Labels are key/value pairs that help to organize and filter resources.
141145
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
142146
Please refer to the field `effective_labels` for all of the labels present on the resource.
143147

@@ -152,27 +156,34 @@ In addition to the arguments listed above, the following computed attributes are
152156
* `id` - an identifier for the resource with format `projects/{{project}}/locations/{{location}}/mirroringDeployments/{{mirroring_deployment_id}}`
153157

154158
* `name` -
155-
Immutable. Identifier. The name of the MirroringDeployment.
159+
The resource name of this deployment, for example:
160+
`projects/123456789/locations/us-central1-a/mirroringDeployments/my-dep`.
161+
See https://google.aip.dev/122 for more details.
156162

157163
* `create_time` -
158-
Output only. [Output only] Create time stamp
164+
The timestamp when the resource was created.
165+
See https://google.aip.dev/148#timestamps.
159166

160167
* `update_time` -
161-
Output only. [Output only] Update time stamp
168+
The timestamp when the resource was most recently updated.
169+
See https://google.aip.dev/148#timestamps.
162170

163171
* `state` -
164-
Output only. Current state of the deployment.
165-
Possible values:
166-
STATE_UNSPECIFIED
172+
The current state of the deployment.
173+
See https://google.aip.dev/216.
174+
Possible values:
175+
STATE_UNSPECIFIED
167176
ACTIVE
168177
CREATING
169178
DELETING
170179
OUT_OF_SYNC
171180
DELETE_FAILED
172181

173182
* `reconciling` -
174-
Output only. Whether reconciling is in progress, recommended per
175-
https://google.aip.dev/128.
183+
The current state of the resource does not match the user's intended state,
184+
and the system is working to reconcile them. This part of the normal
185+
operation (e.g. linking a new association to the parent group).
186+
See https://google.aip.dev/128.
176187

177188
* `terraform_labels` -
178189
The combination of labels configured directly on the resource

website/docs/r/network_security_mirroring_deployment_group.html.markdown

+31-19
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,15 @@
1616
# ----------------------------------------------------------------------------
1717
subcategory: "Network Security"
1818
description: |-
19-
A Deployment Group represents the collector deployments across different zones within an organization.
19+
A deployment group aggregates many zonal mirroring backends (deployments)
20+
into a single global mirroring service.
2021
---
2122

2223
# google_network_security_mirroring_deployment_group
2324

24-
A Deployment Group represents the collector deployments across different zones within an organization.
25+
A deployment group aggregates many zonal mirroring backends (deployments)
26+
into a single global mirroring service. Consumers can connect this service
27+
using an endpoint group.
2528

2629
~> **Warning:** This resource is in beta, and should be used with the terraform-provider-google-beta provider.
2730
See [Provider Versions](https://terraform.io/docs/providers/google/guides/provider_versions.html) for more details on beta resources.
@@ -65,26 +68,26 @@ The following arguments are supported:
6568

6669
* `network` -
6770
(Required)
68-
Required. Immutable. The network that is being used for the deployment. Format is:
69-
projects/{project}/global/networks/{network}.
71+
The network that will be used for all child deployments, for example:
72+
`projects/{project}/global/networks/{network}`.
73+
See https://google.aip.dev/124.
7074

7175
* `location` -
7276
(Required)
73-
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/MirroringDeploymentGroup`.
77+
The cloud location of the deployment group, currently restricted to `global`.
7478

7579
* `mirroring_deployment_group_id` -
7680
(Required)
77-
Required. Id of the requesting object
78-
If auto-generating Id server-side, remove this field and
79-
mirroring_deployment_group_id from the method_signature of Create RPC
81+
The ID to use for the new deployment group, which will become the final
82+
component of the deployment group's resource name.
8083

8184

8285
- - -
8386

8487

8588
* `labels` -
8689
(Optional)
87-
Optional. Labels as key value pairs
90+
Labels are key/value pairs that help to organize and filter resources.
8891
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
8992
Please refer to the field `effective_labels` for all of the labels present on the resource.
9093

@@ -99,29 +102,36 @@ In addition to the arguments listed above, the following computed attributes are
99102
* `id` - an identifier for the resource with format `projects/{{project}}/locations/{{location}}/mirroringDeploymentGroups/{{mirroring_deployment_group_id}}`
100103

101104
* `name` -
102-
Immutable. Identifier. Then name of the MirroringDeploymentGroup.
105+
The resource name of this deployment group, for example:
106+
`projects/123456789/locations/global/mirroringDeploymentGroups/my-dg`.
107+
See https://google.aip.dev/122 for more details.
103108

104109
* `create_time` -
105-
Output only. [Output only] Create time stamp
110+
The timestamp when the resource was created.
111+
See https://google.aip.dev/148#timestamps.
106112

107113
* `update_time` -
108-
Output only. [Output only] Update time stamp
114+
The timestamp when the resource was most recently updated.
115+
See https://google.aip.dev/148#timestamps.
109116

110117
* `connected_endpoint_groups` -
111-
Output only. The list of Mirroring Endpoint Groups that are connected to this resource.
118+
The list of endpoint groups that are connected to this resource.
112119
Structure is [documented below](#nested_connected_endpoint_groups).
113120

114121
* `state` -
115-
Output only. Current state of the deployment group.
116-
Possible values:
117-
STATE_UNSPECIFIED
122+
The current state of the deployment group.
123+
See https://google.aip.dev/216.
124+
Possible values:
125+
STATE_UNSPECIFIED
118126
ACTIVE
119127
CREATING
120128
DELETING
121129

122130
* `reconciling` -
123-
Output only. Whether reconciling is in progress, recommended per
124-
https://google.aip.dev/128.
131+
The current state of the resource does not match the user's intended state,
132+
and the system is working to reconcile them. This is part of the normal
133+
operation (e.g. adding a new deployment to the group)
134+
See https://google.aip.dev/128.
125135

126136
* `terraform_labels` -
127137
The combination of labels configured directly on the resource
@@ -135,7 +145,9 @@ In addition to the arguments listed above, the following computed attributes are
135145

136146
* `name` -
137147
(Output)
138-
Output only. A connected mirroring endpoint group.
148+
The connected endpoint group's resource name, for example:
149+
`projects/123456789/locations/global/mirroringEndpointGroups/my-eg`.
150+
See https://google.aip.dev/124.
139151

140152
## Timeouts
141153

website/docs/r/network_security_mirroring_endpoint_group.html.markdown

+29-18
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,16 @@
1616
# ----------------------------------------------------------------------------
1717
subcategory: "Network Security"
1818
description: |-
19-
A mirroring endpoint group is a global resource in the consumer account representing the producer’s deployment group.
19+
An endpoint group is a consumer frontend for a deployment group (backend).
2020
---
2121

2222
# google_network_security_mirroring_endpoint_group
2323

24-
A mirroring endpoint group is a global resource in the consumer account representing the producer’s deployment group.
24+
An endpoint group is a consumer frontend for a deployment group (backend).
25+
In order to configure mirroring for a network, consumers must create:
26+
- An association between their network and the endpoint group.
27+
- A security profile that points to the endpoint group.
28+
- A mirroring rule that references the security profile (group).
2529

2630
~> **Warning:** This resource is in beta, and should be used with the terraform-provider-google-beta provider.
2731
See [Provider Versions](https://terraform.io/docs/providers/google/guides/provider_versions.html) for more details on beta resources.
@@ -72,27 +76,26 @@ The following arguments are supported:
7276

7377
* `mirroring_deployment_group` -
7478
(Required)
75-
Required. Immutable. The Mirroring Deployment Group that this resource is connected to. Format
76-
is:
77-
`projects/{project}/locations/global/mirroringDeploymentGroups/{mirroringDeploymentGroup}`
79+
The deployment group that this DIRECT endpoint group is connected to, for example:
80+
`projects/123456789/locations/global/mirroringDeploymentGroups/my-dg`.
81+
See https://google.aip.dev/124.
7882

7983
* `location` -
8084
(Required)
81-
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/MirroringEndpointGroup`.
85+
The cloud location of the endpoint group, currently restricted to `global`.
8286

8387
* `mirroring_endpoint_group_id` -
8488
(Required)
85-
Required. Id of the requesting object
86-
If auto-generating Id server-side, remove this field and
87-
mirroring_endpoint_group_id from the method_signature of Create RPC
89+
The ID to use for the endpoint group, which will become the final component
90+
of the endpoint group's resource name.
8891

8992

9093
- - -
9194

9295

9396
* `labels` -
9497
(Optional)
95-
Optional. Labels as key value pairs
98+
Labels are key/value pairs that help to organize and filter resources.
9699
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
97100
Please refer to the field `effective_labels` for all of the labels present on the resource.
98101

@@ -107,27 +110,35 @@ In addition to the arguments listed above, the following computed attributes are
107110
* `id` - an identifier for the resource with format `projects/{{project}}/locations/{{location}}/mirroringEndpointGroups/{{mirroring_endpoint_group_id}}`
108111

109112
* `name` -
110-
Immutable. Identifier. The name of the MirroringEndpointGroup.
113+
The resource name of this endpoint group, for example:
114+
`projects/123456789/locations/global/mirroringEndpointGroups/my-eg`.
115+
See https://google.aip.dev/122 for more details.
111116

112117
* `create_time` -
113-
Output only. [Output only] Create time stamp
118+
The timestamp when the resource was created.
119+
See https://google.aip.dev/148#timestamps.
114120

115121
* `update_time` -
116-
Output only. [Output only] Update time stamp
122+
The timestamp when the resource was most recently updated.
123+
See https://google.aip.dev/148#timestamps.
117124

118125
* `state` -
119-
Output only. Current state of the endpoint group.
120-
Possible values:
121-
STATE_UNSPECIFIED
126+
The current state of the endpoint group.
127+
See https://google.aip.dev/216.
128+
Possible values:
129+
STATE_UNSPECIFIED
122130
ACTIVE
123131
CLOSED
124132
CREATING
125133
DELETING
126134
OUT_OF_SYNC
135+
DELETE_FAILED
127136

128137
* `reconciling` -
129-
Output only. Whether reconciling is in progress, recommended per
130-
https://google.aip.dev/128.
138+
The current state of the resource does not match the user's intended state,
139+
and the system is working to reconcile them. This is part of the normal
140+
operation (e.g. adding a new association to the group).
141+
See https://google.aip.dev/128.
131142

132143
* `terraform_labels` -
133144
The combination of labels configured directly on the resource

0 commit comments

Comments
 (0)