azure_rm.py 文件源码

python
阅读 16 收藏 0 点赞 0 评论 0

项目:ansible-hortonworks 作者: hortonworks 项目源码 文件源码
def main():
    if not HAS_AZURE:
        sys.exit("The Azure python sdk is not installed (try `pip install 'azure>=2.0.0rc5' --upgrade`) - {0}".format(HAS_AZURE_EXC))

    if Version(azure_compute_version) < Version(AZURE_MIN_VERSION):
        sys.exit("Expecting azure.mgmt.compute.__version__ to be {0}. Found version {1} "
                 "Do you have Azure >= 2.0.0rc5 installed? (try `pip install 'azure>=2.0.0rc5' --upgrade`)".format(AZURE_MIN_VERSION, azure_compute_version))

    AzureInventory()
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号