Sign in
apache
/
libcloud
/
trunk
/
.
/
docs
/
examples
/
compute
/
azure_arm
/
instantiate.py
blob: 653c6e552372fea0b5f47a1952f9453a5a1f4ead [
file
]
from
libcloud
.
compute
.
types
import
Provider
from
libcloud
.
compute
.
providers
import
get_driver
cls
=
get_driver
(
Provider
.
AZURE_ARM
)
driver
=
cls
(
tenant_id
=
"tenant_id"
,
subscription_id
=
"subscription_id"
,
key
=
"application_id"
,
secret
=
"password"
,
)