-
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.
Navigate API public preview (#28191)
* generate base from 2023-09-01 * add navigate API * update example * update ErrorResponse to AtlasErrorResponse * update example
- Loading branch information
1 parent
7331914
commit dd1b1d0
Showing
134 changed files
with
15,977 additions
and
5 deletions.
There are no files selected for viewing
40 changes: 40 additions & 0 deletions
40
...Analytics.Purview.DataMap/preview/2024-03-01-preview/examples/Discovery_AutoComplete.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,40 @@ | ||
{ | ||
"parameters": { | ||
"Endpoint": "{Endpoint}", | ||
"body": { | ||
"keywords": "exa", | ||
"filter": { | ||
"and": [ | ||
{ | ||
"entityType": "azure_blob_path", | ||
"includeSubTypes": false | ||
} | ||
] | ||
}, | ||
"limit": 10 | ||
}, | ||
"api-version": "2024-03-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"text": "example", | ||
"queryPlusText": "example" | ||
}, | ||
{ | ||
"text": "exampleconfiguration", | ||
"queryPlusText": "exampleconfiguration" | ||
}, | ||
{ | ||
"text": "exampleresources", | ||
"queryPlusText": "exampleresources" | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
"title": "Discovery_AutoComplete", | ||
"operationId": "Discovery_AutoComplete" | ||
} |
95 changes: 95 additions & 0 deletions
95
....Analytics.Purview.DataMap/preview/2024-03-01-preview/examples/Discovery_Navigate_01.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,95 @@ | ||
{ | ||
"parameters": { | ||
"Endpoint": "{Endpoint}", | ||
"NavigationRequest": { | ||
"navigationMode": "assetType", | ||
"itemPath": { | ||
"path": "/", | ||
"extendedProperties": {} | ||
}, | ||
"includeNextLevelAssetCount": true, | ||
"properties": {} | ||
}, | ||
"api-version": "2024-03-01-preview", | ||
"maxpagesize": 100, | ||
"continuationToken": "<token>" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"items": [ | ||
{ | ||
"name": "azure_blob_service", | ||
"type": "Azure Blob Storage", | ||
"isLeafNode": false, | ||
"isEntity": false, | ||
"itemPath": { | ||
"path": "azure_blob_service", | ||
"extendedProperties": {} | ||
}, | ||
"properties": { | ||
"cloudType": "Azure" | ||
}, | ||
"count": 54 | ||
}, | ||
{ | ||
"name": "azure_datalake_gen2_service", | ||
"type": "Azure Data Lake Storage Gen2", | ||
"isLeafNode": false, | ||
"isEntity": false, | ||
"itemPath": { | ||
"path": "azure_datalake_gen2_service", | ||
"extendedProperties": {} | ||
}, | ||
"properties": { | ||
"cloudType": "Azure" | ||
}, | ||
"count": 47 | ||
}, | ||
{ | ||
"name": "azure_sql_server", | ||
"type": "Azure SQL Server", | ||
"isLeafNode": false, | ||
"isEntity": false, | ||
"itemPath": { | ||
"path": "azure_sql_server", | ||
"extendedProperties": {} | ||
}, | ||
"properties": { | ||
"cloudType": "Azure" | ||
}, | ||
"count": 31 | ||
}, | ||
{ | ||
"name": "azure_storage_account", | ||
"type": "Azure Storage Account", | ||
"isLeafNode": false, | ||
"isEntity": false, | ||
"itemPath": { | ||
"path": "azure_storage_account", | ||
"extendedProperties": {} | ||
}, | ||
"properties": { | ||
"cloudType": "Azure" | ||
}, | ||
"count": 101 | ||
}, | ||
{ | ||
"name": "azure_sql_db", | ||
"type": "Azure SQL Database", | ||
"isLeafNode": false, | ||
"isEntity": false, | ||
"itemPath": { | ||
"path": "azure_sql_db", | ||
"extendedProperties": {} | ||
}, | ||
"properties": { | ||
"cloudType": "Azure" | ||
}, | ||
"count": 84 | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
62 changes: 62 additions & 0 deletions
62
....Analytics.Purview.DataMap/preview/2024-03-01-preview/examples/Discovery_Navigate_02.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,62 @@ | ||
{ | ||
"parameters": { | ||
"Endpoint": "{Endpoint}", | ||
"NavigationRequest": { | ||
"navigationMode": "assetType", | ||
"itemPath": { | ||
"path": "/azure_sql_server", | ||
"extendedProperties": {} | ||
}, | ||
"properties": {} | ||
}, | ||
"api-version": "2024-03-01-preview", | ||
"maxpagesize": 100, | ||
"continuationToken": "<token>" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"items": [ | ||
{ | ||
"name": "testsqlserver01", | ||
"type": "azure_sql_server", | ||
"isLeafNode": false, | ||
"isEntity": true, | ||
"itemPath": { | ||
"path": "testsqlserver01", | ||
"extendedProperties": { | ||
"resourceGroup": "test-rg", | ||
"serverEndpoint": "testsqlserver01.database.windows.net", | ||
"subscriptionId": "12345678-1234-5678-1234-86b7251e0353" | ||
} | ||
}, | ||
"properties": { | ||
"identifier": "mssql://testsqlserver01.database.windows.net", | ||
"resourceId": "/subscriptions/12345678-1234-5678-1234-86b7251e0353/resourceGroups/test-rg/providers/Microsoft.Sql/servers/testsqlserver01", | ||
"cloudType": "Azure" | ||
} | ||
}, | ||
{ | ||
"name": "testsqlserver02", | ||
"type": "azure_sql_server", | ||
"isLeafNode": false, | ||
"isEntity": true, | ||
"itemPath": { | ||
"path": "testsqlserver02", | ||
"extendedProperties": { | ||
"resourceGroup": "test-rg", | ||
"serverEndpoint": "testsqlserver02.database.windows.net", | ||
"subscriptionId": "12345678-1234-5678-1234-86b7251e0353" | ||
} | ||
}, | ||
"properties": { | ||
"identifier": "mssql://testsqlserver02.database.windows.net", | ||
"resourceId": "/subscriptions/12345678-1234-5678-1234-86b7251e0353/resourceGroups/test-rg/providers/Microsoft.Sql/servers/testsqlserver02", | ||
"cloudType": "Azure" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
58 changes: 58 additions & 0 deletions
58
....Analytics.Purview.DataMap/preview/2024-03-01-preview/examples/Discovery_Navigate_03.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,58 @@ | ||
{ | ||
"parameters": { | ||
"Endpoint": "{Endpoint}", | ||
"NavigationRequest": { | ||
"navigationMode": "assetType", | ||
"itemPath": { | ||
"path": "/azure_sql_server/testsqlserver01", | ||
"extendedProperties": { | ||
"resourceGroup": "test-rg", | ||
"serverEndpoint": "testsqlserver01.database.windows.net", | ||
"subscriptionId": "12345678-1234-5678-1234-86b7251e0353" | ||
} | ||
}, | ||
"properties": {} | ||
}, | ||
"api-version": "2024-03-01-preview", | ||
"maxpagesize": 100, | ||
"continuationToken": "<token>" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"items": [ | ||
{ | ||
"properties": {}, | ||
"name": "databases", | ||
"type": "databases", | ||
"isLeafNode": false, | ||
"isEntity": false, | ||
"itemPath": { | ||
"path": "databases", | ||
"extendedProperties": { | ||
"resourceGroup": "test-rg", | ||
"serverEndpoint": "testsqlserver01.database.windows.net", | ||
"subscriptionId": "12345678-1234-5678-1234-86b7251e0353" | ||
} | ||
} | ||
}, | ||
{ | ||
"properties": {}, | ||
"name": "datawarehouses", | ||
"type": "datawarehouses", | ||
"isLeafNode": false, | ||
"isEntity": false, | ||
"itemPath": { | ||
"path": "datawarehouses", | ||
"extendedProperties": { | ||
"resourceGroup": "test-rg", | ||
"serverEndpoint": "testsqlserver01.database.windows.net", | ||
"subscriptionId": "12345678-1234-5678-1234-86b7251e0353" | ||
} | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
62 changes: 62 additions & 0 deletions
62
....Analytics.Purview.DataMap/preview/2024-03-01-preview/examples/Discovery_Navigate_04.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,62 @@ | ||
{ | ||
"parameters": { | ||
"Endpoint": "{Endpoint}", | ||
"NavigationRequest": { | ||
"navigationMode": "assetType", | ||
"itemPath": { | ||
"path": "/azure_sql_server/testsqlserver01/databases", | ||
"extendedProperties": { | ||
"resourceGroup": "test-rg", | ||
"serverEndpoint": "testsqlserver01.database.windows.net", | ||
"subscriptionId": "12345678-1234-5678-1234-86b7251e0353" | ||
} | ||
}, | ||
"properties": {} | ||
}, | ||
"api-version": "2024-03-01-preview", | ||
"maxpagesize": 100, | ||
"continuationToken": "<token>" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"items": [ | ||
{ | ||
"name": "exampleDatabase01", | ||
"type": "azure_sql_db", | ||
"isLeafNode": false, | ||
"isEntity": true, | ||
"itemPath": { | ||
"path": "exampleDatabase01", | ||
"extendedProperties": { | ||
"resourceGroup": "test-rg", | ||
"serverEndpoint": "testsqlserver01.database.windows.net", | ||
"subscriptionId": "12345678-1234-5678-1234-86b7251e0353" | ||
} | ||
}, | ||
"properties": { | ||
"resourceId": "/subscriptions/12345678-1234-5678-1234-86b7251e0353/resourceGroups/test-rg/providers/Microsoft.Sql/servers/testsqlserver01/databases/exampleDatabase01" | ||
} | ||
}, | ||
{ | ||
"name": "exampleDatabase02", | ||
"type": "azure_sql_db", | ||
"isLeafNode": false, | ||
"isEntity": true, | ||
"itemPath": { | ||
"path": "exampleDatabase02", | ||
"extendedProperties": { | ||
"resourceGroup": "test-rg", | ||
"serverEndpoint": "testsqlserver01.database.windows.net", | ||
"subscriptionId": "12345678-1234-5678-1234-86b7251e0353" | ||
} | ||
}, | ||
"properties": { | ||
"resourceId": "/subscriptions/12345678-1234-5678-1234-86b7251e0353/resourceGroups/test-rg/providers/Microsoft.Sql/servers/testsqlserver01/databases/exampleDatabase02" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
43 changes: 43 additions & 0 deletions
43
....Analytics.Purview.DataMap/preview/2024-03-01-preview/examples/Discovery_Navigate_05.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,43 @@ | ||
{ | ||
"parameters": { | ||
"Endpoint": "{Endpoint}", | ||
"NavigationRequest": { | ||
"navigationMode": "assetType", | ||
"itemPath": { | ||
"path": "/azure_sql_server/testsqlserver01/databases/exampleDatabase01", | ||
"extendedProperties": { | ||
"resourceGroup": "test-rg", | ||
"serverEndpoint": "testsqlserver01.database.windows.net", | ||
"subscriptionId": "12345678-1234-5678-1234-86b7251e0353" | ||
} | ||
}, | ||
"properties": {} | ||
}, | ||
"api-version": "2024-03-01-preview", | ||
"maxpagesize": 100, | ||
"continuationToken": "<token>" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"items": [ | ||
{ | ||
"properties": {}, | ||
"name": "schemas", | ||
"type": "schemas", | ||
"isLeafNode": false, | ||
"isEntity": false, | ||
"itemPath": { | ||
"path": "schemas", | ||
"extendedProperties": { | ||
"resourceGroup": "test-rg", | ||
"serverEndpoint": "testsqlserver01.database.windows.net", | ||
"subscriptionId": "12345678-1234-5678-1234-86b7251e0353" | ||
} | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.