1. Packages
  2. Ibm Provider
  3. API Docs
  4. getIsShareMountTarget
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

ibm.getIsShareMountTarget

Explore with Pulumi AI

ibm logo
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

    Provides a read-only data source for ShareMountTarget. You can then reference the fields of the data source in other resources within the same configuration using interpolation syntax.

    Using getIsShareMountTarget

    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 getIsShareMountTarget(args: GetIsShareMountTargetArgs, opts?: InvokeOptions): Promise<GetIsShareMountTargetResult>
    function getIsShareMountTargetOutput(args: GetIsShareMountTargetOutputArgs, opts?: InvokeOptions): Output<GetIsShareMountTargetResult>
    def get_is_share_mount_target(id: Optional[str] = None,
                                  mount_target: Optional[str] = None,
                                  mount_target_name: Optional[str] = None,
                                  share: Optional[str] = None,
                                  share_name: Optional[str] = None,
                                  opts: Optional[InvokeOptions] = None) -> GetIsShareMountTargetResult
    def get_is_share_mount_target_output(id: Optional[pulumi.Input[str]] = None,
                                  mount_target: Optional[pulumi.Input[str]] = None,
                                  mount_target_name: Optional[pulumi.Input[str]] = None,
                                  share: Optional[pulumi.Input[str]] = None,
                                  share_name: Optional[pulumi.Input[str]] = None,
                                  opts: Optional[InvokeOptions] = None) -> Output[GetIsShareMountTargetResult]
    func LookupIsShareMountTarget(ctx *Context, args *LookupIsShareMountTargetArgs, opts ...InvokeOption) (*LookupIsShareMountTargetResult, error)
    func LookupIsShareMountTargetOutput(ctx *Context, args *LookupIsShareMountTargetOutputArgs, opts ...InvokeOption) LookupIsShareMountTargetResultOutput

    > Note: This function is named LookupIsShareMountTarget in the Go SDK.

    public static class GetIsShareMountTarget 
    {
        public static Task<GetIsShareMountTargetResult> InvokeAsync(GetIsShareMountTargetArgs args, InvokeOptions? opts = null)
        public static Output<GetIsShareMountTargetResult> Invoke(GetIsShareMountTargetInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetIsShareMountTargetResult> getIsShareMountTarget(GetIsShareMountTargetArgs args, InvokeOptions options)
    public static Output<GetIsShareMountTargetResult> getIsShareMountTarget(GetIsShareMountTargetArgs args, InvokeOptions options)
    
    fn::invoke:
      function: ibm:index/getIsShareMountTarget:getIsShareMountTarget
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    The unique identifier for this virtual network interface.
    MountTarget string
    The share target identifier.
    MountTargetName string
    Share string
    The file share identifier.
    ShareName string
    Id string
    The unique identifier for this virtual network interface.
    MountTarget string
    The share target identifier.
    MountTargetName string
    Share string
    The file share identifier.
    ShareName string
    id String
    The unique identifier for this virtual network interface.
    mountTarget String
    The share target identifier.
    mountTargetName String
    share String
    The file share identifier.
    shareName String
    id string
    The unique identifier for this virtual network interface.
    mountTarget string
    The share target identifier.
    mountTargetName string
    share string
    The file share identifier.
    shareName string
    id str
    The unique identifier for this virtual network interface.
    mount_target str
    The share target identifier.
    mount_target_name str
    share str
    The file share identifier.
    share_name str
    id String
    The unique identifier for this virtual network interface.
    mountTarget String
    The share target identifier.
    mountTargetName String
    share String
    The file share identifier.
    shareName String

    getIsShareMountTarget Result

    The following output properties are available:

    AccessControlMode string
    CreatedAt string
    The date and time that the share target was created.
    Href string
    The URL for this virtual network interface.
    Id string
    The unique identifier for this virtual network interface.
    LifecycleState string
    The lifecycle state of the mount target.
    MountPath string
    The mount path for the share.The IP addresses used in the mount path are currently within the IBM services IP range, but are expected to change to be within one of the VPC's subnets in the future.
    Name string
    The unique user-defined name for this virtual network interface.
    PrimaryIps List<GetIsShareMountTargetPrimaryIp>
    The primary IP address of the virtual network interface for the share mount target. Nested primary_ip blocks have the following structure:
    ResourceType string
    The resource type.
    Subnets List<GetIsShareMountTargetSubnet>
    The subnet of the virtual network interface for the share mount target. Nested vpc blocks have the following structure:
    TransitEncryption string
    (String) The transit encryption mode for this share target.
    VirtualNetworkInterfaces List<GetIsShareMountTargetVirtualNetworkInterface>
    The virtual network interface for this file share mount target.. Nested subnet blocks have the following structure:
    Vpcs List<GetIsShareMountTargetVpc>
    The VPC to which this share target is allowing to mount the file share. Nested vpc blocks have the following structure:
    MountTarget string
    MountTargetName string
    Share string
    ShareName string
    AccessControlMode string
    CreatedAt string
    The date and time that the share target was created.
    Href string
    The URL for this virtual network interface.
    Id string
    The unique identifier for this virtual network interface.
    LifecycleState string
    The lifecycle state of the mount target.
    MountPath string
    The mount path for the share.The IP addresses used in the mount path are currently within the IBM services IP range, but are expected to change to be within one of the VPC's subnets in the future.
    Name string
    The unique user-defined name for this virtual network interface.
    PrimaryIps []GetIsShareMountTargetPrimaryIp
    The primary IP address of the virtual network interface for the share mount target. Nested primary_ip blocks have the following structure:
    ResourceType string
    The resource type.
    Subnets []GetIsShareMountTargetSubnet
    The subnet of the virtual network interface for the share mount target. Nested vpc blocks have the following structure:
    TransitEncryption string
    (String) The transit encryption mode for this share target.
    VirtualNetworkInterfaces []GetIsShareMountTargetVirtualNetworkInterface
    The virtual network interface for this file share mount target.. Nested subnet blocks have the following structure:
    Vpcs []GetIsShareMountTargetVpc
    The VPC to which this share target is allowing to mount the file share. Nested vpc blocks have the following structure:
    MountTarget string
    MountTargetName string
    Share string
    ShareName string
    accessControlMode String
    createdAt String
    The date and time that the share target was created.
    href String
    The URL for this virtual network interface.
    id String
    The unique identifier for this virtual network interface.
    lifecycleState String
    The lifecycle state of the mount target.
    mountPath String
    The mount path for the share.The IP addresses used in the mount path are currently within the IBM services IP range, but are expected to change to be within one of the VPC's subnets in the future.
    name String
    The unique user-defined name for this virtual network interface.
    primaryIps List<GetIsShareMountTargetPrimaryIp>
    The primary IP address of the virtual network interface for the share mount target. Nested primary_ip blocks have the following structure:
    resourceType String
    The resource type.
    subnets List<GetIsShareMountTargetSubnet>
    The subnet of the virtual network interface for the share mount target. Nested vpc blocks have the following structure:
    transitEncryption String
    (String) The transit encryption mode for this share target.
    virtualNetworkInterfaces List<GetIsShareMountTargetVirtualNetworkInterface>
    The virtual network interface for this file share mount target.. Nested subnet blocks have the following structure:
    vpcs List<GetIsShareMountTargetVpc>
    The VPC to which this share target is allowing to mount the file share. Nested vpc blocks have the following structure:
    mountTarget String
    mountTargetName String
    share String
    shareName String
    accessControlMode string
    createdAt string
    The date and time that the share target was created.
    href string
    The URL for this virtual network interface.
    id string
    The unique identifier for this virtual network interface.
    lifecycleState string
    The lifecycle state of the mount target.
    mountPath string
    The mount path for the share.The IP addresses used in the mount path are currently within the IBM services IP range, but are expected to change to be within one of the VPC's subnets in the future.
    name string
    The unique user-defined name for this virtual network interface.
    primaryIps GetIsShareMountTargetPrimaryIp[]
    The primary IP address of the virtual network interface for the share mount target. Nested primary_ip blocks have the following structure:
    resourceType string
    The resource type.
    subnets GetIsShareMountTargetSubnet[]
    The subnet of the virtual network interface for the share mount target. Nested vpc blocks have the following structure:
    transitEncryption string
    (String) The transit encryption mode for this share target.
    virtualNetworkInterfaces GetIsShareMountTargetVirtualNetworkInterface[]
    The virtual network interface for this file share mount target.. Nested subnet blocks have the following structure:
    vpcs GetIsShareMountTargetVpc[]
    The VPC to which this share target is allowing to mount the file share. Nested vpc blocks have the following structure:
    mountTarget string
    mountTargetName string
    share string
    shareName string
    access_control_mode str
    created_at str
    The date and time that the share target was created.
    href str
    The URL for this virtual network interface.
    id str
    The unique identifier for this virtual network interface.
    lifecycle_state str
    The lifecycle state of the mount target.
    mount_path str
    The mount path for the share.The IP addresses used in the mount path are currently within the IBM services IP range, but are expected to change to be within one of the VPC's subnets in the future.
    name str
    The unique user-defined name for this virtual network interface.
    primary_ips Sequence[GetIsShareMountTargetPrimaryIp]
    The primary IP address of the virtual network interface for the share mount target. Nested primary_ip blocks have the following structure:
    resource_type str
    The resource type.
    subnets Sequence[GetIsShareMountTargetSubnet]
    The subnet of the virtual network interface for the share mount target. Nested vpc blocks have the following structure:
    transit_encryption str
    (String) The transit encryption mode for this share target.
    virtual_network_interfaces Sequence[GetIsShareMountTargetVirtualNetworkInterface]
    The virtual network interface for this file share mount target.. Nested subnet blocks have the following structure:
    vpcs Sequence[GetIsShareMountTargetVpc]
    The VPC to which this share target is allowing to mount the file share. Nested vpc blocks have the following structure:
    mount_target str
    mount_target_name str
    share str
    share_name str
    accessControlMode String
    createdAt String
    The date and time that the share target was created.
    href String
    The URL for this virtual network interface.
    id String
    The unique identifier for this virtual network interface.
    lifecycleState String
    The lifecycle state of the mount target.
    mountPath String
    The mount path for the share.The IP addresses used in the mount path are currently within the IBM services IP range, but are expected to change to be within one of the VPC's subnets in the future.
    name String
    The unique user-defined name for this virtual network interface.
    primaryIps List<Property Map>
    The primary IP address of the virtual network interface for the share mount target. Nested primary_ip blocks have the following structure:
    resourceType String
    The resource type.
    subnets List<Property Map>
    The subnet of the virtual network interface for the share mount target. Nested vpc blocks have the following structure:
    transitEncryption String
    (String) The transit encryption mode for this share target.
    virtualNetworkInterfaces List<Property Map>
    The virtual network interface for this file share mount target.. Nested subnet blocks have the following structure:
    vpcs List<Property Map>
    The VPC to which this share target is allowing to mount the file share. Nested vpc blocks have the following structure:
    mountTarget String
    mountTargetName String
    share String
    shareName String

    Supporting Types

    GetIsShareMountTargetPrimaryIp

    Address string
    The IP address.
    Deleteds List<GetIsShareMountTargetPrimaryIpDeleted>
    If present, this property indicates the referenced resource has been deleted and providessome supplementary information. Nested deleted blocks have the following structure:
    Href string
    The URL for this virtual network interface.
    Id string
    The unique identifier for this virtual network interface.
    Name string
    The unique user-defined name for this virtual network interface.
    ResourceType string
    The resource type.
    Address string
    The IP address.
    Deleteds []GetIsShareMountTargetPrimaryIpDeleted
    If present, this property indicates the referenced resource has been deleted and providessome supplementary information. Nested deleted blocks have the following structure:
    Href string
    The URL for this virtual network interface.
    Id string
    The unique identifier for this virtual network interface.
    Name string
    The unique user-defined name for this virtual network interface.
    ResourceType string
    The resource type.
    address String
    The IP address.
    deleteds List<GetIsShareMountTargetPrimaryIpDeleted>
    If present, this property indicates the referenced resource has been deleted and providessome supplementary information. Nested deleted blocks have the following structure:
    href String
    The URL for this virtual network interface.
    id String
    The unique identifier for this virtual network interface.
    name String
    The unique user-defined name for this virtual network interface.
    resourceType String
    The resource type.
    address string
    The IP address.
    deleteds GetIsShareMountTargetPrimaryIpDeleted[]
    If present, this property indicates the referenced resource has been deleted and providessome supplementary information. Nested deleted blocks have the following structure:
    href string
    The URL for this virtual network interface.
    id string
    The unique identifier for this virtual network interface.
    name string
    The unique user-defined name for this virtual network interface.
    resourceType string
    The resource type.
    address str
    The IP address.
    deleteds Sequence[GetIsShareMountTargetPrimaryIpDeleted]
    If present, this property indicates the referenced resource has been deleted and providessome supplementary information. Nested deleted blocks have the following structure:
    href str
    The URL for this virtual network interface.
    id str
    The unique identifier for this virtual network interface.
    name str
    The unique user-defined name for this virtual network interface.
    resource_type str
    The resource type.
    address String
    The IP address.
    deleteds List<Property Map>
    If present, this property indicates the referenced resource has been deleted and providessome supplementary information. Nested deleted blocks have the following structure:
    href String
    The URL for this virtual network interface.
    id String
    The unique identifier for this virtual network interface.
    name String
    The unique user-defined name for this virtual network interface.
    resourceType String
    The resource type.

    GetIsShareMountTargetPrimaryIpDeleted

    MoreInfo string
    Link to documentation about deleted resources.
    MoreInfo string
    Link to documentation about deleted resources.
    moreInfo String
    Link to documentation about deleted resources.
    moreInfo string
    Link to documentation about deleted resources.
    more_info str
    Link to documentation about deleted resources.
    moreInfo String
    Link to documentation about deleted resources.

    GetIsShareMountTargetSubnet

    Crn string
    The CRN for this virtual network interface.
    Deleteds List<GetIsShareMountTargetSubnetDeleted>
    If present, this property indicates the referenced resource has been deleted and providessome supplementary information. Nested deleted blocks have the following structure:
    Href string
    The URL for this virtual network interface.
    Id string
    The unique identifier for this virtual network interface.
    Name string
    The unique user-defined name for this virtual network interface.
    ResourceType string
    The resource type.
    Crn string
    The CRN for this virtual network interface.
    Deleteds []GetIsShareMountTargetSubnetDeleted
    If present, this property indicates the referenced resource has been deleted and providessome supplementary information. Nested deleted blocks have the following structure:
    Href string
    The URL for this virtual network interface.
    Id string
    The unique identifier for this virtual network interface.
    Name string
    The unique user-defined name for this virtual network interface.
    ResourceType string
    The resource type.
    crn String
    The CRN for this virtual network interface.
    deleteds List<GetIsShareMountTargetSubnetDeleted>
    If present, this property indicates the referenced resource has been deleted and providessome supplementary information. Nested deleted blocks have the following structure:
    href String
    The URL for this virtual network interface.
    id String
    The unique identifier for this virtual network interface.
    name String
    The unique user-defined name for this virtual network interface.
    resourceType String
    The resource type.
    crn string
    The CRN for this virtual network interface.
    deleteds GetIsShareMountTargetSubnetDeleted[]
    If present, this property indicates the referenced resource has been deleted and providessome supplementary information. Nested deleted blocks have the following structure:
    href string
    The URL for this virtual network interface.
    id string
    The unique identifier for this virtual network interface.
    name string
    The unique user-defined name for this virtual network interface.
    resourceType string
    The resource type.
    crn str
    The CRN for this virtual network interface.
    deleteds Sequence[GetIsShareMountTargetSubnetDeleted]
    If present, this property indicates the referenced resource has been deleted and providessome supplementary information. Nested deleted blocks have the following structure:
    href str
    The URL for this virtual network interface.
    id str
    The unique identifier for this virtual network interface.
    name str
    The unique user-defined name for this virtual network interface.
    resource_type str
    The resource type.
    crn String
    The CRN for this virtual network interface.
    deleteds List<Property Map>
    If present, this property indicates the referenced resource has been deleted and providessome supplementary information. Nested deleted blocks have the following structure:
    href String
    The URL for this virtual network interface.
    id String
    The unique identifier for this virtual network interface.
    name String
    The unique user-defined name for this virtual network interface.
    resourceType String
    The resource type.

    GetIsShareMountTargetSubnetDeleted

    MoreInfo string
    Link to documentation about deleted resources.
    MoreInfo string
    Link to documentation about deleted resources.
    moreInfo String
    Link to documentation about deleted resources.
    moreInfo string
    Link to documentation about deleted resources.
    more_info str
    Link to documentation about deleted resources.
    moreInfo String
    Link to documentation about deleted resources.

    GetIsShareMountTargetVirtualNetworkInterface

    Crn string
    The CRN for this virtual network interface.
    Deleteds List<GetIsShareMountTargetVirtualNetworkInterfaceDeleted>
    If present, this property indicates the referenced resource has been deleted and providessome supplementary information. Nested deleted blocks have the following structure:
    Href string
    The URL for this virtual network interface.
    Id string
    The unique identifier for this virtual network interface.
    Name string
    The unique user-defined name for this virtual network interface.
    ResourceType string
    The resource type.
    Crn string
    The CRN for this virtual network interface.
    Deleteds []GetIsShareMountTargetVirtualNetworkInterfaceDeleted
    If present, this property indicates the referenced resource has been deleted and providessome supplementary information. Nested deleted blocks have the following structure:
    Href string
    The URL for this virtual network interface.
    Id string
    The unique identifier for this virtual network interface.
    Name string
    The unique user-defined name for this virtual network interface.
    ResourceType string
    The resource type.
    crn String
    The CRN for this virtual network interface.
    deleteds List<GetIsShareMountTargetVirtualNetworkInterfaceDeleted>
    If present, this property indicates the referenced resource has been deleted and providessome supplementary information. Nested deleted blocks have the following structure:
    href String
    The URL for this virtual network interface.
    id String
    The unique identifier for this virtual network interface.
    name String
    The unique user-defined name for this virtual network interface.
    resourceType String
    The resource type.
    crn string
    The CRN for this virtual network interface.
    deleteds GetIsShareMountTargetVirtualNetworkInterfaceDeleted[]
    If present, this property indicates the referenced resource has been deleted and providessome supplementary information. Nested deleted blocks have the following structure:
    href string
    The URL for this virtual network interface.
    id string
    The unique identifier for this virtual network interface.
    name string
    The unique user-defined name for this virtual network interface.
    resourceType string
    The resource type.
    crn str
    The CRN for this virtual network interface.
    deleteds Sequence[GetIsShareMountTargetVirtualNetworkInterfaceDeleted]
    If present, this property indicates the referenced resource has been deleted and providessome supplementary information. Nested deleted blocks have the following structure:
    href str
    The URL for this virtual network interface.
    id str
    The unique identifier for this virtual network interface.
    name str
    The unique user-defined name for this virtual network interface.
    resource_type str
    The resource type.
    crn String
    The CRN for this virtual network interface.
    deleteds List<Property Map>
    If present, this property indicates the referenced resource has been deleted and providessome supplementary information. Nested deleted blocks have the following structure:
    href String
    The URL for this virtual network interface.
    id String
    The unique identifier for this virtual network interface.
    name String
    The unique user-defined name for this virtual network interface.
    resourceType String
    The resource type.

    GetIsShareMountTargetVirtualNetworkInterfaceDeleted

    MoreInfo string
    Link to documentation about deleted resources.
    MoreInfo string
    Link to documentation about deleted resources.
    moreInfo String
    Link to documentation about deleted resources.
    moreInfo string
    Link to documentation about deleted resources.
    more_info str
    Link to documentation about deleted resources.
    moreInfo String
    Link to documentation about deleted resources.

    GetIsShareMountTargetVpc

    Crn string
    The CRN for this virtual network interface.
    Deleteds List<GetIsShareMountTargetVpcDeleted>
    If present, this property indicates the referenced resource has been deleted and providessome supplementary information. Nested deleted blocks have the following structure:
    Href string
    The URL for this virtual network interface.
    Id string
    The unique identifier for this virtual network interface.
    Name string
    The unique user-defined name for this virtual network interface.
    ResourceType string
    The resource type.
    Crn string
    The CRN for this virtual network interface.
    Deleteds []GetIsShareMountTargetVpcDeleted
    If present, this property indicates the referenced resource has been deleted and providessome supplementary information. Nested deleted blocks have the following structure:
    Href string
    The URL for this virtual network interface.
    Id string
    The unique identifier for this virtual network interface.
    Name string
    The unique user-defined name for this virtual network interface.
    ResourceType string
    The resource type.
    crn String
    The CRN for this virtual network interface.
    deleteds List<GetIsShareMountTargetVpcDeleted>
    If present, this property indicates the referenced resource has been deleted and providessome supplementary information. Nested deleted blocks have the following structure:
    href String
    The URL for this virtual network interface.
    id String
    The unique identifier for this virtual network interface.
    name String
    The unique user-defined name for this virtual network interface.
    resourceType String
    The resource type.
    crn string
    The CRN for this virtual network interface.
    deleteds GetIsShareMountTargetVpcDeleted[]
    If present, this property indicates the referenced resource has been deleted and providessome supplementary information. Nested deleted blocks have the following structure:
    href string
    The URL for this virtual network interface.
    id string
    The unique identifier for this virtual network interface.
    name string
    The unique user-defined name for this virtual network interface.
    resourceType string
    The resource type.
    crn str
    The CRN for this virtual network interface.
    deleteds Sequence[GetIsShareMountTargetVpcDeleted]
    If present, this property indicates the referenced resource has been deleted and providessome supplementary information. Nested deleted blocks have the following structure:
    href str
    The URL for this virtual network interface.
    id str
    The unique identifier for this virtual network interface.
    name str
    The unique user-defined name for this virtual network interface.
    resource_type str
    The resource type.
    crn String
    The CRN for this virtual network interface.
    deleteds List<Property Map>
    If present, this property indicates the referenced resource has been deleted and providessome supplementary information. Nested deleted blocks have the following structure:
    href String
    The URL for this virtual network interface.
    id String
    The unique identifier for this virtual network interface.
    name String
    The unique user-defined name for this virtual network interface.
    resourceType String
    The resource type.

    GetIsShareMountTargetVpcDeleted

    MoreInfo string
    Link to documentation about deleted resources.
    MoreInfo string
    Link to documentation about deleted resources.
    moreInfo String
    Link to documentation about deleted resources.
    moreInfo string
    Link to documentation about deleted resources.
    more_info str
    Link to documentation about deleted resources.
    moreInfo String
    Link to documentation about deleted resources.

    Package Details

    Repository
    ibm ibm-cloud/terraform-provider-ibm
    License
    Notes
    This Pulumi package is based on the ibm Terraform Provider.
    ibm logo
    ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud