Skip to content

Commit ae91343

Browse files
fzkhanFaizan Uddin Fahad KhanVeryEarly
authored
[Az.DataTransfer] Switch to newer preview version with FlowProfiles commands (#28579)
Co-authored-by: Faizan Uddin Fahad Khan <faikh@microsoft.com> Co-authored-by: Yabo Hu <yabhu@microsoft.com>
1 parent 231129f commit ae91343

File tree

73 files changed

+12850
-3194
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

73 files changed

+12850
-3194
lines changed

src/DataTransfer/DataTransfer.Autorest/Properties/AssemblyInfo.cs

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

src/DataTransfer/DataTransfer.Autorest/README.md

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ For information on how to develop for `Az.DataTransfer`, see [how-to.md](how-to.
2929
3030
```yaml
3131
# pin the swagger version by using the commit id instead of branch name
32-
commit: c424d91129a85194f3a0800a6bb5dcd28f8eb6eb
32+
commit: 3a1833c86fbad00062482b683ee0df83cc2832e6
3333
namespace: ADT
3434
require:
3535
# readme.azure.noprofile.md is the common configuration file
@@ -250,4 +250,27 @@ directive:
250250
verb: Invoke
251251
subject: ^ExecutePipelineAction
252252
hide: true
253+
254+
## Hide remove FlowProfile command
255+
- where:
256+
verb: Remove
257+
subject: ^FlowProfile
258+
hide: true
259+
260+
- where:
261+
verb: Get
262+
subject: ^AzureDataTransferFlowProfile
263+
set:
264+
subject: FlowProfile
265+
266+
# Fix the AntiviruAvSolution parameter name to correct spelling
267+
- where:
268+
parameter-name: AntiviruAvSolution
269+
set:
270+
parameter-name: AntivirusAvSolution
271+
272+
- where:
273+
property-name: AntiviruAvSolution
274+
set:
275+
property-name: AntivirusAvSolution
253276
```

src/DataTransfer/DataTransfer.Autorest/UX/Microsoft.AzureDataTransfer/connections-flows.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"resourceType": "connections/flows",
3-
"apiVersion": "2025-05-21",
3+
"apiVersion": "2025-05-30-preview",
44
"learnMore": {
55
"url": "https://learn.microsoft.com/powershell/module/az.datatransfer"
66
},

src/DataTransfer/DataTransfer.Autorest/UX/Microsoft.AzureDataTransfer/connections.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"resourceType": "connections",
3-
"apiVersion": "2025-05-21",
3+
"apiVersion": "2025-05-30-preview",
44
"learnMore": {
55
"url": "https://learn.microsoft.com/powershell/module/az.datatransfer"
66
},
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
{
2+
"resourceType": "pipelines/flowProfiles",
3+
"apiVersion": "2025-05-30-preview",
4+
"learnMore": {
5+
"url": "https://learn.microsoft.com/powershell/module/az.datatransfer"
6+
},
7+
"commands": [
8+
{
9+
"name": "Get-AzDataTransferFlowProfile",
10+
"description": "Retrieves the specified FlowProfile resource.",
11+
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureDataTransfer/pipelines/{pipelineName}/flowProfiles/{flowProfileName}",
12+
"help": {
13+
"learnMore": {
14+
"url": "https://learn.microsoft.com/powershell/module/az.datatransfer/get-azdatatransferflowprofile"
15+
},
16+
"parameterSets": [
17+
{
18+
"parameters": [
19+
"-Name <String>",
20+
"-PipelineName <String>",
21+
"-ResourceGroupName <String>",
22+
"[-SubscriptionId <String[]>]"
23+
]
24+
}
25+
]
26+
},
27+
"examples": [
28+
{
29+
"description": "Retrieves the specified FlowProfile resource.",
30+
"parameters": [
31+
{
32+
"name": "-Name",
33+
"value": "[Path.flowProfileName]"
34+
},
35+
{
36+
"name": "-PipelineName",
37+
"value": "[Path.pipelineName]"
38+
},
39+
{
40+
"name": "-ResourceGroupName",
41+
"value": "[Path.resourceGroupName]"
42+
},
43+
{
44+
"name": "-SubscriptionId",
45+
"value": "[Path.subscriptionId]"
46+
}
47+
]
48+
}
49+
]
50+
}
51+
]
52+
}

src/DataTransfer/DataTransfer.Autorest/UX/Microsoft.AzureDataTransfer/pipelines.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
22
"resourceType": "pipelines",
3-
"apiVersion": "2025-05-21",
3+
"apiVersion": "2025-05-30-preview",
44
"learnMore": {
55
"url": "https://learn.microsoft.com/powershell/module/az.datatransfer"
66
},
77
"commands": [
88
{
99
"name": "Get-AzDataTransferPipeline",
10-
"description": "Gets pipeline resource.",
10+
"description": "Retrieves the specified Pipeline resource.",
1111
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureDataTransfer/pipelines/{pipelineName}",
1212
"help": {
1313
"learnMore": {
@@ -25,7 +25,7 @@
2525
},
2626
"examples": [
2727
{
28-
"description": "Gets pipeline resource.",
28+
"description": "Retrieves the specified Pipeline resource.",
2929
"parameters": [
3030
{
3131
"name": "-Name",

src/DataTransfer/DataTransfer.Autorest/docs/Approve-AzDataTransferConnection.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ schema: 2.0.0
88
# Approve-AzDataTransferConnection
99

1010
## SYNOPSIS
11-
Approves the specified connection request in a pipeline.
11+
Approves a pending connection request associated with the specified Pipeline.
1212

1313
## SYNTAX
1414

@@ -54,7 +54,7 @@ Approve-AzDataTransferConnection -PipelineName <String> -ResourceGroupName <Stri
5454
```
5555

5656
## DESCRIPTION
57-
Approves the specified connection request in a pipeline.
57+
Approves a pending connection request associated with the specified Pipeline.
5858

5959
## EXAMPLES
6060

@@ -233,7 +233,7 @@ Accept wildcard characters: False
233233
```
234234
235235
### -PipelineName
236-
The name for the pipeline to perform the operation on.
236+
The name of the pipeline on which to operate.
237237
238238
```yaml
239239
Type: System.String

src/DataTransfer/DataTransfer.Autorest/docs/Az.DataTransfer.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ Microsoft Azure PowerShell: DataTransfer cmdlets
1212

1313
## Az.DataTransfer Cmdlets
1414
### [Approve-AzDataTransferConnection](Approve-AzDataTransferConnection.md)
15-
Approves the specified connection request in a pipeline.
15+
Approves a pending connection request associated with the specified Pipeline.
1616

1717
### [Deny-AzDataTransferConnection](Deny-AzDataTransferConnection.md)
18-
Rejects the specified connection request in a pipeline.
18+
Rejects a pending connection request associated with the specified Pipeline.
1919

2020
### [Disable-AzDataTransferConnection](Disable-AzDataTransferConnection.md)
2121
Disables Azure Data Transfer connections.
@@ -47,14 +47,17 @@ Gets connection resource.
4747
### [Get-AzDataTransferFlow](Get-AzDataTransferFlow.md)
4848
Gets flow resource.
4949

50+
### [Get-AzDataTransferFlowProfile](Get-AzDataTransferFlowProfile.md)
51+
Retrieves the specified FlowProfile resource.
52+
5053
### [Get-AzDataTransferPendingConnection](Get-AzDataTransferPendingConnection.md)
5154
Lists all pending remote connections that are linkable to this connection.
5255

5356
### [Get-AzDataTransferPendingFlow](Get-AzDataTransferPendingFlow.md)
5457
Lists all remote flows that have not yet been linked to local flows
5558

5659
### [Get-AzDataTransferPipeline](Get-AzDataTransferPipeline.md)
57-
Gets pipeline resource.
60+
Retrieves the specified Pipeline resource.
5861

5962
### [Invoke-AzDataTransferLinkPendingConnection](Invoke-AzDataTransferLinkPendingConnection.md)
6063
Links the connection to its pending connection.
@@ -68,6 +71,9 @@ Create the connection resource.
6871
### [New-AzDataTransferFlow](New-AzDataTransferFlow.md)
6972
Create the flow resource.
7073

74+
### [New-AzDataTransferFlowProfile](New-AzDataTransferFlowProfile.md)
75+
Create a new FlowProfile or create an existing one.
76+
7177
### [Remove-AzDataTransferConnection](Remove-AzDataTransferConnection.md)
7278
Deletes the connection resource.
7379

@@ -80,3 +86,6 @@ Update the connection resource.
8086
### [Update-AzDataTransferFlow](Update-AzDataTransferFlow.md)
8187
Update the flow resource.
8288

89+
### [Update-AzDataTransferFlowProfile](Update-AzDataTransferFlowProfile.md)
90+
Applies partial update to an existing FlowProfile resource.
91+

src/DataTransfer/DataTransfer.Autorest/docs/Deny-AzDataTransferConnection.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ schema: 2.0.0
88
# Deny-AzDataTransferConnection
99

1010
## SYNOPSIS
11-
Rejects the specified connection request in a pipeline.
11+
Rejects a pending connection request associated with the specified Pipeline.
1212

1313
## SYNTAX
1414

@@ -54,7 +54,7 @@ Deny-AzDataTransferConnection -PipelineName <String> -ResourceGroupName <String>
5454
```
5555

5656
## DESCRIPTION
57-
Rejects the specified connection request in a pipeline.
57+
Rejects a pending connection request associated with the specified Pipeline.
5858

5959
## EXAMPLES
6060

@@ -233,7 +233,7 @@ Accept wildcard characters: False
233233
```
234234
235235
### -PipelineName
236-
The name for the pipeline to perform the operation on.
236+
The name of the pipeline on which to operate.
237237
238238
```yaml
239239
Type: System.String

0 commit comments

Comments
 (0)