import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This data source provides the list of Boot Volume Attachments in Oracle Cloud Infrastructure Core service. * * Lists the boot volume attachments in the specified compartment. You can filter the * list by specifying an instance OCID, boot volume OCID, or both. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testBootVolumeAttachments = oci.core.getBootVolumeAttachments({ * availabilityDomain: bootVolumeAttachmentAvailabilityDomain, * compartmentId: compartmentId, * bootVolumeId: testBootVolume.id, * instanceId: testInstance.id, * }); * ``` * For more detailed implementation refer the instance example */ export declare function getBootVolumeAttachments(args: GetBootVolumeAttachmentsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getBootVolumeAttachments. */ export interface GetBootVolumeAttachmentsArgs { /** * The name of the availability domain. Example: `Uocm:PHX-AD-1` */ availabilityDomain: string; /** * The OCID of the boot volume. */ bootVolumeId?: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId: string; filters?: inputs.Core.GetBootVolumeAttachmentsFilter[]; /** * The OCID of the instance. */ instanceId?: string; } /** * A collection of values returned by getBootVolumeAttachments. */ export interface GetBootVolumeAttachmentsResult { /** * The availability domain of an instance. Example: `Uocm:PHX-AD-1` */ readonly availabilityDomain: string; /** * The list of boot_volume_attachments. */ readonly bootVolumeAttachments: outputs.Core.GetBootVolumeAttachmentsBootVolumeAttachment[]; /** * The OCID of the boot volume. */ readonly bootVolumeId?: string; /** * The OCID of the compartment. */ readonly compartmentId: string; readonly filters?: outputs.Core.GetBootVolumeAttachmentsFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The OCID of the instance the boot volume is attached to. */ readonly instanceId?: string; } /** * This data source provides the list of Boot Volume Attachments in Oracle Cloud Infrastructure Core service. * * Lists the boot volume attachments in the specified compartment. You can filter the * list by specifying an instance OCID, boot volume OCID, or both. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testBootVolumeAttachments = oci.core.getBootVolumeAttachments({ * availabilityDomain: bootVolumeAttachmentAvailabilityDomain, * compartmentId: compartmentId, * bootVolumeId: testBootVolume.id, * instanceId: testInstance.id, * }); * ``` * For more detailed implementation refer the instance example */ export declare function getBootVolumeAttachmentsOutput(args: GetBootVolumeAttachmentsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getBootVolumeAttachments. */ export interface GetBootVolumeAttachmentsOutputArgs { /** * The name of the availability domain. Example: `Uocm:PHX-AD-1` */ availabilityDomain: pulumi.Input; /** * The OCID of the boot volume. */ bootVolumeId?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * The OCID of the instance. */ instanceId?: pulumi.Input; } //# sourceMappingURL=getBootVolumeAttachments.d.ts.map