Skip to content

Commit

Permalink
Johnkoh msft azuredatatransfer microsoft.azure data transfer 2023 10 …
Browse files Browse the repository at this point in the history
…11 preview (#26576)

* Generate new Service for azuredatatransfer

* Adds base for updating Microsoft.AzureDataTransfer from version private
repo version stable/2023-06-28 to public repo version 2023-10-11-preview

* Move Microsoft.AzureDataTransfer to public repo with new api-version

* Add openapi-subtype

* Fix LintDiff errors

* Fix examples validation errors

* Add Data flow type

* Remove additionalProperties

* Rename to performRequest

* Update result and code

* Remove action endpoint, add listApprovedSchemas and validateSchema endpoints
  • Loading branch information
johnkoh-msft authored and arifibrahim4 committed Feb 26, 2024
1 parent 4fd26eb commit d269787
Show file tree
Hide file tree
Showing 35 changed files with 3,339 additions and 0 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"parameters": {
"pipelineName": "testPipeline",
"resourceGroupName": "testRG",
"api-version": "2023-10-11-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"connection": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.AzureDataTransfer/connections/testConnection",
"statusReason": "Example reason"
}
},
"responses": {
"202": {
"headers": {
"location": "http://management.azure.com/subscriptions/12345/providers/Microsoft.AzureDataTransfer/locations/eastUS?api-version=2023-10-11-preview"
}
},
"200": {
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.AzureDataTransfer/connections/testConnection",
"type": "Microsoft.AzureDataTransfer/connections",
"location": "East US",
"properties": {
"pipeline": "testdc",
"justification": "justification",
"requirementId": "id"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"parameters": {
"connectionName": "testConnection",
"resourceGroupName": "testRG",
"api-version": "2023-10-11-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"connection": {
"properties": {
"pipeline": "testdc",
"justification": "justification",
"requirementId": "id"
},
"location": "East US"
}
},
"responses": {
"201": {
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.AzureDataTransfer/connections/testConnection",
"type": "Microsoft.AzureDataTransfer/connections",
"location": "East US",
"properties": {
"pipeline": "testdc",
"justification": "justification",
"requirementId": "id"
}
}
},
"200": {
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.AzureDataTransfer/connections/testConnection",
"type": "Microsoft.AzureDataTransfer/connections",
"location": "East US",
"properties": {
"pipeline": "testdc",
"justification": "justification",
"requirementId": "id"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"parameters": {
"connectionName": "testConnection",
"flowName": "testFlow",
"resourceGroupName": "testRG",
"api-version": "2023-10-11-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"flow": {
"properties": {
"storageAccountName": "testsa",
"storageContainerName": "testcontainer",
"flowType": "Blob",
"connection": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.AzureDataTransfer/connections/testConnection"
}
},
"location": "East US"
}
},
"responses": {
"201": {
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.AzureDataTransfer/connections/testConnection/flows/testFlow",
"type": "Microsoft.AzureDataTransfer/flows",
"location": "East US"
}
},
"200": {
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.AzureDataTransfer/connections/testConnection/flows/testFlow",
"type": "Microsoft.AzureDataTransfer/flows",
"location": "East US"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"parameters": {
"pipelineName": "testPipeline",
"resourceGroupName": "testRG",
"api-version": "2023-10-11-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"pipeline": {
"properties": {
"remoteCloud": "testdc"
},
"location": "East US"
}
},
"responses": {
"201": {
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.AzureDataTransfer/pipelines/testPipeline",
"type": "Microsoft.AzureDataTransfer/pipelines",
"location": "East US"
}
},
"200": {
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.AzureDataTransfer/pipelines/testPipeline",
"type": "Microsoft.AzureDataTransfer/pipelines",
"location": "East US"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"parameters": {
"connectionName": "testConnection",
"resourceGroupName": "testRG",
"api-version": "2023-10-11-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000"
},
"responses": {
"202": {
"headers": {
"location": "http://management.azure.com/subscriptions/12345/providers/Microsoft.AzureDataTransfer/locations/eastUS?api-version=2023-10-11-preview"
}
},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"parameters": {
"connectionName": "testConnection",
"flowName": "testFlow",
"resourceGroupName": "testRG",
"api-version": "2023-10-11-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000"
},
"responses": {
"202": {
"headers": {
"location": "http://management.azure.com/subscriptions/12345/providers/Microsoft.AzureDataTransfer/locations/eastUS?api-version=2023-10-11-preview"
}
},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"parameters": {
"pipelineName": "testPipeline",
"resourceGroupName": "testRG",
"api-version": "2023-10-11-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000"
},
"responses": {
"202": {
"headers": {
"location": "http://management.azure.com/subscriptions/12345/providers/Microsoft.AzureDataTransfer/locations/eastUS?api-version=2023-10-11-preview"
}
},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"parameters": {
"connectionName": "testConnection",
"flowName": "testFlow",
"resourceGroupName": "testRG",
"api-version": "2023-10-11-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.AzureDataTransfer/connections/testConnection/flows/testFlow",
"type": "Microsoft.AzureDataTransfer/flows",
"location": "East US"
}
},
"202": {
"headers": {
"location": "http://management.azure.com/subscriptions/12345/providers/Microsoft.AzureDataTransfer/locations/eastUS?api-version=2023-10-11-preview"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"parameters": {
"connectionName": "testConnection",
"resourceGroupName": "testRG",
"api-version": "2023-10-11-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.AzureDataTransfer/connection/testConnection",
"type": "Microsoft.AzureDataTransfer/connections",
"location": "East US"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"parameters": {
"connectionName": "testConnection",
"flowName": "testFlow",
"resourceGroupName": "testRG",
"api-version": "2023-10-11-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.AzureDataTransfer/connections/testConnection/flows/testFlow",
"type": "Microsoft.AzureDataTransfer/flows",
"location": "East US"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"parameters": {
"pipelineName": "testPipeline",
"resourceGroupName": "testRG",
"api-version": "2023-10-11-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.AzureDataTransfer/pipelines/testPipeline",
"type": "Microsoft.AzureDataTransfer/pipelines",
"location": "East US"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"parameters": {
"connectionName": "testConnection",
"resourceGroupName": "testRG",
"api-version": "2023-10-11-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"connection": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.AzureDataTransfer/connections/testConnection"
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.AzureDataTransfer/connections/testConnection",
"type": "Microsoft.AzureDataTransfer/connection",
"location": "East US"
}
},
"202": {
"headers": {
"location": "http://management.azure.com/subscriptions/12345/providers/Microsoft.AzureDataTransfer/locations/eastUS?api-version=2023-10-11-preview"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"parameters": {
"connectionName": "testConnection",
"flowName": "testFlow",
"resourceGroupName": "testRG",
"api-version": "2023-10-11-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"flow": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.AzureDataTransfer/connections/testConnection/flows/testFlow"
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.AzureDataTransfer/connections/testConnection/flows/testFlow",
"type": "Microsoft.AzureDataTransfer/flows",
"location": "East US"
}
},
"202": {
"headers": {
"location": "http://management.azure.com/subscriptions/12345/providers/Microsoft.AzureDataTransfer/locations/eastUS?api-version=2023-10-11-preview"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"parameters": {
"resourceGroupName": "testRG",
"api-version": "2023-10-11-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000"
},
"responses": {
"200": {
"body": {
"value": [
{
"name": "testConnection",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.AzureDataTransfer/connections/testConnection",
"type": "Microsoft.AzureDataTransfer/connections",
"location": "East US",
"properties": {
"pipeline": "testdc",
"justification": "justification",
"requirementId": "id"
}
},
{
"name": "testConnection2",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.AzureDataTransfer/connections/testConnection2",
"type": "Microsoft.AzureDataTransfer/connections",
"location": "East US",
"properties": {
"pipeline": "testdc",
"justification": "justification",
"requirementId": "id"
}
}
]
}
}
}
}
Loading

0 comments on commit d269787

Please sign in to comment.