external help file | Module Name | online version | schema |
---|---|---|---|
PSWattTime-help.xml |
PSWattTime |
2.0.0 |
Get a WattTime ba for a given Azure Region
ConvertFrom-AzureRegion [-Region] <String> [-AuthToken] <String> [<CommonParameters>]
Get a WattTime ba for a given Azure Region via the https://api2.watttime.org/v2/ba-from-loc endpoint
ConvertFrom-AzureRegion -Region westeurope
The Azure Region to get the WattTime ba for
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The authentication token to use for the request
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
- A ba is WattTime's term for a balancing authority. A balancing authority is a regional entity that is responsible for maintaining the balance between supply and demand of electricity in a given region. For more information, see https://www.watttime.org/faq
- This command, like the module, requires you to be connected to Azure via Connect-AzAccount
https://github.com/cloudyspells/PSWattTime/blob/main/docs/ConvertFrom-AzureRegion.md
https://github.com/cloudyspells/PSWattTime/blob/main/docs/Get-WattTimeAuthToken.md
https://www.watttime.org/api-documentation/#determine-grid-region