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

Release app microsoft.app 2024 03 01 #28571

Merged
merged 7 commits into from
Apr 18, 2024

Conversation

Juliehzl
Copy link
Contributor

@Juliehzl Juliehzl commented Apr 3, 2024

ARM (Control Plane) API Specification Update Pull Request

Tip

Overwhelmed by all this guidance? See the Getting help section at the bottom of this PR description.

Note

As of January 2024 there is no PR assignee. This is expected. See https://aka.ms/azsdk/pr-arm-review.

PR review workflow diagram

Please understand this diagram before proceeding. It explains how to get your PR approved & merged.

diagram

Click here to see the details of Step 1, Breaking Changes review

If you are in purview of Step 1 of the diagram, follow the Breaking Changes review process.
IMPORTANT! This applies even if you believe your PR was mislabeled, for any reason, including tool failure.

Click here to see the details of Step 2, ARM review

See https://aka.ms/azsdk/pr-arm-review.

Click here to see the diagram footnotes

Diagram footnotes

[1] See ARM review queue (for PR merge queues, see [2]).
[2] public repo merge queue, private repo merge queue (for ARM review queue, [1])
The ARM reviewer on-call engineer visits the merge queue twice a day, so the approximate ETA for merges is 12 - 24 hours.

Purpose of this PR

What's the purpose of this PR? Check the specific option that applies. This is mandatory!

  • New resource provider.
  • New API version for an existing resource provider. (If API spec is not defined in TypeSpec, the PR should have been generated using OpenAPI Hub).
  • Update existing version for a new feature. (This is applicable only when you are revising a private preview API version.)
  • Update existing version to fix OpenAPI spec quality issues in S360.
  • Other, please clarify:
    • edit this with your clarification

Due diligence checklist

To merge this PR, you must go through the following checklist and confirm you understood
and followed the instructions by checking all the boxes:

  • I confirm this PR is modifying Azure Resource Manager (ARM) related specifications, and not data plane related specifications.
  • I have reviewed following Resource Provider guidelines, including
    ARM resource provider contract and
    REST guidelines (estimated time: 4 hours).
    I understand this is required before I can proceed to the diagram Step 2, "ARM API changes review", for this PR.

Additional information

Viewing API changes

For convenient view of the API changes made by this PR, refer to the URLs provided in the table
in the Generated ApiView comment added to this PR. You can use ApiView to show API versions diff.

Suppressing failures

If one or multiple validation error/warning suppression(s) is detected in your PR, please follow the
suppressions guide to get approval.

Getting help

  • First, please carefully read through this PR description, from top to bottom. Please fill out the Purpose of this PR and Due diligence checklist.
  • To understand what you must do next to merge this PR, see the Next Steps to Merge comment. It will appear within few minutes of submitting this PR and will continue to be up-to-date with current PR state.
  • For guidance on fixing this PR CI check failures, see the hyperlinks provided in given failure
    and https://aka.ms/ci-fix.
  • For help with PR workflow diagram Step 2 (ARM review), see https://aka.ms/azsdk/pr-arm-review.
  • If the PR CI checks appear to be stuck in queued state, please add a comment with contents /azp run.
    This should result in a new comment denoting a PR validation pipeline has started and the checks should be updated after few minutes.
  • If the help provided by the previous points is not enough, post to https://aka.ms/azsdk/support/specreview-channel and link to this PR.

Copy link

openapi-pipeline-app bot commented Apr 3, 2024

Next Steps to Merge

✅ All automated merging requirements have been met! To get your PR merged, see aka.ms/azsdk/specreview/merge.

Copy link

openapi-pipeline-app bot commented Apr 3, 2024

Swagger Validation Report

️️✔️BreakingChange succeeded [Detail] [Expand]
There are no breaking changes.
️⚠️Breaking Change(Cross-Version): 23 Warnings warning [Detail]
Compared specs (v0.10.7) new version base version
AuthConfigs.json 2024-03-01(566baab) 2023-05-01(main)
AuthConfigs.json 2024-03-01(566baab) 2023-11-02-preview(main)
AvailableWorkloadProfiles.json 2024-03-01(566baab) 2023-05-01(main)
AvailableWorkloadProfiles.json 2024-03-01(566baab) 2023-11-02-preview(main)
BillingMeters.json 2024-03-01(566baab) 2023-05-01(main)
BillingMeters.json 2024-03-01(566baab) 2023-11-02-preview(main)
CommonDefinitions.json 2024-03-01(566baab) 2023-05-01(main)
CommonDefinitions.json 2024-03-01(566baab) 2023-11-02-preview(main)
ConnectedEnvironments.json 2024-03-01(566baab) 2023-05-01(main)
ConnectedEnvironments.json 2024-03-01(566baab) 2023-11-02-preview(main)
ConnectedEnvironmentsCertificates.json 2024-03-01(566baab) 2023-05-01(main)
ConnectedEnvironmentsCertificates.json 2024-03-01(566baab) 2023-11-02-preview(main)
ConnectedEnvironmentsDaprComponents.json 2024-03-01(566baab) 2023-05-01(main)
ConnectedEnvironmentsDaprComponents.json 2024-03-01(566baab) 2023-11-02-preview(main)
ConnectedEnvironmentsStorages.json 2024-03-01(566baab) 2023-05-01(main)
ConnectedEnvironmentsStorages.json 2024-03-01(566baab) 2023-11-02-preview(main)
ContainerApps.json 2024-03-01(566baab) 2023-05-01(main)
ContainerApps.json 2024-03-01(566baab) 2023-11-02-preview(main)
ContainerAppsRevisions.json 2024-03-01(566baab) 2023-05-01(main)
ContainerAppsRevisions.json 2024-03-01(566baab) 2023-11-02-preview(main)
Diagnostics.json 2024-03-01(566baab) 2023-05-01(main)
Diagnostics.json 2024-03-01(566baab) 2023-11-02-preview(main)
Global.json 2024-03-01(566baab) 2023-05-01(main)
Global.json 2024-03-01(566baab) 2023-11-02-preview(main)
Jobs.json 2024-03-01(566baab) 2023-05-01(main)
Jobs.json 2024-03-01(566baab) 2023-11-02-preview(main)
ManagedEnvironments.json 2024-03-01(566baab) 2023-05-01(main)
ManagedEnvironments.json 2024-03-01(566baab) 2023-11-02-preview(main)
ManagedEnvironmentsDaprComponents.json 2024-03-01(566baab) 2023-05-01(main)
ManagedEnvironmentsDaprComponents.json 2024-03-01(566baab) 2023-11-02-preview(main)
ManagedEnvironmentsStorages.json 2024-03-01(566baab) 2023-05-01(main)
ManagedEnvironmentsStorages.json 2024-03-01(566baab) 2023-11-02-preview(main)
SourceControls.json 2024-03-01(566baab) 2023-05-01(main)
SourceControls.json 2024-03-01(566baab) 2023-11-02-preview(main)
Subscriptions.json 2024-03-01(566baab) 2023-11-02-preview(main)
Usages.json 2024-03-01(566baab) 2023-11-02-preview(main)

The following breaking changes are detected by comparison with the latest preview version:

Rule Message
⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'ExtendedLocationType' removed or renamed?
New: Microsoft.App/stable/2024-03-01/Jobs.json#L647:3
Old: Microsoft.App/preview/2023-11-02-preview/Jobs.json#L650:3
⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'ExtendedLocation' removed or renamed?
New: Microsoft.App/stable/2024-03-01/Jobs.json#L647:3
Old: Microsoft.App/preview/2023-11-02-preview/Jobs.json#L650:3
⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'UserAssignedIdentities' removed or renamed?
New: Microsoft.App/stable/2024-03-01/ManagedEnvironments.json#L1046:3
Old: Microsoft.App/preview/2023-11-02-preview/ManagedEnvironments.json#L1049:3
⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'ManagedServiceIdentityType' removed or renamed?
New: Microsoft.App/stable/2024-03-01/ManagedEnvironments.json#L1046:3
Old: Microsoft.App/preview/2023-11-02-preview/ManagedEnvironments.json#L1049:3
⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'ManagedServiceIdentity' removed or renamed?
New: Microsoft.App/stable/2024-03-01/ManagedEnvironments.json#L1046:3
Old: Microsoft.App/preview/2023-11-02-preview/ManagedEnvironments.json#L1049:3
⚠️ 1016 - ConstantStatusHasChanged The 'constant' status changed from the old version to the new.
New: Microsoft.App/stable/2024-03-01/Diagnostics.json#L554:11
Old: Microsoft.App/preview/2023-11-02-preview/Diagnostics.json#L551:11
⚠️ 1019 - RemovedEnumValue The new version is removing enum value(s) 'NfsAzureFile' from the old version.
New: Microsoft.App/stable/2024-03-01/CommonDefinitions.json#L640:9
Old: Microsoft.App/preview/2023-11-02-preview/CommonDefinitions.json#L644:9
⚠️ 1033 - RemovedProperty The new version is missing a property found in the old version. Was 'certificateKeyVaultProperties' renamed or removed?
New: Microsoft.App/stable/2024-03-01/CommonDefinitions.json#L303:7
Old: Microsoft.App/preview/2023-11-02-preview/CommonDefinitions.json#L303:7
⚠️ 1033 - RemovedProperty The new version is missing a property found in the old version. Was 'clientType' renamed or removed?
New: Microsoft.App/stable/2024-03-01/CommonDefinitions.json#L1166:7
Old: Microsoft.App/preview/2023-11-02-preview/CommonDefinitions.json#L1530:7
⚠️ 1033 - RemovedProperty The new version is missing a property found in the old version. Was 'customizedKeys' renamed or removed?
New: Microsoft.App/stable/2024-03-01/CommonDefinitions.json#L1166:7
Old: Microsoft.App/preview/2023-11-02-preview/CommonDefinitions.json#L1530:7
⚠️ 1033 - RemovedProperty The new version is missing a property found in the old version. Was 'serviceComponentBind' renamed or removed?
New: Microsoft.App/stable/2024-03-01/CommonDefinitions.json#L738:11
Old: Microsoft.App/preview/2023-11-02-preview/CommonDefinitions.json#L743:11
⚠️ 1033 - RemovedProperty The new version is missing a property found in the old version. Was 'certificateKeyVaultProperties' renamed or removed?
New: Microsoft.App/stable/2024-03-01/CommonDefinitions.json#L914:11
Old: Microsoft.App/preview/2023-11-02-preview/CommonDefinitions.json#L1262:11
⚠️ 1033 - RemovedProperty The new version is missing a property found in the old version. Was 'certificateType' renamed or removed?
New: Microsoft.App/stable/2024-03-01/CommonDefinitions.json#L914:11
Old: Microsoft.App/preview/2023-11-02-preview/CommonDefinitions.json#L1262:11
⚠️ 1033 - RemovedProperty The new version is missing a property found in the old version. Was 'targetPortHttpScheme' renamed or removed?
New: Microsoft.App/stable/2024-03-01/ContainerApps.json#L859:7
Old: Microsoft.App/preview/2023-11-02-preview/ContainerApps.json#L862:7
⚠️ 1033 - RemovedProperty The new version is missing a property found in the old version. Was 'identity' renamed or removed?
New: Microsoft.App/stable/2024-03-01/ManagedEnvironments.json#L1147:7
Old: Microsoft.App/preview/2023-11-02-preview/ManagedEnvironments.json#L1299:7
⚠️ 1033 - RemovedProperty The new version is missing a property found in the old version. Was 'dynamicJsonColumns' renamed or removed?
New: Microsoft.App/stable/2024-03-01/ManagedEnvironments.json#L1308:7
Old: Microsoft.App/preview/2023-11-02-preview/ManagedEnvironments.json#L1456:7
⚠️ 1033 - RemovedProperty The new version is missing a property found in the old version. Was 'appInsightsConfiguration' renamed or removed?
New: Microsoft.App/stable/2024-03-01/ManagedEnvironments.json#L1155:11
Old: Microsoft.App/preview/2023-11-02-preview/ManagedEnvironments.json#L1311:11
⚠️ 1033 - RemovedProperty The new version is missing a property found in the old version. Was 'openTelemetryConfiguration' renamed or removed?
New: Microsoft.App/stable/2024-03-01/ManagedEnvironments.json#L1155:11
Old: Microsoft.App/preview/2023-11-02-preview/ManagedEnvironments.json#L1311:11
⚠️ 1033 - RemovedProperty The new version is missing a property found in the old version. Was 'extendedLocation' renamed or removed?
New: Microsoft.App/stable/2024-03-01/Jobs.json#L756:7
Old: Microsoft.App/preview/2023-11-02-preview/Jobs.json#L759:7
⚠️ 1033 - RemovedProperty The new version is missing a property found in the old version. Was 'extendedLocation' renamed or removed?
New: Microsoft.App/stable/2024-03-01/Jobs.json#L822:7
Old: Microsoft.App/preview/2023-11-02-preview/Jobs.json#L828:7
⚠️ 1033 - RemovedProperty The new version is missing a property found in the old version. Was 'nfsAzureFile' renamed or removed?
New: Microsoft.App/stable/2024-03-01/ManagedEnvironmentsStorages.json#L262:11
Old: Microsoft.App/preview/2023-11-02-preview/ManagedEnvironmentsStorages.json#L268:11
⚠️ 1033 - RemovedProperty The new version is missing a property found in the old version. Was 'buildEnvironmentVariables' renamed or removed?
New: Microsoft.App/stable/2024-03-01/SourceControls.json#L312:7
Old: Microsoft.App/preview/2023-11-02-preview/SourceControls.json#L312:7
⚠️ 1049 - RemovedXmsEnum The new version is missing a 'x-ms-enum' found in the old version.
New: Microsoft.App/stable/2024-03-01/Diagnostics.json#L554:11
Old: Microsoft.App/preview/2023-11-02-preview/Diagnostics.json#L551:11
️️✔️CredScan succeeded [Detail] [Expand]
There is no credential detected.
️⚠️LintDiff: 5 Warnings warning [Detail]
Compared specs (v2.2.0) new version base version
package-2024-03 package-2024-03(566baab) default(main)

[must fix]The following errors/warnings are introduced by current PR:

Rule Message Related RPC [For API reviewers]
⚠️ XmsIdentifierValidation Missing identifier id in array item property
Location: Microsoft.App/stable/2024-03-01/CommonDefinitions.json#L620
⚠️ SummaryAndDescriptionMustNotBeSame The summary and description values should not be same.
Location: Microsoft.App/stable/2024-03-01/Diagnostics.json#L536
⚠️ AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
Location: Microsoft.App/stable/2024-03-01/ManagedEnvironments.json#L1263
⚠️ AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
Location: Microsoft.App/stable/2024-03-01/ManagedEnvironments.json#L1267
⚠️ EnumInsteadOfBoolean Booleans properties are not descriptive in all cases and can make them to use, evaluate whether is makes sense to keep the property as boolean or turn it into an enum.
Location: Microsoft.App/stable/2024-03-01/ManagedEnvironments.json#L1271


The following errors/warnings exist before current PR submission:

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

Rule Message
ResourceNameRestriction The resource name parameter 'containerAppName' should be defined with a 'pattern' restriction.
Location: Microsoft.App/stable/2024-03-01/AuthConfigs.json#L18
ResourceNameRestriction The resource name parameter 'containerAppName' should be defined with a 'pattern' restriction.
Location: Microsoft.App/stable/2024-03-01/AuthConfigs.json#L67
ResourceNameRestriction The resource name parameter 'authConfigName' should be defined with a 'pattern' restriction.
Location: Microsoft.App/stable/2024-03-01/AuthConfigs.json#L67
PutResponseCodes Synchronous and long-running PUT operations must have responses with 200, 201 and default return codes. They also must not have other response codes.
Location: Microsoft.App/stable/2024-03-01/AuthConfigs.json#L119
AvoidAdditionalProperties Definitions must not have properties named additionalProperties except for user defined tags or predefined references.
Location: Microsoft.App/stable/2024-03-01/AuthConfigs.json#L245
AvoidAdditionalProperties Definitions must not have properties named additionalProperties except for user defined tags or predefined references.
Location: Microsoft.App/stable/2024-03-01/AuthConfigs.json#L277
AvoidAdditionalProperties Definitions must not have properties named additionalProperties except for user defined tags or predefined references.
Location: Microsoft.App/stable/2024-03-01/AuthConfigs.json#L555
DefinitionsPropertiesNamesCamelCase Property name should be camel case.
Location: Microsoft.App/stable/2024-03-01/AuthConfigs.json#L601
XmsPageableForListCalls x-ms-pageable extension must be specified for LIST APIs.
Location: Microsoft.App/stable/2024-03-01/BillingMeters.json#L16
GetCollectionOnlyHasValueAndNextLink Get endpoints for collections of resources must only have the value and nextLink properties in their model.
Location: Microsoft.App/stable/2024-03-01/BillingMeters.json#L37
AvoidAdditionalProperties Definitions must not have properties named additionalProperties except for user defined tags or predefined references.
Location: Microsoft.App/stable/2024-03-01/CommonDefinitions.json#L281
AvoidAdditionalProperties Definitions must not have properties named additionalProperties except for user defined tags or predefined references.
Location: Microsoft.App/stable/2024-03-01/CommonDefinitions.json#L412
AvoidAdditionalProperties Definitions must not have properties named additionalProperties except for user defined tags or predefined references.
Location: Microsoft.App/stable/2024-03-01/CommonDefinitions.json#L435
AvoidAdditionalProperties Definitions must not have properties named additionalProperties except for user defined tags or predefined references.
Location: Microsoft.App/stable/2024-03-01/CommonDefinitions.json#L497
AvoidAdditionalProperties Definitions must not have properties named additionalProperties except for user defined tags or predefined references.
Location: Microsoft.App/stable/2024-03-01/CommonDefinitions.json#L497
AvoidAdditionalProperties Definitions must not have properties named additionalProperties except for user defined tags or predefined references.
Location: Microsoft.App/stable/2024-03-01/CommonDefinitions.json#L497
AvoidAdditionalProperties Definitions must not have properties named additionalProperties except for user defined tags or predefined references.
Location: Microsoft.App/stable/2024-03-01/CommonDefinitions.json#L518
AvoidAdditionalProperties Definitions must not have properties named additionalProperties except for user defined tags or predefined references.
Location: Microsoft.App/stable/2024-03-01/CommonDefinitions.json#L522
AvoidAdditionalProperties Definitions must not have properties named additionalProperties except for user defined tags or predefined references.
Location: Microsoft.App/stable/2024-03-01/CommonDefinitions.json#L526
AvoidAdditionalProperties Definitions must not have properties named additionalProperties except for user defined tags or predefined references.
Location: Microsoft.App/stable/2024-03-01/CommonDefinitions.json#L606
AvoidAdditionalProperties Definitions must not have properties named additionalProperties except for user defined tags or predefined references.
Location: Microsoft.App/stable/2024-03-01/CommonDefinitions.json#L606
AvoidAdditionalProperties Definitions must not have properties named additionalProperties except for user defined tags or predefined references.
Location: Microsoft.App/stable/2024-03-01/CommonDefinitions.json#L606
ResourceNameRestriction The resource name parameter 'connectedEnvironmentName' should be defined with a 'pattern' restriction.
Location: Microsoft.App/stable/2024-03-01/ConnectedEnvironments.json#L100
LroErrorContent Error response content of long running operations must follow the error schema provided in the common types v2 and above.
Location: Microsoft.App/stable/2024-03-01/ConnectedEnvironments.json#L198
DeleteResponseCodes Long-running delete operations must have responses with 202, 204 and default return codes. They also must have no other response codes.
Location: Microsoft.App/stable/2024-03-01/ConnectedEnvironments.json#L208
LroErrorContent Error response content of long running operations must follow the error schema provided in the common types v2 and above.
Location: Microsoft.App/stable/2024-03-01/ConnectedEnvironments.json#L255
ResourceNameRestriction The resource name parameter 'connectedEnvironmentName' should be defined with a 'pattern' restriction.
Location: Microsoft.App/stable/2024-03-01/ConnectedEnvironments.json#L311
ResourceNameRestriction The resource name parameter 'connectedEnvironmentName' should be defined with a 'pattern' restriction.
Location: Microsoft.App/stable/2024-03-01/ConnectedEnvironmentsCertificates.json#L18
ResourceNameRestriction The resource name parameter 'connectedEnvironmentName' should be defined with a 'pattern' restriction.
Location: Microsoft.App/stable/2024-03-01/ConnectedEnvironmentsCertificates.json#L68
ResourceNameRestriction The resource name parameter 'certificateName' should be defined with a 'pattern' restriction.
Location: Microsoft.App/stable/2024-03-01/ConnectedEnvironmentsCertificates.json#L68
️❌Avocado: 1 Errors, 1 Warnings failed [Detail]
Rule Message
MISSING_APIS_IN_DEFAULT_TAG The default tag should contain all APIs. The API path /subscriptions/{}/resourcegroups/{}/providers/Microsoft.App/connectedEnvironments/{} is not in the default tag. Please make sure the missing API swaggers are in the default tag.
readme: specification/app/resource-manager/readme.md
json: Microsoft.App/stable/2022-10-01/ConnectedEnvironments.json
⚠️ CIRCULAR_REFERENCE The JSON file has a circular reference.
readme: specification/app/resource-manager/readme.md
json: Microsoft.App/stable/2024-03-01/CommonDefinitions.json
️️✔️SwaggerAPIView succeeded [Detail] [Expand]
️️✔️TypeSpecAPIView 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.
️️✔️SpellCheck succeeded [Detail] [Expand]
Validation passes for SpellCheck.
️️✔️Lint(RPaaS) succeeded [Detail] [Expand]
Validation passes for Lint(RPaaS).
️️✔️PR Summary succeeded [Detail] [Expand]
Validation passes for Summary.
️️✔️Automated merging requirements met succeeded [Detail] [Expand]
Posted by Swagger Pipeline | How to fix these errors?

Copy link

openapi-pipeline-app bot commented Apr 3, 2024

Swagger Generation Artifacts

️️✔️ApiDocPreview succeeded [Detail] [Expand]
 Please click here to preview with your @microsoft account. 
️⚠️ azure-sdk-for-python warning [Detail]
  • ⚠️Warning [Logs] Generate from 76c42da5d630484ecab8a0f3464b17bf4be16457. 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]
    cmderr	[automation_generate.sh] npm notice New minor version of npm available! 10.2.4 -> 10.5.0
    cmderr	[automation_generate.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.5.0>
    cmderr	[automation_generate.sh] npm notice Run `npm install -g npm@10.5.0` to update!
    cmderr	[automation_generate.sh] npm notice
  • ️✔️azure-mgmt-appcontainers [View full logs]  [Preview SDK Changes]
    info	[Changelog] ### Features Added
    info	[Changelog]
    info	[Changelog]   - Added operation ContainerAppsAPIClientOperationsMixin.get_custom_domain_verification_id
    info	[Changelog]   - Added operation JobsOperations.get_detector
    info	[Changelog]   - Added operation JobsOperations.list_detectors
    info	[Changelog]   - Added operation JobsOperations.proxy_get
    info	[Changelog]   - Added operation group ManagedEnvironmentUsagesOperations
    info	[Changelog]   - Added operation group UsagesOperations
    info	[Changelog]   - Model AuthConfig has a new parameter encryption_settings
    info	[Changelog]   - Model AvailableWorkloadProfileProperties has a new parameter gpus
    info	[Changelog]   - Model Ingress has a new parameter additional_port_mappings
    info	[Changelog]   - Model Login has a new parameter token_store
    info	[Changelog]   - Model ManagedEnvironment has a new parameter peer_traffic_configuration
️⚠️ azure-sdk-for-java warning [Detail]
  • ⚠️Warning [Logs] Generate from 76c42da5d630484ecab8a0f3464b17bf4be16457. SDK Automation 14.0.0
    command	./eng/mgmt/automation/init.sh ../azure-sdk-for-java_tmp/initInput.json ../azure-sdk-for-java_tmp/initOutput.json
    cmderr	[init.sh] [notice] A new release of pip is available: 23.0.1 -> 24.0
    cmderr	[init.sh] [notice] To update, run: pip install --upgrade pip
    cmderr	[init.sh] [notice] A new release of pip is available: 23.0.1 -> 24.0
    cmderr	[init.sh] [notice] To update, run: pip install --upgrade pip
    command	./eng/mgmt/automation/generate.py ../azure-sdk-for-java_tmp/generateInput.json ../azure-sdk-for-java_tmp/generateOutput.json
  • ️✔️azure-resourcemanager-appcontainers [View full logs]  [Preview SDK Changes]
️️✔️ azure-sdk-for-go succeeded [Detail] [Expand]
  • ️✔️Succeeded [Logs] Generate from 76c42da5d630484ecab8a0f3464b17bf4be16457. 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/appcontainers/armappcontainers [View full logs]  [Preview SDK Changes] Breaking Change Detected
    info	[Changelog] ### Breaking Changes
    info	[Changelog]
    info	[Changelog] - Field `EndTime`, `StartTime`, `Status`, `Template` of struct `JobExecution` has been removed
    info	[Changelog]
    info	[Changelog] ### Features Added
    info	[Changelog]
    info	[Changelog] - New function `*ClientFactory.NewManagedEnvironmentUsagesClient() *ManagedEnvironmentUsagesClient`
    info	[Changelog] - New function `*ClientFactory.NewUsagesClient() *UsagesClient`
    info	[Changelog] - New function `*ContainerAppsAPIClient.GetCustomDomainVerificationID(context.Context, *ContainerAppsAPIClientGetCustomDomainVerificationIDOptions) (ContainerAppsAPIClientGetCustomDomainVerificationIDResponse, error)`
    info	[Changelog] - New function `*JobsClient.GetDetector(context.Context, string, string, string, *JobsClientGetDetectorOptions) (JobsClientGetDetectorResponse, error)`
    info	[Changelog] - New function `*JobsClient.NewListDetectorsPager(string, string, *JobsClientListDetectorsOptions) *runtime.Pager[JobsClientListDetectorsResponse]`
    info	[Changelog] - New function `*JobsClient.ProxyGet(context.Context, string, string, string, *JobsClientProxyGetOptions) (JobsClientProxyGetResponse, error)`
    info	[Changelog] - New function `NewManagedEnvironmentUsagesClient(string, azcore.TokenCredential, *arm.ClientOptions) (*ManagedEnvironmentUsagesClient, error)`
    info	[Changelog] - New function `*ManagedEnvironmentUsagesClient.NewListPager(string, string, *ManagedEnvironmentUsagesClientListOptions) *runtime.Pager[ManagedEnvironmentUsagesClientListResponse]`
    info	[Changelog] - New function `NewUsagesClient(string, azcore.TokenCredential, *arm.ClientOptions) (*UsagesClient, error)`
    info	[Changelog] - New function `*UsagesClient.NewListPager(string, *UsagesClientListOptions) *runtime.Pager[UsagesClientListResponse]`
    info	[Changelog] - New struct `BlobStorageTokenStore`
    info	[Changelog] - New struct `EncryptionSettings`
    info	[Changelog] - New struct `IngressPortMapping`
    info	[Changelog] - New struct `JobExecutionProperties`
    info	[Changelog] - New struct `ListUsagesResult`
    info	[Changelog] - New struct `ManagedEnvironmentPropertiesPeerTrafficConfiguration`
    info	[Changelog] - New struct `ManagedEnvironmentPropertiesPeerTrafficConfigurationEncryption`
    info	[Changelog] - New struct `TokenStore`
    info	[Changelog] - New struct `Usage`
    info	[Changelog] - New struct `UsageName`
    info	[Changelog] - New field `EncryptionSettings` in struct `AuthConfigProperties`
    info	[Changelog] - New field `Gpus` in struct `AvailableWorkloadProfileProperties`
    info	[Changelog] - New field `AdditionalPortMappings` in struct `Ingress`
    info	[Changelog] - New field `Properties` in struct `JobExecution`
    info	[Changelog] - New field `TokenStore` in struct `Login`
    info	[Changelog] - New field `PeerTrafficConfiguration` in struct `ManagedEnvironmentProperties`
    info	[Changelog]
    info	[Changelog] Total 1 breaking change(s), 36 additive change(s).
    Present SDK breaking changes suppressions
    Field `EndTime`, `StartTime`, `Status`, `Template` of struct `JobExecution` has been removed
    Please refer to https://aka.ms/azsdk/sdk-suppression for more information.
️️✔️ azure-sdk-for-js succeeded [Detail] [Expand]
  • ️✔️Succeeded [Logs] Generate from 76c42da5d630484ecab8a0f3464b17bf4be16457. 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-appcontainers [View full logs]  [Preview SDK Changes]
    info	[Changelog] **Features**
    info	[Changelog]
    info	[Changelog]   - Added operation group ManagedEnvironmentUsages
    info	[Changelog]   - Added operation group Usages
    info	[Changelog]   - Added operation Jobs.getDetector
    info	[Changelog]   - Added operation Jobs.listDetectors
    info	[Changelog]   - Added operation Jobs.proxyGet
    info	[Changelog]   - Added Interface BlobStorageTokenStore
    info	[Changelog]   - Added Interface EncryptionSettings
    info	[Changelog]   - Added Interface GetCustomDomainVerificationIdOptionalParams
    info	[Changelog]   - Added Interface IngressPortMapping
    info	[Changelog]   - Added Interface JobsGetDetectorOptionalParams
    info	[Changelog]   - Added Interface JobsListDetectorsNextOptionalParams
    info	[Changelog]   - Added Interface JobsListDetectorsOptionalParams
    info	[Changelog]   - Added Interface JobsProxyGetOptionalParams
    info	[Changelog]   - Added Interface ListUsagesResult
    info	[Changelog]   - Added Interface ManagedEnvironmentPropertiesPeerTrafficConfiguration
    info	[Changelog]   - Added Interface ManagedEnvironmentPropertiesPeerTrafficConfigurationEncryption
    info	[Changelog]   - Added Interface ManagedEnvironmentUsagesListNextOptionalParams
    info	[Changelog]   - Added Interface ManagedEnvironmentUsagesListOptionalParams
    info	[Changelog]   - Added Interface TokenStore
    info	[Changelog]   - Added Interface Usage
    info	[Changelog]   - Added Interface UsageName
    info	[Changelog]   - Added Interface UsagesListNextOptionalParams
    info	[Changelog]   - Added Interface UsagesListOptionalParams
    info	[Changelog]   - Added Type Alias GetCustomDomainVerificationIdResponse
    info	[Changelog]   - Added Type Alias JobsGetDetectorResponse
    info	[Changelog]   - Added Type Alias JobsListDetectorsNextResponse
    info	[Changelog]   - Added Type Alias JobsListDetectorsResponse
    info	[Changelog]   - Added Type Alias JobsProxyGetResponse
    info	[Changelog]   - Added Type Alias ManagedEnvironmentUsagesListNextResponse
    info	[Changelog]   - Added Type Alias ManagedEnvironmentUsagesListResponse
    info	[Changelog]   - Added Type Alias UsagesListNextResponse
    info	[Changelog]   - Added Type Alias UsagesListResponse
    info	[Changelog]   - Interface AuthConfig has a new optional parameter encryptionSettings
    info	[Changelog]   - Interface AvailableWorkloadProfileProperties has a new optional parameter gpus
    info	[Changelog]   - Interface Ingress has a new optional parameter additionalPortMappings
    info	[Changelog]   - Interface Login has a new optional parameter tokenStore
    info	[Changelog]   - Interface ManagedEnvironment has a new optional parameter peerTrafficConfiguration
️⚠️ azure-resource-manager-schemas warning [Detail]
  • ⚠️Warning [Logs] Generate from 76c42da5d630484ecab8a0f3464b17bf4be16457. 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]  notice
    cmderr	[initScript.sh] npm notice New minor version of npm available! 10.2.4 -> 10.5.0
    cmderr	[initScript.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.5.0>
    cmderr	[initScript.sh] npm notice Run `npm install -g npm@10.5.0` to update!
    cmderr	[initScript.sh] npm notice
    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
️️✔️ azure-powershell succeeded [Detail] [Expand]
  • ️✔️Succeeded [Logs] Generate from 76c42da5d630484ecab8a0f3464b17bf4be16457. 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.app.DefaultTag [View full logs]  [Preview SDK Changes]
Posted by Swagger Pipeline | How to fix these errors?

}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/jobs/{jobName}/detectorProperties/{apiName}": {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

detectorProperties/{apiName}

The apiName seems a bit strange. Since it's after detectorProperties, I expect it be something like propertyName. The URI should follow the pattern: resourceCollection/resourceInstance.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it is same with previous api version. I do not want to change it, which will cause breaking change.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you have used the : "2023-05-01" as the base api version for this PR , and this api was not present there.

Can you please clarify which previous api version are you talking about ? and why is that not used as the base commit for this PR ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to support all features in 2023-05-01, so we use it as base api version.
For the api you mentioned, it is added in #27875 and the api is already added in previous api version 2023-08-01-preview #26227

"type": "object",
"properties": {
"enabled": {
"type": "boolean",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ARM recommends enums over booleans for future proof APIs. Standard guidance is: replace boolean/switch properties with a more meaningful enum whenever possible.

A boolean will forever have two valid values (true or false). A string enum type is always preferred. Also, properties should always provide better values just than True and False. For example two switches "isTypeA" and "isTypeB" should be replaced with one enum "type": [A, B, DefaultType]. Enums are always a more flexible and future proof option because they allow additional values to be added in the future in a non-breaking way, e.g. [Enabled, Disabled, Suspended, Deallocated].

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it is the same with previous api version.

@gary-x-li
Copy link
Contributor

Also, please fill out the Purpose of this PR and Due diligence checklist sections.

@gary-x-li gary-x-li added the ARMChangesRequested <valid label in PR review process>add this label when require changes after ARM review label Apr 12, 2024
Copy link

Please address or respond to feedback from the ARM API reviewer.
When you are ready to continue the ARM API review, please remove the ARMChangesRequested label.
This will notify the reviewer to have another look.
If the feedback provided needs further discussion, please use this Teams channel to post your questions - aka.ms/azsdk/support/specreview-channel.
Please include [ARM Query] in the title of your question to indicate that it is ARM-related.

@openapi-workflow-bot openapi-workflow-bot bot removed the WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required label Apr 12, 2024
@Juliehzl
Copy link
Contributor Author

This is our feature branch and all saparated PRs are get reviewed beofore.

@Juliehzl Juliehzl added the WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required label Apr 16, 2024
@openapi-workflow-bot openapi-workflow-bot bot removed the ARMChangesRequested <valid label in PR review process>add this label when require changes after ARM review label Apr 16, 2024
"application/json"
],
"paths": {
"/subscriptions/{subscriptionId}/providers/Microsoft.App/getCustomDomainVerificationId": {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

getCustomDomainVerificationId

in ARM we prefer to model everything as resource asmuch as possible.

Can you please instead model this as a readonly resource instead of making this a POST call ?

Copy link
Contributor Author

@Juliehzl Juliehzl Apr 17, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it is a Post call in our backend and already be there in previous api version 2023-05-02-preview #24286

@raosuhas
Copy link

Please respond to this comment as well :

#28571 (comment)

@raosuhas
Copy link

This is our feature branch and all saparated PRs are get reviewed beofore.

Could you share the PR where the comments I made were reviewed ?

@raosuhas raosuhas added the ARMChangesRequested <valid label in PR review process>add this label when require changes after ARM review label Apr 16, 2024
@openapi-workflow-bot openapi-workflow-bot bot removed the WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required label Apr 16, 2024
@Juliehzl Juliehzl added the WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required label Apr 17, 2024
@openapi-workflow-bot openapi-workflow-bot bot removed the ARMChangesRequested <valid label in PR review process>add this label when require changes after ARM review label Apr 17, 2024
@raosuhas
Copy link

Signing off on these since the changes have already been approved in a previous iteration.

@raosuhas raosuhas added the ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review label Apr 17, 2024
@openapi-workflow-bot openapi-workflow-bot bot removed the WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required label Apr 17, 2024
@Juliehzl
Copy link
Contributor Author

/pr RequestMerge

@raosuhas raosuhas merged commit 07f2266 into main Apr 18, 2024
31 of 32 checks passed
@raosuhas raosuhas deleted the release-app-Microsoft.App-2024-03-01 branch April 18, 2024 16:41
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.

6 participants