Skip to content

Conversation

@yugangw-msft
Copy link
Contributor

@yugangw-msft yugangw-msft commented Feb 25, 2020

On private link we use the Keyvault's pattern which is az acr private-endpoint-connection approve/delete/reject/show/list
On CMK, we use the VM's pattern az acr encryption

This PR is pending SDK release for azure-mgmt-containerregistry

History Notes:
(Fill in the following template if multiple notes are needed, otherwise PR title will be used for history note.)

[Component Name 1] (BREAKING CHANGE:) (az command:) make some customer-facing change.
[Component Name 2] (BREAKING CHANGE:) (az command:) make some customer-facing change.


This checklist is used to make sure that common guidelines for a pull request are followed.

@yugangw-msft yugangw-msft changed the title Acrm2 pl cmk ACR: private link and CMK support Feb 25, 2020
@yonzhan yonzhan requested a review from mmyyrroonn February 25, 2020 23:05
Copy link
Contributor

@mmyyrroonn mmyyrroonn left a comment

Choose a reason for hiding this comment

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

Should we have a command called az acr private-link-resource to show all available private link resources? "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateLinkResources": {

with self.command_group('acr token credential', acr_token_credential_generate_util) as g:
g.command('generate', 'acr_token_credential_generate')

with self.command_group('acr private-endpoint-connection', acr_private_endpoint_connection_util,
Copy link
Contributor

Choose a reason for hiding this comment

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

we're using command to reflect custom command. I'm fine 😄 @Juliehzl

Copy link
Contributor

Choose a reason for hiding this comment

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

Hey @myronfanqiu, I am not sure what you meant here. Please can you review / comment on #12381

WORKDIR azure-cli
COPY . /azure-cli

RUN pip install ./privates/azure_mgmt_containerregistry-3.0.0rc8-py2.py3-none-any.whl
Copy link
Contributor

Choose a reason for hiding this comment

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

well. Looks like it's just a private package.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@adewaleo, make sure revert it before merge. We must publish the SDK package beforehand

'provider_operations_metadata': '2018-01-01-preview'
}),
ResourceType.MGMT_CONTAINERREGISTRY: '2019-06-01-preview',
ResourceType.MGMT_CONTAINERREGISTRY: SDKProfile('2019-12-01-preview', {
Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The SDK publishing is pending.
I have marked this PR as "Do not merge" to prevent any incidental merge

@yugangw-msft yugangw-msft changed the title ACR: private link and CMK support [DO NOT MERGE] ACR: private link and CMK support Feb 26, 2020
@adewaleo
Copy link
Contributor

PR to finish this here: #12381

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.

5 participants