diff --git a/src/image-copy/azext_imagecopy/__init__.py b/src/image-copy/azext_imagecopy/__init__.py index 79e589c1019..9a145a44ef3 100644 --- a/src/image-copy/azext_imagecopy/__init__.py +++ b/src/image-copy/azext_imagecopy/__init__.py @@ -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" """ diff --git a/src/image-copy/setup.py b/src/image-copy/setup.py index 131d096e944..1412b91fe0b 100644 --- a/src/image-copy/setup.py +++ b/src/image-copy/setup.py @@ -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', @@ -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.', diff --git a/src/index.json b/src/index.json index 44432f0ad5a..aace38bf951 100644 --- a/src/index.json +++ b/src/index.json @@ -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": "tamir.kamara@microsoft.com", + "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" + } + } ] } } \ No newline at end of file