oci.FileStorage.MountTarget
Explore with Pulumi AI
This resource provides the Mount Target resource in Oracle Cloud Infrastructure File Storage service.
Creates a new mount target in the specified compartment and subnet. You can associate a file system with a mount target only when they exist in the same availability domain. Instances can connect to mount targets in another availablity domain, but you might see higher latency than with instances in the same availability domain as the mount target.
Mount targets have one or more private IP addresses that you can provide as the host portion of remote target parameters in client mount commands. These private IP addresses are listed in the privateIpIds property of the mount target and are highly available. Mount targets also consume additional IP addresses in their subnet. Do not use /30 or smaller subnets for mount target creation because they do not have sufficient available IP addresses. Allow at least three IP addresses for each mount target.
For information about access control and compartments, see Overview of the IAM Service.
For information about availability domains, see Regions and
Availability Domains.
To get a list of availability domains, use the
ListAvailabilityDomains
operation in the Identity and Access
Management Service API.
All Oracle Cloud Infrastructure Services resources, including mount targets, get an Oracle-assigned, unique ID called an Oracle Cloud Identifier (OCID). When you create a resource, you can find its OCID in the response. You can also retrieve a resource’s OCID by using a List API operation on that resource type, or by viewing the resource in the Console.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testMountTarget = new oci.filestorage.MountTarget("test_mount_target", {
availabilityDomain: mountTargetAvailabilityDomain,
compartmentId: compartmentId,
subnetId: testSubnet.id,
definedTags: {
"Operations.CostCenter": "42",
},
displayName: mountTargetDisplayName,
freeformTags: {
Department: "Finance",
},
hostnameLabel: mountTargetHostnameLabel,
idmapType: mountTargetIdmapType,
ipAddress: mountTargetIpAddress,
kerberos: {
kerberosRealm: mountTargetKerberosKerberosRealm,
backupKeyTabSecretVersion: mountTargetKerberosBackupKeyTabSecretVersion,
currentKeyTabSecretVersion: mountTargetKerberosCurrentKeyTabSecretVersion,
isKerberosEnabled: mountTargetKerberosIsKerberosEnabled,
keyTabSecretId: testSecret.id,
},
ldapIdmap: {
cacheLifetimeSeconds: mountTargetLdapIdmapCacheLifetimeSeconds,
cacheRefreshIntervalSeconds: mountTargetLdapIdmapCacheRefreshIntervalSeconds,
groupSearchBase: mountTargetLdapIdmapGroupSearchBase,
negativeCacheLifetimeSeconds: mountTargetLdapIdmapNegativeCacheLifetimeSeconds,
outboundConnector1id: testOutboundConnector1.id,
outboundConnector2id: testOutboundConnector2.id,
schemaType: mountTargetLdapIdmapSchemaType,
userSearchBase: mountTargetLdapIdmapUserSearchBase,
},
nsgIds: mountTargetNsgIds,
});
import pulumi
import pulumi_oci as oci
test_mount_target = oci.file_storage.MountTarget("test_mount_target",
availability_domain=mount_target_availability_domain,
compartment_id=compartment_id,
subnet_id=test_subnet["id"],
defined_tags={
"Operations.CostCenter": "42",
},
display_name=mount_target_display_name,
freeform_tags={
"Department": "Finance",
},
hostname_label=mount_target_hostname_label,
idmap_type=mount_target_idmap_type,
ip_address=mount_target_ip_address,
kerberos=oci.file_storage.MountTargetKerberosArgs(
kerberos_realm=mount_target_kerberos_kerberos_realm,
backup_key_tab_secret_version=mount_target_kerberos_backup_key_tab_secret_version,
current_key_tab_secret_version=mount_target_kerberos_current_key_tab_secret_version,
is_kerberos_enabled=mount_target_kerberos_is_kerberos_enabled,
key_tab_secret_id=test_secret["id"],
),
ldap_idmap=oci.file_storage.MountTargetLdapIdmapArgs(
cache_lifetime_seconds=mount_target_ldap_idmap_cache_lifetime_seconds,
cache_refresh_interval_seconds=mount_target_ldap_idmap_cache_refresh_interval_seconds,
group_search_base=mount_target_ldap_idmap_group_search_base,
negative_cache_lifetime_seconds=mount_target_ldap_idmap_negative_cache_lifetime_seconds,
outbound_connector1id=test_outbound_connector1["id"],
outbound_connector2id=test_outbound_connector2["id"],
schema_type=mount_target_ldap_idmap_schema_type,
user_search_base=mount_target_ldap_idmap_user_search_base,
),
nsg_ids=mount_target_nsg_ids)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/go/oci/FileStorage"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := FileStorage.NewMountTarget(ctx, "test_mount_target", &FileStorage.MountTargetArgs{
AvailabilityDomain: pulumi.Any(mountTargetAvailabilityDomain),
CompartmentId: pulumi.Any(compartmentId),
SubnetId: pulumi.Any(testSubnet.Id),
DefinedTags: pulumi.Map{
"Operations.CostCenter": pulumi.Any("42"),
},
DisplayName: pulumi.Any(mountTargetDisplayName),
FreeformTags: pulumi.Map{
"Department": pulumi.Any("Finance"),
},
HostnameLabel: pulumi.Any(mountTargetHostnameLabel),
IdmapType: pulumi.Any(mountTargetIdmapType),
IpAddress: pulumi.Any(mountTargetIpAddress),
Kerberos: &filestorage.MountTargetKerberosArgs{
KerberosRealm: pulumi.Any(mountTargetKerberosKerberosRealm),
BackupKeyTabSecretVersion: pulumi.Any(mountTargetKerberosBackupKeyTabSecretVersion),
CurrentKeyTabSecretVersion: pulumi.Any(mountTargetKerberosCurrentKeyTabSecretVersion),
IsKerberosEnabled: pulumi.Any(mountTargetKerberosIsKerberosEnabled),
KeyTabSecretId: pulumi.Any(testSecret.Id),
},
LdapIdmap: &filestorage.MountTargetLdapIdmapArgs{
CacheLifetimeSeconds: pulumi.Any(mountTargetLdapIdmapCacheLifetimeSeconds),
CacheRefreshIntervalSeconds: pulumi.Any(mountTargetLdapIdmapCacheRefreshIntervalSeconds),
GroupSearchBase: pulumi.Any(mountTargetLdapIdmapGroupSearchBase),
NegativeCacheLifetimeSeconds: pulumi.Any(mountTargetLdapIdmapNegativeCacheLifetimeSeconds),
OutboundConnector1id: pulumi.Any(testOutboundConnector1.Id),
OutboundConnector2id: pulumi.Any(testOutboundConnector2.Id),
SchemaType: pulumi.Any(mountTargetLdapIdmapSchemaType),
UserSearchBase: pulumi.Any(mountTargetLdapIdmapUserSearchBase),
},
NsgIds: pulumi.Any(mountTargetNsgIds),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testMountTarget = new Oci.FileStorage.MountTarget("test_mount_target", new()
{
AvailabilityDomain = mountTargetAvailabilityDomain,
CompartmentId = compartmentId,
SubnetId = testSubnet.Id,
DefinedTags =
{
{ "Operations.CostCenter", "42" },
},
DisplayName = mountTargetDisplayName,
FreeformTags =
{
{ "Department", "Finance" },
},
HostnameLabel = mountTargetHostnameLabel,
IdmapType = mountTargetIdmapType,
IpAddress = mountTargetIpAddress,
Kerberos = new Oci.FileStorage.Inputs.MountTargetKerberosArgs
{
KerberosRealm = mountTargetKerberosKerberosRealm,
BackupKeyTabSecretVersion = mountTargetKerberosBackupKeyTabSecretVersion,
CurrentKeyTabSecretVersion = mountTargetKerberosCurrentKeyTabSecretVersion,
IsKerberosEnabled = mountTargetKerberosIsKerberosEnabled,
KeyTabSecretId = testSecret.Id,
},
LdapIdmap = new Oci.FileStorage.Inputs.MountTargetLdapIdmapArgs
{
CacheLifetimeSeconds = mountTargetLdapIdmapCacheLifetimeSeconds,
CacheRefreshIntervalSeconds = mountTargetLdapIdmapCacheRefreshIntervalSeconds,
GroupSearchBase = mountTargetLdapIdmapGroupSearchBase,
NegativeCacheLifetimeSeconds = mountTargetLdapIdmapNegativeCacheLifetimeSeconds,
OutboundConnector1id = testOutboundConnector1.Id,
OutboundConnector2id = testOutboundConnector2.Id,
SchemaType = mountTargetLdapIdmapSchemaType,
UserSearchBase = mountTargetLdapIdmapUserSearchBase,
},
NsgIds = mountTargetNsgIds,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.FileStorage.MountTarget;
import com.pulumi.oci.FileStorage.MountTargetArgs;
import com.pulumi.oci.FileStorage.inputs.MountTargetKerberosArgs;
import com.pulumi.oci.FileStorage.inputs.MountTargetLdapIdmapArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var testMountTarget = new MountTarget("testMountTarget", MountTargetArgs.builder()
.availabilityDomain(mountTargetAvailabilityDomain)
.compartmentId(compartmentId)
.subnetId(testSubnet.id())
.definedTags(Map.of("Operations.CostCenter", "42"))
.displayName(mountTargetDisplayName)
.freeformTags(Map.of("Department", "Finance"))
.hostnameLabel(mountTargetHostnameLabel)
.idmapType(mountTargetIdmapType)
.ipAddress(mountTargetIpAddress)
.kerberos(MountTargetKerberosArgs.builder()
.kerberosRealm(mountTargetKerberosKerberosRealm)
.backupKeyTabSecretVersion(mountTargetKerberosBackupKeyTabSecretVersion)
.currentKeyTabSecretVersion(mountTargetKerberosCurrentKeyTabSecretVersion)
.isKerberosEnabled(mountTargetKerberosIsKerberosEnabled)
.keyTabSecretId(testSecret.id())
.build())
.ldapIdmap(MountTargetLdapIdmapArgs.builder()
.cacheLifetimeSeconds(mountTargetLdapIdmapCacheLifetimeSeconds)
.cacheRefreshIntervalSeconds(mountTargetLdapIdmapCacheRefreshIntervalSeconds)
.groupSearchBase(mountTargetLdapIdmapGroupSearchBase)
.negativeCacheLifetimeSeconds(mountTargetLdapIdmapNegativeCacheLifetimeSeconds)
.outboundConnector1id(testOutboundConnector1.id())
.outboundConnector2id(testOutboundConnector2.id())
.schemaType(mountTargetLdapIdmapSchemaType)
.userSearchBase(mountTargetLdapIdmapUserSearchBase)
.build())
.nsgIds(mountTargetNsgIds)
.build());
}
}
resources:
testMountTarget:
type: oci:FileStorage:MountTarget
name: test_mount_target
properties:
availabilityDomain: ${mountTargetAvailabilityDomain}
compartmentId: ${compartmentId}
subnetId: ${testSubnet.id}
definedTags:
Operations.CostCenter: '42'
displayName: ${mountTargetDisplayName}
freeformTags:
Department: Finance
hostnameLabel: ${mountTargetHostnameLabel}
idmapType: ${mountTargetIdmapType}
ipAddress: ${mountTargetIpAddress}
kerberos:
kerberosRealm: ${mountTargetKerberosKerberosRealm}
backupKeyTabSecretVersion: ${mountTargetKerberosBackupKeyTabSecretVersion}
currentKeyTabSecretVersion: ${mountTargetKerberosCurrentKeyTabSecretVersion}
isKerberosEnabled: ${mountTargetKerberosIsKerberosEnabled}
keyTabSecretId: ${testSecret.id}
ldapIdmap:
cacheLifetimeSeconds: ${mountTargetLdapIdmapCacheLifetimeSeconds}
cacheRefreshIntervalSeconds: ${mountTargetLdapIdmapCacheRefreshIntervalSeconds}
groupSearchBase: ${mountTargetLdapIdmapGroupSearchBase}
negativeCacheLifetimeSeconds: ${mountTargetLdapIdmapNegativeCacheLifetimeSeconds}
outboundConnector1id: ${testOutboundConnector1.id}
outboundConnector2id: ${testOutboundConnector2.id}
schemaType: ${mountTargetLdapIdmapSchemaType}
userSearchBase: ${mountTargetLdapIdmapUserSearchBase}
nsgIds: ${mountTargetNsgIds}
Create MountTarget Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new MountTarget(name: string, args: MountTargetArgs, opts?: CustomResourceOptions);
@overload
def MountTarget(resource_name: str,
args: MountTargetArgs,
opts: Optional[ResourceOptions] = None)
@overload
def MountTarget(resource_name: str,
opts: Optional[ResourceOptions] = None,
availability_domain: Optional[str] = None,
compartment_id: Optional[str] = None,
subnet_id: Optional[str] = None,
defined_tags: Optional[Mapping[str, Any]] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, Any]] = None,
hostname_label: Optional[str] = None,
idmap_type: Optional[str] = None,
ip_address: Optional[str] = None,
kerberos: Optional[_filestorage.MountTargetKerberosArgs] = None,
ldap_idmap: Optional[_filestorage.MountTargetLdapIdmapArgs] = None,
nsg_ids: Optional[Sequence[str]] = None)
func NewMountTarget(ctx *Context, name string, args MountTargetArgs, opts ...ResourceOption) (*MountTarget, error)
public MountTarget(string name, MountTargetArgs args, CustomResourceOptions? opts = null)
public MountTarget(String name, MountTargetArgs args)
public MountTarget(String name, MountTargetArgs args, CustomResourceOptions options)
type: oci:FileStorage:MountTarget
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 MountTargetArgs
- 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 MountTargetArgs
- 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 MountTargetArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args MountTargetArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args MountTargetArgs
- 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 mountTargetResource = new Oci.FileStorage.MountTarget("mountTargetResource", new()
{
AvailabilityDomain = "string",
CompartmentId = "string",
SubnetId = "string",
DefinedTags =
{
{ "string", "any" },
},
DisplayName = "string",
FreeformTags =
{
{ "string", "any" },
},
HostnameLabel = "string",
IdmapType = "string",
IpAddress = "string",
Kerberos = new Oci.FileStorage.Inputs.MountTargetKerberosArgs
{
KerberosRealm = "string",
BackupKeyTabSecretVersion = 0,
CurrentKeyTabSecretVersion = 0,
IsKerberosEnabled = false,
KeyTabSecretId = "string",
},
LdapIdmap = new Oci.FileStorage.Inputs.MountTargetLdapIdmapArgs
{
CacheLifetimeSeconds = 0,
CacheRefreshIntervalSeconds = 0,
GroupSearchBase = "string",
NegativeCacheLifetimeSeconds = 0,
OutboundConnector1id = "string",
OutboundConnector2id = "string",
SchemaType = "string",
UserSearchBase = "string",
},
NsgIds = new[]
{
"string",
},
});
example, err := FileStorage.NewMountTarget(ctx, "mountTargetResource", &FileStorage.MountTargetArgs{
AvailabilityDomain: pulumi.String("string"),
CompartmentId: pulumi.String("string"),
SubnetId: pulumi.String("string"),
DefinedTags: pulumi.Map{
"string": pulumi.Any("any"),
},
DisplayName: pulumi.String("string"),
FreeformTags: pulumi.Map{
"string": pulumi.Any("any"),
},
HostnameLabel: pulumi.String("string"),
IdmapType: pulumi.String("string"),
IpAddress: pulumi.String("string"),
Kerberos: &filestorage.MountTargetKerberosArgs{
KerberosRealm: pulumi.String("string"),
BackupKeyTabSecretVersion: pulumi.Int(0),
CurrentKeyTabSecretVersion: pulumi.Int(0),
IsKerberosEnabled: pulumi.Bool(false),
KeyTabSecretId: pulumi.String("string"),
},
LdapIdmap: &filestorage.MountTargetLdapIdmapArgs{
CacheLifetimeSeconds: pulumi.Int(0),
CacheRefreshIntervalSeconds: pulumi.Int(0),
GroupSearchBase: pulumi.String("string"),
NegativeCacheLifetimeSeconds: pulumi.Int(0),
OutboundConnector1id: pulumi.String("string"),
OutboundConnector2id: pulumi.String("string"),
SchemaType: pulumi.String("string"),
UserSearchBase: pulumi.String("string"),
},
NsgIds: pulumi.StringArray{
pulumi.String("string"),
},
})
var mountTargetResource = new MountTarget("mountTargetResource", MountTargetArgs.builder()
.availabilityDomain("string")
.compartmentId("string")
.subnetId("string")
.definedTags(Map.of("string", "any"))
.displayName("string")
.freeformTags(Map.of("string", "any"))
.hostnameLabel("string")
.idmapType("string")
.ipAddress("string")
.kerberos(MountTargetKerberosArgs.builder()
.kerberosRealm("string")
.backupKeyTabSecretVersion(0)
.currentKeyTabSecretVersion(0)
.isKerberosEnabled(false)
.keyTabSecretId("string")
.build())
.ldapIdmap(MountTargetLdapIdmapArgs.builder()
.cacheLifetimeSeconds(0)
.cacheRefreshIntervalSeconds(0)
.groupSearchBase("string")
.negativeCacheLifetimeSeconds(0)
.outboundConnector1id("string")
.outboundConnector2id("string")
.schemaType("string")
.userSearchBase("string")
.build())
.nsgIds("string")
.build());
mount_target_resource = oci.file_storage.MountTarget("mountTargetResource",
availability_domain="string",
compartment_id="string",
subnet_id="string",
defined_tags={
"string": "any",
},
display_name="string",
freeform_tags={
"string": "any",
},
hostname_label="string",
idmap_type="string",
ip_address="string",
kerberos=oci.file_storage.MountTargetKerberosArgs(
kerberos_realm="string",
backup_key_tab_secret_version=0,
current_key_tab_secret_version=0,
is_kerberos_enabled=False,
key_tab_secret_id="string",
),
ldap_idmap=oci.file_storage.MountTargetLdapIdmapArgs(
cache_lifetime_seconds=0,
cache_refresh_interval_seconds=0,
group_search_base="string",
negative_cache_lifetime_seconds=0,
outbound_connector1id="string",
outbound_connector2id="string",
schema_type="string",
user_search_base="string",
),
nsg_ids=["string"])
const mountTargetResource = new oci.filestorage.MountTarget("mountTargetResource", {
availabilityDomain: "string",
compartmentId: "string",
subnetId: "string",
definedTags: {
string: "any",
},
displayName: "string",
freeformTags: {
string: "any",
},
hostnameLabel: "string",
idmapType: "string",
ipAddress: "string",
kerberos: {
kerberosRealm: "string",
backupKeyTabSecretVersion: 0,
currentKeyTabSecretVersion: 0,
isKerberosEnabled: false,
keyTabSecretId: "string",
},
ldapIdmap: {
cacheLifetimeSeconds: 0,
cacheRefreshIntervalSeconds: 0,
groupSearchBase: "string",
negativeCacheLifetimeSeconds: 0,
outboundConnector1id: "string",
outboundConnector2id: "string",
schemaType: "string",
userSearchBase: "string",
},
nsgIds: ["string"],
});
type: oci:FileStorage:MountTarget
properties:
availabilityDomain: string
compartmentId: string
definedTags:
string: any
displayName: string
freeformTags:
string: any
hostnameLabel: string
idmapType: string
ipAddress: string
kerberos:
backupKeyTabSecretVersion: 0
currentKeyTabSecretVersion: 0
isKerberosEnabled: false
kerberosRealm: string
keyTabSecretId: string
ldapIdmap:
cacheLifetimeSeconds: 0
cacheRefreshIntervalSeconds: 0
groupSearchBase: string
negativeCacheLifetimeSeconds: 0
outboundConnector1id: string
outboundConnector2id: string
schemaType: string
userSearchBase: string
nsgIds:
- string
subnetId: string
MountTarget Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The MountTarget resource accepts the following input properties:
- Availability
Domain string - The availability domain in which to create the mount target. Example:
Uocm:PHX-AD-1
- Compartment
Id string - (Updatable) The OCID of the compartment in which to create the mount target.
- Subnet
Id string The OCID of the subnet in which to create the mount target.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Dictionary<string, object>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Display
Name string - (Updatable) A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. Example:
My mount target
- Dictionary<string, object>
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- Hostname
Label string The hostname for the mount target's IP address, used for DNS resolution. The value is the hostname portion of the private IP address's fully qualified domain name (FQDN). For example,
files-1
in the FQDNfiles-1.subnet123.vcn1.oraclevcn.com
. Must be unique across all VNICs in the subnet and comply with RFC 952 and RFC 1123.Note: This attribute value is stored in the PrivateIp resource, not in the
mountTarget
resource. To update thehostnameLabel
, useGetMountTarget
to obtain the OCIDs of the mount target's private IPs (privateIpIds
). Then, you can use UpdatePrivateIp to update thehostnameLabel
value.For more information, see DNS in Your Virtual Cloud Network.
Example:
files-1
- Idmap
Type string - (Updatable) The method used to map a Unix UID to secondary groups, if any.
- Ip
Address string A private IP address of your choice. Must be an available IP address within the subnet's CIDR. If you don't specify a value, Oracle automatically assigns a private IP address from the subnet.
Note: This attribute value is stored in the PrivateIp resource, not in the
mountTarget
resource. To update theipAddress
, useGetMountTarget
to obtain the OCIDs of the mount target's private IPs (privateIpIds
). Then, you can use UpdatePrivateIp to update theipAddress
value.Example:
10.0.3.3
- Kerberos
Mount
Target Kerberos - (Updatable) Kerberos details needed to create configuration.
- Ldap
Idmap MountTarget Ldap Idmap - (Updatable) Mount target details about the LDAP ID mapping configuration.
- Nsg
Ids List<string> - (Updatable) A list of Network Security Group OCIDs associated with this mount target. A maximum of 5 is allowed. Setting this to an empty array after the list is created removes the mount target from all NSGs. For more information about NSGs, see Security Rules.
- Availability
Domain string - The availability domain in which to create the mount target. Example:
Uocm:PHX-AD-1
- Compartment
Id string - (Updatable) The OCID of the compartment in which to create the mount target.
- Subnet
Id string The OCID of the subnet in which to create the mount target.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- map[string]interface{}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Display
Name string - (Updatable) A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. Example:
My mount target
- map[string]interface{}
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- Hostname
Label string The hostname for the mount target's IP address, used for DNS resolution. The value is the hostname portion of the private IP address's fully qualified domain name (FQDN). For example,
files-1
in the FQDNfiles-1.subnet123.vcn1.oraclevcn.com
. Must be unique across all VNICs in the subnet and comply with RFC 952 and RFC 1123.Note: This attribute value is stored in the PrivateIp resource, not in the
mountTarget
resource. To update thehostnameLabel
, useGetMountTarget
to obtain the OCIDs of the mount target's private IPs (privateIpIds
). Then, you can use UpdatePrivateIp to update thehostnameLabel
value.For more information, see DNS in Your Virtual Cloud Network.
Example:
files-1
- Idmap
Type string - (Updatable) The method used to map a Unix UID to secondary groups, if any.
- Ip
Address string A private IP address of your choice. Must be an available IP address within the subnet's CIDR. If you don't specify a value, Oracle automatically assigns a private IP address from the subnet.
Note: This attribute value is stored in the PrivateIp resource, not in the
mountTarget
resource. To update theipAddress
, useGetMountTarget
to obtain the OCIDs of the mount target's private IPs (privateIpIds
). Then, you can use UpdatePrivateIp to update theipAddress
value.Example:
10.0.3.3
- Kerberos
Mount
Target Kerberos Args - (Updatable) Kerberos details needed to create configuration.
- Ldap
Idmap MountTarget Ldap Idmap Args - (Updatable) Mount target details about the LDAP ID mapping configuration.
- Nsg
Ids []string - (Updatable) A list of Network Security Group OCIDs associated with this mount target. A maximum of 5 is allowed. Setting this to an empty array after the list is created removes the mount target from all NSGs. For more information about NSGs, see Security Rules.
- availability
Domain String - The availability domain in which to create the mount target. Example:
Uocm:PHX-AD-1
- compartment
Id String - (Updatable) The OCID of the compartment in which to create the mount target.
- subnet
Id String The OCID of the subnet in which to create the mount target.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Map<String,Object>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display
Name String - (Updatable) A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. Example:
My mount target
- Map<String,Object>
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- hostname
Label String The hostname for the mount target's IP address, used for DNS resolution. The value is the hostname portion of the private IP address's fully qualified domain name (FQDN). For example,
files-1
in the FQDNfiles-1.subnet123.vcn1.oraclevcn.com
. Must be unique across all VNICs in the subnet and comply with RFC 952 and RFC 1123.Note: This attribute value is stored in the PrivateIp resource, not in the
mountTarget
resource. To update thehostnameLabel
, useGetMountTarget
to obtain the OCIDs of the mount target's private IPs (privateIpIds
). Then, you can use UpdatePrivateIp to update thehostnameLabel
value.For more information, see DNS in Your Virtual Cloud Network.
Example:
files-1
- idmap
Type String - (Updatable) The method used to map a Unix UID to secondary groups, if any.
- ip
Address String A private IP address of your choice. Must be an available IP address within the subnet's CIDR. If you don't specify a value, Oracle automatically assigns a private IP address from the subnet.
Note: This attribute value is stored in the PrivateIp resource, not in the
mountTarget
resource. To update theipAddress
, useGetMountTarget
to obtain the OCIDs of the mount target's private IPs (privateIpIds
). Then, you can use UpdatePrivateIp to update theipAddress
value.Example:
10.0.3.3
- kerberos
Mount
Target Kerberos - (Updatable) Kerberos details needed to create configuration.
- ldap
Idmap MountTarget Ldap Idmap - (Updatable) Mount target details about the LDAP ID mapping configuration.
- nsg
Ids List<String> - (Updatable) A list of Network Security Group OCIDs associated with this mount target. A maximum of 5 is allowed. Setting this to an empty array after the list is created removes the mount target from all NSGs. For more information about NSGs, see Security Rules.
- availability
Domain string - The availability domain in which to create the mount target. Example:
Uocm:PHX-AD-1
- compartment
Id string - (Updatable) The OCID of the compartment in which to create the mount target.
- subnet
Id string The OCID of the subnet in which to create the mount target.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- {[key: string]: any}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display
Name string - (Updatable) A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. Example:
My mount target
- {[key: string]: any}
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- hostname
Label string The hostname for the mount target's IP address, used for DNS resolution. The value is the hostname portion of the private IP address's fully qualified domain name (FQDN). For example,
files-1
in the FQDNfiles-1.subnet123.vcn1.oraclevcn.com
. Must be unique across all VNICs in the subnet and comply with RFC 952 and RFC 1123.Note: This attribute value is stored in the PrivateIp resource, not in the
mountTarget
resource. To update thehostnameLabel
, useGetMountTarget
to obtain the OCIDs of the mount target's private IPs (privateIpIds
). Then, you can use UpdatePrivateIp to update thehostnameLabel
value.For more information, see DNS in Your Virtual Cloud Network.
Example:
files-1
- idmap
Type string - (Updatable) The method used to map a Unix UID to secondary groups, if any.
- ip
Address string A private IP address of your choice. Must be an available IP address within the subnet's CIDR. If you don't specify a value, Oracle automatically assigns a private IP address from the subnet.
Note: This attribute value is stored in the PrivateIp resource, not in the
mountTarget
resource. To update theipAddress
, useGetMountTarget
to obtain the OCIDs of the mount target's private IPs (privateIpIds
). Then, you can use UpdatePrivateIp to update theipAddress
value.Example:
10.0.3.3
- kerberos
Mount
Target Kerberos - (Updatable) Kerberos details needed to create configuration.
- ldap
Idmap MountTarget Ldap Idmap - (Updatable) Mount target details about the LDAP ID mapping configuration.
- nsg
Ids string[] - (Updatable) A list of Network Security Group OCIDs associated with this mount target. A maximum of 5 is allowed. Setting this to an empty array after the list is created removes the mount target from all NSGs. For more information about NSGs, see Security Rules.
- availability_
domain str - The availability domain in which to create the mount target. Example:
Uocm:PHX-AD-1
- compartment_
id str - (Updatable) The OCID of the compartment in which to create the mount target.
- subnet_
id str The OCID of the subnet in which to create the mount target.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Mapping[str, Any]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display_
name str - (Updatable) A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. Example:
My mount target
- Mapping[str, Any]
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- hostname_
label str The hostname for the mount target's IP address, used for DNS resolution. The value is the hostname portion of the private IP address's fully qualified domain name (FQDN). For example,
files-1
in the FQDNfiles-1.subnet123.vcn1.oraclevcn.com
. Must be unique across all VNICs in the subnet and comply with RFC 952 and RFC 1123.Note: This attribute value is stored in the PrivateIp resource, not in the
mountTarget
resource. To update thehostnameLabel
, useGetMountTarget
to obtain the OCIDs of the mount target's private IPs (privateIpIds
). Then, you can use UpdatePrivateIp to update thehostnameLabel
value.For more information, see DNS in Your Virtual Cloud Network.
Example:
files-1
- idmap_
type str - (Updatable) The method used to map a Unix UID to secondary groups, if any.
- ip_
address str A private IP address of your choice. Must be an available IP address within the subnet's CIDR. If you don't specify a value, Oracle automatically assigns a private IP address from the subnet.
Note: This attribute value is stored in the PrivateIp resource, not in the
mountTarget
resource. To update theipAddress
, useGetMountTarget
to obtain the OCIDs of the mount target's private IPs (privateIpIds
). Then, you can use UpdatePrivateIp to update theipAddress
value.Example:
10.0.3.3
- kerberos
filestorage.
Mount Target Kerberos Args - (Updatable) Kerberos details needed to create configuration.
- ldap_
idmap filestorage.Mount Target Ldap Idmap Args - (Updatable) Mount target details about the LDAP ID mapping configuration.
- nsg_
ids Sequence[str] - (Updatable) A list of Network Security Group OCIDs associated with this mount target. A maximum of 5 is allowed. Setting this to an empty array after the list is created removes the mount target from all NSGs. For more information about NSGs, see Security Rules.
- availability
Domain String - The availability domain in which to create the mount target. Example:
Uocm:PHX-AD-1
- compartment
Id String - (Updatable) The OCID of the compartment in which to create the mount target.
- subnet
Id String The OCID of the subnet in which to create the mount target.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Map<Any>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display
Name String - (Updatable) A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. Example:
My mount target
- Map<Any>
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- hostname
Label String The hostname for the mount target's IP address, used for DNS resolution. The value is the hostname portion of the private IP address's fully qualified domain name (FQDN). For example,
files-1
in the FQDNfiles-1.subnet123.vcn1.oraclevcn.com
. Must be unique across all VNICs in the subnet and comply with RFC 952 and RFC 1123.Note: This attribute value is stored in the PrivateIp resource, not in the
mountTarget
resource. To update thehostnameLabel
, useGetMountTarget
to obtain the OCIDs of the mount target's private IPs (privateIpIds
). Then, you can use UpdatePrivateIp to update thehostnameLabel
value.For more information, see DNS in Your Virtual Cloud Network.
Example:
files-1
- idmap
Type String - (Updatable) The method used to map a Unix UID to secondary groups, if any.
- ip
Address String A private IP address of your choice. Must be an available IP address within the subnet's CIDR. If you don't specify a value, Oracle automatically assigns a private IP address from the subnet.
Note: This attribute value is stored in the PrivateIp resource, not in the
mountTarget
resource. To update theipAddress
, useGetMountTarget
to obtain the OCIDs of the mount target's private IPs (privateIpIds
). Then, you can use UpdatePrivateIp to update theipAddress
value.Example:
10.0.3.3
- kerberos Property Map
- (Updatable) Kerberos details needed to create configuration.
- ldap
Idmap Property Map - (Updatable) Mount target details about the LDAP ID mapping configuration.
- nsg
Ids List<String> - (Updatable) A list of Network Security Group OCIDs associated with this mount target. A maximum of 5 is allowed. Setting this to an empty array after the list is created removes the mount target from all NSGs. For more information about NSGs, see Security Rules.
Outputs
All input properties are implicitly available as output properties. Additionally, the MountTarget resource produces the following output properties:
- Export
Set stringId - The OCID of the associated export set. Controls what file systems will be exported through Network File System (NFS) protocol on this mount target.
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
Details string - Additional information about the current 'lifecycleState'.
- Private
Ip List<string>Ids - The OCIDs of the private IP addresses associated with this mount target.
- State string
- The current state of the mount target.
- Time
Created string - The date and time the mount target was created, expressed in RFC 3339 timestamp format. Example:
2016-08-25T21:10:29.600Z
- Export
Set stringId - The OCID of the associated export set. Controls what file systems will be exported through Network File System (NFS) protocol on this mount target.
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
Details string - Additional information about the current 'lifecycleState'.
- Private
Ip []stringIds - The OCIDs of the private IP addresses associated with this mount target.
- State string
- The current state of the mount target.
- Time
Created string - The date and time the mount target was created, expressed in RFC 3339 timestamp format. Example:
2016-08-25T21:10:29.600Z
- export
Set StringId - The OCID of the associated export set. Controls what file systems will be exported through Network File System (NFS) protocol on this mount target.
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details String - Additional information about the current 'lifecycleState'.
- private
Ip List<String>Ids - The OCIDs of the private IP addresses associated with this mount target.
- state String
- The current state of the mount target.
- time
Created String - The date and time the mount target was created, expressed in RFC 3339 timestamp format. Example:
2016-08-25T21:10:29.600Z
- export
Set stringId - The OCID of the associated export set. Controls what file systems will be exported through Network File System (NFS) protocol on this mount target.
- id string
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details string - Additional information about the current 'lifecycleState'.
- private
Ip string[]Ids - The OCIDs of the private IP addresses associated with this mount target.
- state string
- The current state of the mount target.
- time
Created string - The date and time the mount target was created, expressed in RFC 3339 timestamp format. Example:
2016-08-25T21:10:29.600Z
- export_
set_ strid - The OCID of the associated export set. Controls what file systems will be exported through Network File System (NFS) protocol on this mount target.
- id str
- The provider-assigned unique ID for this managed resource.
- lifecycle_
details str - Additional information about the current 'lifecycleState'.
- private_
ip_ Sequence[str]ids - The OCIDs of the private IP addresses associated with this mount target.
- state str
- The current state of the mount target.
- time_
created str - The date and time the mount target was created, expressed in RFC 3339 timestamp format. Example:
2016-08-25T21:10:29.600Z
- export
Set StringId - The OCID of the associated export set. Controls what file systems will be exported through Network File System (NFS) protocol on this mount target.
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details String - Additional information about the current 'lifecycleState'.
- private
Ip List<String>Ids - The OCIDs of the private IP addresses associated with this mount target.
- state String
- The current state of the mount target.
- time
Created String - The date and time the mount target was created, expressed in RFC 3339 timestamp format. Example:
2016-08-25T21:10:29.600Z
Look up Existing MountTarget Resource
Get an existing MountTarget 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?: MountTargetState, opts?: CustomResourceOptions): MountTarget
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
availability_domain: Optional[str] = None,
compartment_id: Optional[str] = None,
defined_tags: Optional[Mapping[str, Any]] = None,
display_name: Optional[str] = None,
export_set_id: Optional[str] = None,
freeform_tags: Optional[Mapping[str, Any]] = None,
hostname_label: Optional[str] = None,
idmap_type: Optional[str] = None,
ip_address: Optional[str] = None,
kerberos: Optional[_filestorage.MountTargetKerberosArgs] = None,
ldap_idmap: Optional[_filestorage.MountTargetLdapIdmapArgs] = None,
lifecycle_details: Optional[str] = None,
nsg_ids: Optional[Sequence[str]] = None,
private_ip_ids: Optional[Sequence[str]] = None,
state: Optional[str] = None,
subnet_id: Optional[str] = None,
time_created: Optional[str] = None) -> MountTarget
func GetMountTarget(ctx *Context, name string, id IDInput, state *MountTargetState, opts ...ResourceOption) (*MountTarget, error)
public static MountTarget Get(string name, Input<string> id, MountTargetState? state, CustomResourceOptions? opts = null)
public static MountTarget get(String name, Output<String> id, MountTargetState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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.
- Availability
Domain string - The availability domain in which to create the mount target. Example:
Uocm:PHX-AD-1
- Compartment
Id string - (Updatable) The OCID of the compartment in which to create the mount target.
- Dictionary<string, object>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Display
Name string - (Updatable) A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. Example:
My mount target
- Export
Set stringId - The OCID of the associated export set. Controls what file systems will be exported through Network File System (NFS) protocol on this mount target.
- Dictionary<string, object>
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- Hostname
Label string The hostname for the mount target's IP address, used for DNS resolution. The value is the hostname portion of the private IP address's fully qualified domain name (FQDN). For example,
files-1
in the FQDNfiles-1.subnet123.vcn1.oraclevcn.com
. Must be unique across all VNICs in the subnet and comply with RFC 952 and RFC 1123.Note: This attribute value is stored in the PrivateIp resource, not in the
mountTarget
resource. To update thehostnameLabel
, useGetMountTarget
to obtain the OCIDs of the mount target's private IPs (privateIpIds
). Then, you can use UpdatePrivateIp to update thehostnameLabel
value.For more information, see DNS in Your Virtual Cloud Network.
Example:
files-1
- Idmap
Type string - (Updatable) The method used to map a Unix UID to secondary groups, if any.
- Ip
Address string A private IP address of your choice. Must be an available IP address within the subnet's CIDR. If you don't specify a value, Oracle automatically assigns a private IP address from the subnet.
Note: This attribute value is stored in the PrivateIp resource, not in the
mountTarget
resource. To update theipAddress
, useGetMountTarget
to obtain the OCIDs of the mount target's private IPs (privateIpIds
). Then, you can use UpdatePrivateIp to update theipAddress
value.Example:
10.0.3.3
- Kerberos
Mount
Target Kerberos - (Updatable) Kerberos details needed to create configuration.
- Ldap
Idmap MountTarget Ldap Idmap - (Updatable) Mount target details about the LDAP ID mapping configuration.
- Lifecycle
Details string - Additional information about the current 'lifecycleState'.
- Nsg
Ids List<string> - (Updatable) A list of Network Security Group OCIDs associated with this mount target. A maximum of 5 is allowed. Setting this to an empty array after the list is created removes the mount target from all NSGs. For more information about NSGs, see Security Rules.
- Private
Ip List<string>Ids - The OCIDs of the private IP addresses associated with this mount target.
- State string
- The current state of the mount target.
- Subnet
Id string The OCID of the subnet in which to create the mount target.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Time
Created string - The date and time the mount target was created, expressed in RFC 3339 timestamp format. Example:
2016-08-25T21:10:29.600Z
- Availability
Domain string - The availability domain in which to create the mount target. Example:
Uocm:PHX-AD-1
- Compartment
Id string - (Updatable) The OCID of the compartment in which to create the mount target.
- map[string]interface{}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Display
Name string - (Updatable) A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. Example:
My mount target
- Export
Set stringId - The OCID of the associated export set. Controls what file systems will be exported through Network File System (NFS) protocol on this mount target.
- map[string]interface{}
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- Hostname
Label string The hostname for the mount target's IP address, used for DNS resolution. The value is the hostname portion of the private IP address's fully qualified domain name (FQDN). For example,
files-1
in the FQDNfiles-1.subnet123.vcn1.oraclevcn.com
. Must be unique across all VNICs in the subnet and comply with RFC 952 and RFC 1123.Note: This attribute value is stored in the PrivateIp resource, not in the
mountTarget
resource. To update thehostnameLabel
, useGetMountTarget
to obtain the OCIDs of the mount target's private IPs (privateIpIds
). Then, you can use UpdatePrivateIp to update thehostnameLabel
value.For more information, see DNS in Your Virtual Cloud Network.
Example:
files-1
- Idmap
Type string - (Updatable) The method used to map a Unix UID to secondary groups, if any.
- Ip
Address string A private IP address of your choice. Must be an available IP address within the subnet's CIDR. If you don't specify a value, Oracle automatically assigns a private IP address from the subnet.
Note: This attribute value is stored in the PrivateIp resource, not in the
mountTarget
resource. To update theipAddress
, useGetMountTarget
to obtain the OCIDs of the mount target's private IPs (privateIpIds
). Then, you can use UpdatePrivateIp to update theipAddress
value.Example:
10.0.3.3
- Kerberos
Mount
Target Kerberos Args - (Updatable) Kerberos details needed to create configuration.
- Ldap
Idmap MountTarget Ldap Idmap Args - (Updatable) Mount target details about the LDAP ID mapping configuration.
- Lifecycle
Details string - Additional information about the current 'lifecycleState'.
- Nsg
Ids []string - (Updatable) A list of Network Security Group OCIDs associated with this mount target. A maximum of 5 is allowed. Setting this to an empty array after the list is created removes the mount target from all NSGs. For more information about NSGs, see Security Rules.
- Private
Ip []stringIds - The OCIDs of the private IP addresses associated with this mount target.
- State string
- The current state of the mount target.
- Subnet
Id string The OCID of the subnet in which to create the mount target.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Time
Created string - The date and time the mount target was created, expressed in RFC 3339 timestamp format. Example:
2016-08-25T21:10:29.600Z
- availability
Domain String - The availability domain in which to create the mount target. Example:
Uocm:PHX-AD-1
- compartment
Id String - (Updatable) The OCID of the compartment in which to create the mount target.
- Map<String,Object>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display
Name String - (Updatable) A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. Example:
My mount target
- export
Set StringId - The OCID of the associated export set. Controls what file systems will be exported through Network File System (NFS) protocol on this mount target.
- Map<String,Object>
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- hostname
Label String The hostname for the mount target's IP address, used for DNS resolution. The value is the hostname portion of the private IP address's fully qualified domain name (FQDN). For example,
files-1
in the FQDNfiles-1.subnet123.vcn1.oraclevcn.com
. Must be unique across all VNICs in the subnet and comply with RFC 952 and RFC 1123.Note: This attribute value is stored in the PrivateIp resource, not in the
mountTarget
resource. To update thehostnameLabel
, useGetMountTarget
to obtain the OCIDs of the mount target's private IPs (privateIpIds
). Then, you can use UpdatePrivateIp to update thehostnameLabel
value.For more information, see DNS in Your Virtual Cloud Network.
Example:
files-1
- idmap
Type String - (Updatable) The method used to map a Unix UID to secondary groups, if any.
- ip
Address String A private IP address of your choice. Must be an available IP address within the subnet's CIDR. If you don't specify a value, Oracle automatically assigns a private IP address from the subnet.
Note: This attribute value is stored in the PrivateIp resource, not in the
mountTarget
resource. To update theipAddress
, useGetMountTarget
to obtain the OCIDs of the mount target's private IPs (privateIpIds
). Then, you can use UpdatePrivateIp to update theipAddress
value.Example:
10.0.3.3
- kerberos
Mount
Target Kerberos - (Updatable) Kerberos details needed to create configuration.
- ldap
Idmap MountTarget Ldap Idmap - (Updatable) Mount target details about the LDAP ID mapping configuration.
- lifecycle
Details String - Additional information about the current 'lifecycleState'.
- nsg
Ids List<String> - (Updatable) A list of Network Security Group OCIDs associated with this mount target. A maximum of 5 is allowed. Setting this to an empty array after the list is created removes the mount target from all NSGs. For more information about NSGs, see Security Rules.
- private
Ip List<String>Ids - The OCIDs of the private IP addresses associated with this mount target.
- state String
- The current state of the mount target.
- subnet
Id String The OCID of the subnet in which to create the mount target.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- time
Created String - The date and time the mount target was created, expressed in RFC 3339 timestamp format. Example:
2016-08-25T21:10:29.600Z
- availability
Domain string - The availability domain in which to create the mount target. Example:
Uocm:PHX-AD-1
- compartment
Id string - (Updatable) The OCID of the compartment in which to create the mount target.
- {[key: string]: any}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display
Name string - (Updatable) A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. Example:
My mount target
- export
Set stringId - The OCID of the associated export set. Controls what file systems will be exported through Network File System (NFS) protocol on this mount target.
- {[key: string]: any}
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- hostname
Label string The hostname for the mount target's IP address, used for DNS resolution. The value is the hostname portion of the private IP address's fully qualified domain name (FQDN). For example,
files-1
in the FQDNfiles-1.subnet123.vcn1.oraclevcn.com
. Must be unique across all VNICs in the subnet and comply with RFC 952 and RFC 1123.Note: This attribute value is stored in the PrivateIp resource, not in the
mountTarget
resource. To update thehostnameLabel
, useGetMountTarget
to obtain the OCIDs of the mount target's private IPs (privateIpIds
). Then, you can use UpdatePrivateIp to update thehostnameLabel
value.For more information, see DNS in Your Virtual Cloud Network.
Example:
files-1
- idmap
Type string - (Updatable) The method used to map a Unix UID to secondary groups, if any.
- ip
Address string A private IP address of your choice. Must be an available IP address within the subnet's CIDR. If you don't specify a value, Oracle automatically assigns a private IP address from the subnet.
Note: This attribute value is stored in the PrivateIp resource, not in the
mountTarget
resource. To update theipAddress
, useGetMountTarget
to obtain the OCIDs of the mount target's private IPs (privateIpIds
). Then, you can use UpdatePrivateIp to update theipAddress
value.Example:
10.0.3.3
- kerberos
Mount
Target Kerberos - (Updatable) Kerberos details needed to create configuration.
- ldap
Idmap MountTarget Ldap Idmap - (Updatable) Mount target details about the LDAP ID mapping configuration.
- lifecycle
Details string - Additional information about the current 'lifecycleState'.
- nsg
Ids string[] - (Updatable) A list of Network Security Group OCIDs associated with this mount target. A maximum of 5 is allowed. Setting this to an empty array after the list is created removes the mount target from all NSGs. For more information about NSGs, see Security Rules.
- private
Ip string[]Ids - The OCIDs of the private IP addresses associated with this mount target.
- state string
- The current state of the mount target.
- subnet
Id string The OCID of the subnet in which to create the mount target.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- time
Created string - The date and time the mount target was created, expressed in RFC 3339 timestamp format. Example:
2016-08-25T21:10:29.600Z
- availability_
domain str - The availability domain in which to create the mount target. Example:
Uocm:PHX-AD-1
- compartment_
id str - (Updatable) The OCID of the compartment in which to create the mount target.
- Mapping[str, Any]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display_
name str - (Updatable) A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. Example:
My mount target
- export_
set_ strid - The OCID of the associated export set. Controls what file systems will be exported through Network File System (NFS) protocol on this mount target.
- Mapping[str, Any]
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- hostname_
label str The hostname for the mount target's IP address, used for DNS resolution. The value is the hostname portion of the private IP address's fully qualified domain name (FQDN). For example,
files-1
in the FQDNfiles-1.subnet123.vcn1.oraclevcn.com
. Must be unique across all VNICs in the subnet and comply with RFC 952 and RFC 1123.Note: This attribute value is stored in the PrivateIp resource, not in the
mountTarget
resource. To update thehostnameLabel
, useGetMountTarget
to obtain the OCIDs of the mount target's private IPs (privateIpIds
). Then, you can use UpdatePrivateIp to update thehostnameLabel
value.For more information, see DNS in Your Virtual Cloud Network.
Example:
files-1
- idmap_
type str - (Updatable) The method used to map a Unix UID to secondary groups, if any.
- ip_
address str A private IP address of your choice. Must be an available IP address within the subnet's CIDR. If you don't specify a value, Oracle automatically assigns a private IP address from the subnet.
Note: This attribute value is stored in the PrivateIp resource, not in the
mountTarget
resource. To update theipAddress
, useGetMountTarget
to obtain the OCIDs of the mount target's private IPs (privateIpIds
). Then, you can use UpdatePrivateIp to update theipAddress
value.Example:
10.0.3.3
- kerberos
filestorage.
Mount Target Kerberos Args - (Updatable) Kerberos details needed to create configuration.
- ldap_
idmap filestorage.Mount Target Ldap Idmap Args - (Updatable) Mount target details about the LDAP ID mapping configuration.
- lifecycle_
details str - Additional information about the current 'lifecycleState'.
- nsg_
ids Sequence[str] - (Updatable) A list of Network Security Group OCIDs associated with this mount target. A maximum of 5 is allowed. Setting this to an empty array after the list is created removes the mount target from all NSGs. For more information about NSGs, see Security Rules.
- private_
ip_ Sequence[str]ids - The OCIDs of the private IP addresses associated with this mount target.
- state str
- The current state of the mount target.
- subnet_
id str The OCID of the subnet in which to create the mount target.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- time_
created str - The date and time the mount target was created, expressed in RFC 3339 timestamp format. Example:
2016-08-25T21:10:29.600Z
- availability
Domain String - The availability domain in which to create the mount target. Example:
Uocm:PHX-AD-1
- compartment
Id String - (Updatable) The OCID of the compartment in which to create the mount target.
- Map<Any>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display
Name String - (Updatable) A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. Example:
My mount target
- export
Set StringId - The OCID of the associated export set. Controls what file systems will be exported through Network File System (NFS) protocol on this mount target.
- Map<Any>
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- hostname
Label String The hostname for the mount target's IP address, used for DNS resolution. The value is the hostname portion of the private IP address's fully qualified domain name (FQDN). For example,
files-1
in the FQDNfiles-1.subnet123.vcn1.oraclevcn.com
. Must be unique across all VNICs in the subnet and comply with RFC 952 and RFC 1123.Note: This attribute value is stored in the PrivateIp resource, not in the
mountTarget
resource. To update thehostnameLabel
, useGetMountTarget
to obtain the OCIDs of the mount target's private IPs (privateIpIds
). Then, you can use UpdatePrivateIp to update thehostnameLabel
value.For more information, see DNS in Your Virtual Cloud Network.
Example:
files-1
- idmap
Type String - (Updatable) The method used to map a Unix UID to secondary groups, if any.
- ip
Address String A private IP address of your choice. Must be an available IP address within the subnet's CIDR. If you don't specify a value, Oracle automatically assigns a private IP address from the subnet.
Note: This attribute value is stored in the PrivateIp resource, not in the
mountTarget
resource. To update theipAddress
, useGetMountTarget
to obtain the OCIDs of the mount target's private IPs (privateIpIds
). Then, you can use UpdatePrivateIp to update theipAddress
value.Example:
10.0.3.3
- kerberos Property Map
- (Updatable) Kerberos details needed to create configuration.
- ldap
Idmap Property Map - (Updatable) Mount target details about the LDAP ID mapping configuration.
- lifecycle
Details String - Additional information about the current 'lifecycleState'.
- nsg
Ids List<String> - (Updatable) A list of Network Security Group OCIDs associated with this mount target. A maximum of 5 is allowed. Setting this to an empty array after the list is created removes the mount target from all NSGs. For more information about NSGs, see Security Rules.
- private
Ip List<String>Ids - The OCIDs of the private IP addresses associated with this mount target.
- state String
- The current state of the mount target.
- subnet
Id String The OCID of the subnet in which to create the mount target.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- time
Created String - The date and time the mount target was created, expressed in RFC 3339 timestamp format. Example:
2016-08-25T21:10:29.600Z
Supporting Types
MountTargetKerberos, MountTargetKerberosArgs
- Kerberos
Realm string - (Updatable) The Kerberos realm that the mount target will join.
- Backup
Key intTab Secret Version - (Updatable) Version of the keytab Secret in the Vault to use as a backup.
- Current
Key intTab Secret Version - (Updatable) Version of the keytab Secret in the Vault to use.
- Is
Kerberos boolEnabled - (Updatable) Specifies whether to enable or disable Kerberos.
- Key
Tab stringSecret Id - (Updatable) The OCID of the keytab Secret in the Vault.
- Kerberos
Realm string - (Updatable) The Kerberos realm that the mount target will join.
- Backup
Key intTab Secret Version - (Updatable) Version of the keytab Secret in the Vault to use as a backup.
- Current
Key intTab Secret Version - (Updatable) Version of the keytab Secret in the Vault to use.
- Is
Kerberos boolEnabled - (Updatable) Specifies whether to enable or disable Kerberos.
- Key
Tab stringSecret Id - (Updatable) The OCID of the keytab Secret in the Vault.
- kerberos
Realm String - (Updatable) The Kerberos realm that the mount target will join.
- backup
Key IntegerTab Secret Version - (Updatable) Version of the keytab Secret in the Vault to use as a backup.
- current
Key IntegerTab Secret Version - (Updatable) Version of the keytab Secret in the Vault to use.
- is
Kerberos BooleanEnabled - (Updatable) Specifies whether to enable or disable Kerberos.
- key
Tab StringSecret Id - (Updatable) The OCID of the keytab Secret in the Vault.
- kerberos
Realm string - (Updatable) The Kerberos realm that the mount target will join.
- backup
Key numberTab Secret Version - (Updatable) Version of the keytab Secret in the Vault to use as a backup.
- current
Key numberTab Secret Version - (Updatable) Version of the keytab Secret in the Vault to use.
- is
Kerberos booleanEnabled - (Updatable) Specifies whether to enable or disable Kerberos.
- key
Tab stringSecret Id - (Updatable) The OCID of the keytab Secret in the Vault.
- kerberos_
realm str - (Updatable) The Kerberos realm that the mount target will join.
- backup_
key_ inttab_ secret_ version - (Updatable) Version of the keytab Secret in the Vault to use as a backup.
- current_
key_ inttab_ secret_ version - (Updatable) Version of the keytab Secret in the Vault to use.
- is_
kerberos_ boolenabled - (Updatable) Specifies whether to enable or disable Kerberos.
- key_
tab_ strsecret_ id - (Updatable) The OCID of the keytab Secret in the Vault.
- kerberos
Realm String - (Updatable) The Kerberos realm that the mount target will join.
- backup
Key NumberTab Secret Version - (Updatable) Version of the keytab Secret in the Vault to use as a backup.
- current
Key NumberTab Secret Version - (Updatable) Version of the keytab Secret in the Vault to use.
- is
Kerberos BooleanEnabled - (Updatable) Specifies whether to enable or disable Kerberos.
- key
Tab StringSecret Id - (Updatable) The OCID of the keytab Secret in the Vault.
MountTargetLdapIdmap, MountTargetLdapIdmapArgs
- Cache
Lifetime intSeconds - (Updatable) The maximum amount of time the mount target is allowed to use a cached entry.
- Cache
Refresh intInterval Seconds - (Updatable) The amount of time that the mount target should allow an entry to persist in its cache before attempting to refresh the entry.
- Group
Search stringBase - (Updatable) All LDAP searches are recursive starting at this group. Example:
CN=Group,DC=domain,DC=com
- Negative
Cache intLifetime Seconds - (Updatable) The amount of time that a mount target will maintain information that a user is not found in the ID mapping configuration.
- Outbound
Connector1id string - (Updatable) The OCID of the first connector to use to communicate with the LDAP server.
- Outbound
Connector2id string - (Updatable) The OCID of the second connector to use to communicate with the LDAP server.
- Schema
Type string - (Updatable) Schema type of the LDAP account.
- User
Search stringBase - (Updatable) All LDAP searches are recursive starting at this user. Example:
CN=User,DC=domain,DC=com
- Cache
Lifetime intSeconds - (Updatable) The maximum amount of time the mount target is allowed to use a cached entry.
- Cache
Refresh intInterval Seconds - (Updatable) The amount of time that the mount target should allow an entry to persist in its cache before attempting to refresh the entry.
- Group
Search stringBase - (Updatable) All LDAP searches are recursive starting at this group. Example:
CN=Group,DC=domain,DC=com
- Negative
Cache intLifetime Seconds - (Updatable) The amount of time that a mount target will maintain information that a user is not found in the ID mapping configuration.
- Outbound
Connector1id string - (Updatable) The OCID of the first connector to use to communicate with the LDAP server.
- Outbound
Connector2id string - (Updatable) The OCID of the second connector to use to communicate with the LDAP server.
- Schema
Type string - (Updatable) Schema type of the LDAP account.
- User
Search stringBase - (Updatable) All LDAP searches are recursive starting at this user. Example:
CN=User,DC=domain,DC=com
- cache
Lifetime IntegerSeconds - (Updatable) The maximum amount of time the mount target is allowed to use a cached entry.
- cache
Refresh IntegerInterval Seconds - (Updatable) The amount of time that the mount target should allow an entry to persist in its cache before attempting to refresh the entry.
- group
Search StringBase - (Updatable) All LDAP searches are recursive starting at this group. Example:
CN=Group,DC=domain,DC=com
- negative
Cache IntegerLifetime Seconds - (Updatable) The amount of time that a mount target will maintain information that a user is not found in the ID mapping configuration.
- outbound
Connector1id String - (Updatable) The OCID of the first connector to use to communicate with the LDAP server.
- outbound
Connector2id String - (Updatable) The OCID of the second connector to use to communicate with the LDAP server.
- schema
Type String - (Updatable) Schema type of the LDAP account.
- user
Search StringBase - (Updatable) All LDAP searches are recursive starting at this user. Example:
CN=User,DC=domain,DC=com
- cache
Lifetime numberSeconds - (Updatable) The maximum amount of time the mount target is allowed to use a cached entry.
- cache
Refresh numberInterval Seconds - (Updatable) The amount of time that the mount target should allow an entry to persist in its cache before attempting to refresh the entry.
- group
Search stringBase - (Updatable) All LDAP searches are recursive starting at this group. Example:
CN=Group,DC=domain,DC=com
- negative
Cache numberLifetime Seconds - (Updatable) The amount of time that a mount target will maintain information that a user is not found in the ID mapping configuration.
- outbound
Connector1id string - (Updatable) The OCID of the first connector to use to communicate with the LDAP server.
- outbound
Connector2id string - (Updatable) The OCID of the second connector to use to communicate with the LDAP server.
- schema
Type string - (Updatable) Schema type of the LDAP account.
- user
Search stringBase - (Updatable) All LDAP searches are recursive starting at this user. Example:
CN=User,DC=domain,DC=com
- cache_
lifetime_ intseconds - (Updatable) The maximum amount of time the mount target is allowed to use a cached entry.
- cache_
refresh_ intinterval_ seconds - (Updatable) The amount of time that the mount target should allow an entry to persist in its cache before attempting to refresh the entry.
- group_
search_ strbase - (Updatable) All LDAP searches are recursive starting at this group. Example:
CN=Group,DC=domain,DC=com
- negative_
cache_ intlifetime_ seconds - (Updatable) The amount of time that a mount target will maintain information that a user is not found in the ID mapping configuration.
- outbound_
connector1id str - (Updatable) The OCID of the first connector to use to communicate with the LDAP server.
- outbound_
connector2id str - (Updatable) The OCID of the second connector to use to communicate with the LDAP server.
- schema_
type str - (Updatable) Schema type of the LDAP account.
- user_
search_ strbase - (Updatable) All LDAP searches are recursive starting at this user. Example:
CN=User,DC=domain,DC=com
- cache
Lifetime NumberSeconds - (Updatable) The maximum amount of time the mount target is allowed to use a cached entry.
- cache
Refresh NumberInterval Seconds - (Updatable) The amount of time that the mount target should allow an entry to persist in its cache before attempting to refresh the entry.
- group
Search StringBase - (Updatable) All LDAP searches are recursive starting at this group. Example:
CN=Group,DC=domain,DC=com
- negative
Cache NumberLifetime Seconds - (Updatable) The amount of time that a mount target will maintain information that a user is not found in the ID mapping configuration.
- outbound
Connector1id String - (Updatable) The OCID of the first connector to use to communicate with the LDAP server.
- outbound
Connector2id String - (Updatable) The OCID of the second connector to use to communicate with the LDAP server.
- schema
Type String - (Updatable) Schema type of the LDAP account.
- user
Search StringBase - (Updatable) All LDAP searches are recursive starting at this user. Example:
CN=User,DC=domain,DC=com
Import
MountTargets can be imported using the id
, e.g.
$ pulumi import oci:FileStorage/mountTarget:MountTarget test_mount_target "id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.