rhizo-co-terraform-provider-oci
Version:
Prebuilt oci Provider for Terraform CDK (cdktf)
246 lines (245 loc) • 11.2 kB
TypeScript
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface OcvpEsxiHostConfig extends cdktf.TerraformMetaArguments {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/ocvp_esxi_host#billing_donor_host_id OcvpEsxiHost#billing_donor_host_id}
*/
readonly billingDonorHostId?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/ocvp_esxi_host#capacity_reservation_id OcvpEsxiHost#capacity_reservation_id}
*/
readonly capacityReservationId?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/ocvp_esxi_host#cluster_id OcvpEsxiHost#cluster_id}
*/
readonly clusterId?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/ocvp_esxi_host#compute_availability_domain OcvpEsxiHost#compute_availability_domain}
*/
readonly computeAvailabilityDomain?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/ocvp_esxi_host#current_sku OcvpEsxiHost#current_sku}
*/
readonly currentSku?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/ocvp_esxi_host#defined_tags OcvpEsxiHost#defined_tags}
*/
readonly definedTags?: {
[key: string]: string;
};
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/ocvp_esxi_host#display_name OcvpEsxiHost#display_name}
*/
readonly displayName?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/ocvp_esxi_host#esxi_software_version OcvpEsxiHost#esxi_software_version}
*/
readonly esxiSoftwareVersion?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/ocvp_esxi_host#failed_esxi_host_id OcvpEsxiHost#failed_esxi_host_id}
*/
readonly failedEsxiHostId?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/ocvp_esxi_host#freeform_tags OcvpEsxiHost#freeform_tags}
*/
readonly freeformTags?: {
[key: string]: string;
};
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/ocvp_esxi_host#host_ocpu_count OcvpEsxiHost#host_ocpu_count}
*/
readonly hostOcpuCount?: number;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/ocvp_esxi_host#host_shape_name OcvpEsxiHost#host_shape_name}
*/
readonly hostShapeName?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/ocvp_esxi_host#id OcvpEsxiHost#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/ocvp_esxi_host#next_sku OcvpEsxiHost#next_sku}
*/
readonly nextSku?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/ocvp_esxi_host#non_upgraded_esxi_host_id OcvpEsxiHost#non_upgraded_esxi_host_id}
*/
readonly nonUpgradedEsxiHostId?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/ocvp_esxi_host#sddc_id OcvpEsxiHost#sddc_id}
*/
readonly sddcId?: string;
/**
* timeouts block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/ocvp_esxi_host#timeouts OcvpEsxiHost#timeouts}
*/
readonly timeouts?: OcvpEsxiHostTimeouts;
}
export interface OcvpEsxiHostTimeouts {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/ocvp_esxi_host#create OcvpEsxiHost#create}
*/
readonly create?: string;
}
export declare function ocvpEsxiHostTimeoutsToTerraform(struct?: OcvpEsxiHostTimeouts | cdktf.IResolvable): any;
export declare function ocvpEsxiHostTimeoutsToHclTerraform(struct?: OcvpEsxiHostTimeouts | cdktf.IResolvable): any;
export declare class OcvpEsxiHostTimeoutsOutputReference 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(): OcvpEsxiHostTimeouts | cdktf.IResolvable | undefined;
set internalValue(value: OcvpEsxiHostTimeouts | cdktf.IResolvable | undefined);
private _create?;
get create(): string;
set create(value: string);
resetCreate(): void;
get createInput(): string | undefined;
}
/**
* Represents a {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/ocvp_esxi_host oci_ocvp_esxi_host}
*/
export declare class OcvpEsxiHost extends cdktf.TerraformResource {
static readonly tfResourceType = "oci_ocvp_esxi_host";
/**
* Generates CDKTF code for importing a OcvpEsxiHost 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 OcvpEsxiHost to import
* @param importFromId The id of the existing OcvpEsxiHost that should be imported. Refer to the {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/ocvp_esxi_host#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the OcvpEsxiHost 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/ocvp_esxi_host oci_ocvp_esxi_host} 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 OcvpEsxiHostConfig = {}
*/
constructor(scope: Construct, id: string, config?: OcvpEsxiHostConfig);
get billingContractEndDate(): string;
private _billingDonorHostId?;
get billingDonorHostId(): string;
set billingDonorHostId(value: string);
resetBillingDonorHostId(): void;
get billingDonorHostIdInput(): string | undefined;
private _capacityReservationId?;
get capacityReservationId(): string;
set capacityReservationId(value: string);
resetCapacityReservationId(): void;
get capacityReservationIdInput(): string | undefined;
private _clusterId?;
get clusterId(): string;
set clusterId(value: string);
resetClusterId(): void;
get clusterIdInput(): string | undefined;
get compartmentId(): string;
private _computeAvailabilityDomain?;
get computeAvailabilityDomain(): string;
set computeAvailabilityDomain(value: string);
resetComputeAvailabilityDomain(): void;
get computeAvailabilityDomainInput(): string | undefined;
get computeInstanceId(): string;
get currentCommitment(): string;
private _currentSku?;
get currentSku(): string;
set currentSku(value: string);
resetCurrentSku(): void;
get currentSkuInput(): 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 _esxiSoftwareVersion?;
get esxiSoftwareVersion(): string;
set esxiSoftwareVersion(value: string);
resetEsxiSoftwareVersion(): void;
get esxiSoftwareVersionInput(): string | undefined;
private _failedEsxiHostId?;
get failedEsxiHostId(): string;
set failedEsxiHostId(value: string);
resetFailedEsxiHostId(): void;
get failedEsxiHostIdInput(): string | undefined;
private _freeformTags?;
get freeformTags(): {
[key: string]: string;
};
set freeformTags(value: {
[key: string]: string;
});
resetFreeformTags(): void;
get freeformTagsInput(): {
[key: string]: string;
} | undefined;
get gracePeriodEndDate(): string;
private _hostOcpuCount?;
get hostOcpuCount(): number;
set hostOcpuCount(value: number);
resetHostOcpuCount(): void;
get hostOcpuCountInput(): number | undefined;
private _hostShapeName?;
get hostShapeName(): string;
set hostShapeName(value: string);
resetHostShapeName(): void;
get hostShapeNameInput(): string | undefined;
private _id?;
get id(): string;
set id(value: string);
resetId(): void;
get idInput(): string | undefined;
get isBillingContinuationInProgress(): cdktf.IResolvable;
get isBillingSwappingInProgress(): cdktf.IResolvable;
get nextCommitment(): string;
private _nextSku?;
get nextSku(): string;
set nextSku(value: string);
resetNextSku(): void;
get nextSkuInput(): string | undefined;
private _nonUpgradedEsxiHostId?;
get nonUpgradedEsxiHostId(): string;
set nonUpgradedEsxiHostId(value: string);
resetNonUpgradedEsxiHostId(): void;
get nonUpgradedEsxiHostIdInput(): string | undefined;
get replacementEsxiHostId(): string;
private _sddcId?;
get sddcId(): string;
set sddcId(value: string);
resetSddcId(): void;
get sddcIdInput(): string | undefined;
get state(): string;
get swapBillingHostId(): string;
get timeCreated(): string;
get timeUpdated(): string;
get upgradedReplacementEsxiHostId(): string;
get vmwareSoftwareVersion(): string;
private _timeouts;
get timeouts(): OcvpEsxiHostTimeoutsOutputReference;
putTimeouts(value: OcvpEsxiHostTimeouts): void;
resetTimeouts(): void;
get timeoutsInput(): cdktf.IResolvable | OcvpEsxiHostTimeouts | undefined;
protected synthesizeAttributes(): {
[name: string]: any;
};
protected synthesizeHclAttributes(): {
[name: string]: any;
};
}