Skip to content

Commit

Permalink
update more examples
Browse files Browse the repository at this point in the history
  • Loading branch information
SerenaLin2020 committed Apr 1, 2024
1 parent 62ddcd1 commit c0db5b9
Show file tree
Hide file tree
Showing 10 changed files with 540 additions and 86 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
{

Check failure on line 1 in specification/purview/data-plane/Azure.Analytics.Purview.DataMap/preview/2024-03-01-preview/examples/Discovery_Navigate_01.json

View check run for this annotation

Azure Pipelines / Swagger PrettierCheck

specification/purview/data-plane/Azure.Analytics.Purview.DataMap/preview/2024-03-01-preview/examples/Discovery_Navigate_01.json#L1

specification/purview/data-plane/Azure.Analytics.Purview.DataMap/preview/2024-03-01-preview/examples/Discovery_Navigate_01.json(1,1): error : Code style issues found, please run prettier. > npm install > npx prettier --write specification/purview/data-plane/Azure.Analytics.Purview.DataMap/preview/2024-03-01-preview/examples/Discovery_Navigate_01.json
"parameters": {
"Endpoint": "{Endpoint}",
"NavigationRequest": {
"navigationMode": "assetType",
"itemPath": {
"path": "/",
"extendedProperties": {
}
},
"includeNextLevelAssetCount": true,
"properties": {
}
},
"api-version": "2024-03-01-preview",
"maxpagesize": 100,
"continuationToken": null
},
"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
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
{

Check failure on line 1 in specification/purview/data-plane/Azure.Analytics.Purview.DataMap/preview/2024-03-01-preview/examples/Discovery_Navigate_02.json

View check run for this annotation

Azure Pipelines / Swagger PrettierCheck

specification/purview/data-plane/Azure.Analytics.Purview.DataMap/preview/2024-03-01-preview/examples/Discovery_Navigate_02.json#L1

specification/purview/data-plane/Azure.Analytics.Purview.DataMap/preview/2024-03-01-preview/examples/Discovery_Navigate_02.json(1,1): error : Code style issues found, please run prettier. > npm install > npx prettier --write specification/purview/data-plane/Azure.Analytics.Purview.DataMap/preview/2024-03-01-preview/examples/Discovery_Navigate_02.json
"parameters": {
"Endpoint": "{Endpoint}",
"NavigationRequest": {
"navigationMode": "assetType",
"itemPath": {
"path": "/azure_sql_server",
"extendedProperties": {
}
},
"properties": {
}
},
"api-version": "2024-03-01-preview",
"maxpagesize": 100,
"continuationToken": null
},
"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"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
{

Check failure on line 1 in specification/purview/data-plane/Azure.Analytics.Purview.DataMap/preview/2024-03-01-preview/examples/Discovery_Navigate_03.json

View check run for this annotation

Azure Pipelines / Swagger PrettierCheck

specification/purview/data-plane/Azure.Analytics.Purview.DataMap/preview/2024-03-01-preview/examples/Discovery_Navigate_03.json#L1

specification/purview/data-plane/Azure.Analytics.Purview.DataMap/preview/2024-03-01-preview/examples/Discovery_Navigate_03.json(1,1): error : Code style issues found, please run prettier. > npm install > npx prettier --write specification/purview/data-plane/Azure.Analytics.Purview.DataMap/preview/2024-03-01-preview/examples/Discovery_Navigate_03.json
"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": null
},
"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"
}
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
{
"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": null
},
"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"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
"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": null
},
"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"
}
}
}
]
}
}
}
}
Loading

0 comments on commit c0db5b9

Please sign in to comment.