Skip to content

Acr API version upgrade, support network ruleset, new cmdlets for usage/import image/login #13237

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 35 commits into from
Oct 20, 2020

Conversation

VeryEarly
Copy link
Collaborator

Description

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)
    • the markdown help files have been regenerated using the commands listed here

@VeryEarly VeryEarly changed the title Acr upgrade Acr API version upgrade, support network ruleset, new cmdlets for usage/import image/login Oct 16, 2020
yugangw-msft
yugangw-msft previously approved these changes Oct 18, 2020
@@ -104,7 +109,7 @@ public override void ExecuteCmdlet()

if (ShouldProcess(Name, "Update Container Registry"))
{
var registry = RegistryClient.UpdateRegistry(ResourceGroupName, Name, adminUserEnabled, Sku, storageAccountId, tags);
var registry = RegistryClient.UpdateRegistry(ResourceGroupName, Name, adminUserEnabled, Sku, storageAccountId, NetworkRuleSet, tags);
WriteObject(new PSContainerRegistry(registry));
}
}
Copy link
Contributor

Choose a reason for hiding this comment

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

For phase two, I suggest expose:

  • AllowPublicNetworkAccess
  • Enable/Disable data endpoint

@VeryEarly VeryEarly requested a review from isra-fel October 20, 2020 05:40
@isra-fel
Copy link
Member

LGTM

@isra-fel isra-fel merged commit c110abf into Azure:master Oct 20, 2020
@VeryEarly VeryEarly deleted the acr-upgrade branch November 10, 2020 03:37
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.

4 participants