Skip to content
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

{AzureMonitor} fixes Azure/azure-rest-api-specs#22716 fix the Metrics API version in the package-composite-v1 tag #22792

Merged
merged 1 commit into from
Feb 28, 2023

Conversation

navba-MSFT
Copy link
Contributor

@navba-MSFT navba-MSFT commented Feb 27, 2023

fixes #22716

The default APIVersion for Metrics API for Azure Monitor is 2018-01-01 instead 2021-05-01.

The APIVersion 2021-05-01 introduced a ListBySubscription Call. This API is missing at the documentation and client SDKs, but the Browser Portal is already using this API to gain metrics from multiple virtual machines through one call.

https://github.com/Azure/azure-rest-api-specs/blob/main/specification/monitor/resource-manager/Microsoft.Insights/stable/2021-05-01/metrics_API.json

This PR fixes the Metrics API version in the package-composite-v1 tag

ARM API Information (Control Plane)

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

Azure 1st Party Service can try out the Shift Left experience to initiate API design review from ADO code repo. If you are interested, may request engineering support by filling in with the form https://aka.ms/ShiftLeftSupportForm.

Changelog

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

  1. What's the purpose of the update?
    • 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.
  3. When do you expect to publish the swagger? Please provide date or, the the date is not yet available, the month.
  4. By default, Azure SDKs of all languages (.NET/Python/Java/JavaScript for both management-plane SDK and data-plane SDK, Go for management-plane SDK only ) MUST be refreshed with/after swagger of new version is published. If you prefer NOT to refresh any specific SDK language upon swagger updates in the current PR, please leave details with justification here.

Contribution checklist (MS Employees Only):

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

ARM API Review Checklist

Applicability: ⚠️

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:

  • Check this box if any of the following apply 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 copy the existing version into the new directory structure for first commit and then push new changes, including version updates, in separate commits. You can use OpenAPIHub to initialize the PR for adding a new version. For more details refer to the wiki.
  • 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 you have any breaking changes as defined in the Breaking Change Policy, request approval from the Breaking Change Review Board.

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

NOTE: To update API(s) in public preview for over 1 year (refer to Retirement of Previews)

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

…e-composite-v1 tag

fixes #22716 

fix the Metrics API version in the package-composite-v1 tag
@openapi-workflow-bot
Copy link

Hi, @navba-MSFT 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]

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Feb 27, 2023

    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 v2.0.0) new version base version
    default default(620abac) default(main)
    ️⚠️Avocado: 1 Warnings warning [Detail]
    Rule Message
    ⚠️ 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-preview-2023-03
    ️️✔️ApiReadinessCheck succeeded [Detail] [Expand]
    ️️✔️~[Staging] ServiceAPIReadinessTest succeeded [Detail] [Expand]
    Validation passes for ServiceAPIReadinessTest.
    ️️✔️SwaggerAPIView succeeded [Detail] [Expand]
    ️️✔️CadlAPIView succeeded [Detail] [Expand]
    ️️✔️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?

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Feb 27, 2023

    Swagger Generation Artifacts

    ️️✔️ApiDocPreview succeeded [Detail] [Expand]
    ️️✔️SDK Breaking Change Tracking succeeded [Detail] [Expand]

    Breaking Changes Tracking

    ️❌ azure-sdk-for-net-track2 failed [Detail]
    • Failed [Logs]Release - Generate from a61e5f2. 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
      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] �[31;1mGeneratePackage: �[0m/mnt/vss/_work/1/s/azure-sdk-for-net/eng/scripts/automation/GenerateAndBuildLib.ps1:672
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1mLine |
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1m 672 | �[0m         �[36;1mGeneratePackage -projectFolder $projectFolder -sdkRootPath $s�[0m …
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1m     | �[31;1m         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[31;1m�[36;1m     | �[31;1mFailed to generate sdk. exit code: False
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[0m
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[31;1mGet-ChildItem: �[0m/mnt/vss/_work/1/s/azure-sdk-for-net/eng/scripts/automation/GenerateAndBuildLib.ps1:760
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1mLine |
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1m 760 | �[0m … rtifacts += �[36;1mGet-ChildItem $artifactsPath -Filter *.nupkg -exclude *.s�[0m …
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1m     | �[31;1m               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[31;1m�[36;1m     | �[31;1mCannot find path
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1m     | �[31;1m'/mnt/vss/_work/1/s/azure-sdk-for-net/artifacts/packages/Debug/' because
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1m     | �[31;1mit does not exist.
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[0m
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[31;1mGeneratePackage: �[0m/mnt/vss/_work/1/s/azure-sdk-for-net/eng/scripts/automation/GenerateAndBuildLib.ps1:672
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1mLine |
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1m 672 | �[0m         �[36;1mGeneratePackage -projectFolder $projectFolder -sdkRootPath $s�[0m …
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1m     | �[31;1m         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[31;1m�[36;1m     | �[31;1mFailed 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 a61e5f2. 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
      cmderr	[automation_generate.sh] npm notice
      cmderr	[automation_generate.sh] npm notice New minor version of npm available! 9.3.1 -> 9.5.1
      cmderr	[automation_generate.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v9.5.1>
      cmderr	[automation_generate.sh] npm notice Run `npm install -g [email protected]` to update!
      cmderr	[automation_generate.sh] npm notice
    • ️✔️track2_azure-mgmt-monitor [View full logs]  [Release SDK Changes] Breaking Change Detected
      info	[Changelog] ### Features Added
      info	[Changelog]
      info	[Changelog]   - Added operation group AzureMonitorWorkspacesOperations
      info	[Changelog]   - Added operation group MonitorOperationsOperations
      info	[Changelog]   - Model AzureMonitorPrivateLinkScope has a new parameter system_data
      info	[Changelog]   - Model Condition has a new parameter metric_name
      info	[Changelog]   - Model Operation has a new parameter action_type
      info	[Changelog]   - Model Operation has a new parameter origin
      info	[Changelog]   - Model PrivateLinkResource has a new parameter required_zone_names
      info	[Changelog]   - Model ScheduledQueryRuleResource has a new parameter auto_mitigate
      info	[Changelog]   - Model ScheduledQueryRuleResource has a new parameter check_workspace_alerts_storage_configured
      info	[Changelog]   - Model ScheduledQueryRuleResource has a new parameter identity
      info	[Changelog]   - Model ScheduledQueryRuleResource has a new parameter is_workspace_alerts_storage_configured
      info	[Changelog]   - Model ScheduledQueryRuleResource has a new parameter public_network_access
      info	[Changelog]   - Model ScheduledQueryRuleResource has a new parameter rule_resolve_configuration
      info	[Changelog]   - Model ScheduledQueryRuleResource has a new parameter skip_query_validation
      info	[Changelog]   - Model ScheduledQueryRuleResource has a new parameter system_data
      info	[Changelog]   - Model ScheduledQueryRuleResourceCollection has a new parameter next_link
      info	[Changelog]   - Model ScheduledQueryRuleResourcePatch has a new parameter auto_mitigate
      info	[Changelog]   - Model ScheduledQueryRuleResourcePatch has a new parameter check_workspace_alerts_storage_configured
      info	[Changelog]   - Model ScheduledQueryRuleResourcePatch has a new parameter identity
      info	[Changelog]   - Model ScheduledQueryRuleResourcePatch has a new parameter is_workspace_alerts_storage_configured
      info	[Changelog]   - Model ScheduledQueryRuleResourcePatch has a new parameter public_network_access
      info	[Changelog]   - Model ScheduledQueryRuleResourcePatch has a new parameter rule_resolve_configuration
      info	[Changelog]   - Model ScheduledQueryRuleResourcePatch has a new parameter skip_query_validation
      info	[Changelog]   - Model ScopedResource has a new parameter system_data
      info	[Changelog]
      info	[Changelog] ### Breaking Changes
      info	[Changelog]
      info	[Changelog]   - Model AzureMonitorPrivateLinkScope has a new required parameter access_mode_settings
      info	[Changelog]   - Model Operation no longer has parameter service_specification
      info	[Changelog]   - Model OperationDisplay no longer has parameter publisher
      info	[Changelog]   - Model PrivateEndpointConnectionListResult no longer has parameter next_link
      info	[Changelog]   - Model PrivateLinkResourceListResult no longer has parameter next_link
      info	[Changelog]   - Removed operation ActionGroupsOperations.begin_create_notifications_at_resource_group_level
      info	[Changelog]   - Removed operation ActionGroupsOperations.begin_post_test_notifications
      info	[Changelog]   - Removed operation ActionGroupsOperations.get_test_notifications
      info	[Changelog]   - Removed operation ActionGroupsOperations.get_test_notifications_at_resource_group_level
    ️️✔️ azure-sdk-for-java succeeded [Detail] [Expand]
    ️️✔️ azure-sdk-for-go succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from a61e5f2. 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] Breaking Change Detected
      info	[Changelog] ### Breaking Changes
      info	[Changelog]
      info	[Changelog] - Function `*ActionGroupsClient.BeginCreateNotificationsAtResourceGroupLevel` has been removed
      info	[Changelog] - Function `*ActionGroupsClient.GetTestNotifications` has been removed
      info	[Changelog] - Function `*ActionGroupsClient.GetTestNotificationsAtResourceGroupLevel` has been removed
      info	[Changelog] - Function `*ActionGroupsClient.BeginPostTestNotifications` has been removed
      info	[Changelog]
      info	[Changelog] ### Features Added
      info	[Changelog]
      info	[Changelog] - New type alias `ActionType` with values `ActionTypeInternal`
      info	[Changelog] - New type alias `IdentityType` with values `IdentityTypeNone`, `IdentityTypeSystemAssigned`, `IdentityTypeUserAssigned`
      info	[Changelog] - New type alias `Origin` with values `OriginSystem`, `OriginUser`, `OriginUserSystem`
      info	[Changelog] - New type alias `ProvisioningState` with values `ProvisioningStateCanceled`, `ProvisioningStateCreating`, `ProvisioningStateDeleting`, `ProvisioningStateFailed`, `ProvisioningStateSucceeded`
      info	[Changelog] - New type alias `PublicNetworkAccess` with values `PublicNetworkAccessDisabled`, `PublicNetworkAccessEnabled`, `PublicNetworkAccessSecuredByPerimeter`
      info	[Changelog] - New function `NewAzureMonitorWorkspacesClient(string, azcore.TokenCredential, *arm.ClientOptions) (*AzureMonitorWorkspacesClient, error)`
      info	[Changelog] - New function `*AzureMonitorWorkspacesClient.Create(context.Context, string, string, AzureMonitorWorkspaceResource, *AzureMonitorWorkspacesClientCreateOptions) (AzureMonitorWorkspacesClientCreateResponse, error)`
      info	[Changelog] - New function `*AzureMonitorWorkspacesClient.Delete(context.Context, string, string, *AzureMonitorWorkspacesClientDeleteOptions) (AzureMonitorWorkspacesClientDeleteResponse, error)`
      info	[Changelog] - New function `*AzureMonitorWorkspacesClient.Get(context.Context, string, string, *AzureMonitorWorkspacesClientGetOptions) (AzureMonitorWorkspacesClientGetResponse, error)`
      info	[Changelog] - New function `*AzureMonitorWorkspacesClient.NewListByResourceGroupPager(string, *AzureMonitorWorkspacesClientListByResourceGroupOptions) *runtime.Pager[AzureMonitorWorkspacesClientListByResourceGroupResponse]`
      info	[Changelog] - New function `*AzureMonitorWorkspacesClient.NewListBySubscriptionPager(*AzureMonitorWorkspacesClientListBySubscriptionOptions) *runtime.Pager[AzureMonitorWorkspacesClientListBySubscriptionResponse]`
      info	[Changelog] - New function `*AzureMonitorWorkspacesClient.Update(context.Context, string, string, *AzureMonitorWorkspacesClientUpdateOptions) (AzureMonitorWorkspacesClientUpdateResponse, error)`
      info	[Changelog] - New function `NewOperationsForMonitorClient(azcore.TokenCredential, *arm.ClientOptions) (*OperationsForMonitorClient, error)`
      info	[Changelog] - New function `*OperationsForMonitorClient.NewListPager(*OperationsForMonitorClientListOptions) *runtime.Pager[OperationsForMonitorClientListResponse]`
      info	[Changelog] - New function `NewTenantActionGroupsClient(azcore.TokenCredential, *arm.ClientOptions) (*TenantActionGroupsClient, error)`
      info	[Changelog] - New function `*TenantActionGroupsClient.CreateOrUpdate(context.Context, string, string, string, TenantActionGroupResource, *TenantActionGroupsClientCreateOrUpdateOptions) (TenantActionGroupsClientCreateOrUpdateResponse, error)`
      info	[Changelog] - New function `*TenantActionGroupsClient.Delete(context.Context, string, string, string, *TenantActionGroupsClientDeleteOptions) (TenantActionGroupsClientDeleteResponse, error)`
      info	[Changelog] - New function `*TenantActionGroupsClient.Get(context.Context, string, string, string, *TenantActionGroupsClientGetOptions) (TenantActionGroupsClientGetResponse, error)`
      info	[Changelog] - New function `*TenantActionGroupsClient.NewListByManagementGroupIDPager(string, string, *TenantActionGroupsClientListByManagementGroupIDOptions) *runtime.Pager[TenantActionGroupsClientListByManagementGroupIDResponse]`
      info	[Changelog] - New function `*TenantActionGroupsClient.Update(context.Context, string, string, string, ActionGroupPatchBodyAutoGenerated, *TenantActionGroupsClientUpdateOptions) (TenantActionGroupsClientUpdateResponse, error)`
      info	[Changelog] - New struct `ActionGroupPatchAutoGenerated`
      info	[Changelog] - New struct `ActionGroupPatchBodyAutoGenerated`
      info	[Changelog] - New struct `AzureAppPushReceiverAutoGenerated`
      info	[Changelog] - New struct `AzureMonitorWorkspace`
      info	[Changelog] - New struct `AzureMonitorWorkspaceDefaultIngestionSettings`
      info	[Changelog] - New struct `AzureMonitorWorkspaceMetrics`
      info	[Changelog] - New struct `AzureMonitorWorkspaceResource`
      info	[Changelog] - New struct `AzureMonitorWorkspaceResourceForUpdate`
      info	[Changelog] - New struct `AzureMonitorWorkspaceResourceListResult`
      info	[Changelog] - New struct `AzureMonitorWorkspaceResourceProperties`
      info	[Changelog] - New struct `AzureMonitorWorkspacesClient`
      info	[Changelog] - New struct `EmailReceiverAutoGenerated`
      info	[Changelog] - New struct `ErrorDetailAutoGenerated`
      info	[Changelog] - New struct `ErrorResponseAutoGenerated2`
      info	[Changelog] - New struct `Identity`
      info	[Changelog] - New struct `IngestionSettings`
      info	[Changelog] - New struct `Metrics`
      info	[Changelog] - New struct `OperationAutoGenerated`
      info	[Changelog] - New struct `OperationDisplayAutoGenerated`
      info	[Changelog] - New struct `OperationListResultAutoGenerated`
      info	[Changelog] - New struct `OperationsForMonitorClient`
      info	[Changelog] - New struct `ResourceAutoGenerated5`
      info	[Changelog] - New struct `RuleResolveConfiguration`
      info	[Changelog] - New struct `SmsReceiverAutoGenerated`
      info	[Changelog] - New struct `TenantActionGroup`
      info	[Changelog] - New struct `TenantActionGroupList`
      info	[Changelog] - New struct `TenantActionGroupResource`
      info	[Changelog] - New struct `TenantActionGroupsClient`
      info	[Changelog] - New struct `TrackedResourceAutoGenerated`
      info	[Changelog] - New struct `UserIdentityProperties`
      info	[Changelog] - New struct `VoiceReceiverAutoGenerated`
      info	[Changelog] - New struct `WebhookReceiverAutoGenerated`
      info	[Changelog] - New field `PublicNetworkAccess` in struct `ScheduledQueryRuleProperties`
      info	[Changelog] - New field `RuleResolveConfiguration` in struct `ScheduledQueryRuleProperties`
      info	[Changelog] - New field `Identity` in struct `ScheduledQueryRuleResource`
      info	[Changelog] - New field `Identity` in struct `ScheduledQueryRuleResourcePatch`
      info	[Changelog]
      info	[Changelog] Total 4 breaking change(s), 102 additive change(s).
    ️️✔️ azure-sdk-for-js succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from a61e5f2. 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 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 SmsReceiverAutoGenerated
      info	[Changelog]   - Added Interface StreamDeclaration
      info	[Changelog]   - Added Interface TenantActionGroupList
      info	[Changelog]   - Added Interface TenantActionGroupResource
      info	[Changelog]   - Added Interface TenantActionGroupsCreateOrUpdateOptionalParams
      info	[Changelog]   - Added Interface TenantActionGroupsDeleteOptionalParams
      info	[Changelog]   - Added Interface TenantActionGroupsGetOptionalParams
      info	[Changelog]   - Added Interface TenantActionGroupsListByManagementGroupIdOptionalParams
      info	[Changelog]   - Added Interface TenantActionGroupsUpdateOptionalParams
      info	[Changelog]   - Added Interface ThresholdRuleCondition
      info	[Changelog]   - Added Interface TrackedResource
      info	[Changelog]   - Added Interface TrackedResourceAutoGenerated
      info	[Changelog]   - Added Interface UserIdentityProperties
      info	[Changelog]   - Added Interface VMInsightsOnboardingStatus
      info	[Changelog]   - Added Interface VoiceReceiverAutoGenerated
      info	[Changelog]   - Added Interface WebhookReceiverAutoGenerated
      info	[Changelog]   - Added Interface WebtestLocationAvailabilityCriteria
      info	[Changelog]   - Added Type Alias AccessMode
      info	[Changelog]   - Added Type Alias ActionGroupsCreateNotificationsAtActionGroupResourceLevelResponse
      info	[Changelog]   - Added Type Alias ActionGroupsGetTestNotificationsAtActionGroupResourceLevelResponse
      info	[Changelog]   - Added Type Alias ActionType
      info	[Changelog]   - Added Type Alias ActivityLogAlertsListByResourceGroupNextResponse
      info	[Changelog]   - Added Type Alias ActivityLogAlertsListBySubscriptionIdNextResponse
      info	[Changelog]   - Added Type Alias AzureMonitorWorkspacesCreateResponse
      info	[Changelog]   - Added Type Alias AzureMonitorWorkspacesGetResponse
      info	[Changelog]   - Added Type Alias AzureMonitorWorkspacesListByResourceGroupNextResponse
      info	[Changelog]   - Added Type Alias AzureMonitorWorkspacesListByResourceGroupResponse
      info	[Changelog]   - Added Type Alias AzureMonitorWorkspacesListBySubscriptionNextResponse
      info	[Changelog]   - Added Type Alias AzureMonitorWorkspacesListBySubscriptionResponse
      info	[Changelog]   - Added Type Alias AzureMonitorWorkspacesUpdateResponse
      info	[Changelog]   - Added Type Alias DataCollectionRuleAssociationsListByDataCollectionEndpointNextResponse
      info	[Changelog]   - Added Type Alias DataCollectionRuleAssociationsListByDataCollectionEndpointResponse
      info	[Changelog]   - Added Type Alias DimensionOperator
      info	[Changelog]   - Added Type Alias IdentityType
      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 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 PublicNetworkAccess
      info	[Changelog]   - Added Type Alias ScheduledQueryRulesListByResourceGroupNextResponse
      info	[Changelog]   - Added Type Alias ScheduledQueryRulesListBySubscriptionNextResponse
      info	[Changelog]   - Added Type Alias TenantActionGroupsCreateOrUpdateResponse
      info	[Changelog]   - Added Type Alias TenantActionGroupsGetResponse
      info	[Changelog]   - Added Type Alias TenantActionGroupsListByManagementGroupIdResponse
      info	[Changelog]   - Added Type Alias TenantActionGroupsUpdateResponse
      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]   - 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 KnownPublicNetworkAccess
      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]   - Added function getContinuationToken
      info	[Changelog]
      info	[Changelog] **Breaking Changes**
      info	[Changelog]
      info	[Changelog]   - Removed operation group Metrics
      info	[Changelog]   - Removed operation ActionGroups.beginPostTestNotifications
      info	[Changelog]   - Removed operation ActionGroups.beginPostTestNotificationsAndWait
      info	[Changelog]   - Removed operation ActionGroups.getTestNotifications
      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 ActivityLogsListNextOptionalParams no longer has parameter select
      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]   - Interface TenantActivityLogsListNextOptionalParams no longer has parameter filter
      info	[Changelog]   - Interface TenantActivityLogsListNextOptionalParams no longer has parameter select
      info	[Changelog]   - Type of parameter operator of interface Dimension is changed from Operator to DimensionOperator
      info	[Changelog]   - Type of parameter error of interface ErrorContract is changed from ErrorResponse to ErrorResponseDetails
      info	[Changelog]   - Type of parameter error of interface OperationStatus is changed from ErrorResponseCommon to ErrorDetail
      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]
    • Pipeline Framework Failed [Logs]Release - Generate from a61e5f2. 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 a61e5f2. 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?

    @ghost ghost added the Monitor Monitor, Monitor Ingestion, Monitor Query label Feb 27, 2023
    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Feb 27, 2023

    Generated ApiView

    Language Package Name ApiView Link
    Go sdk/resourcemanager/monitor/armmonitor https://apiview.dev/Assemblies/Review/d94a4a0743524bfc994404c50afe4180
    Java azure-resourcemanager-monitor-generated https://apiview.dev/Assemblies/Review/c831e47b572b4395afcc2c97373ccce3
    JavaScript @azure/arm-monitor https://apiview.dev/Assemblies/Review/1b34faf26cd54710bb0ab494f5386e87

    aviyerMSFT pushed a commit to aviyerMSFT/azure-rest-api-specs that referenced this pull request Mar 22, 2023
    …ackage-composite-v1 tag (Azure#22792)
    
    fixes Azure#22716 
    
    fix the Metrics API version in the package-composite-v1 tag
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    Azure Monitor: Missing ListBySubscription Cal by default.
    4 participants