Debian Codegraph @

docs/dyn/apphub_v1.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_v1.html">App Hub API</a> . <a href="apphub_v1.projects.html">projects</a> . <a href="apphub_v1.projects.locations.html">locations</a> . <a href="apphub_v1.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="#get">get(name, x__xgafv=None)</a></code></p>
82 <p class="firstline">Gets a Discovered Workload in a host project and location.</p>
83 <p class="toc_element">
84 <code><a href="#list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
85 <p class="firstline">Lists Discovered Workloads that can be added to an Application in a host project and location.</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 <p class="toc_element">
90 <code><a href="#lookup">lookup(parent, uri=None, x__xgafv=None)</a></code></p>
91 <p class="firstline">Lists a Discovered Workload in a host project and location, with a given resource URI.</p>
92 <h3>Method Details</h3>
93 <div class="method">
94 <code class="details" id="close">close()</code>
95 <pre>Close httplib2 connections.</pre>
96 </div>
97
98 <div class="method">
99 <code class="details" id="get">get(name, x__xgafv=None)</code>
100 <pre>Gets a Discovered Workload in a host project and location.
101
102 Args:
103 name: string, Required. Fully qualified name of the Discovered Workload to fetch. Expected format: `projects/{project}/locations/{location}/discoveredWorkloads/{discoveredWorkload}`. (required)
104 x__xgafv: string, V1 error format.
105 Allowed values
106 1 - v1 error format
107 2 - v2 error format
108
109 Returns:
110 An object of the form:
111
112 { # 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.
113 &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;`
114 &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.
115 &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}`
116 &quot;a_key&quot;: { # Additional metadata for a Service or Workload.
117 &quot;metadataStruct&quot;: { # Output only. The metadata contents.
118 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
119 },
120 },
121 },
122 &quot;functionalType&quot;: { # The functional type of a service or workload. # Output only. The type of the workload.
123 &quot;type&quot;: &quot;A String&quot;, # Output only. The functional type of a service or workload.
124 },
125 &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.
126 &quot;identity&quot;: { # The identity associated with a service or workload. # Output only. The identity associated with the workload.
127 &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
128 },
129 &quot;location&quot;: &quot;A String&quot;, # Output only. The location that the underlying compute resource resides in (for example, us-west1).
130 &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).
131 },
132 &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.
133 &quot;uri&quot;: &quot;A String&quot;, # Output only. The underlying compute resource uri.
134 },
135 }</pre>
136 </div>
137
138 <div class="method">
139 <code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
140 <pre>Lists Discovered Workloads that can be added to an Application in a host project and location.
141
142 Args:
143 parent: string, Required. Project and location to list Discovered Workloads on. Expected format: `projects/{project}/locations/{location}`. (required)
144 filter: string, Optional. Filtering results.
145 orderBy: string, Optional. Hint for how to order the results.
146 pageSize: integer, Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
147 pageToken: string, Optional. A token identifying a page of results the server should return.
148 x__xgafv: string, V1 error format.
149 Allowed values
150 1 - v1 error format
151 2 - v2 error format
152
153 Returns:
154 An object of the form:
155
156 { # Response for ListDiscoveredWorkloads.
157 &quot;discoveredWorkloads&quot;: [ # List of Discovered Workloads.
158 { # 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.
159 &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;`
160 &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.
161 &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}`
162 &quot;a_key&quot;: { # Additional metadata for a Service or Workload.
163 &quot;metadataStruct&quot;: { # Output only. The metadata contents.
164 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
165 },
166 },
167 },
168 &quot;functionalType&quot;: { # The functional type of a service or workload. # Output only. The type of the workload.
169 &quot;type&quot;: &quot;A String&quot;, # Output only. The functional type of a service or workload.
170 },
171 &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.
172 &quot;identity&quot;: { # The identity associated with a service or workload. # Output only. The identity associated with the workload.
173 &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
174 },
175 &quot;location&quot;: &quot;A String&quot;, # Output only. The location that the underlying compute resource resides in (for example, us-west1).
176 &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).
177 },
178 &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.
179 &quot;uri&quot;: &quot;A String&quot;, # Output only. The underlying compute resource uri.
180 },
181 },
182 ],
183 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token identifying a page of results the server should return.
184 &quot;unreachable&quot;: [ # Locations that could not be reached.
185 &quot;A String&quot;,
186 ],
187 }</pre>
188 </div>
189
190 <div class="method">
191 <code class="details" id="list_next">list_next()</code>
192 <pre>Retrieves the next page of results.
193
194 Args:
195 previous_request: The request for the previous page. (required)
196 previous_response: The response from the request for the previous page. (required)
197
198 Returns:
199 A request object that you can call &#x27;execute()&#x27; on to request the next
200 page. Returns None if there are no more items in the collection.
201 </pre>
202 </div>
203
204 <div class="method">
205 <code class="details" id="lookup">lookup(parent, uri=None, x__xgafv=None)</code>
206 <pre>Lists a Discovered Workload in a host project and location, with a given resource URI.
207
208 Args:
209 parent: string, Required. Host project ID and location to lookup Discovered Workload in. Expected format: `projects/{project}/locations/{location}`. (required)
210 uri: string, Required. Resource URI to find Discovered Workload for. Accepts both project number and project ID and does translation when needed.
211 x__xgafv: string, V1 error format.
212 Allowed values
213 1 - v1 error format
214 2 - v2 error format
215
216 Returns:
217 An object of the form:
218
219 { # Response for LookupDiscoveredWorkload.
220 &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.
221 &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;`
222 &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.
223 &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}`
224 &quot;a_key&quot;: { # Additional metadata for a Service or Workload.
225 &quot;metadataStruct&quot;: { # Output only. The metadata contents.
226 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
227 },
228 },
229 },
230 &quot;functionalType&quot;: { # The functional type of a service or workload. # Output only. The type of the workload.
231 &quot;type&quot;: &quot;A String&quot;, # Output only. The functional type of a service or workload.
232 },
233 &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.
234 &quot;identity&quot;: { # The identity associated with a service or workload. # Output only. The identity associated with the workload.
235 &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
236 },
237 &quot;location&quot;: &quot;A String&quot;, # Output only. The location that the underlying compute resource resides in (for example, us-west1).
238 &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).
239 },
240 &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.
241 &quot;uri&quot;: &quot;A String&quot;, # Output only. The underlying compute resource uri.
242 },
243 },
244 }</pre>
245 </div>
246
247 </body></html>