This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi
azure-native.costmanagement.getReportByResourceGroupName
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi
Gets the report for a resource group under a subscription by report name. Azure REST API version: 2018-08-01-preview.
Using getReportByResourceGroupName
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getReportByResourceGroupName(args: GetReportByResourceGroupNameArgs, opts?: InvokeOptions): Promise<GetReportByResourceGroupNameResult>
function getReportByResourceGroupNameOutput(args: GetReportByResourceGroupNameOutputArgs, opts?: InvokeOptions): Output<GetReportByResourceGroupNameResult>def get_report_by_resource_group_name(report_name: Optional[str] = None,
                                      resource_group_name: Optional[str] = None,
                                      opts: Optional[InvokeOptions] = None) -> GetReportByResourceGroupNameResult
def get_report_by_resource_group_name_output(report_name: Optional[pulumi.Input[str]] = None,
                                      resource_group_name: Optional[pulumi.Input[str]] = None,
                                      opts: Optional[InvokeOptions] = None) -> Output[GetReportByResourceGroupNameResult]func LookupReportByResourceGroupName(ctx *Context, args *LookupReportByResourceGroupNameArgs, opts ...InvokeOption) (*LookupReportByResourceGroupNameResult, error)
func LookupReportByResourceGroupNameOutput(ctx *Context, args *LookupReportByResourceGroupNameOutputArgs, opts ...InvokeOption) LookupReportByResourceGroupNameResultOutput> Note: This function is named LookupReportByResourceGroupName in the Go SDK.
public static class GetReportByResourceGroupName 
{
    public static Task<GetReportByResourceGroupNameResult> InvokeAsync(GetReportByResourceGroupNameArgs args, InvokeOptions? opts = null)
    public static Output<GetReportByResourceGroupNameResult> Invoke(GetReportByResourceGroupNameInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetReportByResourceGroupNameResult> getReportByResourceGroupName(GetReportByResourceGroupNameArgs args, InvokeOptions options)
public static Output<GetReportByResourceGroupNameResult> getReportByResourceGroupName(GetReportByResourceGroupNameArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:costmanagement:getReportByResourceGroupName
  arguments:
    # arguments dictionaryThe following arguments are supported:
- ReportName string
- Report Name.
- ResourceGroup stringName 
- Azure Resource Group Name.
- ReportName string
- Report Name.
- ResourceGroup stringName 
- Azure Resource Group Name.
- reportName String
- Report Name.
- resourceGroup StringName 
- Azure Resource Group Name.
- reportName string
- Report Name.
- resourceGroup stringName 
- Azure Resource Group Name.
- report_name str
- Report Name.
- resource_group_ strname 
- Azure Resource Group Name.
- reportName String
- Report Name.
- resourceGroup StringName 
- Azure Resource Group Name.
getReportByResourceGroupName Result
The following output properties are available:
- Definition
Pulumi.Azure Native. Cost Management. Outputs. Report Definition Response 
- Has definition for the report.
- DeliveryInfo Pulumi.Azure Native. Cost Management. Outputs. Report Delivery Info Response 
- Has delivery information for the report.
- Id string
- Resource Id.
- Name string
- Resource name.
- Dictionary<string, string>
- Resource tags.
- Type string
- Resource type.
- Format string
- The format of the report being delivered.
- Schedule
Pulumi.Azure Native. Cost Management. Outputs. Report Schedule Response 
- Has schedule information for the report.
- Definition
ReportDefinition Response 
- Has definition for the report.
- DeliveryInfo ReportDelivery Info Response 
- Has delivery information for the report.
- Id string
- Resource Id.
- Name string
- Resource name.
- map[string]string
- Resource tags.
- Type string
- Resource type.
- Format string
- The format of the report being delivered.
- Schedule
ReportSchedule Response 
- Has schedule information for the report.
- definition
ReportDefinition Response 
- Has definition for the report.
- deliveryInfo ReportDelivery Info Response 
- Has delivery information for the report.
- id String
- Resource Id.
- name String
- Resource name.
- Map<String,String>
- Resource tags.
- type String
- Resource type.
- format String
- The format of the report being delivered.
- schedule
ReportSchedule Response 
- Has schedule information for the report.
- definition
ReportDefinition Response 
- Has definition for the report.
- deliveryInfo ReportDelivery Info Response 
- Has delivery information for the report.
- id string
- Resource Id.
- name string
- Resource name.
- {[key: string]: string}
- Resource tags.
- type string
- Resource type.
- format string
- The format of the report being delivered.
- schedule
ReportSchedule Response 
- Has schedule information for the report.
- definition
ReportDefinition Response 
- Has definition for the report.
- delivery_info ReportDelivery Info Response 
- Has delivery information for the report.
- id str
- Resource Id.
- name str
- Resource name.
- Mapping[str, str]
- Resource tags.
- type str
- Resource type.
- format str
- The format of the report being delivered.
- schedule
ReportSchedule Response 
- Has schedule information for the report.
- definition Property Map
- Has definition for the report.
- deliveryInfo Property Map
- Has delivery information for the report.
- id String
- Resource Id.
- name String
- Resource name.
- Map<String>
- Resource tags.
- type String
- Resource type.
- format String
- The format of the report being delivered.
- schedule Property Map
- Has schedule information for the report.
Supporting Types
ReportAggregationResponse  
ReportComparisonExpressionResponse   
ReportDatasetConfigurationResponse   
- Columns List<string>
- Array of column names to be included in the report. Any valid report column name is allowed. If not provided, then report includes all columns.
- Columns []string
- Array of column names to be included in the report. Any valid report column name is allowed. If not provided, then report includes all columns.
- columns List<String>
- Array of column names to be included in the report. Any valid report column name is allowed. If not provided, then report includes all columns.
- columns string[]
- Array of column names to be included in the report. Any valid report column name is allowed. If not provided, then report includes all columns.
- columns Sequence[str]
- Array of column names to be included in the report. Any valid report column name is allowed. If not provided, then report includes all columns.
- columns List<String>
- Array of column names to be included in the report. Any valid report column name is allowed. If not provided, then report includes all columns.
ReportDatasetResponse  
- Aggregation
Dictionary<string, Pulumi.Azure Native. Cost Management. Inputs. Report Aggregation Response> 
- Dictionary of aggregation expression to use in the report. The key of each item in the dictionary is the alias for the aggregated column. Report can have up to 2 aggregation clauses.
- Configuration
Pulumi.Azure Native. Cost Management. Inputs. Report Dataset Configuration Response 
- Has configuration information for the data in the report. The configuration will be ignored if aggregation and grouping are provided.
- Filter
Pulumi.Azure Native. Cost Management. Inputs. Report Filter Response 
- Has filter expression to use in the report.
- Granularity string
- The granularity of rows in the report.
- Grouping
List<Pulumi.Azure Native. Cost Management. Inputs. Report Grouping Response> 
- Array of group by expression to use in the report. Report can have up to 2 group by clauses.
- Aggregation
map[string]ReportAggregation Response 
- Dictionary of aggregation expression to use in the report. The key of each item in the dictionary is the alias for the aggregated column. Report can have up to 2 aggregation clauses.
- Configuration
ReportDataset Configuration Response 
- Has configuration information for the data in the report. The configuration will be ignored if aggregation and grouping are provided.
- Filter
ReportFilter Response 
- Has filter expression to use in the report.
- Granularity string
- The granularity of rows in the report.
- Grouping
[]ReportGrouping Response 
- Array of group by expression to use in the report. Report can have up to 2 group by clauses.
- aggregation
Map<String,ReportAggregation Response> 
- Dictionary of aggregation expression to use in the report. The key of each item in the dictionary is the alias for the aggregated column. Report can have up to 2 aggregation clauses.
- configuration
ReportDataset Configuration Response 
- Has configuration information for the data in the report. The configuration will be ignored if aggregation and grouping are provided.
- filter
ReportFilter Response 
- Has filter expression to use in the report.
- granularity String
- The granularity of rows in the report.
- grouping
List<ReportGrouping Response> 
- Array of group by expression to use in the report. Report can have up to 2 group by clauses.
- aggregation
{[key: string]: ReportAggregation Response} 
- Dictionary of aggregation expression to use in the report. The key of each item in the dictionary is the alias for the aggregated column. Report can have up to 2 aggregation clauses.
- configuration
ReportDataset Configuration Response 
- Has configuration information for the data in the report. The configuration will be ignored if aggregation and grouping are provided.
- filter
ReportFilter Response 
- Has filter expression to use in the report.
- granularity string
- The granularity of rows in the report.
- grouping
ReportGrouping Response[] 
- Array of group by expression to use in the report. Report can have up to 2 group by clauses.
- aggregation
Mapping[str, ReportAggregation Response] 
- Dictionary of aggregation expression to use in the report. The key of each item in the dictionary is the alias for the aggregated column. Report can have up to 2 aggregation clauses.
- configuration
ReportDataset Configuration Response 
- Has configuration information for the data in the report. The configuration will be ignored if aggregation and grouping are provided.
- filter
ReportFilter Response 
- Has filter expression to use in the report.
- granularity str
- The granularity of rows in the report.
- grouping
Sequence[ReportGrouping Response] 
- Array of group by expression to use in the report. Report can have up to 2 group by clauses.
- aggregation Map<Property Map>
- Dictionary of aggregation expression to use in the report. The key of each item in the dictionary is the alias for the aggregated column. Report can have up to 2 aggregation clauses.
- configuration Property Map
- Has configuration information for the data in the report. The configuration will be ignored if aggregation and grouping are provided.
- filter Property Map
- Has filter expression to use in the report.
- granularity String
- The granularity of rows in the report.
- grouping List<Property Map>
- Array of group by expression to use in the report. Report can have up to 2 group by clauses.
ReportDefinitionResponse  
- Timeframe string
- The time frame for pulling data for the report. If custom, then a specific time period must be provided.
- Type string
- The type of the report.
- Dataset
Pulumi.Azure Native. Cost Management. Inputs. Report Dataset Response 
- Has definition for data in this report.
- TimePeriod Pulumi.Azure Native. Cost Management. Inputs. Report Time Period Response 
- Has time period for pulling data for the report.
- Timeframe string
- The time frame for pulling data for the report. If custom, then a specific time period must be provided.
- Type string
- The type of the report.
- Dataset
ReportDataset Response 
- Has definition for data in this report.
- TimePeriod ReportTime Period Response 
- Has time period for pulling data for the report.
- timeframe String
- The time frame for pulling data for the report. If custom, then a specific time period must be provided.
- type String
- The type of the report.
- dataset
ReportDataset Response 
- Has definition for data in this report.
- timePeriod ReportTime Period Response 
- Has time period for pulling data for the report.
- timeframe string
- The time frame for pulling data for the report. If custom, then a specific time period must be provided.
- type string
- The type of the report.
- dataset
ReportDataset Response 
- Has definition for data in this report.
- timePeriod ReportTime Period Response 
- Has time period for pulling data for the report.
- timeframe str
- The time frame for pulling data for the report. If custom, then a specific time period must be provided.
- type str
- The type of the report.
- dataset
ReportDataset Response 
- Has definition for data in this report.
- time_period ReportTime Period Response 
- Has time period for pulling data for the report.
- timeframe String
- The time frame for pulling data for the report. If custom, then a specific time period must be provided.
- type String
- The type of the report.
- dataset Property Map
- Has definition for data in this report.
- timePeriod Property Map
- Has time period for pulling data for the report.
ReportDeliveryDestinationResponse   
- Container string
- The name of the container where reports will be uploaded.
- ResourceId string
- The resource id of the storage account where reports will be delivered.
- RootFolder stringPath 
- The name of the directory where reports will be uploaded.
- Container string
- The name of the container where reports will be uploaded.
- ResourceId string
- The resource id of the storage account where reports will be delivered.
- RootFolder stringPath 
- The name of the directory where reports will be uploaded.
- container String
- The name of the container where reports will be uploaded.
- resourceId String
- The resource id of the storage account where reports will be delivered.
- rootFolder StringPath 
- The name of the directory where reports will be uploaded.
- container string
- The name of the container where reports will be uploaded.
- resourceId string
- The resource id of the storage account where reports will be delivered.
- rootFolder stringPath 
- The name of the directory where reports will be uploaded.
- container str
- The name of the container where reports will be uploaded.
- resource_id str
- The resource id of the storage account where reports will be delivered.
- root_folder_ strpath 
- The name of the directory where reports will be uploaded.
- container String
- The name of the container where reports will be uploaded.
- resourceId String
- The resource id of the storage account where reports will be delivered.
- rootFolder StringPath 
- The name of the directory where reports will be uploaded.
ReportDeliveryInfoResponse   
- Destination
Pulumi.Azure Native. Cost Management. Inputs. Report Delivery Destination Response 
- Has destination for the report being delivered.
- Destination
ReportDelivery Destination Response 
- Has destination for the report being delivered.
- destination
ReportDelivery Destination Response 
- Has destination for the report being delivered.
- destination
ReportDelivery Destination Response 
- Has destination for the report being delivered.
- destination
ReportDelivery Destination Response 
- Has destination for the report being delivered.
- destination Property Map
- Has destination for the report being delivered.
ReportFilterResponse  
- And
List<Pulumi.Azure Native. Cost Management. Inputs. Report Filter Response> 
- The logical "AND" expression. Must have at least 2 items.
- Dimension
Pulumi.Azure Native. Cost Management. Inputs. Report Comparison Expression Response 
- Has comparison expression for a dimension
- Not
Pulumi.Azure Native. Cost Management. Inputs. Report Filter Response 
- The logical "NOT" expression.
- Or
List<Pulumi.Azure Native. Cost Management. Inputs. Report Filter Response> 
- The logical "OR" expression. Must have at least 2 items.
- Tag
Pulumi.Azure Native. Cost Management. Inputs. Report Comparison Expression Response 
- Has comparison expression for a tag
- And
[]ReportFilter Response 
- The logical "AND" expression. Must have at least 2 items.
- Dimension
ReportComparison Expression Response 
- Has comparison expression for a dimension
- Not
ReportFilter Response 
- The logical "NOT" expression.
- Or
[]ReportFilter Response 
- The logical "OR" expression. Must have at least 2 items.
- Tag
ReportComparison Expression Response 
- Has comparison expression for a tag
- and
List<ReportFilter Response> 
- The logical "AND" expression. Must have at least 2 items.
- dimension
ReportComparison Expression Response 
- Has comparison expression for a dimension
- not
ReportFilter Response 
- The logical "NOT" expression.
- or
List<ReportFilter Response> 
- The logical "OR" expression. Must have at least 2 items.
- tag
ReportComparison Expression Response 
- Has comparison expression for a tag
- and
ReportFilter Response[] 
- The logical "AND" expression. Must have at least 2 items.
- dimension
ReportComparison Expression Response 
- Has comparison expression for a dimension
- not
ReportFilter Response 
- The logical "NOT" expression.
- or
ReportFilter Response[] 
- The logical "OR" expression. Must have at least 2 items.
- tag
ReportComparison Expression Response 
- Has comparison expression for a tag
- and_
Sequence[ReportFilter Response] 
- The logical "AND" expression. Must have at least 2 items.
- dimension
ReportComparison Expression Response 
- Has comparison expression for a dimension
- not_
ReportFilter Response 
- The logical "NOT" expression.
- or_
Sequence[ReportFilter Response] 
- The logical "OR" expression. Must have at least 2 items.
- tag
ReportComparison Expression Response 
- Has comparison expression for a tag
- and List<Property Map>
- The logical "AND" expression. Must have at least 2 items.
- dimension Property Map
- Has comparison expression for a dimension
- not Property Map
- The logical "NOT" expression.
- or List<Property Map>
- The logical "OR" expression. Must have at least 2 items.
- tag Property Map
- Has comparison expression for a tag
ReportGroupingResponse  
ReportRecurrencePeriodResponse   
ReportScheduleResponse  
- Recurrence string
- The schedule recurrence.
- RecurrencePeriod Pulumi.Azure Native. Cost Management. Inputs. Report Recurrence Period Response 
- Has start and end date of the recurrence. The start date must be in future. If present, the end date must be greater than start date.
- Status string
- The status of the schedule. Whether active or not. If inactive, the report's scheduled execution is paused.
- Recurrence string
- The schedule recurrence.
- RecurrencePeriod ReportRecurrence Period Response 
- Has start and end date of the recurrence. The start date must be in future. If present, the end date must be greater than start date.
- Status string
- The status of the schedule. Whether active or not. If inactive, the report's scheduled execution is paused.
- recurrence String
- The schedule recurrence.
- recurrencePeriod ReportRecurrence Period Response 
- Has start and end date of the recurrence. The start date must be in future. If present, the end date must be greater than start date.
- status String
- The status of the schedule. Whether active or not. If inactive, the report's scheduled execution is paused.
- recurrence string
- The schedule recurrence.
- recurrencePeriod ReportRecurrence Period Response 
- Has start and end date of the recurrence. The start date must be in future. If present, the end date must be greater than start date.
- status string
- The status of the schedule. Whether active or not. If inactive, the report's scheduled execution is paused.
- recurrence str
- The schedule recurrence.
- recurrence_period ReportRecurrence Period Response 
- Has start and end date of the recurrence. The start date must be in future. If present, the end date must be greater than start date.
- status str
- The status of the schedule. Whether active or not. If inactive, the report's scheduled execution is paused.
- recurrence String
- The schedule recurrence.
- recurrencePeriod Property Map
- Has start and end date of the recurrence. The start date must be in future. If present, the end date must be greater than start date.
- status String
- The status of the schedule. Whether active or not. If inactive, the report's scheduled execution is paused.
ReportTimePeriodResponse   
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi