การฝึกอบรม
เส้นทางการเรียนรู้
Use advance techniques in canvas apps to perform custom updates and optimization - Training
Use advance techniques in canvas apps to perform custom updates and optimization
เบราว์เซอร์นี้ไม่ได้รับการสนับสนุนอีกต่อไป
อัปเกรดเป็น Microsoft Edge เพื่อใช้ประโยชน์จากคุณลักษณะล่าสุด เช่น การอัปเดตความปลอดภัยและการสนับสนุนด้านเทคนิค
Cost analysis is used to explore costs and get quick answers for things like finding the top cost contributors. Or, understanding how you're charged for the services you use. As you analyze cost, you might find specific views you want to save or share with others.
A view is a saved query in Cost Management. When you save a view, all settings in cost analysis are saved, including filters, grouping, granularity, the main chart type, and donut charts. Underlying data isn't saved. Only you can see private views, while everyone with Cost Management Reader access or greater to the scope can see shared views.
Check out the Sharing and saving views video.
After you save a view, you can share a link to it with others using the Share command. The link is specific to your current scope and view configuration. The link doesn't grant others access to the view itself, which might change over time, or the underlying data. If you don't have access to the scope, an access denied
message is shown. We recommend using the Cost Management Contributor role to allow others to save and share views with others.
You can also pin the current view to an Azure portal dashboard. Pinning only includes a snapshot of the main chart or table and doesn't update when the view is updated. A pinned dashboard isn't the same thing as a saved view.
You can save up to 100 private views across all scopes for yourself and up to 100 shared views per scope that anyone with Cost Management Reader or greater access can use.
If you need to generate a link to a view programmatically, use one of the following formats:
https://<portal-domain>/@<directory-domain>/#blade/Microsoft_Azure_CostManagement/Menu/open/costanalysis/scope/<scope-id>/view/<view-config>
https://<portal-domain>/@<directory-domain>/#blade/Microsoft_Azure_CostManagement/Menu/open/costanalysis/scope/<scope-id>/viewId/<view-id>
Use the following table for each property in the URL.
URL property | Description |
---|---|
portal-domain | Primary domain for the Azure portal. For example, portal.azure.com or portal.azure.us ). |
directory-domain | Domain used by your Microsoft Entra ID. You can also use the tenant ID. If omitted, the portal tries to use the default directory for the user that selected the link - it might differ from the scope. |
scope-id | Full Resource Manager ID for the resource group, subscription, management group, or billing account you want to view cost for. If not specified, Cost Management uses the last view the user used in the Azure portal. The value must be URL encoded. |
view-config | Encoded view configuration. See the following details. If not specified, cost analysis uses the view-id parameter. If neither are specified, cost analysis uses the built-in Accumulated cost view. |
view-id | Full Resource Manager ID for the private or shared view to load. This value must be URL encoded. If not specified, cost analysis uses the view parameter. If neither are specified, cost analysis uses the built-in Accumulated cost view. |
The view-config
parameter is an encoded version of the JSON view configuration. For more information about the view body, see the Views API reference. To learn how to build specific customizations, pin the desired view to an empty Azure portal dashboard, then download the dashboard JSON to review the JSON view configuration.
After you have the desired view configuration:
/view/
parameter.As mentioned previously, pinning a view to an Azure portal dashboard only saves the main chart or table. It's essentially a thumbnail you can select to get back to the view configuration in cost analysis. Keep in mind the dashboard tile is a copy of your view configuration – if you save a view that was previously pinned, the pinned tile doesn't update. To update the tile, pin the saved view again.
To view the dashboard after you pin it, from the Azure portal menu, select Dashboard.
For more advanced dashboard customizations, you can also export the dashboard, customize the dashboard JSON, and upload a new dashboard. Dashboard creations can include other tile sizes or names without saving new views. For more information, see Create a dashboard in the Azure portal.
When you want to share information with others that don't have access to the scope, you can download the view in PNG, Excel, and CSV formats. Then you can share it with them by email or other means. The downloaded data is a snapshot, so it isn't automatically updated.
When you download data, cost analysis includes summarized data as shown in the table. The cost by resource view includes all resource meters in addition to the resource details. If you want a download of only resources and not the nested meters, use the Resources smart view. You can access the Resources view from the Cost by resource menu at the top of the page, where you can select the Resources, Resource groups, Subscriptions, Services, or Reservations view.
If you need more advanced summaries or you're interested in raw data that wasn't summarized, schedule an export to publish raw data to a storage account on a recurring basis.
In addition to saving and opening views repeatedly or sharing them with others manually, you can also subscribe to updates or a recurring schedule to get alerted as costs change. You can also set up alerts to be shared with others who might not have direct access to costs in the portal.
หมายเหตุ
Scheduled alerts are set to your local time. However emails are sent at a fixed time in the UTC time zone. Daylight savings time isn't accounted for, which might result in a one-hour variation in your actual delivery time.
Keep in mind that if you choose to include a link to data, anyone who receives the email has access to the data included in that email. Data expires after seven days.
The following sections cover the most commonly asked questions and answers about saving and sharing customized views in Cost Management.
There could be a few reasons why you're not receiving alert emails. Try the following actions:
Reader
role assigned or Microsoft.CostManagement/scheduledActions/read
permission, if it's a custom role.microsoft-noreply@microsoft.com
.หมายเหตุ
Azure checks the permissions of the alert rule creator before sending the alert email. If your organization has a policy that prohibits permanently assigning higher privileges to users, you can use a service principal and create the alert directly using the Scheduled Actions API.
The Subscribe command is currently unavailable for two scenarios in cost analysis:
The end date can be anywhere from one day to one year from today or the start date, whichever is later. You can change or extend it to one year from the current day until the schedule expires. This limitation is in place to ensure that alert subscriptions remain relevant and accurate.
For example, if you create a scheduled alert on March 3, 2023, the end date can be any date from March 4, 2023, to March 3, 2024.
It's important to note that you can edit the end date of an existing scheduled alert at any time. If the end date is passed and you want to continue receiving the alert, you must edit the scheduled alert with a future end date.
You can choose when emails arrive by setting the Frequency to Custom. You should receive the email before that time or within an hour of that time. If there are unforeseen issues, emails could be delayed for up to a day.
Although the configuration of scheduled alerts considers your local time, the actual sending of emails happens at the same time in the UTC time zone. The time conversion doesn't account for daylight savings time. It might result in a one-hour variation in your actual delivery time.
If you selected Add a CSV download link when creating the alert rule, you receive a CSV download link with the email. The download link expires the same day it gets issued. Ensure that you download your data as soon as you receive the email to avoid any inconvenience.
The downloaded file might only contain data for a few days due to a design that allows a maximum of 15,000 records for CSV files in the download experience. If there's a large volume of data being requested, you might see incomplete data in the downloaded file. For example, such as at the billing account scope at the resource level for an entire month. In such cases, we recommend creating an export for the same scope. This process allows you to retrieve all the data without encountering the record limit. For more information about how to create an export, see Create export.
To ensure optimal performance, Azure processes up to 200,000 rows when generating the image. It can cause the image to not match the Azure portal if there are more than 200,000 rows. In such cases, if the image in the email appears to stop midway through the month, we recommend visiting the Cost Analysis to view the complete data.
การฝึกอบรม
เส้นทางการเรียนรู้
Use advance techniques in canvas apps to perform custom updates and optimization - Training
Use advance techniques in canvas apps to perform custom updates and optimization
เอกสาร
Usos comuns da análise de custos no Gerenciamento de Custos - Microsoft Cost Management
Este artigo explica como você pode obter resultados para tarefas comuns de análise de custos no Gerenciamento de custos.
Guia de início rápido - Comece a usar a análise de custos - Microsoft Cost Management
Este guia de início rápido ajuda-o a utilizar a análise de custos para explorar e analisar os custos da sua organização associados ao Azure.
Personalizar visualizações na análise de custos - Microsoft Cost Management
Este artigo ajuda você a personalizar exibições na análise de custos para entender como você está sendo cobrado e investigar alterações inesperadas.