diff --git a/generated/DataTransfer/DataTransfer.Autorest/Az.DataTransfer.format.ps1xml b/generated/DataTransfer/DataTransfer.Autorest/Az.DataTransfer.format.ps1xml
index bd7407b82954..fe0c9494369a 100644
--- a/generated/DataTransfer/DataTransfer.Autorest/Az.DataTransfer.format.ps1xml
+++ b/generated/DataTransfer/DataTransfer.Autorest/Az.DataTransfer.format.ps1xml
@@ -87,6 +87,98 @@
+
+ ADT.Models.ArchiveRuleset
+
+ ADT.Models.ArchiveRuleset#Multiple
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ MaximumCompressionRatioLimit
+
+
+ MaximumDepthLimit
+
+
+ MaximumExpansionSizeLimit
+
+
+ MinimumSizeForExpansion
+
+
+
+
+
+
+
+ ADT.Models.Authentication
+
+ ADT.Models.Authentication#Multiple
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Audience
+
+
+ Authority
+
+
+ ClientIdOverride
+
+
+ IdentityTranslation
+
+
+ Instance
+
+
+ TenantId
+
+
+
+
+
+
ADT.Models.Connection
@@ -186,6 +278,9 @@
+
+
+
@@ -232,6 +327,9 @@
+
+ ApiHostname
+
Approver
@@ -301,6 +399,34 @@
+
+ ADT.Models.DataSizeRuleset
+
+ ADT.Models.DataSizeRuleset#Multiple
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Maximum
+
+
+ Minimum
+
+
+
+
+
+
ADT.Models.DataTransferIdentity
@@ -314,6 +440,9 @@
+
+
+
@@ -333,6 +462,9 @@
FlowName
+
+ FlowProfileName
+
PipelineName
@@ -435,16 +567,238 @@
SystemDataCreatedByType
- SystemDataLastModifiedAt
+ SystemDataLastModifiedAt
+
+
+ SystemDataLastModifiedBy
+
+
+ SystemDataLastModifiedByType
+
+
+ ResourceGroupName
+
+
+
+
+
+
+
+ ADT.Models.FlowListResult
+
+ ADT.Models.FlowListResult#Multiple
+
+
+
+
+
+
+
+
+
+
+
+ NextLink
+
+
+
+
+
+
+
+ ADT.Models.FlowProfile
+
+ ADT.Models.FlowProfile#Multiple
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Location
+
+
+ Name
+
+
+ SystemDataCreatedAt
+
+
+ SystemDataCreatedBy
+
+
+ SystemDataCreatedByType
+
+
+ SystemDataLastModifiedAt
+
+
+ SystemDataLastModifiedBy
+
+
+ SystemDataLastModifiedByType
+
+
+ ResourceGroupName
+
+
+
+
+
+
+
+ ADT.Models.FlowProfileListResult
+
+ ADT.Models.FlowProfileListResult#Multiple
+
+
+
+
+
+
+
+
+
+
+
+ NextLink
+
+
+
+
+
+
+
+ ADT.Models.FlowProfileMetadata
+
+ ADT.Models.FlowProfileMetadata#Multiple
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Description
+
+
+ FlowProfileId
+
+
+ Name
+
+
+ Pipeline
+
+
+ ReplicationScenario
+
+
+ Status
+
+
+
+
+
+
+
+ ADT.Models.FlowProfilePatchProperties
+
+ ADT.Models.FlowProfilePatchProperties#Multiple
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Description
- SystemDataLastModifiedBy
+ ProvisioningState
- SystemDataLastModifiedByType
+ Status
+
+
+
+
+
+
+ ADT.Models.FlowProfilePatchTags
+
+ ADT.Models.FlowProfilePatchTags#Multiple
+
+
+
+
+
+
+
+
+
+
- ResourceGroupName
+ Item
@@ -452,21 +806,45 @@
- ADT.Models.FlowListResult
+ ADT.Models.FlowProfileProperties
- ADT.Models.FlowListResult#Multiple
+ ADT.Models.FlowProfileProperties#Multiple
-
+
+
+
+
+
+
+
+
+
+
+
+
+
- NextLink
+ Description
+
+
+ FlowProfileId
+
+
+ ProvisioningState
+
+
+ ReplicationScenario
+
+
+ Status
@@ -492,6 +870,9 @@
+
+
+
@@ -556,6 +937,9 @@
EventHubId
+
+ FlowDataType
+
FlowId
@@ -653,6 +1037,28 @@
+
+ ADT.Models.InternalMetadataProperties
+
+ ADT.Models.InternalMetadataProperties#Multiple
+
+
+
+
+
+
+
+
+
+
+
+ StatusSetBy
+
+
+
+
+
+
ADT.Models.ListApprovedSchemasRequest
@@ -681,6 +1087,28 @@
+
+ ADT.Models.ListFlowProfilesRequest
+
+ ADT.Models.ListFlowProfilesRequest#Multiple
+
+
+
+
+
+
+
+
+
+
+
+ Pipeline
+
+
+
+
+
+
ADT.Models.ManagedServiceIdentity
@@ -719,6 +1147,9 @@
+
+
+
@@ -726,6 +1157,59 @@
BillingTier
+
+ PerformancePriority
+
+
+
+
+
+
+
+ ADT.Models.MimeTypeFilter
+
+ ADT.Models.MimeTypeFilter#Multiple
+
+
+
+
+
+
+
+
+
+
+
+ Media
+
+
+
+
+
+
+
+ ADT.Models.OperationStatusProperties
+
+ ADT.Models.OperationStatusProperties#Multiple
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Message
+
+
+ Status
+
@@ -738,6 +1222,9 @@
+
+
+
@@ -793,6 +1280,9 @@
+
+ ApiHostname
+
Approver
@@ -915,6 +1405,9 @@
+
+
+
@@ -991,6 +1484,9 @@
EventHubId
+
+ FlowDataType
+
FlowId
@@ -1310,49 +1806,33 @@
- ADT.Models.ReadInternalMetadataProperties
+ ADT.Models.ReadPipelineConnection
- ADT.Models.ReadInternalMetadataProperties#Multiple
+ ADT.Models.ReadPipelineConnection#Multiple
-
+
-
-
-
-
-
- StatusSetBy
-
-
-
-
-
-
-
- ADT.Models.ReadOperationStatusProperties
-
- ADT.Models.ReadOperationStatusProperties#Multiple
-
-
-
-
+
-
+
- Message
+ Etag
- Status
+ Location
+
+
+ Name
@@ -1360,33 +1840,21 @@
- ADT.Models.ReadPipelineConnection
+ ADT.Models.RemoteEndpointSettings
- ADT.Models.ReadPipelineConnection#Multiple
+ ADT.Models.RemoteEndpointSettings#Multiple
-
-
-
-
-
-
-
+
- Etag
-
-
- Location
-
-
- Name
+ Endpoint
@@ -1625,6 +2093,40 @@
+
+ ADT.Models.TextMatch
+
+ ADT.Models.TextMatch#Multiple
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ CaseSensitivity
+
+
+ MatchType
+
+
+ Text
+
+
+
+
+
+
ADT.Models.TrackedResource
@@ -1767,5 +2269,39 @@
+
+ ADT.Models.XmlFilterRuleset
+
+ ADT.Models.XmlFilterRuleset#Multiple
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ DefaultNamespace
+
+
+ Reference
+
+
+ Schema
+
+
+
+
+
+
\ No newline at end of file
diff --git a/generated/DataTransfer/DataTransfer.Autorest/Az.DataTransfer.psd1 b/generated/DataTransfer/DataTransfer.Autorest/Az.DataTransfer.psd1
index 4216d9b0a27f..36debaf893e0 100644
--- a/generated/DataTransfer/DataTransfer.Autorest/Az.DataTransfer.psd1
+++ b/generated/DataTransfer/DataTransfer.Autorest/Az.DataTransfer.psd1
@@ -11,7 +11,7 @@
DotNetFrameworkVersion = '4.7.2'
RequiredAssemblies = './bin/Az.DataTransfer.private.dll'
FormatsToProcess = './Az.DataTransfer.format.ps1xml'
- FunctionsToExport = 'Approve-AzDataTransferConnection', 'Deny-AzDataTransferConnection', 'Disable-AzDataTransferConnection', 'Disable-AzDataTransferFlow', 'Disable-AzDataTransferFlowType', 'Disable-AzDataTransferPipeline', 'Enable-AzDataTransferConnection', 'Enable-AzDataTransferFlow', 'Enable-AzDataTransferFlowType', 'Enable-AzDataTransferPipeline', 'Get-AzDataTransferConnection', 'Get-AzDataTransferFlow', 'Get-AzDataTransferPendingConnection', 'Get-AzDataTransferPendingFlow', 'Get-AzDataTransferPipeline', 'Invoke-AzDataTransferLinkPendingConnection', 'Invoke-AzDataTransferLinkPendingFlow', 'New-AzDataTransferConnection', 'New-AzDataTransferFlow', 'Remove-AzDataTransferConnection', 'Remove-AzDataTransferFlow', 'Update-AzDataTransferConnection', 'Update-AzDataTransferFlow'
+ FunctionsToExport = 'Approve-AzDataTransferConnection', 'Deny-AzDataTransferConnection', 'Disable-AzDataTransferConnection', 'Disable-AzDataTransferFlow', 'Disable-AzDataTransferFlowType', 'Disable-AzDataTransferPipeline', 'Enable-AzDataTransferConnection', 'Enable-AzDataTransferFlow', 'Enable-AzDataTransferFlowType', 'Enable-AzDataTransferPipeline', 'Get-AzDataTransferConnection', 'Get-AzDataTransferFlow', 'Get-AzDataTransferFlowProfile', 'Get-AzDataTransferPendingConnection', 'Get-AzDataTransferPendingFlow', 'Get-AzDataTransferPipeline', 'Invoke-AzDataTransferLinkPendingConnection', 'Invoke-AzDataTransferLinkPendingFlow', 'New-AzDataTransferConnection', 'New-AzDataTransferFlow', 'New-AzDataTransferFlowProfile', 'Remove-AzDataTransferConnection', 'Remove-AzDataTransferFlow', 'Update-AzDataTransferConnection', 'Update-AzDataTransferFlow', 'Update-AzDataTransferFlowProfile'
PrivateData = @{
PSData = @{
Tags = 'Azure', 'ResourceManager', 'ARM', 'PSModule', 'DataTransfer'
diff --git a/generated/DataTransfer/DataTransfer.Autorest/Properties/AssemblyInfo.cs b/generated/DataTransfer/DataTransfer.Autorest/Properties/AssemblyInfo.cs
index f5613433c8e9..d4a6cb587ded 100644
--- a/generated/DataTransfer/DataTransfer.Autorest/Properties/AssemblyInfo.cs
+++ b/generated/DataTransfer/DataTransfer.Autorest/Properties/AssemblyInfo.cs
@@ -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("0.1.0")]
-[assembly: System.Reflection.AssemblyVersionAttribute("0.1.0")]
+[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0")]
+[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0")]
[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)]
[assembly: System.CLSCompliantAttribute(false)]
diff --git a/generated/DataTransfer/DataTransfer.Autorest/exports/Approve-AzDataTransferConnection.ps1 b/generated/DataTransfer/DataTransfer.Autorest/exports/Approve-AzDataTransferConnection.ps1
index 444303020e7d..c1c9ef9d20cd 100644
--- a/generated/DataTransfer/DataTransfer.Autorest/exports/Approve-AzDataTransferConnection.ps1
+++ b/generated/DataTransfer/DataTransfer.Autorest/exports/Approve-AzDataTransferConnection.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-Approves the specified connection request in a pipeline.
+Approves a pending connection request associated with the specified Pipeline.
.Description
-Approves the specified connection request in a pipeline.
+Approves a pending connection request associated with the specified Pipeline.
.Example
$connectionToApprove = Get-AzDataTransferConnection -ResourceGroupName ResourceGroup01 -Name Connection01
Approve-AzDataTransferConnection -PipelineName Pipeline01 -ResourceGroupName ResourceGroup01 -ConnectionId $connectionToApprove.Id -StatusReason "Approved for processing" -Confirm:$false
@@ -41,8 +41,9 @@ CONNECTION : The resource to reference.
INPUTOBJECT : Identity Parameter
[ConnectionName ]: The name for the connection to perform the operation on.
[FlowName ]: The name for the flow to perform the operation on.
+ [FlowProfileName ]: The name of the FlowProfile resource to operate on. Must be 3 to 64 characters long and contain only alphanumeric characters or hyphens.
[Id ]: Resource identity path
- [PipelineName ]: The name for the pipeline to perform the operation on.
+ [PipelineName ]: The name of the pipeline on which to operate.
[ResourceGroupName ]: The name of the resource group. The name is case insensitive.
[SubscriptionId ]: The ID of the target subscription. The value must be an UUID.
.Link
@@ -58,7 +59,7 @@ param(
[Parameter(ParameterSetName='ApproveViaJsonString', Mandatory)]
[ADT.Category('Path')]
[System.String]
- # The name for the pipeline to perform the operation on.
+ # The name of the pipeline on which to operate.
${PipelineName},
[Parameter(ParameterSetName='Approve', Mandatory)]
diff --git a/generated/DataTransfer/DataTransfer.Autorest/exports/Deny-AzDataTransferConnection.ps1 b/generated/DataTransfer/DataTransfer.Autorest/exports/Deny-AzDataTransferConnection.ps1
index 098e042bddaa..aee8d352b9bd 100644
--- a/generated/DataTransfer/DataTransfer.Autorest/exports/Deny-AzDataTransferConnection.ps1
+++ b/generated/DataTransfer/DataTransfer.Autorest/exports/Deny-AzDataTransferConnection.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-Rejects the specified connection request in a pipeline.
+Rejects a pending connection request associated with the specified Pipeline.
.Description
-Rejects the specified connection request in a pipeline.
+Rejects a pending connection request associated with the specified Pipeline.
.Example
$connectionToDeny = Get-AzDataTransferConnection -ResourceGroupName ResourceGroup01 -Name Connection01
Deny-AzDataTransferConnection -PipelineName Pipeline01 -ResourceGroupName ResourceGroup01 -ConnectionId $connectionToDeny.Id -StatusReason "Not Authorized for processing" -Confirm:$false
@@ -41,8 +41,9 @@ CONNECTION : The resource to reference.
INPUTOBJECT : Identity Parameter
[ConnectionName ]: The name for the connection to perform the operation on.
[FlowName ]: The name for the flow to perform the operation on.
+ [FlowProfileName ]: The name of the FlowProfile resource to operate on. Must be 3 to 64 characters long and contain only alphanumeric characters or hyphens.
[Id ]: Resource identity path
- [PipelineName ]: The name for the pipeline to perform the operation on.
+ [PipelineName ]: The name of the pipeline on which to operate.
[ResourceGroupName ]: The name of the resource group. The name is case insensitive.
[SubscriptionId ]: The ID of the target subscription. The value must be an UUID.
.Link
@@ -58,7 +59,7 @@ param(
[Parameter(ParameterSetName='RejectViaJsonString', Mandatory)]
[ADT.Category('Path')]
[System.String]
- # The name for the pipeline to perform the operation on.
+ # The name of the pipeline on which to operate.
${PipelineName},
[Parameter(ParameterSetName='Reject', Mandatory)]
diff --git a/generated/DataTransfer/DataTransfer.Autorest/exports/Disable-AzDataTransferFlow.ps1 b/generated/DataTransfer/DataTransfer.Autorest/exports/Disable-AzDataTransferFlow.ps1
index b91a790b1541..aa36c4db9e44 100644
--- a/generated/DataTransfer/DataTransfer.Autorest/exports/Disable-AzDataTransferFlow.ps1
+++ b/generated/DataTransfer/DataTransfer.Autorest/exports/Disable-AzDataTransferFlow.ps1
@@ -34,16 +34,18 @@ To create the parameters described below, construct a hash table containing the
CONNECTIONINPUTOBJECT : Identity Parameter
[ConnectionName ]: The name for the connection to perform the operation on.
[FlowName ]: The name for the flow to perform the operation on.
+ [FlowProfileName ]: The name of the FlowProfile resource to operate on. Must be 3 to 64 characters long and contain only alphanumeric characters or hyphens.
[Id ]: Resource identity path
- [PipelineName ]: The name for the pipeline to perform the operation on.
+ [PipelineName ]: The name of the pipeline on which to operate.
[ResourceGroupName ]: The name of the resource group. The name is case insensitive.
[SubscriptionId ]: The ID of the target subscription. The value must be an UUID.
INPUTOBJECT : Identity Parameter
[ConnectionName ]: The name for the connection to perform the operation on.
[FlowName ]: The name for the flow to perform the operation on.
+ [FlowProfileName ]: The name of the FlowProfile resource to operate on. Must be 3 to 64 characters long and contain only alphanumeric characters or hyphens.
[Id ]: Resource identity path
- [PipelineName ]: The name for the pipeline to perform the operation on.
+ [PipelineName ]: The name of the pipeline on which to operate.
[ResourceGroupName ]: The name of the resource group. The name is case insensitive.
[SubscriptionId ]: The ID of the target subscription. The value must be an UUID.
.Link
diff --git a/generated/DataTransfer/DataTransfer.Autorest/exports/Enable-AzDataTransferFlow.ps1 b/generated/DataTransfer/DataTransfer.Autorest/exports/Enable-AzDataTransferFlow.ps1
index afc090e87a30..a3213fc42d46 100644
--- a/generated/DataTransfer/DataTransfer.Autorest/exports/Enable-AzDataTransferFlow.ps1
+++ b/generated/DataTransfer/DataTransfer.Autorest/exports/Enable-AzDataTransferFlow.ps1
@@ -34,16 +34,18 @@ To create the parameters described below, construct a hash table containing the
CONNECTIONINPUTOBJECT : Identity Parameter
[ConnectionName ]: The name for the connection to perform the operation on.
[FlowName ]: The name for the flow to perform the operation on.
+ [FlowProfileName ]: The name of the FlowProfile resource to operate on. Must be 3 to 64 characters long and contain only alphanumeric characters or hyphens.
[Id ]: Resource identity path
- [PipelineName ]: The name for the pipeline to perform the operation on.
+ [PipelineName ]: The name of the pipeline on which to operate.
[ResourceGroupName ]: The name of the resource group. The name is case insensitive.
[SubscriptionId ]: The ID of the target subscription. The value must be an UUID.
INPUTOBJECT : Identity Parameter
[ConnectionName ]: The name for the connection to perform the operation on.
[FlowName ]: The name for the flow to perform the operation on.
+ [FlowProfileName ]: The name of the FlowProfile resource to operate on. Must be 3 to 64 characters long and contain only alphanumeric characters or hyphens.
[Id ]: Resource identity path
- [PipelineName ]: The name for the pipeline to perform the operation on.
+ [PipelineName ]: The name of the pipeline on which to operate.
[ResourceGroupName ]: The name of the resource group. The name is case insensitive.
[SubscriptionId ]: The ID of the target subscription. The value must be an UUID.
.Link
diff --git a/generated/DataTransfer/DataTransfer.Autorest/exports/Get-AzDataTransferConnection.ps1 b/generated/DataTransfer/DataTransfer.Autorest/exports/Get-AzDataTransferConnection.ps1
index 8fd678618827..e40147424465 100644
--- a/generated/DataTransfer/DataTransfer.Autorest/exports/Get-AzDataTransferConnection.ps1
+++ b/generated/DataTransfer/DataTransfer.Autorest/exports/Get-AzDataTransferConnection.ps1
@@ -38,8 +38,9 @@ To create the parameters described below, construct a hash table containing the
INPUTOBJECT : Identity Parameter
[ConnectionName ]: The name for the connection to perform the operation on.
[FlowName ]: The name for the flow to perform the operation on.
+ [FlowProfileName ]: The name of the FlowProfile resource to operate on. Must be 3 to 64 characters long and contain only alphanumeric characters or hyphens.
[Id ]: Resource identity path
- [PipelineName ]: The name for the pipeline to perform the operation on.
+ [PipelineName ]: The name of the pipeline on which to operate.
[ResourceGroupName ]: The name of the resource group. The name is case insensitive.
[SubscriptionId ]: The ID of the target subscription. The value must be an UUID.
.Link
diff --git a/generated/DataTransfer/DataTransfer.Autorest/exports/Get-AzDataTransferFlow.ps1 b/generated/DataTransfer/DataTransfer.Autorest/exports/Get-AzDataTransferFlow.ps1
index aceb49b111cc..f8336120a724 100644
--- a/generated/DataTransfer/DataTransfer.Autorest/exports/Get-AzDataTransferFlow.ps1
+++ b/generated/DataTransfer/DataTransfer.Autorest/exports/Get-AzDataTransferFlow.ps1
@@ -36,16 +36,18 @@ To create the parameters described below, construct a hash table containing the
CONNECTIONINPUTOBJECT : Identity Parameter
[ConnectionName ]: The name for the connection to perform the operation on.
[FlowName ]: The name for the flow to perform the operation on.
+ [FlowProfileName ]: The name of the FlowProfile resource to operate on. Must be 3 to 64 characters long and contain only alphanumeric characters or hyphens.
[Id ]: Resource identity path
- [PipelineName ]: The name for the pipeline to perform the operation on.
+ [PipelineName ]: The name of the pipeline on which to operate.
[ResourceGroupName ]: The name of the resource group. The name is case insensitive.
[SubscriptionId ]: The ID of the target subscription. The value must be an UUID.
INPUTOBJECT : Identity Parameter
[ConnectionName ]: The name for the connection to perform the operation on.
[FlowName ]: The name for the flow to perform the operation on.
+ [FlowProfileName ]: The name of the FlowProfile resource to operate on. Must be 3 to 64 characters long and contain only alphanumeric characters or hyphens.
[Id ]: Resource identity path
- [PipelineName ]: The name for the pipeline to perform the operation on.
+ [PipelineName ]: The name of the pipeline on which to operate.
[ResourceGroupName ]: The name of the resource group. The name is case insensitive.
[SubscriptionId ]: The ID of the target subscription. The value must be an UUID.
.Link
diff --git a/generated/DataTransfer/DataTransfer.Autorest/exports/Get-AzDataTransferFlowProfile.ps1 b/generated/DataTransfer/DataTransfer.Autorest/exports/Get-AzDataTransferFlowProfile.ps1
new file mode 100644
index 000000000000..6a03d3a56071
--- /dev/null
+++ b/generated/DataTransfer/DataTransfer.Autorest/exports/Get-AzDataTransferFlowProfile.ps1
@@ -0,0 +1,282 @@
+
+# ----------------------------------------------------------------------------------
+# Copyright (c) Microsoft Corporation. All rights reserved.
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# http://www.apache.org/licenses/LICENSE-2.0
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code
+# is regenerated.
+# ----------------------------------------------------------------------------------
+
+<#
+.Synopsis
+Retrieves the specified FlowProfile resource.
+.Description
+Retrieves the specified FlowProfile resource.
+.Example
+Get-AzDataTransferFlowProfile -PipelineName "Pipeline01" -ResourceGroupName "ResourceGroup01"
+.Example
+Get-AzDataTransferFlowProfile -PipelineName "Pipeline01" -ResourceGroupName "ResourceGroup01" -FlowProfileName "api-flowprofile"
+
+.Inputs
+ADT.Models.IDataTransferIdentity
+.Inputs
+ADT.Models.IListFlowProfilesRequest
+.Outputs
+ADT.Models.IFlowProfile
+.Outputs
+ADT.Models.IFlowProfileMetadata
+.Notes
+COMPLEX PARAMETER PROPERTIES
+
+To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
+
+BODY : Defines the required request body for retrieving FlowProfile information for a provided pipeline.
+ [Pipeline ]: The name of the pipeline for which to retrieve associated FlowProfiles.
+
+INPUTOBJECT : Identity Parameter
+ [ConnectionName ]: The name for the connection to perform the operation on.
+ [FlowName ]: The name for the flow to perform the operation on.
+ [FlowProfileName ]: The name of the FlowProfile resource to operate on. Must be 3 to 64 characters long and contain only alphanumeric characters or hyphens.
+ [Id ]: Resource identity path
+ [PipelineName ]: The name of the pipeline on which to operate.
+ [ResourceGroupName ]: The name of the resource group. The name is case insensitive.
+ [SubscriptionId ]: The ID of the target subscription. The value must be an UUID.
+
+PIPELINEINPUTOBJECT : Identity Parameter
+ [ConnectionName ]: The name for the connection to perform the operation on.
+ [FlowName ]: The name for the flow to perform the operation on.
+ [FlowProfileName ]: The name of the FlowProfile resource to operate on. Must be 3 to 64 characters long and contain only alphanumeric characters or hyphens.
+ [Id ]: Resource identity path
+ [PipelineName ]: The name of the pipeline on which to operate.
+ [ResourceGroupName ]: The name of the resource group. The name is case insensitive.
+ [SubscriptionId ]: The ID of the target subscription. The value must be an UUID.
+.Link
+https://learn.microsoft.com/powershell/module/az.datatransfer/get-azdatatransferflowprofile
+#>
+function Get-AzDataTransferFlowProfile {
+[OutputType([ADT.Models.IFlowProfile], [ADT.Models.IFlowProfileMetadata])]
+[CmdletBinding(DefaultParameterSetName='ListExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
+param(
+ [Parameter(ParameterSetName='Get', Mandatory)]
+ [Parameter(ParameterSetName='GetViaIdentityPipeline', Mandatory)]
+ [Alias('FlowProfileName')]
+ [ADT.Category('Path')]
+ [System.String]
+ # The name of the FlowProfile resource to operate on.
+ # Must be 3 to 64 characters long and contain only alphanumeric characters or hyphens.
+ ${Name},
+
+ [Parameter(ParameterSetName='Get', Mandatory)]
+ [Parameter(ParameterSetName='List1', Mandatory)]
+ [Parameter(ParameterSetName='ListExpanded')]
+ [ADT.Category('Path')]
+ [System.String]
+ # The name of the pipeline on which to operate.
+ ${PipelineName},
+
+ [Parameter(ParameterSetName='Get', Mandatory)]
+ [Parameter(ParameterSetName='List1', Mandatory)]
+ [ADT.Category('Path')]
+ [System.String]
+ # The name of the resource group.
+ # The name is case insensitive.
+ ${ResourceGroupName},
+
+ [Parameter(ParameterSetName='Get')]
+ [Parameter(ParameterSetName='List1')]
+ [ADT.Category('Path')]
+ [ADT.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')]
+ [System.String[]]
+ # The ID of the target subscription.
+ # The value must be an UUID.
+ ${SubscriptionId},
+
+ [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)]
+ [ADT.Category('Path')]
+ [ADT.Models.IDataTransferIdentity]
+ # Identity Parameter
+ ${InputObject},
+
+ [Parameter(ParameterSetName='GetViaIdentityPipeline', Mandatory, ValueFromPipeline)]
+ [ADT.Category('Path')]
+ [ADT.Models.IDataTransferIdentity]
+ # Identity Parameter
+ ${PipelineInputObject},
+
+ [Parameter(ParameterSetName='List', Mandatory, ValueFromPipeline)]
+ [ADT.Category('Body')]
+ [ADT.Models.IListFlowProfilesRequest]
+ # Defines the required request body for retrieving FlowProfile information for a provided pipeline.
+ ${Body},
+
+ [Parameter(ParameterSetName='ListViaJsonFilePath', Mandatory)]
+ [ADT.Category('Body')]
+ [System.String]
+ # Path of Json file supplied to the List operation
+ ${JsonFilePath},
+
+ [Parameter(ParameterSetName='ListViaJsonString', Mandatory)]
+ [ADT.Category('Body')]
+ [System.String]
+ # Json string supplied to the List operation
+ ${JsonString},
+
+ [Parameter()]
+ [Alias('AzureRMContext', 'AzureCredential')]
+ [ValidateNotNull()]
+ [ADT.Category('Azure')]
+ [System.Management.Automation.PSObject]
+ # The DefaultProfile parameter is not functional.
+ # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
+ ${DefaultProfile},
+
+ [Parameter(DontShow)]
+ [ADT.Category('Runtime')]
+ [System.Management.Automation.SwitchParameter]
+ # Wait for .NET debugger to attach
+ ${Break},
+
+ [Parameter(DontShow)]
+ [ValidateNotNull()]
+ [ADT.Category('Runtime')]
+ [ADT.Runtime.SendAsyncStep[]]
+ # SendAsync Pipeline Steps to be appended to the front of the pipeline
+ ${HttpPipelineAppend},
+
+ [Parameter(DontShow)]
+ [ValidateNotNull()]
+ [ADT.Category('Runtime')]
+ [ADT.Runtime.SendAsyncStep[]]
+ # SendAsync Pipeline Steps to be prepended to the front of the pipeline
+ ${HttpPipelinePrepend},
+
+ [Parameter(DontShow)]
+ [ADT.Category('Runtime')]
+ [System.Uri]
+ # The URI for the proxy server to use
+ ${Proxy},
+
+ [Parameter(DontShow)]
+ [ValidateNotNull()]
+ [ADT.Category('Runtime')]
+ [System.Management.Automation.PSCredential]
+ # Credentials for a proxy server to use for the remote call
+ ${ProxyCredential},
+
+ [Parameter(DontShow)]
+ [ADT.Category('Runtime')]
+ [System.Management.Automation.SwitchParameter]
+ # Use the default credentials for the proxy
+ ${ProxyUseDefaultCredentials}
+)
+
+begin {
+ try {
+ $outBuffer = $null
+ if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) {
+ $PSBoundParameters['OutBuffer'] = 1
+ }
+ $parameterSet = $PSCmdlet.ParameterSetName
+
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('ADT.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
+ if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
+ }
+ $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
+ if ($preTelemetryId -eq '') {
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId =(New-Guid).ToString()
+ [ADT.module]::Instance.Telemetry.Invoke('Create', $MyInvocation, $parameterSet, $PSCmdlet)
+ } else {
+ $internalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets
+ if ($internalCalledCmdlets -eq '') {
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $MyInvocation.MyCommand.Name
+ } else {
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets += ',' + $MyInvocation.MyCommand.Name
+ }
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = 'internal'
+ }
+
+ $mapping = @{
+ Get = 'Az.DataTransfer.private\Get-AzDataTransferFlowProfile_Get';
+ GetViaIdentity = 'Az.DataTransfer.private\Get-AzDataTransferFlowProfile_GetViaIdentity';
+ GetViaIdentityPipeline = 'Az.DataTransfer.private\Get-AzDataTransferFlowProfile_GetViaIdentityPipeline';
+ List = 'Az.DataTransfer.private\Get-AzDataTransferFlowProfile_List';
+ List1 = 'Az.DataTransfer.private\Get-AzDataTransferFlowProfile_List1';
+ ListExpanded = 'Az.DataTransfer.private\Get-AzDataTransferFlowProfile_ListExpanded';
+ ListViaJsonFilePath = 'Az.DataTransfer.private\Get-AzDataTransferFlowProfile_ListViaJsonFilePath';
+ ListViaJsonString = 'Az.DataTransfer.private\Get-AzDataTransferFlowProfile_ListViaJsonString';
+ }
+ if (('Get', 'List1') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
+ if ($testPlayback) {
+ $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
+ } else {
+ $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id
+ }
+ }
+ $cmdInfo = Get-Command -Name $mapping[$parameterSet]
+ [ADT.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)
+ if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [ADT.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){
+ [ADT.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
+ }
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
+ $scriptCmd = {& $wrappedCmd @PSBoundParameters}
+ $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
+ $steppablePipeline.Begin($PSCmdlet)
+ } catch {
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
+ throw
+ }
+}
+
+process {
+ try {
+ $steppablePipeline.Process($_)
+ } catch {
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
+ throw
+ }
+
+ finally {
+ $backupTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
+ $backupInternalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
+ }
+
+}
+end {
+ try {
+ $steppablePipeline.End()
+
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $backupTelemetryId
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $backupInternalCalledCmdlets
+ if ($preTelemetryId -eq '') {
+ [ADT.module]::Instance.Telemetry.Invoke('Send', $MyInvocation, $parameterSet, $PSCmdlet)
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
+ }
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $preTelemetryId
+
+ } catch {
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
+ throw
+ }
+}
+}
diff --git a/generated/DataTransfer/DataTransfer.Autorest/exports/Get-AzDataTransferPipeline.ps1 b/generated/DataTransfer/DataTransfer.Autorest/exports/Get-AzDataTransferPipeline.ps1
index f881f869440c..25d2bca54907 100644
--- a/generated/DataTransfer/DataTransfer.Autorest/exports/Get-AzDataTransferPipeline.ps1
+++ b/generated/DataTransfer/DataTransfer.Autorest/exports/Get-AzDataTransferPipeline.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-Gets pipeline resource.
+Retrieves the specified Pipeline resource.
.Description
-Gets pipeline resource.
+Retrieves the specified Pipeline resource.
.Example
$pipeline01 = Get-AzDataTransferPipeline -ResourceGroupName ResourceGroup01 -Name Pipeline01
.Example
@@ -38,8 +38,9 @@ To create the parameters described below, construct a hash table containing the
INPUTOBJECT : Identity Parameter
[ConnectionName ]: The name for the connection to perform the operation on.
[FlowName ]: The name for the flow to perform the operation on.
+ [FlowProfileName ]: The name of the FlowProfile resource to operate on. Must be 3 to 64 characters long and contain only alphanumeric characters or hyphens.
[Id ]: Resource identity path
- [PipelineName ]: The name for the pipeline to perform the operation on.
+ [PipelineName ]: The name of the pipeline on which to operate.
[ResourceGroupName ]: The name of the resource group. The name is case insensitive.
[SubscriptionId ]: The ID of the target subscription. The value must be an UUID.
.Link
@@ -53,7 +54,7 @@ param(
[Alias('PipelineName')]
[ADT.Category('Path')]
[System.String]
- # The name for the pipeline to perform the operation on.
+ # The name of the pipeline on which to operate.
${Name},
[Parameter(ParameterSetName='Get', Mandatory)]
diff --git a/generated/DataTransfer/DataTransfer.Autorest/exports/Invoke-AzDataTransferLinkPendingConnection.ps1 b/generated/DataTransfer/DataTransfer.Autorest/exports/Invoke-AzDataTransferLinkPendingConnection.ps1
index 95087fef1a76..249fe2fe076d 100644
--- a/generated/DataTransfer/DataTransfer.Autorest/exports/Invoke-AzDataTransferLinkPendingConnection.ps1
+++ b/generated/DataTransfer/DataTransfer.Autorest/exports/Invoke-AzDataTransferLinkPendingConnection.ps1
@@ -41,8 +41,9 @@ CONNECTION : The resource to reference.
INPUTOBJECT : Identity Parameter
[ConnectionName ]: The name for the connection to perform the operation on.
[FlowName ]: The name for the flow to perform the operation on.
+ [FlowProfileName ]: The name of the FlowProfile resource to operate on. Must be 3 to 64 characters long and contain only alphanumeric characters or hyphens.
[Id ]: Resource identity path
- [PipelineName ]: The name for the pipeline to perform the operation on.
+ [PipelineName ]: The name of the pipeline on which to operate.
[ResourceGroupName ]: The name of the resource group. The name is case insensitive.
[SubscriptionId ]: The ID of the target subscription. The value must be an UUID.
.Link
diff --git a/generated/DataTransfer/DataTransfer.Autorest/exports/Invoke-AzDataTransferLinkPendingFlow.ps1 b/generated/DataTransfer/DataTransfer.Autorest/exports/Invoke-AzDataTransferLinkPendingFlow.ps1
index f3358a5936ae..b1f64f75bff3 100644
--- a/generated/DataTransfer/DataTransfer.Autorest/exports/Invoke-AzDataTransferLinkPendingFlow.ps1
+++ b/generated/DataTransfer/DataTransfer.Autorest/exports/Invoke-AzDataTransferLinkPendingFlow.ps1
@@ -37,8 +37,9 @@ To create the parameters described below, construct a hash table containing the
CONNECTIONINPUTOBJECT : Identity Parameter
[ConnectionName ]: The name for the connection to perform the operation on.
[FlowName ]: The name for the flow to perform the operation on.
+ [FlowProfileName ]: The name of the FlowProfile resource to operate on. Must be 3 to 64 characters long and contain only alphanumeric characters or hyphens.
[Id ]: Resource identity path
- [PipelineName ]: The name for the pipeline to perform the operation on.
+ [PipelineName ]: The name of the pipeline on which to operate.
[ResourceGroupName ]: The name of the resource group. The name is case insensitive.
[SubscriptionId ]: The ID of the target subscription. The value must be an UUID.
@@ -49,8 +50,9 @@ FLOW : The resource to reference.
INPUTOBJECT : Identity Parameter
[ConnectionName ]: The name for the connection to perform the operation on.
[FlowName ]: The name for the flow to perform the operation on.
+ [FlowProfileName ]: The name of the FlowProfile resource to operate on. Must be 3 to 64 characters long and contain only alphanumeric characters or hyphens.
[Id ]: Resource identity path
- [PipelineName ]: The name for the pipeline to perform the operation on.
+ [PipelineName ]: The name of the pipeline on which to operate.
[ResourceGroupName ]: The name of the resource group. The name is case insensitive.
[SubscriptionId ]: The ID of the target subscription. The value must be an UUID.
.Link
diff --git a/generated/DataTransfer/DataTransfer.Autorest/exports/New-AzDataTransferConnection.ps1 b/generated/DataTransfer/DataTransfer.Autorest/exports/New-AzDataTransferConnection.ps1
index ba05fb29b289..84df9a12f469 100644
--- a/generated/DataTransfer/DataTransfer.Autorest/exports/New-AzDataTransferConnection.ps1
+++ b/generated/DataTransfer/DataTransfer.Autorest/exports/New-AzDataTransferConnection.ps1
@@ -26,6 +26,28 @@ data processing" -RemoteSubscriptionId 11111111-1111-1111-1111-111111111111 -Con
New-AzDataTransferConnection -ResourceGroupName ResourceGroup02 -PipelineName Pipeline01 -Name Connection02 -Location "WestUS" -Direction "Send" -PIN "ABCDEFG" -FlowType "Mission" -Justification "Required for data processing" -Confirm:$false
.Example
New-AzDataTransferConnection -ResourceGroupName ResourceGroup01 -Name Connection03 -PipelineName Pipeline01 -Location "EastUS" -Direction "Receive" -FlowType "Mission" -RequirementId 123 -Justification "Required for data export" -PrimaryContact "user@example.com" -SecondaryContact "admin@example.com" -Tag @{Environment="Production"} -Confirm:$false
+.Example
+# First, create or reference existing FlowProfiles
+$basicFlowProfile = @{
+ Name = "files-flowprofile"
+ Pipeline = "Pipeline01"
+ FlowProfileId = "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ResourceGroup01/providers/Microsoft.AzureDataTransfer/pipelines/Pipeline01/flowProfiles/files-flowprofile"
+ ReplicationScenario = "Files"
+ Status = "Enabled"
+ Description = "Basic FlowProfile for file transfers"
+}
+
+$messagingFlowProfile = @{
+ Name = "messaging-flowprofile"
+ Pipeline = "Pipeline01"
+ FlowProfileId = "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ResourceGroup01/providers/Microsoft.AzureDataTransfer/pipelines/Pipeline01/flowProfiles/messaging-flowprofile"
+ ReplicationScenario = "Messaging"
+ Status = "Enabled"
+ Description = "Messaging FlowProfile with antivirus protection"
+}
+
+# Create connection with FlowProfiles
+New-AzDataTransferConnection -ResourceGroupName ResourceGroup01 -PipelineName Pipeline01 -Name Connection04 -Location "EastUS" -Direction "Receive" -FlowProfileList @($basicFlowProfile, $messagingFlowProfile) -RequirementId "FP-2025-001" -Justification "Modern connection using FlowProfile architecture for enhanced security and flexibility" -RemoteSubscriptionId "11111111-1111-1111-1111-111111111111" -PrimaryContact "dataowner@company.com" -SecondaryContact @("security@company.com", "operations@company.com") -Tag @{Environment="Production"; DataClassification="Sensitive"} -Confirm:$false
.Outputs
ADT.Models.IConnection
@@ -34,7 +56,15 @@ COMPLEX PARAMETER PROPERTIES
To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
-SCHEMA : The schemas for this connection
+FLOWPROFILELIST : Provides a list of FlowProfiles .
+ Description : A description of the FlowProfile and its rulesets. The description should describe the flowprofile's purpose and rulesets applied.
+ FlowProfileId : A guid represented as a string for the FlowProfile resource, assigned by the system.
+ Name : The name of the FlowProfile.
+ Pipeline : The name of the parent Pipeline Azure resource associated with this FlowProfile.
+ ReplicationScenario : The data replication scenario handled by this FlowProfile. Please note, that this value cannot be updated after creation. See the FlowProfilePatchProperties to see updateable properties.
+ Status : The operational status of the FlowProfile.
+
+SCHEMA : The schemas for this connection. The schemas property has reached end of life support starting version 2025-05-30-preview. Please create and use a FlowProfile resource instead.
[ConnectionId ]: Connection ID associated with this schema
[Content ]: Content of the schema
[Direction ]: The direction of the schema.
@@ -78,6 +108,12 @@ param(
# The geo-location where the resource lives
${Location},
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [ADT.Category('Body')]
+ [System.String]
+ # Hostname specific to API Flows
+ ${ApiHostname},
+
[Parameter(ParameterSetName='CreateExpanded')]
[ADT.PSArgumentCompleterAttribute("Send", "Receive")]
[ADT.Category('Body')]
@@ -85,12 +121,21 @@ param(
# Direction of data movement
${Direction},
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [AllowEmptyCollection()]
+ [ADT.Category('Body')]
+ [ADT.Models.IFlowProfileMetadata[]]
+ # Provides a list of FlowProfiles .
+ ${FlowProfileList},
+
[Parameter(ParameterSetName='CreateExpanded')]
[AllowEmptyCollection()]
[ADT.PSArgumentCompleterAttribute("Unknown", "Complex", "DevSecOps", "Messaging", "Mission", "MicrosoftInternal", "BasicFiles", "Data", "Standard", "StreamingVideo", "Opaque", "MissionOpaqueXML", "DiskImages", "API")]
[ADT.Category('Body')]
[System.String[]]
- # The flow types being requested for this connection
+ # The flow types being requested for this connection.
+ # This FlowType property has reached end of life support starting version 2025-05-30-preview.
+ # Please create a FlowProfile resource instead.
${FlowType},
[Parameter(ParameterSetName='CreateExpanded')]
@@ -140,14 +185,18 @@ param(
[AllowEmptyCollection()]
[ADT.Category('Body')]
[ADT.Models.ISchema[]]
- # The schemas for this connection
+ # The schemas for this connection.
+ # The schemas property has reached end of life support starting version 2025-05-30-preview.
+ # Please create and use a FlowProfile resource instead.
${Schema},
[Parameter(ParameterSetName='CreateExpanded')]
[AllowEmptyCollection()]
[ADT.Category('Body')]
[System.String[]]
- # The schema URIs for this connection
+ # The schema URIs for this connection.
+ # The schemaUris property has reached end of life support starting version 2025-05-30-preview.
+ # Please create and use a FlowProfile resource instead.
${SchemaUri},
[Parameter(ParameterSetName='CreateExpanded')]
diff --git a/generated/DataTransfer/DataTransfer.Autorest/exports/New-AzDataTransferFlow.ps1 b/generated/DataTransfer/DataTransfer.Autorest/exports/New-AzDataTransferFlow.ps1
index ac7c040371db..c083f2c1afef 100644
--- a/generated/DataTransfer/DataTransfer.Autorest/exports/New-AzDataTransferFlow.ps1
+++ b/generated/DataTransfer/DataTransfer.Autorest/exports/New-AzDataTransferFlow.ps1
@@ -23,9 +23,35 @@ Create the flow resource.
New-AzDataTransferFlow -ResourceGroupName ResourceGroup01 -ConnectionName Connection01 -Name Flow01 -Location "EastUS" -FlowType "Mission" -DataType "Blob" -StorageAccountName "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ResourceGroup01/providers/Microsoft.Storage/storageAccounts/storageAccount01" -StorageContainerName "teststorage" -Confirm:$false
.Example
New-AzDataTransferFlow -ResourceGroupName ResourceGroup01 -ConnectionName Connection01 -Name Flow01 -Location "EastUS" -FlowType "Mission" -DataType "Blob" -StorageAccountName "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ResourceGroup01/providers/Microsoft.Storage/storageAccounts/storageAccount01" -StorageContainerName "teststorage" -Status Enabled -Tag @{Environment="Production"} -Confirm:$false
+.Example
+New-AzDataTransferFlow -ResourceGroupName ResourceGroup01 -ConnectionName BasicReceiveConnection01 -Name BasicRecvBlobFiles01 -Location "CentralUS" -Status "Enabled" -FlowDataType "Blob" -FlowProfilePipeline "Pipeline01" -FlowProfileName "BasicFlowProfile01" -FlowProfileReplicationScenario "Files" -FlowProfileStatus "Enabled" -FlowProfileId "000000000000-0000-0000-00000000" -FlowProfileDescription "Basic flow profile for file replication" -Confirm:$false
.Outputs
ADT.Models.IFlow
+.Notes
+COMPLEX PARAMETER PROPERTIES
+
+To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
+
+APIFLOWOPTIONAUTHENTICATION : Optional and for advanced used only. A list of authentication methods to use when accessing the Azure Data Transfer API Flow. If not provided, the default S2S authentication using Entra (API Flow Managed Identity) and RBAC will be applied.
+ [ApplicationId >]: List of applicationIds allowed to authorize to this flow. This is used as an alternative to the RBAC authorization check.
+ [Audience ]: Audience of the identity of the remote endpoint service. By default, remoteEndpointSettings.endpoint will be used if a value is not provided.
+ [Authority ]: The full URL endpoint used to acquire tokens, typically combining the instance and tenant ID to target a specific authentication context.
+ [ClientIdOverride ]: The Flow can use an Entra app identity that is provided by the Flow user to obtain the token to call the remote endpoint. This field specifies the user provided app's clientId.
+ [IdentityTranslation ]: Determines which identity to use for extracting the user token for Azure Data Transfer API Flow.
+ [Instance ]: The identity provider's token service instance.
+ [TenantId ]: A unique identifier representing the tenant of the identity provider's token service.
+ [Type ]: Type of authentication mechanism. JWT by default.
+
+REMOTEENDPOINTSETTINGAUTHENTICATION : Optional and for advanced used only. A list of authentication methods to use when accessing the remote endpoint. If not provided, the default S2S authentication using Entra (API Flow Managed Identity) and RBAC will be applied.
+ [ApplicationId >]: List of applicationIds allowed to authorize to this flow. This is used as an alternative to the RBAC authorization check.
+ [Audience ]: Audience of the identity of the remote endpoint service. By default, remoteEndpointSettings.endpoint will be used if a value is not provided.
+ [Authority ]: The full URL endpoint used to acquire tokens, typically combining the instance and tenant ID to target a specific authentication context.
+ [ClientIdOverride ]: The Flow can use an Entra app identity that is provided by the Flow user to obtain the token to call the remote endpoint. This field specifies the user provided app's clientId.
+ [IdentityTranslation ]: Determines which identity to use for extracting the user token for Azure Data Transfer API Flow.
+ [Instance ]: The identity provider's token service instance.
+ [TenantId ]: A unique identifier representing the tenant of the identity provider's token service.
+ [Type ]: Type of authentication mechanism. JWT by default.
.Link
https://learn.microsoft.com/powershell/module/az.datatransfer/new-azdatatransferflow
#>
@@ -77,9 +103,20 @@ param(
[Parameter(ParameterSetName='CreateExpanded')]
[ADT.Category('Body')]
[System.String]
- # Optional field to override the audience of the remote endpoint
+ # Optional field to override the audience of the remote endpoint.
+ # The property has reached end of life support starting version 2025-05-30-preview.
+ # Please create and use the authentication property instead.
${ApiFlowOptionAudienceOverride},
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [AllowEmptyCollection()]
+ [ADT.Category('Body')]
+ [ADT.Models.IAuthentication[]]
+ # Optional and for advanced used only.
+ # A list of authentication methods to use when accessing the Azure Data Transfer API Flow.
+ # If not provided, the default S2S authentication using Entra (API Flow Managed Identity) and RBAC will be applied.
+ ${ApiFlowOptionAuthentication},
+
[Parameter(ParameterSetName='CreateExpanded')]
[ADT.Category('Body')]
[System.String]
@@ -90,25 +127,33 @@ param(
[ADT.PSArgumentCompleterAttribute("UserIdentity", "ServiceIdentity")]
[ADT.Category('Body')]
[System.String]
- # Flag for if Azure Data Transfer API Flow should extract the user token
+ # Determines which identity to use for extracting the user token for Azure Data Transfer API Flow.
+ # The property has reached end of life support starting version 2025-05-30-preview.
+ # Please create and use the authentication property instead.
${ApiFlowOptionIdentityTranslation},
[Parameter(ParameterSetName='CreateExpanded')]
[ADT.Category('Body')]
[System.String]
- # Remote stub app registration Client ID
+ # Remote stub app registration Client ID.
+ # The property has reached end of life support starting version 2025-05-30-preview.
+ # Please create and use the authentication property instead.
${ApiFlowOptionRemoteCallingModeClientId},
[Parameter(ParameterSetName='CreateExpanded')]
[ADT.Category('Body')]
[System.String]
- # Remote host to which communication needs to be made
+ # Remote host to which communication needs to be made.
+ # The property has reached end of life support starting version 2025-05-30-preview.
+ # Please create and use the remoteEndpointSettings.endpoint property instead.
${ApiFlowOptionRemoteEndpoint},
[Parameter(ParameterSetName='CreateExpanded')]
[ADT.Category('Body')]
[System.String]
- # Sender's app user assigned Manage Identity client ID
+ # Sender's app user assigned Manage Identity client ID.
+ # The property has reached end of life support starting version 2025-05-30-preview.
+ # Please create and use the authentication property instead.
${ApiFlowOptionSenderClientId},
[Parameter(ParameterSetName='CreateExpanded')]
@@ -146,6 +191,8 @@ param(
[ADT.Category('Body')]
[System.String]
# Type of data to transfer via the flow.
+ # The property has reached end of life support starting version 2025-05-30-preview.
+ # Please create and use a FlowProfile resource instead.
${DataType},
[Parameter(ParameterSetName='CreateExpanded')]
@@ -168,11 +215,61 @@ param(
# Event Hub ID
${EventHubId},
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [ADT.PSArgumentCompleterAttribute("ServiceBus", "EventHub", "ApiEndpoint", "ApiSDK", "Video", "Blob", "Table")]
+ [ADT.Category('Body')]
+ [System.String]
+ # The Flow's data class.
+ ${FlowDataType},
+
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [ADT.Category('Body')]
+ [System.String]
+ # A description of the FlowProfile and its rulesets.
+ # The description should describe the flowprofile's purpose and rulesets applied.
+ ${FlowProfileDescription},
+
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [ADT.Category('Body')]
+ [System.String]
+ # A guid represented as a string for the FlowProfile resource, assigned by the system.
+ ${FlowProfileId},
+
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [ADT.Category('Body')]
+ [System.String]
+ # The name of the FlowProfile.
+ ${FlowProfileName},
+
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [ADT.Category('Body')]
+ [System.String]
+ # The name of the parent Pipeline Azure resource associated with this FlowProfile.
+ ${FlowProfilePipeline},
+
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [ADT.PSArgumentCompleterAttribute("Messaging", "API", "Stream", "Files", "SoftwareArtifacts", "Complex")]
+ [ADT.Category('Body')]
+ [System.String]
+ # The data replication scenario handled by this FlowProfile.
+ # Please note, that this value cannot be updated after creation.
+ # See the FlowProfilePatchProperties to see updateable properties.
+ ${FlowProfileReplicationScenario},
+
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [ADT.PSArgumentCompleterAttribute("Obsolete", "Enabled")]
+ [ADT.Category('Body')]
+ [System.String]
+ # The operational status of the FlowProfile.
+ ${FlowProfileStatus},
+
[Parameter(ParameterSetName='CreateExpanded')]
[ADT.PSArgumentCompleterAttribute("Unknown", "Complex", "DevSecOps", "Messaging", "Mission", "MicrosoftInternal", "BasicFiles", "Data", "Standard", "StreamingVideo", "Opaque", "MissionOpaqueXML", "DiskImages", "API")]
[ADT.Category('Body')]
[System.String]
- # The flow type for this flow
+ # The flow type for this flow.
+ # The property has reached end of life support starting version 2025-05-30-preview.
+ # Please create and use a FlowProfile resource instead.
${FlowType},
[Parameter(ParameterSetName='CreateExpanded')]
@@ -189,6 +286,15 @@ param(
# Billing tier for this messaging flow
${MessagingOptionBillingTier},
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [ADT.PSArgumentCompleterAttribute("Enabled", "Disabled")]
+ [ADT.Category('Body')]
+ [System.String]
+ # Field indicating whether to enable guaranteed delivery on the flow or not.
+ # The default disabled option chooses speed over consistency.
+ # When enabled, messages are delivered with minimal delay, but delivery is not guaranteed under all conditions
+ ${MessagingOptionPerformancePriority},
+
[Parameter(ParameterSetName='CreateExpanded')]
[ADT.Category('Body')]
[System.String]
@@ -236,6 +342,21 @@ param(
# Name of the connection
${PropertiesConnectionName},
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [AllowEmptyCollection()]
+ [ADT.Category('Body')]
+ [ADT.Models.IAuthentication[]]
+ # Optional and for advanced used only.
+ # A list of authentication methods to use when accessing the remote endpoint.
+ # If not provided, the default S2S authentication using Entra (API Flow Managed Identity) and RBAC will be applied.
+ ${RemoteEndpointSettingAuthentication},
+
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [ADT.Category('Body')]
+ [System.String]
+ # The remote endpoint uri all API calls.
+ ${RemoteEndpointSettingEndpoint},
+
[Parameter(ParameterSetName='CreateExpanded')]
[ADT.Category('Body')]
[System.String]
diff --git a/generated/DataTransfer/DataTransfer.Autorest/exports/New-AzDataTransferFlowProfile.ps1 b/generated/DataTransfer/DataTransfer.Autorest/exports/New-AzDataTransferFlowProfile.ps1
new file mode 100644
index 000000000000..cb34ac6f7446
--- /dev/null
+++ b/generated/DataTransfer/DataTransfer.Autorest/exports/New-AzDataTransferFlowProfile.ps1
@@ -0,0 +1,402 @@
+
+# ----------------------------------------------------------------------------------
+# Copyright (c) Microsoft Corporation. All rights reserved.
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# http://www.apache.org/licenses/LICENSE-2.0
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code
+# is regenerated.
+# ----------------------------------------------------------------------------------
+
+<#
+.Synopsis
+Create a new FlowProfile or create an existing one.
+.Description
+Create a new FlowProfile or create an existing one.
+.Example
+New-AzDataTransferFlowProfile -Name "files-flowprofile" -PipelineName "Pipeline01" -ResourceGroupName "ResourceGroup01" -Location "EastUS" -ReplicationScenario "Files" -Status "Enabled" -Description "Basic FlowProfile for standard file transfers"
+.Example
+New-AzDataTransferFlowProfile -Name "messaging-flowprofile" -PipelineName "Pipeline01" -ResourceGroupName "ResourceGroup01" -Location "EastUS" -ReplicationScenario "Messaging" -Status "Enabled" -Description "Messaging FlowProfile with antivirus scanning" -AntivirusAvSolution @("Defender")
+
+.Outputs
+ADT.Models.IFlowProfile
+.Notes
+COMPLEX PARAMETER PROPERTIES
+
+To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
+
+MIMEFILTER : Defines the Media types (f.k.a MIME types) and associated file extensions to be filtered. For more detail, please refer to the MimeTypeFiler model.
+ [Extension >]: A list of file extensions associated with the specified Media type (e.g., .json, .png). To specify files with no extension, use an empty string ""."
+ [Media ]: The Media Types (f.k.a MIME types), following IANA standards (e.g., application/json, image/png). For a more detailed list of allowed media types please refer to the Tika documentation: https://github.com/apache/tika/blob/main/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml
+
+TEXTMATCHINGDENY : A list of text patterns to block, each with matching rules and case sensitivity options.
+ CaseSensitivity : Specifies the text matching conditions based on casing. For more detail please refer to the Casing model.
+ MatchType : Specifies the text matching condition for text comparison. For more detail please refer to the MatchType model.
+ Text : The word or phrase to match against replicated content. A phrase with spaces will be considered a single substring.
+.Link
+https://learn.microsoft.com/powershell/module/az.datatransfer/new-azdatatransferflowprofile
+#>
+function New-AzDataTransferFlowProfile {
+[OutputType([ADT.Models.IFlowProfile])]
+[CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
+param(
+ [Parameter(Mandatory)]
+ [Alias('FlowProfileName')]
+ [ADT.Category('Path')]
+ [System.String]
+ # The name of the FlowProfile resource to operate on.
+ # Must be 3 to 64 characters long and contain only alphanumeric characters or hyphens.
+ ${Name},
+
+ [Parameter(Mandatory)]
+ [ADT.Category('Path')]
+ [System.String]
+ # The name of the pipeline on which to operate.
+ ${PipelineName},
+
+ [Parameter(Mandatory)]
+ [ADT.Category('Path')]
+ [System.String]
+ # The name of the resource group.
+ # The name is case insensitive.
+ ${ResourceGroupName},
+
+ [Parameter()]
+ [ADT.Category('Path')]
+ [ADT.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')]
+ [System.String]
+ # The ID of the target subscription.
+ # The value must be an UUID.
+ ${SubscriptionId},
+
+ [Parameter(ParameterSetName='CreateExpanded', Mandatory)]
+ [ADT.Category('Body')]
+ [System.String]
+ # The geo-location where the resource lives
+ ${Location},
+
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [AllowEmptyCollection()]
+ [ADT.PSArgumentCompleterAttribute("Defender", "ClamAv")]
+ [ADT.Category('Body')]
+ [System.String[]]
+ # Optional.
+ # The list of antiviruses to be used as a scanning solution for replicating data.
+ ${AntivirusAvSolution},
+
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [ADT.Category('Body')]
+ [System.Double]
+ # Optional.
+ # Provides the multiplication value for an archive in total based on the initial object being validated.
+ # This value takes the root object size and multiplies it by this value to create a maximum.
+ # Once this maximum is exceeded, the archive is failed.
+ # Used to detect and block archives with suspiciously high compression (e.g., zip bombs).
+ ${ArchiveMaximumCompressionRatioLimit},
+
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [ADT.Category('Body')]
+ [System.Int64]
+ # Optional.
+ # The maximum depth of nested archives that can be expanded.
+ # Limits how many layers of embedded archives will be processed.
+ # Archives exceeding the max limit will be denied for replication.
+ ${ArchiveMaximumDepthLimit},
+
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [ADT.Category('Body')]
+ [System.Int64]
+ # Optional.
+ # The combined maximum size (in bytes) of all extracted files that an expanded archive is allowed to reach.
+ # Archives exceeding the max limit will be denied for replication.
+ ${ArchiveMaximumExpansionSizeLimit},
+
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [ADT.Category('Body')]
+ [System.Int64]
+ # Optional.
+ # Default is 0.
+ # The minimum archive file size (in bytes) required to trigger expansion during replication.
+ # Any archive file size below the configured threshold will skip the rest of the configured rulesets for archives.
+ ${ArchiveMinimumSizeForExpansion},
+
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [ADT.Category('Body')]
+ [System.Int64]
+ # Optional.
+ # Specifies the maximum allowed size (in bytes) for files to be replicated.
+ # Any file size greater than maximum will be denied replication.
+ ${DataSizeMaximum},
+
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [ADT.Category('Body')]
+ [System.Int64]
+ # Optional.
+ # Default is 0.
+ # Specifies the minimum required size (in bytes) for a file to be eligible for replication.
+ # Any file size less than minimum will be denied replication.
+ ${DataSizeMinimum},
+
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [ADT.Category('Body')]
+ [System.String]
+ # A user-defined description of the FlowProfile.
+ ${Description},
+
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [ADT.PSArgumentCompleterAttribute("None", "SystemAssigned", "UserAssigned", "SystemAssigned,UserAssigned")]
+ [ADT.Category('Body')]
+ [System.String]
+ # Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
+ ${IdentityType},
+
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [AllowEmptyCollection()]
+ [ADT.Category('Body')]
+ [ADT.Models.IMimeTypeFilter[]]
+ # Defines the Media types (f.k.a MIME types) and associated file extensions to be filtered.
+ # For more detail, please refer to the MimeTypeFiler model.
+ ${MimeFilter},
+
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [ADT.PSArgumentCompleterAttribute("Allow", "Deny")]
+ [ADT.Category('Body')]
+ [System.String]
+ # Specifies whether the filter is an allow list or deny list.
+ # For more detail, please refer to the FilterType model.
+ ${MimeFilterType},
+
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [ADT.PSArgumentCompleterAttribute("Messaging", "API", "Stream", "Files", "SoftwareArtifacts", "Complex")]
+ [ADT.Category('Body')]
+ [System.String]
+ # The data replication scenario handled by this FlowProfile.
+ # Please not, that this value cannot be updated after creation.
+ ${ReplicationScenario},
+
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [ADT.PSArgumentCompleterAttribute("Obsolete", "Enabled")]
+ [ADT.Category('Body')]
+ [System.String]
+ # The operational status of the FlowProfile.
+ ${Status},
+
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [ADT.Category('Body')]
+ [ADT.Runtime.Info(PossibleTypes=([ADT.Models.ITrackedResourceTags]))]
+ [System.Collections.Hashtable]
+ # Resource tags.
+ ${Tag},
+
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [AllowEmptyCollection()]
+ [ADT.Category('Body')]
+ [ADT.Models.ITextMatch[]]
+ # A list of text patterns to block, each with matching rules and case sensitivity options.
+ ${TextMatchingDeny},
+
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [ADT.Category('Body')]
+ [ADT.Runtime.Info(PossibleTypes=([ADT.Models.IUserAssignedIdentities]))]
+ [System.Collections.Hashtable]
+ # The set of user assigned identities associated with the resource.
+ # The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}.
+ # The dictionary values can be empty objects ({}) in requests.
+ ${UserAssignedIdentity},
+
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [ADT.Category('Body')]
+ [System.String]
+ # The default XML namespace used for schema validation.
+ ${XmlFilterDefaultNamespace},
+
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [ADT.PSArgumentCompleterAttribute("Inline")]
+ [ADT.Category('Body')]
+ [System.String]
+ # Defines the method for referencing the xml schema.
+ ${XmlFilterReference},
+
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [ADT.Category('Body')]
+ [System.String]
+ # The inline XSD schema to be used for validation.
+ ${XmlFilterSchema},
+
+ [Parameter(ParameterSetName='CreateViaJsonFilePath', Mandatory)]
+ [ADT.Category('Body')]
+ [System.String]
+ # Path of Json file supplied to the Create operation
+ ${JsonFilePath},
+
+ [Parameter(ParameterSetName='CreateViaJsonString', Mandatory)]
+ [ADT.Category('Body')]
+ [System.String]
+ # Json string supplied to the Create operation
+ ${JsonString},
+
+ [Parameter()]
+ [Alias('AzureRMContext', 'AzureCredential')]
+ [ValidateNotNull()]
+ [ADT.Category('Azure')]
+ [System.Management.Automation.PSObject]
+ # The DefaultProfile parameter is not functional.
+ # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
+ ${DefaultProfile},
+
+ [Parameter()]
+ [ADT.Category('Runtime')]
+ [System.Management.Automation.SwitchParameter]
+ # Run the command as a job
+ ${AsJob},
+
+ [Parameter(DontShow)]
+ [ADT.Category('Runtime')]
+ [System.Management.Automation.SwitchParameter]
+ # Wait for .NET debugger to attach
+ ${Break},
+
+ [Parameter(DontShow)]
+ [ValidateNotNull()]
+ [ADT.Category('Runtime')]
+ [ADT.Runtime.SendAsyncStep[]]
+ # SendAsync Pipeline Steps to be appended to the front of the pipeline
+ ${HttpPipelineAppend},
+
+ [Parameter(DontShow)]
+ [ValidateNotNull()]
+ [ADT.Category('Runtime')]
+ [ADT.Runtime.SendAsyncStep[]]
+ # SendAsync Pipeline Steps to be prepended to the front of the pipeline
+ ${HttpPipelinePrepend},
+
+ [Parameter()]
+ [ADT.Category('Runtime')]
+ [System.Management.Automation.SwitchParameter]
+ # Run the command asynchronously
+ ${NoWait},
+
+ [Parameter(DontShow)]
+ [ADT.Category('Runtime')]
+ [System.Uri]
+ # The URI for the proxy server to use
+ ${Proxy},
+
+ [Parameter(DontShow)]
+ [ValidateNotNull()]
+ [ADT.Category('Runtime')]
+ [System.Management.Automation.PSCredential]
+ # Credentials for a proxy server to use for the remote call
+ ${ProxyCredential},
+
+ [Parameter(DontShow)]
+ [ADT.Category('Runtime')]
+ [System.Management.Automation.SwitchParameter]
+ # Use the default credentials for the proxy
+ ${ProxyUseDefaultCredentials}
+)
+
+begin {
+ try {
+ $outBuffer = $null
+ if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) {
+ $PSBoundParameters['OutBuffer'] = 1
+ }
+ $parameterSet = $PSCmdlet.ParameterSetName
+
+ $testPlayback = $false
+ $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('ADT.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
+
+ $context = Get-AzContext
+ if (-not $context -and -not $testPlayback) {
+ Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
+ exit
+ }
+
+ if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
+ }
+ $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
+ if ($preTelemetryId -eq '') {
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId =(New-Guid).ToString()
+ [ADT.module]::Instance.Telemetry.Invoke('Create', $MyInvocation, $parameterSet, $PSCmdlet)
+ } else {
+ $internalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets
+ if ($internalCalledCmdlets -eq '') {
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $MyInvocation.MyCommand.Name
+ } else {
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets += ',' + $MyInvocation.MyCommand.Name
+ }
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = 'internal'
+ }
+
+ $mapping = @{
+ CreateExpanded = 'Az.DataTransfer.private\New-AzDataTransferFlowProfile_CreateExpanded';
+ CreateViaJsonFilePath = 'Az.DataTransfer.private\New-AzDataTransferFlowProfile_CreateViaJsonFilePath';
+ CreateViaJsonString = 'Az.DataTransfer.private\New-AzDataTransferFlowProfile_CreateViaJsonString';
+ }
+ if (('CreateExpanded', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
+ if ($testPlayback) {
+ $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
+ } else {
+ $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id
+ }
+ }
+ $cmdInfo = Get-Command -Name $mapping[$parameterSet]
+ [ADT.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)
+ if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [ADT.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){
+ [ADT.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)
+ [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name)
+ }
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ if ($wrappedCmd -eq $null) {
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function)
+ }
+ $scriptCmd = {& $wrappedCmd @PSBoundParameters}
+ $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
+ $steppablePipeline.Begin($PSCmdlet)
+ } catch {
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
+ throw
+ }
+}
+
+process {
+ try {
+ $steppablePipeline.Process($_)
+ } catch {
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
+ throw
+ }
+
+ finally {
+ $backupTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId
+ $backupInternalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
+ }
+
+}
+end {
+ try {
+ $steppablePipeline.End()
+
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $backupTelemetryId
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $backupInternalCalledCmdlets
+ if ($preTelemetryId -eq '') {
+ [ADT.module]::Instance.Telemetry.Invoke('Send', $MyInvocation, $parameterSet, $PSCmdlet)
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
+ }
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $preTelemetryId
+
+ } catch {
+ [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()
+ throw
+ }
+}
+}
diff --git a/generated/DataTransfer/DataTransfer.Autorest/exports/ProxyCmdletDefinitions.ps1 b/generated/DataTransfer/DataTransfer.Autorest/exports/ProxyCmdletDefinitions.ps1
index 8f5f451c588c..14e3e49dceb1 100644
--- a/generated/DataTransfer/DataTransfer.Autorest/exports/ProxyCmdletDefinitions.ps1
+++ b/generated/DataTransfer/DataTransfer.Autorest/exports/ProxyCmdletDefinitions.ps1
@@ -16,9 +16,9 @@
<#
.Synopsis
-Approves the specified connection request in a pipeline.
+Approves a pending connection request associated with the specified Pipeline.
.Description
-Approves the specified connection request in a pipeline.
+Approves a pending connection request associated with the specified Pipeline.
.Example
$connectionToApprove = Get-AzDataTransferConnection -ResourceGroupName ResourceGroup01 -Name Connection01
Approve-AzDataTransferConnection -PipelineName Pipeline01 -ResourceGroupName ResourceGroup01 -ConnectionId $connectionToApprove.Id -StatusReason "Approved for processing" -Confirm:$false
@@ -41,8 +41,9 @@ CONNECTION : The resource to reference.
INPUTOBJECT : Identity Parameter
[ConnectionName ]: The name for the connection to perform the operation on.
[FlowName ]: The name for the flow to perform the operation on.
+ [FlowProfileName ]: The name of the FlowProfile resource to operate on. Must be 3 to 64 characters long and contain only alphanumeric characters or hyphens.
[Id ]: Resource identity path
- [PipelineName ]: The name for the pipeline to perform the operation on.
+ [PipelineName ]: The name of the pipeline on which to operate.
[ResourceGroupName ]: The name of the resource group. The name is case insensitive.
[SubscriptionId ]: The ID of the target subscription. The value must be an UUID.
.Link
@@ -58,7 +59,7 @@ param(
[Parameter(ParameterSetName='ApproveViaJsonString', Mandatory)]
[ADT.Category('Path')]
[System.String]
- # The name for the pipeline to perform the operation on.
+ # The name of the pipeline on which to operate.
${PipelineName},
[Parameter(ParameterSetName='Approve', Mandatory)]
@@ -287,9 +288,9 @@ end {
<#
.Synopsis
-Rejects the specified connection request in a pipeline.
+Rejects a pending connection request associated with the specified Pipeline.
.Description
-Rejects the specified connection request in a pipeline.
+Rejects a pending connection request associated with the specified Pipeline.
.Example
$connectionToDeny = Get-AzDataTransferConnection -ResourceGroupName ResourceGroup01 -Name Connection01
Deny-AzDataTransferConnection -PipelineName Pipeline01 -ResourceGroupName ResourceGroup01 -ConnectionId $connectionToDeny.Id -StatusReason "Not Authorized for processing" -Confirm:$false
@@ -312,8 +313,9 @@ CONNECTION : The resource to reference.
INPUTOBJECT : Identity Parameter
[ConnectionName ]: The name for the connection to perform the operation on.
[FlowName ]: The name for the flow to perform the operation on.
+ [FlowProfileName ]: The name of the FlowProfile resource to operate on. Must be 3 to 64 characters long and contain only alphanumeric characters or hyphens.
[Id ]: Resource identity path
- [PipelineName ]: The name for the pipeline to perform the operation on.
+ [PipelineName ]: The name of the pipeline on which to operate.
[ResourceGroupName ]: The name of the resource group. The name is case insensitive.
[SubscriptionId ]: The ID of the target subscription. The value must be an UUID.
.Link
@@ -329,7 +331,7 @@ param(
[Parameter(ParameterSetName='RejectViaJsonString', Mandatory)]
[ADT.Category('Path')]
[System.String]
- # The name for the pipeline to perform the operation on.
+ # The name of the pipeline on which to operate.
${PipelineName},
[Parameter(ParameterSetName='Reject', Mandatory)]
@@ -576,16 +578,18 @@ To create the parameters described below, construct a hash table containing the
CONNECTIONINPUTOBJECT : Identity Parameter
[ConnectionName ]: The name for the connection to perform the operation on.
[FlowName ]: The name for the flow to perform the operation on.
+ [FlowProfileName ]: The name of the FlowProfile resource to operate on. Must be 3 to 64 characters long and contain only alphanumeric characters or hyphens.
[Id ]: Resource identity path
- [PipelineName ]: The name for the pipeline to perform the operation on.
+ [PipelineName ]: The name of the pipeline on which to operate.
[ResourceGroupName ]: The name of the resource group. The name is case insensitive.
[SubscriptionId ]: The ID of the target subscription. The value must be an UUID.
INPUTOBJECT : Identity Parameter
[ConnectionName ]: The name for the connection to perform the operation on.
[FlowName ]: The name for the flow to perform the operation on.
+ [FlowProfileName ]: The name of the FlowProfile resource to operate on. Must be 3 to 64 characters long and contain only alphanumeric characters or hyphens.
[Id ]: Resource identity path
- [PipelineName ]: The name for the pipeline to perform the operation on.
+ [PipelineName ]: The name of the pipeline on which to operate.
[ResourceGroupName ]: The name of the resource group. The name is case insensitive.
[SubscriptionId ]: The ID of the target subscription. The value must be an UUID.
.Link
@@ -816,16 +820,18 @@ To create the parameters described below, construct a hash table containing the
CONNECTIONINPUTOBJECT : Identity Parameter
[ConnectionName ]: The name for the connection to perform the operation on.
[FlowName ]: The name for the flow to perform the operation on.
+ [FlowProfileName ]: The name of the FlowProfile resource to operate on. Must be 3 to 64 characters long and contain only alphanumeric characters or hyphens.
[Id ]: Resource identity path
- [PipelineName ]: The name for the pipeline to perform the operation on.
+ [PipelineName ]: The name of the pipeline on which to operate.
[ResourceGroupName ]: The name of the resource group. The name is case insensitive.
[SubscriptionId ]: The ID of the target subscription. The value must be an UUID.
INPUTOBJECT : Identity Parameter
[ConnectionName ]: The name for the connection to perform the operation on.
[FlowName ]: The name for the flow to perform the operation on.
+ [FlowProfileName ]: The name of the FlowProfile resource to operate on. Must be 3 to 64 characters long and contain only alphanumeric characters or hyphens.
[Id ]: Resource identity path
- [PipelineName ]: The name for the pipeline to perform the operation on.
+ [PipelineName ]: The name of the pipeline on which to operate.
[ResourceGroupName ]: The name of the resource group. The name is case insensitive.
[SubscriptionId ]: The ID of the target subscription. The value must be an UUID.
.Link
@@ -1060,8 +1066,9 @@ To create the parameters described below, construct a hash table containing the
INPUTOBJECT : Identity Parameter
[ConnectionName ]: The name for the connection to perform the operation on.
[FlowName ]: The name for the flow to perform the operation on.
+ [FlowProfileName ]: The name of the FlowProfile resource to operate on. Must be 3 to 64 characters long and contain only alphanumeric characters or hyphens.
[Id ]: Resource identity path
- [PipelineName ]: The name for the pipeline to perform the operation on.
+ [PipelineName ]: The name of the pipeline on which to operate.
[ResourceGroupName ]: The name of the resource group. The name is case insensitive.
[SubscriptionId ]: The ID of the target subscription. The value must be an UUID.
.Link
@@ -1251,6 +1258,273 @@ end {
}
}
+<#
+.Synopsis
+Retrieves the specified FlowProfile resource.
+.Description
+Retrieves the specified FlowProfile resource.
+.Example
+Get-AzDataTransferFlowProfile -PipelineName "Pipeline01" -ResourceGroupName "ResourceGroup01"
+.Example
+Get-AzDataTransferFlowProfile -PipelineName "Pipeline01" -ResourceGroupName "ResourceGroup01" -FlowProfileName "api-flowprofile"
+
+.Inputs
+ADT.Models.IDataTransferIdentity
+.Inputs
+ADT.Models.IListFlowProfilesRequest
+.Outputs
+ADT.Models.IFlowProfile
+.Outputs
+ADT.Models.IFlowProfileMetadata
+.Notes
+COMPLEX PARAMETER PROPERTIES
+
+To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
+
+BODY : Defines the required request body for retrieving FlowProfile information for a provided pipeline.
+ [Pipeline ]: The name of the pipeline for which to retrieve associated FlowProfiles.
+
+INPUTOBJECT : Identity Parameter
+ [ConnectionName ]: The name for the connection to perform the operation on.
+ [FlowName ]: The name for the flow to perform the operation on.
+ [FlowProfileName ]: The name of the FlowProfile resource to operate on. Must be 3 to 64 characters long and contain only alphanumeric characters or hyphens.
+ [Id ]: Resource identity path
+ [PipelineName ]: The name of the pipeline on which to operate.
+ [ResourceGroupName ]: The name of the resource group. The name is case insensitive.
+ [SubscriptionId ]: The ID of the target subscription. The value must be an UUID.
+
+PIPELINEINPUTOBJECT : Identity Parameter
+ [ConnectionName ]: The name for the connection to perform the operation on.
+ [FlowName ]: The name for the flow to perform the operation on.
+ [FlowProfileName