Direct naar hoofdinhoud

Azure-abonnement

Onofficiรซle Beta-vertaling

Deze pagina is vertaald door PageTurner AI (beta). Niet officieel goedgekeurd door het project. Een fout gevonden? Probleem melden โ†’

Watโ€‹

Toont informatie over het huidige actieve Azure-abonnement.

Voorbeeldconfiguratieโ€‹

{
"type": "az",
"style": "powerline",
"powerline_symbol": "๎‚ฐ",
"foreground": "#000000",
"background": "#9ec3f0",
"template": " ๎ฏ˜ {{ .EnvironmentName }}",
"options": {
"source": "pwsh"
}
}

Optiesโ€‹

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

Template (informatie)โ€‹

standaard template
{{ .Name }}

Eigenschappenโ€‹

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