mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-11-10 13:04:04 -08:00
1.3 KiB
1.3 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",
"template": " \uFD03 {{ .EnvironmentName }}"
}
Properties
- source:
string
- where to fetch the information from - defaults tofirst_match
first_match
: try the CLI config first, then the PowerShell module. The first to resolve is displayedcli
: fetch the information from the CLI configpwsh
: fetch the information from the PowerShell Module config
Template (info)
:::note default template
{{ .Name }}
:::
Properties
.EnvironmentName
:string
- account environment name.HomeTenantID
:string
- home tenant id.ID
:string
- account/subscription id.IsDefault
:boolean
- is the default account or not.Name
:string
- account name.State
:string
- account state.TenantID
:string
- tenant id.User.Name
:string
- user name.User.Type
:string
- user type.Origin
:string
- where we received the information from, can beCLI
orPWSH