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

[BUG] 31536 Microsoft.AzureActiveDirectory/ciamDirectories location enum is empty #31539

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

StephenWeatherford
Copy link

@StephenWeatherford StephenWeatherford commented Nov 13, 2024

Fixes #31536

See #31536 for details. Note that the location property is defined multiple times with this same description, but only here it is listed as an enum. @shenglol suggests it's safer to remove the enum anyway, since that way new values can be added over time.

Here are other examples of "location" in the Microsoft.AzureActiveDirectory RP where it's simply a string:


"description": "The location in which the resource is hosted and data resides. Can be one of 'United States', 'Europe', 'Asia Pacific', or 'Australia' (preview). Refer to [this documentation](https://aka.ms/B2CDataResidency) for more information."

"description": "The location in which the resource is hosted and data resides. Can be one of 'United States', 'Europe', 'Asia Pacific', or 'Australia'. Refer to [this documentation](https://aka.ms/B2CDataResidency) for more information.",

"description": "The location in which the resource is hosted and data resides. Can be one of 'United States', 'Europe', 'Asia Pacific', or 'Australia'. Refer to [this documentation](https://aka.ms/B2CDataResidency) for more information."

Copy link

openapi-pipeline-app bot commented Nov 13, 2024

Next Steps to Merge

Next steps that must be taken to merge this PR:
  • ❌ This is the public specs repo main branch which is not intended for iterative development.
    You must acknowledge that you understand that after this PR is merged, you won't be able to stop your changes from being published to Azure customers.
    If this is what you intend, add PublishToCustomers label to your PR.
    Otherwise, retarget this PR onto a feature branch, i.e. with prefix release- (see aka.ms/azsdk/api-versions#release--branches).
  • ❌ The required check named Automated merging requirements met has failed. This is the final check that must pass. Refer to the check in the PR's 'Checks' tab for details on how to fix it and consult the aka.ms/ci-fix guide. In addition, refer to step 4 in the PR workflow diagram

Copy link

openapi-pipeline-app bot commented Nov 13, 2024

Generated ApiView

Language Package Name ApiView Link
Go sdk/resourcemanager/azureadexternalidentities/armazureadexternalidentities https://apiview.dev/Assemblies/Review/f3c85d82874c41dd9b1c2d237f1914eb?revisionId=2ff5eedd26334b52b381832437a437ba
Swagger Microsoft.AzureActiveDirectory https://apiview.dev/Assemblies/Review/72c5a63d154b4daf9225a0fbcd66930a?revisionId=33a77e98c20048cb9e18dbcef63ef455

@azure-sdk
Copy link
Collaborator

API change check

APIView has identified API level changes in this PR and created following API reviews.

Microsoft.AzureActiveDirectory

@StephenWeatherford
Copy link
Author

@AndresZourelli Could you take a look, please? Thanks.

@razvanbadea-msft
Copy link
Contributor

      "description": "The location in which the resource is hosted and data resides. Can be one of 'United States', 'Europe', 'Asia Pacific', or 'Australia'. Refer to [this documentation](https://aka.ms/ciam-data-location) for more information.",

In this care are the descriptions of the location properties still acurate?


Refers to: specification/cpim/resource-manager/Microsoft.AzureActiveDirectory/preview/2023-05-17-preview/externalIdentities.json:1715 in 361d3d3. [](commit_id = 361d3d3, deletion_comment = False)

@razvanbadea-msft razvanbadea-msft added the ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review label Nov 14, 2024
@openapi-pipeline-app openapi-pipeline-app bot removed the WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required label Nov 14, 2024
@razvanbadea-msft
Copy link
Contributor

I am signing off on the PR because it is not a blocking comment. However, I have a suggestion for you that you should consider before merging the PR

@AndresZourelli
Copy link
Contributor

Yes this statement is still true for CIAM/External Id.

"description": "The location in which the resource is hosted and data resides. Can be one of 'United States', 'Europe', 'Asia Pacific', or 'Australia'. Refer to this documentation for more information.",

@AndresZourelli
Copy link
Contributor

the change looks good to me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ARMReview ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review ReadyForApiTest <valid label in PR review process>add this label when swagger and service APIs are ready for test resource-manager
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Microsoft.AzureActiveDirectory/ciamDirectories: The location enum is empty in JSON schema
5 participants