{ "info": { "author": "", "author_email": "", "bugtrack_url": null, "classifiers": [ "Topic :: System :: Distributed Computing", "Topic :: System :: Systems Administration" ], "description": "# Cloud Custodian - Azure Support\n\nThis a plugin to Cloud Custodian that adds Azure support.\n\n## Install Cloud Custodian and Azure Plugin\n\nThe Azure provider must be installed as a separate package in addition to c7n. \n\n $ git clone https://github.com/cloud-custodian/cloud-custodian.git\n $ virtualenv custodian\n $ source custodian/bin/activate\n (custodian) $ pip install -e cloud-custodian/.\n (custodian) $ pip install -e cloud-custodian/tools/c7n_azure/.\n\n\n## Write your first policy\n\nA policy specifies the following items:\n\n- The type of resource to run the policy against\n- Filters to narrow down the set of resources\n- Actions to take on the filtered set of resources\n\nFor this tutorial we will add a tag to all virtual machines with the name \"Hello\" and the value \"World\".\n\nCreate a file named ``custodian.yml`` with this content:\n\n policies:\n - name: my-first-policy\n description: |\n Adds a tag to all virtual machines\n resource: azure.vm\n actions:\n - type: tag\n tag: Hello\n value: World\n\n## Run your policy\n\nFirst, choose one of the supported authentication mechanisms and either log in to Azure CLI or set\nenvironment variables as documented in [Authentication](https://cloudcustodian.io/docs/azure/authentication.html#azure-authentication).\n\n custodian run --output-dir=. custodian.yml\n\n\nIf successful, you should see output similar to the following on the command line\n\n 2016-12-20 08:35:06,133: custodian.policy:INFO Running policy my-first-policy resource: azure.vm\n 2016-12-20 08:35:07,514: custodian.policy:INFO policy: my-first-policy resource:azure.vm has count:1 time:1.38\n 2016-12-20 08:35:08,188: custodian.policy:INFO policy: my-first-policy action: tag: 1 execution_time: 0.67\n\n\nYou should also find a new ``my-first-policy`` directory with a log and other\nfiles (subsequent runs will append to the log by default rather than\noverwriting it). \n\n## Links\n- [Getting Started](https://cloudcustodian.io/docs/azure/gettingstarted.html)\n- [Example Scenarios](https://cloudcustodian.io/docs/azure/examples/index.html)\n- [Example Policies](https://cloudcustodian.io/docs/azure/policy/index.html)", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/cloud-custodian/cloud-custodian", "keywords": "", "license": "Apache-2.0", "maintainer": "", "maintainer_email": "", "name": "c7n-azure", "package_url": "https://pypi.org/project/c7n-azure/", "platform": "", "project_url": "https://pypi.org/project/c7n-azure/", "project_urls": { "Homepage": "https://github.com/cloud-custodian/cloud-custodian" }, "release_url": "https://pypi.org/project/c7n-azure/0.6.1/", "requires_dist": null, "requires_python": ">=3.6", "summary": "Cloud Custodian - Azure Support", "version": "0.6.1" }, "last_serial": 5958048, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "efeb1394b43aada91c8d6191a859f30c", "sha256": "264db7173997a82daa3bb7a857256ce2a53b25264170068fb03f909d1cb5b7b3" }, "downloads": -1, "filename": "c7n_azure-0.1.tar.gz", "has_sig": false, "md5_digest": "efeb1394b43aada91c8d6191a859f30c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14630, "upload_time": "2018-06-11T14:30:50", "url": "https://files.pythonhosted.org/packages/6e/dc/22d263361253a8e80e5c874a1b1037939b926ae5f4abf2dd5bd880523194/c7n_azure-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "daf4887082e236508e299e209a8e6c4d", "sha256": "7fc3cd70b51fa0b146f7f8f5d341efec6ebb433a9d8b180935d8f5d57d76a423" }, "downloads": -1, "filename": "c7n_azure-0.2.tar.gz", "has_sig": false, "md5_digest": "daf4887082e236508e299e209a8e6c4d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 29824, "upload_time": "2018-08-12T18:20:30", "url": "https://files.pythonhosted.org/packages/55/b2/4148bc20c914aa9c66b09a0626b61b3b6fa397fb7c6fe4ab9cc7ddc56a9f/c7n_azure-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "f35ca37bbea5c72be8a08756dd30f078", "sha256": "71795f42108a5c2e541e259eec7bedbc858313e03e6d85a7b477d7f547ac84c5" }, "downloads": -1, "filename": "c7n_azure-0.3.tar.gz", "has_sig": false, "md5_digest": "f35ca37bbea5c72be8a08756dd30f078", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 42062, "upload_time": "2018-11-14T09:27:51", "url": "https://files.pythonhosted.org/packages/ef/f6/a862a7476ecf991b4218d013b9b0d8f1f33f44b9f6d684c7630feb9e0209/c7n_azure-0.3.tar.gz" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "2a23942234de89f9c43e030f8fa3ee8b", "sha256": "773462c38eb14db588d1f16d6314c173cc9c8e67259c9913b574bbfbaacdff75" }, "downloads": -1, "filename": "c7n_azure-0.4.tar.gz", "has_sig": false, "md5_digest": "2a23942234de89f9c43e030f8fa3ee8b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 43446, "upload_time": "2019-01-04T11:07:26", "url": "https://files.pythonhosted.org/packages/c7/28/e5420518f3cbefc4b8f78e957c13542c576e8c30c17180df415e363dd5a1/c7n_azure-0.4.tar.gz" } ], "0.5": [ { "comment_text": "", "digests": { "md5": "9e23b714109d8a4a283bf4362da6c5b0", "sha256": "c4ff3a90df4c727d49c456f6e80415b0d469efc2d7b553ec3a0dc306403a14e5" }, "downloads": -1, "filename": "c7n_azure-0.5.tar.gz", "has_sig": false, "md5_digest": "9e23b714109d8a4a283bf4362da6c5b0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 45995, "upload_time": "2019-01-31T20:47:08", "url": "https://files.pythonhosted.org/packages/1a/4d/586f871fbf00969bc67515bf2b9f9d1f0d1bb0a30eb60757beb33f8af41c/c7n_azure-0.5.tar.gz" } ], "0.5.1": [ { "comment_text": "", "digests": { "md5": "24bc744d4f3be2139ef998523ef799e8", "sha256": "1db9d36acd9af6ebae42a26810b7fa29a2d8baec9f120402184a2cf5e439090c" }, "downloads": -1, "filename": "c7n_azure-0.5.1.tar.gz", "has_sig": false, "md5_digest": "24bc744d4f3be2139ef998523ef799e8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 46306, "upload_time": "2019-03-13T12:11:14", "url": "https://files.pythonhosted.org/packages/21/5d/214427ed3856f74f53e4e826a9e9f6e10879daf29cc13ea2301162683547/c7n_azure-0.5.1.tar.gz" } ], "0.5.2": [ { "comment_text": "", "digests": { "md5": "e18c176c3bcd19c5fdf97676f3f9473e", "sha256": "1ad3e940269fb9ad79cb77902274422457fb4c53d844417a67a63001fdd51d54" }, "downloads": -1, "filename": "c7n_azure-0.5.2.tar.gz", "has_sig": false, "md5_digest": "e18c176c3bcd19c5fdf97676f3f9473e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 44938, "upload_time": "2019-03-20T02:01:46", "url": "https://files.pythonhosted.org/packages/19/04/f7efb965081425cd806ae1c71be5a52ea99724855f86f2ea50d2896c947d/c7n_azure-0.5.2.tar.gz" } ], "0.5.3": [ { "comment_text": "", "digests": { "md5": "32363ab635c93802f941931b3ca442cd", "sha256": "f79ca1194515391fca8a78c366032f3d2ef059af5004bd7508407314918ca9c7" }, "downloads": -1, "filename": "c7n_azure-0.5.3.tar.gz", "has_sig": false, "md5_digest": "32363ab635c93802f941931b3ca442cd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2617582, "upload_time": "2019-03-20T03:21:11", "url": "https://files.pythonhosted.org/packages/da/ce/79cfa94601f89553a210b56cf53c6bf5dbccf453701f21e51ba4f980d11d/c7n_azure-0.5.3.tar.gz" } ], "0.5.4": [ { "comment_text": "", "digests": { "md5": "07c798e2838a430640087279cc2c8f41", "sha256": "c30351062a6a0b3433c00855564fc54d14f6ec3cb8f81fd367a7f54e7466e47f" }, "downloads": -1, "filename": "c7n_azure-0.5.4.tar.gz", "has_sig": false, "md5_digest": "07c798e2838a430640087279cc2c8f41", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 57828, "upload_time": "2019-06-18T16:31:01", "url": "https://files.pythonhosted.org/packages/f3/e1/4594b0874b7d000df6ed10f387a5710e6fc68b0299513db183ec8cbfdf00/c7n_azure-0.5.4.tar.gz" } ], "0.5.5": [ { "comment_text": "", "digests": { "md5": "8957822cd43c53d62a9f8054dd006ea5", "sha256": "08ed48b6b3da5f731f992a3abbf548ba26b745da69c18bd5c34aaaae66788259" }, "downloads": -1, "filename": "c7n_azure-0.5.5.tar.gz", "has_sig": false, "md5_digest": "8957822cd43c53d62a9f8054dd006ea5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 62656, "upload_time": "2019-06-28T20:34:16", "url": "https://files.pythonhosted.org/packages/ce/9a/ebbf206675ac4cc389df04287fd30d8c2455c4832412ae2b69a91f9bcd18/c7n_azure-0.5.5.tar.gz" } ], "0.6.0": [ { "comment_text": "", "digests": { "md5": "67f6002a04211b5fc1c5ddb37130792a", "sha256": "9c303eefcd2eef719c700dc0c4db3ebf4a695e14ffac6bbc26cb7553df229b8f" }, "downloads": -1, "filename": "c7n_azure-0.6.0.tar.gz", "has_sig": false, "md5_digest": "67f6002a04211b5fc1c5ddb37130792a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 95838, "upload_time": "2019-09-23T22:34:09", "url": "https://files.pythonhosted.org/packages/8f/b7/6a6f23a81d9cff7708c95d9aaface0beb6f25f5b3bbb4a3ea37fd38424e2/c7n_azure-0.6.0.tar.gz" } ], "0.6.1": [ { "comment_text": "", "digests": { "md5": "fdd09e82d355f7510dff963f4711da30", "sha256": "c228358bcb678e332bc418771f520b370bfd44c0887ce8b02044f349b1ba0235" }, "downloads": -1, "filename": "c7n_azure-0.6.1.tar.gz", "has_sig": false, "md5_digest": "fdd09e82d355f7510dff963f4711da30", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 164642, "upload_time": "2019-10-11T02:32:28", "url": "https://files.pythonhosted.org/packages/da/39/b0086a16f710fe05f7bf0d72453bf00ad500feb5a181fb262caf52fbcfec/c7n_azure-0.6.1.tar.gz" } ], "0.6.1rc1": [ { "comment_text": "", "digests": { "md5": "1f6523f3fa4ce30e7009a447abfe06f3", "sha256": "becb93510169666a8d118ce3f9b0c0d8358f2a317c19c71b46565cbbf89ebffc" }, "downloads": -1, "filename": "c7n_azure-0.6.1rc1.tar.gz", "has_sig": false, "md5_digest": "1f6523f3fa4ce30e7009a447abfe06f3", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 164641, "upload_time": "2019-10-10T19:47:30", "url": "https://files.pythonhosted.org/packages/8e/3a/15c9839c348ffc5d5ad704c378fec78231944871b4c3efed2de72afd2ee1/c7n_azure-0.6.1rc1.tar.gz" } ], "0.6.1rc2": [ { "comment_text": "", "digests": { "md5": "73a54311f2bc2b30f4a602b3dd382eee", "sha256": "e808c1f21ad1833e742a2a71847e2b92d40bd51c51d382c3bc025a73c1dc99da" }, "downloads": -1, "filename": "c7n_azure-0.6.1rc2.tar.gz", "has_sig": false, "md5_digest": "73a54311f2bc2b30f4a602b3dd382eee", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 164645, "upload_time": "2019-10-11T02:28:11", "url": "https://files.pythonhosted.org/packages/d5/ff/ab43167483b43b4885ffa6e93ce5a141f1b9b10e91d32060783618c3b59b/c7n_azure-0.6.1rc2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "fdd09e82d355f7510dff963f4711da30", "sha256": "c228358bcb678e332bc418771f520b370bfd44c0887ce8b02044f349b1ba0235" }, "downloads": -1, "filename": "c7n_azure-0.6.1.tar.gz", "has_sig": false, "md5_digest": "fdd09e82d355f7510dff963f4711da30", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 164642, "upload_time": "2019-10-11T02:32:28", "url": "https://files.pythonhosted.org/packages/da/39/b0086a16f710fe05f7bf0d72453bf00ad500feb5a181fb262caf52fbcfec/c7n_azure-0.6.1.tar.gz" } ] }