UNPKG

rhizo-co-terraform-provider-oci

Version:

Prebuilt oci Provider for Terraform CDK (cdktf)

116 lines (115 loc) 6.68 kB
import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface DataOciUsageProxySubscriptionProductConfig extends cdktf.TerraformMetaArguments { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/usage_proxy_subscription_product#id DataOciUsageProxySubscriptionProduct#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/usage_proxy_subscription_product#producttype DataOciUsageProxySubscriptionProduct#producttype} */ readonly producttype?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/usage_proxy_subscription_product#subscription_id DataOciUsageProxySubscriptionProduct#subscription_id} */ readonly subscriptionId: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/usage_proxy_subscription_product#tenancy_id DataOciUsageProxySubscriptionProduct#tenancy_id} */ readonly tenancyId: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/usage_proxy_subscription_product#usage_period_key DataOciUsageProxySubscriptionProduct#usage_period_key} */ readonly usagePeriodKey: string; } export interface DataOciUsageProxySubscriptionProductItems { } export declare function dataOciUsageProxySubscriptionProductItemsToTerraform(struct?: DataOciUsageProxySubscriptionProductItems): any; export declare function dataOciUsageProxySubscriptionProductItemsToHclTerraform(struct?: DataOciUsageProxySubscriptionProductItems): any; export declare class DataOciUsageProxySubscriptionProductItemsOutputReference 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(): DataOciUsageProxySubscriptionProductItems | undefined; set internalValue(value: DataOciUsageProxySubscriptionProductItems | undefined); get earnedRewards(): number; get isEligibleToEarnRewards(): cdktf.IResolvable; get productName(): string; get productNumber(): string; get usageAmount(): number; } export declare class DataOciUsageProxySubscriptionProductItemsList 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): DataOciUsageProxySubscriptionProductItemsOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/usage_proxy_subscription_product oci_usage_proxy_subscription_product} */ export declare class DataOciUsageProxySubscriptionProduct extends cdktf.TerraformDataSource { static readonly tfResourceType = "oci_usage_proxy_subscription_product"; /** * Generates CDKTF code for importing a DataOciUsageProxySubscriptionProduct 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 DataOciUsageProxySubscriptionProduct to import * @param importFromId The id of the existing DataOciUsageProxySubscriptionProduct that should be imported. Refer to the {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/usage_proxy_subscription_product#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the DataOciUsageProxySubscriptionProduct 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/usage_proxy_subscription_product oci_usage_proxy_subscription_product} 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 DataOciUsageProxySubscriptionProductConfig */ constructor(scope: Construct, id: string, config: DataOciUsageProxySubscriptionProductConfig); private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string | undefined; private _items; get items(): DataOciUsageProxySubscriptionProductItemsList; private _producttype?; get producttype(): string; set producttype(value: string); resetProducttype(): void; get producttypeInput(): string | undefined; private _subscriptionId?; get subscriptionId(): string; set subscriptionId(value: string); get subscriptionIdInput(): string | undefined; private _tenancyId?; get tenancyId(): string; set tenancyId(value: string); get tenancyIdInput(): string | undefined; private _usagePeriodKey?; get usagePeriodKey(): string; set usagePeriodKey(value: string); get usagePeriodKeyInput(): string | undefined; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }