Debian Codegraph @

docs/dyn/apphub_v1alpha.projects.locations.discoveredWorkloads.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="apphub_v1alpha.html">App Hub API</a> . <a href="apphub_v1alpha.projects.html">projects</a> . <a href="apphub_v1alpha.projects.locations.html">locations</a> . <a href="apphub_v1alpha.projects.locations.discoveredWorkloads.html">discoveredWorkloads</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="#findUnregistered">findUnregistered(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Finds unregistered workloads in a host project and location.</p>
83 <p class="toc_element">
84 <code><a href="#findUnregistered_next">findUnregistered_next()</a></code></p>
85 <p class="firstline">Retrieves the next page of results.</p>
86 <p class="toc_element">
87 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
88 <p class="firstline">Gets a Discovered Workload in a host project and location.</p>
89 <p class="toc_element">
90 <code><a href="#list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
91 <p class="firstline">Lists Discovered Workloads that can be added to an Application in a host project and location.</p>
92 <p class="toc_element">
93 <code><a href="#list_next">list_next()</a></code></p>
94 <p class="firstline">Retrieves the next page of results.</p>
95 <p class="toc_element">
96 <code><a href="#lookup">lookup(parent, uri=None, x__xgafv=None)</a></code></p>
97 <p class="firstline">Lists a Discovered Workload in a host project and location, with a given resource URI.</p>
98 <h3>Method Details</h3>
99 <div class="method">
100 <code class="details" id="close">close()</code>
101 <pre>Close httplib2 connections.</pre>
102 </div>
103
104 <div class="method">
105 <code class="details" id="findUnregistered">findUnregistered(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
106 <pre>Finds unregistered workloads in a host project and location.
107
108 Args:
109 parent: string, Required. Project and location to find unregistered Discovered Workloads on. Expected format: `projects/{project}/locations/{location}`. (required)
110 filter: string, Optional. Filtering results.
111 orderBy: string, Optional. Hint for how to order the results.
112 pageSize: integer, Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
113 pageToken: string, Optional. A token identifying a page of results the server should return.
114 x__xgafv: string, V1 error format.
115 Allowed values
116 1 - v1 error format
117 2 - v2 error format
118
119 Returns:
120 An object of the form:
121
122 { # Response for FindUnregisteredWorkloads.
123 &quot;discoveredWorkloads&quot;: [ # List of Discovered Workloads.
124 { # DiscoveredWorkload is a binary deployment (such as managed instance groups (MIGs) and GKE deployments) that performs the smallest logical subset of business functionality. A discovered workload can be registered to an App Hub Workload.
125 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the discovered workload. Format: `&quot;projects/{host-project-id}/locations/{location}/discoveredWorkloads/{uuid}&quot;`
126 &quot;workloadProperties&quot;: { # Properties of an underlying compute resource represented by the Workload. # Output only. Properties of an underlying compute resource represented by the Workload. These are immutable.
127 &quot;extendedMetadata&quot;: { # Output only. Additional metadata specific to the resource type. The key is a string that identifies the type of metadata and the value is the metadata contents specific to that type. Key format: `apphub.googleapis.com/{metadataType}`
128 &quot;a_key&quot;: { # Additional metadata for a Service or Workload.
129 &quot;metadataStruct&quot;: { # Output only. The metadata contents.
130 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
131 },
132 },
133 },
134 &quot;functionalType&quot;: { # The functional type of a service or workload. # Output only. The type of the workload.
135 &quot;type&quot;: &quot;A String&quot;, # Output only. The functional type of a service or workload.
136 },
137 &quot;gcpProject&quot;: &quot;A String&quot;, # Output only. The service project identifier that the underlying cloud resource resides in. Empty for non-cloud resources.
138 &quot;identity&quot;: { # The identity associated with a service or workload. # Output only. The identity associated with the workload.
139 &quot;principal&quot;: &quot;A String&quot;, # Output only. The principal of the identity. Supported formats: * `sa://my-sa@PROJECT_ID.iam.gserviceaccount.com` for GCP Service Account * `principal://POOL_ID.global.PROJECT_NUMBER.workload.id.goog/ns/NAMESPACE_ID/sa/MANAGED_IDENTITY_ID` for Managed Workload Identity
140 },
141 &quot;location&quot;: &quot;A String&quot;, # Output only. The location that the underlying compute resource resides in (for example, us-west1).
142 &quot;zone&quot;: &quot;A String&quot;, # Output only. The location that the underlying compute resource resides in if it is zonal (for example, us-west1-a).
143 },
144 &quot;workloadReference&quot;: { # Reference of an underlying compute resource represented by the Workload. # Output only. Reference of an underlying compute resource represented by the Workload. These are immutable.
145 &quot;uri&quot;: &quot;A String&quot;, # Output only. The underlying compute resource uri.
146 },
147 },
148 ],
149 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token identifying a page of results the server should return.
150 &quot;unreachable&quot;: [ # Locations that could not be reached.
151 &quot;A String&quot;,
152 ],
153 }</pre>
154 </div>
155
156 <div class="method">
157 <code class="details" id="findUnregistered_next">findUnregistered_next()</code>
158 <pre>Retrieves the next page of results.
159
160 Args:
161 previous_request: The request for the previous page. (required)
162 previous_response: The response from the request for the previous page. (required)
163
164 Returns:
165 A request object that you can call &#x27;execute()&#x27; on to request the next
166 page. Returns None if there are no more items in the collection.
167 </pre>
168 </div>
169
170 <div class="method">
171 <code class="details" id="get">get(name, x__xgafv=None)</code>
172 <pre>Gets a Discovered Workload in a host project and location.
173
174 Args:
175 name: string, Required. Fully qualified name of the Discovered Workload to fetch. Expected format: `projects/{project}/locations/{location}/discoveredWorkloads/{discoveredWorkload}`. (required)
176 x__xgafv: string, V1 error format.
177 Allowed values
178 1 - v1 error format
179 2 - v2 error format
180
181 Returns:
182 An object of the form:
183
184 { # DiscoveredWorkload is a binary deployment (such as managed instance groups (MIGs) and GKE deployments) that performs the smallest logical subset of business functionality. A discovered workload can be registered to an App Hub Workload.
185 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the discovered workload. Format: `&quot;projects/{host-project-id}/locations/{location}/discoveredWorkloads/{uuid}&quot;`
186 &quot;workloadProperties&quot;: { # Properties of an underlying compute resource represented by the Workload. # Output only. Properties of an underlying compute resource represented by the Workload. These are immutable.
187 &quot;extendedMetadata&quot;: { # Output only. Additional metadata specific to the resource type. The key is a string that identifies the type of metadata and the value is the metadata contents specific to that type. Key format: `apphub.googleapis.com/{metadataType}`
188 &quot;a_key&quot;: { # Additional metadata for a Service or Workload.
189 &quot;metadataStruct&quot;: { # Output only. The metadata contents.
190 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
191 },
192 },
193 },
194 &quot;functionalType&quot;: { # The functional type of a service or workload. # Output only. The type of the workload.
195 &quot;type&quot;: &quot;A String&quot;, # Output only. The functional type of a service or workload.
196 },
197 &quot;gcpProject&quot;: &quot;A String&quot;, # Output only. The service project identifier that the underlying cloud resource resides in. Empty for non-cloud resources.
198 &quot;identity&quot;: { # The identity associated with a service or workload. # Output only. The identity associated with the workload.
199 &quot;principal&quot;: &quot;A String&quot;, # Output only. The principal of the identity. Supported formats: * `sa://my-sa@PROJECT_ID.iam.gserviceaccount.com` for GCP Service Account * `principal://POOL_ID.global.PROJECT_NUMBER.workload.id.goog/ns/NAMESPACE_ID/sa/MANAGED_IDENTITY_ID` for Managed Workload Identity
200 },
201 &quot;location&quot;: &quot;A String&quot;, # Output only. The location that the underlying compute resource resides in (for example, us-west1).
202 &quot;zone&quot;: &quot;A String&quot;, # Output only. The location that the underlying compute resource resides in if it is zonal (for example, us-west1-a).
203 },
204 &quot;workloadReference&quot;: { # Reference of an underlying compute resource represented by the Workload. # Output only. Reference of an underlying compute resource represented by the Workload. These are immutable.
205 &quot;uri&quot;: &quot;A String&quot;, # Output only. The underlying compute resource uri.
206 },
207 }</pre>
208 </div>
209
210 <div class="method">
211 <code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
212 <pre>Lists Discovered Workloads that can be added to an Application in a host project and location.
213
214 Args:
215 parent: string, Required. Project and location to list Discovered Workloads on. Expected format: `projects/{project}/locations/{location}`. (required)
216 filter: string, Optional. Filtering results.
217 orderBy: string, Optional. Hint for how to order the results.
218 pageSize: integer, Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
219 pageToken: string, Optional. A token identifying a page of results the server should return.
220 x__xgafv: string, V1 error format.
221 Allowed values
222 1 - v1 error format
223 2 - v2 error format
224
225 Returns:
226 An object of the form:
227
228 { # Response for ListDiscoveredWorkloads.
229 &quot;discoveredWorkloads&quot;: [ # List of Discovered Workloads.
230 { # DiscoveredWorkload is a binary deployment (such as managed instance groups (MIGs) and GKE deployments) that performs the smallest logical subset of business functionality. A discovered workload can be registered to an App Hub Workload.
231 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the discovered workload. Format: `&quot;projects/{host-project-id}/locations/{location}/discoveredWorkloads/{uuid}&quot;`
232 &quot;workloadProperties&quot;: { # Properties of an underlying compute resource represented by the Workload. # Output only. Properties of an underlying compute resource represented by the Workload. These are immutable.
233 &quot;extendedMetadata&quot;: { # Output only. Additional metadata specific to the resource type. The key is a string that identifies the type of metadata and the value is the metadata contents specific to that type. Key format: `apphub.googleapis.com/{metadataType}`
234 &quot;a_key&quot;: { # Additional metadata for a Service or Workload.
235 &quot;metadataStruct&quot;: { # Output only. The metadata contents.
236 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
237 },
238 },
239 },
240 &quot;functionalType&quot;: { # The functional type of a service or workload. # Output only. The type of the workload.
241 &quot;type&quot;: &quot;A String&quot;, # Output only. The functional type of a service or workload.
242 },
243 &quot;gcpProject&quot;: &quot;A String&quot;, # Output only. The service project identifier that the underlying cloud resource resides in. Empty for non-cloud resources.
244 &quot;identity&quot;: { # The identity associated with a service or workload. # Output only. The identity associated with the workload.
245 &quot;principal&quot;: &quot;A String&quot;, # Output only. The principal of the identity. Supported formats: * `sa://my-sa@PROJECT_ID.iam.gserviceaccount.com` for GCP Service Account * `principal://POOL_ID.global.PROJECT_NUMBER.workload.id.goog/ns/NAMESPACE_ID/sa/MANAGED_IDENTITY_ID` for Managed Workload Identity
246 },
247 &quot;location&quot;: &quot;A String&quot;, # Output only. The location that the underlying compute resource resides in (for example, us-west1).
248 &quot;zone&quot;: &quot;A String&quot;, # Output only. The location that the underlying compute resource resides in if it is zonal (for example, us-west1-a).
249 },
250 &quot;workloadReference&quot;: { # Reference of an underlying compute resource represented by the Workload. # Output only. Reference of an underlying compute resource represented by the Workload. These are immutable.
251 &quot;uri&quot;: &quot;A String&quot;, # Output only. The underlying compute resource uri.
252 },
253 },
254 ],
255 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token identifying a page of results the server should return.
256 &quot;unreachable&quot;: [ # Locations that could not be reached.
257 &quot;A String&quot;,
258 ],
259 }</pre>
260 </div>
261
262 <div class="method">
263 <code class="details" id="list_next">list_next()</code>
264 <pre>Retrieves the next page of results.
265
266 Args:
267 previous_request: The request for the previous page. (required)
268 previous_response: The response from the request for the previous page. (required)
269
270 Returns:
271 A request object that you can call &#x27;execute()&#x27; on to request the next
272 page. Returns None if there are no more items in the collection.
273 </pre>
274 </div>
275
276 <div class="method">
277 <code class="details" id="lookup">lookup(parent, uri=None, x__xgafv=None)</code>
278 <pre>Lists a Discovered Workload in a host project and location, with a given resource URI.
279
280 Args:
281 parent: string, Required. Host project ID and location to lookup Discovered Workload in. Expected format: `projects/{project}/locations/{location}`. (required)
282 uri: string, Required. Resource URI to find Discovered Workload for. Accepts both project number and project ID and does translation when needed.
283 x__xgafv: string, V1 error format.
284 Allowed values
285 1 - v1 error format
286 2 - v2 error format
287
288 Returns:
289 An object of the form:
290
291 { # Response for LookupDiscoveredWorkload.
292 &quot;discoveredWorkload&quot;: { # DiscoveredWorkload is a binary deployment (such as managed instance groups (MIGs) and GKE deployments) that performs the smallest logical subset of business functionality. A discovered workload can be registered to an App Hub Workload. # Discovered Workload if exists, empty otherwise.
293 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the discovered workload. Format: `&quot;projects/{host-project-id}/locations/{location}/discoveredWorkloads/{uuid}&quot;`
294 &quot;workloadProperties&quot;: { # Properties of an underlying compute resource represented by the Workload. # Output only. Properties of an underlying compute resource represented by the Workload. These are immutable.
295 &quot;extendedMetadata&quot;: { # Output only. Additional metadata specific to the resource type. The key is a string that identifies the type of metadata and the value is the metadata contents specific to that type. Key format: `apphub.googleapis.com/{metadataType}`
296 &quot;a_key&quot;: { # Additional metadata for a Service or Workload.
297 &quot;metadataStruct&quot;: { # Output only. The metadata contents.
298 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
299 },
300 },
301 },
302 &quot;functionalType&quot;: { # The functional type of a service or workload. # Output only. The type of the workload.
303 &quot;type&quot;: &quot;A String&quot;, # Output only. The functional type of a service or workload.
304 },
305 &quot;gcpProject&quot;: &quot;A String&quot;, # Output only. The service project identifier that the underlying cloud resource resides in. Empty for non-cloud resources.
306 &quot;identity&quot;: { # The identity associated with a service or workload. # Output only. The identity associated with the workload.
307 &quot;principal&quot;: &quot;A String&quot;, # Output only. The principal of the identity. Supported formats: * `sa://my-sa@PROJECT_ID.iam.gserviceaccount.com` for GCP Service Account * `principal://POOL_ID.global.PROJECT_NUMBER.workload.id.goog/ns/NAMESPACE_ID/sa/MANAGED_IDENTITY_ID` for Managed Workload Identity
308 },
309 &quot;location&quot;: &quot;A String&quot;, # Output only. The location that the underlying compute resource resides in (for example, us-west1).
310 &quot;zone&quot;: &quot;A String&quot;, # Output only. The location that the underlying compute resource resides in if it is zonal (for example, us-west1-a).
311 },
312 &quot;workloadReference&quot;: { # Reference of an underlying compute resource represented by the Workload. # Output only. Reference of an underlying compute resource represented by the Workload. These are immutable.
313 &quot;uri&quot;: &quot;A String&quot;, # Output only. The underlying compute resource uri.
314 },
315 },
316 }</pre>
317 </div>
318
319 </body></html>