ItemDetailsQueryFilter 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 Parameters for ItemDetailsReport.
public class ItemDetailsQueryFilter : Azure.ResourceManager.CarbonOptimization.Models.CarbonEmissionQueryFilter, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.CarbonOptimization.Models.ItemDetailsQueryFilter>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.CarbonOptimization.Models.ItemDetailsQueryFilter>
type ItemDetailsQueryFilter = class
inherit CarbonEmissionQueryFilter
interface IJsonModel<ItemDetailsQueryFilter>
interface IPersistableModel<ItemDetailsQueryFilter>
Public Class ItemDetailsQueryFilter
Inherits CarbonEmissionQueryFilter
Implements IJsonModel(Of ItemDetailsQueryFilter), IPersistableModel(Of ItemDetailsQueryFilter)
- Inheritance
- Implements
Constructors
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) |
CategoryType |
Specifies the category type for detailed emissions data, such as Resource, ResourceGroup, ResourceType, Location, or Subscription. See supported types in CategoryTypeEnum. |
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) |
OrderBy |
The column name to order the results by. See supported values in OrderByColumnEnum. |
PageSize |
Number of items to return in one request, max value is 5000. |
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) |
SkipToken |
Pagination token for fetching the next page of data. This token is nullable and will be returned in the previous response if additional data pages are available. |
SortDirection |
Direction for sorting results. See supported values in SortDirectionEnum. |
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) |