Rust crates for accessing Azure services. These crates are client libraries generated by AutoRust using the web service specifications. The specifications are divided into two categories - control plane and data plane. "You use the control plane to manage resources in your subscription. You use the data plane to use capabilities exposed by your instance of a resource type."
When this document was last updated, there were 202 control plane crates with 1437 tags and 38 data plane crates with 139 tags.
The control plane crates are named azure_mgmt_${servicename}
, such as azure_mgmt_storage
.
The data plane crates will be named azure_svc_${servicename}
, such as azure_svc_storage
.
There are a few examples:
- azure_mgmt_storage
- azure_mgmt_resources
- azure_mgmt_compute
- azure_mgmt_vmware
- azure_svc_batch
These services are in their own Rust workspace, so you need to change to the services
directory to run these examples.
cd azure-sdk-for-rust/services
cargo run --package azure_mgmt_storage --example storage_account_list
These crates depend on azure_core
and azure_identity
. Here is an example of adding azure_svc_batch
as a dependency.
[dependencies]
tokio = { version = "1.0", features = ["macros"] }
azure_core = "0.1"
azure_identity = "0.1"
azure_svc_batch = "0.1"