Skip to content

Commit 91e7417

Browse files
[skip ci] Archive 19b73c7 (#28707)
1 parent 19b73c7 commit 91e7417

13 files changed

+544
-69
lines changed

generated/DataTransfer/DataTransfer.Autorest/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
[assembly: System.Reflection.AssemblyCopyrightAttribute("Copyright © Microsoft")]
2121
[assembly: System.Reflection.AssemblyProductAttribute("Microsoft Azure PowerShell")]
2222
[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft Azure PowerShell - DataTransfer")]
23-
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0")]
24-
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0")]
23+
[assembly: System.Reflection.AssemblyFileVersionAttribute("2.0.0")]
24+
[assembly: System.Reflection.AssemblyVersionAttribute("2.0.0")]
2525
[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)]
2626
[assembly: System.CLSCompliantAttribute(false)]

generated/DataTransfer/DataTransfer.Autorest/exports/Get-AzDataTransferFlowProfile.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ ADT.Models.IListFlowProfilesRequest
3131
.Outputs
3232
ADT.Models.IFlowProfile
3333
.Outputs
34-
ADT.Models.IFlowProfileMetadata
34+
ADT.Models.IFlowProfilesListResult
3535
.Notes
3636
COMPLEX PARAMETER PROPERTIES
3737
@@ -61,7 +61,7 @@ PIPELINEINPUTOBJECT <IDataTransferIdentity>: Identity Parameter
6161
https://learn.microsoft.com/powershell/module/az.datatransfer/get-azdatatransferflowprofile
6262
#>
6363
function Get-AzDataTransferFlowProfile {
64-
[OutputType([ADT.Models.IFlowProfile], [ADT.Models.IFlowProfileMetadata])]
64+
[OutputType([ADT.Models.IFlowProfile], [ADT.Models.IFlowProfilesListResult])]
6565
[CmdletBinding(DefaultParameterSetName='ListExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
6666
param(
6767
[Parameter(ParameterSetName='Get', Mandatory)]

generated/DataTransfer/DataTransfer.Autorest/exports/ProxyCmdletDefinitions.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1275,7 +1275,7 @@ ADT.Models.IListFlowProfilesRequest
12751275
.Outputs
12761276
ADT.Models.IFlowProfile
12771277
.Outputs
1278-
ADT.Models.IFlowProfileMetadata
1278+
ADT.Models.IFlowProfilesListResult
12791279
.Notes
12801280
COMPLEX PARAMETER PROPERTIES
12811281
@@ -1305,7 +1305,7 @@ PIPELINEINPUTOBJECT <IDataTransferIdentity>: Identity Parameter
13051305
https://learn.microsoft.com/powershell/module/az.datatransfer/get-azdatatransferflowprofile
13061306
#>
13071307
function Get-AzDataTransferFlowProfile {
1308-
[OutputType([ADT.Models.IFlowProfile], [ADT.Models.IFlowProfileMetadata])]
1308+
[OutputType([ADT.Models.IFlowProfile], [ADT.Models.IFlowProfilesListResult])]
13091309
[CmdletBinding(DefaultParameterSetName='ListExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
13101310
param(
13111311
[Parameter(ParameterSetName='Get', Mandatory)]
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"generate_Id": "20609426-b92c-4807-a758-9ab12ecd2318"
2+
"generate_Id": "87d32e10-daae-4ed4-bd86-53b195130622"
33
}

generated/DataTransfer/DataTransfer.Autorest/generated/api/DataTransfer.cs

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public partial class DataTransfer
2525
/// <returns>
2626
/// A <see cref="global::System.Threading.Tasks.Task" /> that will be complete when handling of the response is completed.
2727
/// </returns>
28-
public async global::System.Threading.Tasks.Task AzureDataTransferListFlowProfiles(ADT.Models.IListFlowProfilesRequest body, global::System.Func<global::System.Net.Http.HttpResponseMessage, global::System.Threading.Tasks.Task<System.Collections.Generic.List<ADT.Models.IFlowProfileMetadata>>, global::System.Threading.Tasks.Task> onOk, global::System.Func<global::System.Net.Http.HttpResponseMessage, global::System.Threading.Tasks.Task<ADT.Models.IErrorResponse>, global::System.Threading.Tasks.Task> onDefault, ADT.Runtime.IEventListener eventListener, ADT.Runtime.ISendAsync sender, ADT.Runtime.SerializationMode serializationMode = ADT.Runtime.SerializationMode.IncludeCreate|ADT.Runtime.SerializationMode.IncludeUpdate)
28+
public async global::System.Threading.Tasks.Task AzureDataTransferListFlowProfiles(ADT.Models.IListFlowProfilesRequest body, global::System.Func<global::System.Net.Http.HttpResponseMessage, global::System.Threading.Tasks.Task<ADT.Models.IFlowProfilesListResult>, global::System.Threading.Tasks.Task> onOk, global::System.Func<global::System.Net.Http.HttpResponseMessage, global::System.Threading.Tasks.Task<ADT.Models.IErrorResponse>, global::System.Threading.Tasks.Task> onDefault, ADT.Runtime.IEventListener eventListener, ADT.Runtime.ISendAsync sender, ADT.Runtime.SerializationMode serializationMode = ADT.Runtime.SerializationMode.IncludeCreate|ADT.Runtime.SerializationMode.IncludeUpdate)
2929
{
3030
var apiVersion = @"2025-05-30-preview";
3131
// Constant Parameters
@@ -67,7 +67,7 @@ public partial class DataTransfer
6767
/// <returns>
6868
/// A <see cref="global::System.Threading.Tasks.Task" /> that will be complete when handling of the response is completed.
6969
/// </returns>
70-
public async global::System.Threading.Tasks.Task AzureDataTransferListFlowProfilesViaIdentity(global::System.String viaIdentity, ADT.Models.IListFlowProfilesRequest body, global::System.Func<global::System.Net.Http.HttpResponseMessage, global::System.Threading.Tasks.Task<System.Collections.Generic.List<ADT.Models.IFlowProfileMetadata>>, global::System.Threading.Tasks.Task> onOk, global::System.Func<global::System.Net.Http.HttpResponseMessage, global::System.Threading.Tasks.Task<ADT.Models.IErrorResponse>, global::System.Threading.Tasks.Task> onDefault, ADT.Runtime.IEventListener eventListener, ADT.Runtime.ISendAsync sender, ADT.Runtime.SerializationMode serializationMode = ADT.Runtime.SerializationMode.IncludeCreate|ADT.Runtime.SerializationMode.IncludeUpdate)
70+
public async global::System.Threading.Tasks.Task AzureDataTransferListFlowProfilesViaIdentity(global::System.String viaIdentity, ADT.Models.IListFlowProfilesRequest body, global::System.Func<global::System.Net.Http.HttpResponseMessage, global::System.Threading.Tasks.Task<ADT.Models.IFlowProfilesListResult>, global::System.Threading.Tasks.Task> onOk, global::System.Func<global::System.Net.Http.HttpResponseMessage, global::System.Threading.Tasks.Task<ADT.Models.IErrorResponse>, global::System.Threading.Tasks.Task> onDefault, ADT.Runtime.IEventListener eventListener, ADT.Runtime.ISendAsync sender, ADT.Runtime.SerializationMode serializationMode = ADT.Runtime.SerializationMode.IncludeCreate|ADT.Runtime.SerializationMode.IncludeUpdate)
7171
{
7272
var apiVersion = @"2025-05-30-preview";
7373
// Constant Parameters
@@ -113,10 +113,10 @@ public partial class DataTransfer
113113
/// <param name="sender">an instance of an ADT.Runtime.ISendAsync pipeline to use to make the request.</param>
114114
/// <param name="serializationMode">Allows the caller to choose the depth of the serialization. See <see cref="ADT.Runtime.SerializationMode"/>.</param>
115115
/// <returns>
116-
/// A <see cref="global::System.Threading.Tasks.Task<System.Collections.Generic.List<ADT.Models.IFlowProfileMetadata>>" />
117-
/// that will be complete when handling of the response is completed.
116+
/// A <see cref="global::System.Threading.Tasks.Task<ADT.Models.IFlowProfilesListResult>" /> that will be complete when handling
117+
/// of the response is completed.
118118
/// </returns>
119-
public async global::System.Threading.Tasks.Task<System.Collections.Generic.List<ADT.Models.IFlowProfileMetadata>> AzureDataTransferListFlowProfilesViaIdentityWithResult(global::System.String viaIdentity, ADT.Models.IListFlowProfilesRequest body, ADT.Runtime.IEventListener eventListener, ADT.Runtime.ISendAsync sender, ADT.Runtime.SerializationMode serializationMode = ADT.Runtime.SerializationMode.IncludeCreate|ADT.Runtime.SerializationMode.IncludeUpdate)
119+
public async global::System.Threading.Tasks.Task<ADT.Models.IFlowProfilesListResult> AzureDataTransferListFlowProfilesViaIdentityWithResult(global::System.String viaIdentity, ADT.Models.IListFlowProfilesRequest body, ADT.Runtime.IEventListener eventListener, ADT.Runtime.ISendAsync sender, ADT.Runtime.SerializationMode serializationMode = ADT.Runtime.SerializationMode.IncludeCreate|ADT.Runtime.SerializationMode.IncludeUpdate)
120120
{
121121
var apiVersion = @"2025-05-30-preview";
122122
// Constant Parameters
@@ -165,7 +165,7 @@ public partial class DataTransfer
165165
/// <returns>
166166
/// A <see cref="global::System.Threading.Tasks.Task" /> that will be complete when handling of the response is completed.
167167
/// </returns>
168-
public async global::System.Threading.Tasks.Task AzureDataTransferListFlowProfilesViaJsonString(global::System.String jsonString, global::System.Func<global::System.Net.Http.HttpResponseMessage, global::System.Threading.Tasks.Task<System.Collections.Generic.List<ADT.Models.IFlowProfileMetadata>>, global::System.Threading.Tasks.Task> onOk, global::System.Func<global::System.Net.Http.HttpResponseMessage, global::System.Threading.Tasks.Task<ADT.Models.IErrorResponse>, global::System.Threading.Tasks.Task> onDefault, ADT.Runtime.IEventListener eventListener, ADT.Runtime.ISendAsync sender)
168+
public async global::System.Threading.Tasks.Task AzureDataTransferListFlowProfilesViaJsonString(global::System.String jsonString, global::System.Func<global::System.Net.Http.HttpResponseMessage, global::System.Threading.Tasks.Task<ADT.Models.IFlowProfilesListResult>, global::System.Threading.Tasks.Task> onOk, global::System.Func<global::System.Net.Http.HttpResponseMessage, global::System.Threading.Tasks.Task<ADT.Models.IErrorResponse>, global::System.Threading.Tasks.Task> onDefault, ADT.Runtime.IEventListener eventListener, ADT.Runtime.ISendAsync sender)
169169
{
170170
var apiVersion = @"2025-05-30-preview";
171171
// Constant Parameters
@@ -200,10 +200,10 @@ public partial class DataTransfer
200200
/// <param name="eventListener">an <see cref="ADT.Runtime.IEventListener" /> instance that will receive events.</param>
201201
/// <param name="sender">an instance of an ADT.Runtime.ISendAsync pipeline to use to make the request.</param>
202202
/// <returns>
203-
/// A <see cref="global::System.Threading.Tasks.Task<System.Collections.Generic.List<ADT.Models.IFlowProfileMetadata>>" />
204-
/// that will be complete when handling of the response is completed.
203+
/// A <see cref="global::System.Threading.Tasks.Task<ADT.Models.IFlowProfilesListResult>" /> that will be complete when handling
204+
/// of the response is completed.
205205
/// </returns>
206-
public async global::System.Threading.Tasks.Task<System.Collections.Generic.List<ADT.Models.IFlowProfileMetadata>> AzureDataTransferListFlowProfilesViaJsonStringWithResult(global::System.String jsonString, ADT.Runtime.IEventListener eventListener, ADT.Runtime.ISendAsync sender)
206+
public async global::System.Threading.Tasks.Task<ADT.Models.IFlowProfilesListResult> AzureDataTransferListFlowProfilesViaJsonStringWithResult(global::System.String jsonString, ADT.Runtime.IEventListener eventListener, ADT.Runtime.ISendAsync sender)
207207
{
208208
var apiVersion = @"2025-05-30-preview";
209209
// Constant Parameters
@@ -239,10 +239,10 @@ public partial class DataTransfer
239239
/// <param name="sender">an instance of an ADT.Runtime.ISendAsync pipeline to use to make the request.</param>
240240
/// <param name="serializationMode">Allows the caller to choose the depth of the serialization. See <see cref="ADT.Runtime.SerializationMode"/>.</param>
241241
/// <returns>
242-
/// A <see cref="global::System.Threading.Tasks.Task<System.Collections.Generic.List<ADT.Models.IFlowProfileMetadata>>" />
243-
/// that will be complete when handling of the response is completed.
242+
/// A <see cref="global::System.Threading.Tasks.Task<ADT.Models.IFlowProfilesListResult>" /> that will be complete when handling
243+
/// of the response is completed.
244244
/// </returns>
245-
public async global::System.Threading.Tasks.Task<System.Collections.Generic.List<ADT.Models.IFlowProfileMetadata>> AzureDataTransferListFlowProfilesWithResult(ADT.Models.IListFlowProfilesRequest body, ADT.Runtime.IEventListener eventListener, ADT.Runtime.ISendAsync sender, ADT.Runtime.SerializationMode serializationMode = ADT.Runtime.SerializationMode.IncludeCreate|ADT.Runtime.SerializationMode.IncludeUpdate)
245+
public async global::System.Threading.Tasks.Task<ADT.Models.IFlowProfilesListResult> AzureDataTransferListFlowProfilesWithResult(ADT.Models.IListFlowProfilesRequest body, ADT.Runtime.IEventListener eventListener, ADT.Runtime.ISendAsync sender, ADT.Runtime.SerializationMode serializationMode = ADT.Runtime.SerializationMode.IncludeCreate|ADT.Runtime.SerializationMode.IncludeUpdate)
246246
{
247247
var apiVersion = @"2025-05-30-preview";
248248
// Constant Parameters
@@ -279,10 +279,10 @@ public partial class DataTransfer
279279
/// <param name="eventListener">an <see cref="ADT.Runtime.IEventListener" /> instance that will receive events.</param>
280280
/// <param name="sender">an instance of an ADT.Runtime.ISendAsync pipeline to use to make the request.</param>
281281
/// <returns>
282-
/// A <see cref="global::System.Threading.Tasks.Task<System.Collections.Generic.List<ADT.Models.IFlowProfileMetadata>>" />
283-
/// that will be complete when handling of the response is completed.
282+
/// A <see cref="global::System.Threading.Tasks.Task<ADT.Models.IFlowProfilesListResult>" /> that will be complete when handling
283+
/// of the response is completed.
284284
/// </returns>
285-
internal async global::System.Threading.Tasks.Task<System.Collections.Generic.List<ADT.Models.IFlowProfileMetadata>> AzureDataTransferListFlowProfilesWithResult_Call(global::System.Net.Http.HttpRequestMessage request, ADT.Runtime.IEventListener eventListener, ADT.Runtime.ISendAsync sender)
285+
internal async global::System.Threading.Tasks.Task<ADT.Models.IFlowProfilesListResult> AzureDataTransferListFlowProfilesWithResult_Call(global::System.Net.Http.HttpRequestMessage request, ADT.Runtime.IEventListener eventListener, ADT.Runtime.ISendAsync sender)
286286
{
287287
using( NoSynchronizationContext )
288288
{
@@ -301,7 +301,7 @@ public partial class DataTransfer
301301
case global::System.Net.HttpStatusCode.OK:
302302
{
303303
await eventListener.Signal(ADT.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; }
304-
var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => If( ADT.Runtime.Json.JsonArray.Parse(body.Result) as ADT.Runtime.Json.JsonArray, out var __y) ? new global::System.Func<System.Collections.Generic.List<ADT.Models.IFlowProfileMetadata>>(()=> global::System.Linq.Enumerable.ToList(global::System.Linq.Enumerable.Select(__y, (__x)=>(ADT.Models.IFlowProfileMetadata) (ADT.Models.FlowProfileMetadata.FromJson(__x) )) ))() : null);
304+
var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => ADT.Models.FlowProfilesListResult.FromJson(ADT.Runtime.Json.JsonNode.Parse(body.Result)) );
305305
return await _result;
306306
}
307307
default:
@@ -344,7 +344,7 @@ public partial class DataTransfer
344344
/// <returns>
345345
/// A <see cref="global::System.Threading.Tasks.Task" /> that will be complete when handling of the response is completed.
346346
/// </returns>
347-
internal async global::System.Threading.Tasks.Task AzureDataTransferListFlowProfiles_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func<global::System.Net.Http.HttpResponseMessage, global::System.Threading.Tasks.Task<System.Collections.Generic.List<ADT.Models.IFlowProfileMetadata>>, global::System.Threading.Tasks.Task> onOk, global::System.Func<global::System.Net.Http.HttpResponseMessage, global::System.Threading.Tasks.Task<ADT.Models.IErrorResponse>, global::System.Threading.Tasks.Task> onDefault, ADT.Runtime.IEventListener eventListener, ADT.Runtime.ISendAsync sender)
347+
internal async global::System.Threading.Tasks.Task AzureDataTransferListFlowProfiles_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func<global::System.Net.Http.HttpResponseMessage, global::System.Threading.Tasks.Task<ADT.Models.IFlowProfilesListResult>, global::System.Threading.Tasks.Task> onOk, global::System.Func<global::System.Net.Http.HttpResponseMessage, global::System.Threading.Tasks.Task<ADT.Models.IErrorResponse>, global::System.Threading.Tasks.Task> onDefault, ADT.Runtime.IEventListener eventListener, ADT.Runtime.ISendAsync sender)
348348
{
349349
using( NoSynchronizationContext )
350350
{
@@ -363,7 +363,7 @@ public partial class DataTransfer
363363
case global::System.Net.HttpStatusCode.OK:
364364
{
365365
await eventListener.Signal(ADT.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; }
366-
await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => If( ADT.Runtime.Json.JsonArray.Parse(body.Result) as ADT.Runtime.Json.JsonArray, out var __y) ? new global::System.Func<System.Collections.Generic.List<ADT.Models.IFlowProfileMetadata>>(()=> global::System.Linq.Enumerable.ToList(global::System.Linq.Enumerable.Select(__y, (__x)=>(ADT.Models.IFlowProfileMetadata) (ADT.Models.FlowProfileMetadata.FromJson(__x) )) ))() : null));
366+
await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => ADT.Models.FlowProfilesListResult.FromJson(ADT.Runtime.Json.JsonNode.Parse(body.Result)) ));
367367
break;
368368
}
369369
default:

0 commit comments

Comments
 (0)