rhizo-co-terraform-provider-oci
Version:
Prebuilt oci Provider for Terraform CDK (cdktf)
301 lines (300 loc) • 17.1 kB
TypeScript
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface DataOciOnesubscriptionComputedUsagesConfig extends cdktf.TerraformMetaArguments {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/onesubscription_computed_usages#compartment_id DataOciOnesubscriptionComputedUsages#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_usages#computed_product DataOciOnesubscriptionComputedUsages#computed_product}
*/
readonly computedProduct?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/onesubscription_computed_usages#id DataOciOnesubscriptionComputedUsages#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_computed_usages#parent_product DataOciOnesubscriptionComputedUsages#parent_product}
*/
readonly parentProduct?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/onesubscription_computed_usages#subscription_id DataOciOnesubscriptionComputedUsages#subscription_id}
*/
readonly subscriptionId: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/onesubscription_computed_usages#time_from DataOciOnesubscriptionComputedUsages#time_from}
*/
readonly timeFrom: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/onesubscription_computed_usages#time_to DataOciOnesubscriptionComputedUsages#time_to}
*/
readonly timeTo: string;
/**
* filter block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/onesubscription_computed_usages#filter DataOciOnesubscriptionComputedUsages#filter}
*/
readonly filter?: DataOciOnesubscriptionComputedUsagesFilter[] | cdktf.IResolvable;
}
export interface DataOciOnesubscriptionComputedUsagesComputedUsagesParentProduct {
}
export declare function dataOciOnesubscriptionComputedUsagesComputedUsagesParentProductToTerraform(struct?: DataOciOnesubscriptionComputedUsagesComputedUsagesParentProduct): any;
export declare function dataOciOnesubscriptionComputedUsagesComputedUsagesParentProductToHclTerraform(struct?: DataOciOnesubscriptionComputedUsagesComputedUsagesParentProduct): any;
export declare class DataOciOnesubscriptionComputedUsagesComputedUsagesParentProductOutputReference 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(): DataOciOnesubscriptionComputedUsagesComputedUsagesParentProduct | undefined;
set internalValue(value: DataOciOnesubscriptionComputedUsagesComputedUsagesParentProduct | 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 DataOciOnesubscriptionComputedUsagesComputedUsagesParentProductList 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): DataOciOnesubscriptionComputedUsagesComputedUsagesParentProductOutputReference;
}
export interface DataOciOnesubscriptionComputedUsagesComputedUsagesProduct {
}
export declare function dataOciOnesubscriptionComputedUsagesComputedUsagesProductToTerraform(struct?: DataOciOnesubscriptionComputedUsagesComputedUsagesProduct): any;
export declare function dataOciOnesubscriptionComputedUsagesComputedUsagesProductToHclTerraform(struct?: DataOciOnesubscriptionComputedUsagesComputedUsagesProduct): any;
export declare class DataOciOnesubscriptionComputedUsagesComputedUsagesProductOutputReference 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(): DataOciOnesubscriptionComputedUsagesComputedUsagesProduct | undefined;
set internalValue(value: DataOciOnesubscriptionComputedUsagesComputedUsagesProduct | 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 DataOciOnesubscriptionComputedUsagesComputedUsagesProductList 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): DataOciOnesubscriptionComputedUsagesComputedUsagesProductOutputReference;
}
export interface DataOciOnesubscriptionComputedUsagesComputedUsages {
}
export declare function dataOciOnesubscriptionComputedUsagesComputedUsagesToTerraform(struct?: DataOciOnesubscriptionComputedUsagesComputedUsages): any;
export declare function dataOciOnesubscriptionComputedUsagesComputedUsagesToHclTerraform(struct?: DataOciOnesubscriptionComputedUsagesComputedUsages): any;
export declare class DataOciOnesubscriptionComputedUsagesComputedUsagesOutputReference 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(): DataOciOnesubscriptionComputedUsagesComputedUsages | undefined;
set internalValue(value: DataOciOnesubscriptionComputedUsagesComputedUsages | 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(): DataOciOnesubscriptionComputedUsagesComputedUsagesParentProductList;
get parentSubscribedServiceId(): string;
get planNumber(): string;
private _product;
get product(): DataOciOnesubscriptionComputedUsagesComputedUsagesProductList;
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 DataOciOnesubscriptionComputedUsagesComputedUsagesList 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): DataOciOnesubscriptionComputedUsagesComputedUsagesOutputReference;
}
export interface DataOciOnesubscriptionComputedUsagesFilter {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/onesubscription_computed_usages#name DataOciOnesubscriptionComputedUsages#name}
*/
readonly name: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/onesubscription_computed_usages#regex DataOciOnesubscriptionComputedUsages#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_computed_usages#values DataOciOnesubscriptionComputedUsages#values}
*/
readonly values: string[];
}
export declare function dataOciOnesubscriptionComputedUsagesFilterToTerraform(struct?: DataOciOnesubscriptionComputedUsagesFilter | cdktf.IResolvable): any;
export declare function dataOciOnesubscriptionComputedUsagesFilterToHclTerraform(struct?: DataOciOnesubscriptionComputedUsagesFilter | cdktf.IResolvable): any;
export declare class DataOciOnesubscriptionComputedUsagesFilterOutputReference 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(): DataOciOnesubscriptionComputedUsagesFilter | cdktf.IResolvable | undefined;
set internalValue(value: DataOciOnesubscriptionComputedUsagesFilter | 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 DataOciOnesubscriptionComputedUsagesFilterList extends cdktf.ComplexList {
protected terraformResource: cdktf.IInterpolatingParent;
protected terraformAttribute: string;
protected wrapsSet: boolean;
internalValue?: DataOciOnesubscriptionComputedUsagesFilter[] | 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): DataOciOnesubscriptionComputedUsagesFilterOutputReference;
}
/**
* Represents a {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/onesubscription_computed_usages oci_onesubscription_computed_usages}
*/
export declare class DataOciOnesubscriptionComputedUsages extends cdktf.TerraformDataSource {
static readonly tfResourceType = "oci_onesubscription_computed_usages";
/**
* Generates CDKTF code for importing a DataOciOnesubscriptionComputedUsages 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 DataOciOnesubscriptionComputedUsages to import
* @param importFromId The id of the existing DataOciOnesubscriptionComputedUsages that should be imported. Refer to the {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/onesubscription_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 DataOciOnesubscriptionComputedUsages 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_usages oci_onesubscription_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 DataOciOnesubscriptionComputedUsagesConfig
*/
constructor(scope: Construct, id: string, config: DataOciOnesubscriptionComputedUsagesConfig);
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(): DataOciOnesubscriptionComputedUsagesComputedUsagesList;
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 _filter;
get filter(): DataOciOnesubscriptionComputedUsagesFilterList;
putFilter(value: DataOciOnesubscriptionComputedUsagesFilter[] | cdktf.IResolvable): void;
resetFilter(): void;
get filterInput(): cdktf.IResolvable | DataOciOnesubscriptionComputedUsagesFilter[] | undefined;
protected synthesizeAttributes(): {
[name: string]: any;
};
protected synthesizeHclAttributes(): {
[name: string]: any;
};
}