ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud
ibm.getIsShareMountTarget
Explore with Pulumi AI
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.
- Mount
Target string - The share target identifier.
- Mount
Target stringName - string
- The file share identifier.
- string
- Id string
- The unique identifier for this virtual network interface.
- Mount
Target string - The share target identifier.
- Mount
Target stringName - string
- The file share identifier.
- string
- id String
- The unique identifier for this virtual network interface.
- mount
Target String - The share target identifier.
- mount
Target StringName - String
- The file share identifier.
- String
- id string
- The unique identifier for this virtual network interface.
- mount
Target string - The share target identifier.
- mount
Target stringName - string
- The file share identifier.
- string
- id str
- The unique identifier for this virtual network interface.
- mount_
target str - The share target identifier.
- mount_
target_ strname - str
- The file share identifier.
- str
- id String
- The unique identifier for this virtual network interface.
- mount
Target String - The share target identifier.
- mount
Target StringName - String
- The file share identifier.
- String
getIsShareMountTarget Result
The following output properties are available:
- Access
Control stringMode - Created
At 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.
- Lifecycle
State string - The lifecycle state of the mount target.
- Mount
Path 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.
- Primary
Ips List<GetIs Share Mount Target Primary Ip> - The primary IP address of the virtual network interface for the share mount target. Nested
primary_ip
blocks have the following structure: - Resource
Type string - The resource type.
- Subnets
List<Get
Is Share Mount Target Subnet> - The subnet of the virtual network interface for the share mount target. Nested
vpc
blocks have the following structure: - Transit
Encryption string - (String) The transit encryption mode for this share target.
- Virtual
Network List<GetInterfaces Is Share Mount Target Virtual Network Interface> - The virtual network interface for this file share mount target.. Nested
subnet
blocks have the following structure: - Vpcs
List<Get
Is Share Mount Target Vpc> - The VPC to which this share target is allowing to mount the file share. Nested
vpc
blocks have the following structure: - Mount
Target string - Mount
Target stringName - string
- string
- Access
Control stringMode - Created
At 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.
- Lifecycle
State string - The lifecycle state of the mount target.
- Mount
Path 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.
- Primary
Ips []GetIs Share Mount Target Primary Ip - The primary IP address of the virtual network interface for the share mount target. Nested
primary_ip
blocks have the following structure: - Resource
Type string - The resource type.
- Subnets
[]Get
Is Share Mount Target Subnet - The subnet of the virtual network interface for the share mount target. Nested
vpc
blocks have the following structure: - Transit
Encryption string - (String) The transit encryption mode for this share target.
- Virtual
Network []GetInterfaces Is Share Mount Target Virtual Network Interface - The virtual network interface for this file share mount target.. Nested
subnet
blocks have the following structure: - Vpcs
[]Get
Is Share Mount Target Vpc - The VPC to which this share target is allowing to mount the file share. Nested
vpc
blocks have the following structure: - Mount
Target string - Mount
Target stringName - string
- string
- access
Control StringMode - created
At 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.
- lifecycle
State String - The lifecycle state of the mount target.
- mount
Path 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.
- primary
Ips List<GetIs Share Mount Target Primary Ip> - The primary IP address of the virtual network interface for the share mount target. Nested
primary_ip
blocks have the following structure: - resource
Type String - The resource type.
- subnets
List<Get
Is Share Mount Target Subnet> - The subnet of the virtual network interface for the share mount target. Nested
vpc
blocks have the following structure: - transit
Encryption String - (String) The transit encryption mode for this share target.
- virtual
Network List<GetInterfaces Is Share Mount Target Virtual Network Interface> - The virtual network interface for this file share mount target.. Nested
subnet
blocks have the following structure: - vpcs
List<Get
Is Share Mount Target Vpc> - The VPC to which this share target is allowing to mount the file share. Nested
vpc
blocks have the following structure: - mount
Target String - mount
Target StringName - String
- String
- access
Control stringMode - created
At 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.
- lifecycle
State string - The lifecycle state of the mount target.
- mount
Path 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.
- primary
Ips GetIs Share Mount Target Primary Ip[] - The primary IP address of the virtual network interface for the share mount target. Nested
primary_ip
blocks have the following structure: - resource
Type string - The resource type.
- subnets
Get
Is Share Mount Target Subnet[] - The subnet of the virtual network interface for the share mount target. Nested
vpc
blocks have the following structure: - transit
Encryption string - (String) The transit encryption mode for this share target.
- virtual
Network GetInterfaces Is Share Mount Target Virtual Network Interface[] - The virtual network interface for this file share mount target.. Nested
subnet
blocks have the following structure: - vpcs
Get
Is Share Mount Target Vpc[] - The VPC to which this share target is allowing to mount the file share. Nested
vpc
blocks have the following structure: - mount
Target string - mount
Target stringName - string
- string
- access_
control_ strmode - 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[GetIs Share Mount Target Primary Ip] - 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[Get
Is Share Mount Target Subnet] - 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_ Sequence[Getinterfaces Is Share Mount Target Virtual Network Interface] - The virtual network interface for this file share mount target.. Nested
subnet
blocks have the following structure: - vpcs
Sequence[Get
Is Share Mount Target Vpc] - 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_ strname - str
- str
- access
Control StringMode - created
At 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.
- lifecycle
State String - The lifecycle state of the mount target.
- mount
Path 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.
- primary
Ips 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: - resource
Type 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: - transit
Encryption String - (String) The transit encryption mode for this share target.
- virtual
Network List<Property Map>Interfaces - 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: - mount
Target String - mount
Target StringName - String
- String
Supporting Types
GetIsShareMountTargetPrimaryIp
- Address string
- The IP address.
- Deleteds
List<Get
Is Share Mount Target Primary Ip Deleted> - 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.
- Resource
Type string - The resource type.
- Address string
- The IP address.
- Deleteds
[]Get
Is Share Mount Target Primary Ip Deleted - 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.
- Resource
Type string - The resource type.
- address String
- The IP address.
- deleteds
List<Get
Is Share Mount Target Primary Ip Deleted> - 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.
- resource
Type String - The resource type.
- address string
- The IP address.
- deleteds
Get
Is Share Mount Target Primary Ip Deleted[] - 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.
- resource
Type string - The resource type.
- address str
- The IP address.
- deleteds
Sequence[Get
Is Share Mount Target Primary Ip Deleted] - 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.
- resource
Type String - The resource type.
GetIsShareMountTargetPrimaryIpDeleted
- More
Info string - Link to documentation about deleted resources.
- More
Info string - Link to documentation about deleted resources.
- more
Info String - Link to documentation about deleted resources.
- more
Info string - Link to documentation about deleted resources.
- more_
info str - Link to documentation about deleted resources.
- more
Info String - Link to documentation about deleted resources.
GetIsShareMountTargetSubnet
- Crn string
- The CRN for this virtual network interface.
- Deleteds
List<Get
Is Share Mount Target Subnet Deleted> - 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.
- Resource
Type string - The resource type.
- Crn string
- The CRN for this virtual network interface.
- Deleteds
[]Get
Is Share Mount Target Subnet Deleted - 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.
- Resource
Type string - The resource type.
- crn String
- The CRN for this virtual network interface.
- deleteds
List<Get
Is Share Mount Target Subnet Deleted> - 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.
- resource
Type String - The resource type.
- crn string
- The CRN for this virtual network interface.
- deleteds
Get
Is Share Mount Target Subnet Deleted[] - 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.
- resource
Type string - The resource type.
- crn str
- The CRN for this virtual network interface.
- deleteds
Sequence[Get
Is Share Mount Target Subnet Deleted] - 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.
- resource
Type String - The resource type.
GetIsShareMountTargetSubnetDeleted
- More
Info string - Link to documentation about deleted resources.
- More
Info string - Link to documentation about deleted resources.
- more
Info String - Link to documentation about deleted resources.
- more
Info string - Link to documentation about deleted resources.
- more_
info str - Link to documentation about deleted resources.
- more
Info String - Link to documentation about deleted resources.
GetIsShareMountTargetVirtualNetworkInterface
- Crn string
- The CRN for this virtual network interface.
- Deleteds
List<Get
Is Share Mount Target Virtual Network Interface Deleted> - 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.
- Resource
Type string - The resource type.
- Crn string
- The CRN for this virtual network interface.
- Deleteds
[]Get
Is Share Mount Target Virtual Network Interface Deleted - 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.
- Resource
Type string - The resource type.
- crn String
- The CRN for this virtual network interface.
- deleteds
List<Get
Is Share Mount Target Virtual Network Interface Deleted> - 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.
- resource
Type String - The resource type.
- crn string
- The CRN for this virtual network interface.
- deleteds
Get
Is Share Mount Target Virtual Network Interface Deleted[] - 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.
- resource
Type string - The resource type.
- crn str
- The CRN for this virtual network interface.
- deleteds
Sequence[Get
Is Share Mount Target Virtual Network Interface Deleted] - 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.
- resource
Type String - The resource type.
GetIsShareMountTargetVirtualNetworkInterfaceDeleted
- More
Info string - Link to documentation about deleted resources.
- More
Info string - Link to documentation about deleted resources.
- more
Info String - Link to documentation about deleted resources.
- more
Info string - Link to documentation about deleted resources.
- more_
info str - Link to documentation about deleted resources.
- more
Info String - Link to documentation about deleted resources.
GetIsShareMountTargetVpc
- Crn string
- The CRN for this virtual network interface.
- Deleteds
List<Get
Is Share Mount Target Vpc Deleted> - 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.
- Resource
Type string - The resource type.
- Crn string
- The CRN for this virtual network interface.
- Deleteds
[]Get
Is Share Mount Target Vpc Deleted - 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.
- Resource
Type string - The resource type.
- crn String
- The CRN for this virtual network interface.
- deleteds
List<Get
Is Share Mount Target Vpc Deleted> - 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.
- resource
Type String - The resource type.
- crn string
- The CRN for this virtual network interface.
- deleteds
Get
Is Share Mount Target Vpc Deleted[] - 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.
- resource
Type string - The resource type.
- crn str
- The CRN for this virtual network interface.
- deleteds
Sequence[Get
Is Share Mount Target Vpc Deleted] - 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.
- resource
Type String - The resource type.
GetIsShareMountTargetVpcDeleted
- More
Info string - Link to documentation about deleted resources.
- More
Info string - Link to documentation about deleted resources.
- more
Info String - Link to documentation about deleted resources.
- more
Info string - Link to documentation about deleted resources.
- more_
info str - Link to documentation about deleted resources.
- more
Info 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.