rhizo-co-terraform-provider-oci
Version:
Prebuilt oci Provider for Terraform CDK (cdktf)
256 lines (255 loc) • 16.4 kB
TypeScript
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface DataOciOnesubscriptionInvoiceLineComputedUsagesConfig extends cdktf.TerraformMetaArguments {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/onesubscription_invoice_line_computed_usages#compartment_id DataOciOnesubscriptionInvoiceLineComputedUsages#compartment_id}
*/
readonly compartmentId: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/onesubscription_invoice_line_computed_usages#fields DataOciOnesubscriptionInvoiceLineComputedUsages#fields}
*/
readonly fields?: string[];
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/onesubscription_invoice_line_computed_usages#id DataOciOnesubscriptionInvoiceLineComputedUsages#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/onesubscription_invoice_line_computed_usages#invoice_line_id DataOciOnesubscriptionInvoiceLineComputedUsages#invoice_line_id}
*/
readonly invoiceLineId: string;
/**
* filter block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/onesubscription_invoice_line_computed_usages#filter DataOciOnesubscriptionInvoiceLineComputedUsages#filter}
*/
readonly filter?: DataOciOnesubscriptionInvoiceLineComputedUsagesFilter[] | cdktf.IResolvable;
}
export interface DataOciOnesubscriptionInvoiceLineComputedUsagesInvoicelineComputedUsagesParentProduct {
}
export declare function dataOciOnesubscriptionInvoiceLineComputedUsagesInvoicelineComputedUsagesParentProductToTerraform(struct?: DataOciOnesubscriptionInvoiceLineComputedUsagesInvoicelineComputedUsagesParentProduct): any;
export declare function dataOciOnesubscriptionInvoiceLineComputedUsagesInvoicelineComputedUsagesParentProductToHclTerraform(struct?: DataOciOnesubscriptionInvoiceLineComputedUsagesInvoicelineComputedUsagesParentProduct): any;
export declare class DataOciOnesubscriptionInvoiceLineComputedUsagesInvoicelineComputedUsagesParentProductOutputReference 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(): DataOciOnesubscriptionInvoiceLineComputedUsagesInvoicelineComputedUsagesParentProduct | undefined;
set internalValue(value: DataOciOnesubscriptionInvoiceLineComputedUsagesInvoicelineComputedUsagesParentProduct | undefined);
get billingCategory(): string;
get name(): string;
get partNumber(): string;
get productCategory(): string;
get ucmRateCardPartType(): string;
get unitOfMeasure(): string;
}
export declare class DataOciOnesubscriptionInvoiceLineComputedUsagesInvoicelineComputedUsagesParentProductList 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): DataOciOnesubscriptionInvoiceLineComputedUsagesInvoicelineComputedUsagesParentProductOutputReference;
}
export interface DataOciOnesubscriptionInvoiceLineComputedUsagesInvoicelineComputedUsagesProduct {
}
export declare function dataOciOnesubscriptionInvoiceLineComputedUsagesInvoicelineComputedUsagesProductToTerraform(struct?: DataOciOnesubscriptionInvoiceLineComputedUsagesInvoicelineComputedUsagesProduct): any;
export declare function dataOciOnesubscriptionInvoiceLineComputedUsagesInvoicelineComputedUsagesProductToHclTerraform(struct?: DataOciOnesubscriptionInvoiceLineComputedUsagesInvoicelineComputedUsagesProduct): any;
export declare class DataOciOnesubscriptionInvoiceLineComputedUsagesInvoicelineComputedUsagesProductOutputReference 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(): DataOciOnesubscriptionInvoiceLineComputedUsagesInvoicelineComputedUsagesProduct | undefined;
set internalValue(value: DataOciOnesubscriptionInvoiceLineComputedUsagesInvoicelineComputedUsagesProduct | undefined);
get billingCategory(): string;
get name(): string;
get partNumber(): string;
get productCategory(): string;
get ucmRateCardPartType(): string;
get unitOfMeasure(): string;
}
export declare class DataOciOnesubscriptionInvoiceLineComputedUsagesInvoicelineComputedUsagesProductList 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): DataOciOnesubscriptionInvoiceLineComputedUsagesInvoicelineComputedUsagesProductOutputReference;
}
export interface DataOciOnesubscriptionInvoiceLineComputedUsagesInvoicelineComputedUsages {
}
export declare function dataOciOnesubscriptionInvoiceLineComputedUsagesInvoicelineComputedUsagesToTerraform(struct?: DataOciOnesubscriptionInvoiceLineComputedUsagesInvoicelineComputedUsages): any;
export declare function dataOciOnesubscriptionInvoiceLineComputedUsagesInvoicelineComputedUsagesToHclTerraform(struct?: DataOciOnesubscriptionInvoiceLineComputedUsagesInvoicelineComputedUsages): any;
export declare class DataOciOnesubscriptionInvoiceLineComputedUsagesInvoicelineComputedUsagesOutputReference 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(): DataOciOnesubscriptionInvoiceLineComputedUsagesInvoicelineComputedUsages | undefined;
set internalValue(value: DataOciOnesubscriptionInvoiceLineComputedUsagesInvoicelineComputedUsages | undefined);
get cost(): number;
get costRounded(): number;
get netUnitPrice(): number;
private _parentProduct;
get parentProduct(): DataOciOnesubscriptionInvoiceLineComputedUsagesInvoicelineComputedUsagesParentProductList;
private _product;
get product(): DataOciOnesubscriptionInvoiceLineComputedUsagesInvoicelineComputedUsagesProductList;
get quantity(): number;
get timeMeteredOn(): string;
get type(): string;
}
export declare class DataOciOnesubscriptionInvoiceLineComputedUsagesInvoicelineComputedUsagesList 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): DataOciOnesubscriptionInvoiceLineComputedUsagesInvoicelineComputedUsagesOutputReference;
}
export interface DataOciOnesubscriptionInvoiceLineComputedUsagesFilter {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/onesubscription_invoice_line_computed_usages#name DataOciOnesubscriptionInvoiceLineComputedUsages#name}
*/
readonly name: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/onesubscription_invoice_line_computed_usages#regex DataOciOnesubscriptionInvoiceLineComputedUsages#regex}
*/
readonly regex?: boolean | cdktf.IResolvable;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/onesubscription_invoice_line_computed_usages#values DataOciOnesubscriptionInvoiceLineComputedUsages#values}
*/
readonly values: string[];
}
export declare function dataOciOnesubscriptionInvoiceLineComputedUsagesFilterToTerraform(struct?: DataOciOnesubscriptionInvoiceLineComputedUsagesFilter | cdktf.IResolvable): any;
export declare function dataOciOnesubscriptionInvoiceLineComputedUsagesFilterToHclTerraform(struct?: DataOciOnesubscriptionInvoiceLineComputedUsagesFilter | cdktf.IResolvable): any;
export declare class DataOciOnesubscriptionInvoiceLineComputedUsagesFilterOutputReference 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(): DataOciOnesubscriptionInvoiceLineComputedUsagesFilter | cdktf.IResolvable | undefined;
set internalValue(value: DataOciOnesubscriptionInvoiceLineComputedUsagesFilter | 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 DataOciOnesubscriptionInvoiceLineComputedUsagesFilterList extends cdktf.ComplexList {
protected terraformResource: cdktf.IInterpolatingParent;
protected terraformAttribute: string;
protected wrapsSet: boolean;
internalValue?: DataOciOnesubscriptionInvoiceLineComputedUsagesFilter[] | 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): DataOciOnesubscriptionInvoiceLineComputedUsagesFilterOutputReference;
}
/**
* Represents a {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/onesubscription_invoice_line_computed_usages oci_onesubscription_invoice_line_computed_usages}
*/
export declare class DataOciOnesubscriptionInvoiceLineComputedUsages extends cdktf.TerraformDataSource {
static readonly tfResourceType = "oci_onesubscription_invoice_line_computed_usages";
/**
* Generates CDKTF code for importing a DataOciOnesubscriptionInvoiceLineComputedUsages 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 DataOciOnesubscriptionInvoiceLineComputedUsages to import
* @param importFromId The id of the existing DataOciOnesubscriptionInvoiceLineComputedUsages that should be imported. Refer to the {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/onesubscription_invoice_line_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 DataOciOnesubscriptionInvoiceLineComputedUsages 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/onesubscription_invoice_line_computed_usages oci_onesubscription_invoice_line_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 DataOciOnesubscriptionInvoiceLineComputedUsagesConfig
*/
constructor(scope: Construct, id: string, config: DataOciOnesubscriptionInvoiceLineComputedUsagesConfig);
private _compartmentId?;
get compartmentId(): string;
set compartmentId(value: string);
get compartmentIdInput(): string | undefined;
private _fields?;
get fields(): string[];
set fields(value: string[]);
resetFields(): void;
get fieldsInput(): string[] | undefined;
private _id?;
get id(): string;
set id(value: string);
resetId(): void;
get idInput(): string | undefined;
private _invoiceLineId?;
get invoiceLineId(): string;
set invoiceLineId(value: string);
get invoiceLineIdInput(): string | undefined;
private _invoicelineComputedUsages;
get invoicelineComputedUsages(): DataOciOnesubscriptionInvoiceLineComputedUsagesInvoicelineComputedUsagesList;
private _filter;
get filter(): DataOciOnesubscriptionInvoiceLineComputedUsagesFilterList;
putFilter(value: DataOciOnesubscriptionInvoiceLineComputedUsagesFilter[] | cdktf.IResolvable): void;
resetFilter(): void;
get filterInput(): cdktf.IResolvable | DataOciOnesubscriptionInvoiceLineComputedUsagesFilter[] | undefined;
protected synthesizeAttributes(): {
[name: string]: any;
};
protected synthesizeHclAttributes(): {
[name: string]: any;
};
}