...
1label: Config Connector BigtableGCPolicy
2markdownDescription: Creates yaml for a BigtableGCPolicy resource
3insertText: |
4 apiVersion: bigtable.cnrm.cloud.google.com/v1beta1
5 kind: BigtableGCPolicy
6 metadata:
7 name: \${1:bigtablegcpolicy-name}
8 spec:
9 tableRef:
10 name: \${2:bigtablegcpolicy-dep}
11 columnFamily: \${3:family1}
12 instanceRef:
13 name: \${4:bigtablegcpolicy-dep}
14 gcRules: |-
15 \${5:[
16 "mode": "union",
17 "rules": [
18 [
19 "max_age": "15h"
20 ],
21 [
22 "mode": "intersection",
23 "rules": [
24 [
25 "max_age": "2h"
26 ],
27 [
28 "max_version": 2
29 ]
30 ]
31 ]
32 ]
33 ]}
View as plain text