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

Updating ProvisioningState from enum to union #521

Merged
merged 12 commits into from
Apr 17, 2024

Conversation

allenjzhang
Copy link
Member

  1. Updated ARM lib default ResourceProvisioningState to union
  2. Updated samples enum ProvisioningState to union
  3. Updated @lroStatus to support nested union ProvisioningState

@azure-sdk
Copy link
Collaborator

azure-sdk commented Mar 26, 2024

All changed packages have been documented.

  • @azure-tools/typespec-azure-core
  • @azure-tools/typespec-azure-resource-manager
Show changes

@azure-tools/typespec-azure-core - breaking ✏️

Switching ProvisioningState from enum to Open union

@azure-tools/typespec-azure-resource-manager - breaking ✏️

Switching ProvisioningState from enum to Open union

@azure-sdk
Copy link
Collaborator

@XiaofeiCao
Copy link
Contributor

FYI, getstarted docs may need update as well:

enum ProvisioningState {
...ResourceProvisioningState,
Provisioning,
Updating,
Deleting,
Accepted,
}

@allenjzhang allenjzhang added this pull request to the merge queue Apr 17, 2024
Merged via the queue into Azure:main with commit 0162292 Apr 17, 2024
21 checks passed
@allenjzhang allenjzhang deleted the azhang_ProvisioningStateToUnion branch April 17, 2024 23:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants