ibm.IsShareMountTarget
Explore with Pulumi AI
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:
- string
- The file share identifier.
- 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.
- Transit
Encryption 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 withaccess_control_mode
security_group
. It is not supported with shares that hasaccess_control_mode
vpc
- Virtual
Network IsInterface Share Mount Target Virtual Network Interface - The virtual network interface for this share mount target. Required if the share's
access_control_mode
issecurity_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
andvpc
are mutually exclusive and one of them must be provided.
- string
- The file share identifier.
- 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.
- Transit
Encryption 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 withaccess_control_mode
security_group
. It is not supported with shares that hasaccess_control_mode
vpc
- Virtual
Network IsInterface Share Mount Target Virtual Network Interface Args - The virtual network interface for this share mount target. Required if the share's
access_control_mode
issecurity_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
andvpc
are mutually exclusive and one of them must be provided.
- String
- The file share identifier.
- 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.
- transit
Encryption 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 withaccess_control_mode
security_group
. It is not supported with shares that hasaccess_control_mode
vpc
- virtual
Network IsInterface Share Mount Target Virtual Network Interface - The virtual network interface for this share mount target. Required if the share's
access_control_mode
issecurity_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
andvpc
are mutually exclusive and one of them must be provided.
- string
- The file share identifier.
- 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.
- transit
Encryption 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 withaccess_control_mode
security_group
. It is not supported with shares that hasaccess_control_mode
vpc
- virtual
Network IsInterface Share Mount Target Virtual Network Interface - The virtual network interface for this share mount target. Required if the share's
access_control_mode
issecurity_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
andvpc
are mutually exclusive and one of them must be provided.
- str
- The file share identifier.
- 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 withaccess_control_mode
security_group
. It is not supported with shares that hasaccess_control_mode
vpc
- virtual_
network_ Isinterface Share Mount Target Virtual Network Interface Args - The virtual network interface for this share mount target. Required if the share's
access_control_mode
issecurity_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
andvpc
are mutually exclusive and one of them must be provided.
- String
- The file share identifier.
- 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.
- transit
Encryption 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 withaccess_control_mode
security_group
. It is not supported with shares that hasaccess_control_mode
vpc
- virtual
Network Property MapInterface - The virtual network interface for this share mount target. Required if the share's
access_control_mode
issecurity_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
andvpc
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:
- Access
Control stringMode - (String) The access control mode for the share.
- Created
At 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.
- Lifecycle
State string - (String)The lifecycle state of the mount target.
- Mount
Path 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.
- Mount
Target string - The unique identifier of this target
- Resource
Type string - (String) The type of resource referenced.
- Access
Control stringMode - (String) The access control mode for the share.
- Created
At 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.
- Lifecycle
State string - (String)The lifecycle state of the mount target.
- Mount
Path 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.
- Mount
Target string - The unique identifier of this target
- Resource
Type string - (String) The type of resource referenced.
- access
Control StringMode - (String) The access control mode for the share.
- created
At 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.
- lifecycle
State String - (String)The lifecycle state of the mount target.
- mount
Path 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.
- mount
Target String - The unique identifier of this target
- resource
Type String - (String) The type of resource referenced.
- access
Control stringMode - (String) The access control mode for the share.
- created
At 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.
- lifecycle
State string - (String)The lifecycle state of the mount target.
- mount
Path 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.
- mount
Target string - The unique identifier of this target
- resource
Type string - (String) The type of resource referenced.
- access_
control_ strmode - (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.
- access
Control StringMode - (String) The access control mode for the share.
- created
At 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.
- lifecycle
State String - (String)The lifecycle state of the mount target.
- mount
Path 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.
- mount
Target String - The unique identifier of this target
- resource
Type 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.
- Access
Control stringMode - (String) The access control mode for the share.
- Created
At string - (String)The date and time that the share target was created.
- Href string
- (String)The URL for this share target.
- string
- (String)The unique identifier of the ShareTarget. The id is composed of <ibm_is_share_id>/<ibm_is_share_mount_target_id>
- Lifecycle
State string - (String)The lifecycle state of the mount target.
- Mount
Path 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.
- Mount
Target 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.
- Resource
Type string - (String) The type of resource referenced.
- string
- The file share identifier.
- Transit
Encryption 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 withaccess_control_mode
security_group
. It is not supported with shares that hasaccess_control_mode
vpc
- Virtual
Network IsInterface Share Mount Target Virtual Network Interface - The virtual network interface for this share mount target. Required if the share's
access_control_mode
issecurity_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
andvpc
are mutually exclusive and one of them must be provided.
- Access
Control stringMode - (String) The access control mode for the share.
- Created
At string - (String)The date and time that the share target was created.
- Href string
- (String)The URL for this share target.
- string
- (String)The unique identifier of the ShareTarget. The id is composed of <ibm_is_share_id>/<ibm_is_share_mount_target_id>
- Lifecycle
State string - (String)The lifecycle state of the mount target.
- Mount
Path 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.
- Mount
Target 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.
- Resource
Type string - (String) The type of resource referenced.
- string
- The file share identifier.
- Transit
Encryption 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 withaccess_control_mode
security_group
. It is not supported with shares that hasaccess_control_mode
vpc
- Virtual
Network IsInterface Share Mount Target Virtual Network Interface Args - The virtual network interface for this share mount target. Required if the share's
access_control_mode
issecurity_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
andvpc
are mutually exclusive and one of them must be provided.
- access
Control StringMode - (String) The access control mode for the share.
- created
At String - (String)The date and time that the share target was created.
- href String
- (String)The URL for this share target.
- String
- (String)The unique identifier of the ShareTarget. The id is composed of <ibm_is_share_id>/<ibm_is_share_mount_target_id>
- lifecycle
State String - (String)The lifecycle state of the mount target.
- mount
Path 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.
- mount
Target 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.
- resource
Type String - (String) The type of resource referenced.
- String
- The file share identifier.
- transit
Encryption 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 withaccess_control_mode
security_group
. It is not supported with shares that hasaccess_control_mode
vpc
- virtual
Network IsInterface Share Mount Target Virtual Network Interface - The virtual network interface for this share mount target. Required if the share's
access_control_mode
issecurity_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
andvpc
are mutually exclusive and one of them must be provided.
- access
Control stringMode - (String) The access control mode for the share.
- created
At string - (String)The date and time that the share target was created.
- href string
- (String)The URL for this share target.
- string
- (String)The unique identifier of the ShareTarget. The id is composed of <ibm_is_share_id>/<ibm_is_share_mount_target_id>
- lifecycle
State string - (String)The lifecycle state of the mount target.
- mount
Path 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.
- mount
Target 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.
- resource
Type string - (String) The type of resource referenced.
- string
- The file share identifier.
- transit
Encryption 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 withaccess_control_mode
security_group
. It is not supported with shares that hasaccess_control_mode
vpc
- virtual
Network IsInterface Share Mount Target Virtual Network Interface - The virtual network interface for this share mount target. Required if the share's
access_control_mode
issecurity_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
andvpc
are mutually exclusive and one of them must be provided.
- access_
control_ strmode - (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.
- 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.
- 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 withaccess_control_mode
security_group
. It is not supported with shares that hasaccess_control_mode
vpc
- virtual_
network_ Isinterface Share Mount Target Virtual Network Interface Args - The virtual network interface for this share mount target. Required if the share's
access_control_mode
issecurity_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
andvpc
are mutually exclusive and one of them must be provided.
- access
Control StringMode - (String) The access control mode for the share.
- created
At String - (String)The date and time that the share target was created.
- href String
- (String)The URL for this share target.
- String
- (String)The unique identifier of the ShareTarget. The id is composed of <ibm_is_share_id>/<ibm_is_share_mount_target_id>
- lifecycle
State String - (String)The lifecycle state of the mount target.
- mount
Path 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.
- mount
Target 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.
- resource
Type String - (String) The type of resource referenced.
- String
- The file share identifier.
- transit
Encryption 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 withaccess_control_mode
security_group
. It is not supported with shares that hasaccess_control_mode
vpc
- virtual
Network Property MapInterface - The virtual network interface for this share mount target. Required if the share's
access_control_mode
issecurity_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
andvpc
are mutually exclusive and one of them must be provided.
Supporting Types
IsShareMountTargetVirtualNetworkInterface, IsShareMountTargetVirtualNetworkInterfaceArgs
- Allow
Ip boolSpoofing - (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 string
- CRN of this VNI
- Enable
Infrastructure boolNat - (Bool) If
true
:- The VPC infrastructure performs any needed NAT operations.-floating_ips
must not have more than one floating IP.Iffalse
:- Packets are passed unchanged to/from the network interface, allowing the workload to perform any needed NAT operations.-allow_ip_spoofing
must befalse
.- If the virtual network interface is attached: - The targetresource_type
must bebare_metal_server_network_attachment
. - The targetinterface_type
must not behipersocket
. - 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 othervirtual_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
: - Primary
Ip IsShare Mount Target Virtual Network Interface Primary Ip 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 stringFiltering Mode 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 string - The ID of the resource group to use.
- Resource
Type string - (String) The type of resource referenced.
- Security
Groups List<string> - The security groups to use for this virtual network interface.
- Subnet string
- The associated subnet.
- Allow
Ip boolSpoofing - (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 string
- CRN of this VNI
- Enable
Infrastructure boolNat - (Bool) If
true
:- The VPC infrastructure performs any needed NAT operations.-floating_ips
must not have more than one floating IP.Iffalse
:- Packets are passed unchanged to/from the network interface, allowing the workload to perform any needed NAT operations.-allow_ip_spoofing
must befalse
.- If the virtual network interface is attached: - The targetresource_type
must bebare_metal_server_network_attachment
. - The targetinterface_type
must not behipersocket
. - 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 othervirtual_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
: - Primary
Ip IsShare Mount Target Virtual Network Interface Primary Ip 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 stringFiltering Mode 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 string - The ID of the resource group to use.
- Resource
Type string - (String) The type of resource referenced.
- Security
Groups []string - The security groups to use for this virtual network interface.
- Subnet string
- The associated subnet.
- allow
Ip BooleanSpoofing - (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 Boolean - (Bool) Indicates whether this virtual network interface will be automatically deleted when target is deleted
- crn String
- CRN of this VNI
- enable
Infrastructure BooleanNat - (Bool) If
true
:- The VPC infrastructure performs any needed NAT operations.-floating_ips
must not have more than one floating IP.Iffalse
:- Packets are passed unchanged to/from the network interface, allowing the workload to perform any needed NAT operations.-allow_ip_spoofing
must befalse
.- If the virtual network interface is attached: - The targetresource_type
must bebare_metal_server_network_attachment
. - The targetinterface_type
must not behipersocket
. - 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 othervirtual_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
: - primary
Ip IsShare Mount Target Virtual Network Interface Primary Ip 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 StringFiltering Mode 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 String - The ID of the resource group to use.
- resource
Type String - (String) The type of resource referenced.
- security
Groups List<String> - The security groups to use for this virtual network interface.
- subnet String
- The associated subnet.
- allow
Ip booleanSpoofing - (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 boolean - (Bool) Indicates whether this virtual network interface will be automatically deleted when target is deleted
- crn string
- CRN of this VNI
- enable
Infrastructure booleanNat - (Bool) If
true
:- The VPC infrastructure performs any needed NAT operations.-floating_ips
must not have more than one floating IP.Iffalse
:- Packets are passed unchanged to/from the network interface, allowing the workload to perform any needed NAT operations.-allow_ip_spoofing
must befalse
.- If the virtual network interface is attached: - The targetresource_type
must bebare_metal_server_network_attachment
. - The targetinterface_type
must not behipersocket
. - 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 othervirtual_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
: - primary
Ip IsShare Mount Target Virtual Network Interface Primary Ip 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 stringFiltering Mode 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 string - The ID of the resource group to use.
- resource
Type string - (String) The type of resource referenced.
- security
Groups string[] - The security groups to use for this virtual network interface.
- subnet string
- The associated subnet.
- allow_
ip_ boolspoofing - (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_ boolnat - (Bool) If
true
:- The VPC infrastructure performs any needed NAT operations.-floating_ips
must not have more than one floating IP.Iffalse
:- Packets are passed unchanged to/from the network interface, allowing the workload to perform any needed NAT operations.-allow_ip_spoofing
must befalse
.- If the virtual network interface is attached: - The targetresource_type
must bebare_metal_server_network_attachment
. - The targetinterface_type
must not behipersocket
. - 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 othervirtual_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 IsShare Mount Target Virtual Network Interface Primary Ip 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_ strfiltering_ mode 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.
- allow
Ip BooleanSpoofing - (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 Boolean - (Bool) Indicates whether this virtual network interface will be automatically deleted when target is deleted
- crn String
- CRN of this VNI
- enable
Infrastructure BooleanNat - (Bool) If
true
:- The VPC infrastructure performs any needed NAT operations.-floating_ips
must not have more than one floating IP.Iffalse
:- Packets are passed unchanged to/from the network interface, allowing the workload to perform any needed NAT operations.-allow_ip_spoofing
must befalse
.- If the virtual network interface is attached: - The targetresource_type
must bebare_metal_server_network_attachment
. - The targetinterface_type
must not behipersocket
. - 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 othervirtual_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
: - primary
Ip 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
:- protocol
State StringFiltering Mode 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 String - The ID of the resource group to use.
- resource
Type String - (String) The type of resource referenced.
- security
Groups 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.
- 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 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.
- Reserved
Ip string The unique identifier for this reserved IP.
Note Within
primary_ip
,reserved_ip
is mutually exclusive toauto_delete
,address
andname
- Resource
Type 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.
- 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 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.
- Reserved
Ip string The unique identifier for this reserved IP.
Note Within
primary_ip
,reserved_ip
is mutually exclusive toauto_delete
,address
andname
- Resource
Type 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.
- auto
Delete 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.
- reserved
Ip String The unique identifier for this reserved IP.
Note Within
primary_ip
,reserved_ip
is mutually exclusive toauto_delete
,address
andname
- resource
Type 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.
- auto
Delete 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.
- reserved
Ip string The unique identifier for this reserved IP.
Note Within
primary_ip
,reserved_ip
is mutually exclusive toauto_delete
,address
andname
- resource
Type 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 toauto_delete
,address
andname
- 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.
- auto
Delete 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.
- reserved
Ip String The unique identifier for this reserved IP.
Note Within
primary_ip
,reserved_ip
is mutually exclusive toauto_delete
,address
andname
- resource
Type 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.