Skip to content

Feature: Parameter for Azure paired regions #4

@webtonize

Description

@webtonize

🚀 Feature Request

Is your feature request related to a problem? Please describe.

  • When doing resource deployments making use of Azure's paired regions, I want to know which combinations of paired regions have the best carbon emissions.

Describe the solution you'd like

  • When I supply a list of regions, I would like a switch parameter to indicate I want the function to also lookup the paired region for each supplied region and combine those emissions to find the best pair
  • A nice to have would be to supply some factor number in the equation with the main and paired region. Often the paired region will contain less resources or have less active use than the main region, so counting it's emissions equally might not be the best solution in all cases.

Describe alternatives you've considered

  • Writing the solution for this issue outside the module. The use case seems pretty common, so worthwhile adopting it in PSWattTime itself.

Additional context

  • This should use the Paired Region info in the output of the Get-AzLocation command of the Az.Resources Module already used in the module

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions