MonthlySummaryReportQueryFilter Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Query filter parameter to configure MonthlySummaryReport queries.
public class MonthlySummaryReportQueryFilter : Azure.ResourceManager.CarbonOptimization.Models.CarbonEmissionQueryFilter, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.CarbonOptimization.Models.MonthlySummaryReportQueryFilter>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.CarbonOptimization.Models.MonthlySummaryReportQueryFilter>
type MonthlySummaryReportQueryFilter = class
inherit CarbonEmissionQueryFilter
interface IJsonModel<MonthlySummaryReportQueryFilter>
interface IPersistableModel<MonthlySummaryReportQueryFilter>
Public Class MonthlySummaryReportQueryFilter
Inherits CarbonEmissionQueryFilter
Implements IJsonModel(Of MonthlySummaryReportQueryFilter), IPersistableModel(Of MonthlySummaryReportQueryFilter)
- Inheritance
- Implements
Constructors
MonthlySummaryReportQueryFilter(CarbonEmissionQueryDateRange, IEnumerable<String>, IEnumerable<CarbonEmissionScope>) |
Initializes a new instance of MonthlySummaryReportQueryFilter. |
Properties
CarbonScopeList |
List of carbon emission scopes. Required. Accepts one or more values from EmissionScopeEnum (e.g., Scope1, Scope2, Scope3) in list form. The output will include the total emissions for the specified scopes. (Inherited from CarbonEmissionQueryFilter) |
DateRange |
The start and end dates for carbon emissions data. Required. For ItemDetailsReport and TopItemsSummaryReport, only one month of data is supported at a time, so start and end dates should be equal within DateRange (e.g., start: 2024-06-01 and end: 2024-06-01). (Inherited from CarbonEmissionQueryFilter) |
LocationList |
List of locations(Azure Region Display Name) for carbon emissions data, with each location specified in lowercase (e.g., 'east us'). Optional. You can use the command 'az account list-locations -o table' to find Azure Region Display Names. (Inherited from CarbonEmissionQueryFilter) |
ResourceGroupUrlList |
List of resource group URLs for carbon emissions data. Optional. Each URL must follow the format '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroup}', and should be in all lowercase. (Inherited from CarbonEmissionQueryFilter) |
ResourceTypeList |
List of resource types for carbon emissions data. Optional. Each resource type should be specified in lowercase, following the format 'microsoft.{service}/{resourceType}', e.g., 'microsoft.storage/storageaccounts'. (Inherited from CarbonEmissionQueryFilter) |
SubscriptionList |
List of subscription IDs for which carbon emissions data is requested. Required. Each subscription ID should be in lowercase format. The max length of list is 100. (Inherited from CarbonEmissionQueryFilter) |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |