forked from Azure/azure-sdk-for-python
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add collection APIs * Update purviewcatalog.json * Add default error response * Update purviewcatalog.json * Revert "Update purviewcatalog.json" This reverts commit 97dcdea6b2cd51893d4903f9f068a6a6da3890e4. * Revert "Add default error response" This reverts commit 37a50df89ed98f05b411d036ea84caf6bb098dd6. * fix api-version
- Loading branch information
1 parent
a2ff0f7
commit 7ba7687
Showing
4 changed files
with
282 additions
and
0 deletions.
There are no files selected for viewing
39 changes: 39 additions & 0 deletions
39
...Purview.Catalog/preview/2021-05-01-preview/examples/CatalogCollection_createOrUpdate.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,39 @@ | ||
{ | ||
"parameters": { | ||
"Endpoint": "{Endpoint}", | ||
"collection": "ExampleCollection", | ||
"api-version": "2021-05-01-preview", | ||
"entity": { | ||
"referredEntities": {}, | ||
"entity": { | ||
"typeName": "azure_storage_account", | ||
"attributes": { | ||
"name": "exampleaccount", | ||
"qualifiedName": "https://exampleaccount.core.windows.net" | ||
} | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"mutatedEntities": { | ||
"CREATE": [ | ||
{ | ||
"typeName": "azure_storage_account", | ||
"attributes": { | ||
"qualifiedName": "https://exampleaccount.core.windows.net" | ||
}, | ||
"lastModifiedTS": "1", | ||
"guid": "38d3c41f-300c-434e-8dad-0b1a7cb5efd6", | ||
"status": "ACTIVE" | ||
} | ||
] | ||
}, | ||
"guidAssignments": { | ||
"-9514774903018162": "38d3c41f-300c-434e-8dad-0b1a7cb5efd6" | ||
} | ||
} | ||
} | ||
} | ||
} |
61 changes: 61 additions & 0 deletions
61
...iew.Catalog/preview/2021-05-01-preview/examples/CatalogCollection_createOrUpdateBulk.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,61 @@ | ||
{ | ||
"parameters": { | ||
"Endpoint": "{Endpoint}", | ||
"collection": "ExampleCollection", | ||
"api-version": "2021-05-01-preview", | ||
"entities": { | ||
"referredEntities": {}, | ||
"entities": [ | ||
{ | ||
"typeName": "azure_storage_account", | ||
"attributes": { | ||
"qualifiedName": "exampleaccount", | ||
"name": "exampleaccount", | ||
"description": "Example Description" | ||
} | ||
}, | ||
{ | ||
"typeName": "azure_storage_account", | ||
"attributes": { | ||
"qualifiedName": "exampleaccount2", | ||
"name": "exampleaccount2" | ||
} | ||
} | ||
] | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"mutatedEntities": { | ||
"UPDATE": [ | ||
{ | ||
"typeName": "azure_storage_account", | ||
"attributes": { | ||
"qualifiedName": "exampleaccount" | ||
}, | ||
"lastModifiedTS": "2", | ||
"guid": "b2f9c306-cf65-4bb0-878e-cfaafde156b1", | ||
"status": "ACTIVE" | ||
} | ||
], | ||
"CREATE": [ | ||
{ | ||
"typeName": "azure_storage_account", | ||
"attributes": { | ||
"qualifiedName": "exampleaccount2" | ||
}, | ||
"lastModifiedTS": "1", | ||
"guid": "321493e3-3fb7-4b3e-9df7-3b69154174c2", | ||
"status": "ACTIVE" | ||
} | ||
] | ||
}, | ||
"guidAssignments": { | ||
"-9514774903018192": "321493e3-3fb7-4b3e-9df7-3b69154174c2", | ||
"-9514774903018193": "b2f9c306-cf65-4bb0-878e-cfaafde156b1" | ||
} | ||
} | ||
} | ||
} | ||
} |
45 changes: 45 additions & 0 deletions
45
...talog/preview/2021-05-01-preview/examples/CatalogCollection_moveEntitiesToCollection.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,45 @@ | ||
{ | ||
"parameters": { | ||
"Endpoint": "{Endpoint}", | ||
"collection": "ExampleNewCollection", | ||
"api-version": "2021-05-01-preview", | ||
"moveEntitiesRequest": { | ||
"entityGuids": [ | ||
"321493e3-3fb7-4b3e-9df7-3b69154174c2", | ||
"b2f9c306-cf65-4bb0-878e-cfaafde156b1" | ||
] | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"mutatedEntities": { | ||
"UPDATE": [ | ||
{ | ||
"typeName": "azure_storage_account", | ||
"attributes": { | ||
"qualifiedName": "exampleaccount" | ||
}, | ||
"lastModifiedTS": "3", | ||
"guid": "b2f9c306-cf65-4bb0-878e-cfaafde156b1", | ||
"status": "ACTIVE" | ||
}, | ||
{ | ||
"typeName": "azure_storage_account", | ||
"attributes": { | ||
"qualifiedName": "exampleaccount2" | ||
}, | ||
"lastModifiedTS": "2", | ||
"guid": "321493e3-3fb7-4b3e-9df7-3b69154174c2", | ||
"status": "ACTIVE" | ||
} | ||
] | ||
}, | ||
"guidAssignments": { | ||
"-9514774903018192": "321493e3-3fb7-4b3e-9df7-3b69154174c2", | ||
"-9514774903018193": "b2f9c306-cf65-4bb0-878e-cfaafde156b1" | ||
} | ||
} | ||
} | ||
} | ||
} |
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