-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Johnkoh msft azuredatatransfer microsoft.azure data transfer 2023 10 …
…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
1 parent
4fd26eb
commit d269787
Showing
35 changed files
with
3,339 additions
and
0 deletions.
There are no files selected for viewing
2,361 changes: 2,361 additions & 0 deletions
2,361
...rce-manager/Microsoft.AzureDataTransfer/preview/2023-10-11-preview/azuredatatransfer.json
Large diffs are not rendered by default.
Oops, something went wrong.
31 changes: 31 additions & 0 deletions
31
...soft.AzureDataTransfer/preview/2023-10-11-preview/examples/approveOrRejectConnection.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} | ||
} | ||
} |
42 changes: 42 additions & 0 deletions
42
...osoft.AzureDataTransfer/preview/2023-10-11-preview/examples/createOrUpdateConnection.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} | ||
} | ||
} |
36 changes: 36 additions & 0 deletions
36
...r/Microsoft.AzureDataTransfer/preview/2023-10-11-preview/examples/createOrUpdateFlow.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} | ||
} |
30 changes: 30 additions & 0 deletions
30
...crosoft.AzureDataTransfer/preview/2023-10-11-preview/examples/createOrUpdatePipeline.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
...ger/Microsoft.AzureDataTransfer/preview/2023-10-11-preview/examples/deleteConnection.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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": {} | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
...e-manager/Microsoft.AzureDataTransfer/preview/2023-10-11-preview/examples/deleteFlow.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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": {} | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
...nager/Microsoft.AzureDataTransfer/preview/2023-10-11-preview/examples/deletePipeline.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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": {} | ||
} | ||
} |
23 changes: 23 additions & 0 deletions
23
.../Microsoft.AzureDataTransfer/preview/2023-10-11-preview/examples/enableOrDisableFlow.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
...anager/Microsoft.AzureDataTransfer/preview/2023-10-11-preview/examples/getConnection.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
...urce-manager/Microsoft.AzureDataTransfer/preview/2023-10-11-preview/examples/getFlow.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
...-manager/Microsoft.AzureDataTransfer/preview/2023-10-11-preview/examples/getPipeline.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} | ||
} |
25 changes: 25 additions & 0 deletions
25
...nager/Microsoft.AzureDataTransfer/preview/2023-10-11-preview/examples/linkConnection.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} | ||
} |
26 changes: 26 additions & 0 deletions
26
...rce-manager/Microsoft.AzureDataTransfer/preview/2023-10-11-preview/examples/linkFlow.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} | ||
} |
37 changes: 37 additions & 0 deletions
37
...AzureDataTransfer/preview/2023-10-11-preview/examples/listConnectionsByResourceGroup.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.