rhizo-co-terraform-provider-oci
Version:
Prebuilt oci Provider for Terraform CDK (cdktf)
310 lines (309 loc) • 17.1 kB
TypeScript
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface DataOciOsubUsageComputedUsagesConfig extends cdktf.TerraformMetaArguments {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/osub_usage_computed_usages#compartment_id DataOciOsubUsageComputedUsages#compartment_id}
*/
readonly compartmentId: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/osub_usage_computed_usages#computed_product DataOciOsubUsageComputedUsages#computed_product}
*/
readonly computedProduct?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/osub_usage_computed_usages#id DataOciOsubUsageComputedUsages#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/data-sources/osub_usage_computed_usages#parent_product DataOciOsubUsageComputedUsages#parent_product}
*/
readonly parentProduct?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/osub_usage_computed_usages#subscription_id DataOciOsubUsageComputedUsages#subscription_id}
*/
readonly subscriptionId: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/osub_usage_computed_usages#time_from DataOciOsubUsageComputedUsages#time_from}
*/
readonly timeFrom: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/osub_usage_computed_usages#time_to DataOciOsubUsageComputedUsages#time_to}
*/
readonly timeTo: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/osub_usage_computed_usages#x_one_origin_region DataOciOsubUsageComputedUsages#x_one_origin_region}
*/
readonly xOneOriginRegion?: string;
/**
* filter block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/osub_usage_computed_usages#filter DataOciOsubUsageComputedUsages#filter}
*/
readonly filter?: DataOciOsubUsageComputedUsagesFilter[] | cdktf.IResolvable;
}
export interface DataOciOsubUsageComputedUsagesComputedUsagesParentProduct {
}
export declare function dataOciOsubUsageComputedUsagesComputedUsagesParentProductToTerraform(struct?: DataOciOsubUsageComputedUsagesComputedUsagesParentProduct): any;
export declare function dataOciOsubUsageComputedUsagesComputedUsagesParentProductToHclTerraform(struct?: DataOciOsubUsageComputedUsagesComputedUsagesParentProduct): any;
export declare class DataOciOsubUsageComputedUsagesComputedUsagesParentProductOutputReference 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(): DataOciOsubUsageComputedUsagesComputedUsagesParentProduct | undefined;
set internalValue(value: DataOciOsubUsageComputedUsagesComputedUsagesParentProduct | undefined);
get billingCategory(): string;
get name(): string;
get partNumber(): string;
get productCategory(): string;
get provisioningGroup(): string;
get ucmRateCardPartType(): string;
get unitOfMeasure(): string;
}
export declare class DataOciOsubUsageComputedUsagesComputedUsagesParentProductList 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): DataOciOsubUsageComputedUsagesComputedUsagesParentProductOutputReference;
}
export interface DataOciOsubUsageComputedUsagesComputedUsagesProduct {
}
export declare function dataOciOsubUsageComputedUsagesComputedUsagesProductToTerraform(struct?: DataOciOsubUsageComputedUsagesComputedUsagesProduct): any;
export declare function dataOciOsubUsageComputedUsagesComputedUsagesProductToHclTerraform(struct?: DataOciOsubUsageComputedUsagesComputedUsagesProduct): any;
export declare class DataOciOsubUsageComputedUsagesComputedUsagesProductOutputReference 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(): DataOciOsubUsageComputedUsagesComputedUsagesProduct | undefined;
set internalValue(value: DataOciOsubUsageComputedUsagesComputedUsagesProduct | undefined);
get billingCategory(): string;
get name(): string;
get partNumber(): string;
get productCategory(): string;
get provisioningGroup(): string;
get ucmRateCardPartType(): string;
get unitOfMeasure(): string;
}
export declare class DataOciOsubUsageComputedUsagesComputedUsagesProductList 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): DataOciOsubUsageComputedUsagesComputedUsagesProductOutputReference;
}
export interface DataOciOsubUsageComputedUsagesComputedUsages {
}
export declare function dataOciOsubUsageComputedUsagesComputedUsagesToTerraform(struct?: DataOciOsubUsageComputedUsagesComputedUsages): any;
export declare function dataOciOsubUsageComputedUsagesComputedUsagesToHclTerraform(struct?: DataOciOsubUsageComputedUsagesComputedUsages): any;
export declare class DataOciOsubUsageComputedUsagesComputedUsagesOutputReference 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(): DataOciOsubUsageComputedUsagesComputedUsages | undefined;
set internalValue(value: DataOciOsubUsageComputedUsagesComputedUsages | undefined);
get commitmentServiceId(): string;
get computeSource(): string;
get computedUsageId(): string;
get cost(): string;
get costRounded(): string;
get currencyCode(): string;
get dataCenter(): string;
get id(): string;
get isInvoiced(): cdktf.IResolvable;
get mqsMessageId(): string;
get netUnitPrice(): string;
get originalUsageNumber(): string;
private _parentProduct;
get parentProduct(): DataOciOsubUsageComputedUsagesComputedUsagesParentProductList;
get parentSubscribedServiceId(): string;
get planNumber(): string;
private _product;
get product(): DataOciOsubUsageComputedUsagesComputedUsagesProductList;
get quantity(): string;
get rateCardId(): string;
get rateCardTierdId(): string;
get timeCreated(): string;
get timeMeteredOn(): string;
get timeOfArrival(): string;
get timeUpdated(): string;
get type(): string;
get unitOfMeasure(): string;
get usageNumber(): string;
}
export declare class DataOciOsubUsageComputedUsagesComputedUsagesList 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): DataOciOsubUsageComputedUsagesComputedUsagesOutputReference;
}
export interface DataOciOsubUsageComputedUsagesFilter {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/osub_usage_computed_usages#name DataOciOsubUsageComputedUsages#name}
*/
readonly name: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/osub_usage_computed_usages#regex DataOciOsubUsageComputedUsages#regex}
*/
readonly regex?: boolean | cdktf.IResolvable;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/osub_usage_computed_usages#values DataOciOsubUsageComputedUsages#values}
*/
readonly values: string[];
}
export declare function dataOciOsubUsageComputedUsagesFilterToTerraform(struct?: DataOciOsubUsageComputedUsagesFilter | cdktf.IResolvable): any;
export declare function dataOciOsubUsageComputedUsagesFilterToHclTerraform(struct?: DataOciOsubUsageComputedUsagesFilter | cdktf.IResolvable): any;
export declare class DataOciOsubUsageComputedUsagesFilterOutputReference 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(): DataOciOsubUsageComputedUsagesFilter | cdktf.IResolvable | undefined;
set internalValue(value: DataOciOsubUsageComputedUsagesFilter | cdktf.IResolvable | undefined);
private _name?;
get name(): string;
set name(value: string);
get nameInput(): string | undefined;
private _regex?;
get regex(): boolean | cdktf.IResolvable;
set regex(value: boolean | cdktf.IResolvable);
resetRegex(): void;
get regexInput(): boolean | cdktf.IResolvable | undefined;
private _values?;
get values(): string[];
set values(value: string[]);
get valuesInput(): string[] | undefined;
}
export declare class DataOciOsubUsageComputedUsagesFilterList extends cdktf.ComplexList {
protected terraformResource: cdktf.IInterpolatingParent;
protected terraformAttribute: string;
protected wrapsSet: boolean;
internalValue?: DataOciOsubUsageComputedUsagesFilter[] | 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): DataOciOsubUsageComputedUsagesFilterOutputReference;
}
/**
* Represents a {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/osub_usage_computed_usages oci_osub_usage_computed_usages}
*/
export declare class DataOciOsubUsageComputedUsages extends cdktf.TerraformDataSource {
static readonly tfResourceType = "oci_osub_usage_computed_usages";
/**
* Generates CDKTF code for importing a DataOciOsubUsageComputedUsages 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 DataOciOsubUsageComputedUsages to import
* @param importFromId The id of the existing DataOciOsubUsageComputedUsages that should be imported. Refer to the {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/osub_usage_computed_usages#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the DataOciOsubUsageComputedUsages 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/data-sources/osub_usage_computed_usages oci_osub_usage_computed_usages} Data Source
*
* @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 DataOciOsubUsageComputedUsagesConfig
*/
constructor(scope: Construct, id: string, config: DataOciOsubUsageComputedUsagesConfig);
private _compartmentId?;
get compartmentId(): string;
set compartmentId(value: string);
get compartmentIdInput(): string | undefined;
private _computedProduct?;
get computedProduct(): string;
set computedProduct(value: string);
resetComputedProduct(): void;
get computedProductInput(): string | undefined;
private _computedUsages;
get computedUsages(): DataOciOsubUsageComputedUsagesComputedUsagesList;
private _id?;
get id(): string;
set id(value: string);
resetId(): void;
get idInput(): string | undefined;
private _parentProduct?;
get parentProduct(): string;
set parentProduct(value: string);
resetParentProduct(): void;
get parentProductInput(): string | undefined;
private _subscriptionId?;
get subscriptionId(): string;
set subscriptionId(value: string);
get subscriptionIdInput(): string | undefined;
private _timeFrom?;
get timeFrom(): string;
set timeFrom(value: string);
get timeFromInput(): string | undefined;
private _timeTo?;
get timeTo(): string;
set timeTo(value: string);
get timeToInput(): string | undefined;
private _xOneOriginRegion?;
get xOneOriginRegion(): string;
set xOneOriginRegion(value: string);
resetXOneOriginRegion(): void;
get xOneOriginRegionInput(): string | undefined;
private _filter;
get filter(): DataOciOsubUsageComputedUsagesFilterList;
putFilter(value: DataOciOsubUsageComputedUsagesFilter[] | cdktf.IResolvable): void;
resetFilter(): void;
get filterInput(): cdktf.IResolvable | DataOciOsubUsageComputedUsagesFilter[] | undefined;
protected synthesizeAttributes(): {
[name: string]: any;
};
protected synthesizeHclAttributes(): {
[name: string]: any;
};
}