Auf Englisch lesen

Teilen über

Quickstart: Azure Cosmos DB for NoSQL and Azure SDK for Rust

This is a simple web application to illustrate common basic usage of Azure Cosmos DB for NoSQL with the Azure SDK for Rust.

Wichtig

Local development is the only supported loop in this template.

Azure SDK for Rust does not have support for user-assigned managed identity in Azure yet.

Prerequisites

Quickstart

  1. Log in to Azure Developer CLI. This is only required once per-install.

    Bash
    azd auth login
    
  2. Initialize this template (cosmos-db-nosql-rust-quickstart) using azd init

    Bash
    azd init --template cosmos-db-nosql-rust-quickstart
    
  3. Ensure that Docker is running in your environment.

  4. Use azd up to provision your Azure infrastructure and deploy the web application to Azure.

    Bash
    azd up
    
  5. Observed the deployed web application

    Screenshot of the deployed web application.