rhizo-co-terraform-provider-oci
Version:
Prebuilt oci Provider for Terraform CDK (cdktf)
321 lines (320 loc) • 16.3 kB
TypeScript
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface ApmSyntheticsScriptConfig extends cdktf.TerraformMetaArguments {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/apm_synthetics_script#apm_domain_id ApmSyntheticsScript#apm_domain_id}
*/
readonly apmDomainId: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/apm_synthetics_script#content ApmSyntheticsScript#content}
*/
readonly content: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/apm_synthetics_script#content_file_name ApmSyntheticsScript#content_file_name}
*/
readonly contentFileName?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/apm_synthetics_script#content_type ApmSyntheticsScript#content_type}
*/
readonly contentType: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/apm_synthetics_script#defined_tags ApmSyntheticsScript#defined_tags}
*/
readonly definedTags?: {
[key: string]: string;
};
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/apm_synthetics_script#display_name ApmSyntheticsScript#display_name}
*/
readonly displayName: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/apm_synthetics_script#freeform_tags ApmSyntheticsScript#freeform_tags}
*/
readonly freeformTags?: {
[key: string]: string;
};
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/apm_synthetics_script#id ApmSyntheticsScript#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;
/**
* parameters block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/apm_synthetics_script#parameters ApmSyntheticsScript#parameters}
*/
readonly parameters?: ApmSyntheticsScriptParameters[] | cdktf.IResolvable;
/**
* timeouts block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/apm_synthetics_script#timeouts ApmSyntheticsScript#timeouts}
*/
readonly timeouts?: ApmSyntheticsScriptTimeouts;
}
export interface ApmSyntheticsScriptMonitorStatusCountMap {
}
export declare function apmSyntheticsScriptMonitorStatusCountMapToTerraform(struct?: ApmSyntheticsScriptMonitorStatusCountMap): any;
export declare function apmSyntheticsScriptMonitorStatusCountMapToHclTerraform(struct?: ApmSyntheticsScriptMonitorStatusCountMap): any;
export declare class ApmSyntheticsScriptMonitorStatusCountMapOutputReference 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(): ApmSyntheticsScriptMonitorStatusCountMap | undefined;
set internalValue(value: ApmSyntheticsScriptMonitorStatusCountMap | undefined);
get disabled(): number;
get enabled(): number;
get invalid(): number;
get total(): number;
}
export declare class ApmSyntheticsScriptMonitorStatusCountMapList 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): ApmSyntheticsScriptMonitorStatusCountMapOutputReference;
}
export interface ApmSyntheticsScriptParametersScriptParameter {
}
export declare function apmSyntheticsScriptParametersScriptParameterToTerraform(struct?: ApmSyntheticsScriptParametersScriptParameter): any;
export declare function apmSyntheticsScriptParametersScriptParameterToHclTerraform(struct?: ApmSyntheticsScriptParametersScriptParameter): any;
export declare class ApmSyntheticsScriptParametersScriptParameterOutputReference 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(): ApmSyntheticsScriptParametersScriptParameter | undefined;
set internalValue(value: ApmSyntheticsScriptParametersScriptParameter | undefined);
get isSecret(): cdktf.IResolvable;
get paramName(): string;
get paramValue(): string;
}
export declare class ApmSyntheticsScriptParametersScriptParameterList 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): ApmSyntheticsScriptParametersScriptParameterOutputReference;
}
export interface ApmSyntheticsScriptParameters {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/apm_synthetics_script#is_secret ApmSyntheticsScript#is_secret}
*/
readonly isSecret?: boolean | cdktf.IResolvable;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/apm_synthetics_script#param_name ApmSyntheticsScript#param_name}
*/
readonly paramName: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/apm_synthetics_script#param_value ApmSyntheticsScript#param_value}
*/
readonly paramValue?: string;
}
export declare function apmSyntheticsScriptParametersToTerraform(struct?: ApmSyntheticsScriptParameters | cdktf.IResolvable): any;
export declare function apmSyntheticsScriptParametersToHclTerraform(struct?: ApmSyntheticsScriptParameters | cdktf.IResolvable): any;
export declare class ApmSyntheticsScriptParametersOutputReference 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(): ApmSyntheticsScriptParameters | cdktf.IResolvable | undefined;
set internalValue(value: ApmSyntheticsScriptParameters | cdktf.IResolvable | undefined);
get isOverwritten(): cdktf.IResolvable;
private _isSecret?;
get isSecret(): boolean | cdktf.IResolvable;
set isSecret(value: boolean | cdktf.IResolvable);
resetIsSecret(): void;
get isSecretInput(): boolean | cdktf.IResolvable | undefined;
private _paramName?;
get paramName(): string;
set paramName(value: string);
get paramNameInput(): string | undefined;
private _paramValue?;
get paramValue(): string;
set paramValue(value: string);
resetParamValue(): void;
get paramValueInput(): string | undefined;
private _scriptParameter;
get scriptParameter(): ApmSyntheticsScriptParametersScriptParameterList;
}
export declare class ApmSyntheticsScriptParametersList extends cdktf.ComplexList {
protected terraformResource: cdktf.IInterpolatingParent;
protected terraformAttribute: string;
protected wrapsSet: boolean;
internalValue?: ApmSyntheticsScriptParameters[] | 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): ApmSyntheticsScriptParametersOutputReference;
}
export interface ApmSyntheticsScriptTimeouts {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/apm_synthetics_script#create ApmSyntheticsScript#create}
*/
readonly create?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/apm_synthetics_script#delete ApmSyntheticsScript#delete}
*/
readonly delete?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/apm_synthetics_script#update ApmSyntheticsScript#update}
*/
readonly update?: string;
}
export declare function apmSyntheticsScriptTimeoutsToTerraform(struct?: ApmSyntheticsScriptTimeouts | cdktf.IResolvable): any;
export declare function apmSyntheticsScriptTimeoutsToHclTerraform(struct?: ApmSyntheticsScriptTimeouts | cdktf.IResolvable): any;
export declare class ApmSyntheticsScriptTimeoutsOutputReference extends cdktf.ComplexObject {
private isEmptyObject;
private resolvableValue?;
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
*/
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
get internalValue(): ApmSyntheticsScriptTimeouts | cdktf.IResolvable | undefined;
set internalValue(value: ApmSyntheticsScriptTimeouts | cdktf.IResolvable | undefined);
private _create?;
get create(): string;
set create(value: string);
resetCreate(): void;
get createInput(): string | undefined;
private _delete?;
get delete(): string;
set delete(value: string);
resetDelete(): void;
get deleteInput(): string | undefined;
private _update?;
get update(): string;
set update(value: string);
resetUpdate(): void;
get updateInput(): string | undefined;
}
/**
* Represents a {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/apm_synthetics_script oci_apm_synthetics_script}
*/
export declare class ApmSyntheticsScript extends cdktf.TerraformResource {
static readonly tfResourceType = "oci_apm_synthetics_script";
/**
* Generates CDKTF code for importing a ApmSyntheticsScript 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 ApmSyntheticsScript to import
* @param importFromId The id of the existing ApmSyntheticsScript that should be imported. Refer to the {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/apm_synthetics_script#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the ApmSyntheticsScript 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/resources/apm_synthetics_script oci_apm_synthetics_script} Resource
*
* @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 ApmSyntheticsScriptConfig
*/
constructor(scope: Construct, id: string, config: ApmSyntheticsScriptConfig);
private _apmDomainId?;
get apmDomainId(): string;
set apmDomainId(value: string);
get apmDomainIdInput(): string | undefined;
private _content?;
get content(): string;
set content(value: string);
get contentInput(): string | undefined;
private _contentFileName?;
get contentFileName(): string;
set contentFileName(value: string);
resetContentFileName(): void;
get contentFileNameInput(): string | undefined;
get contentSizeInBytes(): number;
private _contentType?;
get contentType(): string;
set contentType(value: string);
get contentTypeInput(): string | undefined;
private _definedTags?;
get definedTags(): {
[key: string]: string;
};
set definedTags(value: {
[key: string]: string;
});
resetDefinedTags(): void;
get definedTagsInput(): {
[key: string]: string;
} | undefined;
private _displayName?;
get displayName(): string;
set displayName(value: string);
get displayNameInput(): string | undefined;
private _freeformTags?;
get freeformTags(): {
[key: string]: string;
};
set freeformTags(value: {
[key: string]: string;
});
resetFreeformTags(): void;
get freeformTagsInput(): {
[key: string]: string;
} | undefined;
private _id?;
get id(): string;
set id(value: string);
resetId(): void;
get idInput(): string | undefined;
private _monitorStatusCountMap;
get monitorStatusCountMap(): ApmSyntheticsScriptMonitorStatusCountMapList;
get timeCreated(): string;
get timeUpdated(): string;
get timeUploaded(): string;
private _parameters;
get parameters(): ApmSyntheticsScriptParametersList;
putParameters(value: ApmSyntheticsScriptParameters[] | cdktf.IResolvable): void;
resetParameters(): void;
get parametersInput(): cdktf.IResolvable | ApmSyntheticsScriptParameters[] | undefined;
private _timeouts;
get timeouts(): ApmSyntheticsScriptTimeoutsOutputReference;
putTimeouts(value: ApmSyntheticsScriptTimeouts): void;
resetTimeouts(): void;
get timeoutsInput(): cdktf.IResolvable | ApmSyntheticsScriptTimeouts | undefined;
protected synthesizeAttributes(): {
[name: string]: any;
};
protected synthesizeHclAttributes(): {
[name: string]: any;
};
}