rhizo-co-terraform-provider-oci
Version:
Prebuilt oci Provider for Terraform CDK (cdktf)
172 lines (171 loc) • 9.34 kB
TypeScript
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface DataOciOnesubscriptionComputedUsageConfig extends cdktf.TerraformMetaArguments {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/onesubscription_computed_usage#compartment_id DataOciOnesubscriptionComputedUsage#compartment_id}
*/
readonly compartmentId: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/onesubscription_computed_usage#computed_usage_id DataOciOnesubscriptionComputedUsage#computed_usage_id}
*/
readonly computedUsageId: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/onesubscription_computed_usage#fields DataOciOnesubscriptionComputedUsage#fields}
*/
readonly fields?: string[];
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/onesubscription_computed_usage#id DataOciOnesubscriptionComputedUsage#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;
}
export interface DataOciOnesubscriptionComputedUsageParentProduct {
}
export declare function dataOciOnesubscriptionComputedUsageParentProductToTerraform(struct?: DataOciOnesubscriptionComputedUsageParentProduct): any;
export declare function dataOciOnesubscriptionComputedUsageParentProductToHclTerraform(struct?: DataOciOnesubscriptionComputedUsageParentProduct): any;
export declare class DataOciOnesubscriptionComputedUsageParentProductOutputReference 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(): DataOciOnesubscriptionComputedUsageParentProduct | undefined;
set internalValue(value: DataOciOnesubscriptionComputedUsageParentProduct | 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 DataOciOnesubscriptionComputedUsageParentProductList 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): DataOciOnesubscriptionComputedUsageParentProductOutputReference;
}
export interface DataOciOnesubscriptionComputedUsageProduct {
}
export declare function dataOciOnesubscriptionComputedUsageProductToTerraform(struct?: DataOciOnesubscriptionComputedUsageProduct): any;
export declare function dataOciOnesubscriptionComputedUsageProductToHclTerraform(struct?: DataOciOnesubscriptionComputedUsageProduct): any;
export declare class DataOciOnesubscriptionComputedUsageProductOutputReference 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(): DataOciOnesubscriptionComputedUsageProduct | undefined;
set internalValue(value: DataOciOnesubscriptionComputedUsageProduct | 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 DataOciOnesubscriptionComputedUsageProductList 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): DataOciOnesubscriptionComputedUsageProductOutputReference;
}
/**
* Represents a {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/onesubscription_computed_usage oci_onesubscription_computed_usage}
*/
export declare class DataOciOnesubscriptionComputedUsage extends cdktf.TerraformDataSource {
static readonly tfResourceType = "oci_onesubscription_computed_usage";
/**
* Generates CDKTF code for importing a DataOciOnesubscriptionComputedUsage 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 DataOciOnesubscriptionComputedUsage to import
* @param importFromId The id of the existing DataOciOnesubscriptionComputedUsage that should be imported. Refer to the {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/onesubscription_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 DataOciOnesubscriptionComputedUsage 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_computed_usage oci_onesubscription_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 DataOciOnesubscriptionComputedUsageConfig
*/
constructor(scope: Construct, id: string, config: DataOciOnesubscriptionComputedUsageConfig);
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(): DataOciOnesubscriptionComputedUsageParentProductList;
get parentSubscribedServiceId(): string;
get planNumber(): string;
private _product;
get product(): DataOciOnesubscriptionComputedUsageProductList;
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;
protected synthesizeAttributes(): {
[name: string]: any;
};
protected synthesizeHclAttributes(): {
[name: string]: any;
};
}