You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
returnGeneratorPageableHelpers.CreateAsyncPageable(FirstPageRequest,null, e =>ElasticPoolActivity.DeserializeElasticPoolActivity(e),_elasticPoolActivitiesClientDiagnostics,Pipeline,"ElasticPoolResource.GetElasticPoolActivities","value",null,cancellationToken);
38
+
thrownewNotSupportedException();
78
39
}
79
40
80
41
/// <summary>
@@ -96,10 +57,11 @@ public virtual AsyncPageable<ElasticPoolActivity> GetElasticPoolActivitiesAsync(
96
57
/// </summary>
97
58
/// <param name="cancellationToken"> The cancellation token to use. </param>
98
59
/// <returns> A collection of <see cref="ElasticPoolActivity"/> that may take multiple service requests to iterate over. </returns>
60
+
[Obsolete("This method is deprecated and will be removed in a future release.")]
returnGeneratorPageableHelpers.CreatePageable(FirstPageRequest,null, e =>ElasticPoolActivity.DeserializeElasticPoolActivity(e),_elasticPoolActivitiesClientDiagnostics,Pipeline,"ElasticPoolResource.GetElasticPoolActivities","value",null,cancellationToken);
64
+
thrownewNotSupportedException();
103
65
}
104
66
105
67
/// <summary>
@@ -121,10 +83,11 @@ public virtual Pageable<ElasticPoolActivity> GetElasticPoolActivities(Cancellati
121
83
/// </summary>
122
84
/// <param name="cancellationToken"> The cancellation token to use. </param>
123
85
/// <returns> An async collection of <see cref="ElasticPoolDatabaseActivity"/> that may take multiple service requests to iterate over. </returns>
86
+
[Obsolete("This method is deprecated and will be removed in a future release.")]
returnGeneratorPageableHelpers.CreateAsyncPageable(FirstPageRequest,null, e =>ElasticPoolDatabaseActivity.DeserializeElasticPoolDatabaseActivity(e),_elasticPoolDatabaseActivitiesClientDiagnostics,Pipeline,"ElasticPoolResource.GetElasticPoolDatabaseActivities","value",null,cancellationToken);
90
+
thrownewNotSupportedException();
128
91
}
129
92
130
93
/// <summary>
@@ -146,10 +109,11 @@ public virtual AsyncPageable<ElasticPoolDatabaseActivity> GetElasticPoolDatabase
146
109
/// </summary>
147
110
/// <param name="cancellationToken"> The cancellation token to use. </param>
148
111
/// <returns> A collection of <see cref="ElasticPoolDatabaseActivity"/> that may take multiple service requests to iterate over. </returns>
112
+
[Obsolete("This method is deprecated and will be removed in a future release.")]
returnGeneratorPageableHelpers.CreatePageable(FirstPageRequest,null, e =>ElasticPoolDatabaseActivity.DeserializeElasticPoolDatabaseActivity(e),_elasticPoolDatabaseActivitiesClientDiagnostics,Pipeline,"ElasticPoolResource.GetElasticPoolDatabaseActivities","value",null,cancellationToken);
116
+
thrownewNotSupportedException();
153
117
}
154
118
155
119
/// <summary>
@@ -171,10 +135,11 @@ public virtual Pageable<ElasticPoolDatabaseActivity> GetElasticPoolDatabaseActiv
171
135
/// </summary>
172
136
/// <param name="cancellationToken"> The cancellation token to use. </param>
173
137
/// <returns> An async collection of <see cref="SqlMetricDefinition"/> that may take multiple service requests to iterate over. </returns>
138
+
[Obsolete("This method is deprecated and will be removed in a future release.")]
returnGeneratorPageableHelpers.CreateAsyncPageable(FirstPageRequest,null, e =>SqlMetricDefinition.DeserializeSqlMetricDefinition(e),_metricDefinitionsClientDiagnostics,Pipeline,"ElasticPoolResource.GetMetricDefinitions","value",null,cancellationToken);
142
+
thrownewNotSupportedException();
178
143
}
179
144
180
145
/// <summary>
@@ -196,10 +161,11 @@ public virtual AsyncPageable<SqlMetricDefinition> GetMetricDefinitionsAsync(Canc
196
161
/// </summary>
197
162
/// <param name="cancellationToken"> The cancellation token to use. </param>
198
163
/// <returns> A collection of <see cref="SqlMetricDefinition"/> that may take multiple service requests to iterate over. </returns>
164
+
[Obsolete("This method is deprecated and will be removed in a future release.")]
returnGeneratorPageableHelpers.CreatePageable(FirstPageRequest,null, e =>SqlMetricDefinition.DeserializeSqlMetricDefinition(e),_metricDefinitionsClientDiagnostics,Pipeline,"ElasticPoolResource.GetMetricDefinitions","value",null,cancellationToken);
168
+
thrownewNotSupportedException();
203
169
}
204
170
205
171
/// <summary>
@@ -223,12 +189,11 @@ public virtual Pageable<SqlMetricDefinition> GetMetricDefinitions(CancellationTo
223
189
/// <param name="cancellationToken"> The cancellation token to use. </param>
224
190
/// <exception cref="ArgumentNullException"> <paramref name="filter"/> is null. </exception>
225
191
/// <returns> An async collection of <see cref="SqlMetric"/> that may take multiple service requests to iterate over. </returns>
192
+
[Obsolete("This method is deprecated and will be removed in a future release.")]
returnGeneratorPageableHelpers.CreateAsyncPageable(FirstPageRequest,null, e =>SqlMetric.DeserializeSqlMetric(e),_metricsClientDiagnostics,Pipeline,"ElasticPoolResource.GetMetrics","value",null,cancellationToken);
196
+
thrownewNotSupportedException();
232
197
}
233
198
234
199
/// <summary>
@@ -252,12 +217,11 @@ public virtual AsyncPageable<SqlMetric> GetMetricsAsync(string filter, Cancellat
252
217
/// <param name="cancellationToken"> The cancellation token to use. </param>
253
218
/// <exception cref="ArgumentNullException"> <paramref name="filter"/> is null. </exception>
254
219
/// <returns> A collection of <see cref="SqlMetric"/> that may take multiple service requests to iterate over. </returns>
220
+
[Obsolete("This method is deprecated and will be removed in a future release.")]
returnGeneratorPageableHelpers.CreatePageable(FirstPageRequest,null, e =>SqlMetric.DeserializeSqlMetric(e),_metricsClientDiagnostics,Pipeline,"ElasticPoolResource.GetMetrics","value",null,cancellationToken);
// Copyright (c) Microsoft Corporation. All rights reserved.
2
+
// Licensed under the MIT License.
3
+
4
+
#nullable disable
5
+
6
+
usingSystem;
7
+
usingSystem.ComponentModel;
8
+
usingAzure.Core;
9
+
10
+
namespaceAzure.ResourceManager.Sql.Mocking
11
+
{
12
+
publicpartialclassMockableSqlArmClient
13
+
{
14
+
/// <summary>
15
+
/// Gets an object representing a <see cref="ServiceObjectiveResource"/> along with the instance operations that can be performed on it but with no data.
16
+
/// You can use <see cref="ServiceObjectiveResource.CreateResourceIdentifier" /> to create a <see cref="ServiceObjectiveResource"/> <see cref="ResourceIdentifier"/> from its components.
17
+
/// </summary>
18
+
/// <param name="id"> The resource ID of the resource to get. </param>
19
+
/// <returns> Returns a <see cref="ServiceObjectiveResource"/> object. </returns>
20
+
[Obsolete("This method is deprecated and will be removed in a future release.")]
/// Gets an object representing a <see cref="SqlServerCommunicationLinkResource"/> along with the instance operations that can be performed on it but with no data.
29
+
/// You can use <see cref="SqlServerCommunicationLinkResource.CreateResourceIdentifier" /> to create a <see cref="SqlServerCommunicationLinkResource"/> <see cref="ResourceIdentifier"/> from its components.
30
+
/// </summary>
31
+
/// <param name="id"> The resource ID of the resource to get. </param>
32
+
/// <returns> Returns a <see cref="SqlServerCommunicationLinkResource"/> object. </returns>
33
+
[Obsolete("This method is deprecated and will be removed in a future release.")]
0 commit comments