Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
[assembly: System.Reflection.AssemblyCopyrightAttribute("Copyright © Microsoft")]
[assembly: System.Reflection.AssemblyProductAttribute("Microsoft Azure PowerShell")]
[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft Azure PowerShell - DataTransfer")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("2.0.0")]
[assembly: System.Reflection.AssemblyVersionAttribute("2.0.0")]
[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)]
[assembly: System.CLSCompliantAttribute(false)]
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ ADT.Models.IListFlowProfilesRequest
.Outputs
ADT.Models.IFlowProfile
.Outputs
ADT.Models.IFlowProfileMetadata
ADT.Models.IFlowProfilesListResult
.Notes
COMPLEX PARAMETER PROPERTIES

Expand Down Expand Up @@ -61,7 +61,7 @@ PIPELINEINPUTOBJECT <IDataTransferIdentity>: Identity Parameter
https://learn.microsoft.com/powershell/module/az.datatransfer/get-azdatatransferflowprofile
#>
function Get-AzDataTransferFlowProfile {
[OutputType([ADT.Models.IFlowProfile], [ADT.Models.IFlowProfileMetadata])]
[OutputType([ADT.Models.IFlowProfile], [ADT.Models.IFlowProfilesListResult])]
[CmdletBinding(DefaultParameterSetName='ListExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
param(
[Parameter(ParameterSetName='Get', Mandatory)]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1275,7 +1275,7 @@ ADT.Models.IListFlowProfilesRequest
.Outputs
ADT.Models.IFlowProfile
.Outputs
ADT.Models.IFlowProfileMetadata
ADT.Models.IFlowProfilesListResult
.Notes
COMPLEX PARAMETER PROPERTIES

Expand Down Expand Up @@ -1305,7 +1305,7 @@ PIPELINEINPUTOBJECT <IDataTransferIdentity>: Identity Parameter
https://learn.microsoft.com/powershell/module/az.datatransfer/get-azdatatransferflowprofile
#>
function Get-AzDataTransferFlowProfile {
[OutputType([ADT.Models.IFlowProfile], [ADT.Models.IFlowProfileMetadata])]
[OutputType([ADT.Models.IFlowProfile], [ADT.Models.IFlowProfilesListResult])]
[CmdletBinding(DefaultParameterSetName='ListExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
param(
[Parameter(ParameterSetName='Get', Mandatory)]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"generate_Id": "20609426-b92c-4807-a758-9ab12ecd2318"
"generate_Id": "87d32e10-daae-4ed4-bd86-53b195130622"
}
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public partial class DataTransfer
/// <returns>
/// A <see cref="global::System.Threading.Tasks.Task" /> that will be complete when handling of the response is completed.
/// </returns>
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)
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)
{
var apiVersion = @"2025-05-30-preview";
// Constant Parameters
Expand Down Expand Up @@ -67,7 +67,7 @@ public partial class DataTransfer
/// <returns>
/// A <see cref="global::System.Threading.Tasks.Task" /> that will be complete when handling of the response is completed.
/// </returns>
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)
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)
{
var apiVersion = @"2025-05-30-preview";
// Constant Parameters
Expand Down Expand Up @@ -113,10 +113,10 @@ public partial class DataTransfer
/// <param name="sender">an instance of an ADT.Runtime.ISendAsync pipeline to use to make the request.</param>
/// <param name="serializationMode">Allows the caller to choose the depth of the serialization. See <see cref="ADT.Runtime.SerializationMode"/>.</param>
/// <returns>
/// A <see cref="global::System.Threading.Tasks.Task<System.Collections.Generic.List<ADT.Models.IFlowProfileMetadata>>" />
/// that will be complete when handling of the response is completed.
/// A <see cref="global::System.Threading.Tasks.Task<ADT.Models.IFlowProfilesListResult>" /> that will be complete when handling
/// of the response is completed.
/// </returns>
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)
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)
{
var apiVersion = @"2025-05-30-preview";
// Constant Parameters
Expand Down Expand Up @@ -165,7 +165,7 @@ public partial class DataTransfer
/// <returns>
/// A <see cref="global::System.Threading.Tasks.Task" /> that will be complete when handling of the response is completed.
/// </returns>
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)
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)
{
var apiVersion = @"2025-05-30-preview";
// Constant Parameters
Expand Down Expand Up @@ -200,10 +200,10 @@ public partial class DataTransfer
/// <param name="eventListener">an <see cref="ADT.Runtime.IEventListener" /> instance that will receive events.</param>
/// <param name="sender">an instance of an ADT.Runtime.ISendAsync pipeline to use to make the request.</param>
/// <returns>
/// A <see cref="global::System.Threading.Tasks.Task<System.Collections.Generic.List<ADT.Models.IFlowProfileMetadata>>" />
/// that will be complete when handling of the response is completed.
/// A <see cref="global::System.Threading.Tasks.Task<ADT.Models.IFlowProfilesListResult>" /> that will be complete when handling
/// of the response is completed.
/// </returns>
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)
public async global::System.Threading.Tasks.Task<ADT.Models.IFlowProfilesListResult> AzureDataTransferListFlowProfilesViaJsonStringWithResult(global::System.String jsonString, ADT.Runtime.IEventListener eventListener, ADT.Runtime.ISendAsync sender)
{
var apiVersion = @"2025-05-30-preview";
// Constant Parameters
Expand Down Expand Up @@ -239,10 +239,10 @@ public partial class DataTransfer
/// <param name="sender">an instance of an ADT.Runtime.ISendAsync pipeline to use to make the request.</param>
/// <param name="serializationMode">Allows the caller to choose the depth of the serialization. See <see cref="ADT.Runtime.SerializationMode"/>.</param>
/// <returns>
/// A <see cref="global::System.Threading.Tasks.Task<System.Collections.Generic.List<ADT.Models.IFlowProfileMetadata>>" />
/// that will be complete when handling of the response is completed.
/// A <see cref="global::System.Threading.Tasks.Task<ADT.Models.IFlowProfilesListResult>" /> that will be complete when handling
/// of the response is completed.
/// </returns>
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)
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)
{
var apiVersion = @"2025-05-30-preview";
// Constant Parameters
Expand Down Expand Up @@ -279,10 +279,10 @@ public partial class DataTransfer
/// <param name="eventListener">an <see cref="ADT.Runtime.IEventListener" /> instance that will receive events.</param>
/// <param name="sender">an instance of an ADT.Runtime.ISendAsync pipeline to use to make the request.</param>
/// <returns>
/// A <see cref="global::System.Threading.Tasks.Task<System.Collections.Generic.List<ADT.Models.IFlowProfileMetadata>>" />
/// that will be complete when handling of the response is completed.
/// A <see cref="global::System.Threading.Tasks.Task<ADT.Models.IFlowProfilesListResult>" /> that will be complete when handling
/// of the response is completed.
/// </returns>
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)
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)
{
using( NoSynchronizationContext )
{
Expand All @@ -301,7 +301,7 @@ public partial class DataTransfer
case global::System.Net.HttpStatusCode.OK:
{
await eventListener.Signal(ADT.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return null; }
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);
var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => ADT.Models.FlowProfilesListResult.FromJson(ADT.Runtime.Json.JsonNode.Parse(body.Result)) );
return await _result;
}
default:
Expand Down Expand Up @@ -344,7 +344,7 @@ public partial class DataTransfer
/// <returns>
/// A <see cref="global::System.Threading.Tasks.Task" /> that will be complete when handling of the response is completed.
/// </returns>
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)
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)
{
using( NoSynchronizationContext )
{
Expand All @@ -363,7 +363,7 @@ public partial class DataTransfer
case global::System.Net.HttpStatusCode.OK:
{
await eventListener.Signal(ADT.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; }
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));
await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => ADT.Models.FlowProfilesListResult.FromJson(ADT.Runtime.Json.JsonNode.Parse(body.Result)) ));
break;
}
default:
Expand Down
Loading