UNPKG

rhizo-co-terraform-provider-oci

Version:

Prebuilt oci Provider for Terraform CDK (cdktf)

396 lines (395 loc) 20.3 kB
import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface MeteringComputationUsageConfig extends cdktf.TerraformMetaArguments { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/metering_computation_usage#compartment_depth MeteringComputationUsage#compartment_depth} */ readonly compartmentDepth?: number; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/metering_computation_usage#filter MeteringComputationUsage#filter} */ readonly filter?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/metering_computation_usage#granularity MeteringComputationUsage#granularity} */ readonly granularity: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/metering_computation_usage#group_by MeteringComputationUsage#group_by} */ readonly groupBy?: string[]; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/metering_computation_usage#id MeteringComputationUsage#id} * * Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. * If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable. */ readonly id?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/metering_computation_usage#is_aggregate_by_time MeteringComputationUsage#is_aggregate_by_time} */ readonly isAggregateByTime?: boolean | cdktf.IResolvable; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/metering_computation_usage#query_type MeteringComputationUsage#query_type} */ readonly queryType?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/metering_computation_usage#tenant_id MeteringComputationUsage#tenant_id} */ readonly tenantId: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/metering_computation_usage#time_usage_ended MeteringComputationUsage#time_usage_ended} */ readonly timeUsageEnded: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/metering_computation_usage#time_usage_started MeteringComputationUsage#time_usage_started} */ readonly timeUsageStarted: string; /** * forecast block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/metering_computation_usage#forecast MeteringComputationUsage#forecast} */ readonly forecast?: MeteringComputationUsageForecast; /** * group_by_tag block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/metering_computation_usage#group_by_tag MeteringComputationUsage#group_by_tag} */ readonly groupByTag?: MeteringComputationUsageGroupByTag[] | cdktf.IResolvable; /** * timeouts block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/metering_computation_usage#timeouts MeteringComputationUsage#timeouts} */ readonly timeouts?: MeteringComputationUsageTimeouts; } export interface MeteringComputationUsageItemsTags { } export declare function meteringComputationUsageItemsTagsToTerraform(struct?: MeteringComputationUsageItemsTags): any; export declare function meteringComputationUsageItemsTagsToHclTerraform(struct?: MeteringComputationUsageItemsTags): any; export declare class MeteringComputationUsageItemsTagsOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean); get internalValue(): MeteringComputationUsageItemsTags | undefined; set internalValue(value: MeteringComputationUsageItemsTags | undefined); get key(): string; get namespace(): string; get value(): string; } export declare class MeteringComputationUsageItemsTagsList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean); /** * @param index the index of the item to return */ get(index: number): MeteringComputationUsageItemsTagsOutputReference; } export interface MeteringComputationUsageItems { } export declare function meteringComputationUsageItemsToTerraform(struct?: MeteringComputationUsageItems): any; export declare function meteringComputationUsageItemsToHclTerraform(struct?: MeteringComputationUsageItems): any; export declare class MeteringComputationUsageItemsOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean); get internalValue(): MeteringComputationUsageItems | undefined; set internalValue(value: MeteringComputationUsageItems | undefined); get ad(): string; get attributedCost(): string; get attributedUsage(): string; get compartmentId(): string; get compartmentName(): string; get compartmentPath(): string; get computedAmount(): number; get computedQuantity(): number; get currency(): string; get discount(): number; get isForecast(): cdktf.IResolvable; get listRate(): number; get overage(): string; get overagesFlag(): string; get platform(): string; get region(): string; get resourceId(): string; get resourceName(): string; get service(): string; get shape(): string; get skuName(): string; get skuPartNumber(): string; get subscriptionId(): string; private _tags; get tags(): MeteringComputationUsageItemsTagsList; get tenantId(): string; get tenantName(): string; get timeUsageEnded(): string; get timeUsageStarted(): string; get unit(): string; get unitPrice(): number; get weight(): number; } export declare class MeteringComputationUsageItemsList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean); /** * @param index the index of the item to return */ get(index: number): MeteringComputationUsageItemsOutputReference; } export interface MeteringComputationUsageForecast { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/metering_computation_usage#forecast_type MeteringComputationUsage#forecast_type} */ readonly forecastType?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/metering_computation_usage#time_forecast_ended MeteringComputationUsage#time_forecast_ended} */ readonly timeForecastEnded: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/metering_computation_usage#time_forecast_started MeteringComputationUsage#time_forecast_started} */ readonly timeForecastStarted?: string; } export declare function meteringComputationUsageForecastToTerraform(struct?: MeteringComputationUsageForecastOutputReference | MeteringComputationUsageForecast): any; export declare function meteringComputationUsageForecastToHclTerraform(struct?: MeteringComputationUsageForecastOutputReference | MeteringComputationUsageForecast): any; export declare class MeteringComputationUsageForecastOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): MeteringComputationUsageForecast | undefined; set internalValue(value: MeteringComputationUsageForecast | undefined); private _forecastType?; get forecastType(): string; set forecastType(value: string); resetForecastType(): void; get forecastTypeInput(): string | undefined; private _timeForecastEnded?; get timeForecastEnded(): string; set timeForecastEnded(value: string); get timeForecastEndedInput(): string | undefined; private _timeForecastStarted?; get timeForecastStarted(): string; set timeForecastStarted(value: string); resetTimeForecastStarted(): void; get timeForecastStartedInput(): string | undefined; } export interface MeteringComputationUsageGroupByTag { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/metering_computation_usage#key MeteringComputationUsage#key} */ readonly key?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/metering_computation_usage#namespace MeteringComputationUsage#namespace} */ readonly namespace?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/metering_computation_usage#value MeteringComputationUsage#value} */ readonly value?: string; } export declare function meteringComputationUsageGroupByTagToTerraform(struct?: MeteringComputationUsageGroupByTag | cdktf.IResolvable): any; export declare function meteringComputationUsageGroupByTagToHclTerraform(struct?: MeteringComputationUsageGroupByTag | cdktf.IResolvable): any; export declare class MeteringComputationUsageGroupByTagOutputReference extends cdktf.ComplexObject { private isEmptyObject; private resolvableValue?; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean); get internalValue(): MeteringComputationUsageGroupByTag | cdktf.IResolvable | undefined; set internalValue(value: MeteringComputationUsageGroupByTag | cdktf.IResolvable | undefined); private _key?; get key(): string; set key(value: string); resetKey(): void; get keyInput(): string | undefined; private _namespace?; get namespace(): string; set namespace(value: string); resetNamespace(): void; get namespaceInput(): string | undefined; private _value?; get value(): string; set value(value: string); resetValue(): void; get valueInput(): string | undefined; } export declare class MeteringComputationUsageGroupByTagList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: MeteringComputationUsageGroupByTag[] | cdktf.IResolvable; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean); /** * @param index the index of the item to return */ get(index: number): MeteringComputationUsageGroupByTagOutputReference; } export interface MeteringComputationUsageTimeouts { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/metering_computation_usage#create MeteringComputationUsage#create} */ readonly create?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/metering_computation_usage#delete MeteringComputationUsage#delete} */ readonly delete?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/metering_computation_usage#update MeteringComputationUsage#update} */ readonly update?: string; } export declare function meteringComputationUsageTimeoutsToTerraform(struct?: MeteringComputationUsageTimeouts | cdktf.IResolvable): any; export declare function meteringComputationUsageTimeoutsToHclTerraform(struct?: MeteringComputationUsageTimeouts | cdktf.IResolvable): any; export declare class MeteringComputationUsageTimeoutsOutputReference extends cdktf.ComplexObject { private isEmptyObject; private resolvableValue?; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): MeteringComputationUsageTimeouts | cdktf.IResolvable | undefined; set internalValue(value: MeteringComputationUsageTimeouts | cdktf.IResolvable | undefined); private _create?; get create(): string; set create(value: string); resetCreate(): void; get createInput(): string | undefined; private _delete?; get delete(): string; set delete(value: string); resetDelete(): void; get deleteInput(): string | undefined; private _update?; get update(): string; set update(value: string); resetUpdate(): void; get updateInput(): string | undefined; } /** * Represents a {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/metering_computation_usage oci_metering_computation_usage} */ export declare class MeteringComputationUsage extends cdktf.TerraformResource { static readonly tfResourceType = "oci_metering_computation_usage"; /** * Generates CDKTF code for importing a MeteringComputationUsage resource upon running "cdktf plan <stack-name>" * @param scope The scope in which to define this construct * @param importToId The construct id used in the generated config for the MeteringComputationUsage to import * @param importFromId The id of the existing MeteringComputationUsage that should be imported. Refer to the {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/metering_computation_usage#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the MeteringComputationUsage to import is found */ static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): cdktf.ImportableResource; /** * Create a new {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/metering_computation_usage oci_metering_computation_usage} Resource * * @param scope The scope in which to define this construct * @param id The scoped construct ID. Must be unique amongst siblings in the same scope * @param options MeteringComputationUsageConfig */ constructor(scope: Construct, id: string, config: MeteringComputationUsageConfig); private _compartmentDepth?; get compartmentDepth(): number; set compartmentDepth(value: number); resetCompartmentDepth(): void; get compartmentDepthInput(): number | undefined; private _filter?; get filter(): string; set filter(value: string); resetFilter(): void; get filterInput(): string | undefined; private _granularity?; get granularity(): string; set granularity(value: string); get granularityInput(): string | undefined; private _groupBy?; get groupBy(): string[]; set groupBy(value: string[]); resetGroupBy(): void; get groupByInput(): string[] | undefined; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string | undefined; private _isAggregateByTime?; get isAggregateByTime(): boolean | cdktf.IResolvable; set isAggregateByTime(value: boolean | cdktf.IResolvable); resetIsAggregateByTime(): void; get isAggregateByTimeInput(): boolean | cdktf.IResolvable | undefined; private _items; get items(): MeteringComputationUsageItemsList; private _queryType?; get queryType(): string; set queryType(value: string); resetQueryType(): void; get queryTypeInput(): string | undefined; private _tenantId?; get tenantId(): string; set tenantId(value: string); get tenantIdInput(): string | undefined; private _timeUsageEnded?; get timeUsageEnded(): string; set timeUsageEnded(value: string); get timeUsageEndedInput(): string | undefined; private _timeUsageStarted?; get timeUsageStarted(): string; set timeUsageStarted(value: string); get timeUsageStartedInput(): string | undefined; private _forecast; get forecast(): MeteringComputationUsageForecastOutputReference; putForecast(value: MeteringComputationUsageForecast): void; resetForecast(): void; get forecastInput(): MeteringComputationUsageForecast | undefined; private _groupByTag; get groupByTag(): MeteringComputationUsageGroupByTagList; putGroupByTag(value: MeteringComputationUsageGroupByTag[] | cdktf.IResolvable): void; resetGroupByTag(): void; get groupByTagInput(): cdktf.IResolvable | MeteringComputationUsageGroupByTag[] | undefined; private _timeouts; get timeouts(): MeteringComputationUsageTimeoutsOutputReference; putTimeouts(value: MeteringComputationUsageTimeouts): void; resetTimeouts(): void; get timeoutsInput(): cdktf.IResolvable | MeteringComputationUsageTimeouts | undefined; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }