golden hour
/opt/saltstack/salt/lib/python3.10/site-packages/salt/cloud/clouds/__pycache__
⬆️ Go Up
Upload
File/Folder
Size
Actions
__init__.cpython-310.pyc
171 B
Del
OK
aliyun.cpython-310.pyc
19.81 KB
Del
OK
azurearm.cpython-310.pyc
39.67 KB
Del
OK
clc.cpython-310.pyc
8.91 KB
Del
OK
cloudstack.cpython-310.pyc
10.87 KB
Del
OK
digitalocean.cpython-310.pyc
27.39 KB
Del
OK
dimensiondata.cpython-310.pyc
12.62 KB
Del
OK
ec2.cpython-310.pyc
92.28 KB
Del
OK
gce.cpython-310.pyc
48.78 KB
Del
OK
gogrid.cpython-310.pyc
11.07 KB
Del
OK
hetzner.cpython-310.pyc
11.82 KB
Del
OK
joyent.cpython-310.pyc
22.78 KB
Del
OK
libvirt.cpython-310.pyc
16.69 KB
Del
OK
linode.cpython-310.pyc
59.17 KB
Del
OK
lxc.cpython-310.pyc
10.9 KB
Del
OK
msazure.cpython-310.pyc
71.44 KB
Del
OK
oneandone.cpython-310.pyc
18.39 KB
Del
OK
opennebula.cpython-310.pyc
90.2 KB
Del
OK
openstack.cpython-310.pyc
23.53 KB
Del
OK
packet.cpython-310.pyc
12.06 KB
Del
OK
parallels.cpython-310.pyc
11.89 KB
Del
OK
profitbricks.cpython-310.pyc
25.34 KB
Del
OK
proxmox.cpython-310.pyc
27.25 KB
Del
OK
pyrax.cpython-310.pyc
2.59 KB
Del
OK
qingcloud.cpython-310.pyc
16.64 KB
Del
OK
saltify.cpython-310.pyc
11.91 KB
Del
OK
scaleway.cpython-310.pyc
9.36 KB
Del
OK
softlayer.cpython-310.pyc
13.26 KB
Del
OK
softlayer_hw.cpython-310.pyc
13.5 KB
Del
OK
tencentcloud.cpython-310.pyc
20.55 KB
Del
OK
vagrant.cpython-310.pyc
8.32 KB
Del
OK
virtualbox.cpython-310.pyc
9.57 KB
Del
OK
vmware.cpython-310.pyc
94.14 KB
Del
OK
vultrpy.cpython-310.pyc
12.8 KB
Del
OK
xen.cpython-310.pyc
25.66 KB
Del
OK
Edit: msazure.cpython-310.pyc
o �xe� � @ s& d Z ddlZddlZddlZddlZddlmZ ddlmZ ddl Z ddlZ ddlZ ddl Z ddlZ ddlmZ dZz$ddlZddlZddlZddlmZmZmZ ddlZ ddlmZ dZW n eyg Y nw d Ze�e�Zd d� Z dd � Z!dd� Z"dd� Z#e"dd� �Z$e"dd� �Z%e"dd� �Z&e"d�dd��Z'e"d�dd��Z(e"d�dd��Z)e"d�dd��Z*e"d�d d!��Z+e"d�d"d#��Z,e"d�d$d%��Z-e"d�d&d'��Z.e"d(d)� �Z/e"d�d*d+��Z0e"d�d,d+��Z0d-d.� Z1e"d�d/d0��Z2e"d�d1d2��Z3e"d�d3d4��Z4e"d�d5d6��Z5e"d�d7d8��Z6e6Z7e"d�d9d:��Z8e8Z9e"d�d;d<��Z:e"d�d=d>��Z;e"d�d?d@��Z<e"d�dAdB��Z=e"d�dCdD��Z>e"d�dEdF��Z?e"d�dGdH��Z@e"d�dIdJ��ZAe"d�dKdL��ZBe"d�dMdN��ZCeCZDe"d�dOdP��ZEe"d�dQdR��ZFe"d�dSdT��ZGe"d�dUdV��ZHe"d�dWdX��ZIeIZJe"d�dYdZ��ZKe"d�d[d\��ZLe"d�d]d^��ZMe"d�d_d`��ZNeNZOe"d�dadb��ZPe"d�dcdd��ZQe"d�dedf��ZRe"d�dgdh��ZSe"d�didj��ZTeTZUe"d�dldm��ZVe"d�dndo��ZWe"d�dpdq��ZXe"d�drds��ZYeYZZe"d�dtdu��Z[e"d�dvdw��Z\e\Z]e"d�dxdy��Z^e"d�dzd{��Z_e"d�d|d}��Z`e"d�d~d��Zae"d�d�d���Zbe"d�d�d���Zce"d�d�d���Zde"d�d�d���ZeeeZfe"d�d�d���ZgegZhe"d�d�d���Zie"d�d�d���ZjejZke"d�d�d���Zle"d�d�d���Zme"d�d�d���Zne"d�d�d���Zoe"d�d�d���ZpepZqe"d�d�d���Zre"d�d�d���ZsesZte"d�d�d���Zue"d�d�d���Zve"d�d�d���Zwe"d�d�d���ZxdS )�a� Azure Cloud Module ================== The Azure cloud module is used to control access to Microsoft Azure .. warning:: This cloud provider will be removed from Salt in version 3007 due to the deprecation of the "Classic" API for Azure. Please migrate to `Azure Resource Manager by March 1, 2023 <https://docs.microsoft.com/en-us/azure/virtual-machines/classic-vm-deprecation>`_ :depends: * `Microsoft Azure SDK for Python <https://pypi.python.org/pypi/azure/1.0.2>`_ >= 1.0.2 * python-requests, for Python < 2.7.9 :configuration: Required provider parameters: * ``apikey`` * ``certificate_path`` * ``subscription_id`` * ``backend`` A Management Certificate (.pem and .crt files) must be created and the .pem file placed on the same machine that salt-cloud is run from. Information on creating the pem file to use, and uploading the associated cer file can be found at: http://www.windowsazure.com/en-us/develop/python/how-to-guides/service-management/ For users with Python < 2.7.9, ``backend`` must currently be set to ``requests``. Example ``/etc/salt/cloud.providers`` or ``/etc/salt/cloud.providers.d/azure.conf`` configuration: .. code-block:: yaml my-azure-config: driver: azure subscription_id: 3287abc8-f98a-c678-3bde-326766fd3617 certificate_path: /etc/salt/azure.pem management_host: management.core.windows.net � N��wraps)�SaltCloudSystemExitF)�AzureConflictHttpError�AzureException�AzureMissingResourceHttpError)�object_to_dictT�azurec C s t � du rdS t� du rdS tS )z) Check for Azure configurations. F)�get_configured_provider�get_dependencies�__virtualname__� r r �M/opt/saltstack/salt/lib/python3.10/site-packages/salt/cloud/clouds/msazure.py�__virtual__W s r c C s"