Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
The Get-FinOpsRegion command returns an Azure region ID and name based on the specified resource location.
Syntax
Get-FinOpsRegion `
[[-ResourceLocation] <string>] `
[-RegionId <string>] `
[-RegionName <string>]
Parameters
| Name | Description | Notes |
|---|---|---|
| ResourceLocation | Optional. Resource location value from a Cost Management cost/usage details dataset. Accepts wildcards. Default = * (all). | |
| RegionId | Optional. Azure region ID (lowercase English name without spaces). Accepts wildcards. Default = * (all). | |
| RegionName | Optional. Azure region name (title case English name with spaces). Accepts wildcards. Default = * (all).IncludeResourceLocation | Optional. Indicates whether to include the ResourceLocation property in the output. Default = false. |
Examples
The following examples demonstrate how to use the Get-FinOpsRegion command to retrieve Azure region IDs and names based on different criteria.
Get a specific region
Get-FinOpsRegion -ResourceLocation "US East"
Returns the region ID and name for the East US region.
Get many regions with the original Cost Management value
Get-FinOpsRegion -RegionId "*asia*" -IncludeResourceLocation
Returns all Asia regions with the original Cost Management ResourceLocation value.
Give feedback
Let us know how we're doing with a quick review. We use these reviews to improve and expand FinOps tools and resources.
If you're looking for something specific, vote for an existing or create a new idea. Share ideas with others to get more votes. We focus on ideas with the most votes.
Related content
Related products:
Related solutions: