Skip to content

Commit be75c11

Browse files
feat(workloadmanager): update the api
#### workloadmanager:v1 The following keys were deleted: - schemas.Instance (Total Keys: 10) - schemas.Layer (Total Keys: 8) - schemas.WorkloadProfile.properties.application (Total Keys: 2) - schemas.WorkloadProfile.properties.ascs (Total Keys: 2) - schemas.WorkloadProfile.properties.database (Total Keys: 2) - schemas.WorkloadProfile.properties.state (Total Keys: 3) The following keys were added: - schemas.AgentStatus (Total Keys: 64) - schemas.ComponentHealth.properties.subComponentsHealth (Total Keys: 2) - schemas.Insight.properties.agentStatus.$ref (Total Keys: 1) - schemas.SapDiscoveryResourceInstanceProperties.properties.osKernelVersion.$ref (Total Keys: 1) - schemas.SapDiscoveryResourceInstancePropertiesKernelVersion (Total Keys: 16) - schemas.WorkloadProfileHealth.properties.componentsHealth (Total Keys: 2)
1 parent 74b5446 commit be75c11

File tree

4 files changed

+478
-222
lines changed

4 files changed

+478
-222
lines changed

docs/dyn/workloadmanager_v1.projects.locations.discoveredprofiles.healthes.html

Lines changed: 51 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ <h3>Method Details</h3>
102102

103103
{ # WorkloadProfileHealth contains the detailed health check of workload.
104104
&quot;checkTime&quot;: &quot;A String&quot;, # The time when the health check was performed.
105-
&quot;componentHealthes&quot;: [ # The detailed condition reports of each component.
105+
&quot;componentHealthes&quot;: [
106106
{ # HealthCondition contains the detailed health check of each component.
107107
&quot;component&quot;: &quot;A String&quot;, # The component of a workload.
108108
&quot;componentHealthChecks&quot;: [ # The detailed health checks of the component.
@@ -113,7 +113,6 @@ <h3>Method Details</h3>
113113
&quot;instanceProperties&quot;: { # Instance Properties. # Output only. All instance properties.
114114
&quot;instanceNumber&quot;: &quot;A String&quot;, # Optional. Instance number.
115115
&quot;machineType&quot;: &quot;A String&quot;, # Optional. Instance machine type.
116-
&quot;role&quot;: &quot;A String&quot;, # Optional. Instance role.
117116
&quot;roles&quot;: [ # Optional. Instance roles.
118117
&quot;A String&quot;,
119118
],
@@ -141,7 +140,56 @@ <h3>Method Details</h3>
141140
&quot;componentHealthType&quot;: &quot;A String&quot;, # Output only. The type of the component health.
142141
&quot;isRequired&quot;: True or False, # Output only. The requirement of the component.
143142
&quot;state&quot;: &quot;A String&quot;, # Output only. The health state of the component.
144-
&quot;subComponentHealthes&quot;: [ # Sub component health.
143+
&quot;subComponentHealthes&quot;: [
144+
# Object with schema name: ComponentHealth
145+
],
146+
&quot;subComponentsHealth&quot;: [ # Sub component health.
147+
# Object with schema name: ComponentHealth
148+
],
149+
},
150+
],
151+
&quot;componentsHealth&quot;: [ # The detailed condition reports of each component.
152+
{ # HealthCondition contains the detailed health check of each component.
153+
&quot;component&quot;: &quot;A String&quot;, # The component of a workload.
154+
&quot;componentHealthChecks&quot;: [ # The detailed health checks of the component.
155+
{ # HealthCheck contains the detailed health check of a component based on asource.
156+
&quot;message&quot;: &quot;A String&quot;, # Output only. The message of the health check.
157+
&quot;metric&quot;: &quot;A String&quot;, # Output only. The health check source metric name.
158+
&quot;resource&quot;: { # The resource on GCP # Output only. The resource the check performs on.
159+
&quot;instanceProperties&quot;: { # Instance Properties. # Output only. All instance properties.
160+
&quot;instanceNumber&quot;: &quot;A String&quot;, # Optional. Instance number.
161+
&quot;machineType&quot;: &quot;A String&quot;, # Optional. Instance machine type.
162+
&quot;roles&quot;: [ # Optional. Instance roles.
163+
&quot;A String&quot;,
164+
],
165+
&quot;sapInstanceProperties&quot;: { # SAP instance properties. # Optional. SAP Instance properties.
166+
&quot;numbers&quot;: [ # Optional. SAP Instance numbers. They are from &#x27;00&#x27; to &#x27;99&#x27;.
167+
&quot;A String&quot;,
168+
],
169+
},
170+
&quot;status&quot;: &quot;A String&quot;, # Optional. Instance status.
171+
&quot;upcomingMaintenanceEvent&quot;: { # Maintenance Event # Optional. the next maintenance event on VM
172+
&quot;endTime&quot;: &quot;A String&quot;, # Optional. End time
173+
&quot;maintenanceStatus&quot;: &quot;A String&quot;, # Optional. Maintenance status
174+
&quot;onHostMaintenance&quot;: &quot;A String&quot;, # Optional. Instance maintenance behavior. Could be &quot;MIGRATE&quot; or &quot;TERMINATE&quot;.
175+
&quot;startTime&quot;: &quot;A String&quot;, # Optional. Start time
176+
&quot;type&quot;: &quot;A String&quot;, # Optional. Type
177+
},
178+
},
179+
&quot;kind&quot;: &quot;A String&quot;, # Output only. ComputeInstance, ComputeDisk, VPC, Bare Metal server, etc.
180+
&quot;name&quot;: &quot;A String&quot;, # Output only. resource name
181+
},
182+
&quot;source&quot;: &quot;A String&quot;, # Output only. The source of the health check.
183+
&quot;state&quot;: &quot;A String&quot;, # Output only. The state of the health check.
184+
},
185+
],
186+
&quot;componentHealthType&quot;: &quot;A String&quot;, # Output only. The type of the component health.
187+
&quot;isRequired&quot;: True or False, # Output only. The requirement of the component.
188+
&quot;state&quot;: &quot;A String&quot;, # Output only. The health state of the component.
189+
&quot;subComponentHealthes&quot;: [
190+
# Object with schema name: ComponentHealth
191+
],
192+
&quot;subComponentsHealth&quot;: [ # Sub component health.
145193
# Object with schema name: ComponentHealth
146194
],
147195
},

docs/dyn/workloadmanager_v1.projects.locations.discoveredprofiles.html

Lines changed: 2 additions & 80 deletions
Original file line numberDiff line numberDiff line change
@@ -112,46 +112,10 @@ <h3>Method Details</h3>
112112
An object of the form:
113113

114114
{ # workload resource
115-
&quot;application&quot;: { # The database layer # Optional. The application layer
116-
&quot;applicationType&quot;: &quot;A String&quot;, # the application layer
117-
&quot;databaseType&quot;: &quot;A String&quot;, # Optional. the database layer
118-
&quot;instances&quot;: [ # Optional. instances in a layer
119-
{ # a vm instance
120-
&quot;name&quot;: &quot;A String&quot;, # Output only. name of the VM
121-
&quot;region&quot;: &quot;A String&quot;, # Output only. The location of the VM
122-
&quot;status&quot;: &quot;A String&quot;, # Output only. The state of the VM
123-
},
124-
],
125-
&quot;sid&quot;: &quot;A String&quot;, # Output only. system identification of a layer
126-
},
127-
&quot;ascs&quot;: { # The database layer # Optional. The ascs layer
128-
&quot;applicationType&quot;: &quot;A String&quot;, # the application layer
129-
&quot;databaseType&quot;: &quot;A String&quot;, # Optional. the database layer
130-
&quot;instances&quot;: [ # Optional. instances in a layer
131-
{ # a vm instance
132-
&quot;name&quot;: &quot;A String&quot;, # Output only. name of the VM
133-
&quot;region&quot;: &quot;A String&quot;, # Output only. The location of the VM
134-
&quot;status&quot;: &quot;A String&quot;, # Output only. The state of the VM
135-
},
136-
],
137-
&quot;sid&quot;: &quot;A String&quot;, # Output only. system identification of a layer
138-
},
139-
&quot;database&quot;: { # The database layer # Optional. The database layer
140-
&quot;applicationType&quot;: &quot;A String&quot;, # the application layer
141-
&quot;databaseType&quot;: &quot;A String&quot;, # Optional. the database layer
142-
&quot;instances&quot;: [ # Optional. instances in a layer
143-
{ # a vm instance
144-
&quot;name&quot;: &quot;A String&quot;, # Output only. name of the VM
145-
&quot;region&quot;: &quot;A String&quot;, # Output only. The location of the VM
146-
&quot;status&quot;: &quot;A String&quot;, # Output only. The state of the VM
147-
},
148-
],
149-
&quot;sid&quot;: &quot;A String&quot;, # Output only. system identification of a layer
150-
},
151115
&quot;labels&quot;: { # Optional. such as name, description, version. More example can be found in deployment
152116
&quot;a_key&quot;: &quot;A String&quot;,
153117
},
154-
&quot;name&quot;: &quot;A String&quot;, # Identifier. name of resource names have the form &#x27;projects/{project_id}/workloads/{workload_id}&#x27;
118+
&quot;name&quot;: &quot;A String&quot;, # Identifier. name of resource names have the form &#x27;projects/{project_id}/locations/{location}/workloadProfiles/{workload_id}&#x27;
155119
&quot;refreshedTime&quot;: &quot;A String&quot;, # Required. time when the workload data was refreshed
156120
&quot;sapWorkload&quot;: { # The body of sap workload # The sap workload content
157121
&quot;application&quot;: { # The component of sap workload # Output only. the acsc componment
@@ -170,7 +134,6 @@ <h3>Method Details</h3>
170134
&quot;instanceProperties&quot;: { # Instance Properties. # Output only. All instance properties.
171135
&quot;instanceNumber&quot;: &quot;A String&quot;, # Optional. Instance number.
172136
&quot;machineType&quot;: &quot;A String&quot;, # Optional. Instance machine type.
173-
&quot;role&quot;: &quot;A String&quot;, # Optional. Instance role.
174137
&quot;roles&quot;: [ # Optional. Instance roles.
175138
&quot;A String&quot;,
176139
],
@@ -212,7 +175,6 @@ <h3>Method Details</h3>
212175
&quot;instanceProperties&quot;: { # Instance Properties. # Output only. All instance properties.
213176
&quot;instanceNumber&quot;: &quot;A String&quot;, # Optional. Instance number.
214177
&quot;machineType&quot;: &quot;A String&quot;, # Optional. Instance machine type.
215-
&quot;role&quot;: &quot;A String&quot;, # Optional. Instance role.
216178
&quot;roles&quot;: [ # Optional. Instance roles.
217179
&quot;A String&quot;,
218180
],
@@ -247,7 +209,6 @@ <h3>Method Details</h3>
247209
},
248210
],
249211
},
250-
&quot;state&quot;: &quot;A String&quot;, # Output only. [output only] the current state if a a workload
251212
&quot;workloadType&quot;: &quot;A String&quot;, # Required. The type of the workload
252213
}</pre>
253214
</div>
@@ -276,46 +237,10 @@ <h3>Method Details</h3>
276237
],
277238
&quot;workloadProfiles&quot;: [ # Output only. The list of workload profiles
278239
{ # workload resource
279-
&quot;application&quot;: { # The database layer # Optional. The application layer
280-
&quot;applicationType&quot;: &quot;A String&quot;, # the application layer
281-
&quot;databaseType&quot;: &quot;A String&quot;, # Optional. the database layer
282-
&quot;instances&quot;: [ # Optional. instances in a layer
283-
{ # a vm instance
284-
&quot;name&quot;: &quot;A String&quot;, # Output only. name of the VM
285-
&quot;region&quot;: &quot;A String&quot;, # Output only. The location of the VM
286-
&quot;status&quot;: &quot;A String&quot;, # Output only. The state of the VM
287-
},
288-
],
289-
&quot;sid&quot;: &quot;A String&quot;, # Output only. system identification of a layer
290-
},
291-
&quot;ascs&quot;: { # The database layer # Optional. The ascs layer
292-
&quot;applicationType&quot;: &quot;A String&quot;, # the application layer
293-
&quot;databaseType&quot;: &quot;A String&quot;, # Optional. the database layer
294-
&quot;instances&quot;: [ # Optional. instances in a layer
295-
{ # a vm instance
296-
&quot;name&quot;: &quot;A String&quot;, # Output only. name of the VM
297-
&quot;region&quot;: &quot;A String&quot;, # Output only. The location of the VM
298-
&quot;status&quot;: &quot;A String&quot;, # Output only. The state of the VM
299-
},
300-
],
301-
&quot;sid&quot;: &quot;A String&quot;, # Output only. system identification of a layer
302-
},
303-
&quot;database&quot;: { # The database layer # Optional. The database layer
304-
&quot;applicationType&quot;: &quot;A String&quot;, # the application layer
305-
&quot;databaseType&quot;: &quot;A String&quot;, # Optional. the database layer
306-
&quot;instances&quot;: [ # Optional. instances in a layer
307-
{ # a vm instance
308-
&quot;name&quot;: &quot;A String&quot;, # Output only. name of the VM
309-
&quot;region&quot;: &quot;A String&quot;, # Output only. The location of the VM
310-
&quot;status&quot;: &quot;A String&quot;, # Output only. The state of the VM
311-
},
312-
],
313-
&quot;sid&quot;: &quot;A String&quot;, # Output only. system identification of a layer
314-
},
315240
&quot;labels&quot;: { # Optional. such as name, description, version. More example can be found in deployment
316241
&quot;a_key&quot;: &quot;A String&quot;,
317242
},
318-
&quot;name&quot;: &quot;A String&quot;, # Identifier. name of resource names have the form &#x27;projects/{project_id}/workloads/{workload_id}&#x27;
243+
&quot;name&quot;: &quot;A String&quot;, # Identifier. name of resource names have the form &#x27;projects/{project_id}/locations/{location}/workloadProfiles/{workload_id}&#x27;
319244
&quot;refreshedTime&quot;: &quot;A String&quot;, # Required. time when the workload data was refreshed
320245
&quot;sapWorkload&quot;: { # The body of sap workload # The sap workload content
321246
&quot;application&quot;: { # The component of sap workload # Output only. the acsc componment
@@ -334,7 +259,6 @@ <h3>Method Details</h3>
334259
&quot;instanceProperties&quot;: { # Instance Properties. # Output only. All instance properties.
335260
&quot;instanceNumber&quot;: &quot;A String&quot;, # Optional. Instance number.
336261
&quot;machineType&quot;: &quot;A String&quot;, # Optional. Instance machine type.
337-
&quot;role&quot;: &quot;A String&quot;, # Optional. Instance role.
338262
&quot;roles&quot;: [ # Optional. Instance roles.
339263
&quot;A String&quot;,
340264
],
@@ -376,7 +300,6 @@ <h3>Method Details</h3>
376300
&quot;instanceProperties&quot;: { # Instance Properties. # Output only. All instance properties.
377301
&quot;instanceNumber&quot;: &quot;A String&quot;, # Optional. Instance number.
378302
&quot;machineType&quot;: &quot;A String&quot;, # Optional. Instance machine type.
379-
&quot;role&quot;: &quot;A String&quot;, # Optional. Instance role.
380303
&quot;roles&quot;: [ # Optional. Instance roles.
381304
&quot;A String&quot;,
382305
],
@@ -411,7 +334,6 @@ <h3>Method Details</h3>
411334
},
412335
],
413336
},
414-
&quot;state&quot;: &quot;A String&quot;, # Output only. [output only] the current state if a a workload
415337
&quot;workloadType&quot;: &quot;A String&quot;, # Required. The type of the workload
416338
},
417339
],

0 commit comments

Comments
 (0)