...
1label: Config Connector ComputePacketMirroring
2markdownDescription: Creates yaml for a ComputePacketMirroring resource
3insertText: |
4 apiVersion: compute.cnrm.cloud.google.com/v1beta1
5 kind: ComputePacketMirroring
6 metadata:
7 name: \${1:computepacketmirroring-name}
8 spec:
9 projectRef:
10 external: \${2:projects/[PROJECT_ID?]}
11 location: \${3:us-west2}
12 description: \${4:A sample packet mirroring}
13 network:
14 urlRef:
15 name: \${5:computepacketmirroring-dep}
16 priority: \${6:1000}
17 collectorIlb:
18 urlRef:
19 name: \${7:computepacketmirroring-dep}
20 mirroredResources:
21 subnetworks:
22 - urlRef:
23 name: \${8:computepacketmirroring-dep}
24 instances:
25 - urlRef:
26 name: \${9:computepacketmirroring-dep}
27 tags:
28 - \${10:tag-one}
29 filter:
30 cidrRanges:
31 - \${11:192.168.0.0/23}
32 ipProtocols:
33 - \${12:tcp}
34 direction: \${13:BOTH}
35 enable: \${14:TRUE}
View as plain text