Skip to content

Commit d8ded70

Browse files
yoshi-automationsofisl
authored andcommitted
feat(workloadmanager): update the API
#### workloadmanager:v1 The following keys were added: - schemas.SapComponent.properties.haHosts.description - schemas.SapComponent.properties.haHosts.items.type - schemas.SapComponent.properties.haHosts.type - schemas.SapComponent.properties.topologyType.description - schemas.SapComponent.properties.topologyType.enum - schemas.SapComponent.properties.topologyType.enumDescriptions - schemas.SapComponent.properties.topologyType.type
1 parent fb7c2ce commit d8ded70

File tree

2 files changed

+30
-1
lines changed

2 files changed

+30
-1
lines changed

discovery/workloadmanager-v1.json

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -838,7 +838,7 @@
838838
}
839839
}
840840
},
841-
"revision": "20240208",
841+
"revision": "20240228",
842842
"rootUrl": "https://workloadmanager.googleapis.com/",
843843
"schemas": {
844844
"APILayerServer": {
@@ -1826,6 +1826,13 @@
18261826
"description": "The component of sap workload",
18271827
"id": "SapComponent",
18281828
"properties": {
1829+
"haHosts": {
1830+
"description": "A list of host URIs that are part of the HA configuration if present. An empty list indicates the component is not configured for HA.",
1831+
"items": {
1832+
"type": "string"
1833+
},
1834+
"type": "array"
1835+
},
18291836
"resources": {
18301837
"description": "Output only. resources in the component",
18311838
"items": {
@@ -1838,6 +1845,20 @@
18381845
"description": "Output only. sid is the sap component identificator",
18391846
"readOnly": true,
18401847
"type": "string"
1848+
},
1849+
"topologyType": {
1850+
"description": "The detected topology of the component.",
1851+
"enum": [
1852+
"TOPOLOGY_TYPE_UNSPECIFIED",
1853+
"TOPOLOGY_SCALE_UP",
1854+
"TOPOLOGY_SCALE_OUT"
1855+
],
1856+
"enumDescriptions": [
1857+
"Unspecified topology.",
1858+
"A scale-up single node system.",
1859+
"A scale-out multi-node system."
1860+
],
1861+
"type": "string"
18411862
}
18421863
},
18431864
"type": "object"

src/apis/workloadmanager/v1.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -796,6 +796,10 @@ export namespace workloadmanager_v1 {
796796
* The component of sap workload
797797
*/
798798
export interface Schema$SapComponent {
799+
/**
800+
* A list of host URIs that are part of the HA configuration if present. An empty list indicates the component is not configured for HA.
801+
*/
802+
haHosts?: string[] | null;
799803
/**
800804
* Output only. resources in the component
801805
*/
@@ -804,6 +808,10 @@ export namespace workloadmanager_v1 {
804808
* Output only. sid is the sap component identificator
805809
*/
806810
sid?: string | null;
811+
/**
812+
* The detected topology of the component.
813+
*/
814+
topologyType?: string | null;
807815
}
808816
/**
809817
* The schema of SAP system discovery data.

0 commit comments

Comments
 (0)