azure-rest-api-specs icon indicating copy to clipboard operation
azure-rest-api-specs copied to clipboard

Add specs for microsoft.monitor RP

Open divya-jay opened this issue 3 years ago • 8 comments

MSFT employees can try out our new experience at OpenAPI Hub - one location for using our validation tools and finding your workflow.

Changelog

Add a changelog entry for this PR by answering the following questions:

  1. What's the purpose of the update?
    • [x] new service onboarding
    • [ ] new API version
    • [ ] update existing version for new feature
    • [ ] update existing version to fix swagger quality issue in s360
    • [ ] Other, please clarify
  2. When are you targeting to deploy the new service/feature to public regions? Please provide the date or, if the date is not yet available, the month. - Currently deployed in Public regions
  3. When do you expect to publish the swagger? Please provide date or, the the date is not yet available, the month. - August
  4. If updating an existing version, please select the specific language SDKs and CLIs that must be refreshed after the swagger is published.
    • [ ] SDK of .NET (need service team to ensure code readiness)
    • [ ] SDK of Python
    • [ ] SDK of Java
    • [ ] SDK of Js
    • [ ] SDK of Go
    • [ ] PowerShell
    • [ ] CLI
    • [ ] Terraform
    • [x] No refresh required for updates in this PR

Contribution checklist:

If any further question about AME onboarding or validation tools, please view the FAQ.

ARM API Review Checklist

Applicability: :warning:

If your changes encompass only the following scenarios, you should SKIP this section, as these scenarios do not require ARM review.

  • Change to data plane APIs
  • Adding new properties
  • All removals

Otherwise your PR may be subject to ARM review requirements. Complete the following:

  • [x] Check this box if any of the following appy to the PR so that the label "ARMReview" and "WaitForARMFeedback" will be added by bot to kick off ARM API Review. Missing to check this box in the following scenario may result in delays to the ARM manifest review and deployment.

    • Adding a new service
    • Adding new API(s)
    • Adding a new API version -[ ] To review changes efficiently, ensure you are using OpenAPIHub to initialize the PR for adding a new version. More details, refer to the wiki.
  • [x] Ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

  • [ ] If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist

If any of the following scenarios apply to the PR, request approval from the Breaking Change Review Board as defined in the Breaking Change Policy.

  • [ ] Removing API(s) in a stable version
  • [ ] Removing properties in a stable version
  • [ ] Removing API version(s) in a stable version
  • [ ] Updating API in a stable or public preview version with Breaking Change Validation errors
  • [ ] Updating API(s) in public preview over 1 year (refer to Retirement of Previews)

Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Addition details on the process and office hours are on the Breaking change Wiki.

Please follow the link to find more details on PR review process.

divya-jay avatar Jul 29 '22 21:07 divya-jay

Hi, @divya-jay Thanks for your PR. I am workflow bot for review process. Here are some small tips.

  • Please ensure to do self-check against checklists in first PR comment.
  • PR assignee is the person auto-assigned and responsible for your current PR reviewing and merging.
  • For specs comparison cross API versions, Use API Specs Comparison Report Generator
  • If there is CI failure(s), to fix CI error(s) is mandatory for PR merging; or you need to provide justification in PR comment for explanation. How to fix?
  • Any feedback about review process or workflow bot, pls contact swagger and tools team. [email protected]

    Swagger Validation Report

    ️️✔️BreakingChange succeeded [Detail] [Expand]
    There are no breaking changes.
    ️️✔️Breaking Change(Cross-Version) succeeded [Detail] [Expand]
    There are no breaking changes.
    ️️✔️CredScan succeeded [Detail] [Expand]
    There is no credential detected.
    ️️✔️LintDiff succeeded [Detail] [Expand]
    Validation passes for LintDiff.
    compared tags (via openapi-validator v1.13.0) new version base version
    package-composite-v1 package-composite-v1(bb865cd) package-composite-v1(main)
    ️⚠️Avocado: 1 Warnings warning [Detail]
    Rule Message
    :warning: MULTIPLE_API_VERSION The default tag contains multiple API versions swaggers.
    readme: specification/monitor/resource-manager/readme.md
    tag: specification/monitor/resource-manager/readme.md#tag-package-composite-v1
    ️️✔️ApiReadinessCheck succeeded [Detail] [Expand]
    ️❌~[Staging] ServiceAPIReadinessTest: 116 Errors, 0 Warnings failed [Detail]

    Tag package-composite-v1; Prod region: Deployed

    Test run on region: centralindia; Operation coverage: total: 110, untested: 0, failed: 74, passed: 36

    Service API Readiness Test failed. Check pipeline artifact for detail report.

    Only 30 items are listed, please refer to log for more details.

    Rule Message
    CLIENT_ERROR "statusCode: 400,
    errorCode: LocationNotAvailableForResourceType,
    errorMessage: The provided location 'centralindia' is not available for resource type 'microsoft.insights/privateLinkScopes'. List of available regions for the resource type is 'global'."
    CLIENT_ERROR "statusCode: 404,
    errorCode: ResourceNotFound,
    errorMessage: The Resource 'microsoft.insights/privateLinkScopes/scopenameixrs5y' under resource group 'apiTest-lmfEVl-20026' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"
    CLIENT_ERROR "statusCode: 404,
    errorCode: ResourceNotFound,
    errorMessage: The Resource 'microsoft.insights/privateLinkScopes/scopenameixrs5y' under resource group 'apiTest-lmfEVl-20026' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"
    CLIENT_ERROR "statusCode: 400,
    errorCode: LocationNotAvailableForResourceType,
    errorMessage: The provided location 'centralindia' is not available for resource type 'microsoft.insights/actiongroups'. List of available regions for the resource type is 'global,
    swedencentral,
    germanywestcentral,
    eastus2euap,
    centraluseuap'."
    OBJECT_ADDITIONAL_PROPERTIES "Additional properties not allowed: error"
    SERVER_ERROR "statusCode: 500,
    errorCode: undefined,
    errorMessage: undefined"
    SERVER_ERROR "statusCode: 500,
    errorCode: undefined,
    errorMessage: undefined"
    CLIENT_ERROR "statusCode: 404,
    errorCode: ResourceNotFound,
    errorMessage: The Resource 'Microsoft.Insights/actiongroups/actiongrouarejh9' under resource group 'apiTest-lmfEVl-20026' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"
    OBJECT_ADDITIONAL_PROPERTIES "Additional properties not allowed: error"
    CLIENT_ERROR "statusCode: 404,
    errorCode: ResourceNotFound,
    errorMessage: The Resource 'Microsoft.Insights/actiongroups/actiongrouarejh9' under resource group 'apiTest-lmfEVl-20026' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"
    OBJECT_ADDITIONAL_PROPERTIES "Additional properties not allowed: error"
    CLIENT_ERROR "statusCode: 404,
    errorCode: ResourceNotFound,
    errorMessage: The Resource 'Microsoft.Insights/actiongroups/actiongrouarejh9' under resource group 'apiTest-lmfEVl-20026' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"
    OBJECT_ADDITIONAL_PROPERTIES "Additional properties not allowed: error"
    CLIENT_ERROR "statusCode: 400,
    errorCode: undefined,
    errorMessage: undefined"
    CLIENT_ERROR "statusCode: 404,
    errorCode: ResourceNotFound,
    errorMessage: The Resource 'Microsoft.Insights/actiongroups/actiongrouarejh9' under resource group 'apiTest-lmfEVl-20026' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"
    OBJECT_ADDITIONAL_PROPERTIES "Additional properties not allowed: error"
    CLIENT_ERROR "statusCode: 400,
    errorCode: undefined,
    errorMessage: undefined"
    CLIENT_ERROR "statusCode: 404,
    errorCode: ResourceNotFound,
    errorMessage: The Resource 'Microsoft.Insights/actiongroups/actiongrouarejh9' under resource group 'apiTest-lmfEVl-20026' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"
    OBJECT_ADDITIONAL_PROPERTIES "Additional properties not allowed: error"
    CLIENT_ERROR "statusCode: 400,
    errorCode: LocationNotAvailableForResourceType,
    errorMessage: The provided location 'centralindia' is not available for resource type 'microsoft.insights/metricalerts'. List of available regions for the resource type is 'global,
    westeurope,
    northeurope,
    swedencentral,
    germanywestcentral,
    eastus2euap'."
    INVALID_FORMAT "Object didn't pass validation for format duration: Pt1m"
    INVALID_FORMAT "Object didn't pass validation for format duration: Pt15m"
    OBJECT_ADDITIONAL_PROPERTIES "Additional properties not allowed: error"
    CLIENT_ERROR "statusCode: 404,
    errorCode: ResourceNotFound,
    errorMessage: The Resource 'Microsoft.Insights/metricalerts/rulenamejgmujd' under resource group 'apiTest-lmfEVl-20026' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"
    OBJECT_ADDITIONAL_PROPERTIES "Additional properties not allowed: error"
    CLIENT_ERROR "statusCode: 404,
    errorCode: ResourceNotFound,
    errorMessage: The Resource 'Microsoft.Insights/metricalerts/rulenamejgmujd' under resource group 'apiTest-lmfEVl-20026' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"
    INVALID_FORMAT "Object didn't pass validation for format duration: Pt1m"
    INVALID_FORMAT "Object didn't pass validation for format duration: Pt15m"
    OBJECT_ADDITIONAL_PROPERTIES "Additional properties not allowed: error"
    CLIENT_ERROR "statusCode: 404,
    errorCode: undefined,
    errorMessage: undefined"
    ️️✔️ModelValidation succeeded [Detail] [Expand]
    Validation passes for ModelValidation.
    ️️✔️SemanticValidation succeeded [Detail] [Expand]
    Validation passes for SemanticValidation.
    ️️✔️PoliCheck succeeded [Detail] [Expand]
    Validation passed for PoliCheck.
    ️️✔️PrettierCheck succeeded [Detail] [Expand]
    Validation passes for PrettierCheck.
    ️️✔️SpellCheck succeeded [Detail] [Expand]
    Validation passes for SpellCheck.
    ️️✔️Lint(RPaaS) succeeded [Detail] [Expand]
    Validation passes for Lint(RPaaS).
    ️️✔️CadlValidation succeeded [Detail] [Expand]
    Validation passes for CadlValidation.
    ️️✔️PR Summary succeeded [Detail] [Expand]
    Validation passes for Summary.
    Posted by Swagger Pipeline | How to fix these errors?

    Swagger Generation Artifacts

    ️️✔️ApiDocPreview succeeded [Detail] [Expand]
     Please click here to preview with your @microsoft account. 
    ️❌SDK Breaking Change Tracking failed [Detail]

    Breaking Changes Tracking

    azure-sdk-for-go - armmonitor - 0.8.0
    -	Const `ConditionalOperatorEqual` has been removed
    -	Const `ConditionalOperatorGreaterThanOrEqual` has been removed
    -	Const `ConditionalOperatorGreaterThan` has been removed
    -	Const `ConditionalOperatorLessThanOrEqual` has been removed
    -	Const `ConditionalOperatorLessThan` has been removed
    -	Const `EnabledFalse` has been removed
    -	Const `EnabledTrue` has been removed
    -	Const `MetricTriggerTypeConsecutive` has been removed
    -	Const `MetricTriggerTypeTotal` has been removed
    -	Const `OperatorInclude` has been removed
    -	Const `ProvisioningStateCanceled` has been removed
    -	Const `ProvisioningStateDeploying` has been removed
    -	Const `ProvisioningStateFailed` has been removed
    -	Const `ProvisioningStateSucceeded` has been removed
    -	Const `QueryTypeResultCount` has been removed
    -	Field `Filter` of struct `ScheduledQueryRulesClientListByResourceGroupOptions` has been removed
    -	Field `Filter` of struct `ScheduledQueryRulesClientListBySubscriptionOptions` has been removed
    -	Field `LogSearchRuleResourceCollection` of struct `ScheduledQueryRulesClientListByResourceGroupResponse` has been removed
    -	Field `LogSearchRuleResourceCollection` of struct `ScheduledQueryRulesClientListBySubscriptionResponse` has been removed
    -	Field `LogSearchRuleResource` of struct `ScheduledQueryRulesClientCreateOrUpdateResponse` has been removed
    -	Field `LogSearchRuleResource` of struct `ScheduledQueryRulesClientGetResponse` has been removed
    -	Field `LogSearchRuleResource` of struct `ScheduledQueryRulesClientUpdateResponse` has been removed
    -	Function `*Action.GetAction` has been removed
    -	Function `*AlertingAction.GetAction` has been removed
    -	Function `*LogToMetricAction.GetAction` has been removed
    -	Function `*ScheduledQueryRulesClient.CreateOrUpdate` parameter(s) have been changed from `(context.Context, string, string, LogSearchRuleResource, *ScheduledQueryRulesClientCreateOrUpdateOptions)` to `(context.Context, string, string, ScheduledQueryRuleResource, *ScheduledQueryRulesClientCreateOrUpdateOptions)`
    -	Function `*ScheduledQueryRulesClient.Update` parameter(s) have been changed from `(context.Context, string, string, LogSearchRuleResourcePatch, *ScheduledQueryRulesClientUpdateOptions)` to `(context.Context, string, string, ScheduledQueryRuleResourcePatch, *ScheduledQueryRulesClientUpdateOptions)`
    -	Function `PossibleConditionalOperatorValues` has been removed
    -	Function `PossibleEnabledValues` has been removed
    -	Function `PossibleMetricTriggerTypeValues` has been removed
    -	Function `PossibleProvisioningStateValues` has been removed
    -	Function `PossibleQueryTypeValues` has been removed
    -	Struct `Action` has been removed
    -	Struct `AlertingAction` has been removed
    -	Struct `AzNsActionGroup` has been removed
    -	Struct `Criteria` has been removed
    -	Struct `LogMetricTrigger` has been removed
    -	Struct `LogSearchRulePatch` has been removed
    -	Struct `LogSearchRuleResourceCollection` has been removed
    -	Struct `LogSearchRuleResourcePatch` has been removed
    -	Struct `LogSearchRuleResource` has been removed
    -	Struct `LogSearchRule` has been removed
    -	Struct `LogToMetricAction` has been removed
    -	Struct `Schedule` has been removed
    -	Struct `Source` has been removed
    -	Struct `TrackedEntityResource` has been removed
    -	Struct `TriggerCondition` has been removed
    -	Type of `Dimension.Operator` has been changed from `*Operator` to `*DimensionOperator`
    -	Type of `ErrorContract.Error` has been changed from `*ErrorResponse` to `*ErrorResponseDetails`

    azure-sdk-for-js - @azure/arm-monitor - 8.0.0-beta.3
    +	Class MonitorClient no longer has parameter metrics
    +	Enum KnownOperator no longer has value Include
    +	Enum KnownProvisioningState no longer has value Deploying
    +	Interface AzureResource no longer has parameter identity
    +	Interface AzureResource no longer has parameter kind
    +	Interface PrivateEndpointConnectionListResult no longer has parameter nextLink
    +	Interface PrivateLinkResourceListResult no longer has parameter nextLink
    +	Interface ResourceAutoGenerated no longer has parameter etag
    +	Interface ResourceAutoGenerated no longer has parameter kind
    +	Interface ScheduledQueryRulesListByResourceGroupOptionalParams no longer has parameter filter
    +	Interface ScheduledQueryRulesListBySubscriptionOptionalParams no longer has parameter filter
    +	Operation ActivityLogAlerts.update has a new signature
    +	Operation ScheduledQueryRules.createOrUpdate has a new signature
    +	Operation ScheduledQueryRules.update has a new signature
    +	Removed Enum KnownConditionalOperator
    +	Removed Enum KnownEnabled
    +	Removed Enum KnownMetricTriggerType
    +	Removed Enum KnownQueryType
    +	Removed operation group Metrics

    ️❌ azure-sdk-for-net-track2 failed [Detail]
    • Failed [Logs]Release - Generate from ce57c449bc6e60c0707072b435ca8f9481337715. SDK Automation 14.0.0
      command	pwsh ./eng/scripts/Automation-Sdk-Init.ps1 ../azure-sdk-for-net_tmp/initInput.json ../azure-sdk-for-net_tmp/initOutput.json
      warn	File azure-sdk-for-net_tmp/initOutput.json not found to read
      command	pwsh ./eng/scripts/Invoke-GenerateAndBuildV2.ps1 ../azure-sdk-for-net_tmp/generateInput.json ../azure-sdk-for-net_tmp/generateOutput.json
      cmderr	[Invoke-GenerateAndBuildV2.ps1] [91mGeneratePackage: [0m/mnt/vss/_work/1/s/azure-sdk-for-net/eng/scripts/automation/GenerateAndBuildLib.ps1:515
      cmderr	[Invoke-GenerateAndBuildV2.ps1] [96mLine |
      cmderr	[Invoke-GenerateAndBuildV2.ps1] [96m 515 | [0m         [96mGeneratePackage -projectFolder $projectFolder -sdkRootPath $s[0m …
      cmderr	[Invoke-GenerateAndBuildV2.ps1] [96m     | [91m         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      cmderr	[Invoke-GenerateAndBuildV2.ps1] [91m[96m     | [91mFailed to generate sdk. exit code: False
      cmderr	[Invoke-GenerateAndBuildV2.ps1] [0m
      cmderr	[Invoke-GenerateAndBuildV2.ps1] [91mGet-ChildItem: [0m/mnt/vss/_work/1/s/azure-sdk-for-net/eng/scripts/automation/GenerateAndBuildLib.ps1:599
      cmderr	[Invoke-GenerateAndBuildV2.ps1] [96mLine |
      cmderr	[Invoke-GenerateAndBuildV2.ps1] [96m 599 | [0m … rtifacts += [96mGet-ChildItem $artifactsPath -Filter *.nupkg -exclude *.s[0m …
      cmderr	[Invoke-GenerateAndBuildV2.ps1] [96m     | [91m               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      cmderr	[Invoke-GenerateAndBuildV2.ps1] [91m[96m     | [91mCannot find path
      cmderr	[Invoke-GenerateAndBuildV2.ps1] [96m     | [91m'/mnt/vss/_work/1/s/azure-sdk-for-net/artifacts/packages/Debug/' because it does not exist.
      cmderr	[Invoke-GenerateAndBuildV2.ps1] [0m
      cmderr	[Invoke-GenerateAndBuildV2.ps1] [91mGeneratePackage: [0m/mnt/vss/_work/1/s/azure-sdk-for-net/eng/scripts/automation/GenerateAndBuildLib.ps1:515
      cmderr	[Invoke-GenerateAndBuildV2.ps1] [96mLine |
      cmderr	[Invoke-GenerateAndBuildV2.ps1] [96m 515 | [0m         [96mGeneratePackage -projectFolder $projectFolder -sdkRootPath $s[0m …
      cmderr	[Invoke-GenerateAndBuildV2.ps1] [96m     | [91m         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      cmderr	[Invoke-GenerateAndBuildV2.ps1] [91m[96m     | [91mFailed to generate sdk artifact
      cmderr	[Invoke-GenerateAndBuildV2.ps1] [0m
    • Azure.ResourceManager.Monitor [View full logs]  [Release SDK Changes]
      info	[Changelog]
    ️⚠️ azure-sdk-for-python-track2 warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from ce57c449bc6e60c0707072b435ca8f9481337715. SDK Automation 14.0.0
      command	sh scripts/automation_init.sh ../azure-sdk-for-python_tmp/initInput.json ../azure-sdk-for-python_tmp/initOutput.json
      cmderr	[automation_init.sh] WARNING: Skipping azure-nspkg as it is not installed.
      command	sh scripts/automation_generate.sh ../azure-sdk-for-python_tmp/generateInput.json ../azure-sdk-for-python_tmp/generateOutput.json
    • ️✔️track2_azure-mgmt-monitor [View full logs]  [Release SDK Changes]
      info	[Changelog]
    ️️✔️ azure-sdk-for-java succeeded [Detail] [Expand]
    ️️✔️ azure-sdk-for-go succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from ce57c449bc6e60c0707072b435ca8f9481337715. SDK Automation 14.0.0
      command	sh ./eng/scripts/automation_init.sh ../../../../../azure-sdk-for-go_tmp/initInput.json ../../../../../azure-sdk-for-go_tmp/initOutput.json
      command	generator automation-v2 ../../../../../azure-sdk-for-go_tmp/generateInput.json ../../../../../azure-sdk-for-go_tmp/generateOutput.json
    • ️✔️sdk/resourcemanager/monitor/armmonitor [View full logs]  [Release SDK Changes]
      info	[Changelog] ### Features Added
      info	[Changelog]
      info	[Changelog] - New const `ProvisioningStateCreating`
      info	[Changelog] - New const `OriginUserSystem`
      info	[Changelog] - New const `ProvisioningStateDeleting`
      info	[Changelog] - New const `ProvisioningStateFailed`
      info	[Changelog] - New const `OriginUser`
      info	[Changelog] - New const `ActionTypeInternal`
      info	[Changelog] - New const `ProvisioningStateSucceeded`
      info	[Changelog] - New const `OriginSystem`
      info	[Changelog] - New const `ProvisioningStateCanceled`
      info	[Changelog] - New type alias `ProvisioningState`
      info	[Changelog] - New type alias `Origin`
      info	[Changelog] - New type alias `ActionType`
      info	[Changelog] - New function `*MonitoringAccountsClient.NewListBySubscriptionPager(*MonitoringAccountsClientListBySubscriptionOptions) *runtime.Pager[MonitoringAccountsClientListBySubscriptionResponse]`
      info	[Changelog] - New function `*MonitoringAccountsClient.Update(context.Context, string, string, *MonitoringAccountsClientUpdateOptions) (MonitoringAccountsClientUpdateResponse, error)`
      info	[Changelog] - New function `*MonitoringAccountsClient.Get(context.Context, string, string, *MonitoringAccountsClientGetOptions) (MonitoringAccountsClientGetResponse, error)`
      info	[Changelog] - New function `*MonitoringAccountsClient.NewListByResourceGroupPager(string, *MonitoringAccountsClientListByResourceGroupOptions) *runtime.Pager[MonitoringAccountsClientListByResourceGroupResponse]`
      info	[Changelog] - New function `*Client.NewOperationsListPager(*ClientOperationsListOptions) *runtime.Pager[ClientOperationsListResponse]`
      info	[Changelog] - New function `PossibleOriginValues() []Origin`
      info	[Changelog] - New function `NewClient(azcore.TokenCredential, *arm.ClientOptions) (*Client, error)`
      info	[Changelog] - New function `*MonitoringAccountsClient.Create(context.Context, string, string, MonitoringAccountResource, *MonitoringAccountsClientCreateOptions) (MonitoringAccountsClientCreateResponse, error)`
      info	[Changelog] - New function `PossibleProvisioningStateValues() []ProvisioningState`
      info	[Changelog] - New function `PossibleActionTypeValues() []ActionType`
      info	[Changelog] - New function `*MonitoringAccountsClient.Delete(context.Context, string, string, *MonitoringAccountsClientDeleteOptions) (MonitoringAccountsClientDeleteResponse, error)`
      info	[Changelog] - New function `NewMonitoringAccountsClient(string, azcore.TokenCredential, *arm.ClientOptions) (*MonitoringAccountsClient, error)`
      info	[Changelog] - New struct `Client`
      info	[Changelog] - New struct `ClientOperationsListOptions`
      info	[Changelog] - New struct `ClientOperationsListResponse`
      info	[Changelog] - New struct `ErrorDetailAutoGenerated`
      info	[Changelog] - New struct `ErrorResponseAutoGenerated2`
      info	[Changelog] - New struct `IngestionSettings`
      info	[Changelog] - New struct `Metrics`
      info	[Changelog] - New struct `MonitoringAccount`
      info	[Changelog] - New struct `MonitoringAccountDefaultIngestionSettings`
      info	[Changelog] - New struct `MonitoringAccountMetrics`
      info	[Changelog] - New struct `MonitoringAccountResource`
      info	[Changelog] - New struct `MonitoringAccountResourceForUpdate`
      info	[Changelog] - New struct `MonitoringAccountResourceListResult`
      info	[Changelog] - New struct `MonitoringAccountResourceProperties`
      info	[Changelog] - New struct `MonitoringAccountsClient`
      info	[Changelog] - New struct `MonitoringAccountsClientCreateOptions`
      info	[Changelog] - New struct `MonitoringAccountsClientCreateResponse`
      info	[Changelog] - New struct `MonitoringAccountsClientDeleteOptions`
      info	[Changelog] - New struct `MonitoringAccountsClientDeleteResponse`
      info	[Changelog] - New struct `MonitoringAccountsClientGetOptions`
      info	[Changelog] - New struct `MonitoringAccountsClientGetResponse`
      info	[Changelog] - New struct `MonitoringAccountsClientListByResourceGroupOptions`
      info	[Changelog] - New struct `MonitoringAccountsClientListByResourceGroupResponse`
      info	[Changelog] - New struct `MonitoringAccountsClientListBySubscriptionOptions`
      info	[Changelog] - New struct `MonitoringAccountsClientListBySubscriptionResponse`
      info	[Changelog] - New struct `MonitoringAccountsClientUpdateOptions`
      info	[Changelog] - New struct `MonitoringAccountsClientUpdateResponse`
      info	[Changelog] - New struct `OperationAutoGenerated`
      info	[Changelog] - New struct `OperationDisplayAutoGenerated`
      info	[Changelog] - New struct `OperationListResultAutoGenerated`
      info	[Changelog] - New struct `ResourceAutoGenerated5`
      info	[Changelog] - New struct `TrackedResourceAutoGenerated`
      info	[Changelog]
      info	[Changelog] Total 0 breaking change(s), 88 additive change(s).
    ️️✔️ azure-sdk-for-js succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from ce57c449bc6e60c0707072b435ca8f9481337715. SDK Automation 14.0.0
      command	sh .scripts/automation_init.sh ../azure-sdk-for-js_tmp/initInput.json ../azure-sdk-for-js_tmp/initOutput.json
      warn	File azure-sdk-for-js_tmp/initOutput.json not found to read
      command	sh .scripts/automation_generate.sh ../azure-sdk-for-js_tmp/generateInput.json ../azure-sdk-for-js_tmp/generateOutput.json
    • ️✔️@azure/arm-monitor [View full logs]  [Release SDK Changes] Breaking Change Detected
      Only show 120 items here, please refer to log for details.
      info	[Changelog]   - Added Interface OperationAutoGenerated
      info	[Changelog]   - Added Interface OperationDisplayAutoGenerated
      info	[Changelog]   - Added Interface OperationListResultAutoGenerated
      info	[Changelog]   - Added Interface PredictiveAutoscalePolicy
      info	[Changelog]   - Added Interface PredictiveMetricGetOptionalParams
      info	[Changelog]   - Added Interface PredictiveResponse
      info	[Changelog]   - Added Interface PredictiveValue
      info	[Changelog]   - Added Interface PrivateEndpoint
      info	[Changelog]   - Added Interface PrivateEndpointConnection
      info	[Changelog]   - Added Interface PrivateLinkResource
      info	[Changelog]   - Added Interface PrivateLinkServiceConnectionState
      info	[Changelog]   - Added Interface ProxyResourceAutoGenerated
      info	[Changelog]   - Added Interface ResourceAutoGenerated2
      info	[Changelog]   - Added Interface ResourceAutoGenerated3
      info	[Changelog]   - Added Interface ResourceAutoGenerated4
      info	[Changelog]   - Added Interface ResourceAutoGenerated5
      info	[Changelog]   - Added Interface RuleEmailAction
      info	[Changelog]   - Added Interface RuleManagementEventDataSource
      info	[Changelog]   - Added Interface RuleMetricDataSource
      info	[Changelog]   - Added Interface RuleWebhookAction
      info	[Changelog]   - Added Interface ScheduledQueryRuleCriteria
      info	[Changelog]   - Added Interface ScheduledQueryRuleResource
      info	[Changelog]   - Added Interface ScheduledQueryRuleResourceCollection
      info	[Changelog]   - Added Interface ScheduledQueryRuleResourcePatch
      info	[Changelog]   - Added Interface ScheduledQueryRulesListByResourceGroupNextOptionalParams
      info	[Changelog]   - Added Interface ScheduledQueryRulesListBySubscriptionNextOptionalParams
      info	[Changelog]   - Added Interface ScopedResource
      info	[Changelog]   - Added Interface StreamDeclaration
      info	[Changelog]   - Added Interface ThresholdRuleCondition
      info	[Changelog]   - Added Interface TrackedResource
      info	[Changelog]   - Added Interface TrackedResourceAutoGenerated
      info	[Changelog]   - Added Interface VMInsightsOnboardingStatus
      info	[Changelog]   - Added Interface WebtestLocationAvailabilityCriteria
      info	[Changelog]   - Added Type Alias AccessMode
      info	[Changelog]   - Added Type Alias ActionGroupsCreateNotificationsAtActionGroupResourceLevelResponse
      info	[Changelog]   - Added Type Alias ActionGroupsCreateNotificationsAtResourceGroupLevelResponse
      info	[Changelog]   - Added Type Alias ActionGroupsGetTestNotificationsAtActionGroupResourceLevelResponse
      info	[Changelog]   - Added Type Alias ActionGroupsGetTestNotificationsAtResourceGroupLevelResponse
      info	[Changelog]   - Added Type Alias ActionType
      info	[Changelog]   - Added Type Alias ActivityLogAlertsListByResourceGroupNextResponse
      info	[Changelog]   - Added Type Alias ActivityLogAlertsListBySubscriptionIdNextResponse
      info	[Changelog]   - Added Type Alias DataCollectionRuleAssociationsListByDataCollectionEndpointNextResponse
      info	[Changelog]   - Added Type Alias DataCollectionRuleAssociationsListByDataCollectionEndpointResponse
      info	[Changelog]   - Added Type Alias DimensionOperator
      info	[Changelog]   - Added Type Alias Kind
      info	[Changelog]   - Added Type Alias KnownColumnDefinitionType
      info	[Changelog]   - Added Type Alias KnownLogFilesDataSourceFormat
      info	[Changelog]   - Added Type Alias KnownLogFileTextSettingsRecordStartTimestampFormat
      info	[Changelog]   - Added Type Alias MonitoringAccountsCreateResponse
      info	[Changelog]   - Added Type Alias MonitoringAccountsGetResponse
      info	[Changelog]   - Added Type Alias MonitoringAccountsListByResourceGroupNextResponse
      info	[Changelog]   - Added Type Alias MonitoringAccountsListByResourceGroupResponse
      info	[Changelog]   - Added Type Alias MonitoringAccountsListBySubscriptionNextResponse
      info	[Changelog]   - Added Type Alias MonitoringAccountsListBySubscriptionResponse
      info	[Changelog]   - Added Type Alias MonitoringAccountsUpdateResponse
      info	[Changelog]   - Added Type Alias MonitorOperationsListNextResponse
      info	[Changelog]   - Added Type Alias MonitorOperationsListResponse
      info	[Changelog]   - Added Type Alias Origin
      info	[Changelog]   - Added Type Alias PredictiveAutoscalePolicyScaleMode
      info	[Changelog]   - Added Type Alias PredictiveMetricGetResponse
      info	[Changelog]   - Added Type Alias PrivateEndpointConnectionProvisioningState
      info	[Changelog]   - Added Type Alias PrivateEndpointServiceConnectionStatus
      info	[Changelog]   - Added Type Alias ScheduledQueryRulesListByResourceGroupNextResponse
      info	[Changelog]   - Added Type Alias ScheduledQueryRulesListBySubscriptionNextResponse
      info	[Changelog]   - Added Type Alias TimeAggregation
      info	[Changelog]   - Interface AutoscaleSettingResourcePatch has a new optional parameter predictiveAutoscalePolicy
      info	[Changelog]   - Interface DataCollectionRule has a new optional parameter dataCollectionEndpointId
      info	[Changelog]   - Interface DataCollectionRule has a new optional parameter metadata
      info	[Changelog]   - Interface DataCollectionRule has a new optional parameter streamDeclarations
      info	[Changelog]   - Interface DataCollectionRuleAssociation has a new optional parameter metadata
      info	[Changelog]   - Interface DataCollectionRuleAssociationProxyOnlyResource has a new optional parameter metadata
      info	[Changelog]   - Interface DataCollectionRuleResource has a new optional parameter dataCollectionEndpointId
      info	[Changelog]   - Interface DataCollectionRuleResource has a new optional parameter metadata
      info	[Changelog]   - Interface DataCollectionRuleResource has a new optional parameter streamDeclarations
      info	[Changelog]   - Interface DataFlow has a new optional parameter outputStream
      info	[Changelog]   - Interface DataFlow has a new optional parameter transformKql
      info	[Changelog]   - Interface DataSourcesSpec has a new optional parameter iisLogs
      info	[Changelog]   - Interface DataSourcesSpec has a new optional parameter logFiles
      info	[Changelog]   - Interface LogSettings has a new optional parameter categoryGroup
      info	[Changelog]   - Interface Resource has a new optional parameter systemData
      info	[Changelog]   - Class MonitorClient has a new parameter metricsOperations
      info	[Changelog]   - Class MonitorClient has a new parameter monitor
      info	[Changelog]   - Class MonitorClient has a new parameter monitoringAccounts
      info	[Changelog]   - Class MonitorClient has a new parameter predictiveMetric
      info	[Changelog]   - Added Enum KnownAccessMode
      info	[Changelog]   - Added Enum KnownActionType
      info	[Changelog]   - Added Enum KnownCategoryType
      info	[Changelog]   - Added Enum KnownDimensionOperator
      info	[Changelog]   - Added Enum KnownKind
      info	[Changelog]   - Added Enum KnownKnownColumnDefinitionType
      info	[Changelog]   - Added Enum KnownKnownLogFilesDataSourceFormat
      info	[Changelog]   - Added Enum KnownKnownLogFileTextSettingsRecordStartTimestampFormat
      info	[Changelog]   - Added Enum KnownOrigin
      info	[Changelog]   - Added Enum KnownPrivateEndpointConnectionProvisioningState
      info	[Changelog]   - Added Enum KnownPrivateEndpointServiceConnectionStatus
      info	[Changelog]   - Added Enum KnownTimeAggregation
      info	[Changelog]   - Enum KnownProvisioningState has a new value Creating
      info	[Changelog]   - Enum KnownProvisioningState has a new value Deleting
      info	[Changelog]
      info	[Changelog] **Breaking Changes**
      info	[Changelog]
      info	[Changelog]   - Removed operation group Metrics
      info	[Changelog]   - Operation ActivityLogAlerts.update has a new signature
      info	[Changelog]   - Operation ScheduledQueryRules.createOrUpdate has a new signature
      info	[Changelog]   - Operation ScheduledQueryRules.update has a new signature
      info	[Changelog]   - Interface AzureResource no longer has parameter identity
      info	[Changelog]   - Interface AzureResource no longer has parameter kind
      info	[Changelog]   - Interface PrivateEndpointConnectionListResult no longer has parameter nextLink
      info	[Changelog]   - Interface PrivateLinkResourceListResult no longer has parameter nextLink
      info	[Changelog]   - Interface ResourceAutoGenerated no longer has parameter etag
      info	[Changelog]   - Interface ResourceAutoGenerated no longer has parameter kind
      info	[Changelog]   - Interface ScheduledQueryRulesListByResourceGroupOptionalParams no longer has parameter filter
      info	[Changelog]   - Interface ScheduledQueryRulesListBySubscriptionOptionalParams no longer has parameter filter
      info	[Changelog]   - Class MonitorClient no longer has parameter metrics
      info	[Changelog]   - Removed Enum KnownConditionalOperator
      info	[Changelog]   - Removed Enum KnownEnabled
      info	[Changelog]   - Removed Enum KnownMetricTriggerType
      info	[Changelog]   - Removed Enum KnownQueryType
      info	[Changelog]   - Enum KnownOperator no longer has value Include
      info	[Changelog]   - Enum KnownProvisioningState no longer has value Deploying
    ️❌ azure-resource-manager-schemas failed [Detail]
    • Failed [Logs]Release - Generate from ce57c449bc6e60c0707072b435ca8f9481337715. Schema Automation 14.0.0
      command	.sdkauto/initScript.sh ../azure-resource-manager-schemas_tmp/initInput.json ../azure-resource-manager-schemas_tmp/initOutput.json
      cmderr	[initScript.sh] WARN old lockfile
      cmderr	[initScript.sh] npm WARN old lockfile The package-lock.json file was created with an old version of npm,
      cmderr	[initScript.sh] npm WARN old lockfile so supplemental metadata must be fetched from the registry.
      cmderr	[initScript.sh] npm WARN old lockfile
      cmderr	[initScript.sh] npm WARN old lockfile This is a one-time fix-up, please be patient...
      cmderr	[initScript.sh] npm WARN old lockfile
      warn	File azure-resource-manager-schemas_tmp/initOutput.json not found to read
      command	.sdkauto/generateScript.sh ../azure-resource-manager-schemas_tmp/generateInput.json ../azure-resource-manager-schemas_tmp/generateOutput.json
      cannot force update branch 'sdkAuto/monitor' as it is the current HEAD of the repository.
      Error: cannot force update branch 'sdkAuto/monitor' as it is the current HEAD of the repository.
    • ️✔️monitor [View full logs]  [Release Schema Changes]
    • ️✔️monitor [View full logs
      error	Fatal error: cannot force update branch 'sdkAuto/monitor' as it is the current HEAD of the repository.
      error	The following packages are still pending:
      error		monitor
      error		monitor
    ️❌ azure-powershell failed [Detail]
    • Failed [Logs]Release - Generate from ce57c449bc6e60c0707072b435ca8f9481337715. SDK Automation 14.0.0
      command	sh ./tools/SwaggerCI/init.sh ../azure-powershell_tmp/initInput.json ../azure-powershell_tmp/initOutput.json
      command	pwsh ./tools/SwaggerCI/psci.ps1 ../azure-powershell_tmp/generateInput.json ../azure-powershell_tmp/generateOutput.json
    • Az.monitor [View full logs]  [Release SDK Changes]
    Posted by Swagger Pipeline | How to fix these errors?

    Hi, @divya-jay your PR are labelled with WaitForARMFeedback. A notification email will be sent out shortly afterwards to notify ARM review board([email protected]).

    Generated ApiView

    Language Package Name ApiView Link
    Go sdk/resourcemanager/monitor/armmonitor Create ApiView failed. Please ensure your github account in Azure/Microsoft is public and add a comment "/azp run" to re-trigger the CI.
    Python track2_azure-mgmt-monitor Create ApiView failed. Please ensure your github account in Azure/Microsoft is public and add a comment "/azp run" to re-trigger the CI.
    Java azure-resourcemanager-monitor-generated Create ApiView failed. Please ensure your github account in Azure/Microsoft is public and add a comment "/azp run" to re-trigger the CI.
    JavaScript @azure/arm-monitor Create ApiView failed. Please ensure your github account in Azure/Microsoft is public and add a comment "/azp run" to re-trigger the CI.

    Hi @divya-jay, Your PR has some issues. Please fix the CI sequentially by following the order of Avocado, semantic validation, model validation, breaking change, lintDiff. If you have any questions, please post your questions in this channel https://aka.ms/swaggersupport.

    TaskHow to fixPriority
    AvocadoFix-AvocadoHigh
    Semantic validationFix-SemanticValidation-ErrorHigh
    Model validationFix-ModelValidation-ErrorHigh
    LintDiffFix-LintDiffhigh
    If you need further help, please feedback via swagger feedback.

    Please ensure to respond feedbacks from the ARM API reviewer. When you are ready to continue the ARM API review, please remove ARMChangesRequested


    In reply to: 1201842104

    Please respond to the comments and remove the "ARMChangesRequested" label when this PR is ready for review again .


    In reply to: 1201842194

    raosuhas avatar Aug 01 '22 23:08 raosuhas

    @ArcturusZhang can you help merge this PR into master?

    divya-jay avatar Sep 27 '22 17:09 divya-jay

    /azp run

    tianxchen-ms avatar Sep 30 '22 08:09 tianxchen-ms

    Azure Pipelines successfully started running 1 pipeline(s).

    azure-pipelines[bot] avatar Sep 30 '22 08:09 azure-pipelines[bot]

    /azp run

    tianxchen-ms avatar Sep 30 '22 08:09 tianxchen-ms

    Azure Pipelines successfully started running 1 pipeline(s).

    azure-pipelines[bot] avatar Sep 30 '22 08:09 azure-pipelines[bot]

    Hi, @divya-jay. Your PR has no update for 14 days and it is marked as stale PR. If no further update for over 14 days, the bot will close the PR. If you want to refresh the PR, please remove no-recent-activity label.

    ghost avatar Oct 16 '22 16:10 ghost

    THis PR only adds new contents, the breaking changes must be false alarms

    ArcturusZhang avatar Oct 25 '22 09:10 ArcturusZhang

    /azp run

    tadelesh avatar Oct 25 '22 09:10 tadelesh

    Azure Pipelines successfully started running 1 pipeline(s).

    azure-pipelines[bot] avatar Oct 25 '22 09:10 azure-pipelines[bot]