Abonnement Azure
Traduction Bêta Non Officielle
Cette page a été traduite par PageTurner AI (bêta). Non approuvée officiellement par le projet. Vous avez trouvé une erreur ? Signaler un problème →
Description
Afficher les informations de l'abonnement Azure actuellement actif.
Exemple de configuration
- json
- yaml
- toml
{
"type": "az",
"style": "powerline",
"powerline_symbol": "",
"foreground": "#000000",
"background": "#9ec3f0",
"template": " {{ .EnvironmentName }}",
"options": {
"source": "pwsh"
}
}
type: az
style: powerline
powerline_symbol:
foreground: "#000000"
background: "#9ec3f0"
template: " {{ .EnvironmentName }}"
options:
source: pwsh
type = "az"
style = "powerline"
powerline_symbol = ""
foreground = "#000000"
background = "#9ec3f0"
template = " {{ .EnvironmentName }}"
[options]
source = "pwsh"
Options
| Name | Type | Default | Description |
|---|---|---|---|
source | string | cli|pwsh | sources to get subscription information from. Can be any of the following values, joined by | to loop multiple sources for context.
|
Modèle (info)
modèle par défaut
{{ .Name }}
Propriétés
| Name | Type | Description |
|---|---|---|
.EnvironmentName | string | Azure environment name |
.HomeTenantID | string | home tenant id |
.ID | string | subscription id |
.IsDefault | boolean | is the default subscription or not |
.Name | string | subscription name |
.State | string | subscription state |
.TenantID | string | tenant id |
.TenantDisplayName | string | tenant name |
.User.Name | string | user name |
.User.Type | string | user type |
.Origin | string | where we received the information from, can be CLI or PWSH |