mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2025-03-05 20:49:04 -08:00
1 KiB
1 KiB
id | title | sidebar_label |
---|---|---|
az | Azure Subscription | Azure |
What
Display the currently active Azure subscription information.
Sample Configuration
{
"type": "az",
"style": "powerline",
"powerline_symbol": "\uE0B0",
"foreground": "#000000",
"background": "#9ec3f0",
"properties": {
"template": "{{ .EnvironmentName }}",
"prefix": " \uFD03 "
}
}
Properties
- template:
string
- A go text/template template extended with sprig utilizing the properties below - defaults to{{.Name}}
Template Properties
.EnvironmentName
:string
- the account environment name.HomeTenantID
:string
- the home tenant id.ID
:string
- the account/subscription id.IsDefault
:boolean
- is the default account or not.Name
:string
- the account name.State
:string
- the account state.TenantID
:string
- the tenant id.User.Name
:string
- the user name