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.63.0 published on Tuesday, Sep 24, 2024 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.63.0 published on Tuesday, Sep 24, 2024 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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:costmanagement:getReportByResourceGroupName
arguments:
# arguments dictionary
The following arguments are supported:
- Report
Name string - Report Name.
- Resource
Group stringName - Azure Resource Group Name.
- Report
Name string - Report Name.
- Resource
Group stringName - Azure Resource Group Name.
- report
Name String - Report Name.
- resource
Group StringName - Azure Resource Group Name.
- report
Name string - Report Name.
- resource
Group stringName - Azure Resource Group Name.
- report_
name str - Report Name.
- resource_
group_ strname - Azure Resource Group Name.
- report
Name String - Report Name.
- resource
Group 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.
- Delivery
Info 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
Report
Definition Response - Has definition for the report.
- Delivery
Info 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
Report
Schedule Response - Has schedule information for the report.
- definition
Report
Definition Response - Has definition for the report.
- delivery
Info 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
Report
Schedule Response - Has schedule information for the report.
- definition
Report
Definition Response - Has definition for the report.
- delivery
Info 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
Report
Schedule Response - Has schedule information for the report.
- definition
Report
Definition 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
Report
Schedule Response - Has schedule information for the report.
- definition Property Map
- Has definition for the report.
- delivery
Info 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]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
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
Report
Filter Response - Has filter expression to use in the report.
- Granularity string
- The granularity of rows in the report.
- Grouping
[]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,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
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
Report
Filter Response - Has filter expression to use in the report.
- granularity String
- The granularity of rows in the report.
- grouping
List<Report
Grouping Response> - Array of group by expression to use in the report. Report can have up to 2 group by clauses.
- aggregation
{[key: string]: 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
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
Report
Filter Response - Has filter expression to use in the report.
- granularity string
- The granularity of rows in the report.
- grouping
Report
Grouping Response[] - Array of group by expression to use in the report. Report can have up to 2 group by clauses.
- aggregation
Mapping[str, 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
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
Report
Filter Response - Has filter expression to use in the report.
- granularity str
- The granularity of rows in the report.
- grouping
Sequence[Report
Grouping 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.
- Time
Period 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
Report
Dataset 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
Report
Dataset 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
Report
Dataset Response - Has definition for data in this report.
- time
Period 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
Report
Dataset 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.
- time
Period Property Map - Has time period for pulling data for the report.
ReportDeliveryDestinationResponse
- Container string
- The name of the container where reports will be uploaded.
- Resource
Id string - The resource id of the storage account where reports will be delivered.
- Root
Folder stringPath - The name of the directory where reports will be uploaded.
- Container string
- The name of the container where reports will be uploaded.
- Resource
Id string - The resource id of the storage account where reports will be delivered.
- Root
Folder stringPath - The name of the directory where reports will be uploaded.
- container String
- The name of the container where reports will be uploaded.
- resource
Id String - The resource id of the storage account where reports will be delivered.
- root
Folder StringPath - The name of the directory where reports will be uploaded.
- container string
- The name of the container where reports will be uploaded.
- resource
Id string - The resource id of the storage account where reports will be delivered.
- root
Folder 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.
- resource
Id String - The resource id of the storage account where reports will be delivered.
- root
Folder 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
Report
Delivery Destination Response - Has destination for the report being delivered.
- destination
Report
Delivery Destination Response - Has destination for the report being delivered.
- destination
Report
Delivery Destination Response - Has destination for the report being delivered.
- destination
Report
Delivery 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
[]Report
Filter Response - The logical "AND" expression. Must have at least 2 items.
- Dimension
Report
Comparison Expression Response - Has comparison expression for a dimension
- Not
Report
Filter Response - The logical "NOT" expression.
- Or
[]Report
Filter Response - The logical "OR" expression. Must have at least 2 items.
- Tag
Report
Comparison Expression Response - Has comparison expression for a tag
- and
List<Report
Filter Response> - The logical "AND" expression. Must have at least 2 items.
- dimension
Report
Comparison Expression Response - Has comparison expression for a dimension
- not
Report
Filter Response - The logical "NOT" expression.
- or
List<Report
Filter Response> - The logical "OR" expression. Must have at least 2 items.
- tag
Report
Comparison Expression Response - Has comparison expression for a tag
- and
Report
Filter Response[] - The logical "AND" expression. Must have at least 2 items.
- dimension
Report
Comparison Expression Response - Has comparison expression for a dimension
- not
Report
Filter Response - The logical "NOT" expression.
- or
Report
Filter Response[] - The logical "OR" expression. Must have at least 2 items.
- tag
Report
Comparison Expression Response - Has comparison expression for a tag
- and_
Sequence[Report
Filter Response] - The logical "AND" expression. Must have at least 2 items.
- dimension
Report
Comparison Expression Response - Has comparison expression for a dimension
- not_
Report
Filter Response - The logical "NOT" expression.
- or_
Sequence[Report
Filter Response] - The logical "OR" expression. Must have at least 2 items.
- tag
Report
Comparison 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.
- Recurrence
Period 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.
- 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 string
- The status of the schedule. Whether active or not. If inactive, the report's scheduled execution is paused.
- recurrence String
- 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 String
- The status of the schedule. Whether active or not. If inactive, the report's scheduled execution is paused.
- recurrence string
- 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 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.
- recurrence
Period 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.63.0 published on Tuesday, Sep 24, 2024 by Pulumi