1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Core
  5. getVolumeAttachments
Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi

oci.Core.getVolumeAttachments

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi

    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/v2/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[_core.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[_core.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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:Core/getVolumeAttachments:getVolumeAttachments
      arguments:
        # arguments dictionary

    The 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<GetVolumeAttachmentsFilter>
    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 []GetVolumeAttachmentsFilter
    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<GetVolumeAttachmentsFilter>
    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 GetVolumeAttachmentsFilter[]
    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[core.GetVolumeAttachmentsFilter]
    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<GetVolumeAttachmentsVolumeAttachment>
    The list of volume_attachments.
    AvailabilityDomain string
    The availability domain of an instance. Example: Uocm:PHX-AD-1
    Filters List<GetVolumeAttachmentsFilter>
    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 []GetVolumeAttachmentsVolumeAttachment
    The list of volume_attachments.
    AvailabilityDomain string
    The availability domain of an instance. Example: Uocm:PHX-AD-1
    Filters []GetVolumeAttachmentsFilter
    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<GetVolumeAttachmentsVolumeAttachment>
    The list of volume_attachments.
    availabilityDomain String
    The availability domain of an instance. Example: Uocm:PHX-AD-1
    filters List<GetVolumeAttachmentsFilter>
    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 GetVolumeAttachmentsVolumeAttachment[]
    The list of volume_attachments.
    availabilityDomain string
    The availability domain of an instance. Example: Uocm:PHX-AD-1
    filters GetVolumeAttachmentsFilter[]
    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[core.GetVolumeAttachmentsVolumeAttachment]
    The list of volume_attachments.
    availability_domain str
    The availability domain of an instance. Example: Uocm:PHX-AD-1
    filters Sequence[core.GetVolumeAttachmentsFilter]
    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

    Name string
    Values List<string>
    Regex bool
    Name string
    Values []string
    Regex bool
    name String
    values List<String>
    regex Boolean
    name string
    values string[]
    regex boolean
    name str
    values Sequence[str]
    regex bool
    name String
    values List<String>
    regex Boolean

    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.

    Deprecated: The 'compartment_id' field has been deprecated and may be removed in a future version. Do not use this field.

    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.
    EncryptionInTransitType string
    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
    IsAgentAutoIscsiLoginEnabled bool
    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.
    IsPvEncryptionInTransitEnabled bool
    Whether in-transit encryption for the data volume's paravirtualized attachment is enabled or not.
    IsReadOnly bool
    Whether the attachment was created in read-only mode.
    IsShareable bool
    IsVolumeCreatedDuringLaunch bool
    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.
    IscsiLoginState string
    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<GetVolumeAttachmentsVolumeAttachmentMultipathDevice>
    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.

    Deprecated: The 'compartment_id' field has been deprecated and may be removed in a future version. Do not use this field.

    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.
    EncryptionInTransitType string
    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
    IsAgentAutoIscsiLoginEnabled bool
    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.
    IsPvEncryptionInTransitEnabled bool
    Whether in-transit encryption for the data volume's paravirtualized attachment is enabled or not.
    IsReadOnly bool
    Whether the attachment was created in read-only mode.
    IsShareable bool
    IsVolumeCreatedDuringLaunch bool
    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.
    IscsiLoginState string
    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 []GetVolumeAttachmentsVolumeAttachmentMultipathDevice
    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.

    Deprecated: The 'compartment_id' field has been deprecated and may be removed in a future version. Do not use this field.

    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.
    encryptionInTransitType String
    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
    isAgentAutoIscsiLoginEnabled Boolean
    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.
    isPvEncryptionInTransitEnabled Boolean
    Whether in-transit encryption for the data volume's paravirtualized attachment is enabled or not.
    isReadOnly Boolean
    Whether the attachment was created in read-only mode.
    isShareable Boolean
    isVolumeCreatedDuringLaunch Boolean
    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.
    iscsiLoginState String
    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<GetVolumeAttachmentsVolumeAttachmentMultipathDevice>
    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.

    Deprecated: The 'compartment_id' field has been deprecated and may be removed in a future version. Do not use this field.

    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.
    encryptionInTransitType string
    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
    isAgentAutoIscsiLoginEnabled boolean
    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.
    isPvEncryptionInTransitEnabled boolean
    Whether in-transit encryption for the data volume's paravirtualized attachment is enabled or not.
    isReadOnly boolean
    Whether the attachment was created in read-only mode.
    isShareable boolean
    isVolumeCreatedDuringLaunch boolean
    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.
    iscsiLoginState string
    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 GetVolumeAttachmentsVolumeAttachmentMultipathDevice[]
    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.

    Deprecated: The 'compartment_id' field has been deprecated and may be removed in a future version. Do not use this field.

    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_transit_type str
    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_auto_iscsi_login_enabled bool
    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_encryption_in_transit_enabled bool
    Whether in-transit encryption for the data volume's paravirtualized attachment is enabled or not.
    is_read_only bool
    Whether the attachment was created in read-only mode.
    is_shareable bool
    is_volume_created_during_launch bool
    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_state str
    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[core.GetVolumeAttachmentsVolumeAttachmentMultipathDevice]
    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.

    Deprecated: The 'compartment_id' field has been deprecated and may be removed in a future version. Do not use this field.

    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.
    encryptionInTransitType String
    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
    isAgentAutoIscsiLoginEnabled Boolean
    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.
    isPvEncryptionInTransitEnabled Boolean
    Whether in-transit encryption for the data volume's paravirtualized attachment is enabled or not.
    isReadOnly Boolean
    Whether the attachment was created in read-only mode.
    isShareable Boolean
    isVolumeCreatedDuringLaunch Boolean
    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.
    iscsiLoginState String
    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

    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
    Port int
    The volume's iSCSI port, usually port 860 or 3260. Example: 3260
    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
    Port int
    The volume's iSCSI port, usually port 860 or 3260. Example: 3260
    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
    port Integer
    The volume's iSCSI port, usually port 860 or 3260. Example: 3260
    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
    port number
    The volume's iSCSI port, usually port 860 or 3260. Example: 3260
    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
    port int
    The volume's iSCSI port, usually port 860 or 3260. Example: 3260
    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
    port Number
    The volume's iSCSI port, usually port 860 or 3260. Example: 3260

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi