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,
isLockOverride: mountTargetIsLockOverride,
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,
},
locks: [{
type: mountTargetLocksType,
message: mountTargetLocksMessage,
relatedResourceId: testResource.id,
timeCreated: mountTargetLocksTimeCreated,
}],
nsgIds: mountTargetNsgIds,
requestedThroughput: mountTargetRequestedThroughput,
});
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,
is_lock_override=mount_target_is_lock_override,
kerberos={
"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={
"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,
},
locks=[{
"type": mount_target_locks_type,
"message": mount_target_locks_message,
"related_resource_id": test_resource["id"],
"time_created": mount_target_locks_time_created,
}],
nsg_ids=mount_target_nsg_ids,
requested_throughput=mount_target_requested_throughput)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/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.StringMap{
"Operations.CostCenter": pulumi.String("42"),
},
DisplayName: pulumi.Any(mountTargetDisplayName),
FreeformTags: pulumi.StringMap{
"Department": pulumi.String("Finance"),
},
HostnameLabel: pulumi.Any(mountTargetHostnameLabel),
IdmapType: pulumi.Any(mountTargetIdmapType),
IpAddress: pulumi.Any(mountTargetIpAddress),
IsLockOverride: pulumi.Any(mountTargetIsLockOverride),
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),
},
Locks: filestorage.MountTargetLockArray{
&filestorage.MountTargetLockArgs{
Type: pulumi.Any(mountTargetLocksType),
Message: pulumi.Any(mountTargetLocksMessage),
RelatedResourceId: pulumi.Any(testResource.Id),
TimeCreated: pulumi.Any(mountTargetLocksTimeCreated),
},
},
NsgIds: pulumi.Any(mountTargetNsgIds),
RequestedThroughput: pulumi.Any(mountTargetRequestedThroughput),
})
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,
IsLockOverride = mountTargetIsLockOverride,
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,
},
Locks = new[]
{
new Oci.FileStorage.Inputs.MountTargetLockArgs
{
Type = mountTargetLocksType,
Message = mountTargetLocksMessage,
RelatedResourceId = testResource.Id,
TimeCreated = mountTargetLocksTimeCreated,
},
},
NsgIds = mountTargetNsgIds,
RequestedThroughput = mountTargetRequestedThroughput,
});
});
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 com.pulumi.oci.FileStorage.inputs.MountTargetLockArgs;
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)
.isLockOverride(mountTargetIsLockOverride)
.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())
.locks(MountTargetLockArgs.builder()
.type(mountTargetLocksType)
.message(mountTargetLocksMessage)
.relatedResourceId(testResource.id())
.timeCreated(mountTargetLocksTimeCreated)
.build())
.nsgIds(mountTargetNsgIds)
.requestedThroughput(mountTargetRequestedThroughput)
.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}
isLockOverride: ${mountTargetIsLockOverride}
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}
locks:
- type: ${mountTargetLocksType}
message: ${mountTargetLocksMessage}
relatedResourceId: ${testResource.id}
timeCreated: ${mountTargetLocksTimeCreated}
nsgIds: ${mountTargetNsgIds}
requestedThroughput: ${mountTargetRequestedThroughput}
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,
idmap_type: Optional[str] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
hostname_label: Optional[str] = None,
display_name: Optional[str] = None,
ip_address: Optional[str] = None,
is_lock_override: Optional[bool] = None,
kerberos: Optional[_filestorage.MountTargetKerberosArgs] = None,
ldap_idmap: Optional[_filestorage.MountTargetLdapIdmapArgs] = None,
locks: Optional[Sequence[_filestorage.MountTargetLockArgs]] = None,
nsg_ids: Optional[Sequence[str]] = None,
requested_throughput: Optional[str] = None,
defined_tags: Optional[Mapping[str, 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",
IdmapType = "string",
FreeformTags =
{
{ "string", "string" },
},
HostnameLabel = "string",
DisplayName = "string",
IpAddress = "string",
IsLockOverride = false,
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",
},
Locks = new[]
{
new Oci.FileStorage.Inputs.MountTargetLockArgs
{
Type = "string",
Message = "string",
RelatedResourceId = "string",
TimeCreated = "string",
},
},
NsgIds = new[]
{
"string",
},
RequestedThroughput = "string",
DefinedTags =
{
{ "string", "string" },
},
});
example, err := FileStorage.NewMountTarget(ctx, "mountTargetResource", &FileStorage.MountTargetArgs{
AvailabilityDomain: pulumi.String("string"),
CompartmentId: pulumi.String("string"),
SubnetId: pulumi.String("string"),
IdmapType: pulumi.String("string"),
FreeformTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
HostnameLabel: pulumi.String("string"),
DisplayName: pulumi.String("string"),
IpAddress: pulumi.String("string"),
IsLockOverride: pulumi.Bool(false),
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"),
},
Locks: filestorage.MountTargetLockArray{
&filestorage.MountTargetLockArgs{
Type: pulumi.String("string"),
Message: pulumi.String("string"),
RelatedResourceId: pulumi.String("string"),
TimeCreated: pulumi.String("string"),
},
},
NsgIds: pulumi.StringArray{
pulumi.String("string"),
},
RequestedThroughput: pulumi.String("string"),
DefinedTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var mountTargetResource = new MountTarget("mountTargetResource", MountTargetArgs.builder()
.availabilityDomain("string")
.compartmentId("string")
.subnetId("string")
.idmapType("string")
.freeformTags(Map.of("string", "string"))
.hostnameLabel("string")
.displayName("string")
.ipAddress("string")
.isLockOverride(false)
.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())
.locks(MountTargetLockArgs.builder()
.type("string")
.message("string")
.relatedResourceId("string")
.timeCreated("string")
.build())
.nsgIds("string")
.requestedThroughput("string")
.definedTags(Map.of("string", "string"))
.build());
mount_target_resource = oci.file_storage.MountTarget("mountTargetResource",
availability_domain="string",
compartment_id="string",
subnet_id="string",
idmap_type="string",
freeform_tags={
"string": "string",
},
hostname_label="string",
display_name="string",
ip_address="string",
is_lock_override=False,
kerberos={
"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={
"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",
},
locks=[{
"type": "string",
"message": "string",
"related_resource_id": "string",
"time_created": "string",
}],
nsg_ids=["string"],
requested_throughput="string",
defined_tags={
"string": "string",
})
const mountTargetResource = new oci.filestorage.MountTarget("mountTargetResource", {
availabilityDomain: "string",
compartmentId: "string",
subnetId: "string",
idmapType: "string",
freeformTags: {
string: "string",
},
hostnameLabel: "string",
displayName: "string",
ipAddress: "string",
isLockOverride: false,
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",
},
locks: [{
type: "string",
message: "string",
relatedResourceId: "string",
timeCreated: "string",
}],
nsgIds: ["string"],
requestedThroughput: "string",
definedTags: {
string: "string",
},
});
type: oci:FileStorage:MountTarget
properties:
availabilityDomain: string
compartmentId: string
definedTags:
string: string
displayName: string
freeformTags:
string: string
hostnameLabel: string
idmapType: string
ipAddress: string
isLockOverride: false
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
locks:
- message: string
relatedResourceId: string
timeCreated: string
type: string
nsgIds:
- string
requestedThroughput: 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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
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, string>
- (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, string>
- (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. Example:
10.0.3.3
- Is
Lock boolOverride - (Updatable) Whether to override locks (if any exist).
- 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.
- Locks
List<Mount
Target Lock> - Locks associated with this resource.
- 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.
- Requested
Throughput string - (Updatable) Throughput for mount target in Gbps. Currently only 1 Gbps of requestedThroughput is supported during create MountTarget. Available shapes and corresponding throughput are listed at Mount Target Performance.
- 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]string
- (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]string
- (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. Example:
10.0.3.3
- Is
Lock boolOverride - (Updatable) Whether to override locks (if any exist).
- 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.
- Locks
[]Mount
Target Lock Args - Locks associated with this resource.
- 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.
- Requested
Throughput string - (Updatable) Throughput for mount target in Gbps. Currently only 1 Gbps of requestedThroughput is supported during create MountTarget. Available shapes and corresponding throughput are listed at Mount Target Performance.
- 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,String>
- (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,String>
- (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. Example:
10.0.3.3
- is
Lock BooleanOverride - (Updatable) Whether to override locks (if any exist).
- 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.
- locks
List<Mount
Target Lock> - Locks associated with this resource.
- 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.
- requested
Throughput String - (Updatable) Throughput for mount target in Gbps. Currently only 1 Gbps of requestedThroughput is supported during create MountTarget. Available shapes and corresponding throughput are listed at Mount Target Performance.
- 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]: string}
- (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]: string}
- (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. Example:
10.0.3.3
- is
Lock booleanOverride - (Updatable) Whether to override locks (if any exist).
- 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.
- locks
Mount
Target Lock[] - Locks associated with this resource.
- 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.
- requested
Throughput string - (Updatable) Throughput for mount target in Gbps. Currently only 1 Gbps of requestedThroughput is supported during create MountTarget. Available shapes and corresponding throughput are listed at Mount Target Performance.
- 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, str]
- (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, str]
- (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. Example:
10.0.3.3
- is_
lock_ booloverride - (Updatable) Whether to override locks (if any exist).
- 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.
- locks
Sequence[filestorage.
Mount Target Lock Args] - Locks associated with this resource.
- 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.
- requested_
throughput str - (Updatable) Throughput for mount target in Gbps. Currently only 1 Gbps of requestedThroughput is supported during create MountTarget. Available shapes and corresponding throughput are listed at Mount Target Performance.
- 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>
- (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>
- (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. Example:
10.0.3.3
- is
Lock BooleanOverride - (Updatable) Whether to override locks (if any exist).
- kerberos Property Map
- (Updatable) Kerberos details needed to create configuration.
- ldap
Idmap Property Map - (Updatable) Mount target details about the LDAP ID mapping configuration.
- locks List<Property Map>
- Locks associated with this resource.
- 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.
- requested
Throughput String - (Updatable) Throughput for mount target in Gbps. Currently only 1 Gbps of requestedThroughput is supported during create MountTarget. Available shapes and corresponding throughput are listed at Mount Target Performance.
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'.
- Observed
Throughput string - Current billed throughput for mount target in Gbps. This corresponds to shape of mount target. Available shapes and corresponding throughput are listed at Mount Target Performance.
- Private
Ip List<string>Ids - The OCIDs of the private IP addresses associated with this mount target.
- Reserved
Storage stringCapacity - Reserved capacity (GB) associated with this mount target. Reserved capacity depends on observedThroughput value of mount target. Value is listed at Mount Target Performance.
- State string
- The current state of the mount target.
- Time
Billing stringCycle End - The date and time the mount target current billing cycle will end, expressed in RFC 3339 timestamp format. Once a cycle ends, it is updated automatically to next timestamp which is after 30 days. Example:
2016-08-25T21:10:29.600Z
- 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'.
- Observed
Throughput string - Current billed throughput for mount target in Gbps. This corresponds to shape of mount target. Available shapes and corresponding throughput are listed at Mount Target Performance.
- Private
Ip []stringIds - The OCIDs of the private IP addresses associated with this mount target.
- Reserved
Storage stringCapacity - Reserved capacity (GB) associated with this mount target. Reserved capacity depends on observedThroughput value of mount target. Value is listed at Mount Target Performance.
- State string
- The current state of the mount target.
- Time
Billing stringCycle End - The date and time the mount target current billing cycle will end, expressed in RFC 3339 timestamp format. Once a cycle ends, it is updated automatically to next timestamp which is after 30 days. Example:
2016-08-25T21:10:29.600Z
- 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'.
- observed
Throughput String - Current billed throughput for mount target in Gbps. This corresponds to shape of mount target. Available shapes and corresponding throughput are listed at Mount Target Performance.
- private
Ip List<String>Ids - The OCIDs of the private IP addresses associated with this mount target.
- reserved
Storage StringCapacity - Reserved capacity (GB) associated with this mount target. Reserved capacity depends on observedThroughput value of mount target. Value is listed at Mount Target Performance.
- state String
- The current state of the mount target.
- time
Billing StringCycle End - The date and time the mount target current billing cycle will end, expressed in RFC 3339 timestamp format. Once a cycle ends, it is updated automatically to next timestamp which is after 30 days. Example:
2016-08-25T21:10:29.600Z
- 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'.
- observed
Throughput string - Current billed throughput for mount target in Gbps. This corresponds to shape of mount target. Available shapes and corresponding throughput are listed at Mount Target Performance.
- private
Ip string[]Ids - The OCIDs of the private IP addresses associated with this mount target.
- reserved
Storage stringCapacity - Reserved capacity (GB) associated with this mount target. Reserved capacity depends on observedThroughput value of mount target. Value is listed at Mount Target Performance.
- state string
- The current state of the mount target.
- time
Billing stringCycle End - The date and time the mount target current billing cycle will end, expressed in RFC 3339 timestamp format. Once a cycle ends, it is updated automatically to next timestamp which is after 30 days. Example:
2016-08-25T21:10:29.600Z
- 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'.
- observed_
throughput str - Current billed throughput for mount target in Gbps. This corresponds to shape of mount target. Available shapes and corresponding throughput are listed at Mount Target Performance.
- private_
ip_ Sequence[str]ids - The OCIDs of the private IP addresses associated with this mount target.
- reserved_
storage_ strcapacity - Reserved capacity (GB) associated with this mount target. Reserved capacity depends on observedThroughput value of mount target. Value is listed at Mount Target Performance.
- state str
- The current state of the mount target.
- time_
billing_ strcycle_ end - The date and time the mount target current billing cycle will end, expressed in RFC 3339 timestamp format. Once a cycle ends, it is updated automatically to next timestamp which is after 30 days. Example:
2016-08-25T21:10:29.600Z
- 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'.
- observed
Throughput String - Current billed throughput for mount target in Gbps. This corresponds to shape of mount target. Available shapes and corresponding throughput are listed at Mount Target Performance.
- private
Ip List<String>Ids - The OCIDs of the private IP addresses associated with this mount target.
- reserved
Storage StringCapacity - Reserved capacity (GB) associated with this mount target. Reserved capacity depends on observedThroughput value of mount target. Value is listed at Mount Target Performance.
- state String
- The current state of the mount target.
- time
Billing StringCycle End - The date and time the mount target current billing cycle will end, expressed in RFC 3339 timestamp format. Once a cycle ends, it is updated automatically to next timestamp which is after 30 days. Example:
2016-08-25T21:10:29.600Z
- 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, str]] = None,
display_name: Optional[str] = None,
export_set_id: Optional[str] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
hostname_label: Optional[str] = None,
idmap_type: Optional[str] = None,
ip_address: Optional[str] = None,
is_lock_override: Optional[bool] = None,
kerberos: Optional[_filestorage.MountTargetKerberosArgs] = None,
ldap_idmap: Optional[_filestorage.MountTargetLdapIdmapArgs] = None,
lifecycle_details: Optional[str] = None,
locks: Optional[Sequence[_filestorage.MountTargetLockArgs]] = None,
nsg_ids: Optional[Sequence[str]] = None,
observed_throughput: Optional[str] = None,
private_ip_ids: Optional[Sequence[str]] = None,
requested_throughput: Optional[str] = None,
reserved_storage_capacity: Optional[str] = None,
state: Optional[str] = None,
subnet_id: Optional[str] = None,
time_billing_cycle_end: 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, string>
- (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, string>
- (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. Example:
10.0.3.3
- Is
Lock boolOverride - (Updatable) Whether to override locks (if any exist).
- 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'.
- Locks
List<Mount
Target Lock> - Locks associated with this resource.
- 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.
- Observed
Throughput string - Current billed throughput for mount target in Gbps. This corresponds to shape of mount target. Available shapes and corresponding throughput are listed at Mount Target Performance.
- Private
Ip List<string>Ids - The OCIDs of the private IP addresses associated with this mount target.
- Requested
Throughput string - (Updatable) Throughput for mount target in Gbps. Currently only 1 Gbps of requestedThroughput is supported during create MountTarget. Available shapes and corresponding throughput are listed at Mount Target Performance.
- Reserved
Storage stringCapacity - Reserved capacity (GB) associated with this mount target. Reserved capacity depends on observedThroughput value of mount target. Value is listed at Mount Target Performance.
- 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
Billing stringCycle End - The date and time the mount target current billing cycle will end, expressed in RFC 3339 timestamp format. Once a cycle ends, it is updated automatically to next timestamp which is after 30 days. Example:
2016-08-25T21:10:29.600Z
- 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]string
- (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]string
- (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. Example:
10.0.3.3
- Is
Lock boolOverride - (Updatable) Whether to override locks (if any exist).
- 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'.
- Locks
[]Mount
Target Lock Args - Locks associated with this resource.
- 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.
- Observed
Throughput string - Current billed throughput for mount target in Gbps. This corresponds to shape of mount target. Available shapes and corresponding throughput are listed at Mount Target Performance.
- Private
Ip []stringIds - The OCIDs of the private IP addresses associated with this mount target.
- Requested
Throughput string - (Updatable) Throughput for mount target in Gbps. Currently only 1 Gbps of requestedThroughput is supported during create MountTarget. Available shapes and corresponding throughput are listed at Mount Target Performance.
- Reserved
Storage stringCapacity - Reserved capacity (GB) associated with this mount target. Reserved capacity depends on observedThroughput value of mount target. Value is listed at Mount Target Performance.
- 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
Billing stringCycle End - The date and time the mount target current billing cycle will end, expressed in RFC 3339 timestamp format. Once a cycle ends, it is updated automatically to next timestamp which is after 30 days. Example:
2016-08-25T21:10:29.600Z
- 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,String>
- (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,String>
- (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. Example:
10.0.3.3
- is
Lock BooleanOverride - (Updatable) Whether to override locks (if any exist).
- 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'.
- locks
List<Mount
Target Lock> - Locks associated with this resource.
- 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.
- observed
Throughput String - Current billed throughput for mount target in Gbps. This corresponds to shape of mount target. Available shapes and corresponding throughput are listed at Mount Target Performance.
- private
Ip List<String>Ids - The OCIDs of the private IP addresses associated with this mount target.
- requested
Throughput String - (Updatable) Throughput for mount target in Gbps. Currently only 1 Gbps of requestedThroughput is supported during create MountTarget. Available shapes and corresponding throughput are listed at Mount Target Performance.
- reserved
Storage StringCapacity - Reserved capacity (GB) associated with this mount target. Reserved capacity depends on observedThroughput value of mount target. Value is listed at Mount Target Performance.
- 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
Billing StringCycle End - The date and time the mount target current billing cycle will end, expressed in RFC 3339 timestamp format. Once a cycle ends, it is updated automatically to next timestamp which is after 30 days. Example:
2016-08-25T21:10:29.600Z
- 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]: string}
- (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]: string}
- (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. Example:
10.0.3.3
- is
Lock booleanOverride - (Updatable) Whether to override locks (if any exist).
- 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'.
- locks
Mount
Target Lock[] - Locks associated with this resource.
- 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.
- observed
Throughput string - Current billed throughput for mount target in Gbps. This corresponds to shape of mount target. Available shapes and corresponding throughput are listed at Mount Target Performance.
- private
Ip string[]Ids - The OCIDs of the private IP addresses associated with this mount target.
- requested
Throughput string - (Updatable) Throughput for mount target in Gbps. Currently only 1 Gbps of requestedThroughput is supported during create MountTarget. Available shapes and corresponding throughput are listed at Mount Target Performance.
- reserved
Storage stringCapacity - Reserved capacity (GB) associated with this mount target. Reserved capacity depends on observedThroughput value of mount target. Value is listed at Mount Target Performance.
- 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
Billing stringCycle End - The date and time the mount target current billing cycle will end, expressed in RFC 3339 timestamp format. Once a cycle ends, it is updated automatically to next timestamp which is after 30 days. Example:
2016-08-25T21:10:29.600Z
- 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, str]
- (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, str]
- (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. Example:
10.0.3.3
- is_
lock_ booloverride - (Updatable) Whether to override locks (if any exist).
- 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'.
- locks
Sequence[filestorage.
Mount Target Lock Args] - Locks associated with this resource.
- 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.
- observed_
throughput str - Current billed throughput for mount target in Gbps. This corresponds to shape of mount target. Available shapes and corresponding throughput are listed at Mount Target Performance.
- private_
ip_ Sequence[str]ids - The OCIDs of the private IP addresses associated with this mount target.
- requested_
throughput str - (Updatable) Throughput for mount target in Gbps. Currently only 1 Gbps of requestedThroughput is supported during create MountTarget. Available shapes and corresponding throughput are listed at Mount Target Performance.
- reserved_
storage_ strcapacity - Reserved capacity (GB) associated with this mount target. Reserved capacity depends on observedThroughput value of mount target. Value is listed at Mount Target Performance.
- 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_
billing_ strcycle_ end - The date and time the mount target current billing cycle will end, expressed in RFC 3339 timestamp format. Once a cycle ends, it is updated automatically to next timestamp which is after 30 days. Example:
2016-08-25T21:10:29.600Z
- 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<String>
- (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>
- (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. Example:
10.0.3.3
- is
Lock BooleanOverride - (Updatable) Whether to override locks (if any exist).
- 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'.
- locks List<Property Map>
- Locks associated with this resource.
- 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.
- observed
Throughput String - Current billed throughput for mount target in Gbps. This corresponds to shape of mount target. Available shapes and corresponding throughput are listed at Mount Target Performance.
- private
Ip List<String>Ids - The OCIDs of the private IP addresses associated with this mount target.
- requested
Throughput String - (Updatable) Throughput for mount target in Gbps. Currently only 1 Gbps of requestedThroughput is supported during create MountTarget. Available shapes and corresponding throughput are listed at Mount Target Performance.
- reserved
Storage StringCapacity - Reserved capacity (GB) associated with this mount target. Reserved capacity depends on observedThroughput value of mount target. Value is listed at Mount Target Performance.
- 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
Billing StringCycle End - The date and time the mount target current billing cycle will end, expressed in RFC 3339 timestamp format. Once a cycle ends, it is updated automatically to next timestamp which is after 30 days. Example:
2016-08-25T21:10:29.600Z
- 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
MountTargetLock, MountTargetLockArgs
- Type string
- Type of the lock.
- Message string
- A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
- string
- The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
- Time
Created string - When the lock was created.
- Type string
- Type of the lock.
- Message string
- A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
- string
- The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
- Time
Created string - When the lock was created.
- type String
- Type of the lock.
- message String
- A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
- String
- The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
- time
Created String - When the lock was created.
- type string
- Type of the lock.
- message string
- A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
- string
- The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
- time
Created string - When the lock was created.
- type str
- Type of the lock.
- message str
- A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
- str
- The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
- time_
created str - When the lock was created.
- type String
- Type of the lock.
- message String
- A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
- String
- The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
- time
Created String - When the lock was created.
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.