-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge Knack-based extensions with updated index (#28)
* Ignore SDK models/operations and KnackConversion testsdk (#22) * Ignore SDK models/operations and KnackConversion testsdk * Install from KnackConversion branch * Fix new pylint * Ignore knack and other azure.cli modules from pylint import errors (#23) * Ignore _management_client.py from SDK also (#25) * Image-copy: knack conversion (#26) * knack conversion * fixing some lint warnings * fix number displayed in progress reporting * fix more lint issues * fix mroe lint issues * image-copy: fix lint issue * Update IoT Extension index data for new release. (#27) * Update IoT Extension index data for new release. * Tweak dependency format. * minCLiVersion->minCliCoreVersion * Checksum must be lowercase. * Update minCliCoreVersion. * Add new hash. * image copy: add version 0.0.4 back to index (#29) * image copy: add version 0.0.4 back to index * image copy: fix json object
- Loading branch information
1 parent
9e6b525
commit 76a4dad
Showing
13 changed files
with
277 additions
and
172 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# -------------------------------------------------------------------------------------------- | ||
# Copyright (c) Microsoft Corporation. All rights reserved. | ||
# Licensed under the MIT License. See License.txt in the project root for license information. | ||
# -------------------------------------------------------------------------------------------- | ||
|
||
from knack.help_files import helps | ||
|
||
|
||
helps['image copy'] = """ | ||
type: command | ||
short-summary: Copy a managed image (or vm) to other regions | ||
long-summary: > | ||
Allows to copy a managed image (or vm) to other regions. | ||
Keep in mind that it requires the source disk to be available. | ||
examples: | ||
- name: Copy an image to several regions and cleanup at the end. | ||
text: > | ||
az image copy --source-resource-group mySources-rg --source-object-name myImage \\ | ||
--target-location uksouth northeurope --target-resource-group "images-repo-rg" --cleanup | ||
- name: Use an already generalized vm to create images in other regions. | ||
text: > | ||
az image copy --source-resource-group mySources-rg --source-object-name myVm \\ | ||
--source-type vm --target-location uksouth northeurope --target-resource-group "images-repo-rg" | ||
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
{ | ||
"azext.minCliCoreVersion": "2.0.24" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.