Skip to content

Commit 92f2a90

Browse files
committed
chore: tweaks from code review
1 parent 9831fc3 commit 92f2a90

File tree

1 file changed

+9
-22
lines changed

1 file changed

+9
-22
lines changed

provider/azure/doc.go

Lines changed: 9 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
// Copyright 2024 Canonical Ltd.
22
// Licensed under the AGPLv3, see LICENCE file for details.
33

4-
// Package azure implements the Azure provider, registered with
5-
// environs under the name "azure". The provider implements the
6-
// [github.com/juju/juju/environs.Environ] interface, which defines
4+
// Package azure implements the Azure provider, registered with the
5+
// environs registry under the name "azure". The provider implements
6+
// the [github.com/juju/juju/environs.Environ] interface, which defines
77
// methods for provisioning compute, network, and storage resources.
88
//
99
// Here we describe some key implementation details specific to the Azure provider.
@@ -12,23 +12,7 @@
1212
//
1313
// The provider implementation is built using the [Azure SDK].
1414
//
15-
// # Credential Types
16-
//
17-
// The supported credential types are:
18-
// - service-principal-secret
19-
// - managed-identity
20-
//
21-
// The recommended way to create a credential with which to bootstrap is
22-
// to run
23-
//
24-
// juju add-credential azure
25-
//
26-
// and follow the prompts. Choosing "interactive" is the best choice for
27-
// setting up a service principal credential as the browser is used to
28-
// log into an Azure account and the credential attributes are filled
29-
// in automatically.
30-
//
31-
// # Resource Groups
15+
// # Models
3216
//
3317
// All models, including the controller model, are created in a resource group.
3418
// The resource group contains all artefacts for the model, including:
@@ -47,9 +31,12 @@
4731
// After bootstrap, API clients are created for particular resource types defined in the SDK.
4832
// All API clients use the same options which define the retry and logging behaviour.
4933
//
50-
// # Availability Sets
34+
// # Resiliency
5135
//
52-
// Each application has created for it an [Azure Availability Set] named after the application.
36+
// Unlike most other providers, the Azure provider does not currently support availability zones.
37+
// Instead, each application has created for it an [Azure Availability Set] named after the application.
38+
// Availability sets are scoped to a single Azure region. They are designed to protect against failures
39+
// within that region but do not provide protection against a regional outage
5340
//
5441
// # Machine Addresses
5542
//

0 commit comments

Comments
 (0)