Skip to content
9 changes: 9 additions & 0 deletions src/image-copy/azext_imagecopy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,15 @@
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"
"""


Expand Down
4 changes: 2 additions & 2 deletions src/image-copy/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from codecs import open
from setuptools import setup, find_packages

VERSION = "0.0.3"
VERSION = "0.0.4"

CLASSIFIERS = [
'Development Status :: 4 - Beta',
Expand All @@ -27,7 +27,7 @@
DEPENDENCIES = []

setup(
name='imagecopyextension',
name='image-copy-extension',
version=VERSION,
description='An Azure CLI Extension that copies images from region to region.',
long_description='An Azure CLI Extension that copies images from region to region.',
Expand Down
45 changes: 45 additions & 0 deletions src/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,51 @@
"version": "0.1.1"
}
}
],
"image_copy_extension": [
{
"filename": "image_copy_extension-0.0.4-py2.py3-none-any.whl",
"sha256Digest": "47d0f4293e833bb16bac1abbc63f7946dd87ac8db40378a230ec376d1f128fd3",
"downloadUrl": "https://files.pythonhosted.org/packages/c3/60/723ad5e968d042d9d4564af420626b661e8cde0820b6dc90f8933e6059bf/image_copy_extension-0.0.4-py2.py3-none-any.whl",
"metadata": {
"classifiers": [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"License :: OSI Approved :: MIT License"
],
"extensions": {
"python.details": {
"contacts": [
{
"email": "[email protected]",
"name": "Tamir Kamara",
"role": "author"
}
],
"document_names": {
"description": "DESCRIPTION.rst"
},
"project_urls": {
"Home": "https://github.com/Azure/azure-cli-extensions"
}
}
},
"generator": "bdist_wheel (0.30.0)",
"license": "MIT",
"metadata_version": "2.0",
"name": "image-copy-extension",
"summary": "An Azure CLI Extension that copies images from region to region.",
"version": "0.0.4"
}
}
]
}
}