rhizo-co-terraform-provider-oci
Version:
Prebuilt oci Provider for Terraform CDK (cdktf)
345 lines (344 loc) • 18 kB
TypeScript
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface DevopsDeployArtifactConfig extends cdktf.TerraformMetaArguments {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/devops_deploy_artifact#argument_substitution_mode DevopsDeployArtifact#argument_substitution_mode}
*/
readonly argumentSubstitutionMode: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/devops_deploy_artifact#defined_tags DevopsDeployArtifact#defined_tags}
*/
readonly definedTags?: {
[key: string]: string;
};
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/devops_deploy_artifact#deploy_artifact_type DevopsDeployArtifact#deploy_artifact_type}
*/
readonly deployArtifactType: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/devops_deploy_artifact#description DevopsDeployArtifact#description}
*/
readonly description?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/devops_deploy_artifact#display_name DevopsDeployArtifact#display_name}
*/
readonly displayName?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/devops_deploy_artifact#freeform_tags DevopsDeployArtifact#freeform_tags}
*/
readonly freeformTags?: {
[key: string]: string;
};
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/devops_deploy_artifact#id DevopsDeployArtifact#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/devops_deploy_artifact#project_id DevopsDeployArtifact#project_id}
*/
readonly projectId: string;
/**
* deploy_artifact_source block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/devops_deploy_artifact#deploy_artifact_source DevopsDeployArtifact#deploy_artifact_source}
*/
readonly deployArtifactSource: DevopsDeployArtifactDeployArtifactSource;
/**
* timeouts block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/devops_deploy_artifact#timeouts DevopsDeployArtifact#timeouts}
*/
readonly timeouts?: DevopsDeployArtifactTimeouts;
}
export interface DevopsDeployArtifactDeployArtifactSourceHelmVerificationKeySource {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/devops_deploy_artifact#current_public_key DevopsDeployArtifact#current_public_key}
*/
readonly currentPublicKey?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/devops_deploy_artifact#previous_public_key DevopsDeployArtifact#previous_public_key}
*/
readonly previousPublicKey?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/devops_deploy_artifact#vault_secret_id DevopsDeployArtifact#vault_secret_id}
*/
readonly vaultSecretId?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/devops_deploy_artifact#verification_key_source_type DevopsDeployArtifact#verification_key_source_type}
*/
readonly verificationKeySourceType: string;
}
export declare function devopsDeployArtifactDeployArtifactSourceHelmVerificationKeySourceToTerraform(struct?: DevopsDeployArtifactDeployArtifactSourceHelmVerificationKeySourceOutputReference | DevopsDeployArtifactDeployArtifactSourceHelmVerificationKeySource): any;
export declare function devopsDeployArtifactDeployArtifactSourceHelmVerificationKeySourceToHclTerraform(struct?: DevopsDeployArtifactDeployArtifactSourceHelmVerificationKeySourceOutputReference | DevopsDeployArtifactDeployArtifactSourceHelmVerificationKeySource): any;
export declare class DevopsDeployArtifactDeployArtifactSourceHelmVerificationKeySourceOutputReference 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(): DevopsDeployArtifactDeployArtifactSourceHelmVerificationKeySource | undefined;
set internalValue(value: DevopsDeployArtifactDeployArtifactSourceHelmVerificationKeySource | undefined);
private _currentPublicKey?;
get currentPublicKey(): string;
set currentPublicKey(value: string);
resetCurrentPublicKey(): void;
get currentPublicKeyInput(): string | undefined;
private _previousPublicKey?;
get previousPublicKey(): string;
set previousPublicKey(value: string);
resetPreviousPublicKey(): void;
get previousPublicKeyInput(): string | undefined;
private _vaultSecretId?;
get vaultSecretId(): string;
set vaultSecretId(value: string);
resetVaultSecretId(): void;
get vaultSecretIdInput(): string | undefined;
private _verificationKeySourceType?;
get verificationKeySourceType(): string;
set verificationKeySourceType(value: string);
get verificationKeySourceTypeInput(): string | undefined;
}
export interface DevopsDeployArtifactDeployArtifactSource {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/devops_deploy_artifact#base64encoded_content DevopsDeployArtifact#base64encoded_content}
*/
readonly base64EncodedContent?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/devops_deploy_artifact#chart_url DevopsDeployArtifact#chart_url}
*/
readonly chartUrl?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/devops_deploy_artifact#deploy_artifact_path DevopsDeployArtifact#deploy_artifact_path}
*/
readonly deployArtifactPath?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/devops_deploy_artifact#deploy_artifact_source_type DevopsDeployArtifact#deploy_artifact_source_type}
*/
readonly deployArtifactSourceType: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/devops_deploy_artifact#deploy_artifact_version DevopsDeployArtifact#deploy_artifact_version}
*/
readonly deployArtifactVersion?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/devops_deploy_artifact#helm_artifact_source_type DevopsDeployArtifact#helm_artifact_source_type}
*/
readonly helmArtifactSourceType?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/devops_deploy_artifact#image_digest DevopsDeployArtifact#image_digest}
*/
readonly imageDigest?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/devops_deploy_artifact#image_uri DevopsDeployArtifact#image_uri}
*/
readonly imageUri?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/devops_deploy_artifact#repository_id DevopsDeployArtifact#repository_id}
*/
readonly repositoryId?: string;
/**
* helm_verification_key_source block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/devops_deploy_artifact#helm_verification_key_source DevopsDeployArtifact#helm_verification_key_source}
*/
readonly helmVerificationKeySource?: DevopsDeployArtifactDeployArtifactSourceHelmVerificationKeySource;
}
export declare function devopsDeployArtifactDeployArtifactSourceToTerraform(struct?: DevopsDeployArtifactDeployArtifactSourceOutputReference | DevopsDeployArtifactDeployArtifactSource): any;
export declare function devopsDeployArtifactDeployArtifactSourceToHclTerraform(struct?: DevopsDeployArtifactDeployArtifactSourceOutputReference | DevopsDeployArtifactDeployArtifactSource): any;
export declare class DevopsDeployArtifactDeployArtifactSourceOutputReference 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(): DevopsDeployArtifactDeployArtifactSource | undefined;
set internalValue(value: DevopsDeployArtifactDeployArtifactSource | undefined);
private _base64EncodedContent?;
get base64EncodedContent(): string;
set base64EncodedContent(value: string);
resetBase64EncodedContent(): void;
get base64EncodedContentInput(): string | undefined;
private _chartUrl?;
get chartUrl(): string;
set chartUrl(value: string);
resetChartUrl(): void;
get chartUrlInput(): string | undefined;
private _deployArtifactPath?;
get deployArtifactPath(): string;
set deployArtifactPath(value: string);
resetDeployArtifactPath(): void;
get deployArtifactPathInput(): string | undefined;
private _deployArtifactSourceType?;
get deployArtifactSourceType(): string;
set deployArtifactSourceType(value: string);
get deployArtifactSourceTypeInput(): string | undefined;
private _deployArtifactVersion?;
get deployArtifactVersion(): string;
set deployArtifactVersion(value: string);
resetDeployArtifactVersion(): void;
get deployArtifactVersionInput(): string | undefined;
private _helmArtifactSourceType?;
get helmArtifactSourceType(): string;
set helmArtifactSourceType(value: string);
resetHelmArtifactSourceType(): void;
get helmArtifactSourceTypeInput(): string | undefined;
private _imageDigest?;
get imageDigest(): string;
set imageDigest(value: string);
resetImageDigest(): void;
get imageDigestInput(): string | undefined;
private _imageUri?;
get imageUri(): string;
set imageUri(value: string);
resetImageUri(): void;
get imageUriInput(): string | undefined;
private _repositoryId?;
get repositoryId(): string;
set repositoryId(value: string);
resetRepositoryId(): void;
get repositoryIdInput(): string | undefined;
private _helmVerificationKeySource;
get helmVerificationKeySource(): DevopsDeployArtifactDeployArtifactSourceHelmVerificationKeySourceOutputReference;
putHelmVerificationKeySource(value: DevopsDeployArtifactDeployArtifactSourceHelmVerificationKeySource): void;
resetHelmVerificationKeySource(): void;
get helmVerificationKeySourceInput(): DevopsDeployArtifactDeployArtifactSourceHelmVerificationKeySource | undefined;
}
export interface DevopsDeployArtifactTimeouts {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/devops_deploy_artifact#create DevopsDeployArtifact#create}
*/
readonly create?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/devops_deploy_artifact#delete DevopsDeployArtifact#delete}
*/
readonly delete?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/devops_deploy_artifact#update DevopsDeployArtifact#update}
*/
readonly update?: string;
}
export declare function devopsDeployArtifactTimeoutsToTerraform(struct?: DevopsDeployArtifactTimeouts | cdktf.IResolvable): any;
export declare function devopsDeployArtifactTimeoutsToHclTerraform(struct?: DevopsDeployArtifactTimeouts | cdktf.IResolvable): any;
export declare class DevopsDeployArtifactTimeoutsOutputReference 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(): DevopsDeployArtifactTimeouts | cdktf.IResolvable | undefined;
set internalValue(value: DevopsDeployArtifactTimeouts | 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/devops_deploy_artifact oci_devops_deploy_artifact}
*/
export declare class DevopsDeployArtifact extends cdktf.TerraformResource {
static readonly tfResourceType = "oci_devops_deploy_artifact";
/**
* Generates CDKTF code for importing a DevopsDeployArtifact 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 DevopsDeployArtifact to import
* @param importFromId The id of the existing DevopsDeployArtifact that should be imported. Refer to the {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/devops_deploy_artifact#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the DevopsDeployArtifact 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/devops_deploy_artifact oci_devops_deploy_artifact} 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 DevopsDeployArtifactConfig
*/
constructor(scope: Construct, id: string, config: DevopsDeployArtifactConfig);
private _argumentSubstitutionMode?;
get argumentSubstitutionMode(): string;
set argumentSubstitutionMode(value: string);
get argumentSubstitutionModeInput(): string | undefined;
get compartmentId(): string;
private _definedTags?;
get definedTags(): {
[key: string]: string;
};
set definedTags(value: {
[key: string]: string;
});
resetDefinedTags(): void;
get definedTagsInput(): {
[key: string]: string;
} | undefined;
private _deployArtifactType?;
get deployArtifactType(): string;
set deployArtifactType(value: string);
get deployArtifactTypeInput(): string | undefined;
private _description?;
get description(): string;
set description(value: string);
resetDescription(): void;
get descriptionInput(): 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 lifecycleDetails(): string;
private _projectId?;
get projectId(): string;
set projectId(value: string);
get projectIdInput(): string | undefined;
get state(): string;
private _systemTags;
get systemTags(): cdktf.StringMap;
get timeCreated(): string;
get timeUpdated(): string;
private _deployArtifactSource;
get deployArtifactSource(): DevopsDeployArtifactDeployArtifactSourceOutputReference;
putDeployArtifactSource(value: DevopsDeployArtifactDeployArtifactSource): void;
get deployArtifactSourceInput(): DevopsDeployArtifactDeployArtifactSource | undefined;
private _timeouts;
get timeouts(): DevopsDeployArtifactTimeoutsOutputReference;
putTimeouts(value: DevopsDeployArtifactTimeouts): void;
resetTimeouts(): void;
get timeoutsInput(): cdktf.IResolvable | DevopsDeployArtifactTimeouts | undefined;
protected synthesizeAttributes(): {
[name: string]: any;
};
protected synthesizeHclAttributes(): {
[name: string]: any;
};
}