Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.apigee/v1.Report
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Creates a Custom Report for an Organization. A Custom Report provides Apigee Customers to create custom dashboards in addition to the standard dashboards which are provided. The Custom Report in its simplest form contains specifications about metrics, dimensions and filters. It is important to note that the custom report by itself does not provide an executable entity. The Edge UI converts the custom report definition into an analytics query and displays the result in a chart.
Create Report Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Report(name: string, args: ReportArgs, opts?: CustomResourceOptions);
@overload
def Report(resource_name: str,
args: ReportArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Report(resource_name: str,
opts: Optional[ResourceOptions] = None,
metrics: Optional[Sequence[GoogleCloudApigeeV1CustomReportMetricArgs]] = None,
organization_id: Optional[str] = None,
name: Optional[str] = None,
offset: Optional[str] = None,
filter: Optional[str] = None,
from_time: Optional[str] = None,
limit: Optional[str] = None,
dimensions: Optional[Sequence[str]] = None,
chart_type: Optional[str] = None,
display_name: Optional[str] = None,
comments: Optional[Sequence[str]] = None,
properties: Optional[Sequence[GoogleCloudApigeeV1ReportPropertyArgs]] = None,
sort_by_cols: Optional[Sequence[str]] = None,
sort_order: Optional[str] = None,
tags: Optional[Sequence[str]] = None,
time_unit: Optional[str] = None,
to_time: Optional[str] = None,
topk: Optional[str] = None)
func NewReport(ctx *Context, name string, args ReportArgs, opts ...ResourceOption) (*Report, error)
public Report(string name, ReportArgs args, CustomResourceOptions? opts = null)
public Report(String name, ReportArgs args)
public Report(String name, ReportArgs args, CustomResourceOptions options)
type: google-native:apigee/v1:Report
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ReportArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ReportArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ReportArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ReportArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ReportArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var reportResource = new GoogleNative.Apigee.V1.Report("reportResource", new()
{
Metrics = new[]
{
new GoogleNative.Apigee.V1.Inputs.GoogleCloudApigeeV1CustomReportMetricArgs
{
Function = "string",
Name = "string",
},
},
OrganizationId = "string",
Name = "string",
Offset = "string",
Filter = "string",
FromTime = "string",
Limit = "string",
Dimensions = new[]
{
"string",
},
ChartType = "string",
DisplayName = "string",
Comments = new[]
{
"string",
},
Properties = new[]
{
new GoogleNative.Apigee.V1.Inputs.GoogleCloudApigeeV1ReportPropertyArgs
{
Property = "string",
Value = new[]
{
new GoogleNative.Apigee.V1.Inputs.GoogleCloudApigeeV1AttributeArgs
{
Name = "string",
Value = "string",
},
},
},
},
SortByCols = new[]
{
"string",
},
SortOrder = "string",
Tags = new[]
{
"string",
},
TimeUnit = "string",
ToTime = "string",
Topk = "string",
});
example, err := apigee.NewReport(ctx, "reportResource", &apigee.ReportArgs{
Metrics: apigee.GoogleCloudApigeeV1CustomReportMetricArray{
&apigee.GoogleCloudApigeeV1CustomReportMetricArgs{
Function: pulumi.String("string"),
Name: pulumi.String("string"),
},
},
OrganizationId: pulumi.String("string"),
Name: pulumi.String("string"),
Offset: pulumi.String("string"),
Filter: pulumi.String("string"),
FromTime: pulumi.String("string"),
Limit: pulumi.String("string"),
Dimensions: pulumi.StringArray{
pulumi.String("string"),
},
ChartType: pulumi.String("string"),
DisplayName: pulumi.String("string"),
Comments: pulumi.StringArray{
pulumi.String("string"),
},
Properties: apigee.GoogleCloudApigeeV1ReportPropertyArray{
&apigee.GoogleCloudApigeeV1ReportPropertyArgs{
Property: pulumi.String("string"),
Value: apigee.GoogleCloudApigeeV1AttributeArray{
&apigee.GoogleCloudApigeeV1AttributeArgs{
Name: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
},
},
SortByCols: pulumi.StringArray{
pulumi.String("string"),
},
SortOrder: pulumi.String("string"),
Tags: pulumi.StringArray{
pulumi.String("string"),
},
TimeUnit: pulumi.String("string"),
ToTime: pulumi.String("string"),
Topk: pulumi.String("string"),
})
var reportResource = new Report("reportResource", ReportArgs.builder()
.metrics(GoogleCloudApigeeV1CustomReportMetricArgs.builder()
.function("string")
.name("string")
.build())
.organizationId("string")
.name("string")
.offset("string")
.filter("string")
.fromTime("string")
.limit("string")
.dimensions("string")
.chartType("string")
.displayName("string")
.comments("string")
.properties(GoogleCloudApigeeV1ReportPropertyArgs.builder()
.property("string")
.value(GoogleCloudApigeeV1AttributeArgs.builder()
.name("string")
.value("string")
.build())
.build())
.sortByCols("string")
.sortOrder("string")
.tags("string")
.timeUnit("string")
.toTime("string")
.topk("string")
.build());
report_resource = google_native.apigee.v1.Report("reportResource",
metrics=[google_native.apigee.v1.GoogleCloudApigeeV1CustomReportMetricArgs(
function="string",
name="string",
)],
organization_id="string",
name="string",
offset="string",
filter="string",
from_time="string",
limit="string",
dimensions=["string"],
chart_type="string",
display_name="string",
comments=["string"],
properties=[google_native.apigee.v1.GoogleCloudApigeeV1ReportPropertyArgs(
property="string",
value=[google_native.apigee.v1.GoogleCloudApigeeV1AttributeArgs(
name="string",
value="string",
)],
)],
sort_by_cols=["string"],
sort_order="string",
tags=["string"],
time_unit="string",
to_time="string",
topk="string")
const reportResource = new google_native.apigee.v1.Report("reportResource", {
metrics: [{
"function": "string",
name: "string",
}],
organizationId: "string",
name: "string",
offset: "string",
filter: "string",
fromTime: "string",
limit: "string",
dimensions: ["string"],
chartType: "string",
displayName: "string",
comments: ["string"],
properties: [{
property: "string",
value: [{
name: "string",
value: "string",
}],
}],
sortByCols: ["string"],
sortOrder: "string",
tags: ["string"],
timeUnit: "string",
toTime: "string",
topk: "string",
});
type: google-native:apigee/v1:Report
properties:
chartType: string
comments:
- string
dimensions:
- string
displayName: string
filter: string
fromTime: string
limit: string
metrics:
- function: string
name: string
name: string
offset: string
organizationId: string
properties:
- property: string
value:
- name: string
value: string
sortByCols:
- string
sortOrder: string
tags:
- string
timeUnit: string
toTime: string
topk: string
Report Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The Report resource accepts the following input properties:
- Metrics
List<Pulumi.
Google Native. Apigee. V1. Inputs. Google Cloud Apigee V1Custom Report Metric> - This contains the list of metrics
- Organization
Id string - Chart
Type string - This field contains the chart type for the report
- Comments List<string>
- Legacy field: not used. This field contains a list of comments associated with custom report
- Dimensions List<string>
- This contains the list of dimensions for the report
- Display
Name string - This is the display name for the report
- Filter string
- This field contains the filter expression
- From
Time string - Legacy field: not used. Contains the from time for the report
- Limit string
- Legacy field: not used This field contains the limit for the result retrieved
- Name string
- Unique identifier for the report T his is a legacy field used to encode custom report unique id
- Offset string
- Legacy field: not used. This field contains the offset for the data
- Properties
List<Pulumi.
Google Native. Apigee. V1. Inputs. Google Cloud Apigee V1Report Property> - This field contains report properties such as ui metadata etc.
- Sort
By List<string>Cols - Legacy field: not used much. Contains the list of sort by columns
- Sort
Order string - Legacy field: not used much. Contains the sort order for the sort columns
- List<string>
- Legacy field: not used. This field contains a list of tags associated with custom report
- Time
Unit string - This field contains the time unit of aggregation for the report
- To
Time string - Legacy field: not used. Contains the end time for the report
- Topk string
- Legacy field: not used. This field contains the top k parameter value for restricting the result
- Metrics
[]Google
Cloud Apigee V1Custom Report Metric Args - This contains the list of metrics
- Organization
Id string - Chart
Type string - This field contains the chart type for the report
- Comments []string
- Legacy field: not used. This field contains a list of comments associated with custom report
- Dimensions []string
- This contains the list of dimensions for the report
- Display
Name string - This is the display name for the report
- Filter string
- This field contains the filter expression
- From
Time string - Legacy field: not used. Contains the from time for the report
- Limit string
- Legacy field: not used This field contains the limit for the result retrieved
- Name string
- Unique identifier for the report T his is a legacy field used to encode custom report unique id
- Offset string
- Legacy field: not used. This field contains the offset for the data
- Properties
[]Google
Cloud Apigee V1Report Property Args - This field contains report properties such as ui metadata etc.
- Sort
By []stringCols - Legacy field: not used much. Contains the list of sort by columns
- Sort
Order string - Legacy field: not used much. Contains the sort order for the sort columns
- []string
- Legacy field: not used. This field contains a list of tags associated with custom report
- Time
Unit string - This field contains the time unit of aggregation for the report
- To
Time string - Legacy field: not used. Contains the end time for the report
- Topk string
- Legacy field: not used. This field contains the top k parameter value for restricting the result
- metrics
List<Google
Cloud Apigee V1Custom Report Metric> - This contains the list of metrics
- organization
Id String - chart
Type String - This field contains the chart type for the report
- comments List<String>
- Legacy field: not used. This field contains a list of comments associated with custom report
- dimensions List<String>
- This contains the list of dimensions for the report
- display
Name String - This is the display name for the report
- filter String
- This field contains the filter expression
- from
Time String - Legacy field: not used. Contains the from time for the report
- limit String
- Legacy field: not used This field contains the limit for the result retrieved
- name String
- Unique identifier for the report T his is a legacy field used to encode custom report unique id
- offset String
- Legacy field: not used. This field contains the offset for the data
- properties
List<Google
Cloud Apigee V1Report Property> - This field contains report properties such as ui metadata etc.
- sort
By List<String>Cols - Legacy field: not used much. Contains the list of sort by columns
- sort
Order String - Legacy field: not used much. Contains the sort order for the sort columns
- List<String>
- Legacy field: not used. This field contains a list of tags associated with custom report
- time
Unit String - This field contains the time unit of aggregation for the report
- to
Time String - Legacy field: not used. Contains the end time for the report
- topk String
- Legacy field: not used. This field contains the top k parameter value for restricting the result
- metrics
Google
Cloud Apigee V1Custom Report Metric[] - This contains the list of metrics
- organization
Id string - chart
Type string - This field contains the chart type for the report
- comments string[]
- Legacy field: not used. This field contains a list of comments associated with custom report
- dimensions string[]
- This contains the list of dimensions for the report
- display
Name string - This is the display name for the report
- filter string
- This field contains the filter expression
- from
Time string - Legacy field: not used. Contains the from time for the report
- limit string
- Legacy field: not used This field contains the limit for the result retrieved
- name string
- Unique identifier for the report T his is a legacy field used to encode custom report unique id
- offset string
- Legacy field: not used. This field contains the offset for the data
- properties
Google
Cloud Apigee V1Report Property[] - This field contains report properties such as ui metadata etc.
- sort
By string[]Cols - Legacy field: not used much. Contains the list of sort by columns
- sort
Order string - Legacy field: not used much. Contains the sort order for the sort columns
- string[]
- Legacy field: not used. This field contains a list of tags associated with custom report
- time
Unit string - This field contains the time unit of aggregation for the report
- to
Time string - Legacy field: not used. Contains the end time for the report
- topk string
- Legacy field: not used. This field contains the top k parameter value for restricting the result
- metrics
Sequence[Google
Cloud Apigee V1Custom Report Metric Args] - This contains the list of metrics
- organization_
id str - chart_
type str - This field contains the chart type for the report
- comments Sequence[str]
- Legacy field: not used. This field contains a list of comments associated with custom report
- dimensions Sequence[str]
- This contains the list of dimensions for the report
- display_
name str - This is the display name for the report
- filter str
- This field contains the filter expression
- from_
time str - Legacy field: not used. Contains the from time for the report
- limit str
- Legacy field: not used This field contains the limit for the result retrieved
- name str
- Unique identifier for the report T his is a legacy field used to encode custom report unique id
- offset str
- Legacy field: not used. This field contains the offset for the data
- properties
Sequence[Google
Cloud Apigee V1Report Property Args] - This field contains report properties such as ui metadata etc.
- sort_
by_ Sequence[str]cols - Legacy field: not used much. Contains the list of sort by columns
- sort_
order str - Legacy field: not used much. Contains the sort order for the sort columns
- Sequence[str]
- Legacy field: not used. This field contains a list of tags associated with custom report
- time_
unit str - This field contains the time unit of aggregation for the report
- to_
time str - Legacy field: not used. Contains the end time for the report
- topk str
- Legacy field: not used. This field contains the top k parameter value for restricting the result
- metrics List<Property Map>
- This contains the list of metrics
- organization
Id String - chart
Type String - This field contains the chart type for the report
- comments List<String>
- Legacy field: not used. This field contains a list of comments associated with custom report
- dimensions List<String>
- This contains the list of dimensions for the report
- display
Name String - This is the display name for the report
- filter String
- This field contains the filter expression
- from
Time String - Legacy field: not used. Contains the from time for the report
- limit String
- Legacy field: not used This field contains the limit for the result retrieved
- name String
- Unique identifier for the report T his is a legacy field used to encode custom report unique id
- offset String
- Legacy field: not used. This field contains the offset for the data
- properties List<Property Map>
- This field contains report properties such as ui metadata etc.
- sort
By List<String>Cols - Legacy field: not used much. Contains the list of sort by columns
- sort
Order String - Legacy field: not used much. Contains the sort order for the sort columns
- List<String>
- Legacy field: not used. This field contains a list of tags associated with custom report
- time
Unit String - This field contains the time unit of aggregation for the report
- to
Time String - Legacy field: not used. Contains the end time for the report
- topk String
- Legacy field: not used. This field contains the top k parameter value for restricting the result
Outputs
All input properties are implicitly available as output properties. Additionally, the Report resource produces the following output properties:
- Created
At string - Unix time when the app was created json key: createdAt
- Environment string
- Environment name
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Modified stringAt - Modified time of this entity as milliseconds since epoch. json key: lastModifiedAt
- Last
Viewed stringAt - Last viewed time of this entity as milliseconds since epoch
- Organization string
- Organization name
- Created
At string - Unix time when the app was created json key: createdAt
- Environment string
- Environment name
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Modified stringAt - Modified time of this entity as milliseconds since epoch. json key: lastModifiedAt
- Last
Viewed stringAt - Last viewed time of this entity as milliseconds since epoch
- Organization string
- Organization name
- created
At String - Unix time when the app was created json key: createdAt
- environment String
- Environment name
- id String
- The provider-assigned unique ID for this managed resource.
- last
Modified StringAt - Modified time of this entity as milliseconds since epoch. json key: lastModifiedAt
- last
Viewed StringAt - Last viewed time of this entity as milliseconds since epoch
- organization String
- Organization name
- created
At string - Unix time when the app was created json key: createdAt
- environment string
- Environment name
- id string
- The provider-assigned unique ID for this managed resource.
- last
Modified stringAt - Modified time of this entity as milliseconds since epoch. json key: lastModifiedAt
- last
Viewed stringAt - Last viewed time of this entity as milliseconds since epoch
- organization string
- Organization name
- created_
at str - Unix time when the app was created json key: createdAt
- environment str
- Environment name
- id str
- The provider-assigned unique ID for this managed resource.
- last_
modified_ strat - Modified time of this entity as milliseconds since epoch. json key: lastModifiedAt
- last_
viewed_ strat - Last viewed time of this entity as milliseconds since epoch
- organization str
- Organization name
- created
At String - Unix time when the app was created json key: createdAt
- environment String
- Environment name
- id String
- The provider-assigned unique ID for this managed resource.
- last
Modified StringAt - Modified time of this entity as milliseconds since epoch. json key: lastModifiedAt
- last
Viewed StringAt - Last viewed time of this entity as milliseconds since epoch
- organization String
- Organization name
Supporting Types
GoogleCloudApigeeV1Attribute, GoogleCloudApigeeV1AttributeArgs
GoogleCloudApigeeV1AttributeResponse, GoogleCloudApigeeV1AttributeResponseArgs
GoogleCloudApigeeV1CustomReportMetric, GoogleCloudApigeeV1CustomReportMetricArgs
GoogleCloudApigeeV1CustomReportMetricResponse, GoogleCloudApigeeV1CustomReportMetricResponseArgs
GoogleCloudApigeeV1ReportProperty, GoogleCloudApigeeV1ReportPropertyArgs
- Property string
- name of the property
- Value
List<Pulumi.
Google Native. Apigee. V1. Inputs. Google Cloud Apigee V1Attribute> - property values
- Property string
- name of the property
- Value
[]Google
Cloud Apigee V1Attribute - property values
- property String
- name of the property
- value
List<Google
Cloud Apigee V1Attribute> - property values
- property string
- name of the property
- value
Google
Cloud Apigee V1Attribute[] - property values
- property str
- name of the property
- value
Sequence[Google
Cloud Apigee V1Attribute] - property values
- property String
- name of the property
- value List<Property Map>
- property values
GoogleCloudApigeeV1ReportPropertyResponse, GoogleCloudApigeeV1ReportPropertyResponseArgs
- Property string
- name of the property
- Value
List<Pulumi.
Google Native. Apigee. V1. Inputs. Google Cloud Apigee V1Attribute Response> - property values
- Property string
- name of the property
- Value
[]Google
Cloud Apigee V1Attribute Response - property values
- property String
- name of the property
- value
List<Google
Cloud Apigee V1Attribute Response> - property values
- property string
- name of the property
- value
Google
Cloud Apigee V1Attribute Response[] - property values
- property str
- name of the property
- value
Sequence[Google
Cloud Apigee V1Attribute Response] - property values
- property String
- name of the property
- value List<Property Map>
- property values
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.