Debian Codegraph @

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

raw
1 <html><body>
2 <style>
3
4 body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13 }
14
15 body {
16 font-size: 13px;
17 padding: 1em;
18 }
19
20 h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23 }
24
25 h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28 }
29
30 h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34 }
35
36 pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39 }
40
41 pre {
42 margin-top: 0.5em;
43 }
44
45 h1, h2, h3, p {
46 font-family: Arial, sans serif;
47 }
48
49 h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51 }
52
53 .toc_element {
54 margin-top: 0.5em;
55 }
56
57 .firstline {
58 margin-left: 2 em;
59 }
60
61 .method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66 }
67
68 .details {
69 font-weight: bold;
70 font-size: 14px;
71 }
72
73 </style>
74
75 <h1><a href="workloadmanager_v1.html">Workload Manager API</a> . <a href="workloadmanager_v1.projects.html">projects</a> . <a href="workloadmanager_v1.projects.locations.html">locations</a> . <a href="workloadmanager_v1.projects.locations.workloadProfiles.html">workloadProfiles</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="#close">close()</a></code></p>
79 <p class="firstline">Close httplib2 connections.</p>
80 <p class="toc_element">
81 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
82 <p class="firstline">Gets details of a single workload.</p>
83 <p class="toc_element">
84 <code><a href="#list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
85 <p class="firstline">List workloads</p>
86 <p class="toc_element">
87 <code><a href="#list_next">list_next()</a></code></p>
88 <p class="firstline">Retrieves the next page of results.</p>
89 <h3>Method Details</h3>
90 <div class="method">
91 <code class="details" id="close">close()</code>
92 <pre>Close httplib2 connections.</pre>
93 </div>
94
95 <div class="method">
96 <code class="details" id="get">get(name, x__xgafv=None)</code>
97 <pre>Gets details of a single workload.
98
99 Args:
100 name: string, Required. Name of the resource (required)
101 x__xgafv: string, V1 error format.
102 Allowed values
103 1 - v1 error format
104 2 - v2 error format
105
106 Returns:
107 An object of the form:
108
109 { # workload resource
110 &quot;application&quot;: { # The database layer # Optional. The application layer
111 &quot;applicationType&quot;: &quot;A String&quot;, # the application layer
112 &quot;databaseType&quot;: &quot;A String&quot;, # Optional. the database layer
113 &quot;instances&quot;: [ # Optional. instances in a layer
114 { # a vm instance
115 &quot;name&quot;: &quot;A String&quot;, # Output only. name of the VM
116 &quot;region&quot;: &quot;A String&quot;, # Output only. The location of the VM
117 &quot;status&quot;: &quot;A String&quot;, # Output only. The state of the VM
118 },
119 ],
120 &quot;sid&quot;: &quot;A String&quot;, # Output only. system identification of a layer
121 },
122 &quot;ascs&quot;: { # The database layer # Optional. The ascs layer
123 &quot;applicationType&quot;: &quot;A String&quot;, # the application layer
124 &quot;databaseType&quot;: &quot;A String&quot;, # Optional. the database layer
125 &quot;instances&quot;: [ # Optional. instances in a layer
126 { # a vm instance
127 &quot;name&quot;: &quot;A String&quot;, # Output only. name of the VM
128 &quot;region&quot;: &quot;A String&quot;, # Output only. The location of the VM
129 &quot;status&quot;: &quot;A String&quot;, # Output only. The state of the VM
130 },
131 ],
132 &quot;sid&quot;: &quot;A String&quot;, # Output only. system identification of a layer
133 },
134 &quot;database&quot;: { # The database layer # Optional. The database layer
135 &quot;applicationType&quot;: &quot;A String&quot;, # the application layer
136 &quot;databaseType&quot;: &quot;A String&quot;, # Optional. the database layer
137 &quot;instances&quot;: [ # Optional. instances in a layer
138 { # a vm instance
139 &quot;name&quot;: &quot;A String&quot;, # Output only. name of the VM
140 &quot;region&quot;: &quot;A String&quot;, # Output only. The location of the VM
141 &quot;status&quot;: &quot;A String&quot;, # Output only. The state of the VM
142 },
143 ],
144 &quot;sid&quot;: &quot;A String&quot;, # Output only. system identification of a layer
145 },
146 &quot;labels&quot;: { # Optional. such as name, description, version. More example can be found in deployment
147 &quot;a_key&quot;: &quot;A String&quot;,
148 },
149 &quot;name&quot;: &quot;A String&quot;, # Identifier. name of resource names have the form &#x27;projects/{project_id}/workloads/{workload_id}&#x27;
150 &quot;refreshedTime&quot;: &quot;A String&quot;, # Required. time when the workload data was refreshed
151 &quot;sapWorkload&quot;: { # The body of sap workload # The sap workload content
152 &quot;application&quot;: { # The component of sap workload # Output only. the acsc componment
153 &quot;haHosts&quot;: [ # 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.
154 &quot;A String&quot;,
155 ],
156 &quot;resources&quot;: [ # Output only. resources in the component
157 { # The resource on GCP
158 &quot;kind&quot;: &quot;A String&quot;, # Output only. ComputeInstance, ComputeDisk, VPC, Bare Metal server, etc.
159 &quot;name&quot;: &quot;A String&quot;, # Output only. resource name
160 },
161 ],
162 &quot;sid&quot;: &quot;A String&quot;, # Output only. sid is the sap component identificator
163 &quot;topologyType&quot;: &quot;A String&quot;, # The detected topology of the component.
164 },
165 &quot;database&quot;: { # The component of sap workload # Output only. the database componment
166 &quot;haHosts&quot;: [ # 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.
167 &quot;A String&quot;,
168 ],
169 &quot;resources&quot;: [ # Output only. resources in the component
170 { # The resource on GCP
171 &quot;kind&quot;: &quot;A String&quot;, # Output only. ComputeInstance, ComputeDisk, VPC, Bare Metal server, etc.
172 &quot;name&quot;: &quot;A String&quot;, # Output only. resource name
173 },
174 ],
175 &quot;sid&quot;: &quot;A String&quot;, # Output only. sid is the sap component identificator
176 &quot;topologyType&quot;: &quot;A String&quot;, # The detected topology of the component.
177 },
178 &quot;metadata&quot;: { # Output only. The metadata for SAP workload.
179 &quot;a_key&quot;: &quot;A String&quot;,
180 },
181 },
182 &quot;sqlserverWorkload&quot;: { # The body of sqlserver workload # The sqlserver workload content
183 &quot;ags&quot;: [ # Output only. The availability groups for sqlserver
184 { # The availability groups for sqlserver
185 &quot;databases&quot;: [ # Output only. The databases
186 &quot;A String&quot;,
187 ],
188 &quot;name&quot;: &quot;A String&quot;, # Output only. The availability group name
189 &quot;primaryServer&quot;: &quot;A String&quot;, # Output only. The primary server
190 &quot;secondaryServers&quot;: [ # Output only. The secondary servers
191 &quot;A String&quot;,
192 ],
193 },
194 ],
195 &quot;cluster&quot;: { # The cluster for sqlserver # Output only. The cluster for sqlserver
196 &quot;nodes&quot;: [ # Output only. The nodes
197 &quot;A String&quot;,
198 ],
199 &quot;witnessServer&quot;: &quot;A String&quot;, # Output only. The witness server
200 },
201 &quot;databases&quot;: [ # Output only. The databases for sqlserver
202 { # The database for sqlserver
203 &quot;backupFile&quot;: &quot;A String&quot;, # Output only. The backup file
204 &quot;backupSchedule&quot;: &quot;A String&quot;, # Output only. The backup schedule
205 &quot;hostVm&quot;: &quot;A String&quot;, # Output only. The host VM
206 &quot;name&quot;: &quot;A String&quot;, # Output only. The database name
207 },
208 ],
209 &quot;loadBalancerServer&quot;: { # The load balancer for sqlserver # Output only. The load balancer for sqlserver
210 &quot;ip&quot;: &quot;A String&quot;, # Output only. The IP address
211 &quot;vm&quot;: &quot;A String&quot;, # Output only. The VM name
212 },
213 },
214 &quot;state&quot;: &quot;A String&quot;, # Output only. [output only] the current state if a a workload
215 &quot;threeTierWorkload&quot;: { # The body of three tier workload # The 3 tier web app workload content
216 &quot;apiLayer&quot;: { # The API layer server # Output only. The API layer for three tier workload
217 &quot;name&quot;: &quot;A String&quot;, # Output only. The api layer name
218 &quot;osVersion&quot;: &quot;A String&quot;, # Output only. OS information
219 &quot;resources&quot;: [ # Output only. resources in the component
220 { # The resource on GCP
221 &quot;kind&quot;: &quot;A String&quot;, # Output only. ComputeInstance, ComputeDisk, VPC, Bare Metal server, etc.
222 &quot;name&quot;: &quot;A String&quot;, # Output only. resource name
223 },
224 ],
225 },
226 &quot;backend&quot;: { # The backend server # Output only. The backend for three tier workload
227 &quot;backupFile&quot;: &quot;A String&quot;, # Output only. The backup file
228 &quot;backupSchedule&quot;: &quot;A String&quot;, # Output only. The backup schedule
229 &quot;name&quot;: &quot;A String&quot;, # Output only. The backend name
230 &quot;osVersion&quot;: &quot;A String&quot;, # Output only. OS information
231 &quot;resources&quot;: [ # Output only. resources in the component
232 { # The resource on GCP
233 &quot;kind&quot;: &quot;A String&quot;, # Output only. ComputeInstance, ComputeDisk, VPC, Bare Metal server, etc.
234 &quot;name&quot;: &quot;A String&quot;, # Output only. resource name
235 },
236 ],
237 },
238 &quot;endpoint&quot;: &quot;A String&quot;, # Output only. the workload endpoint
239 &quot;frontend&quot;: { # The front end server # Output only. The frontend for three tier workload
240 &quot;name&quot;: &quot;A String&quot;, # Output only. The frontend name
241 &quot;osVersion&quot;: &quot;A String&quot;, # Output only. OS information
242 &quot;resources&quot;: [ # Output only. resources in the component
243 { # The resource on GCP
244 &quot;kind&quot;: &quot;A String&quot;, # Output only. ComputeInstance, ComputeDisk, VPC, Bare Metal server, etc.
245 &quot;name&quot;: &quot;A String&quot;, # Output only. resource name
246 },
247 ],
248 },
249 },
250 &quot;workloadType&quot;: &quot;A String&quot;, # Required. The type of the workload
251 }</pre>
252 </div>
253
254 <div class="method">
255 <code class="details" id="list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
256 <pre>List workloads
257
258 Args:
259 parent: string, Required. Parent value for ListWorkloadRequest (required)
260 filter: string, Optional. Filtering results
261 pageSize: integer, Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
262 pageToken: string, Optional. A token identifying a page of results the server should return.
263 x__xgafv: string, V1 error format.
264 Allowed values
265 1 - v1 error format
266 2 - v2 error format
267
268 Returns:
269 An object of the form:
270
271 { # List workloadResponse returns a response with the list of workload overview
272 &quot;nextPageToken&quot;: &quot;A String&quot;, # Output only. A token identifying a page of results the server should return
273 &quot;unreachable&quot;: [ # Locations that could not be reached.
274 &quot;A String&quot;,
275 ],
276 &quot;workloadOverviews&quot;: [ # Output only. The list of Workload Overview
277 { # a workload profile overview
278 &quot;sapWorkloadOverview&quot;: { # The overview of sap workload # The sap workload overview
279 &quot;appSid&quot;: &quot;A String&quot;, # Output only. The application SID
280 &quot;dbSid&quot;: &quot;A String&quot;, # Output only. The database SID
281 &quot;sapSystemId&quot;: &quot;A String&quot;, # Output only. The UUID for a SAP workload
282 },
283 &quot;sqlserverWorkloadOverview&quot;: { # The overview of sqlserver workload # The sqlserver workload overview
284 &quot;availabilityGroup&quot;: [ # Output only. The availability groups
285 &quot;A String&quot;,
286 ],
287 &quot;sqlserverSystemId&quot;: &quot;A String&quot;, # Output only. The UUID for a Sqlserver workload
288 },
289 &quot;threeTierWorkloadOverview&quot;: { # The overview of three tier workload # The three tier workload overview
290 &quot;threeTierSystemId&quot;: &quot;A String&quot;, # Output only. The UUID for a three tier workload
291 },
292 },
293 ],
294 }</pre>
295 </div>
296
297 <div class="method">
298 <code class="details" id="list_next">list_next()</code>
299 <pre>Retrieves the next page of results.
300
301 Args:
302 previous_request: The request for the previous page. (required)
303 previous_response: The response from the request for the previous page. (required)
304
305 Returns:
306 A request object that you can call &#x27;execute()&#x27; on to request the next
307 page. Returns None if there are no more items in the collection.
308 </pre>
309 </div>
310
311 </body></html>