Sign in
apache
/
libcloud
/
3bcd60a55ab633d8c46efbf95c0fed72a486136d
/
.
/
docs
/
examples
/
compute
/
azure
/
instantiate.py
blob: ce97a9e4a1409d4d5031aff75399fe0e42f8cc58 [
file
] [
log
] [
blame
]
from
libcloud
.
compute
.
types
import
Provider
from
libcloud
.
compute
.
providers
import
get_driver
cls
=
get_driver
(
Provider
.
AZURE
)
driver
=
cls
(
subscription_id
=
'subscription-id'
,
key_file
=
'/path/to/azure_cert.pem'
)