Skip to content

created subscription extensions - #1202

Merged
Zim Kalinowski (zikalino) merged 80 commits into
masterfrom
subscriptions-accounts
Apr 20, 2020
Merged

created subscription extensions#1202
Zim Kalinowski (zikalino) merged 80 commits into
masterfrom
subscriptions-accounts

Conversation

@zikalino

Copy link
Copy Markdown

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

General Guidelines

  • Have you run azdev style <YOUR_EXT> locally? (pip install azdev required)
  • Have you run python scripts/ci/test_index.py -q locally?

For new extensions:

@azuresdkci

Copy link
Copy Markdown

If this PR is for a new extension or change to an existing extension, use the following to try out the changes in this PR:

docker run -it microsoft/azure-cli:latest
export EXT=<NAME>
pip install --upgrade --target ~/.azure/cliextensions/$EXT "git+https://github.com/Azure/azure-cli-extensions.git@subscriptions-accounts#subdirectory=src/$EXT&egg=$EXT"

Comment thread src/account/azext_account/azext_metadata.json Outdated
Comment thread src/account/azext_account/generated/_help.py Outdated
Comment thread src/account/azext_account/generated/_help.py Outdated
Comment thread src/account/azext_account/generated/_help.py Outdated
Comment thread src/account/azext_account/generated/_help.py Outdated
Comment thread src/account/azext_account/generated/_help.py
examples:
- name: Enable subscription
text: |-
az account subscription enable --subscription-id "7948bcee-488c-47ce-941c-38e20ede803d"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

pls use fake subs id

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

minCliCoreVersion should also be modified to 2.3.1 to support Experimental tag.

Comment thread src/account/setup.cfg Outdated
Comment on lines 1 to 2

@fengzhou-msft Feng Zhou (fengzhou-msft) Apr 20, 2020

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

could be removed.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

entire file?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

You can keep the file for convenience of future editing.

Comment thread src/account/setup.py Outdated
Comment on lines 29 to 30

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

3.4, 3.5 could be removed.

Comment on lines 7 to 18

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Remove if not used.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

add no_wait=False

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

use sdk_no_wait.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

If the action only has one property object_id, we may pass it directly and can get rid of the action.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

yeah, that should be deleted, not used

@yonzhan

Copy link
Copy Markdown
Collaborator

subscription

@fengzhou-msft Feng Zhou (fengzhou-msft) left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@zikalino

Copy link
Copy Markdown
Author

not sure why the test fail in firewall extension now

@zikalino Zim Kalinowski (zikalino) changed the title [WIP] created subscription extensions created subscription extensions Apr 20, 2020
@zikalino
Zim Kalinowski (zikalino) merged commit 25e160b into master Apr 20, 2020
@zikalino
Zim Kalinowski (zikalino) deleted the subscriptions-accounts branch April 20, 2020 10:41
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