rhizo-co-terraform-provider-oci
Version:
Prebuilt oci Provider for Terraform CDK (cdktf)
309 lines (308 loc) • 16.1 kB
TypeScript
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface CoreCrossConnectConfig extends cdktf.TerraformMetaArguments {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_cross_connect#compartment_id CoreCrossConnect#compartment_id}
*/
readonly compartmentId: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_cross_connect#cross_connect_group_id CoreCrossConnect#cross_connect_group_id}
*/
readonly crossConnectGroupId?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_cross_connect#customer_reference_name CoreCrossConnect#customer_reference_name}
*/
readonly customerReferenceName?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_cross_connect#defined_tags CoreCrossConnect#defined_tags}
*/
readonly definedTags?: {
[key: string]: string;
};
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_cross_connect#display_name CoreCrossConnect#display_name}
*/
readonly displayName?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_cross_connect#far_cross_connect_or_cross_connect_group_id CoreCrossConnect#far_cross_connect_or_cross_connect_group_id}
*/
readonly farCrossConnectOrCrossConnectGroupId?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_cross_connect#freeform_tags CoreCrossConnect#freeform_tags}
*/
readonly freeformTags?: {
[key: string]: string;
};
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_cross_connect#id CoreCrossConnect#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/resources/core_cross_connect#is_active CoreCrossConnect#is_active}
*/
readonly isActive?: boolean | cdktf.IResolvable;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_cross_connect#location_name CoreCrossConnect#location_name}
*/
readonly locationName: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_cross_connect#near_cross_connect_or_cross_connect_group_id CoreCrossConnect#near_cross_connect_or_cross_connect_group_id}
*/
readonly nearCrossConnectOrCrossConnectGroupId?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_cross_connect#port_speed_shape_name CoreCrossConnect#port_speed_shape_name}
*/
readonly portSpeedShapeName: string;
/**
* macsec_properties block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_cross_connect#macsec_properties CoreCrossConnect#macsec_properties}
*/
readonly macsecProperties?: CoreCrossConnectMacsecProperties;
/**
* timeouts block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_cross_connect#timeouts CoreCrossConnect#timeouts}
*/
readonly timeouts?: CoreCrossConnectTimeouts;
}
export interface CoreCrossConnectMacsecPropertiesPrimaryKey {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_cross_connect#connectivity_association_key_secret_id CoreCrossConnect#connectivity_association_key_secret_id}
*/
readonly connectivityAssociationKeySecretId: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_cross_connect#connectivity_association_name_secret_id CoreCrossConnect#connectivity_association_name_secret_id}
*/
readonly connectivityAssociationNameSecretId: string;
}
export declare function coreCrossConnectMacsecPropertiesPrimaryKeyToTerraform(struct?: CoreCrossConnectMacsecPropertiesPrimaryKeyOutputReference | CoreCrossConnectMacsecPropertiesPrimaryKey): any;
export declare function coreCrossConnectMacsecPropertiesPrimaryKeyToHclTerraform(struct?: CoreCrossConnectMacsecPropertiesPrimaryKeyOutputReference | CoreCrossConnectMacsecPropertiesPrimaryKey): any;
export declare class CoreCrossConnectMacsecPropertiesPrimaryKeyOutputReference extends cdktf.ComplexObject {
private isEmptyObject;
/**
* @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(): CoreCrossConnectMacsecPropertiesPrimaryKey | undefined;
set internalValue(value: CoreCrossConnectMacsecPropertiesPrimaryKey | undefined);
private _connectivityAssociationKeySecretId?;
get connectivityAssociationKeySecretId(): string;
set connectivityAssociationKeySecretId(value: string);
get connectivityAssociationKeySecretIdInput(): string | undefined;
get connectivityAssociationKeySecretVersion(): string;
private _connectivityAssociationNameSecretId?;
get connectivityAssociationNameSecretId(): string;
set connectivityAssociationNameSecretId(value: string);
get connectivityAssociationNameSecretIdInput(): string | undefined;
get connectivityAssociationNameSecretVersion(): string;
}
export interface CoreCrossConnectMacsecProperties {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_cross_connect#encryption_cipher CoreCrossConnect#encryption_cipher}
*/
readonly encryptionCipher?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_cross_connect#is_unprotected_traffic_allowed CoreCrossConnect#is_unprotected_traffic_allowed}
*/
readonly isUnprotectedTrafficAllowed?: boolean | cdktf.IResolvable;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_cross_connect#state CoreCrossConnect#state}
*/
readonly state: string;
/**
* primary_key block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_cross_connect#primary_key CoreCrossConnect#primary_key}
*/
readonly primaryKey?: CoreCrossConnectMacsecPropertiesPrimaryKey;
}
export declare function coreCrossConnectMacsecPropertiesToTerraform(struct?: CoreCrossConnectMacsecPropertiesOutputReference | CoreCrossConnectMacsecProperties): any;
export declare function coreCrossConnectMacsecPropertiesToHclTerraform(struct?: CoreCrossConnectMacsecPropertiesOutputReference | CoreCrossConnectMacsecProperties): any;
export declare class CoreCrossConnectMacsecPropertiesOutputReference extends cdktf.ComplexObject {
private isEmptyObject;
/**
* @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(): CoreCrossConnectMacsecProperties | undefined;
set internalValue(value: CoreCrossConnectMacsecProperties | undefined);
private _encryptionCipher?;
get encryptionCipher(): string;
set encryptionCipher(value: string);
resetEncryptionCipher(): void;
get encryptionCipherInput(): string | undefined;
private _isUnprotectedTrafficAllowed?;
get isUnprotectedTrafficAllowed(): boolean | cdktf.IResolvable;
set isUnprotectedTrafficAllowed(value: boolean | cdktf.IResolvable);
resetIsUnprotectedTrafficAllowed(): void;
get isUnprotectedTrafficAllowedInput(): boolean | cdktf.IResolvable | undefined;
private _state?;
get state(): string;
set state(value: string);
get stateInput(): string | undefined;
private _primaryKey;
get primaryKey(): CoreCrossConnectMacsecPropertiesPrimaryKeyOutputReference;
putPrimaryKey(value: CoreCrossConnectMacsecPropertiesPrimaryKey): void;
resetPrimaryKey(): void;
get primaryKeyInput(): CoreCrossConnectMacsecPropertiesPrimaryKey | undefined;
}
export interface CoreCrossConnectTimeouts {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_cross_connect#create CoreCrossConnect#create}
*/
readonly create?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_cross_connect#delete CoreCrossConnect#delete}
*/
readonly delete?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_cross_connect#update CoreCrossConnect#update}
*/
readonly update?: string;
}
export declare function coreCrossConnectTimeoutsToTerraform(struct?: CoreCrossConnectTimeouts | cdktf.IResolvable): any;
export declare function coreCrossConnectTimeoutsToHclTerraform(struct?: CoreCrossConnectTimeouts | cdktf.IResolvable): any;
export declare class CoreCrossConnectTimeoutsOutputReference 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(): CoreCrossConnectTimeouts | cdktf.IResolvable | undefined;
set internalValue(value: CoreCrossConnectTimeouts | 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/core_cross_connect oci_core_cross_connect}
*/
export declare class CoreCrossConnect extends cdktf.TerraformResource {
static readonly tfResourceType = "oci_core_cross_connect";
/**
* Generates CDKTF code for importing a CoreCrossConnect 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 CoreCrossConnect to import
* @param importFromId The id of the existing CoreCrossConnect that should be imported. Refer to the {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_cross_connect#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the CoreCrossConnect 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/core_cross_connect oci_core_cross_connect} 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 CoreCrossConnectConfig
*/
constructor(scope: Construct, id: string, config: CoreCrossConnectConfig);
private _compartmentId?;
get compartmentId(): string;
set compartmentId(value: string);
get compartmentIdInput(): string | undefined;
private _crossConnectGroupId?;
get crossConnectGroupId(): string;
set crossConnectGroupId(value: string);
resetCrossConnectGroupId(): void;
get crossConnectGroupIdInput(): string | undefined;
private _customerReferenceName?;
get customerReferenceName(): string;
set customerReferenceName(value: string);
resetCustomerReferenceName(): void;
get customerReferenceNameInput(): 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);
resetDisplayName(): void;
get displayNameInput(): string | undefined;
private _farCrossConnectOrCrossConnectGroupId?;
get farCrossConnectOrCrossConnectGroupId(): string;
set farCrossConnectOrCrossConnectGroupId(value: string);
resetFarCrossConnectOrCrossConnectGroupId(): void;
get farCrossConnectOrCrossConnectGroupIdInput(): 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 _isActive?;
get isActive(): boolean | cdktf.IResolvable;
set isActive(value: boolean | cdktf.IResolvable);
resetIsActive(): void;
get isActiveInput(): boolean | cdktf.IResolvable | undefined;
private _locationName?;
get locationName(): string;
set locationName(value: string);
get locationNameInput(): string | undefined;
private _nearCrossConnectOrCrossConnectGroupId?;
get nearCrossConnectOrCrossConnectGroupId(): string;
set nearCrossConnectOrCrossConnectGroupId(value: string);
resetNearCrossConnectOrCrossConnectGroupId(): void;
get nearCrossConnectOrCrossConnectGroupIdInput(): string | undefined;
get ociLogicalDeviceName(): string;
get ociPhysicalDeviceName(): string;
get portName(): string;
private _portSpeedShapeName?;
get portSpeedShapeName(): string;
set portSpeedShapeName(value: string);
get portSpeedShapeNameInput(): string | undefined;
get state(): string;
get timeCreated(): string;
private _macsecProperties;
get macsecProperties(): CoreCrossConnectMacsecPropertiesOutputReference;
putMacsecProperties(value: CoreCrossConnectMacsecProperties): void;
resetMacsecProperties(): void;
get macsecPropertiesInput(): CoreCrossConnectMacsecProperties | undefined;
private _timeouts;
get timeouts(): CoreCrossConnectTimeoutsOutputReference;
putTimeouts(value: CoreCrossConnectTimeouts): void;
resetTimeouts(): void;
get timeoutsInput(): cdktf.IResolvable | CoreCrossConnectTimeouts | undefined;
protected synthesizeAttributes(): {
[name: string]: any;
};
protected synthesizeHclAttributes(): {
[name: string]: any;
};
}