Skip to content

Commit eb4191a

Browse files
authored
Merge pull request #785 from lasuredd-msft/data-transfer
Adding data-transfer commands.
2 parents 9f1bdcd + e45f761 commit eb4191a

File tree

57 files changed

+6766
-0
lines changed

Some content is hidden

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

57 files changed

+6766
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# [Command] _data-transfer connection create_
2+
3+
Create the connection resource.
4+
5+
## Versions
6+
7+
### [2025-05-21](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5henVyZWRhdGF0cmFuc2Zlci9jb25uZWN0aW9ucy97fQ==/2025-05-21.xml) **Preview**
8+
9+
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.azuredatatransfer/connections/{} 2025-05-21 -->
10+
11+
#### examples
12+
13+
- Creates a receive side connection
14+
```bash
15+
data-transfer connection create --resource-group testRG --connection-name testConnection --flow-types Mission API --location East US --justification justification --pipeline testdc --requirement-id id --direction Receive --remote-subscription-id 00000000-0000-0000-0000-000000000000
16+
```
17+
18+
- Creates a send side connection
19+
```bash
20+
data-transfer connection create --resource-group testRG --connection-name testConnection --location East US --pipeline testdc --pin 1234
21+
```
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# [Command] _data-transfer connection delete_
2+
3+
Delete the connection resource.
4+
5+
## Versions
6+
7+
### [2025-05-21](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5henVyZWRhdGF0cmFuc2Zlci9jb25uZWN0aW9ucy97fQ==/2025-05-21.xml) **Preview**
8+
9+
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.azuredatatransfer/connections/{} 2025-05-21 -->
10+
11+
#### examples
12+
13+
- Deletes the connection resource
14+
```bash
15+
data-transfer connection delete --resource-group testRG --connection-name testConnection
16+
```
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# [Command] _data-transfer connection link_
2+
3+
Links the connection to its pending connection.
4+
5+
## Versions
6+
7+
### [2025-05-21](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5henVyZWRhdGF0cmFuc2Zlci9jb25uZWN0aW9ucy97fS9saW5r/2025-05-21.xml) **Preview**
8+
9+
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.azuredatatransfer/connections/{}/link 2025-05-21 -->
10+
11+
#### examples
12+
13+
- Links the specified connection
14+
```bash
15+
data-transfer connection link --resource-group testRG --connection-name receiveConnection --pending-connection-id /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.AzureDataTransfer/connections/sendConnection
16+
```
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# [Command] _data-transfer connection list-pending-connection_
2+
3+
Lists all pending remote connections that are linkable to this connection.
4+
5+
## Versions
6+
7+
### [2025-05-21](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5henVyZWRhdGF0cmFuc2Zlci9jb25uZWN0aW9ucy97fS9saXN0cGVuZGluZ2Nvbm5lY3Rpb25z/2025-05-21.xml) **Preview**
8+
9+
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.azuredatatransfer/connections/{}/listpendingconnections 2025-05-21 -->
10+
11+
#### examples
12+
13+
- Lists a list of pending connections
14+
```bash
15+
data-transfer connection list-pending-connection --resource-group testRG --connection-name testConnection
16+
```
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# [Command] _data-transfer connection list-pending-flow_
2+
3+
List all pending flows for linking to a receive flow.
4+
5+
## Versions
6+
7+
### [2025-05-21](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5henVyZWRhdGF0cmFuc2Zlci9jb25uZWN0aW9ucy97fS9saXN0cGVuZGluZ2Zsb3dz/2025-05-21.xml) **Preview**
8+
9+
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.azuredatatransfer/connections/{}/listpendingflows 2025-05-21 -->
10+
11+
#### examples
12+
13+
- Lists a list of pending flows
14+
```bash
15+
data-transfer connection list-pending-flow --resource-group testRG --connection-name testConnection
16+
```
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# [Command] _data-transfer connection list_
2+
3+
List connections in a resource group.
4+
5+
## Versions
6+
7+
### [2025-05-21](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5henVyZWRhdGF0cmFuc2Zlci9jb25uZWN0aW9ucw==/2025-05-21.xml) **Preview**
8+
9+
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.azuredatatransfer/connections 2025-05-21 -->
10+
11+
#### examples
12+
13+
- Gets connections in a resource group
14+
```bash
15+
data-transfer connection list --resource-group testRG
16+
```
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# [Command] _data-transfer connection show_
2+
3+
Get connection resource.
4+
5+
## Versions
6+
7+
### [2025-05-21](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5henVyZWRhdGF0cmFuc2Zlci9jb25uZWN0aW9ucy97fQ==/2025-05-21.xml) **Preview**
8+
9+
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.azuredatatransfer/connections/{} 2025-05-21 -->
10+
11+
#### examples
12+
13+
- Gets connection resource
14+
```bash
15+
data-transfer connection show --resource-group testRG --connection-name testConnection
16+
```
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# [Command] _data-transfer connection update_
2+
3+
Update the connection resource.
4+
5+
## Versions
6+
7+
### [2025-05-21](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5henVyZWRhdGF0cmFuc2Zlci9jb25uZWN0aW9ucy97fQ==/2025-05-21.xml) **Preview**
8+
9+
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.azuredatatransfer/connections/{} 2025-05-21 -->
10+
11+
#### examples
12+
13+
- Update the given connection
14+
```bash
15+
data-transfer connection update --name connectionName --resourceGroup testRG --tags key1=value1 key2=value2
16+
```
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# [Command] _data-transfer connection flow create_
2+
3+
Create the flow resource.
4+
5+
## Versions
6+
7+
### [2025-05-21](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5henVyZWRhdGF0cmFuc2Zlci9jb25uZWN0aW9ucy97fS9mbG93cy97fQ==/2025-05-21.xml) **Preview**
8+
9+
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.azuredatatransfer/connections/{}/flows/{} 2025-05-21 -->
10+
11+
#### examples
12+
13+
- Creates the flow resource
14+
```bash
15+
data-transfer connection flow create --resource-group testRG --connection-name testConnection --flow-name testFlow --location East US --connection --flow-type Complex --storage-account /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rpaas-rg/providers/Private.AzureDataTransfer/storageAccounts/testsa --storage-container-name testcontainer
16+
```
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# [Command] _data-transfer connection flow delete_
2+
3+
Delete the flow resource.
4+
5+
## Versions
6+
7+
### [2025-05-21](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5henVyZWRhdGF0cmFuc2Zlci9jb25uZWN0aW9ucy97fS9mbG93cy97fQ==/2025-05-21.xml) **Preview**
8+
9+
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.azuredatatransfer/connections/{}/flows/{} 2025-05-21 -->
10+
11+
#### examples
12+
13+
- Deletes the flow resource
14+
```bash
15+
data-transfer connection flow delete --resource-group testRG --connection-name testConnection --flow-name testFlow
16+
```

0 commit comments

Comments
 (0)