diff --git a/src/data-transfer/azext_data_transfer/aaz/latest/data_transfer/__cmd_group.py b/src/data-transfer/azext_data_transfer/aaz/latest/data_transfer/__cmd_group.py index 5cb9d914b3a..d42ddb9e3c5 100644 --- a/src/data-transfer/azext_data_transfer/aaz/latest/data_transfer/__cmd_group.py +++ b/src/data-transfer/azext_data_transfer/aaz/latest/data_transfer/__cmd_group.py @@ -16,7 +16,7 @@ is_preview=True, ) class __CMDGroup(AAZCommandGroup): - """Data transfer commands + """Commands for cross domain Service that enables customers to transfer data across security domains. """ pass diff --git a/src/data-transfer/azext_data_transfer/aaz/latest/data_transfer/connection/_create.py b/src/data-transfer/azext_data_transfer/aaz/latest/data_transfer/connection/_create.py index 27f4ddc3990..1bd7545518e 100644 --- a/src/data-transfer/azext_data_transfer/aaz/latest/data_transfer/connection/_create.py +++ b/src/data-transfer/azext_data_transfer/aaz/latest/data_transfer/connection/_create.py @@ -19,10 +19,12 @@ class Create(AAZCommand): """Create the connection resource. :example: Creates a receive side connection - az 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 + az data-transfer connection create --resource-group testRG --connection-name testConnection --flow-types Mission API --location eastus --justification justification --pipeline testdc --requirement-id id --direction Receive --remote-subscription-id 00000000-0000-0000-0000-000000000000 + az data-transfer connection create --resource-group testRG --connection-name testConnection --flow-types ["Mission", "API"] --location eastus --justification justification --pipeline testdc --requirement-id id --direction Receive --remote-subscription-id 00000000-0000-0000-0000-000000000000 :example: Creates a send side connection - az data-transfer connection create --resource-group testRG --connection-name testConnection --location East US --pipeline testdc --pin 1234 + az data-transfer connection create --resource-group testRG --connection-name testConnection --location eastus --pipeline testdc --pin '$-pe3' --flow-types Api Mission --direction Send + az data-transfer connection create --resource-group testRG --connection-name testConnection --location 'East US' --pipeline testdc --pin 12345 --flow-types Api Mission --direction Send """ _aaz_info = { diff --git a/src/data-transfer/azext_data_transfer/aaz/latest/data_transfer/connection/_delete.py b/src/data-transfer/azext_data_transfer/aaz/latest/data_transfer/connection/_delete.py index 571c4421000..8f08187a17f 100644 --- a/src/data-transfer/azext_data_transfer/aaz/latest/data_transfer/connection/_delete.py +++ b/src/data-transfer/azext_data_transfer/aaz/latest/data_transfer/connection/_delete.py @@ -19,8 +19,11 @@ class Delete(AAZCommand): """Delete the connection resource. + Deletes the connection specified by ids or by name and resource group + :example: Deletes the connection resource az data-transfer connection delete --resource-group testRG --connection-name testConnection + az data-transfer connection delete --ids /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.AzureDataTransfer/connections/testConnection /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.AzureDataTransfer/connections/testConnection2 """ _aaz_info = { diff --git a/src/data-transfer/azext_data_transfer/aaz/latest/data_transfer/connection/_link.py b/src/data-transfer/azext_data_transfer/aaz/latest/data_transfer/connection/_link.py index 946e3f375ba..a3a5adc5411 100644 --- a/src/data-transfer/azext_data_transfer/aaz/latest/data_transfer/connection/_link.py +++ b/src/data-transfer/azext_data_transfer/aaz/latest/data_transfer/connection/_link.py @@ -20,6 +20,7 @@ class Link(AAZCommand): :example: Links the specified connection az 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 + az data-transfer connection link --ids /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.AzureDataTransfer/connections/recieveConnection --pending-connection-id /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.AzureDataTransfer/connections/sendConnection """ _aaz_info = { diff --git a/src/data-transfer/azext_data_transfer/aaz/latest/data_transfer/connection/_list.py b/src/data-transfer/azext_data_transfer/aaz/latest/data_transfer/connection/_list.py index c1dd5dac2fe..13320d511b5 100644 --- a/src/data-transfer/azext_data_transfer/aaz/latest/data_transfer/connection/_list.py +++ b/src/data-transfer/azext_data_transfer/aaz/latest/data_transfer/connection/_list.py @@ -16,7 +16,7 @@ is_preview=True, ) class List(AAZCommand): - """List connections in a resource group. + """List all the connections. :example: Gets connections in a resource group az data-transfer connection list --resource-group testRG diff --git a/src/data-transfer/azext_data_transfer/aaz/latest/data_transfer/connection/_show.py b/src/data-transfer/azext_data_transfer/aaz/latest/data_transfer/connection/_show.py index cd16b5ccdb5..c4e9a1a4ad0 100644 --- a/src/data-transfer/azext_data_transfer/aaz/latest/data_transfer/connection/_show.py +++ b/src/data-transfer/azext_data_transfer/aaz/latest/data_transfer/connection/_show.py @@ -18,8 +18,11 @@ class Show(AAZCommand): """Get connection resource. + Get connection with specified ids or name. + :example: Gets connection resource az data-transfer connection show --resource-group testRG --connection-name testConnection + az data-transfer connection show --ids /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.AzureDataTransfer/connections/testConnection """ _aaz_info = { diff --git a/src/data-transfer/azext_data_transfer/aaz/latest/data_transfer/connection/flow/_create.py b/src/data-transfer/azext_data_transfer/aaz/latest/data_transfer/connection/flow/_create.py index cc87a1fd085..4cb0102882e 100644 --- a/src/data-transfer/azext_data_transfer/aaz/latest/data_transfer/connection/flow/_create.py +++ b/src/data-transfer/azext_data_transfer/aaz/latest/data_transfer/connection/flow/_create.py @@ -16,7 +16,7 @@ is_preview=True, ) class Create(AAZCommand): - """Create the flow resource. + """Create data flow for the approved connection :example: Creates the flow resource az 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 diff --git a/src/data-transfer/azext_data_transfer/aaz/latest/data_transfer/connection/flow/_delete.py b/src/data-transfer/azext_data_transfer/aaz/latest/data_transfer/connection/flow/_delete.py index f79a3c03f34..b061f03f7f3 100644 --- a/src/data-transfer/azext_data_transfer/aaz/latest/data_transfer/connection/flow/_delete.py +++ b/src/data-transfer/azext_data_transfer/aaz/latest/data_transfer/connection/flow/_delete.py @@ -17,10 +17,13 @@ confirmation="Are you sure you want to perform this operation?", ) class Delete(AAZCommand): - """Delete the flow resource. + """Delete data flow for the approved connection + + Deletes the flow specified by ids or by name along with its associated connection name and resouce group. :example: Deletes the flow resource az data-transfer connection flow delete --resource-group testRG --connection-name testConnection --flow-name testFlow + az data-transfer connection flow delete --ids /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.AzureDataTransfer/connections/testConnection/flows/testFlow """ _aaz_info = { diff --git a/src/data-transfer/azext_data_transfer/aaz/latest/data_transfer/connection/flow/_disable.py b/src/data-transfer/azext_data_transfer/aaz/latest/data_transfer/connection/flow/_disable.py index 11d5062ef61..794ad5e0f35 100644 --- a/src/data-transfer/azext_data_transfer/aaz/latest/data_transfer/connection/flow/_disable.py +++ b/src/data-transfer/azext_data_transfer/aaz/latest/data_transfer/connection/flow/_disable.py @@ -16,10 +16,11 @@ is_preview=True, ) class Disable(AAZCommand): - """Disables the specified flow + """Disables the specified flow in the connection :example: Disables the specified flow az data-transfer connection flow disable --resource-group testRG --connection-name testConnection --flow-name testFlow + az data-transfer connection flow disable --ids /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.AzureDataTransfer/connections/testConnection/flows/testFlow """ _aaz_info = { diff --git a/src/data-transfer/azext_data_transfer/aaz/latest/data_transfer/connection/flow/_enable.py b/src/data-transfer/azext_data_transfer/aaz/latest/data_transfer/connection/flow/_enable.py index 525e45e0bd6..4aebaf880bc 100644 --- a/src/data-transfer/azext_data_transfer/aaz/latest/data_transfer/connection/flow/_enable.py +++ b/src/data-transfer/azext_data_transfer/aaz/latest/data_transfer/connection/flow/_enable.py @@ -16,10 +16,11 @@ is_preview=True, ) class Enable(AAZCommand): - """Enables the specified flow. + """Enables the specified flow in the connection :example: Enables the specified flow az data-transfer connection flow enable --resource-group testRG --connection-name testConnection --flow-name testFlow + az data-transfer connection flow enable --ids /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.AzureDataTransfer/connections/testConnection/flows/testFlow """ _aaz_info = { diff --git a/src/data-transfer/azext_data_transfer/aaz/latest/data_transfer/connection/flow/_link.py b/src/data-transfer/azext_data_transfer/aaz/latest/data_transfer/connection/flow/_link.py index 0d6bed246d8..35d927e2a81 100644 --- a/src/data-transfer/azext_data_transfer/aaz/latest/data_transfer/connection/flow/_link.py +++ b/src/data-transfer/azext_data_transfer/aaz/latest/data_transfer/connection/flow/_link.py @@ -16,10 +16,11 @@ is_preview=True, ) class Link(AAZCommand): - """Links the specified flow. + """Links the specified flow in the connection :example: Links the specified flow - az data-transfer connection flow link --resource-group testRG --connection-name testConnection --flow-name testFlow --id /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.AzureDataTransfer/connections/testConnection/flows/testFlow + az data-transfer connection flow link --resource-group testRG --connection-name receiveConnection --flow-name receiveFlow --id /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.AzureDataTransfer/connections/sendConnection/flows/sendFlow + az data-transfer connection flow link --ids /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.AzureDataTransfer/receiveConnection/testConnection/flows/receiveFlow --pending-flow-id /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.AzureDataTransfer/connections/sendConnection/flows/sendFlow """ _aaz_info = { diff --git a/src/data-transfer/azext_data_transfer/aaz/latest/data_transfer/connection/flow/_list.py b/src/data-transfer/azext_data_transfer/aaz/latest/data_transfer/connection/flow/_list.py index c9c0d73c306..5cf92e1f6d0 100644 --- a/src/data-transfer/azext_data_transfer/aaz/latest/data_transfer/connection/flow/_list.py +++ b/src/data-transfer/azext_data_transfer/aaz/latest/data_transfer/connection/flow/_list.py @@ -16,7 +16,7 @@ is_preview=True, ) class List(AAZCommand): - """List flows in a connection. + """List all the flows in a connection. :example: Gets flows in a connection az data-transfer connection flow list --resource-group testRG --connection-name testConnection diff --git a/src/data-transfer/azext_data_transfer/aaz/latest/data_transfer/connection/flow/_show.py b/src/data-transfer/azext_data_transfer/aaz/latest/data_transfer/connection/flow/_show.py index 02800a24fde..181dde74417 100644 --- a/src/data-transfer/azext_data_transfer/aaz/latest/data_transfer/connection/flow/_show.py +++ b/src/data-transfer/azext_data_transfer/aaz/latest/data_transfer/connection/flow/_show.py @@ -16,10 +16,13 @@ is_preview=True, ) class Show(AAZCommand): - """Get flow resource. + """Show a specific flow in the connection. + + Show specific flow with given ids or name. :example: Gets flow resource az data-transfer connection flow show --resource-group testRG --connection-name testConnection --flow-name testFlow + az data-transfer connection flow show --ids /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.AzureDataTransfer/connections/testConnection/flows/testFlow """ _aaz_info = { diff --git a/src/data-transfer/azext_data_transfer/aaz/latest/data_transfer/pipeline/_list.py b/src/data-transfer/azext_data_transfer/aaz/latest/data_transfer/pipeline/_list.py index 86fcd0a836a..286ca031bc8 100644 --- a/src/data-transfer/azext_data_transfer/aaz/latest/data_transfer/pipeline/_list.py +++ b/src/data-transfer/azext_data_transfer/aaz/latest/data_transfer/pipeline/_list.py @@ -16,7 +16,7 @@ is_preview=True, ) class List(AAZCommand): - """List Pipeline resource by Subscription or Resource Group + """List all the pipelines :example: Gets pipelines in a subscription az data-transfer pipeline list diff --git a/src/data-transfer/azext_data_transfer/azext_metadata.json b/src/data-transfer/azext_data_transfer/azext_metadata.json index e506328978c..366bd602c0a 100644 --- a/src/data-transfer/azext_data_transfer/azext_metadata.json +++ b/src/data-transfer/azext_data_transfer/azext_metadata.json @@ -1,4 +1,4 @@ { "azext.isPreview": true, - "azext.minCliCoreVersion": "2.70.0" + "azext.minCliCoreVersion": "2.0.24" } \ No newline at end of file diff --git a/src/data-transfer/setup.py b/src/data-transfer/setup.py index 09fe241c30d..a26986a55b7 100644 --- a/src/data-transfer/setup.py +++ b/src/data-transfer/setup.py @@ -10,7 +10,7 @@ # HISTORY.rst entry. -VERSION = '1.0.0b1' +VERSION = '1.0.0b2' # The full list of classifiers is available at # https://pypi.python.org/pypi?%3Aaction=list_classifiers diff --git a/src/service_name.json b/src/service_name.json index d4f0d0545dd..d32d6e02332 100644 --- a/src/service_name.json +++ b/src/service_name.json @@ -941,7 +941,7 @@ }, { "Command": "az data-transfer", - "AzureServiceName": "Azure Data Transfer", + "AzureServiceName": "Azure Data Transfer (ADT)", "URL": "" }, {