Skip to content

Latest commit

 

History

History
 
 

services

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Azure Service Crates

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.

Control Plane Crates

The control plane crates are named azure_mgmt_${servicename}, such as azure_mgmt_storage.

Data Plane Crates

The data plane crates will be named azure_svc_${servicename}, such as azure_svc_storage.

Examples

There are a few examples:

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

Dependencies

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"