oci.Core.getVolumeAttachments
This data source provides the list of Volume Attachments in Oracle Cloud Infrastructure Core service.
Lists the volume attachments in the specified compartment. You can filter the list by specifying an instance OCID, volume OCID, or both.
Currently, the only supported volume attachment type are IScsiVolumeAttachment and ParavirtualizedVolumeAttachment.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testVolumeAttachments = oci.Core.getVolumeAttachments({
    compartmentId: compartmentId,
    availabilityDomain: volumeAttachmentAvailabilityDomain,
    instanceId: testInstance.id,
    volumeId: testVolume.id,
});
import pulumi
import pulumi_oci as oci
test_volume_attachments = oci.Core.get_volume_attachments(compartment_id=compartment_id,
    availability_domain=volume_attachment_availability_domain,
    instance_id=test_instance["id"],
    volume_id=test_volume["id"])
package main
import (
	"github.com/pulumi/pulumi-oci/sdk/v3/go/oci/core"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := core.GetVolumeAttachments(ctx, &core.GetVolumeAttachmentsArgs{
			CompartmentId:      compartmentId,
			AvailabilityDomain: pulumi.StringRef(volumeAttachmentAvailabilityDomain),
			InstanceId:         pulumi.StringRef(testInstance.Id),
			VolumeId:           pulumi.StringRef(testVolume.Id),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() => 
{
    var testVolumeAttachments = Oci.Core.GetVolumeAttachments.Invoke(new()
    {
        CompartmentId = compartmentId,
        AvailabilityDomain = volumeAttachmentAvailabilityDomain,
        InstanceId = testInstance.Id,
        VolumeId = testVolume.Id,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Core.CoreFunctions;
import com.pulumi.oci.Core.inputs.GetVolumeAttachmentsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        final var testVolumeAttachments = CoreFunctions.getVolumeAttachments(GetVolumeAttachmentsArgs.builder()
            .compartmentId(compartmentId)
            .availabilityDomain(volumeAttachmentAvailabilityDomain)
            .instanceId(testInstance.id())
            .volumeId(testVolume.id())
            .build());
    }
}
variables:
  testVolumeAttachments:
    fn::invoke:
      function: oci:Core:getVolumeAttachments
      arguments:
        compartmentId: ${compartmentId}
        availabilityDomain: ${volumeAttachmentAvailabilityDomain}
        instanceId: ${testInstance.id}
        volumeId: ${testVolume.id}
Using getVolumeAttachments
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getVolumeAttachments(args: GetVolumeAttachmentsArgs, opts?: InvokeOptions): Promise<GetVolumeAttachmentsResult>
function getVolumeAttachmentsOutput(args: GetVolumeAttachmentsOutputArgs, opts?: InvokeOptions): Output<GetVolumeAttachmentsResult>def get_volume_attachments(availability_domain: Optional[str] = None,
                           compartment_id: Optional[str] = None,
                           filters: Optional[Sequence[GetVolumeAttachmentsFilter]] = None,
                           instance_id: Optional[str] = None,
                           volume_id: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetVolumeAttachmentsResult
def get_volume_attachments_output(availability_domain: Optional[pulumi.Input[str]] = None,
                           compartment_id: Optional[pulumi.Input[str]] = None,
                           filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetVolumeAttachmentsFilterArgs]]]] = None,
                           instance_id: Optional[pulumi.Input[str]] = None,
                           volume_id: Optional[pulumi.Input[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetVolumeAttachmentsResult]func GetVolumeAttachments(ctx *Context, args *GetVolumeAttachmentsArgs, opts ...InvokeOption) (*GetVolumeAttachmentsResult, error)
func GetVolumeAttachmentsOutput(ctx *Context, args *GetVolumeAttachmentsOutputArgs, opts ...InvokeOption) GetVolumeAttachmentsResultOutput> Note: This function is named GetVolumeAttachments in the Go SDK.
public static class GetVolumeAttachments 
{
    public static Task<GetVolumeAttachmentsResult> InvokeAsync(GetVolumeAttachmentsArgs args, InvokeOptions? opts = null)
    public static Output<GetVolumeAttachmentsResult> Invoke(GetVolumeAttachmentsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetVolumeAttachmentsResult> getVolumeAttachments(GetVolumeAttachmentsArgs args, InvokeOptions options)
public static Output<GetVolumeAttachmentsResult> getVolumeAttachments(GetVolumeAttachmentsArgs args, InvokeOptions options)
fn::invoke:
  function: oci:Core/getVolumeAttachments:getVolumeAttachments
  arguments:
    # arguments dictionaryThe following arguments are supported:
- CompartmentId string
- The OCID of the compartment.
- AvailabilityDomain string
- The name of the availability domain. Example: Uocm:PHX-AD-1
- Filters
List<GetVolume Attachments Filter> 
- InstanceId string
- The OCID of the instance.
- VolumeId string
- The OCID of the volume.
- CompartmentId string
- The OCID of the compartment.
- AvailabilityDomain string
- The name of the availability domain. Example: Uocm:PHX-AD-1
- Filters
[]GetVolume Attachments Filter 
- InstanceId string
- The OCID of the instance.
- VolumeId string
- The OCID of the volume.
- compartmentId String
- The OCID of the compartment.
- availabilityDomain String
- The name of the availability domain. Example: Uocm:PHX-AD-1
- filters
List<GetVolume Attachments Filter> 
- instanceId String
- The OCID of the instance.
- volumeId String
- The OCID of the volume.
- compartmentId string
- The OCID of the compartment.
- availabilityDomain string
- The name of the availability domain. Example: Uocm:PHX-AD-1
- filters
GetVolume Attachments Filter[] 
- instanceId string
- The OCID of the instance.
- volumeId string
- The OCID of the volume.
- compartment_id str
- The OCID of the compartment.
- availability_domain str
- The name of the availability domain. Example: Uocm:PHX-AD-1
- filters
Sequence[GetVolume Attachments Filter] 
- instance_id str
- The OCID of the instance.
- volume_id str
- The OCID of the volume.
- compartmentId String
- The OCID of the compartment.
- availabilityDomain String
- The name of the availability domain. Example: Uocm:PHX-AD-1
- filters List<Property Map>
- instanceId String
- The OCID of the instance.
- volumeId String
- The OCID of the volume.
getVolumeAttachments Result
The following output properties are available:
- CompartmentId string
- The OCID of the compartment.
- Id string
- The provider-assigned unique ID for this managed resource.
- VolumeAttachments List<GetVolume Attachments Volume Attachment> 
- The list of volume_attachments.
- AvailabilityDomain string
- The availability domain of an instance. Example: Uocm:PHX-AD-1
- Filters
List<GetVolume Attachments Filter> 
- InstanceId string
- The OCID of the instance the volume is attached to.
- VolumeId string
- The OCID of the volume.
- CompartmentId string
- The OCID of the compartment.
- Id string
- The provider-assigned unique ID for this managed resource.
- VolumeAttachments []GetVolume Attachments Volume Attachment 
- The list of volume_attachments.
- AvailabilityDomain string
- The availability domain of an instance. Example: Uocm:PHX-AD-1
- Filters
[]GetVolume Attachments Filter 
- InstanceId string
- The OCID of the instance the volume is attached to.
- VolumeId string
- The OCID of the volume.
- compartmentId String
- The OCID of the compartment.
- id String
- The provider-assigned unique ID for this managed resource.
- volumeAttachments List<GetVolume Attachments Volume Attachment> 
- The list of volume_attachments.
- availabilityDomain String
- The availability domain of an instance. Example: Uocm:PHX-AD-1
- filters
List<GetVolume Attachments Filter> 
- instanceId String
- The OCID of the instance the volume is attached to.
- volumeId String
- The OCID of the volume.
- compartmentId string
- The OCID of the compartment.
- id string
- The provider-assigned unique ID for this managed resource.
- volumeAttachments GetVolume Attachments Volume Attachment[] 
- The list of volume_attachments.
- availabilityDomain string
- The availability domain of an instance. Example: Uocm:PHX-AD-1
- filters
GetVolume Attachments Filter[] 
- instanceId string
- The OCID of the instance the volume is attached to.
- volumeId string
- The OCID of the volume.
- compartment_id str
- The OCID of the compartment.
- id str
- The provider-assigned unique ID for this managed resource.
- volume_attachments Sequence[GetVolume Attachments Volume Attachment] 
- The list of volume_attachments.
- availability_domain str
- The availability domain of an instance. Example: Uocm:PHX-AD-1
- filters
Sequence[GetVolume Attachments Filter] 
- instance_id str
- The OCID of the instance the volume is attached to.
- volume_id str
- The OCID of the volume.
- compartmentId String
- The OCID of the compartment.
- id String
- The provider-assigned unique ID for this managed resource.
- volumeAttachments List<Property Map>
- The list of volume_attachments.
- availabilityDomain String
- The availability domain of an instance. Example: Uocm:PHX-AD-1
- filters List<Property Map>
- instanceId String
- The OCID of the instance the volume is attached to.
- volumeId String
- The OCID of the volume.
Supporting Types
GetVolumeAttachmentsFilter   
GetVolumeAttachmentsVolumeAttachment    
- AttachmentType string
- The type of volume attachment.
- AvailabilityDomain string
- The name of the availability domain. Example: Uocm:PHX-AD-1
- ChapSecret string
- The Challenge-Handshake-Authentication-Protocol (CHAP) secret valid for the associated CHAP user name. (Also called the "CHAP password".)
- ChapUsername string
- The volume's system-generated Challenge-Handshake-Authentication-Protocol (CHAP) user name. See RFC 1994 for more on CHAP. Example: ocid1.volume.oc1.phx.<unique_ID>
- CompartmentId string
- The OCID of the compartment.
- Device string
- The device name.
- DisplayName string
- A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- EncryptionIn stringTransit Type 
- Refer the top-level definition of encryptionInTransitType. The default value is NONE.
- Id string
- The OCID of the volume attachment.
- InstanceId string
- The OCID of the instance.
- Ipv4 string
- The volume's iSCSI IP address. Example: 169.254.2.2
- Iqn string
- The target volume's iSCSI Qualified Name in the format defined by RFC 3720. Example: iqn.2015-12.com.oracleiaas:40b7ee03-883f-46c6-a951-63d2841d2195
- IsAgent boolAuto Iscsi Login Enabled 
- Whether Oracle Cloud Agent is enabled perform the iSCSI login and logout commands after the volume attach or detach operations for non multipath-enabled iSCSI attachments.
- IsMultipath bool
- Whether the Iscsi or Paravirtualized attachment is multipath or not, it is not applicable to NVMe attachment.
- IsPv boolEncryption In Transit Enabled 
- Whether in-transit encryption for the data volume's paravirtualized attachment is enabled or not.
- IsRead boolOnly 
- Whether the attachment was created in read-only mode.
- bool
- Whether the attachment should be created in shareable mode. If an attachment is created in shareable mode, then other instances can attach the same volume, provided that they also create their attachments in shareable mode. Only certain volume types can be attached in shareable mode. Defaults to false if not specified.
- IsVolume boolCreated During Launch 
- Flag indicating if this volume was created for the customer as part of a simplified launch. Used to determine whether the volume requires deletion on instance termination.
- IscsiLogin stringState 
- The iscsi login state of the volume attachment. For a Iscsi volume attachment, all iscsi sessions need to be all logged-in or logged-out to be in logged-in or logged-out state.
- MultipathDevices List<GetVolume Attachments Volume Attachment Multipath Device> 
- A list of secondary multipath devices
- Port int
- The volume's iSCSI port, usually port 860 or 3260. Example: 3260
- State string
- The current state of the volume attachment.
- TimeCreated string
- The date and time the volume was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
- UseChap bool
- VolumeId string
- The OCID of the volume.
- AttachmentType string
- The type of volume attachment.
- AvailabilityDomain string
- The name of the availability domain. Example: Uocm:PHX-AD-1
- ChapSecret string
- The Challenge-Handshake-Authentication-Protocol (CHAP) secret valid for the associated CHAP user name. (Also called the "CHAP password".)
- ChapUsername string
- The volume's system-generated Challenge-Handshake-Authentication-Protocol (CHAP) user name. See RFC 1994 for more on CHAP. Example: ocid1.volume.oc1.phx.<unique_ID>
- CompartmentId string
- The OCID of the compartment.
- Device string
- The device name.
- DisplayName string
- A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- EncryptionIn stringTransit Type 
- Refer the top-level definition of encryptionInTransitType. The default value is NONE.
- Id string
- The OCID of the volume attachment.
- InstanceId string
- The OCID of the instance.
- Ipv4 string
- The volume's iSCSI IP address. Example: 169.254.2.2
- Iqn string
- The target volume's iSCSI Qualified Name in the format defined by RFC 3720. Example: iqn.2015-12.com.oracleiaas:40b7ee03-883f-46c6-a951-63d2841d2195
- IsAgent boolAuto Iscsi Login Enabled 
- Whether Oracle Cloud Agent is enabled perform the iSCSI login and logout commands after the volume attach or detach operations for non multipath-enabled iSCSI attachments.
- IsMultipath bool
- Whether the Iscsi or Paravirtualized attachment is multipath or not, it is not applicable to NVMe attachment.
- IsPv boolEncryption In Transit Enabled 
- Whether in-transit encryption for the data volume's paravirtualized attachment is enabled or not.
- IsRead boolOnly 
- Whether the attachment was created in read-only mode.
- bool
- Whether the attachment should be created in shareable mode. If an attachment is created in shareable mode, then other instances can attach the same volume, provided that they also create their attachments in shareable mode. Only certain volume types can be attached in shareable mode. Defaults to false if not specified.
- IsVolume boolCreated During Launch 
- Flag indicating if this volume was created for the customer as part of a simplified launch. Used to determine whether the volume requires deletion on instance termination.
- IscsiLogin stringState 
- The iscsi login state of the volume attachment. For a Iscsi volume attachment, all iscsi sessions need to be all logged-in or logged-out to be in logged-in or logged-out state.
- MultipathDevices []GetVolume Attachments Volume Attachment Multipath Device 
- A list of secondary multipath devices
- Port int
- The volume's iSCSI port, usually port 860 or 3260. Example: 3260
- State string
- The current state of the volume attachment.
- TimeCreated string
- The date and time the volume was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
- UseChap bool
- VolumeId string
- The OCID of the volume.
- attachmentType String
- The type of volume attachment.
- availabilityDomain String
- The name of the availability domain. Example: Uocm:PHX-AD-1
- chapSecret String
- The Challenge-Handshake-Authentication-Protocol (CHAP) secret valid for the associated CHAP user name. (Also called the "CHAP password".)
- chapUsername String
- The volume's system-generated Challenge-Handshake-Authentication-Protocol (CHAP) user name. See RFC 1994 for more on CHAP. Example: ocid1.volume.oc1.phx.<unique_ID>
- compartmentId String
- The OCID of the compartment.
- device String
- The device name.
- displayName String
- A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- encryptionIn StringTransit Type 
- Refer the top-level definition of encryptionInTransitType. The default value is NONE.
- id String
- The OCID of the volume attachment.
- instanceId String
- The OCID of the instance.
- ipv4 String
- The volume's iSCSI IP address. Example: 169.254.2.2
- iqn String
- The target volume's iSCSI Qualified Name in the format defined by RFC 3720. Example: iqn.2015-12.com.oracleiaas:40b7ee03-883f-46c6-a951-63d2841d2195
- isAgent BooleanAuto Iscsi Login Enabled 
- Whether Oracle Cloud Agent is enabled perform the iSCSI login and logout commands after the volume attach or detach operations for non multipath-enabled iSCSI attachments.
- isMultipath Boolean
- Whether the Iscsi or Paravirtualized attachment is multipath or not, it is not applicable to NVMe attachment.
- isPv BooleanEncryption In Transit Enabled 
- Whether in-transit encryption for the data volume's paravirtualized attachment is enabled or not.
- isRead BooleanOnly 
- Whether the attachment was created in read-only mode.
- Boolean
- Whether the attachment should be created in shareable mode. If an attachment is created in shareable mode, then other instances can attach the same volume, provided that they also create their attachments in shareable mode. Only certain volume types can be attached in shareable mode. Defaults to false if not specified.
- isVolume BooleanCreated During Launch 
- Flag indicating if this volume was created for the customer as part of a simplified launch. Used to determine whether the volume requires deletion on instance termination.
- iscsiLogin StringState 
- The iscsi login state of the volume attachment. For a Iscsi volume attachment, all iscsi sessions need to be all logged-in or logged-out to be in logged-in or logged-out state.
- multipathDevices List<GetVolume Attachments Volume Attachment Multipath Device> 
- A list of secondary multipath devices
- port Integer
- The volume's iSCSI port, usually port 860 or 3260. Example: 3260
- state String
- The current state of the volume attachment.
- timeCreated String
- The date and time the volume was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
- useChap Boolean
- volumeId String
- The OCID of the volume.
- attachmentType string
- The type of volume attachment.
- availabilityDomain string
- The name of the availability domain. Example: Uocm:PHX-AD-1
- chapSecret string
- The Challenge-Handshake-Authentication-Protocol (CHAP) secret valid for the associated CHAP user name. (Also called the "CHAP password".)
- chapUsername string
- The volume's system-generated Challenge-Handshake-Authentication-Protocol (CHAP) user name. See RFC 1994 for more on CHAP. Example: ocid1.volume.oc1.phx.<unique_ID>
- compartmentId string
- The OCID of the compartment.
- device string
- The device name.
- displayName string
- A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- encryptionIn stringTransit Type 
- Refer the top-level definition of encryptionInTransitType. The default value is NONE.
- id string
- The OCID of the volume attachment.
- instanceId string
- The OCID of the instance.
- ipv4 string
- The volume's iSCSI IP address. Example: 169.254.2.2
- iqn string
- The target volume's iSCSI Qualified Name in the format defined by RFC 3720. Example: iqn.2015-12.com.oracleiaas:40b7ee03-883f-46c6-a951-63d2841d2195
- isAgent booleanAuto Iscsi Login Enabled 
- Whether Oracle Cloud Agent is enabled perform the iSCSI login and logout commands after the volume attach or detach operations for non multipath-enabled iSCSI attachments.
- isMultipath boolean
- Whether the Iscsi or Paravirtualized attachment is multipath or not, it is not applicable to NVMe attachment.
- isPv booleanEncryption In Transit Enabled 
- Whether in-transit encryption for the data volume's paravirtualized attachment is enabled or not.
- isRead booleanOnly 
- Whether the attachment was created in read-only mode.
- boolean
- Whether the attachment should be created in shareable mode. If an attachment is created in shareable mode, then other instances can attach the same volume, provided that they also create their attachments in shareable mode. Only certain volume types can be attached in shareable mode. Defaults to false if not specified.
- isVolume booleanCreated During Launch 
- Flag indicating if this volume was created for the customer as part of a simplified launch. Used to determine whether the volume requires deletion on instance termination.
- iscsiLogin stringState 
- The iscsi login state of the volume attachment. For a Iscsi volume attachment, all iscsi sessions need to be all logged-in or logged-out to be in logged-in or logged-out state.
- multipathDevices GetVolume Attachments Volume Attachment Multipath Device[] 
- A list of secondary multipath devices
- port number
- The volume's iSCSI port, usually port 860 or 3260. Example: 3260
- state string
- The current state of the volume attachment.
- timeCreated string
- The date and time the volume was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
- useChap boolean
- volumeId string
- The OCID of the volume.
- attachment_type str
- The type of volume attachment.
- availability_domain str
- The name of the availability domain. Example: Uocm:PHX-AD-1
- chap_secret str
- The Challenge-Handshake-Authentication-Protocol (CHAP) secret valid for the associated CHAP user name. (Also called the "CHAP password".)
- chap_username str
- The volume's system-generated Challenge-Handshake-Authentication-Protocol (CHAP) user name. See RFC 1994 for more on CHAP. Example: ocid1.volume.oc1.phx.<unique_ID>
- compartment_id str
- The OCID of the compartment.
- device str
- The device name.
- display_name str
- A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- encryption_in_ strtransit_ type 
- Refer the top-level definition of encryptionInTransitType. The default value is NONE.
- id str
- The OCID of the volume attachment.
- instance_id str
- The OCID of the instance.
- ipv4 str
- The volume's iSCSI IP address. Example: 169.254.2.2
- iqn str
- The target volume's iSCSI Qualified Name in the format defined by RFC 3720. Example: iqn.2015-12.com.oracleiaas:40b7ee03-883f-46c6-a951-63d2841d2195
- is_agent_ boolauto_ iscsi_ login_ enabled 
- Whether Oracle Cloud Agent is enabled perform the iSCSI login and logout commands after the volume attach or detach operations for non multipath-enabled iSCSI attachments.
- is_multipath bool
- Whether the Iscsi or Paravirtualized attachment is multipath or not, it is not applicable to NVMe attachment.
- is_pv_ boolencryption_ in_ transit_ enabled 
- Whether in-transit encryption for the data volume's paravirtualized attachment is enabled or not.
- is_read_ boolonly 
- Whether the attachment was created in read-only mode.
- bool
- Whether the attachment should be created in shareable mode. If an attachment is created in shareable mode, then other instances can attach the same volume, provided that they also create their attachments in shareable mode. Only certain volume types can be attached in shareable mode. Defaults to false if not specified.
- is_volume_ boolcreated_ during_ launch 
- Flag indicating if this volume was created for the customer as part of a simplified launch. Used to determine whether the volume requires deletion on instance termination.
- iscsi_login_ strstate 
- The iscsi login state of the volume attachment. For a Iscsi volume attachment, all iscsi sessions need to be all logged-in or logged-out to be in logged-in or logged-out state.
- multipath_devices Sequence[GetVolume Attachments Volume Attachment Multipath Device] 
- A list of secondary multipath devices
- port int
- The volume's iSCSI port, usually port 860 or 3260. Example: 3260
- state str
- The current state of the volume attachment.
- time_created str
- The date and time the volume was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
- use_chap bool
- volume_id str
- The OCID of the volume.
- attachmentType String
- The type of volume attachment.
- availabilityDomain String
- The name of the availability domain. Example: Uocm:PHX-AD-1
- chapSecret String
- The Challenge-Handshake-Authentication-Protocol (CHAP) secret valid for the associated CHAP user name. (Also called the "CHAP password".)
- chapUsername String
- The volume's system-generated Challenge-Handshake-Authentication-Protocol (CHAP) user name. See RFC 1994 for more on CHAP. Example: ocid1.volume.oc1.phx.<unique_ID>
- compartmentId String
- The OCID of the compartment.
- device String
- The device name.
- displayName String
- A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- encryptionIn StringTransit Type 
- Refer the top-level definition of encryptionInTransitType. The default value is NONE.
- id String
- The OCID of the volume attachment.
- instanceId String
- The OCID of the instance.
- ipv4 String
- The volume's iSCSI IP address. Example: 169.254.2.2
- iqn String
- The target volume's iSCSI Qualified Name in the format defined by RFC 3720. Example: iqn.2015-12.com.oracleiaas:40b7ee03-883f-46c6-a951-63d2841d2195
- isAgent BooleanAuto Iscsi Login Enabled 
- Whether Oracle Cloud Agent is enabled perform the iSCSI login and logout commands after the volume attach or detach operations for non multipath-enabled iSCSI attachments.
- isMultipath Boolean
- Whether the Iscsi or Paravirtualized attachment is multipath or not, it is not applicable to NVMe attachment.
- isPv BooleanEncryption In Transit Enabled 
- Whether in-transit encryption for the data volume's paravirtualized attachment is enabled or not.
- isRead BooleanOnly 
- Whether the attachment was created in read-only mode.
- Boolean
- Whether the attachment should be created in shareable mode. If an attachment is created in shareable mode, then other instances can attach the same volume, provided that they also create their attachments in shareable mode. Only certain volume types can be attached in shareable mode. Defaults to false if not specified.
- isVolume BooleanCreated During Launch 
- Flag indicating if this volume was created for the customer as part of a simplified launch. Used to determine whether the volume requires deletion on instance termination.
- iscsiLogin StringState 
- The iscsi login state of the volume attachment. For a Iscsi volume attachment, all iscsi sessions need to be all logged-in or logged-out to be in logged-in or logged-out state.
- multipathDevices List<Property Map>
- A list of secondary multipath devices
- port Number
- The volume's iSCSI port, usually port 860 or 3260. Example: 3260
- state String
- The current state of the volume attachment.
- timeCreated String
- The date and time the volume was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
- useChap Boolean
- volumeId String
- The OCID of the volume.
GetVolumeAttachmentsVolumeAttachmentMultipathDevice      
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.
