-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Hub Generated] [Microsoft.Security] Publish private branch 'aditdalv…
…i-security-Microsoft.Security-2022-11-20-preview' to add version stable/2023-11-15 (#25515) * Initial commit * Update api-version to GA and set displayName to read-only * Fix validation errors * More APIs and changes to operationIds * Fix prettier failures * Try fixing Prettier again * Add more properties to the response * Fix semantic validation * Update examples * Add 202 Accepted as a response in onboarding * Add x-ms-long-running-operation * Fix more linting issues * Fix more linting issues * Remove 202 for now to see if pipeline runs * Put 202 back * Add provisioning state * Add 201 response * Update descriptions * Update example * Modifications based on feedback from PMs, designers and NDA customers * Fix model validation * Update PR based on #24938 * Fix build errors * Address feedback from ARM reviewer * Fix reference * fix readme.python.md * Update example header value * Address PR feedback * Update description based on PR feedback --------- Co-authored-by: Yuchao Yan <[email protected]>
- Loading branch information
1 parent
34b037a
commit 5e30bb6
Showing
8 changed files
with
669 additions
and
1 deletion.
There are no files selected for viewing
474 changes: 474 additions & 0 deletions
474
...cation/security/resource-manager/Microsoft.Security/stable/2023-11-15/apiCollections.json
Large diffs are not rendered by default.
Oops, something went wrong.
30 changes: 30 additions & 0 deletions
30
...-11-15/examples/ApiCollections/APICollections_GetByAzureApiManagementService_example.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,30 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", | ||
"resourceGroupName": "rg1", | ||
"serviceName": "apimService1", | ||
"apiId": "echo-api", | ||
"api-version": "2023-11-15" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/3fa85f64-5717-4562-b3fc-2c963f66afa6/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/providers/Microsoft.Security/apiCollections/echo-api", | ||
"name": "echo-api", | ||
"type": "Microsoft.Security/apiCollections", | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"displayName": "Echo API", | ||
"discoveredVia": "/subscriptions/3fa85f64-5717-4562-b3fc-2c963f66afa6/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1", | ||
"baseUrl": "https://apimservice1.azure-api.net/echo", | ||
"numberOfApiEndpoints": 6, | ||
"numberOfInactiveApiEndpoints": 3, | ||
"numberOfUnauthenticatedApiEndpoints": 1, | ||
"numberOfExternalApiEndpoints": 3, | ||
"numberOfApiEndpointsWithSensitiveDataExposed": 1, | ||
"sensitivityLabel": "Highly Confidential" | ||
} | ||
} | ||
} | ||
} | ||
} |
34 changes: 34 additions & 0 deletions
34
...11-15/examples/ApiCollections/APICollections_ListByAzureApiManagementService_example.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,34 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", | ||
"resourceGroupName": "rg1", | ||
"serviceName": "apimService1", | ||
"api-version": "2023-11-15" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/3fa85f64-5717-4562-b3fc-2c963f66afa6/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/providers/Microsoft.Security/apiCollections/echo-api", | ||
"name": "echo-api", | ||
"type": "Microsoft.Security/apiCollections", | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"displayName": "Echo API", | ||
"discoveredVia": "/subscriptions/3fa85f64-5717-4562-b3fc-2c963f66afa6/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1", | ||
"baseUrl": "https://apimservice1.azure-api.net/echo", | ||
"numberOfApiEndpoints": 6, | ||
"numberOfInactiveApiEndpoints": 3, | ||
"numberOfUnauthenticatedApiEndpoints": 1, | ||
"numberOfExternalApiEndpoints": 3, | ||
"numberOfApiEndpointsWithSensitiveDataExposed": 1, | ||
"sensitivityLabel": "Highly Confidential" | ||
} | ||
} | ||
], | ||
"nextLink": "https://management.azure.com/subscriptions/3fa85f64-5717-4562-b3fc-2c963f66afa6/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/providers/Microsoft.Security/apiCollections?api-version=2023-11-15&$skipToken=ac943fd6a934" | ||
} | ||
} | ||
} | ||
} |
33 changes: 33 additions & 0 deletions
33
...stable/2023-11-15/examples/ApiCollections/APICollections_ListByResourceGroup_example.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": { | ||
"subscriptionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", | ||
"resourceGroupName": "rg1", | ||
"api-version": "2023-11-15" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/3fa85f64-5717-4562-b3fc-2c963f66afa6/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/providers/Microsoft.Security/apiCollections/echo-api", | ||
"name": "echo-api", | ||
"type": "Microsoft.Security/apiCollections", | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"displayName": "Echo API", | ||
"discoveredVia": "/subscriptions/3fa85f64-5717-4562-b3fc-2c963f66afa6/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1", | ||
"baseUrl": "https://apimservice1.azure-api.net/echo", | ||
"numberOfApiEndpoints": 6, | ||
"numberOfInactiveApiEndpoints": 3, | ||
"numberOfUnauthenticatedApiEndpoints": 1, | ||
"numberOfExternalApiEndpoints": 3, | ||
"numberOfApiEndpointsWithSensitiveDataExposed": 1, | ||
"sensitivityLabel": "Highly Confidential" | ||
} | ||
} | ||
], | ||
"nextLink": "https://management.azure.com/subscriptions/3fa85f64-5717-4562-b3fc-2c963f66afa6/resourceGroups/rg1/providers/Microsoft.Security/apiCollections?api-version=2023-11-15&$skipToken=ac943fd6a934" | ||
} | ||
} | ||
} | ||
} |
32 changes: 32 additions & 0 deletions
32
.../stable/2023-11-15/examples/ApiCollections/APICollections_ListBySubscription_example.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,32 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", | ||
"api-version": "2023-11-15" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/3fa85f64-5717-4562-b3fc-2c963f66afa6/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/providers/Microsoft.Security/apiCollections/echo-api", | ||
"name": "echo-api", | ||
"type": "Microsoft.Security/apiCollections", | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"displayName": "Echo API", | ||
"discoveredVia": "/subscriptions/3fa85f64-5717-4562-b3fc-2c963f66afa6/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1", | ||
"baseUrl": "https://apimservice1.azure-api.net/echo", | ||
"numberOfApiEndpoints": 6, | ||
"numberOfInactiveApiEndpoints": 3, | ||
"numberOfUnauthenticatedApiEndpoints": 1, | ||
"numberOfExternalApiEndpoints": 3, | ||
"numberOfApiEndpointsWithSensitiveDataExposed": 1, | ||
"sensitivityLabel": "Highly Confidential" | ||
} | ||
} | ||
], | ||
"nextLink": "https://management.azure.com/subscriptions/3fa85f64-5717-4562-b3fc-2c963f66afa6/providers/Microsoft.Security/apiCollections?api-version=2023-11-15&$skipToken=ac943fd6a934" | ||
} | ||
} | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
...3-11-15/examples/ApiCollections/APICollections_OffboardAzureApiManagementApi_example.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,13 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", | ||
"resourceGroupName": "rg1", | ||
"serviceName": "apimService1", | ||
"apiId": "echo-api", | ||
"api-version": "2023-11-15" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"204": {} | ||
} | ||
} |
43 changes: 43 additions & 0 deletions
43
...23-11-15/examples/ApiCollections/APICollections_OnboardAzureApiManagementApi_example.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": { | ||
"subscriptionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", | ||
"resourceGroupName": "rg1", | ||
"serviceName": "apimService1", | ||
"apiId": "echo-api", | ||
"api-version": "2023-11-15" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/3fa85f64-5717-4562-b3fc-2c963f66afa6/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/providers/Microsoft.Security/apiCollections/echo-api", | ||
"name": "echo-api", | ||
"type": "Microsoft.Security/apiCollections", | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"displayName": "Echo API", | ||
"discoveredVia": "/subscriptions/3fa85f64-5717-4562-b3fc-2c963f66afa6/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1", | ||
"baseUrl": "https://apimservice1.azure-api.net/echo", | ||
"numberOfApiEndpoints": 6, | ||
"numberOfInactiveApiEndpoints": 3, | ||
"numberOfUnauthenticatedApiEndpoints": 1, | ||
"numberOfExternalApiEndpoints": 3, | ||
"numberOfApiEndpointsWithSensitiveDataExposed": 1, | ||
"sensitivityLabel": "Highly Confidential" | ||
} | ||
} | ||
}, | ||
"201": { | ||
"headers": { | ||
"Location": "https://management.azure.com/subscriptions/3fa85f64-5717-4562-b3fc-2c963f66afa6/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/providers/Microsoft.Security/apiCollections/echo-api?api-version=2023-11-15&$asyncScope=eyJydSI6NTM4MjczMzI4NDQ3MjA1NzY2fQ==" | ||
}, | ||
"body": { | ||
"id": "/subscriptions/3fa85f64-5717-4562-b3fc-2c963f66afa6/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/providers/Microsoft.Security/apiCollections/echo-api", | ||
"name": "echo-api", | ||
"type": "Microsoft.Security/apiCollections", | ||
"properties": { | ||
"provisioningState": "InProgress" | ||
} | ||
} | ||
} | ||
} | ||
} |
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