-
Notifications
You must be signed in to change notification settings - Fork 5.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add dynamic metric alert api #5677
Conversation
Automation for azure-sdk-for-jsA PR has been created for you based on this PR content. Once this PR will be merged, content will be added to your service PR: |
Automation for azure-sdk-for-pythonThe initial PR has been merged into your service PR: |
Automation for azure-sdk-for-goThe initial PR has been merged into your service PR: |
Automation for azure-sdk-for-rubyNothing to generate for azure-sdk-for-ruby |
Can one of the admins verify this patch? |
…eOrUpdateDynamicMetricAlertMultipleResource.json
Automation for azure-sdk-for-javaThe initial PR has been merged into your service PR: |
REST Spec PR 'Azure/azure-rest-api-specs#5677' REST Spec PR Author 'meday89' REST Spec PR Last commit
Automation for azure-sdk-for-netA PR has been created for you: |
@@ -537,14 +541,14 @@ | |||
"allOf": { | |||
"type": "array", | |||
"items": { | |||
"$ref": "#/definitions/MetricCriteria" | |||
"$ref": "#/definitions/StaticMetricCriteria" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Breaking change in stable API.
Any reason you would like to change your models in a stable version?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed, please see updates.
"severity": 3, | ||
"enabled": true, | ||
"scopes": [ | ||
"/subscriptions/14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7/resourceGroups/gigtest/providers/Microsoft.Compute/virtualMachines/gigwadme" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@meday89 if you are using real subscriptionId, use a fake subscriptionId.
We recommend (000000-0000-00000...…..)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed, please see updates.
REST Spec PR 'Azure/azure-rest-api-specs#5677' REST Spec PR Author 'meday89' REST Spec PR Last commit
* Add dynamic metric alert api * add new line at end of flie * Fix file name * Rename CreateOrUpdateDynamicMetricAlertMultipleResource.json to createOrUpdateDynamicMetricAlertMultipleResource.json * Remove failing dependency * Add back example dependency * Rename microsoft.insight * Update dynamic threshold criteria descriptions * Fix PR comments: Revert name change + Use fake subscriptionId
* .NET SDK Resource Provider:'Monitor' REST Spec PR 'Azure/azure-rest-api-specs#5677' REST Spec PR Author 'meday89' REST Spec PR Last commit * .NET SDK Resource Provider:'Monitor' REST Spec PR 'Azure/azure-rest-api-specs#5677' REST Spec PR Author 'meday89' REST Spec PR Last commit
* .NET SDK Resource Provider:'Monitor' REST Spec PR 'Azure/azure-rest-api-specs#5677' REST Spec PR Author 'meday89' REST Spec PR Last commit * .NET SDK Resource Provider:'Monitor' REST Spec PR 'Azure/azure-rest-api-specs#5677' REST Spec PR Author 'meday89' REST Spec PR Last commit
* Added regultory compliance to package-composite-v3 (#5786) * Added regultory compliance to package-composite-v3 * Added regultory compliance to package-composite-v3 * Improve documentation of sql database & elastic pool skus (#5756) * Improve documentation of db and pool skus * Update documentation for database 2017-10-01-preview * Update documentation for elastic pool 2017-10-01-preview * Fixed syntax error in databases 2017-10-01 * Fixed syntax error in elasticPools 2017-10-01 * Remove CreateVCoreDatabase example that is no longer referenced * Remove DW DTU capacity example due to feedback * Fixed broken Sku reference * Fixed model validation issues * Fixed another model validation error * Additional doc tweaks * Create new resource type: Microsoft.ResourceGraph/queries (#5478) * Adding Workbooks resource type. * Rename workbookDelete.json to WorkbookDelete.json * Fixed undefiend parameter issue with Delete verb. * Update swagger to add subscriptionId * Fixed duplicated operation id issue * Removed links endpoint * Removed unused samples * Revert "Removed unused samples" This reverts commit bed6bc3. * Revert "Removed links endpoint" This reverts commit c245a85. * Removed link logic and added get by resourceid * Applied PR comments * Added Resource Group parameter for GET. Removed get by sourceId since we are not using sourceId anymore * Resolved the merge conflicts with readme.md * Remove a location parameter since ARM routes it as we are using an tracted resource type * Created newer version (2018-04-01-preview) for workbook resource type. * Added Microsoft/Insights/Operations * Added Microsoft/Insights/Operations * Corrected the api version. * Made properties of PATCH operation as not required. Updated the version number to reflect the actual production one. * Updated Resource properties with the correct fields. Created new definition for PATCH operation since location is not required field * Update readme file * Uses plural for operation group name * Removed x-ms-mutability settings * Removed the location settings for PATCH * Added Microsoft.ResourceGraph/SavedQuery resource type * Fixed various validation errors * Updated ARG/resources to add a saved query support along with examples * Updated ARM/resources based on the feedback * Prepared for Swagger submittion * Added saved query entry in readme.md * Changed HTTP status code of 201 to 200 for DELETE * Removed a name from payload since it is already specified in url * Removed location since it is a global resource and added eTag * Moved savedquery.json along with all examples into 2018-09-01-preview folder * Update saved query metadata in OperationsList.json * Updated readme.md file to address a version * Fixed a version for saved query * Fixed indentation of -input-file in readme * Renamed Saved => Graph * Applied PR comments * Restored extended enum value in ResultKind since we are using it * Removed the extended enum value again * Apply ARM API team comments * Fix examples * Fix examples * Added nextLinkName * add Go SDK build * make descriptions match * Added nextLink definition in OperationListResult * Removed a duplicated OperationListResult and reference to resourcegraph.json * Added nextLinkName: nextLink for x-ms-pageable in operations * fix formatting and description * Removed extended from enum * Updating Profile format (#5768) * Updating Profile format Updating profile spec format to include actual path for resource spec * Update 2019-03-01-hybrid.json updating resourceName to resourceType * [Azure Search] New GA data-plane API spec for version 2019-05-06 (#5782) * [Azure Search] Copy 2017-11-11-Preview specs to 2019-05-06 * [Azure Search] Update 2019-05-06 spec to reflect new GA API Made the following changes to specs and examples: 1. Changed version number from 2017-11-11-Preview to 2019-05-06. 2. Removed encryptionKey from Index and SynonymMap, as well as supporting types and examples. Encryption with customer-managed keys is still in preview. 3. Added statusCode to IndexError since this was added to the 2019-05-06 API. 4. Made DataSourceCredentials.connectionString an optional property to suppress generation of client-side validation code. This will make it easier for customers to write correct code that updates their data sources. This is especially important now that Create and CreateOrUpdate do not return the connection string. No further changes are required because all other features from 2017-11-11-Preview are now GA in 2019-05-06. * [SRP] Expose lease container in Apr19 API. (#5733) * [SRP] Expose lease container in Apr19 API. * Fix lease container example files; fix casing in Lease Container URL * Update CODEOWNERS (#5794) assigning as one of the owners of profile directory * [Microsoft.ResourceGraph] Returning null for nextLink in example to preserve the existing scenario (#5792) * Adding Workbooks resource type. * Rename workbookDelete.json to WorkbookDelete.json * Fixed undefiend parameter issue with Delete verb. * Update swagger to add subscriptionId * Fixed duplicated operation id issue * Removed links endpoint * Removed unused samples * Revert "Removed unused samples" This reverts commit bed6bc3. * Revert "Removed links endpoint" This reverts commit c245a85. * Removed link logic and added get by resourceid * Applied PR comments * Added Resource Group parameter for GET. Removed get by sourceId since we are not using sourceId anymore * Resolved the merge conflicts with readme.md * Remove a location parameter since ARM routes it as we are using an tracted resource type * Created newer version (2018-04-01-preview) for workbook resource type. * Added Microsoft/Insights/Operations * Added Microsoft/Insights/Operations * Corrected the api version. * Made properties of PATCH operation as not required. Updated the version number to reflect the actual production one. * Updated Resource properties with the correct fields. Created new definition for PATCH operation since location is not required field * Update readme file * Uses plural for operation group name * Removed x-ms-mutability settings * Removed the location settings for PATCH * Added Microsoft.ResourceGraph/SavedQuery resource type * Fixed various validation errors * Updated ARG/resources to add a saved query support along with examples * Updated ARM/resources based on the feedback * Prepared for Swagger submittion * Added saved query entry in readme.md * Changed HTTP status code of 201 to 200 for DELETE * Removed a name from payload since it is already specified in url * Removed location since it is a global resource and added eTag * Moved savedquery.json along with all examples into 2018-09-01-preview folder * Update saved query metadata in OperationsList.json * Updated readme.md file to address a version * Fixed a version for saved query * Fixed indentation of -input-file in readme * Renamed Saved => Graph * Applied PR comments * Restored extended enum value in ResultKind since we are using it * Removed the extended enum value again * Apply ARM API team comments * Fix examples * Fix examples * Added nextLinkName * add Go SDK build * make descriptions match * Added nextLink definition in OperationListResult * Removed a duplicated OperationListResult and reference to resourcegraph.json * Added nextLinkName: nextLink for x-ms-pageable in operations * fix formatting and description * Removed extended from enum * Remove nextLink from the example * Returning null for nextLink in the example so that we can preserve the existing scenario. * Removed nextLink entirely per PR comment * Update the default tag for LUIS Runtime (#5793) * typo: cognitiveservices/data-plane/LUIS/Runtime (#5798) - analaysis -> analysis - perdicted -> predicted * Add TypeScript readme for Serial Console (#5806) * chore: jsonfmt adhybridhealthservice (#5799) * Add Swagger and Examples for custom resource provider to Azure (#5808) * Add Swagger and Examples for custom resource provider to Azure * Apply suggestions from code review Fix typos in strings for RP. Co-Authored-By: jjbfour <jobreen@microsoft.com> * Add dynamic metric alert api (#5677) * Add dynamic metric alert api * add new line at end of flie * Fix file name * Rename CreateOrUpdateDynamicMetricAlertMultipleResource.json to createOrUpdateDynamicMetricAlertMultipleResource.json * Remove failing dependency * Add back example dependency * Rename microsoft.insight * Update dynamic threshold criteria descriptions * Fix PR comments: Revert name change + Use fake subscriptionId * removed unused profiles * regenerated multiapi readmes * regenerated latest profile
Latest improvements:
MSFT employees can try out our new experience at OpenAPI Hub - one location for using our validation tools and finding your workflow.
Contribution checklist:
ARM API Review Checklist
Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs.
Please follow the link to find more details on API review process.