locally regions

Preview

During Public Preview you can use the Team plan for free, and get an early-adopter discount at GA. Sign in

locally regions

This page is part of the CLI Reference and is generated from the CLI's own help output, so it matches what locally regions --help prints.

For more information see Locations & Regions.

locally regions

List Azure regions known to Locally.

Usage

locally regions [flags]
  locally regions [command]

Flags

-h, --help[=true|false]   help for regions

Subcommands

locally regions list

List all known Azure regions.

Usage

locally regions list [flags]

Flags

-h, --help[=true|false]   help for list
      --json[=true|false]   Output regions as JSON

locally regions random

Print a random region's identifier, such as london.

Print a random region's identifier, such as london.

Examples:
locally regions random
  locally deploy --location $(locally regions random) ./template.json

Usage

locally regions random [flags]

Flags

-h, --help[=true|false]   help for random
      --json[=true|false]   Output the picked region as a JSON object

locally regions status

Report the active location set for this Locally installation.

Reports which location set this installation uses and how many regions it has.

Warns when the set uses a real Azure cloud's region names, because a deployment sent to Azure instead of Locally, or the other way round, will no longer fail on an unknown location.

Usage

locally regions status [flags]

Flags

-h, --help[=true|false]   help for status
Preview

During Public Preview you can use the Team plan for free, and get an early-adopter discount at GA. Sign in

A local cloud for you and your AI agents.

Your Azure infrastructure, running on your machine. Deploy in seconds, break things freely, and ship to Azure when you're ready.