Skip to content

Added ExpirationTime field to Role Assignment response DTO for version 2026-07-01-preview#47974

Open
denyspanov-public wants to merge 1 commit into
Azure:mainfrom
denyspanov-public:main
Open

Added ExpirationTime field to Role Assignment response DTO for version 2026-07-01-preview#47974
denyspanov-public wants to merge 1 commit into
Azure:mainfrom
denyspanov-public:main

Conversation

@denyspanov-public

Copy link
Copy Markdown
Member

Added ExpirationTime field to Role Assignment response DTO for version 2026-07-01-preview

Description

Added ExpirationTime field to Role Assignment response DTO for version 2026-07-01-preview. Link to type-spec PR - Azure/azure-rest-api-specs#44421.

All SDK Contribution checklist:

  • The pull request does not introduce [breaking changes]
  • CHANGELOG is updated for new features, bug fixes or other significant changes.
  • I have read the contribution guidelines.

General Guidelines and Best Practices

  • Title of the pull request is clear and informative.
  • There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

  • Pull request includes test coverage for the included changes.

Copilot AI review requested due to automatic review settings July 9, 2026 13:46

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR adds a new read-only expiration_time property to the RoleAssignmentProperties model in the azure-mgmt-authorization management SDK, reflecting the expirationTime field introduced in the 2026-07-01-preview API (per the linked TypeSpec spec PR). It also bumps the package to a new beta version and records the change in the changelog.

Changes:

  • Added expiration_time field (read-only, mapped to expirationTime) to RoleAssignmentProperties and exposed it via RoleAssignment.__flattened_items.
  • Bumped package version from 5.0.0b2 to 5.0.0b3.
  • Added a 5.0.0b3 (2026-07-08) changelog entry documenting the new property.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
azure/mgmt/authorization/models/_models.py Adds the expiration_time read-only field to RoleAssignmentProperties and registers it in the flattened-items list of RoleAssignment.
azure/mgmt/authorization/_version.py Bumps VERSION to 5.0.0b3.
CHANGELOG.md Adds the 5.0.0b3 (2026-07-08) release entry noting the new property.

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.

2 participants