1
+ // Copyright (c) Microsoft Corporation. All rights reserved.
2
+ // Licensed under the MIT License. See License.txt in the project root for license information.
3
+ // Code generated by Microsoft (R) AutoRest Code Generator.
4
+ // Changes may cause incorrect behavior and will be lost if the code is regenerated.
5
+
6
+ namespace Microsoft . Azure . Management . ServiceBus
7
+ {
8
+ using Microsoft . Rest . Azure ;
9
+ using Models ;
10
+
11
+ /// <summary>
12
+ /// MigrationConfigsOperations operations.
13
+ /// </summary>
14
+ public partial interface IMigrationConfigsOperations
15
+ {
16
+ /// <summary>
17
+ /// Gets all migrationConfigurations
18
+ /// </summary>
19
+ /// <remarks>
20
+ /// Gets all migrationConfigurations
21
+ /// </remarks>
22
+ /// <param name='resourceGroupName'>
23
+ /// Name of the Resource group within the Azure subscription.
24
+ /// </param>
25
+ /// <param name='namespaceName'>
26
+ /// The namespace name
27
+ /// </param>
28
+ /// <param name='customHeaders'>
29
+ /// The headers that will be added to request.
30
+ /// </param>
31
+ /// <param name='cancellationToken'>
32
+ /// The cancellation token.
33
+ /// </param>
34
+ /// <exception cref="Microsoft.Rest.Azure.CloudException">
35
+ /// Thrown when the operation returned an invalid status code
36
+ /// </exception>
37
+ /// <exception cref="Microsoft.Rest.SerializationException">
38
+ /// Thrown when unable to deserialize the response
39
+ /// </exception>
40
+ System . Threading . Tasks . Task < Microsoft . Rest . Azure . AzureOperationResponse < Microsoft . Rest . Azure . IPage < MigrationConfigProperties > > > ListWithHttpMessagesAsync ( string resourceGroupName , string namespaceName , System . Collections . Generic . Dictionary < string , System . Collections . Generic . List < string > > customHeaders = null , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) ;
41
+
42
+ /// <summary>
43
+ /// Creates Migration configuration and starts migration of entities from
44
+ /// Standard to Premium namespace
45
+ /// </summary>
46
+ /// <remarks>
47
+ /// Creates Migration configuration and starts migration of entities from
48
+ /// Standard to Premium namespace
49
+ /// </remarks>
50
+ /// <param name='resourceGroupName'>
51
+ /// Name of the Resource group within the Azure subscription.
52
+ /// </param>
53
+ /// <param name='namespaceName'>
54
+ /// The namespace name
55
+ /// </param>
56
+ /// <param name='parameters'>
57
+ /// Parameters required to create Migration Configuration
58
+ /// </param>
59
+ /// <param name='customHeaders'>
60
+ /// The headers that will be added to request.
61
+ /// </param>
62
+ /// <param name='cancellationToken'>
63
+ /// The cancellation token.
64
+ /// </param>
65
+ /// <exception cref="Microsoft.Rest.Azure.CloudException">
66
+ /// Thrown when the operation returned an invalid status code
67
+ /// </exception>
68
+ /// <exception cref="Microsoft.Rest.SerializationException">
69
+ /// Thrown when unable to deserialize the response
70
+ /// </exception>
71
+ System . Threading . Tasks . Task < Microsoft . Rest . Azure . AzureOperationResponse < MigrationConfigProperties > > CreateAndStartMigrationWithHttpMessagesAsync ( string resourceGroupName , string namespaceName , MigrationConfigProperties parameters , System . Collections . Generic . Dictionary < string , System . Collections . Generic . List < string > > customHeaders = null , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) ;
72
+
73
+ /// <summary>
74
+ /// Deletes a MigrationConfiguration
75
+ /// </summary>
76
+ /// <remarks>
77
+ /// Deletes a MigrationConfiguration
78
+ /// </remarks>
79
+ /// <param name='resourceGroupName'>
80
+ /// Name of the Resource group within the Azure subscription.
81
+ /// </param>
82
+ /// <param name='namespaceName'>
83
+ /// The namespace name
84
+ /// </param>
85
+ /// <param name='customHeaders'>
86
+ /// The headers that will be added to request.
87
+ /// </param>
88
+ /// <param name='cancellationToken'>
89
+ /// The cancellation token.
90
+ /// </param>
91
+ /// <exception cref="Microsoft.Rest.Azure.CloudException">
92
+ /// Thrown when the operation returned an invalid status code
93
+ /// </exception>
94
+ System . Threading . Tasks . Task < Microsoft . Rest . Azure . AzureOperationResponse > DeleteWithHttpMessagesAsync ( string resourceGroupName , string namespaceName , System . Collections . Generic . Dictionary < string , System . Collections . Generic . List < string > > customHeaders = null , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) ;
95
+
96
+ /// <summary>
97
+ /// Retrieves Migration Config
98
+ /// </summary>
99
+ /// <remarks>
100
+ /// Retrieves Migration Config
101
+ /// </remarks>
102
+ /// <param name='resourceGroupName'>
103
+ /// Name of the Resource group within the Azure subscription.
104
+ /// </param>
105
+ /// <param name='namespaceName'>
106
+ /// The namespace name
107
+ /// </param>
108
+ /// <param name='customHeaders'>
109
+ /// The headers that will be added to request.
110
+ /// </param>
111
+ /// <param name='cancellationToken'>
112
+ /// The cancellation token.
113
+ /// </param>
114
+ /// <exception cref="Microsoft.Rest.Azure.CloudException">
115
+ /// Thrown when the operation returned an invalid status code
116
+ /// </exception>
117
+ /// <exception cref="Microsoft.Rest.SerializationException">
118
+ /// Thrown when unable to deserialize the response
119
+ /// </exception>
120
+ System . Threading . Tasks . Task < Microsoft . Rest . Azure . AzureOperationResponse < MigrationConfigProperties > > GetWithHttpMessagesAsync ( string resourceGroupName , string namespaceName , System . Collections . Generic . Dictionary < string , System . Collections . Generic . List < string > > customHeaders = null , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) ;
121
+
122
+ /// <summary>
123
+ /// This operation Completes Migration of entities by pointing the connection
124
+ /// strings to Premium namespace and any entities created after the operation
125
+ /// will be under Premium Namespace. CompleteMigration operation will fail when
126
+ /// entity migration is in-progress.
127
+ /// </summary>
128
+ /// <remarks>
129
+ /// This operation Completes Migration of entities by pointing the connection
130
+ /// strings to Premium namespace and any entities created after the operation
131
+ /// will be under Premium Namespace. CompleteMigration operation will fail when
132
+ /// entity migration is in-progress.
133
+ /// </remarks>
134
+ /// <param name='resourceGroupName'>
135
+ /// Name of the Resource group within the Azure subscription.
136
+ /// </param>
137
+ /// <param name='namespaceName'>
138
+ /// The namespace name
139
+ /// </param>
140
+ /// <param name='customHeaders'>
141
+ /// The headers that will be added to request.
142
+ /// </param>
143
+ /// <param name='cancellationToken'>
144
+ /// The cancellation token.
145
+ /// </param>
146
+ /// <exception cref="Microsoft.Rest.Azure.CloudException">
147
+ /// Thrown when the operation returned an invalid status code
148
+ /// </exception>
149
+ System . Threading . Tasks . Task < Microsoft . Rest . Azure . AzureOperationResponse > CompleteMigrationWithHttpMessagesAsync ( string resourceGroupName , string namespaceName , System . Collections . Generic . Dictionary < string , System . Collections . Generic . List < string > > customHeaders = null , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) ;
150
+
151
+ /// <summary>
152
+ /// This operation reverts Migration
153
+ /// </summary>
154
+ /// <remarks>
155
+ /// This operation reverts Migration
156
+ /// </remarks>
157
+ /// <param name='resourceGroupName'>
158
+ /// Name of the Resource group within the Azure subscription.
159
+ /// </param>
160
+ /// <param name='namespaceName'>
161
+ /// The namespace name
162
+ /// </param>
163
+ /// <param name='customHeaders'>
164
+ /// The headers that will be added to request.
165
+ /// </param>
166
+ /// <param name='cancellationToken'>
167
+ /// The cancellation token.
168
+ /// </param>
169
+ /// <exception cref="Microsoft.Rest.Azure.CloudException">
170
+ /// Thrown when the operation returned an invalid status code
171
+ /// </exception>
172
+ System . Threading . Tasks . Task < Microsoft . Rest . Azure . AzureOperationResponse > RevertWithHttpMessagesAsync ( string resourceGroupName , string namespaceName , System . Collections . Generic . Dictionary < string , System . Collections . Generic . List < string > > customHeaders = null , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) ;
173
+
174
+ /// <summary>
175
+ /// Creates Migration configuration and starts migration of entities from
176
+ /// Standard to Premium namespace
177
+ /// </summary>
178
+ /// <remarks>
179
+ /// Creates Migration configuration and starts migration of entities from
180
+ /// Standard to Premium namespace
181
+ /// </remarks>
182
+ /// <param name='resourceGroupName'>
183
+ /// Name of the Resource group within the Azure subscription.
184
+ /// </param>
185
+ /// <param name='namespaceName'>
186
+ /// The namespace name
187
+ /// </param>
188
+ /// <param name='parameters'>
189
+ /// Parameters required to create Migration Configuration
190
+ /// </param>
191
+ /// <param name='customHeaders'>
192
+ /// The headers that will be added to request.
193
+ /// </param>
194
+ /// <param name='cancellationToken'>
195
+ /// The cancellation token.
196
+ /// </param>
197
+ /// <exception cref="Microsoft.Rest.Azure.CloudException">
198
+ /// Thrown when the operation returned an invalid status code
199
+ /// </exception>
200
+ /// <exception cref="Microsoft.Rest.SerializationException">
201
+ /// Thrown when unable to deserialize the response
202
+ /// </exception>
203
+ System . Threading . Tasks . Task < Microsoft . Rest . Azure . AzureOperationResponse < MigrationConfigProperties > > BeginCreateAndStartMigrationWithHttpMessagesAsync ( string resourceGroupName , string namespaceName , MigrationConfigProperties parameters , System . Collections . Generic . Dictionary < string , System . Collections . Generic . List < string > > customHeaders = null , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) ;
204
+
205
+ /// <summary>
206
+ /// Gets all migrationConfigurations
207
+ /// </summary>
208
+ /// <remarks>
209
+ /// Gets all migrationConfigurations
210
+ /// </remarks>
211
+ /// <param name='nextPageLink'>
212
+ /// The NextLink from the previous successful call to List operation.
213
+ /// </param>
214
+ /// <param name='customHeaders'>
215
+ /// The headers that will be added to request.
216
+ /// </param>
217
+ /// <param name='cancellationToken'>
218
+ /// The cancellation token.
219
+ /// </param>
220
+ /// <exception cref="Microsoft.Rest.Azure.CloudException">
221
+ /// Thrown when the operation returned an invalid status code
222
+ /// </exception>
223
+ /// <exception cref="Microsoft.Rest.SerializationException">
224
+ /// Thrown when unable to deserialize the response
225
+ /// </exception>
226
+ System . Threading . Tasks . Task < Microsoft . Rest . Azure . AzureOperationResponse < Microsoft . Rest . Azure . IPage < MigrationConfigProperties > > > ListNextWithHttpMessagesAsync ( string nextPageLink , System . Collections . Generic . Dictionary < string , System . Collections . Generic . List < string > > customHeaders = null , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) ;
227
+
228
+ }
229
+ }
0 commit comments