-
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.
Purview Account data-plane Swagger (#15216)
* Bootstrap Purview Account data-plane Swagger * Update most recent swagger * Fix spelling and examples that got dropped * Update readme * Fix swagger validation errors
- Loading branch information
Showing
22 changed files
with
3,512 additions
and
0 deletions.
There are no files selected for viewing
1,985 changes: 1,985 additions & 0 deletions
1,985
...urview/data-plane/Azure.Analytics.Purview.Account/preview/2019-11-01-preview/account.json
Large diffs are not rendered by default.
Oops, something went wrong.
69 changes: 69 additions & 0 deletions
69
...ane/Azure.Analytics.Purview.Account/preview/2019-11-01-preview/examples/Accounts_Get.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,69 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2018-12-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": { | ||
"Date": "Wed, 13 Sep 2017 18:04:32 GMT", | ||
"x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", | ||
"X-Content-Type-Options": "nosniff", | ||
"x-ms-ratelimit-remaining-tenant-reads": "14999", | ||
"x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" | ||
}, | ||
"body": { | ||
"location": "West US 2", | ||
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/SampleResourceGroup/providers/Microsoft.ProjectBabylon/accounts/account1", | ||
"name": "account1", | ||
"type": "Microsoft.ProjectBabylon/accounts", | ||
"sku": { | ||
"name": "Standard", | ||
"capacity": 4 | ||
}, | ||
"systemData": { | ||
"createdBy": "client-name", | ||
"createdByType": "User", | ||
"createdAt": "2019-11-22T18:39:58.6929344Z", | ||
"lastModifiedBy": "client-name", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2021-03-16T23:24:34.3430059Z" | ||
}, | ||
"properties": { | ||
"friendlyName": "friendly-account1", | ||
"createdBy": "client-name", | ||
"createdByObjectId": "client-objectId", | ||
"createdAt": "2019-11-22T18:39:58.6929344Z", | ||
"provisioningState": "Succeeded", | ||
"endpoints": { | ||
"catalog": "https://account1.catalog.babylon.azure-test.com", | ||
"scan": "https://account1.scan.babylon.azure-test.com", | ||
"guardian": "https://account1.guardian.babylon.azure-test.com" | ||
}, | ||
"privateEndpointConnections": [ | ||
{ | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"privateEndpoint": { | ||
"id": "/subscriptions/baca8a88-4527-4c35-a13e-b2775ce0d7fc/resourceGroups/nrpResourceGroupName/providers/Microsoft.Network/privateEndpoints/peName" | ||
}, | ||
"privateLinkServiceConnectionState": { | ||
"status": "Pending", | ||
"description": "Please approve my connection, thanks.", | ||
"actionsRequired": "None" | ||
} | ||
}, | ||
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/SampleResourceGroup/providers/Microsoft.ProjectBabylon/accounts/account1/privateEndpointConnections/peName-8536c337-7b36-4d67-a7ce-081655baf59e", | ||
"name": "peName-8536c337-7b36-4d67-a7ce-081655baf59e", | ||
"type": "Microsoft.ProjectBabylon/accounts/privateEndpointConnections" | ||
} | ||
], | ||
"managedResources": { | ||
"resourceGroup": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/managed-rg-mwjotkl", | ||
"storageAccount": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/managed-rg-mwjotkl/providers/Microsoft.Storage/storageAccounts/scanwestustzaagzr", | ||
"eventHubNamespace": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/managed-rg-mwjotkl/providers/Microsoft.EventHub/namespaces/atlas-westusdddnbtp" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
...zure.Analytics.Purview.Account/preview/2019-11-01-preview/examples/Accounts_ListKeys.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,20 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2018-12-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": { | ||
"Date": "Wed, 13 Sep 2017 18:04:32 GMT", | ||
"x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", | ||
"X-Content-Type-Options": "nosniff", | ||
"x-ms-ratelimit-remaining-tenant-reads": "14999", | ||
"x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" | ||
}, | ||
"body": { | ||
"atlasKafkaPrimaryEndpoint": "Endpoint=sb://fake_objectId.servicebus.windows.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=ASDASasdfmasdf123412341234=", | ||
"atlasKafkaSecondaryEndpoint": "Endpoint=sb://fake_objectId.servicebus.windows.net/;SharedAccessKeyName=AlternateSharedAccessKey;SharedAccessKey=BSDASasdfmasdf123412341234=" | ||
} | ||
} | ||
} | ||
} |
23 changes: 23 additions & 0 deletions
23
...nalytics.Purview.Account/preview/2019-11-01-preview/examples/Accounts_RegenerateKeys.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": { | ||
"api-version": "2018-12-01-preview", | ||
"keyOptions": { | ||
"keyType": "PrimaryKey" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": { | ||
"Date": "Wed, 13 Sep 2017 18:04:32 GMT", | ||
"x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", | ||
"X-Content-Type-Options": "nosniff", | ||
"x-ms-ratelimit-remaining-tenant-reads": "14999", | ||
"x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" | ||
}, | ||
"body": { | ||
"atlasKafkaPrimaryEndpoint": "Endpoint=sb://fake_objectId.servicebus.windows.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=ASDASasdfmasdf123412341234=", | ||
"atlasKafkaSecondaryEndpoint": "Endpoint=sb://fake_objectId.servicebus.windows.net/;SharedAccessKeyName=AlternateSharedAccessKey;SharedAccessKey=BSDASasdfmasdf123412341234=" | ||
} | ||
} | ||
} | ||
} |
60 changes: 60 additions & 0 deletions
60
.../Azure.Analytics.Purview.Account/preview/2019-11-01-preview/examples/Accounts_Update.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,60 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", | ||
"resourceGroupName": "SampleResourceGroup", | ||
"accountName": "account1", | ||
"api-version": "2018-12-01-preview", | ||
"accountUpdateParameters": { | ||
"friendlyName": "friendly-account1" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": { | ||
"Date": "Wed, 13 Sep 2017 18:04:32 GMT", | ||
"x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", | ||
"X-Content-Type-Options": "nosniff", | ||
"x-ms-ratelimit-remaining-tenant-reads": "14999", | ||
"x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" | ||
}, | ||
"body": { | ||
"location": "West US 2", | ||
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/SampleResourceGroup/providers/Microsoft.ProjectBabylon/accounts/account1", | ||
"name": "account1", | ||
"type": "Microsoft.ProjectBabylon/accounts", | ||
"sku": { | ||
"name": "Standard", | ||
"capacity": 4 | ||
}, | ||
"systemData": { | ||
"createdBy": "client-name", | ||
"createdByType": "User", | ||
"createdAt": "2019-11-22T18:39:58.6929344Z", | ||
"lastModifiedBy": "client-name", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2021-03-16T23:24:34.3430059Z" | ||
}, | ||
"properties": { | ||
"friendlyName": "friendly-account1", | ||
"createdBy": "client-name", | ||
"createdByObjectId": "client-objectId", | ||
"createdAt": "2019-11-22T18:39:58.6929344Z", | ||
"provisioningState": "Succeeded", | ||
"endpoints": { | ||
"catalog": "https://account2.catalog.babylon.azure-test.com", | ||
"scan": "https://account2.scan.babylon.azure-test.com", | ||
"guardian": "https://account1.guardian.babylon.azure-test.com" | ||
}, | ||
"managedResources": { | ||
"resourceGroup": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/managed-rg-mwjotkl", | ||
"storageAccount": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/managed-rg-mwjotkl/providers/Microsoft.Storage/storageAccounts/scanwestustzaagzr", | ||
"eventHubNamespace": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/managed-rg-mwjotkl/providers/Microsoft.EventHub/namespaces/atlas-westusdddnbtp" | ||
} | ||
}, | ||
"tags": { | ||
"tag": "tag value." | ||
} | ||
} | ||
} | ||
} | ||
} |
43 changes: 43 additions & 0 deletions
43
...ics.Purview.Account/preview/2019-11-01-preview/examples/BusinessRules_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,43 @@ | ||
{ | ||
"parameters": { | ||
"businessRuleName": "myBusinessRule", | ||
"api-version": "2019-11-01-preview", | ||
"businessRule": { | ||
"name": "myBusinessRule", | ||
"ruleJson": "rule1", | ||
"businessRuleMetadata": { | ||
"friendlyName": "myBusinessRuleFriendlyName", | ||
"ruleStatus": "Enabled", | ||
"description": "A sample business rule", | ||
"rank": 1 | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": { | ||
"Date": "Wed, 13 Sep 2017 18:04:32 GMT", | ||
"x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", | ||
"X-Content-Type-Options": "nosniff", | ||
"x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" | ||
}, | ||
"body": { | ||
"name": "myBusinessRule", | ||
"ruleJson": "rule1", | ||
"businessRuleMetadata": { | ||
"catalogId": "d5496da4-9c52-402f-b067-83cc9ddea885", | ||
"friendlyName": "myBusinessRuleFriendlyName", | ||
"ruleStatus": "Enabled", | ||
"expirationTimestamp": "2022-11-22T18:39:58.6929344Z", | ||
"createTimestamp": "2019-11-22T18:39:58.6929344Z", | ||
"lastModifiedTimestamp": "2019-11-22T18:39:58.6929344Z", | ||
"description": "A sample business rule", | ||
"rank": 1, | ||
"version": 1, | ||
"createdBy": "client-name", | ||
"modifiedBy": "modifier-name" | ||
} | ||
} | ||
} | ||
} | ||
} |
24 changes: 24 additions & 0 deletions
24
...e.Analytics.Purview.Account/preview/2019-11-01-preview/examples/BusinessRules_Delete.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,24 @@ | ||
{ | ||
"parameters": { | ||
"businessRuleName": "myBusinessRule", | ||
"api-version": "2019-11-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": { | ||
"Date": "Wed, 13 Sep 2017 18:04:32 GMT", | ||
"x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", | ||
"X-Content-Type-Options": "nosniff", | ||
"x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" | ||
} | ||
}, | ||
"204": { | ||
"headers": { | ||
"Date": "Wed, 13 Sep 2017 18:04:32 GMT", | ||
"x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", | ||
"X-Content-Type-Options": "nosniff", | ||
"x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" | ||
} | ||
} | ||
} | ||
} |
33 changes: 33 additions & 0 deletions
33
....Analytics.Purview.Account/preview/2019-11-01-preview/examples/BusinessRules_Disable.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,33 @@ | ||
{ | ||
"parameters": { | ||
"businessRuleName": "myBusinessRule", | ||
"api-version": "2019-11-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": { | ||
"Date": "Wed, 13 Sep 2017 18:04:32 GMT", | ||
"x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", | ||
"X-Content-Type-Options": "nosniff", | ||
"x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" | ||
}, | ||
"body": { | ||
"name": "myBusinessRule", | ||
"ruleJson": "rule1", | ||
"businessRuleMetadata": { | ||
"catalogId": "d5496da4-9c52-402f-b067-83cc9ddea885", | ||
"friendlyName": "myBusinessRuleFriendlyName", | ||
"ruleStatus": "Disabled", | ||
"expirationTimestamp": "2022-11-22T18:39:58.6929344Z", | ||
"createTimestamp": "2019-11-22T18:39:58.6929344Z", | ||
"lastModifiedTimestamp": "2019-11-22T18:39:58.6929344Z", | ||
"description": "A sample business rule", | ||
"rank": 1, | ||
"version": 1, | ||
"createdBy": "client-name", | ||
"modifiedBy": "modifier-name" | ||
} | ||
} | ||
} | ||
} | ||
} |
33 changes: 33 additions & 0 deletions
33
...e.Analytics.Purview.Account/preview/2019-11-01-preview/examples/BusinessRules_Enable.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,33 @@ | ||
{ | ||
"parameters": { | ||
"businessRuleName": "myBusinessRule", | ||
"api-version": "2019-11-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": { | ||
"Date": "Wed, 13 Sep 2017 18:04:32 GMT", | ||
"x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", | ||
"X-Content-Type-Options": "nosniff", | ||
"x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" | ||
}, | ||
"body": { | ||
"name": "myBusinessRule", | ||
"ruleJson": "rule1", | ||
"businessRuleMetadata": { | ||
"catalogId": "d5496da4-9c52-402f-b067-83cc9ddea885", | ||
"friendlyName": "myBusinessRuleFriendlyName", | ||
"ruleStatus": "Enabled", | ||
"expirationTimestamp": "2022-11-22T18:39:58.6929344Z", | ||
"createTimestamp": "2019-11-22T18:39:58.6929344Z", | ||
"lastModifiedTimestamp": "2019-11-22T18:39:58.6929344Z", | ||
"description": "A sample business rule", | ||
"rank": 1, | ||
"version": 1, | ||
"createdBy": "client-name", | ||
"modifiedBy": "modifier-name" | ||
} | ||
} | ||
} | ||
} | ||
} |
33 changes: 33 additions & 0 deletions
33
...zure.Analytics.Purview.Account/preview/2019-11-01-preview/examples/BusinessRules_Get.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,33 @@ | ||
{ | ||
"parameters": { | ||
"businessRuleName": "myBusinessRule", | ||
"api-version": "2019-11-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": { | ||
"Date": "Wed, 13 Sep 2017 18:04:32 GMT", | ||
"x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", | ||
"X-Content-Type-Options": "nosniff", | ||
"x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" | ||
}, | ||
"body": { | ||
"name": "myBusinessRule", | ||
"ruleJson": "rule1", | ||
"businessRuleMetadata": { | ||
"catalogId": "d5496da4-9c52-402f-b067-83cc9ddea885", | ||
"friendlyName": "myBusinessRuleFriendlyName", | ||
"ruleStatus": "Enabled", | ||
"expirationTimestamp": "2022-11-22T18:39:58.6929344Z", | ||
"createTimestamp": "2019-11-22T18:39:58.6929344Z", | ||
"lastModifiedTimestamp": "2019-11-22T18:39:58.6929344Z", | ||
"description": "A sample business rule", | ||
"rank": 1, | ||
"version": 1, | ||
"createdBy": "client-name", | ||
"modifiedBy": "modifier-name" | ||
} | ||
} | ||
} | ||
} | ||
} |
36 changes: 36 additions & 0 deletions
36
...tics.Purview.Account/preview/2019-11-01-preview/examples/BusinessRules_ListByAccount.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": { | ||
"api-version": "2019-11-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": { | ||
"Date": "Wed, 13 Sep 2017 18:04:32 GMT", | ||
"x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", | ||
"X-Content-Type-Options": "nosniff", | ||
"x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" | ||
}, | ||
"body": { | ||
"value": [ | ||
{ | ||
"name": "myBusinessRule", | ||
"ruleJson": "rule1", | ||
"businessRuleMetadata": { | ||
"catalogId": "d5496da4-9c52-402f-b067-83cc9ddea885", | ||
"friendlyName": "myBusinessRuleFriendlyName", | ||
"ruleStatus": "Enabled", | ||
"expirationTimestamp": "2022-11-22T18:39:58.6929344Z", | ||
"createTimestamp": "2019-11-22T18:39:58.6929344Z", | ||
"lastModifiedTimestamp": "2019-11-22T18:39:58.6929344Z", | ||
"description": "A sample business rule", | ||
"rank": 1, | ||
"version": 1, | ||
"createdBy": "client-name", | ||
"modifiedBy": "modifier-name" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.