Skip to content
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

[Communication] 0.1.0 Init #2619

Merged
merged 15 commits into from
Nov 18, 2020
Merged

Conversation

haroldrandom
Copy link
Contributor

Close https://github.com/Azure/azure-cli-pr/issues/99


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:

About Extension Publish

There is a pipeline to automatically build, upload and publish extension wheels.
Once your PR is merged into master branch, a new PR will be created to update src/index.json automatically.
The precondition is to put your code inside this repo and upgrade the version in the PR but do not modify src/index.json.

@haroldrandom haroldrandom added this to the S178 milestone Nov 4, 2020
@haroldrandom haroldrandom self-assigned this Nov 4, 2020
@haroldrandom haroldrandom changed the title [Spool Communication] 1.0.0 Init [Communication] 1.0.0 Init Nov 4, 2020
@yonzhan
Copy link
Collaborator

yonzhan commented Nov 4, 2020

Communication

@yonzhan yonzhan requested review from kairu-ms and jsntcy November 4, 2020 11:15
@haroldrandom haroldrandom changed the title [Communication] 1.0.0 Init [Communication] 0.1.0 Init Nov 5, 2020
@haroldrandom haroldrandom marked this pull request as ready for review November 5, 2020 09:45
az communication communication-service create --name "MyCommunicationResource" --location "Global" \
--data-location "United States" --resource-group "MyResourceGroup"

az communication communication-service wait --created --name "{myCommunicationService}" --resource-group "{rg}"
Copy link
Contributor

Choose a reason for hiding this comment

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

If you want to show wait command usage here, please add --no wait in create command.

Comment on lines 79 to 96
helps['communication service list-key'] = """
type: command
short-summary: "Get the access keys of the CommunicationService resource."
examples:
- name: List keys
text: |-
az communication service list-key --name "MyCommunicationResource" --resource-group "MyResourceGroup"
"""

helps['communication service regenerate-key'] = """
type: command
short-summary: "Regenerate CommunicationService access key. PrimaryKey and SecondaryKey cannot be regenerated at \
the same time."
examples:
- name: Regenerate key
text: |-
az communication service regenerate-key --name "MyCommunicationResource" --key-type "Primary" \
--resource-group "MyResourceGroup"
Copy link
Contributor

Choose a reason for hiding this comment

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

what about adding these commands in one new command group like az storage account keys?

@yonzhan yonzhan requested a review from evelyn-ys November 12, 2020 10:22
@haroldrandom haroldrandom merged commit 55349b3 into Azure:master Nov 18, 2020
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.

3 participants