1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. MeteringComputation
  5. getSchedules
Oracle Cloud Infrastructure v2.2.0 published on Friday, Jul 12, 2024 by Pulumi

oci.MeteringComputation.getSchedules

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.2.0 published on Friday, Jul 12, 2024 by Pulumi

    This data source provides the list of Schedules in Oracle Cloud Infrastructure Metering Computation service.

    Returns the saved schedule list.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testSchedules = oci.MeteringComputation.getSchedules({
        compartmentId: compartmentId,
        name: scheduleName,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_schedules = oci.MeteringComputation.get_schedules(compartment_id=compartment_id,
        name=schedule_name)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/MeteringComputation"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := MeteringComputation.GetSchedules(ctx, &meteringcomputation.GetSchedulesArgs{
    			CompartmentId: compartmentId,
    			Name:          pulumi.StringRef(scheduleName),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Oci = Pulumi.Oci;
    
    return await Deployment.RunAsync(() => 
    {
        var testSchedules = Oci.MeteringComputation.GetSchedules.Invoke(new()
        {
            CompartmentId = compartmentId,
            Name = scheduleName,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.MeteringComputation.MeteringComputationFunctions;
    import com.pulumi.oci.MeteringComputation.inputs.GetSchedulesArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var testSchedules = MeteringComputationFunctions.getSchedules(GetSchedulesArgs.builder()
                .compartmentId(compartmentId)
                .name(scheduleName)
                .build());
    
        }
    }
    
    variables:
      testSchedules:
        fn::invoke:
          Function: oci:MeteringComputation:getSchedules
          Arguments:
            compartmentId: ${compartmentId}
            name: ${scheduleName}
    

    Using getSchedules

    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 getSchedules(args: GetSchedulesArgs, opts?: InvokeOptions): Promise<GetSchedulesResult>
    function getSchedulesOutput(args: GetSchedulesOutputArgs, opts?: InvokeOptions): Output<GetSchedulesResult>
    def get_schedules(compartment_id: Optional[str] = None,
                      filters: Optional[Sequence[_meteringcomputation.GetSchedulesFilter]] = None,
                      name: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> GetSchedulesResult
    def get_schedules_output(compartment_id: Optional[pulumi.Input[str]] = None,
                      filters: Optional[pulumi.Input[Sequence[pulumi.Input[_meteringcomputation.GetSchedulesFilterArgs]]]] = None,
                      name: Optional[pulumi.Input[str]] = None,
                      opts: Optional[InvokeOptions] = None) -> Output[GetSchedulesResult]
    func GetSchedules(ctx *Context, args *GetSchedulesArgs, opts ...InvokeOption) (*GetSchedulesResult, error)
    func GetSchedulesOutput(ctx *Context, args *GetSchedulesOutputArgs, opts ...InvokeOption) GetSchedulesResultOutput

    > Note: This function is named GetSchedules in the Go SDK.

    public static class GetSchedules 
    {
        public static Task<GetSchedulesResult> InvokeAsync(GetSchedulesArgs args, InvokeOptions? opts = null)
        public static Output<GetSchedulesResult> Invoke(GetSchedulesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSchedulesResult> getSchedules(GetSchedulesArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:MeteringComputation/getSchedules:getSchedules
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CompartmentId string
    The compartment ID in which to list resources.
    Filters List<GetSchedulesFilter>
    The filter object for query usage.
    Name string
    Query parameter for filtering by name
    CompartmentId string
    The compartment ID in which to list resources.
    Filters []GetSchedulesFilter
    The filter object for query usage.
    Name string
    Query parameter for filtering by name
    compartmentId String
    The compartment ID in which to list resources.
    filters List<GetSchedulesFilter>
    The filter object for query usage.
    name String
    Query parameter for filtering by name
    compartmentId string
    The compartment ID in which to list resources.
    filters GetSchedulesFilter[]
    The filter object for query usage.
    name string
    Query parameter for filtering by name
    compartment_id str
    The compartment ID in which to list resources.
    filters Sequence[meteringcomputation.GetSchedulesFilter]
    The filter object for query usage.
    name str
    Query parameter for filtering by name
    compartmentId String
    The compartment ID in which to list resources.
    filters List<Property Map>
    The filter object for query usage.
    name String
    Query parameter for filtering by name

    getSchedules Result

    The following output properties are available:

    CompartmentId string
    The customer tenancy.
    Id string
    The provider-assigned unique ID for this managed resource.
    ScheduleCollections List<GetSchedulesScheduleCollection>
    The list of schedule_collection.
    Filters List<GetSchedulesFilter>
    The filter object for query usage.
    Name string
    The unique name of the schedule created by the user.
    CompartmentId string
    The customer tenancy.
    Id string
    The provider-assigned unique ID for this managed resource.
    ScheduleCollections []GetSchedulesScheduleCollection
    The list of schedule_collection.
    Filters []GetSchedulesFilter
    The filter object for query usage.
    Name string
    The unique name of the schedule created by the user.
    compartmentId String
    The customer tenancy.
    id String
    The provider-assigned unique ID for this managed resource.
    scheduleCollections List<GetSchedulesScheduleCollection>
    The list of schedule_collection.
    filters List<GetSchedulesFilter>
    The filter object for query usage.
    name String
    The unique name of the schedule created by the user.
    compartmentId string
    The customer tenancy.
    id string
    The provider-assigned unique ID for this managed resource.
    scheduleCollections GetSchedulesScheduleCollection[]
    The list of schedule_collection.
    filters GetSchedulesFilter[]
    The filter object for query usage.
    name string
    The unique name of the schedule created by the user.
    compartment_id str
    The customer tenancy.
    id str
    The provider-assigned unique ID for this managed resource.
    schedule_collections Sequence[meteringcomputation.GetSchedulesScheduleCollection]
    The list of schedule_collection.
    filters Sequence[meteringcomputation.GetSchedulesFilter]
    The filter object for query usage.
    name str
    The unique name of the schedule created by the user.
    compartmentId String
    The customer tenancy.
    id String
    The provider-assigned unique ID for this managed resource.
    scheduleCollections List<Property Map>
    The list of schedule_collection.
    filters List<Property Map>
    The filter object for query usage.
    name String
    The unique name of the schedule created by the user.

    Supporting Types

    GetSchedulesFilter

    Name string
    Query parameter for filtering by name
    Values List<string>
    Regex bool
    Name string
    Query parameter for filtering by name
    Values []string
    Regex bool
    name String
    Query parameter for filtering by name
    values List<String>
    regex Boolean
    name string
    Query parameter for filtering by name
    values string[]
    regex boolean
    name str
    Query parameter for filtering by name
    values Sequence[str]
    regex bool
    name String
    Query parameter for filtering by name
    values List<String>
    regex Boolean

    GetSchedulesScheduleCollection

    GetSchedulesScheduleCollectionItem

    CompartmentId string
    The compartment ID in which to list resources.
    DefinedTags Dictionary<string, object>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"foo-namespace.bar-key": "value"}
    Description string
    The description of the schedule.
    FreeformTags Dictionary<string, object>
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example: {"bar-key": "value"}
    Id string
    The OCID representing a unique shedule.
    Name string
    Query parameter for filtering by name
    OutputFileFormat string
    Specifies the supported output file format.
    QueryProperties List<GetSchedulesScheduleCollectionItemQueryProperty>
    The query properties.
    ResultLocations List<GetSchedulesScheduleCollectionItemResultLocation>
    The location where usage or cost CSVs will be uploaded defined by locationType, which corresponds with type-specific characteristics.
    SavedReportId string
    The saved report ID which can also be used to generate a query.
    ScheduleRecurrences string
    Specifies the frequency according to when the schedule will be run, in the x-obmcs-recurring-time format described in RFC 5545 section 3.3.10. Supported values are : ONE_TIME, DAILY, WEEKLY and MONTHLY.
    State string
    The schedule lifecycle state.
    SystemTags Dictionary<string, object>
    Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The date and time the schedule was created.
    TimeNextRun string
    The date and time of the next job execution.
    TimeScheduled string
    The date and time of the first time job execution.
    CompartmentId string
    The compartment ID in which to list resources.
    DefinedTags map[string]interface{}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"foo-namespace.bar-key": "value"}
    Description string
    The description of the schedule.
    FreeformTags map[string]interface{}
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example: {"bar-key": "value"}
    Id string
    The OCID representing a unique shedule.
    Name string
    Query parameter for filtering by name
    OutputFileFormat string
    Specifies the supported output file format.
    QueryProperties []GetSchedulesScheduleCollectionItemQueryProperty
    The query properties.
    ResultLocations []GetSchedulesScheduleCollectionItemResultLocation
    The location where usage or cost CSVs will be uploaded defined by locationType, which corresponds with type-specific characteristics.
    SavedReportId string
    The saved report ID which can also be used to generate a query.
    ScheduleRecurrences string
    Specifies the frequency according to when the schedule will be run, in the x-obmcs-recurring-time format described in RFC 5545 section 3.3.10. Supported values are : ONE_TIME, DAILY, WEEKLY and MONTHLY.
    State string
    The schedule lifecycle state.
    SystemTags map[string]interface{}
    Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The date and time the schedule was created.
    TimeNextRun string
    The date and time of the next job execution.
    TimeScheduled string
    The date and time of the first time job execution.
    compartmentId String
    The compartment ID in which to list resources.
    definedTags Map<String,Object>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"foo-namespace.bar-key": "value"}
    description String
    The description of the schedule.
    freeformTags Map<String,Object>
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example: {"bar-key": "value"}
    id String
    The OCID representing a unique shedule.
    name String
    Query parameter for filtering by name
    outputFileFormat String
    Specifies the supported output file format.
    queryProperties List<GetSchedulesScheduleCollectionItemQueryProperty>
    The query properties.
    resultLocations List<GetSchedulesScheduleCollectionItemResultLocation>
    The location where usage or cost CSVs will be uploaded defined by locationType, which corresponds with type-specific characteristics.
    savedReportId String
    The saved report ID which can also be used to generate a query.
    scheduleRecurrences String
    Specifies the frequency according to when the schedule will be run, in the x-obmcs-recurring-time format described in RFC 5545 section 3.3.10. Supported values are : ONE_TIME, DAILY, WEEKLY and MONTHLY.
    state String
    The schedule lifecycle state.
    systemTags Map<String,Object>
    Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The date and time the schedule was created.
    timeNextRun String
    The date and time of the next job execution.
    timeScheduled String
    The date and time of the first time job execution.
    compartmentId string
    The compartment ID in which to list resources.
    definedTags {[key: string]: any}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"foo-namespace.bar-key": "value"}
    description string
    The description of the schedule.
    freeformTags {[key: string]: any}
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example: {"bar-key": "value"}
    id string
    The OCID representing a unique shedule.
    name string
    Query parameter for filtering by name
    outputFileFormat string
    Specifies the supported output file format.
    queryProperties GetSchedulesScheduleCollectionItemQueryProperty[]
    The query properties.
    resultLocations GetSchedulesScheduleCollectionItemResultLocation[]
    The location where usage or cost CSVs will be uploaded defined by locationType, which corresponds with type-specific characteristics.
    savedReportId string
    The saved report ID which can also be used to generate a query.
    scheduleRecurrences string
    Specifies the frequency according to when the schedule will be run, in the x-obmcs-recurring-time format described in RFC 5545 section 3.3.10. Supported values are : ONE_TIME, DAILY, WEEKLY and MONTHLY.
    state string
    The schedule lifecycle state.
    systemTags {[key: string]: any}
    Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The date and time the schedule was created.
    timeNextRun string
    The date and time of the next job execution.
    timeScheduled string
    The date and time of the first time job execution.
    compartment_id str
    The compartment ID in which to list resources.
    defined_tags Mapping[str, Any]
    Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"foo-namespace.bar-key": "value"}
    description str
    The description of the schedule.
    freeform_tags Mapping[str, Any]
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example: {"bar-key": "value"}
    id str
    The OCID representing a unique shedule.
    name str
    Query parameter for filtering by name
    output_file_format str
    Specifies the supported output file format.
    query_properties Sequence[meteringcomputation.GetSchedulesScheduleCollectionItemQueryProperty]
    The query properties.
    result_locations Sequence[meteringcomputation.GetSchedulesScheduleCollectionItemResultLocation]
    The location where usage or cost CSVs will be uploaded defined by locationType, which corresponds with type-specific characteristics.
    saved_report_id str
    The saved report ID which can also be used to generate a query.
    schedule_recurrences str
    Specifies the frequency according to when the schedule will be run, in the x-obmcs-recurring-time format described in RFC 5545 section 3.3.10. Supported values are : ONE_TIME, DAILY, WEEKLY and MONTHLY.
    state str
    The schedule lifecycle state.
    system_tags Mapping[str, Any]
    Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created str
    The date and time the schedule was created.
    time_next_run str
    The date and time of the next job execution.
    time_scheduled str
    The date and time of the first time job execution.
    compartmentId String
    The compartment ID in which to list resources.
    definedTags Map<Any>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"foo-namespace.bar-key": "value"}
    description String
    The description of the schedule.
    freeformTags Map<Any>
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example: {"bar-key": "value"}
    id String
    The OCID representing a unique shedule.
    name String
    Query parameter for filtering by name
    outputFileFormat String
    Specifies the supported output file format.
    queryProperties List<Property Map>
    The query properties.
    resultLocations List<Property Map>
    The location where usage or cost CSVs will be uploaded defined by locationType, which corresponds with type-specific characteristics.
    savedReportId String
    The saved report ID which can also be used to generate a query.
    scheduleRecurrences String
    Specifies the frequency according to when the schedule will be run, in the x-obmcs-recurring-time format described in RFC 5545 section 3.3.10. Supported values are : ONE_TIME, DAILY, WEEKLY and MONTHLY.
    state String
    The schedule lifecycle state.
    systemTags Map<Any>
    Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The date and time the schedule was created.
    timeNextRun String
    The date and time of the next job execution.
    timeScheduled String
    The date and time of the first time job execution.

    GetSchedulesScheduleCollectionItemQueryProperty

    CompartmentDepth double
    The depth level of the compartment.
    DateRanges List<GetSchedulesScheduleCollectionItemQueryPropertyDateRange>
    Static or dynamic date range dateRangeType, which corresponds with type-specific characteristics.
    Filter string
    The filter object for query usage.
    Granularity string
    The usage granularity. DAILY - Daily data aggregation. MONTHLY - Monthly data aggregation. Allowed values are: DAILY MONTHLY
    GroupBies List<string>
    Aggregate the result by. For example: [ "tagNamespace", "tagKey", "tagValue", "service", "skuName", "skuPartNumber", "unit", "compartmentName", "compartmentPath", "compartmentId", "platform", "region", "logicalAd", "resourceId", "tenantId", "tenantName" ]
    GroupByTags List<GetSchedulesScheduleCollectionItemQueryPropertyGroupByTag>
    GroupBy a specific tagKey. Provide the tagNamespace and tagKey in the tag object. Only supports one tag in the list. For example: [ { "namespace": "oracle", "key": "createdBy" ]
    IsAggregateByTime bool
    Specifies whether aggregated by time. If isAggregateByTime is true, all usage or cost over the query time period will be added up.
    QueryType string
    The query usage type. COST by default if it is missing. Usage - Query the usage data. Cost - Query the cost/billing data. Allowed values are: USAGE COST USAGE_AND_COST
    CompartmentDepth float64
    The depth level of the compartment.
    DateRanges []GetSchedulesScheduleCollectionItemQueryPropertyDateRange
    Static or dynamic date range dateRangeType, which corresponds with type-specific characteristics.
    Filter string
    The filter object for query usage.
    Granularity string
    The usage granularity. DAILY - Daily data aggregation. MONTHLY - Monthly data aggregation. Allowed values are: DAILY MONTHLY
    GroupBies []string
    Aggregate the result by. For example: [ "tagNamespace", "tagKey", "tagValue", "service", "skuName", "skuPartNumber", "unit", "compartmentName", "compartmentPath", "compartmentId", "platform", "region", "logicalAd", "resourceId", "tenantId", "tenantName" ]
    GroupByTags []GetSchedulesScheduleCollectionItemQueryPropertyGroupByTag
    GroupBy a specific tagKey. Provide the tagNamespace and tagKey in the tag object. Only supports one tag in the list. For example: [ { "namespace": "oracle", "key": "createdBy" ]
    IsAggregateByTime bool
    Specifies whether aggregated by time. If isAggregateByTime is true, all usage or cost over the query time period will be added up.
    QueryType string
    The query usage type. COST by default if it is missing. Usage - Query the usage data. Cost - Query the cost/billing data. Allowed values are: USAGE COST USAGE_AND_COST
    compartmentDepth Double
    The depth level of the compartment.
    dateRanges List<GetSchedulesScheduleCollectionItemQueryPropertyDateRange>
    Static or dynamic date range dateRangeType, which corresponds with type-specific characteristics.
    filter String
    The filter object for query usage.
    granularity String
    The usage granularity. DAILY - Daily data aggregation. MONTHLY - Monthly data aggregation. Allowed values are: DAILY MONTHLY
    groupBies List<String>
    Aggregate the result by. For example: [ "tagNamespace", "tagKey", "tagValue", "service", "skuName", "skuPartNumber", "unit", "compartmentName", "compartmentPath", "compartmentId", "platform", "region", "logicalAd", "resourceId", "tenantId", "tenantName" ]
    groupByTags List<GetSchedulesScheduleCollectionItemQueryPropertyGroupByTag>
    GroupBy a specific tagKey. Provide the tagNamespace and tagKey in the tag object. Only supports one tag in the list. For example: [ { "namespace": "oracle", "key": "createdBy" ]
    isAggregateByTime Boolean
    Specifies whether aggregated by time. If isAggregateByTime is true, all usage or cost over the query time period will be added up.
    queryType String
    The query usage type. COST by default if it is missing. Usage - Query the usage data. Cost - Query the cost/billing data. Allowed values are: USAGE COST USAGE_AND_COST
    compartmentDepth number
    The depth level of the compartment.
    dateRanges GetSchedulesScheduleCollectionItemQueryPropertyDateRange[]
    Static or dynamic date range dateRangeType, which corresponds with type-specific characteristics.
    filter string
    The filter object for query usage.
    granularity string
    The usage granularity. DAILY - Daily data aggregation. MONTHLY - Monthly data aggregation. Allowed values are: DAILY MONTHLY
    groupBies string[]
    Aggregate the result by. For example: [ "tagNamespace", "tagKey", "tagValue", "service", "skuName", "skuPartNumber", "unit", "compartmentName", "compartmentPath", "compartmentId", "platform", "region", "logicalAd", "resourceId", "tenantId", "tenantName" ]
    groupByTags GetSchedulesScheduleCollectionItemQueryPropertyGroupByTag[]
    GroupBy a specific tagKey. Provide the tagNamespace and tagKey in the tag object. Only supports one tag in the list. For example: [ { "namespace": "oracle", "key": "createdBy" ]
    isAggregateByTime boolean
    Specifies whether aggregated by time. If isAggregateByTime is true, all usage or cost over the query time period will be added up.
    queryType string
    The query usage type. COST by default if it is missing. Usage - Query the usage data. Cost - Query the cost/billing data. Allowed values are: USAGE COST USAGE_AND_COST
    compartment_depth float
    The depth level of the compartment.
    date_ranges Sequence[meteringcomputation.GetSchedulesScheduleCollectionItemQueryPropertyDateRange]
    Static or dynamic date range dateRangeType, which corresponds with type-specific characteristics.
    filter str
    The filter object for query usage.
    granularity str
    The usage granularity. DAILY - Daily data aggregation. MONTHLY - Monthly data aggregation. Allowed values are: DAILY MONTHLY
    group_bies Sequence[str]
    Aggregate the result by. For example: [ "tagNamespace", "tagKey", "tagValue", "service", "skuName", "skuPartNumber", "unit", "compartmentName", "compartmentPath", "compartmentId", "platform", "region", "logicalAd", "resourceId", "tenantId", "tenantName" ]
    group_by_tags Sequence[meteringcomputation.GetSchedulesScheduleCollectionItemQueryPropertyGroupByTag]
    GroupBy a specific tagKey. Provide the tagNamespace and tagKey in the tag object. Only supports one tag in the list. For example: [ { "namespace": "oracle", "key": "createdBy" ]
    is_aggregate_by_time bool
    Specifies whether aggregated by time. If isAggregateByTime is true, all usage or cost over the query time period will be added up.
    query_type str
    The query usage type. COST by default if it is missing. Usage - Query the usage data. Cost - Query the cost/billing data. Allowed values are: USAGE COST USAGE_AND_COST
    compartmentDepth Number
    The depth level of the compartment.
    dateRanges List<Property Map>
    Static or dynamic date range dateRangeType, which corresponds with type-specific characteristics.
    filter String
    The filter object for query usage.
    granularity String
    The usage granularity. DAILY - Daily data aggregation. MONTHLY - Monthly data aggregation. Allowed values are: DAILY MONTHLY
    groupBies List<String>
    Aggregate the result by. For example: [ "tagNamespace", "tagKey", "tagValue", "service", "skuName", "skuPartNumber", "unit", "compartmentName", "compartmentPath", "compartmentId", "platform", "region", "logicalAd", "resourceId", "tenantId", "tenantName" ]
    groupByTags List<Property Map>
    GroupBy a specific tagKey. Provide the tagNamespace and tagKey in the tag object. Only supports one tag in the list. For example: [ { "namespace": "oracle", "key": "createdBy" ]
    isAggregateByTime Boolean
    Specifies whether aggregated by time. If isAggregateByTime is true, all usage or cost over the query time period will be added up.
    queryType String
    The query usage type. COST by default if it is missing. Usage - Query the usage data. Cost - Query the cost/billing data. Allowed values are: USAGE COST USAGE_AND_COST

    GetSchedulesScheduleCollectionItemQueryPropertyDateRange

    DateRangeType string
    Defines whether the schedule date range is STATIC or DYNAMIC.
    DynamicDateRangeType string
    TimeUsageEnded string
    The usage end time.
    TimeUsageStarted string
    The usage start time.
    DateRangeType string
    Defines whether the schedule date range is STATIC or DYNAMIC.
    DynamicDateRangeType string
    TimeUsageEnded string
    The usage end time.
    TimeUsageStarted string
    The usage start time.
    dateRangeType String
    Defines whether the schedule date range is STATIC or DYNAMIC.
    dynamicDateRangeType String
    timeUsageEnded String
    The usage end time.
    timeUsageStarted String
    The usage start time.
    dateRangeType string
    Defines whether the schedule date range is STATIC or DYNAMIC.
    dynamicDateRangeType string
    timeUsageEnded string
    The usage end time.
    timeUsageStarted string
    The usage start time.
    date_range_type str
    Defines whether the schedule date range is STATIC or DYNAMIC.
    dynamic_date_range_type str
    time_usage_ended str
    The usage end time.
    time_usage_started str
    The usage start time.
    dateRangeType String
    Defines whether the schedule date range is STATIC or DYNAMIC.
    dynamicDateRangeType String
    timeUsageEnded String
    The usage end time.
    timeUsageStarted String
    The usage start time.

    GetSchedulesScheduleCollectionItemQueryPropertyGroupByTag

    Key string
    The tag key.
    Namespace string
    The namespace needed to determine the object storage bucket.
    Value string
    The tag value.
    Key string
    The tag key.
    Namespace string
    The namespace needed to determine the object storage bucket.
    Value string
    The tag value.
    key String
    The tag key.
    namespace String
    The namespace needed to determine the object storage bucket.
    value String
    The tag value.
    key string
    The tag key.
    namespace string
    The namespace needed to determine the object storage bucket.
    value string
    The tag value.
    key str
    The tag key.
    namespace str
    The namespace needed to determine the object storage bucket.
    value str
    The tag value.
    key String
    The tag key.
    namespace String
    The namespace needed to determine the object storage bucket.
    value String
    The tag value.

    GetSchedulesScheduleCollectionItemResultLocation

    Bucket string
    The bucket name where usage or cost CSVs will be uploaded.
    LocationType string
    Defines the type of location where the usage or cost CSVs will be stored.
    Namespace string
    The namespace needed to determine the object storage bucket.
    Region string
    The destination Object Store Region specified by the customer.
    Bucket string
    The bucket name where usage or cost CSVs will be uploaded.
    LocationType string
    Defines the type of location where the usage or cost CSVs will be stored.
    Namespace string
    The namespace needed to determine the object storage bucket.
    Region string
    The destination Object Store Region specified by the customer.
    bucket String
    The bucket name where usage or cost CSVs will be uploaded.
    locationType String
    Defines the type of location where the usage or cost CSVs will be stored.
    namespace String
    The namespace needed to determine the object storage bucket.
    region String
    The destination Object Store Region specified by the customer.
    bucket string
    The bucket name where usage or cost CSVs will be uploaded.
    locationType string
    Defines the type of location where the usage or cost CSVs will be stored.
    namespace string
    The namespace needed to determine the object storage bucket.
    region string
    The destination Object Store Region specified by the customer.
    bucket str
    The bucket name where usage or cost CSVs will be uploaded.
    location_type str
    Defines the type of location where the usage or cost CSVs will be stored.
    namespace str
    The namespace needed to determine the object storage bucket.
    region str
    The destination Object Store Region specified by the customer.
    bucket String
    The bucket name where usage or cost CSVs will be uploaded.
    locationType String
    Defines the type of location where the usage or cost CSVs will be stored.
    namespace String
    The namespace needed to determine the object storage bucket.
    region String
    The destination Object Store Region specified by the customer.

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v2.2.0 published on Friday, Jul 12, 2024 by Pulumi