Skip to content

Microsoft.Azure.Management.Websites SDK upgrade to 3.1.2 #16344

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

Merged
merged 17 commits into from
Dec 1, 2021
Merged

Microsoft.Azure.Management.Websites SDK upgrade to 3.1.2 #16344

merged 17 commits into from
Dec 1, 2021

Conversation

Kotasudhakarreddy
Copy link
Contributor

Description

Microsoft.Azure.Management.Websites SDK upgrade to 3.1.2

Checklist

  • I have read the Submitting Changes section of CONTRIBUTING.md
  • The title of the PR is clear and informative
  • The appropriate ChangeLog.md file(s) has been updated:
    • For any service, the ChangeLog.md file can be found at src/{{SERVICE}}/{{SERVICE}}/ChangeLog.md
    • A snippet outlining the change(s) made in the PR should be written under the ## Upcoming Release header -- no new version header should be added
  • The PR does not introduce breaking changes
  • If applicable, the changes made in the PR have proper test coverage
  • For public API changes to cmdlets:
    • a cmdlet design review was approved for the changes in this repository (Microsoft internal only)
      • {Please put the link here}
    • the markdown help files have been regenerated using the commands listed here

@isra-fel isra-fel self-assigned this Nov 9, 2021
Copy link
Member

@isra-fel isra-fel left a comment

Choose a reason for hiding this comment

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

And don't forget to update the changelog :)

@@ -0,0 +1,2 @@
"AssemblyFileName","ClassName","Target","Severity","ProblemId","Description","Remediation"
"Az.Websites","Microsoft.Azure.Commands.WebApps.Cmdlets.WebApps.EditAzureWebAppBackupConfiguration","Edit-AzWebAppBackupConfiguration","0","3030","The generic type for 'property UserAssignedIdentities' has been changed from 'System.Collections.Generic.IDictionary`2[System.String,Microsoft.Azure.Management.WebSites.Models.ManagedServiceIdentityUserAssignedIdentitiesValue]' to 'System.Collections.Generic.IDictionary`2[System.String,Microsoft.Azure.Management.WebSites.Models.UserAssignedIdentity]'. ","Change the generic type for 'property UserAssignedIdentities' back to 'System.Collections.Generic.IDictionary`2[System.String,Microsoft.Azure.Management.WebSites.Models.ManagedServiceIdentityUserAssignedIdentitiesValue]'."
Copy link
Member

Choose a reason for hiding this comment

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

Instead of suppressing every breaking change, we should consider how it's gonna affect our customers; is there a way to mitigate?

Copy link
Member

Choose a reason for hiding this comment

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

Is this breaking change what you would expect? If so, please fill in the following table, so that we can compose a migration guide for our customer:

cmdlet breaking change old usage new usage

Copy link
Contributor Author

Choose a reason for hiding this comment

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

<style> </style>
cmdlet breaking change old usage new usage
Edit-AzWebAppBackupConfiguration The generic type for 'property UserAssignedIdentities' has been changed from 'System.Collections.Generic.IDictionary2[System.String,Microsoft.Azure.Management.WebSites.Models.ManagedServiceIdentityUserAssignedIdentitiesValue]' to 'System.Collections.Generic.IDictionary2[System.String,Microsoft.Azure.Management.WebSites.Models.UserAssignedIdentity]'. Edit-AzWebAppBackupConfiguration -FrequencyInterval -FrequencyUnit -KeepAtLeastOneBackup -Name IpRule -ResourceGroupName MyResourceGroup -RetentionPeriodInDays -StartTime 2016-11-30T22:00:00Z -StorageAccountUrl 'https://storageaccount.file.core.windows.net' No change in customer usage. Same as old.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Added

@isra-fel
Copy link
Member

/azp run

@azure-pipelines
Copy link
Contributor

Azure Pipelines successfully started running 3 pipeline(s).

@Kotasudhakarreddy
Copy link
Contributor Author

@isra-fel - except the build fail please review for rest of the tings.

@@ -0,0 +1,2 @@
"AssemblyFileName","ClassName","Target","Severity","ProblemId","Description","Remediation"
"Az.Websites","Microsoft.Azure.Commands.WebApps.Cmdlets.WebApps.EditAzureWebAppBackupConfiguration","Edit-AzWebAppBackupConfiguration","0","3030","The generic type for 'property UserAssignedIdentities' has been changed from 'System.Collections.Generic.IDictionary`2[System.String,Microsoft.Azure.Management.WebSites.Models.ManagedServiceIdentityUserAssignedIdentitiesValue]' to 'System.Collections.Generic.IDictionary`2[System.String,Microsoft.Azure.Management.WebSites.Models.UserAssignedIdentity]'. ","Change the generic type for 'property UserAssignedIdentities' back to 'System.Collections.Generic.IDictionary`2[System.String,Microsoft.Azure.Management.WebSites.Models.ManagedServiceIdentityUserAssignedIdentitiesValue]'."
Copy link
Member

Choose a reason for hiding this comment

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

Is this breaking change what you would expect? If so, please fill in the following table, so that we can compose a migration guide for our customer:

cmdlet breaking change old usage new usage

@Kotasudhakarreddy
Copy link
Contributor Author

@isra-fel Made the changes as suggested. Please take a review.

@isra-fel isra-fel changed the base branch from main to release-2021-12-07 November 30, 2021 08:57
@isra-fel
Copy link
Member

Changed base branch to release-2021-12-07 as we have begun the release process

@isra-fel
Copy link
Member

Except for the tests, other changes look good to me

@Kotasudhakarreddy
Copy link
Contributor Author

Except for the tests, other changes look good to me

Tests are passed. please review.

@isra-fel
Copy link
Member

isra-fel commented Dec 1, 2021

/azp run azure-powershell - security-tools

@azure-pipelines
Copy link
Contributor

Azure Pipelines successfully started running 1 pipeline(s).

@isra-fel isra-fel self-assigned this Dec 1, 2021
@isra-fel isra-fel merged commit cdd613e into Azure:release-2021-12-07 Dec 1, 2021
@isra-fel isra-fel added the Breaking Change Release This PR contains breaking change label Dec 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Breaking Change Release This PR contains breaking change Waiting for CI :shipit:
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants