Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add collection endpoint * Fix model issue * Run prettier check * Address PR comments * Address PR comments * Address PR comments * Address PR comments * Address PR comments * Address PR comments * Address PR comments * Address PR comments * Address PR comments * Address PR comments * Address PR comments * Address PR comments * Address PR comments * Address PR comments * Address PR comments * Rename common fields * Add extra fields * Fix check issues * Add tenant id * Run prettier check * Update specification/apisecurity/resource-manager/Microsoft.ApiSecurity/preview/2021-03-01-preview/apisecurity.json Co-authored-by: Arcturus <ufo54153@gmail.com> * Update specification/apisecurity/resource-manager/Microsoft.ApiSecurity/preview/2021-03-01-preview/apisecurity.json Co-authored-by: Arcturus <ufo54153@gmail.com> * Update specification/apisecurity/resource-manager/Microsoft.ApiSecurity/preview/2021-03-01-preview/apisecurity.json Co-authored-by: Arcturus <ufo54153@gmail.com> * Update specification/apisecurity/resource-manager/Microsoft.ApiSecurity/preview/2021-03-01-preview/apisecurity.json Co-authored-by: Arcturus <ufo54153@gmail.com> * Address PR comments * Address PR comments * Address PR comments Co-authored-by: Arcturus <ufo54153@gmail.com>
- Loading branch information
1 parent
86fd958
commit 35d4710
Showing
5 changed files
with
347 additions
and
0 deletions.
There are no files selected for viewing
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
36 changes: 36 additions & 0 deletions
36
....ApiSecurity/preview/2021-03-01-preview/examples/CollectionByName_Get_MaximumSet_Gen.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": "2021-03-01-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"collectionName": "testcollectionname" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"properties": { | ||
"accountId": "123", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"collectionId": "1", | ||
"collectionName": "testname", | ||
"userFriendlyCollectionName": "testfriendlyname", | ||
"uriPath": "test.com", | ||
"hostingEnvironment": "testenv", | ||
"apiEndpointActivity": "Active", | ||
"numberOfApiEndpoints": 12, | ||
"apiDocumentationFound": true | ||
}, | ||
"id": "1234", | ||
"name": "apisecurity", | ||
"type": "Microsoft.ApiSecurity/collections", | ||
"systemData": { | ||
"createdBy": "user1", | ||
"createdByType": "User", | ||
"createdAt": "2021-10-08T03:33:30.289Z", | ||
"lastModifiedBy": "user1", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2021-10-08T03:33:30.289Z" | ||
} | ||
} | ||
} | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
....ApiSecurity/preview/2021-03-01-preview/examples/CollectionByName_Get_MinimumSet_Gen.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,12 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-03-01-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"collectionName": "testcollectionname" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": {} | ||
} | ||
} | ||
} |
49 changes: 49 additions & 0 deletions
49
...osoft.ApiSecurity/preview/2021-03-01-preview/examples/Collections_Get_MaximumSet_Gen.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,49 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-03-01-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"tenantId": "2468", | ||
"pageSize": 20, | ||
"skip": 40, | ||
"x-ms-continuation": "" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"properties": { | ||
"accountId": "123", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"collectionId": "12345", | ||
"collectionName": "testcollectionname", | ||
"userFriendlyCollectionName": "testuserfriendlyname", | ||
"uriPath": "test.com", | ||
"hostingEnvironment": "testenv", | ||
"apiEndpointActivity": "Active", | ||
"numberOfApiEndpoints": 12, | ||
"apiDocumentationFound": true | ||
}, | ||
"id": "1234", | ||
"name": "apisecurity", | ||
"type": "Microsoft.ApiSecurity/collections", | ||
"systemData": { | ||
"createdBy": "user1", | ||
"createdByType": "User", | ||
"createdAt": "2021-10-08T03:33:30.289Z", | ||
"lastModifiedBy": "user1", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2021-10-08T03:33:30.289Z" | ||
} | ||
} | ||
], | ||
"nextLink": "", | ||
"totalApiCollectionsCount": 7, | ||
"totalApiEndpointsCount": 3, | ||
"totalKubernetesClustersCount": 4, | ||
"totalShadowApiEndpointsCount": 30, | ||
"continuationToken": "" | ||
} | ||
} | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
...osoft.ApiSecurity/preview/2021-03-01-preview/examples/Collections_Get_MinimumSet_Gen.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,11 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-03-01-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": {} | ||
} | ||
} | ||
} |