Aller au contenu principal

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

{
"type": "az",
"style": "powerline",
"powerline_symbol": "",
"foreground": "#000000",
"background": "#9ec3f0",
"template": "  {{ .EnvironmentName }}",
"options": {
"source": "pwsh"
}
}

Options

NameTypeDefaultDescription
sourcestringcli|pwshsources to get subscription information from. Can be any of the following values, joined by | to loop multiple sources for context.
  • cli: fetch the information from the CLI config
  • pwsh: fetch the information from the PowerShell Module config

Modèle (info)

modèle par défaut
{{ .Name }}

Propriétés

NameTypeDescription
.EnvironmentNamestringAzure environment name
.HomeTenantIDstringhome tenant id
.IDstringsubscription id
.IsDefaultbooleanis the default subscription or not
.Namestringsubscription name
.Statestringsubscription state
.TenantIDstringtenant id
.TenantDisplayNamestringtenant name
.User.Namestringuser name
.User.Typestringuser type
.Originstringwhere we received the information from, can be CLI or PWSH