Skip to content

Commit 1bc9c65

Browse files
author
UMM KULSUM
committed
ran make generate_docs
1 parent b7b6cf7 commit 1bc9c65

File tree

2 files changed

+87
-98
lines changed

2 files changed

+87
-98
lines changed

modules/instance_template/metadata.display.yaml

Lines changed: 45 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,11 @@ spec:
3131
access_config:
3232
name: access_config
3333
title: Access Config
34+
altDefaults:
35+
- type: ALTERNATE_TYPE_DC
36+
value:
37+
- nat_ip: null
38+
network_tier: PREMIUM
3439
properties:
3540
network_tier:
3641
name: network_tier
@@ -42,11 +47,6 @@ spec:
4247
value: STANDARD
4348
- label: FIXED_STANDARD
4449
value: FIXED_STANDARD
45-
altDefaults:
46-
- type: ALTERNATE_TYPE_DC
47-
value:
48-
- nat_ip: null
49-
network_tier: PREMIUM
5050
additional_disks:
5151
name: additional_disks
5252
title: Additional Disks
@@ -89,20 +89,41 @@ spec:
8989
name: additional_networks
9090
title: Additional Networks
9191
properties:
92+
access_config:
93+
name: access_config
94+
title: Access Config
95+
properties:
96+
network_tier:
97+
name: network_tier
98+
title: Network Tier
99+
enumValueLabels:
100+
- label: PREMIUM
101+
value: PREMIUM
102+
- label: STANDARD
103+
value: STANDARD
104+
- label: FIXED_STANDARD
105+
value: FIXED_STANDARD
106+
ipv6_access_config:
107+
name: ipv6_access_config
108+
title: Ipv6 Access Config
109+
properties:
110+
network_tier:
111+
name: network_tier
112+
title: Network Tier
113+
enumValueLabels:
114+
- label: PREMIUM
115+
value: PREMIUM
116+
- label: STANDARD
117+
value: STANDARD
92118
network:
93119
name: network
94120
title: Network
95-
regexValidation: "^(?:[a-z0-9-]{1,63}|projects/[a-z0-9-]+/global/networks/[a-z0-9-]{1,63})$"
121+
regexValidation: ^(?:[a-z0-9-]{1,63}|projects/[a-z0-9-]+/global/networks/[a-z0-9-]{1,63})$
96122
validation: Invalid network format. Must be a network name or a self link.
97-
subnetwork:
98-
name: subnetwork
99-
title: Subnetwork
100-
regexValidation: "^(?:[a-z0-9-]{1,63}|(?:projects/[a-z0-9-]+/)?(?:regions/[a-z0-9-]+/)?subnetworks/[a-z0-9-]{1,63})$"
101-
validation: Invalid subnetwork format. Must be a subnetwork name or a self link.
102123
network_ip:
103124
name: network_ip
104125
title: Network Ip
105-
regexValidation: "^((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?).){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$"
126+
regexValidation: ^((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?).){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$
106127
validation: Invalid IP address format. Must be a valid IPv4 address.
107128
nic_type:
108129
name: nic_type
@@ -126,32 +147,11 @@ spec:
126147
value: IPV6_ONLY
127148
- label: IPV4_IPV6
128149
value: IPV4_IPV6
129-
access_config:
130-
name: access_config
131-
title: Access Config
132-
properties:
133-
network_tier:
134-
name: network_tier
135-
title: Network Tier
136-
enumValueLabels:
137-
- label: PREMIUM
138-
value: PREMIUM
139-
- label: STANDARD
140-
value: STANDARD
141-
- label: FIXED_STANDARD
142-
value: FIXED_STANDARD
143-
ipv6_access_config:
144-
name: ipv6_access_config
145-
title: Ipv6 Access Config
146-
properties:
147-
network_tier:
148-
name: network_tier
149-
title: Network Tier
150-
enumValueLabels:
151-
- label: PREMIUM
152-
value: PREMIUM
153-
- label: STANDARD
154-
value: STANDARD
150+
subnetwork:
151+
name: subnetwork
152+
title: Subnetwork
153+
regexValidation: ^(?:[a-z0-9-]{1,63}|(?:projects/[a-z0-9-]+/)?(?:regions/[a-z0-9-]+/)?subnetworks/[a-z0-9-]{1,63})$
154+
validation: Invalid subnetwork format. Must be a subnetwork name or a self link.
155155
alias_ip_range:
156156
name: alias_ip_range
157157
title: Alias Ip Range
@@ -209,7 +209,6 @@ spec:
209209
disk_type:
210210
name: disk_type
211211
title: Disk Type
212-
level: 1
213212
enumValueLabels:
214213
- label: pd-standard
215214
value: pd-standard
@@ -225,6 +224,7 @@ spec:
225224
value: hyperdisk-throughput
226225
- label: hyperdisk-extreme
227226
value: hyperdisk-extreme
227+
level: 1
228228
enable_confidential_vm:
229229
name: enable_confidential_vm
230230
title: Enable Confidential Vm
@@ -283,16 +283,16 @@ spec:
283283
network:
284284
name: network
285285
title: Network
286-
level: 1
287-
regexValidation: "^(?:[a-z0-9-]{1,63}|projects/[a-z0-9-]+/global/networks/[a-z0-9-]{1,63})$"
286+
regexValidation: ^(?:[a-z0-9-]{1,63}|projects/[a-z0-9-]+/global/networks/[a-z0-9-]{1,63})$
288287
validation: Invalid network format. Must be a network name or a self link.
288+
level: 1
289289
altDefaults:
290290
- type: ALTERNATE_TYPE_DC
291291
value: default
292292
network_ip:
293293
name: network_ip
294294
title: Network Ip
295-
regexValidation: "^((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?).){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$"
295+
regexValidation: ^((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?).){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$
296296
validation: Invalid IP address format. Must be a valid IPv4 address.
297297
nic_type:
298298
name: nic_type
@@ -342,7 +342,7 @@ spec:
342342
service_account_project_roles:
343343
name: service_account_project_roles
344344
title: Service Account Project Roles
345-
regexValidation: "^(roles/[a-zA-Z0-9_.]+|(projects/[a-z][a-z0-9-]{4,28}[a-z0-9]|organizations/[0-9]+)/roles/[a-zA-Z0-9_]+)$"
345+
regexValidation: ^(roles/[a-zA-Z0-9_.]+|(projects/[a-z][a-z0-9-]{4,28}[a-z0-9]|organizations/[0-9]+)/roles/[a-zA-Z0-9_]+)$
346346
validation: Role must be a valid Google Cloud IAM role name, in the format of 'roles/{role_name}'.
347347
shielded_instance_config:
348348
name: shielded_instance_config
@@ -386,9 +386,9 @@ spec:
386386
subnetwork:
387387
name: subnetwork
388388
title: Subnetwork
389-
level: 1
390-
regexValidation: "^(?:[a-z0-9-]{1,63}|(?:projects/[a-z0-9-]+/)?(?:regions/[a-z0-9-]+/)?subnetworks/[a-z0-9-]{1,63})$"
389+
regexValidation: ^(?:[a-z0-9-]{1,63}|(?:projects/[a-z0-9-]+/)?(?:regions/[a-z0-9-]+/)?subnetworks/[a-z0-9-]{1,63})$
391390
validation: Invalid subnetwork format. Must be a subnetwork name or a self link.
391+
level: 1
392392
subnetwork_project:
393393
name: subnetwork_project
394394
title: Subnetwork Project

modules/mig/metadata.display.yaml

Lines changed: 42 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,6 @@ spec:
3737
name: autoscaling_cpu
3838
title: Autoscaling Cpu
3939
properties:
40-
target:
41-
name: target
42-
title: Target
43-
min: 0.0
44-
max: 1.0
4540
predictive_method:
4641
name: predictive_method
4742
title: Predictive Method
@@ -50,6 +45,10 @@ spec:
5045
value: NONE
5146
- label: OPTIMIZE_AVAILABILITY
5247
value: OPTIMIZE_AVAILABILITY
48+
target:
49+
name: target
50+
title: Target
51+
max: 1
5352
autoscaling_enabled:
5453
name: autoscaling_enabled
5554
title: Autoscaling Enabled
@@ -60,17 +59,15 @@ spec:
6059
target:
6160
name: target
6261
title: Target
63-
min: 0.0
64-
max: 1.0
62+
max: 1
6563
autoscaling_metric:
6664
name: autoscaling_metric
6765
title: Autoscaling Metric
6866
properties:
6967
target:
7068
name: target
7169
title: Target
72-
min: 0.0
73-
max: 1.0
70+
max: 1
7471
type:
7572
name: type
7673
title: Type
@@ -99,16 +96,13 @@ spec:
9996
fixed_replicas:
10097
name: fixed_replicas
10198
title: Fixed Replicas
102-
min: 0
10399
percent_replicas:
104100
name: percent_replicas
105101
title: Percent Replicas
106-
min: 0
107102
max: 100
108103
cooldown_period:
109104
name: cooldown_period
110105
title: Cooldown Period
111-
min: 0
112106
distribution_policy_target_shape:
113107
name: distribution_policy_target_shape
114108
title: Distribution Policy Target Shape
@@ -128,23 +122,15 @@ spec:
128122
name: health_check
129123
title: Health Check
130124
properties:
131-
type:
132-
name: type
133-
title: Type
134-
enumValueLabels:
135-
- label: HTTPS
136-
value: HTTPS
137-
- label: HTTP
138-
value: HTTP
139-
- label: TCP
140-
value: TCP
141-
- label: SSL
142-
value: SSL
143125
initial_delay_sec:
144126
name: initial_delay_sec
145127
title: Initial Delay Sec
146-
min: 0
147128
max: 3600
129+
port:
130+
name: port
131+
title: Port
132+
min: 1
133+
max: 65535
148134
proxy_header:
149135
name: proxy_header
150136
title: Proxy Header
@@ -153,11 +139,18 @@ spec:
153139
value: NONE
154140
- label: PROXY_V1
155141
value: PROXY_V1
156-
port:
157-
name: port
158-
title: Port
159-
min: 1
160-
max: 65535
142+
type:
143+
name: type
144+
title: Type
145+
enumValueLabels:
146+
- label: HTTPS
147+
value: HTTPS
148+
- label: HTTP
149+
value: HTTP
150+
- label: TCP
151+
value: TCP
152+
- label: SSL
153+
value: SSL
161154
health_check_name:
162155
name: health_check_name
163156
title: Health Check Name
@@ -166,13 +159,13 @@ spec:
166159
hostname:
167160
name: hostname
168161
title: Hostname
169-
level: 1
170162
regexValidation: ^[a-z][a-z0-9-]{0,61}[a-z0-9]$
171163
validation: Hostname must be between 1 and 63 characters long, start with a lowercase letter, and can contain lowercase letters, numbers, and hyphens.
164+
level: 1
172165
instance_template:
173166
name: instance_template
174167
title: Instance Template
175-
regexValidation: "^https://www.googleapis.com/compute/v1/projects/[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?/(?:global|regions/[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?)/instanceTemplates/[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?$"
168+
regexValidation: ^https://www.googleapis.com/compute/v1/projects/[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?/(?:global|regions/[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?)/instanceTemplates/[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?$
176169
validation: Invalid template url format, valid format is either https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/instanceTemplates/{template_name} (regional) or https://www.googleapis.com/compute/v1/projects/{project}/global/instanceTemplates/{template_name} (global).
177170
labels:
178171
name: labels
@@ -226,7 +219,7 @@ spec:
226219
schedule:
227220
name: schedule
228221
title: Schedule
229-
regexValidation: "^([*]|([0-9]|1[0-9]|2[0-9]|3[0-9]|4[0-9]|5[0-9])(-([0-9]|1[0-9]|2[0-9]|3[0-9]|4[0-9]|5[0-9]))?)(,([*]|([0-9]|1[0-9]|2[0-9]|3[0-9]|4[0-9]|5[0-9])(-([0-9]|1[0-9]|2[0-9]|3[0-9]|4[0-9]|5[0-9]))?))* ([*]|([0-9]|1[0-9]|2[0-3])(-([0-9]|1[0-9]|2[0-3]))?)(,([*]|([0-9]|1[0-9]|2[0-3])(-([0-9]|1[0-9]|2[0-3]))?))* ([*]|([1-9]|1[0-9]|2[0-9]|3[0-1])(-([1-9]|1[0-9]|2[0-9]|3[0-1]))?)(,([*]|([1-9]|1[0-9]|2[0-9]|3[0-1])(-([1-9]|1[0-9]|2[0-9]|3[0-1]))?))* ([*]|([1-9]|1[0-2])(-([1-9]|1[0-2]))?)(,([*]|([1-9]|1[0-2])(-([1-9]|1[0-2]))?))* ([*]|([0-6])(-([0-6]))?)(,([*]|([0-6])(-([0-6]))?))*$"
222+
regexValidation: ^([*]|([0-9]|1[0-9]|2[0-9]|3[0-9]|4[0-9]|5[0-9])(-([0-9]|1[0-9]|2[0-9]|3[0-9]|4[0-9]|5[0-9]))?)(,([*]|([0-9]|1[0-9]|2[0-9]|3[0-9]|4[0-9]|5[0-9])(-([0-9]|1[0-9]|2[0-9]|3[0-9]|4[0-9]|5[0-9]))?))* ([*]|([0-9]|1[0-9]|2[0-3])(-([0-9]|1[0-9]|2[0-3]))?)(,([*]|([0-9]|1[0-9]|2[0-3])(-([0-9]|1[0-9]|2[0-3]))?))* ([*]|([1-9]|1[0-9]|2[0-9]|3[0-1])(-([1-9]|1[0-9]|2[0-9]|3[0-1]))?)(,([*]|([1-9]|1[0-9]|2[0-9]|3[0-1])(-([1-9]|1[0-9]|2[0-9]|3[0-1]))?))* ([*]|([1-9]|1[0-2])(-([1-9]|1[0-2]))?)(,([*]|([1-9]|1[0-2])(-([1-9]|1[0-2]))?))* ([*]|([0-6])(-([0-6]))?)(,([*]|([0-6])(-([0-6]))?))*$
230223
validation: Schedule must be in cron format.
231224
stateful_disks:
232225
name: stateful_disks
@@ -258,7 +251,6 @@ spec:
258251
target_size:
259252
name: target_size
260253
title: Target Size
261-
min: 0
262254
level: 1
263255
update_policy:
264256
name: update_policy
@@ -275,26 +267,15 @@ spec:
275267
max_surge_percent:
276268
name: max_surge_percent
277269
title: Max Surge Percent
278-
min: 0
279270
max: 100
280271
max_unavailable_percent:
281272
name: max_unavailable_percent
282273
title: Max Unavailable Percent
283-
min: 0
284274
max: 100
285275
min_ready_sec:
286276
name: min_ready_sec
287277
title: Min Ready Sec
288-
min: 0
289278
max: 3600
290-
replacement_method:
291-
name: replacement_method
292-
title: Replacement Method
293-
enumValueLabels:
294-
- label: RECREATE
295-
value: RECREATE
296-
- label: SUBSTITUTE
297-
value: SUBSTITUTE
298279
minimal_action:
299280
name: minimal_action
300281
title: Minimal Action
@@ -307,14 +288,6 @@ spec:
307288
value: REFRESH
308289
- label: NONE
309290
value: NONE
310-
type:
311-
name: type
312-
title: Type
313-
enumValueLabels:
314-
- label: PROACTIVE
315-
value: PROACTIVE
316-
- label: OPPORTUNISTIC
317-
value: OPPORTUNISTIC
318291
most_disruptive_allowed_action:
319292
name: most_disruptive_allowed_action
320293
title: Most Disruptive Allowed Action
@@ -327,6 +300,22 @@ spec:
327300
value: REFRESH
328301
- label: NONE
329302
value: NONE
303+
replacement_method:
304+
name: replacement_method
305+
title: Replacement Method
306+
enumValueLabels:
307+
- label: RECREATE
308+
value: RECREATE
309+
- label: SUBSTITUTE
310+
value: SUBSTITUTE
311+
type:
312+
name: type
313+
title: Type
314+
enumValueLabels:
315+
- label: PROACTIVE
316+
value: PROACTIVE
317+
- label: OPPORTUNISTIC
318+
value: OPPORTUNISTIC
330319
wait_for_instances:
331320
name: wait_for_instances
332321
title: Wait For Instances

0 commit comments

Comments
 (0)