Debian Codegraph @

docs/dyn/vmmigration_v1.projects.locations.sources.migratingVms.replicationCycles.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="vmmigration_v1.html">VM Migration API</a> . <a href="vmmigration_v1.projects.html">projects</a> . <a href="vmmigration_v1.projects.locations.html">locations</a> . <a href="vmmigration_v1.projects.locations.sources.html">sources</a> . <a href="vmmigration_v1.projects.locations.sources.migratingVms.html">migratingVms</a> . <a href="vmmigration_v1.projects.locations.sources.migratingVms.replicationCycles.html">replicationCycles</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 ReplicationCycle.</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 ReplicationCycles in a given MigratingVM.</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 ReplicationCycle.
98
99 Args:
100 name: string, Required. The name of the ReplicationCycle. (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 { # ReplicationCycle contains information about the current replication cycle status.
110 &quot;cycleNumber&quot;: 42, # The cycle&#x27;s ordinal number.
111 &quot;endTime&quot;: &quot;A String&quot;, # The time the replication cycle has ended.
112 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # Output only. Provides details on the state of the cycle in case of an error.
113 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
114 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
115 {
116 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
117 },
118 ],
119 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
120 },
121 &quot;name&quot;: &quot;A String&quot;, # The identifier of the ReplicationCycle.
122 &quot;progressPercent&quot;: 42, # The current progress in percentage of this cycle. Was replaced by &#x27;steps&#x27; field, which breaks down the cycle progression more accurately.
123 &quot;startTime&quot;: &quot;A String&quot;, # The time the replication cycle has started.
124 &quot;state&quot;: &quot;A String&quot;, # State of the ReplicationCycle.
125 &quot;steps&quot;: [ # The cycle&#x27;s steps list representing its progress.
126 { # CycleStep holds information about a step progress.
127 &quot;endTime&quot;: &quot;A String&quot;, # The time the cycle step has ended.
128 &quot;initializingReplication&quot;: { # InitializingReplicationStep contains specific step details. # Initializing replication step.
129 },
130 &quot;postProcessing&quot;: { # PostProcessingStep contains specific step details. # Post processing step.
131 },
132 &quot;replicating&quot;: { # ReplicatingStep contains specific step details. # Replicating step.
133 &quot;lastThirtyMinutesAverageBytesPerSecond&quot;: &quot;A String&quot;, # The source disks replication rate for the last 30 minutes in bytes per second.
134 &quot;lastTwoMinutesAverageBytesPerSecond&quot;: &quot;A String&quot;, # The source disks replication rate for the last 2 minutes in bytes per second.
135 &quot;replicatedBytes&quot;: &quot;A String&quot;, # Replicated bytes in the step.
136 &quot;totalBytes&quot;: &quot;A String&quot;, # Total bytes to be handled in the step.
137 },
138 &quot;startTime&quot;: &quot;A String&quot;, # The time the cycle step has started.
139 },
140 ],
141 &quot;totalPauseDuration&quot;: &quot;A String&quot;, # The accumulated duration the replication cycle was paused.
142 &quot;warnings&quot;: [ # Output only. Warnings that occurred during the cycle.
143 { # Represents migration resource warning information that can be used with google.rpc.Status message. MigrationWarning is used to present the user with warning information in migration operations.
144 &quot;actionItem&quot;: { # Provides a localized error message that is safe to return to the user which can be attached to an RPC error. # Output only. Suggested action for solving the warning.
145 &quot;locale&quot;: &quot;A String&quot;, # The locale used following the specification defined at https://www.rfc-editor.org/rfc/bcp/bcp47.txt. Examples are: &quot;en-US&quot;, &quot;fr-CH&quot;, &quot;es-MX&quot;
146 &quot;message&quot;: &quot;A String&quot;, # The localized error message in the above locale.
147 },
148 &quot;code&quot;: &quot;A String&quot;, # The warning code.
149 &quot;helpLinks&quot;: [ # Output only. URL(s) pointing to additional information on handling the current warning.
150 { # Describes a URL link.
151 &quot;description&quot;: &quot;A String&quot;, # Describes what the link offers.
152 &quot;url&quot;: &quot;A String&quot;, # The URL of the link.
153 },
154 ],
155 &quot;warningMessage&quot;: { # Provides a localized error message that is safe to return to the user which can be attached to an RPC error. # Output only. The localized warning message.
156 &quot;locale&quot;: &quot;A String&quot;, # The locale used following the specification defined at https://www.rfc-editor.org/rfc/bcp/bcp47.txt. Examples are: &quot;en-US&quot;, &quot;fr-CH&quot;, &quot;es-MX&quot;
157 &quot;message&quot;: &quot;A String&quot;, # The localized error message in the above locale.
158 },
159 &quot;warningTime&quot;: &quot;A String&quot;, # The time the warning occurred.
160 },
161 ],
162 }</pre>
163 </div>
164
165 <div class="method">
166 <code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
167 <pre>Lists ReplicationCycles in a given MigratingVM.
168
169 Args:
170 parent: string, Required. The parent, which owns this collection of ReplicationCycles. (required)
171 filter: string, Optional. The filter request.
172 orderBy: string, Optional. the order by fields for the result.
173 pageSize: integer, Optional. The maximum number of replication cycles to return. The service may return fewer than this value. If unspecified, at most 100 migrating VMs will be returned. The maximum value is 100; values above 100 will be coerced to 100.
174 pageToken: string, Required. A page token, received from a previous `ListReplicationCycles` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListReplicationCycles` must match the call that provided the page token.
175 x__xgafv: string, V1 error format.
176 Allowed values
177 1 - v1 error format
178 2 - v2 error format
179
180 Returns:
181 An object of the form:
182
183 { # Response message for &#x27;ListReplicationCycles&#x27; request.
184 &quot;nextPageToken&quot;: &quot;A String&quot;, # Output only. A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
185 &quot;replicationCycles&quot;: [ # Output only. The list of replication cycles response.
186 { # ReplicationCycle contains information about the current replication cycle status.
187 &quot;cycleNumber&quot;: 42, # The cycle&#x27;s ordinal number.
188 &quot;endTime&quot;: &quot;A String&quot;, # The time the replication cycle has ended.
189 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # Output only. Provides details on the state of the cycle in case of an error.
190 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
191 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
192 {
193 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
194 },
195 ],
196 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
197 },
198 &quot;name&quot;: &quot;A String&quot;, # The identifier of the ReplicationCycle.
199 &quot;progressPercent&quot;: 42, # The current progress in percentage of this cycle. Was replaced by &#x27;steps&#x27; field, which breaks down the cycle progression more accurately.
200 &quot;startTime&quot;: &quot;A String&quot;, # The time the replication cycle has started.
201 &quot;state&quot;: &quot;A String&quot;, # State of the ReplicationCycle.
202 &quot;steps&quot;: [ # The cycle&#x27;s steps list representing its progress.
203 { # CycleStep holds information about a step progress.
204 &quot;endTime&quot;: &quot;A String&quot;, # The time the cycle step has ended.
205 &quot;initializingReplication&quot;: { # InitializingReplicationStep contains specific step details. # Initializing replication step.
206 },
207 &quot;postProcessing&quot;: { # PostProcessingStep contains specific step details. # Post processing step.
208 },
209 &quot;replicating&quot;: { # ReplicatingStep contains specific step details. # Replicating step.
210 &quot;lastThirtyMinutesAverageBytesPerSecond&quot;: &quot;A String&quot;, # The source disks replication rate for the last 30 minutes in bytes per second.
211 &quot;lastTwoMinutesAverageBytesPerSecond&quot;: &quot;A String&quot;, # The source disks replication rate for the last 2 minutes in bytes per second.
212 &quot;replicatedBytes&quot;: &quot;A String&quot;, # Replicated bytes in the step.
213 &quot;totalBytes&quot;: &quot;A String&quot;, # Total bytes to be handled in the step.
214 },
215 &quot;startTime&quot;: &quot;A String&quot;, # The time the cycle step has started.
216 },
217 ],
218 &quot;totalPauseDuration&quot;: &quot;A String&quot;, # The accumulated duration the replication cycle was paused.
219 &quot;warnings&quot;: [ # Output only. Warnings that occurred during the cycle.
220 { # Represents migration resource warning information that can be used with google.rpc.Status message. MigrationWarning is used to present the user with warning information in migration operations.
221 &quot;actionItem&quot;: { # Provides a localized error message that is safe to return to the user which can be attached to an RPC error. # Output only. Suggested action for solving the warning.
222 &quot;locale&quot;: &quot;A String&quot;, # The locale used following the specification defined at https://www.rfc-editor.org/rfc/bcp/bcp47.txt. Examples are: &quot;en-US&quot;, &quot;fr-CH&quot;, &quot;es-MX&quot;
223 &quot;message&quot;: &quot;A String&quot;, # The localized error message in the above locale.
224 },
225 &quot;code&quot;: &quot;A String&quot;, # The warning code.
226 &quot;helpLinks&quot;: [ # Output only. URL(s) pointing to additional information on handling the current warning.
227 { # Describes a URL link.
228 &quot;description&quot;: &quot;A String&quot;, # Describes what the link offers.
229 &quot;url&quot;: &quot;A String&quot;, # The URL of the link.
230 },
231 ],
232 &quot;warningMessage&quot;: { # Provides a localized error message that is safe to return to the user which can be attached to an RPC error. # Output only. The localized warning message.
233 &quot;locale&quot;: &quot;A String&quot;, # The locale used following the specification defined at https://www.rfc-editor.org/rfc/bcp/bcp47.txt. Examples are: &quot;en-US&quot;, &quot;fr-CH&quot;, &quot;es-MX&quot;
234 &quot;message&quot;: &quot;A String&quot;, # The localized error message in the above locale.
235 },
236 &quot;warningTime&quot;: &quot;A String&quot;, # The time the warning occurred.
237 },
238 ],
239 },
240 ],
241 &quot;unreachable&quot;: [ # Output only. Locations that could not be reached.
242 &quot;A String&quot;,
243 ],
244 }</pre>
245 </div>
246
247 <div class="method">
248 <code class="details" id="list_next">list_next()</code>
249 <pre>Retrieves the next page of results.
250
251 Args:
252 previous_request: The request for the previous page. (required)
253 previous_response: The response from the request for the previous page. (required)
254
255 Returns:
256 A request object that you can call &#x27;execute()&#x27; on to request the next
257 page. Returns None if there are no more items in the collection.
258 </pre>
259 </div>
260
261 </body></html>