rhizo-co-terraform-provider-oci
Version:
Prebuilt oci Provider for Terraform CDK (cdktf)
181 lines (180 loc) • 9.55 kB
TypeScript
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface DataOciOsubUsageComputedUsageConfig extends cdktf.TerraformMetaArguments {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/osub_usage_computed_usage#compartment_id DataOciOsubUsageComputedUsage#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_usage#computed_usage_id DataOciOsubUsageComputedUsage#computed_usage_id}
*/
readonly computedUsageId: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/osub_usage_computed_usage#fields DataOciOsubUsageComputedUsage#fields}
*/
readonly fields?: string[];
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/osub_usage_computed_usage#id DataOciOsubUsageComputedUsage#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_usage#x_one_origin_region DataOciOsubUsageComputedUsage#x_one_origin_region}
*/
readonly xOneOriginRegion?: string;
}
export interface DataOciOsubUsageComputedUsageParentProduct {
}
export declare function dataOciOsubUsageComputedUsageParentProductToTerraform(struct?: DataOciOsubUsageComputedUsageParentProduct): any;
export declare function dataOciOsubUsageComputedUsageParentProductToHclTerraform(struct?: DataOciOsubUsageComputedUsageParentProduct): any;
export declare class DataOciOsubUsageComputedUsageParentProductOutputReference 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(): DataOciOsubUsageComputedUsageParentProduct | undefined;
set internalValue(value: DataOciOsubUsageComputedUsageParentProduct | 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 DataOciOsubUsageComputedUsageParentProductList 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): DataOciOsubUsageComputedUsageParentProductOutputReference;
}
export interface DataOciOsubUsageComputedUsageProduct {
}
export declare function dataOciOsubUsageComputedUsageProductToTerraform(struct?: DataOciOsubUsageComputedUsageProduct): any;
export declare function dataOciOsubUsageComputedUsageProductToHclTerraform(struct?: DataOciOsubUsageComputedUsageProduct): any;
export declare class DataOciOsubUsageComputedUsageProductOutputReference 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(): DataOciOsubUsageComputedUsageProduct | undefined;
set internalValue(value: DataOciOsubUsageComputedUsageProduct | 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 DataOciOsubUsageComputedUsageProductList 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): DataOciOsubUsageComputedUsageProductOutputReference;
}
/**
* Represents a {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/osub_usage_computed_usage oci_osub_usage_computed_usage}
*/
export declare class DataOciOsubUsageComputedUsage extends cdktf.TerraformDataSource {
static readonly tfResourceType = "oci_osub_usage_computed_usage";
/**
* Generates CDKTF code for importing a DataOciOsubUsageComputedUsage 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 DataOciOsubUsageComputedUsage to import
* @param importFromId The id of the existing DataOciOsubUsageComputedUsage that should be imported. Refer to the {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/osub_usage_computed_usage#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the DataOciOsubUsageComputedUsage 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_usage oci_osub_usage_computed_usage} 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 DataOciOsubUsageComputedUsageConfig
*/
constructor(scope: Construct, id: string, config: DataOciOsubUsageComputedUsageConfig);
get commitmentServiceId(): string;
private _compartmentId?;
get compartmentId(): string;
set compartmentId(value: string);
get compartmentIdInput(): string | undefined;
get computeSource(): string;
private _computedUsageId?;
get computedUsageId(): string;
set computedUsageId(value: string);
get computedUsageIdInput(): string | undefined;
get cost(): string;
get costRounded(): string;
get currencyCode(): string;
get dataCenter(): string;
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;
get isInvoiced(): cdktf.IResolvable;
get mqsMessageId(): string;
get netUnitPrice(): string;
get originalUsageNumber(): string;
private _parentProduct;
get parentProduct(): DataOciOsubUsageComputedUsageParentProductList;
get parentSubscribedServiceId(): string;
get planNumber(): string;
private _product;
get product(): DataOciOsubUsageComputedUsageProductList;
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;
private _xOneOriginRegion?;
get xOneOriginRegion(): string;
set xOneOriginRegion(value: string);
resetXOneOriginRegion(): void;
get xOneOriginRegionInput(): string | undefined;
protected synthesizeAttributes(): {
[name: string]: any;
};
protected synthesizeHclAttributes(): {
[name: string]: any;
};
}