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

ibm.IsShareMountTarget

Explore with Pulumi AI

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

    Provides a resource for ShareMountTarget. This allows ShareTarget to be created, updated and deleted.

    Create IsShareMountTarget Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new IsShareMountTarget(name: string, args: IsShareMountTargetArgs, opts?: CustomResourceOptions);
    @overload
    def IsShareMountTarget(resource_name: str,
                           args: IsShareMountTargetInitArgs,
                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def IsShareMountTarget(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           share: Optional[str] = None,
                           is_share_mount_target_id: Optional[str] = None,
                           name: Optional[str] = None,
                           transit_encryption: Optional[str] = None,
                           virtual_network_interface: Optional[IsShareMountTargetVirtualNetworkInterfaceArgs] = None,
                           vpc: Optional[str] = None)
    func NewIsShareMountTarget(ctx *Context, name string, args IsShareMountTargetArgs, opts ...ResourceOption) (*IsShareMountTarget, error)
    public IsShareMountTarget(string name, IsShareMountTargetArgs args, CustomResourceOptions? opts = null)
    public IsShareMountTarget(String name, IsShareMountTargetArgs args)
    public IsShareMountTarget(String name, IsShareMountTargetArgs args, CustomResourceOptions options)
    
    type: ibm:IsShareMountTarget
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args IsShareMountTargetArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args IsShareMountTargetInitArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args IsShareMountTargetArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args IsShareMountTargetArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args IsShareMountTargetArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var isShareMountTargetResource = new Ibm.IsShareMountTarget("isShareMountTargetResource", new()
    {
        Share = "string",
        IsShareMountTargetId = "string",
        Name = "string",
        TransitEncryption = "string",
        VirtualNetworkInterface = new Ibm.Inputs.IsShareMountTargetVirtualNetworkInterfaceArgs
        {
            AllowIpSpoofing = false,
            AutoDelete = false,
            Crn = "string",
            EnableInfrastructureNat = false,
            Href = "string",
            Id = "string",
            Name = "string",
            PrimaryIp = new Ibm.Inputs.IsShareMountTargetVirtualNetworkInterfacePrimaryIpArgs
            {
                Address = "string",
                AutoDelete = false,
                Href = "string",
                Name = "string",
                ReservedIp = "string",
                ResourceType = "string",
            },
            ProtocolStateFilteringMode = "string",
            ResourceGroup = "string",
            ResourceType = "string",
            SecurityGroups = new[]
            {
                "string",
            },
            Subnet = "string",
        },
        Vpc = "string",
    });
    
    example, err := ibm.NewIsShareMountTarget(ctx, "isShareMountTargetResource", &ibm.IsShareMountTargetArgs{
    	Share:                pulumi.String("string"),
    	IsShareMountTargetId: pulumi.String("string"),
    	Name:                 pulumi.String("string"),
    	TransitEncryption:    pulumi.String("string"),
    	VirtualNetworkInterface: &ibm.IsShareMountTargetVirtualNetworkInterfaceArgs{
    		AllowIpSpoofing:         pulumi.Bool(false),
    		AutoDelete:              pulumi.Bool(false),
    		Crn:                     pulumi.String("string"),
    		EnableInfrastructureNat: pulumi.Bool(false),
    		Href:                    pulumi.String("string"),
    		Id:                      pulumi.String("string"),
    		Name:                    pulumi.String("string"),
    		PrimaryIp: &ibm.IsShareMountTargetVirtualNetworkInterfacePrimaryIpArgs{
    			Address:      pulumi.String("string"),
    			AutoDelete:   pulumi.Bool(false),
    			Href:         pulumi.String("string"),
    			Name:         pulumi.String("string"),
    			ReservedIp:   pulumi.String("string"),
    			ResourceType: pulumi.String("string"),
    		},
    		ProtocolStateFilteringMode: pulumi.String("string"),
    		ResourceGroup:              pulumi.String("string"),
    		ResourceType:               pulumi.String("string"),
    		SecurityGroups: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		Subnet: pulumi.String("string"),
    	},
    	Vpc: pulumi.String("string"),
    })
    
    var isShareMountTargetResource = new IsShareMountTarget("isShareMountTargetResource", IsShareMountTargetArgs.builder()
        .share("string")
        .isShareMountTargetId("string")
        .name("string")
        .transitEncryption("string")
        .virtualNetworkInterface(IsShareMountTargetVirtualNetworkInterfaceArgs.builder()
            .allowIpSpoofing(false)
            .autoDelete(false)
            .crn("string")
            .enableInfrastructureNat(false)
            .href("string")
            .id("string")
            .name("string")
            .primaryIp(IsShareMountTargetVirtualNetworkInterfacePrimaryIpArgs.builder()
                .address("string")
                .autoDelete(false)
                .href("string")
                .name("string")
                .reservedIp("string")
                .resourceType("string")
                .build())
            .protocolStateFilteringMode("string")
            .resourceGroup("string")
            .resourceType("string")
            .securityGroups("string")
            .subnet("string")
            .build())
        .vpc("string")
        .build());
    
    is_share_mount_target_resource = ibm.IsShareMountTarget("isShareMountTargetResource",
        share="string",
        is_share_mount_target_id="string",
        name="string",
        transit_encryption="string",
        virtual_network_interface={
            "allow_ip_spoofing": False,
            "auto_delete": False,
            "crn": "string",
            "enable_infrastructure_nat": False,
            "href": "string",
            "id": "string",
            "name": "string",
            "primary_ip": {
                "address": "string",
                "auto_delete": False,
                "href": "string",
                "name": "string",
                "reserved_ip": "string",
                "resource_type": "string",
            },
            "protocol_state_filtering_mode": "string",
            "resource_group": "string",
            "resource_type": "string",
            "security_groups": ["string"],
            "subnet": "string",
        },
        vpc="string")
    
    const isShareMountTargetResource = new ibm.IsShareMountTarget("isShareMountTargetResource", {
        share: "string",
        isShareMountTargetId: "string",
        name: "string",
        transitEncryption: "string",
        virtualNetworkInterface: {
            allowIpSpoofing: false,
            autoDelete: false,
            crn: "string",
            enableInfrastructureNat: false,
            href: "string",
            id: "string",
            name: "string",
            primaryIp: {
                address: "string",
                autoDelete: false,
                href: "string",
                name: "string",
                reservedIp: "string",
                resourceType: "string",
            },
            protocolStateFilteringMode: "string",
            resourceGroup: "string",
            resourceType: "string",
            securityGroups: ["string"],
            subnet: "string",
        },
        vpc: "string",
    });
    
    type: ibm:IsShareMountTarget
    properties:
        isShareMountTargetId: string
        name: string
        share: string
        transitEncryption: string
        virtualNetworkInterface:
            allowIpSpoofing: false
            autoDelete: false
            crn: string
            enableInfrastructureNat: false
            href: string
            id: string
            name: string
            primaryIp:
                address: string
                autoDelete: false
                href: string
                name: string
                reservedIp: string
                resourceType: string
            protocolStateFilteringMode: string
            resourceGroup: string
            resourceType: string
            securityGroups:
                - string
            subnet: string
        vpc: string
    

    IsShareMountTarget Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The IsShareMountTarget resource accepts the following input properties:

    Share string
    The file share identifier.
    IsShareMountTargetId string
    (String)The unique identifier of the ShareTarget. The id is composed of <ibm_is_share_id>/<ibm_is_share_mount_target_id>
    Name string
    The user-defined name for this share target. Names must be unique within the share the share target resides in. If unspecified, the name will be a hyphenated list of randomly-selected words.
    TransitEncryption string

    The transit encryption mode for this share target. Supported values are none, user_managed. Default is none

    Note transit_encryption can only be provided to create mount target for a share with access_control_mode security_group. It is not supported with shares that has access_control_mode vpc

    VirtualNetworkInterface IsShareMountTargetVirtualNetworkInterface
    The virtual network interface for this share mount target. Required if the share's access_control_mode is security_group.
    Vpc string

    The VPC in which instances can mount the file share using this share target. Required if the share's access_control_mode is vpc.

    Note virtual_network_interface and vpc are mutually exclusive and one of them must be provided.

    Share string
    The file share identifier.
    IsShareMountTargetId string
    (String)The unique identifier of the ShareTarget. The id is composed of <ibm_is_share_id>/<ibm_is_share_mount_target_id>
    Name string
    The user-defined name for this share target. Names must be unique within the share the share target resides in. If unspecified, the name will be a hyphenated list of randomly-selected words.
    TransitEncryption string

    The transit encryption mode for this share target. Supported values are none, user_managed. Default is none

    Note transit_encryption can only be provided to create mount target for a share with access_control_mode security_group. It is not supported with shares that has access_control_mode vpc

    VirtualNetworkInterface IsShareMountTargetVirtualNetworkInterfaceArgs
    The virtual network interface for this share mount target. Required if the share's access_control_mode is security_group.
    Vpc string

    The VPC in which instances can mount the file share using this share target. Required if the share's access_control_mode is vpc.

    Note virtual_network_interface and vpc are mutually exclusive and one of them must be provided.

    share String
    The file share identifier.
    isShareMountTargetId String
    (String)The unique identifier of the ShareTarget. The id is composed of <ibm_is_share_id>/<ibm_is_share_mount_target_id>
    name String
    The user-defined name for this share target. Names must be unique within the share the share target resides in. If unspecified, the name will be a hyphenated list of randomly-selected words.
    transitEncryption String

    The transit encryption mode for this share target. Supported values are none, user_managed. Default is none

    Note transit_encryption can only be provided to create mount target for a share with access_control_mode security_group. It is not supported with shares that has access_control_mode vpc

    virtualNetworkInterface IsShareMountTargetVirtualNetworkInterface
    The virtual network interface for this share mount target. Required if the share's access_control_mode is security_group.
    vpc String

    The VPC in which instances can mount the file share using this share target. Required if the share's access_control_mode is vpc.

    Note virtual_network_interface and vpc are mutually exclusive and one of them must be provided.

    share string
    The file share identifier.
    isShareMountTargetId string
    (String)The unique identifier of the ShareTarget. The id is composed of <ibm_is_share_id>/<ibm_is_share_mount_target_id>
    name string
    The user-defined name for this share target. Names must be unique within the share the share target resides in. If unspecified, the name will be a hyphenated list of randomly-selected words.
    transitEncryption string

    The transit encryption mode for this share target. Supported values are none, user_managed. Default is none

    Note transit_encryption can only be provided to create mount target for a share with access_control_mode security_group. It is not supported with shares that has access_control_mode vpc

    virtualNetworkInterface IsShareMountTargetVirtualNetworkInterface
    The virtual network interface for this share mount target. Required if the share's access_control_mode is security_group.
    vpc string

    The VPC in which instances can mount the file share using this share target. Required if the share's access_control_mode is vpc.

    Note virtual_network_interface and vpc are mutually exclusive and one of them must be provided.

    share str
    The file share identifier.
    is_share_mount_target_id str
    (String)The unique identifier of the ShareTarget. The id is composed of <ibm_is_share_id>/<ibm_is_share_mount_target_id>
    name str
    The user-defined name for this share target. Names must be unique within the share the share target resides in. If unspecified, the name will be a hyphenated list of randomly-selected words.
    transit_encryption str

    The transit encryption mode for this share target. Supported values are none, user_managed. Default is none

    Note transit_encryption can only be provided to create mount target for a share with access_control_mode security_group. It is not supported with shares that has access_control_mode vpc

    virtual_network_interface IsShareMountTargetVirtualNetworkInterfaceArgs
    The virtual network interface for this share mount target. Required if the share's access_control_mode is security_group.
    vpc str

    The VPC in which instances can mount the file share using this share target. Required if the share's access_control_mode is vpc.

    Note virtual_network_interface and vpc are mutually exclusive and one of them must be provided.

    share String
    The file share identifier.
    isShareMountTargetId String
    (String)The unique identifier of the ShareTarget. The id is composed of <ibm_is_share_id>/<ibm_is_share_mount_target_id>
    name String
    The user-defined name for this share target. Names must be unique within the share the share target resides in. If unspecified, the name will be a hyphenated list of randomly-selected words.
    transitEncryption String

    The transit encryption mode for this share target. Supported values are none, user_managed. Default is none

    Note transit_encryption can only be provided to create mount target for a share with access_control_mode security_group. It is not supported with shares that has access_control_mode vpc

    virtualNetworkInterface Property Map
    The virtual network interface for this share mount target. Required if the share's access_control_mode is security_group.
    vpc String

    The VPC in which instances can mount the file share using this share target. Required if the share's access_control_mode is vpc.

    Note virtual_network_interface and vpc are mutually exclusive and one of them must be provided.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the IsShareMountTarget resource produces the following output properties:

    AccessControlMode string
    (String) The access control mode for the share.
    CreatedAt string
    (String)The date and time that the share target was created.
    Href string
    (String)The URL for this share target.
    Id string
    The provider-assigned unique ID for this managed resource.
    LifecycleState string
    (String)The lifecycle state of the mount target.
    MountPath string
    (String) The mount path for the share. The server component of the mount path may be either an IP address or a fully qualified domain name.
    MountTarget string
    The unique identifier of this target
    ResourceType string
    (String) The type of resource referenced.
    AccessControlMode string
    (String) The access control mode for the share.
    CreatedAt string
    (String)The date and time that the share target was created.
    Href string
    (String)The URL for this share target.
    Id string
    The provider-assigned unique ID for this managed resource.
    LifecycleState string
    (String)The lifecycle state of the mount target.
    MountPath string
    (String) The mount path for the share. The server component of the mount path may be either an IP address or a fully qualified domain name.
    MountTarget string
    The unique identifier of this target
    ResourceType string
    (String) The type of resource referenced.
    accessControlMode String
    (String) The access control mode for the share.
    createdAt String
    (String)The date and time that the share target was created.
    href String
    (String)The URL for this share target.
    id String
    The provider-assigned unique ID for this managed resource.
    lifecycleState String
    (String)The lifecycle state of the mount target.
    mountPath String
    (String) The mount path for the share. The server component of the mount path may be either an IP address or a fully qualified domain name.
    mountTarget String
    The unique identifier of this target
    resourceType String
    (String) The type of resource referenced.
    accessControlMode string
    (String) The access control mode for the share.
    createdAt string
    (String)The date and time that the share target was created.
    href string
    (String)The URL for this share target.
    id string
    The provider-assigned unique ID for this managed resource.
    lifecycleState string
    (String)The lifecycle state of the mount target.
    mountPath string
    (String) The mount path for the share. The server component of the mount path may be either an IP address or a fully qualified domain name.
    mountTarget string
    The unique identifier of this target
    resourceType string
    (String) The type of resource referenced.
    access_control_mode str
    (String) The access control mode for the share.
    created_at str
    (String)The date and time that the share target was created.
    href str
    (String)The URL for this share target.
    id str
    The provider-assigned unique ID for this managed resource.
    lifecycle_state str
    (String)The lifecycle state of the mount target.
    mount_path str
    (String) The mount path for the share. The server component of the mount path may be either an IP address or a fully qualified domain name.
    mount_target str
    The unique identifier of this target
    resource_type str
    (String) The type of resource referenced.
    accessControlMode String
    (String) The access control mode for the share.
    createdAt String
    (String)The date and time that the share target was created.
    href String
    (String)The URL for this share target.
    id String
    The provider-assigned unique ID for this managed resource.
    lifecycleState String
    (String)The lifecycle state of the mount target.
    mountPath String
    (String) The mount path for the share. The server component of the mount path may be either an IP address or a fully qualified domain name.
    mountTarget String
    The unique identifier of this target
    resourceType String
    (String) The type of resource referenced.

    Look up Existing IsShareMountTarget Resource

    Get an existing IsShareMountTarget resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: IsShareMountTargetState, opts?: CustomResourceOptions): IsShareMountTarget
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            access_control_mode: Optional[str] = None,
            created_at: Optional[str] = None,
            href: Optional[str] = None,
            is_share_mount_target_id: Optional[str] = None,
            lifecycle_state: Optional[str] = None,
            mount_path: Optional[str] = None,
            mount_target: Optional[str] = None,
            name: Optional[str] = None,
            resource_type: Optional[str] = None,
            share: Optional[str] = None,
            transit_encryption: Optional[str] = None,
            virtual_network_interface: Optional[IsShareMountTargetVirtualNetworkInterfaceArgs] = None,
            vpc: Optional[str] = None) -> IsShareMountTarget
    func GetIsShareMountTarget(ctx *Context, name string, id IDInput, state *IsShareMountTargetState, opts ...ResourceOption) (*IsShareMountTarget, error)
    public static IsShareMountTarget Get(string name, Input<string> id, IsShareMountTargetState? state, CustomResourceOptions? opts = null)
    public static IsShareMountTarget get(String name, Output<String> id, IsShareMountTargetState state, CustomResourceOptions options)
    resources:  _:    type: ibm:IsShareMountTarget    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AccessControlMode string
    (String) The access control mode for the share.
    CreatedAt string
    (String)The date and time that the share target was created.
    Href string
    (String)The URL for this share target.
    IsShareMountTargetId string
    (String)The unique identifier of the ShareTarget. The id is composed of <ibm_is_share_id>/<ibm_is_share_mount_target_id>
    LifecycleState string
    (String)The lifecycle state of the mount target.
    MountPath string
    (String) The mount path for the share. The server component of the mount path may be either an IP address or a fully qualified domain name.
    MountTarget string
    The unique identifier of this target
    Name string
    The user-defined name for this share target. Names must be unique within the share the share target resides in. If unspecified, the name will be a hyphenated list of randomly-selected words.
    ResourceType string
    (String) The type of resource referenced.
    Share string
    The file share identifier.
    TransitEncryption string

    The transit encryption mode for this share target. Supported values are none, user_managed. Default is none

    Note transit_encryption can only be provided to create mount target for a share with access_control_mode security_group. It is not supported with shares that has access_control_mode vpc

    VirtualNetworkInterface IsShareMountTargetVirtualNetworkInterface
    The virtual network interface for this share mount target. Required if the share's access_control_mode is security_group.
    Vpc string

    The VPC in which instances can mount the file share using this share target. Required if the share's access_control_mode is vpc.

    Note virtual_network_interface and vpc are mutually exclusive and one of them must be provided.

    AccessControlMode string
    (String) The access control mode for the share.
    CreatedAt string
    (String)The date and time that the share target was created.
    Href string
    (String)The URL for this share target.
    IsShareMountTargetId string
    (String)The unique identifier of the ShareTarget. The id is composed of <ibm_is_share_id>/<ibm_is_share_mount_target_id>
    LifecycleState string
    (String)The lifecycle state of the mount target.
    MountPath string
    (String) The mount path for the share. The server component of the mount path may be either an IP address or a fully qualified domain name.
    MountTarget string
    The unique identifier of this target
    Name string
    The user-defined name for this share target. Names must be unique within the share the share target resides in. If unspecified, the name will be a hyphenated list of randomly-selected words.
    ResourceType string
    (String) The type of resource referenced.
    Share string
    The file share identifier.
    TransitEncryption string

    The transit encryption mode for this share target. Supported values are none, user_managed. Default is none

    Note transit_encryption can only be provided to create mount target for a share with access_control_mode security_group. It is not supported with shares that has access_control_mode vpc

    VirtualNetworkInterface IsShareMountTargetVirtualNetworkInterfaceArgs
    The virtual network interface for this share mount target. Required if the share's access_control_mode is security_group.
    Vpc string

    The VPC in which instances can mount the file share using this share target. Required if the share's access_control_mode is vpc.

    Note virtual_network_interface and vpc are mutually exclusive and one of them must be provided.

    accessControlMode String
    (String) The access control mode for the share.
    createdAt String
    (String)The date and time that the share target was created.
    href String
    (String)The URL for this share target.
    isShareMountTargetId String
    (String)The unique identifier of the ShareTarget. The id is composed of <ibm_is_share_id>/<ibm_is_share_mount_target_id>
    lifecycleState String
    (String)The lifecycle state of the mount target.
    mountPath String
    (String) The mount path for the share. The server component of the mount path may be either an IP address or a fully qualified domain name.
    mountTarget String
    The unique identifier of this target
    name String
    The user-defined name for this share target. Names must be unique within the share the share target resides in. If unspecified, the name will be a hyphenated list of randomly-selected words.
    resourceType String
    (String) The type of resource referenced.
    share String
    The file share identifier.
    transitEncryption String

    The transit encryption mode for this share target. Supported values are none, user_managed. Default is none

    Note transit_encryption can only be provided to create mount target for a share with access_control_mode security_group. It is not supported with shares that has access_control_mode vpc

    virtualNetworkInterface IsShareMountTargetVirtualNetworkInterface
    The virtual network interface for this share mount target. Required if the share's access_control_mode is security_group.
    vpc String

    The VPC in which instances can mount the file share using this share target. Required if the share's access_control_mode is vpc.

    Note virtual_network_interface and vpc are mutually exclusive and one of them must be provided.

    accessControlMode string
    (String) The access control mode for the share.
    createdAt string
    (String)The date and time that the share target was created.
    href string
    (String)The URL for this share target.
    isShareMountTargetId string
    (String)The unique identifier of the ShareTarget. The id is composed of <ibm_is_share_id>/<ibm_is_share_mount_target_id>
    lifecycleState string
    (String)The lifecycle state of the mount target.
    mountPath string
    (String) The mount path for the share. The server component of the mount path may be either an IP address or a fully qualified domain name.
    mountTarget string
    The unique identifier of this target
    name string
    The user-defined name for this share target. Names must be unique within the share the share target resides in. If unspecified, the name will be a hyphenated list of randomly-selected words.
    resourceType string
    (String) The type of resource referenced.
    share string
    The file share identifier.
    transitEncryption string

    The transit encryption mode for this share target. Supported values are none, user_managed. Default is none

    Note transit_encryption can only be provided to create mount target for a share with access_control_mode security_group. It is not supported with shares that has access_control_mode vpc

    virtualNetworkInterface IsShareMountTargetVirtualNetworkInterface
    The virtual network interface for this share mount target. Required if the share's access_control_mode is security_group.
    vpc string

    The VPC in which instances can mount the file share using this share target. Required if the share's access_control_mode is vpc.

    Note virtual_network_interface and vpc are mutually exclusive and one of them must be provided.

    access_control_mode str
    (String) The access control mode for the share.
    created_at str
    (String)The date and time that the share target was created.
    href str
    (String)The URL for this share target.
    is_share_mount_target_id str
    (String)The unique identifier of the ShareTarget. The id is composed of <ibm_is_share_id>/<ibm_is_share_mount_target_id>
    lifecycle_state str
    (String)The lifecycle state of the mount target.
    mount_path str
    (String) The mount path for the share. The server component of the mount path may be either an IP address or a fully qualified domain name.
    mount_target str
    The unique identifier of this target
    name str
    The user-defined name for this share target. Names must be unique within the share the share target resides in. If unspecified, the name will be a hyphenated list of randomly-selected words.
    resource_type str
    (String) The type of resource referenced.
    share str
    The file share identifier.
    transit_encryption str

    The transit encryption mode for this share target. Supported values are none, user_managed. Default is none

    Note transit_encryption can only be provided to create mount target for a share with access_control_mode security_group. It is not supported with shares that has access_control_mode vpc

    virtual_network_interface IsShareMountTargetVirtualNetworkInterfaceArgs
    The virtual network interface for this share mount target. Required if the share's access_control_mode is security_group.
    vpc str

    The VPC in which instances can mount the file share using this share target. Required if the share's access_control_mode is vpc.

    Note virtual_network_interface and vpc are mutually exclusive and one of them must be provided.

    accessControlMode String
    (String) The access control mode for the share.
    createdAt String
    (String)The date and time that the share target was created.
    href String
    (String)The URL for this share target.
    isShareMountTargetId String
    (String)The unique identifier of the ShareTarget. The id is composed of <ibm_is_share_id>/<ibm_is_share_mount_target_id>
    lifecycleState String
    (String)The lifecycle state of the mount target.
    mountPath String
    (String) The mount path for the share. The server component of the mount path may be either an IP address or a fully qualified domain name.
    mountTarget String
    The unique identifier of this target
    name String
    The user-defined name for this share target. Names must be unique within the share the share target resides in. If unspecified, the name will be a hyphenated list of randomly-selected words.
    resourceType String
    (String) The type of resource referenced.
    share String
    The file share identifier.
    transitEncryption String

    The transit encryption mode for this share target. Supported values are none, user_managed. Default is none

    Note transit_encryption can only be provided to create mount target for a share with access_control_mode security_group. It is not supported with shares that has access_control_mode vpc

    virtualNetworkInterface Property Map
    The virtual network interface for this share mount target. Required if the share's access_control_mode is security_group.
    vpc String

    The VPC in which instances can mount the file share using this share target. Required if the share's access_control_mode is vpc.

    Note virtual_network_interface and vpc are mutually exclusive and one of them must be provided.

    Supporting Types

    IsShareMountTargetVirtualNetworkInterface, IsShareMountTargetVirtualNetworkInterfaceArgs

    AllowIpSpoofing bool
    (Bool) Indicates whether source IP spoofing is allowed on this interface. If false, source IP spoofing is prevented on this interface. If true, source IP spoofing is allowed on this interface.
    AutoDelete bool
    (Bool) Indicates whether this virtual network interface will be automatically deleted when target is deleted
    Crn string
    CRN of this VNI
    EnableInfrastructureNat bool
    (Bool) If true:- The VPC infrastructure performs any needed NAT operations.- floating_ips must not have more than one floating IP.If false:- Packets are passed unchanged to/from the network interface, allowing the workload to perform any needed NAT operations.- allow_ip_spoofing must be false.- If the virtual network interface is attached: - The target resource_type must be bare_metal_server_network_attachment. - The target interface_type must not be hipersocket.
    Href string
    (String)The URL for this share target.
    Id string

    The ID for virtual network interface. Mutually exclusive with other virtual_network_interface arguments.

    Note id is mutually exclusive with other virtual_network_interface prototype arguments

    Name string
    Name for this virtual network interface. The name must not be used by another virtual network interface in the VPC. Nested scheme for virtual_network_interface:
    PrimaryIp IsShareMountTargetVirtualNetworkInterfacePrimaryIp

    The primary IP address to bind to the virtual network interface. May be either a reserved IP identity, or a reserved IP prototype object which will be used to create a new reserved IP.

    Nested scheme for primary_ip:

    ProtocolStateFilteringMode string

    The protocol state filtering mode to use for this virtual network interface.

    If auto, protocol state packet filtering is enabled or disabled based on the virtual network interface's target resource type: bare_metal_server_network_attachment: disabled instance_network_attachment: enabled share_mount_target: enabled

    ResourceGroup string
    The ID of the resource group to use.
    ResourceType string
    (String) The type of resource referenced.
    SecurityGroups List<string>
    The security groups to use for this virtual network interface.
    Subnet string
    The associated subnet.
    AllowIpSpoofing bool
    (Bool) Indicates whether source IP spoofing is allowed on this interface. If false, source IP spoofing is prevented on this interface. If true, source IP spoofing is allowed on this interface.
    AutoDelete bool
    (Bool) Indicates whether this virtual network interface will be automatically deleted when target is deleted
    Crn string
    CRN of this VNI
    EnableInfrastructureNat bool
    (Bool) If true:- The VPC infrastructure performs any needed NAT operations.- floating_ips must not have more than one floating IP.If false:- Packets are passed unchanged to/from the network interface, allowing the workload to perform any needed NAT operations.- allow_ip_spoofing must be false.- If the virtual network interface is attached: - The target resource_type must be bare_metal_server_network_attachment. - The target interface_type must not be hipersocket.
    Href string
    (String)The URL for this share target.
    Id string

    The ID for virtual network interface. Mutually exclusive with other virtual_network_interface arguments.

    Note id is mutually exclusive with other virtual_network_interface prototype arguments

    Name string
    Name for this virtual network interface. The name must not be used by another virtual network interface in the VPC. Nested scheme for virtual_network_interface:
    PrimaryIp IsShareMountTargetVirtualNetworkInterfacePrimaryIp

    The primary IP address to bind to the virtual network interface. May be either a reserved IP identity, or a reserved IP prototype object which will be used to create a new reserved IP.

    Nested scheme for primary_ip:

    ProtocolStateFilteringMode string

    The protocol state filtering mode to use for this virtual network interface.

    If auto, protocol state packet filtering is enabled or disabled based on the virtual network interface's target resource type: bare_metal_server_network_attachment: disabled instance_network_attachment: enabled share_mount_target: enabled

    ResourceGroup string
    The ID of the resource group to use.
    ResourceType string
    (String) The type of resource referenced.
    SecurityGroups []string
    The security groups to use for this virtual network interface.
    Subnet string
    The associated subnet.
    allowIpSpoofing Boolean
    (Bool) Indicates whether source IP spoofing is allowed on this interface. If false, source IP spoofing is prevented on this interface. If true, source IP spoofing is allowed on this interface.
    autoDelete Boolean
    (Bool) Indicates whether this virtual network interface will be automatically deleted when target is deleted
    crn String
    CRN of this VNI
    enableInfrastructureNat Boolean
    (Bool) If true:- The VPC infrastructure performs any needed NAT operations.- floating_ips must not have more than one floating IP.If false:- Packets are passed unchanged to/from the network interface, allowing the workload to perform any needed NAT operations.- allow_ip_spoofing must be false.- If the virtual network interface is attached: - The target resource_type must be bare_metal_server_network_attachment. - The target interface_type must not be hipersocket.
    href String
    (String)The URL for this share target.
    id String

    The ID for virtual network interface. Mutually exclusive with other virtual_network_interface arguments.

    Note id is mutually exclusive with other virtual_network_interface prototype arguments

    name String
    Name for this virtual network interface. The name must not be used by another virtual network interface in the VPC. Nested scheme for virtual_network_interface:
    primaryIp IsShareMountTargetVirtualNetworkInterfacePrimaryIp

    The primary IP address to bind to the virtual network interface. May be either a reserved IP identity, or a reserved IP prototype object which will be used to create a new reserved IP.

    Nested scheme for primary_ip:

    protocolStateFilteringMode String

    The protocol state filtering mode to use for this virtual network interface.

    If auto, protocol state packet filtering is enabled or disabled based on the virtual network interface's target resource type: bare_metal_server_network_attachment: disabled instance_network_attachment: enabled share_mount_target: enabled

    resourceGroup String
    The ID of the resource group to use.
    resourceType String
    (String) The type of resource referenced.
    securityGroups List<String>
    The security groups to use for this virtual network interface.
    subnet String
    The associated subnet.
    allowIpSpoofing boolean
    (Bool) Indicates whether source IP spoofing is allowed on this interface. If false, source IP spoofing is prevented on this interface. If true, source IP spoofing is allowed on this interface.
    autoDelete boolean
    (Bool) Indicates whether this virtual network interface will be automatically deleted when target is deleted
    crn string
    CRN of this VNI
    enableInfrastructureNat boolean
    (Bool) If true:- The VPC infrastructure performs any needed NAT operations.- floating_ips must not have more than one floating IP.If false:- Packets are passed unchanged to/from the network interface, allowing the workload to perform any needed NAT operations.- allow_ip_spoofing must be false.- If the virtual network interface is attached: - The target resource_type must be bare_metal_server_network_attachment. - The target interface_type must not be hipersocket.
    href string
    (String)The URL for this share target.
    id string

    The ID for virtual network interface. Mutually exclusive with other virtual_network_interface arguments.

    Note id is mutually exclusive with other virtual_network_interface prototype arguments

    name string
    Name for this virtual network interface. The name must not be used by another virtual network interface in the VPC. Nested scheme for virtual_network_interface:
    primaryIp IsShareMountTargetVirtualNetworkInterfacePrimaryIp

    The primary IP address to bind to the virtual network interface. May be either a reserved IP identity, or a reserved IP prototype object which will be used to create a new reserved IP.

    Nested scheme for primary_ip:

    protocolStateFilteringMode string

    The protocol state filtering mode to use for this virtual network interface.

    If auto, protocol state packet filtering is enabled or disabled based on the virtual network interface's target resource type: bare_metal_server_network_attachment: disabled instance_network_attachment: enabled share_mount_target: enabled

    resourceGroup string
    The ID of the resource group to use.
    resourceType string
    (String) The type of resource referenced.
    securityGroups string[]
    The security groups to use for this virtual network interface.
    subnet string
    The associated subnet.
    allow_ip_spoofing bool
    (Bool) Indicates whether source IP spoofing is allowed on this interface. If false, source IP spoofing is prevented on this interface. If true, source IP spoofing is allowed on this interface.
    auto_delete bool
    (Bool) Indicates whether this virtual network interface will be automatically deleted when target is deleted
    crn str
    CRN of this VNI
    enable_infrastructure_nat bool
    (Bool) If true:- The VPC infrastructure performs any needed NAT operations.- floating_ips must not have more than one floating IP.If false:- Packets are passed unchanged to/from the network interface, allowing the workload to perform any needed NAT operations.- allow_ip_spoofing must be false.- If the virtual network interface is attached: - The target resource_type must be bare_metal_server_network_attachment. - The target interface_type must not be hipersocket.
    href str
    (String)The URL for this share target.
    id str

    The ID for virtual network interface. Mutually exclusive with other virtual_network_interface arguments.

    Note id is mutually exclusive with other virtual_network_interface prototype arguments

    name str
    Name for this virtual network interface. The name must not be used by another virtual network interface in the VPC. Nested scheme for virtual_network_interface:
    primary_ip IsShareMountTargetVirtualNetworkInterfacePrimaryIp

    The primary IP address to bind to the virtual network interface. May be either a reserved IP identity, or a reserved IP prototype object which will be used to create a new reserved IP.

    Nested scheme for primary_ip:

    protocol_state_filtering_mode str

    The protocol state filtering mode to use for this virtual network interface.

    If auto, protocol state packet filtering is enabled or disabled based on the virtual network interface's target resource type: bare_metal_server_network_attachment: disabled instance_network_attachment: enabled share_mount_target: enabled

    resource_group str
    The ID of the resource group to use.
    resource_type str
    (String) The type of resource referenced.
    security_groups Sequence[str]
    The security groups to use for this virtual network interface.
    subnet str
    The associated subnet.
    allowIpSpoofing Boolean
    (Bool) Indicates whether source IP spoofing is allowed on this interface. If false, source IP spoofing is prevented on this interface. If true, source IP spoofing is allowed on this interface.
    autoDelete Boolean
    (Bool) Indicates whether this virtual network interface will be automatically deleted when target is deleted
    crn String
    CRN of this VNI
    enableInfrastructureNat Boolean
    (Bool) If true:- The VPC infrastructure performs any needed NAT operations.- floating_ips must not have more than one floating IP.If false:- Packets are passed unchanged to/from the network interface, allowing the workload to perform any needed NAT operations.- allow_ip_spoofing must be false.- If the virtual network interface is attached: - The target resource_type must be bare_metal_server_network_attachment. - The target interface_type must not be hipersocket.
    href String
    (String)The URL for this share target.
    id String

    The ID for virtual network interface. Mutually exclusive with other virtual_network_interface arguments.

    Note id is mutually exclusive with other virtual_network_interface prototype arguments

    name String
    Name for this virtual network interface. The name must not be used by another virtual network interface in the VPC. Nested scheme for virtual_network_interface:
    primaryIp Property Map

    The primary IP address to bind to the virtual network interface. May be either a reserved IP identity, or a reserved IP prototype object which will be used to create a new reserved IP.

    Nested scheme for primary_ip:

    protocolStateFilteringMode String

    The protocol state filtering mode to use for this virtual network interface.

    If auto, protocol state packet filtering is enabled or disabled based on the virtual network interface's target resource type: bare_metal_server_network_attachment: disabled instance_network_attachment: enabled share_mount_target: enabled

    resourceGroup String
    The ID of the resource group to use.
    resourceType String
    (String) The type of resource referenced.
    securityGroups List<String>
    The security groups to use for this virtual network interface.
    subnet String
    The associated subnet.

    IsShareMountTargetVirtualNetworkInterfacePrimaryIp, IsShareMountTargetVirtualNetworkInterfacePrimaryIpArgs

    Address string
    The IP address to reserve. If unspecified, an available address on the subnet will automatically be selected.
    AutoDelete bool
    Indicates whether this reserved IP member will be automatically deleted when either target is deleted, or the reserved IP is unbound. Defaults to true
    Href string
    (String)The URL for this share target.
    Name string
    The name for this reserved IP. The name must not be used by another reserved IP in the subnet. Names starting with ibm- are reserved for provider-owned resources, and are not allowed.
    ReservedIp string

    The unique identifier for this reserved IP.

    Note Within primary_ip, reserved_ip is mutually exclusive to auto_delete, address and name

    ResourceType string
    (String) The type of resource referenced.
    Address string
    The IP address to reserve. If unspecified, an available address on the subnet will automatically be selected.
    AutoDelete bool
    Indicates whether this reserved IP member will be automatically deleted when either target is deleted, or the reserved IP is unbound. Defaults to true
    Href string
    (String)The URL for this share target.
    Name string
    The name for this reserved IP. The name must not be used by another reserved IP in the subnet. Names starting with ibm- are reserved for provider-owned resources, and are not allowed.
    ReservedIp string

    The unique identifier for this reserved IP.

    Note Within primary_ip, reserved_ip is mutually exclusive to auto_delete, address and name

    ResourceType string
    (String) The type of resource referenced.
    address String
    The IP address to reserve. If unspecified, an available address on the subnet will automatically be selected.
    autoDelete Boolean
    Indicates whether this reserved IP member will be automatically deleted when either target is deleted, or the reserved IP is unbound. Defaults to true
    href String
    (String)The URL for this share target.
    name String
    The name for this reserved IP. The name must not be used by another reserved IP in the subnet. Names starting with ibm- are reserved for provider-owned resources, and are not allowed.
    reservedIp String

    The unique identifier for this reserved IP.

    Note Within primary_ip, reserved_ip is mutually exclusive to auto_delete, address and name

    resourceType String
    (String) The type of resource referenced.
    address string
    The IP address to reserve. If unspecified, an available address on the subnet will automatically be selected.
    autoDelete boolean
    Indicates whether this reserved IP member will be automatically deleted when either target is deleted, or the reserved IP is unbound. Defaults to true
    href string
    (String)The URL for this share target.
    name string
    The name for this reserved IP. The name must not be used by another reserved IP in the subnet. Names starting with ibm- are reserved for provider-owned resources, and are not allowed.
    reservedIp string

    The unique identifier for this reserved IP.

    Note Within primary_ip, reserved_ip is mutually exclusive to auto_delete, address and name

    resourceType string
    (String) The type of resource referenced.
    address str
    The IP address to reserve. If unspecified, an available address on the subnet will automatically be selected.
    auto_delete bool
    Indicates whether this reserved IP member will be automatically deleted when either target is deleted, or the reserved IP is unbound. Defaults to true
    href str
    (String)The URL for this share target.
    name str
    The name for this reserved IP. The name must not be used by another reserved IP in the subnet. Names starting with ibm- are reserved for provider-owned resources, and are not allowed.
    reserved_ip str

    The unique identifier for this reserved IP.

    Note Within primary_ip, reserved_ip is mutually exclusive to auto_delete, address and name

    resource_type str
    (String) The type of resource referenced.
    address String
    The IP address to reserve. If unspecified, an available address on the subnet will automatically be selected.
    autoDelete Boolean
    Indicates whether this reserved IP member will be automatically deleted when either target is deleted, or the reserved IP is unbound. Defaults to true
    href String
    (String)The URL for this share target.
    name String
    The name for this reserved IP. The name must not be used by another reserved IP in the subnet. Names starting with ibm- are reserved for provider-owned resources, and are not allowed.
    reservedIp String

    The unique identifier for this reserved IP.

    Note Within primary_ip, reserved_ip is mutually exclusive to auto_delete, address and name

    resourceType String
    (String) The type of resource referenced.

    Import

    The ibm_is_share_mount_target can be imported using ID.

    Syntax

    $ pulumi import ibm:index/isShareMountTarget:IsShareMountTarget example `\<ibm_is_share_id\>/\<ibm_is_share_mount_target_id\>`
    

    Example

    $ pulumi import ibm:index/isShareMountTarget:IsShareMountTarget example d7bec597-4726-451f-8a63-e62e6f19c32c/d7bec597-4726-451f-8a63-e62e6f19c32c
    

    To learn more about importing existing cloud resources, see Importing 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