rhizo-co-terraform-provider-oci
Version:
Prebuilt oci Provider for Terraform CDK (cdktf)
272 lines (271 loc) • 14.7 kB
TypeScript
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface CoreCrossConnectGroupConfig extends cdktf.TerraformMetaArguments {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_cross_connect_group#compartment_id CoreCrossConnectGroup#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_group#customer_reference_name CoreCrossConnectGroup#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_group#defined_tags CoreCrossConnectGroup#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_group#display_name CoreCrossConnectGroup#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_group#freeform_tags CoreCrossConnectGroup#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_group#id CoreCrossConnectGroup#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;
/**
* macsec_properties block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_cross_connect_group#macsec_properties CoreCrossConnectGroup#macsec_properties}
*/
readonly macsecProperties?: CoreCrossConnectGroupMacsecProperties;
/**
* timeouts block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_cross_connect_group#timeouts CoreCrossConnectGroup#timeouts}
*/
readonly timeouts?: CoreCrossConnectGroupTimeouts;
}
export interface CoreCrossConnectGroupMacsecPropertiesPrimaryKey {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_cross_connect_group#connectivity_association_key_secret_id CoreCrossConnectGroup#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_group#connectivity_association_key_secret_version CoreCrossConnectGroup#connectivity_association_key_secret_version}
*/
readonly connectivityAssociationKeySecretVersion?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_cross_connect_group#connectivity_association_name_secret_id CoreCrossConnectGroup#connectivity_association_name_secret_id}
*/
readonly connectivityAssociationNameSecretId: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_cross_connect_group#connectivity_association_name_secret_version CoreCrossConnectGroup#connectivity_association_name_secret_version}
*/
readonly connectivityAssociationNameSecretVersion?: string;
}
export declare function coreCrossConnectGroupMacsecPropertiesPrimaryKeyToTerraform(struct?: CoreCrossConnectGroupMacsecPropertiesPrimaryKeyOutputReference | CoreCrossConnectGroupMacsecPropertiesPrimaryKey): any;
export declare function coreCrossConnectGroupMacsecPropertiesPrimaryKeyToHclTerraform(struct?: CoreCrossConnectGroupMacsecPropertiesPrimaryKeyOutputReference | CoreCrossConnectGroupMacsecPropertiesPrimaryKey): any;
export declare class CoreCrossConnectGroupMacsecPropertiesPrimaryKeyOutputReference 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(): CoreCrossConnectGroupMacsecPropertiesPrimaryKey | undefined;
set internalValue(value: CoreCrossConnectGroupMacsecPropertiesPrimaryKey | undefined);
private _connectivityAssociationKeySecretId?;
get connectivityAssociationKeySecretId(): string;
set connectivityAssociationKeySecretId(value: string);
get connectivityAssociationKeySecretIdInput(): string | undefined;
private _connectivityAssociationKeySecretVersion?;
get connectivityAssociationKeySecretVersion(): string;
set connectivityAssociationKeySecretVersion(value: string);
resetConnectivityAssociationKeySecretVersion(): void;
get connectivityAssociationKeySecretVersionInput(): string | undefined;
private _connectivityAssociationNameSecretId?;
get connectivityAssociationNameSecretId(): string;
set connectivityAssociationNameSecretId(value: string);
get connectivityAssociationNameSecretIdInput(): string | undefined;
private _connectivityAssociationNameSecretVersion?;
get connectivityAssociationNameSecretVersion(): string;
set connectivityAssociationNameSecretVersion(value: string);
resetConnectivityAssociationNameSecretVersion(): void;
get connectivityAssociationNameSecretVersionInput(): string | undefined;
}
export interface CoreCrossConnectGroupMacsecProperties {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_cross_connect_group#encryption_cipher CoreCrossConnectGroup#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_group#is_unprotected_traffic_allowed CoreCrossConnectGroup#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_group#state CoreCrossConnectGroup#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_group#primary_key CoreCrossConnectGroup#primary_key}
*/
readonly primaryKey?: CoreCrossConnectGroupMacsecPropertiesPrimaryKey;
}
export declare function coreCrossConnectGroupMacsecPropertiesToTerraform(struct?: CoreCrossConnectGroupMacsecPropertiesOutputReference | CoreCrossConnectGroupMacsecProperties): any;
export declare function coreCrossConnectGroupMacsecPropertiesToHclTerraform(struct?: CoreCrossConnectGroupMacsecPropertiesOutputReference | CoreCrossConnectGroupMacsecProperties): any;
export declare class CoreCrossConnectGroupMacsecPropertiesOutputReference 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(): CoreCrossConnectGroupMacsecProperties | undefined;
set internalValue(value: CoreCrossConnectGroupMacsecProperties | 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(): CoreCrossConnectGroupMacsecPropertiesPrimaryKeyOutputReference;
putPrimaryKey(value: CoreCrossConnectGroupMacsecPropertiesPrimaryKey): void;
resetPrimaryKey(): void;
get primaryKeyInput(): CoreCrossConnectGroupMacsecPropertiesPrimaryKey | undefined;
}
export interface CoreCrossConnectGroupTimeouts {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_cross_connect_group#create CoreCrossConnectGroup#create}
*/
readonly create?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_cross_connect_group#delete CoreCrossConnectGroup#delete}
*/
readonly delete?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_cross_connect_group#update CoreCrossConnectGroup#update}
*/
readonly update?: string;
}
export declare function coreCrossConnectGroupTimeoutsToTerraform(struct?: CoreCrossConnectGroupTimeouts | cdktf.IResolvable): any;
export declare function coreCrossConnectGroupTimeoutsToHclTerraform(struct?: CoreCrossConnectGroupTimeouts | cdktf.IResolvable): any;
export declare class CoreCrossConnectGroupTimeoutsOutputReference 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(): CoreCrossConnectGroupTimeouts | cdktf.IResolvable | undefined;
set internalValue(value: CoreCrossConnectGroupTimeouts | 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_group oci_core_cross_connect_group}
*/
export declare class CoreCrossConnectGroup extends cdktf.TerraformResource {
static readonly tfResourceType = "oci_core_cross_connect_group";
/**
* Generates CDKTF code for importing a CoreCrossConnectGroup 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 CoreCrossConnectGroup to import
* @param importFromId The id of the existing CoreCrossConnectGroup that should be imported. Refer to the {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_cross_connect_group#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the CoreCrossConnectGroup 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_group oci_core_cross_connect_group} 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 CoreCrossConnectGroupConfig
*/
constructor(scope: Construct, id: string, config: CoreCrossConnectGroupConfig);
private _compartmentId?;
get compartmentId(): string;
set compartmentId(value: string);
get compartmentIdInput(): 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 _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;
get ociLogicalDeviceName(): string;
get ociPhysicalDeviceName(): string;
get state(): string;
get timeCreated(): string;
private _macsecProperties;
get macsecProperties(): CoreCrossConnectGroupMacsecPropertiesOutputReference;
putMacsecProperties(value: CoreCrossConnectGroupMacsecProperties): void;
resetMacsecProperties(): void;
get macsecPropertiesInput(): CoreCrossConnectGroupMacsecProperties | undefined;
private _timeouts;
get timeouts(): CoreCrossConnectGroupTimeoutsOutputReference;
putTimeouts(value: CoreCrossConnectGroupTimeouts): void;
resetTimeouts(): void;
get timeoutsInput(): cdktf.IResolvable | CoreCrossConnectGroupTimeouts | undefined;
protected synthesizeAttributes(): {
[name: string]: any;
};
protected synthesizeHclAttributes(): {
[name: string]: any;
};
}