1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. FileStorage
  5. MountTarget
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi

oci.FileStorage.MountTarget

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi

    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:

    AvailabilityDomain string
    The availability domain in which to create the mount target. Example: Uocm:PHX-AD-1
    CompartmentId string
    (Updatable) The OCID of the compartment in which to create the mount target.
    SubnetId 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

    DefinedTags 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"}
    DisplayName 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
    FreeformTags 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"}
    HostnameLabel 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 FQDN files-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 the hostnameLabel, use GetMountTarget to obtain the OCIDs of the mount target's private IPs (privateIpIds). Then, you can use UpdatePrivateIp to update the hostnameLabel value.

    For more information, see DNS in Your Virtual Cloud Network.

    Example: files-1

    IdmapType string
    (Updatable) The method used to map a Unix UID to secondary groups, if any.
    IpAddress 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 the ipAddress, use GetMountTarget to obtain the OCIDs of the mount target's private IPs (privateIpIds). Then, you can use UpdatePrivateIp to update the ipAddress value.

    Example: 10.0.3.3

    Kerberos MountTargetKerberos
    (Updatable) Kerberos details needed to create configuration.
    LdapIdmap MountTargetLdapIdmap
    (Updatable) Mount target details about the LDAP ID mapping configuration.
    NsgIds 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.
    AvailabilityDomain string
    The availability domain in which to create the mount target. Example: Uocm:PHX-AD-1
    CompartmentId string
    (Updatable) The OCID of the compartment in which to create the mount target.
    SubnetId 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

    DefinedTags 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"}
    DisplayName 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
    FreeformTags 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"}
    HostnameLabel 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 FQDN files-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 the hostnameLabel, use GetMountTarget to obtain the OCIDs of the mount target's private IPs (privateIpIds). Then, you can use UpdatePrivateIp to update the hostnameLabel value.

    For more information, see DNS in Your Virtual Cloud Network.

    Example: files-1

    IdmapType string
    (Updatable) The method used to map a Unix UID to secondary groups, if any.
    IpAddress 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 the ipAddress, use GetMountTarget to obtain the OCIDs of the mount target's private IPs (privateIpIds). Then, you can use UpdatePrivateIp to update the ipAddress value.

    Example: 10.0.3.3

    Kerberos MountTargetKerberosArgs
    (Updatable) Kerberos details needed to create configuration.
    LdapIdmap MountTargetLdapIdmapArgs
    (Updatable) Mount target details about the LDAP ID mapping configuration.
    NsgIds []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.
    availabilityDomain String
    The availability domain in which to create the mount target. Example: Uocm:PHX-AD-1
    compartmentId String
    (Updatable) The OCID of the compartment in which to create the mount target.
    subnetId 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

    definedTags 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"}
    displayName 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
    freeformTags 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"}
    hostnameLabel 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 FQDN files-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 the hostnameLabel, use GetMountTarget to obtain the OCIDs of the mount target's private IPs (privateIpIds). Then, you can use UpdatePrivateIp to update the hostnameLabel value.

    For more information, see DNS in Your Virtual Cloud Network.

    Example: files-1

    idmapType String
    (Updatable) The method used to map a Unix UID to secondary groups, if any.
    ipAddress 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 the ipAddress, use GetMountTarget to obtain the OCIDs of the mount target's private IPs (privateIpIds). Then, you can use UpdatePrivateIp to update the ipAddress value.

    Example: 10.0.3.3

    kerberos MountTargetKerberos
    (Updatable) Kerberos details needed to create configuration.
    ldapIdmap MountTargetLdapIdmap
    (Updatable) Mount target details about the LDAP ID mapping configuration.
    nsgIds 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.
    availabilityDomain string
    The availability domain in which to create the mount target. Example: Uocm:PHX-AD-1
    compartmentId string
    (Updatable) The OCID of the compartment in which to create the mount target.
    subnetId 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

    definedTags {[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"}
    displayName 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
    freeformTags {[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"}
    hostnameLabel 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 FQDN files-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 the hostnameLabel, use GetMountTarget to obtain the OCIDs of the mount target's private IPs (privateIpIds). Then, you can use UpdatePrivateIp to update the hostnameLabel value.

    For more information, see DNS in Your Virtual Cloud Network.

    Example: files-1

    idmapType string
    (Updatable) The method used to map a Unix UID to secondary groups, if any.
    ipAddress 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 the ipAddress, use GetMountTarget to obtain the OCIDs of the mount target's private IPs (privateIpIds). Then, you can use UpdatePrivateIp to update the ipAddress value.

    Example: 10.0.3.3

    kerberos MountTargetKerberos
    (Updatable) Kerberos details needed to create configuration.
    ldapIdmap MountTargetLdapIdmap
    (Updatable) Mount target details about the LDAP ID mapping configuration.
    nsgIds 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

    defined_tags 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
    freeform_tags 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 FQDN files-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 the hostnameLabel, use GetMountTarget to obtain the OCIDs of the mount target's private IPs (privateIpIds). Then, you can use UpdatePrivateIp to update the hostnameLabel 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 the ipAddress, use GetMountTarget to obtain the OCIDs of the mount target's private IPs (privateIpIds). Then, you can use UpdatePrivateIp to update the ipAddress value.

    Example: 10.0.3.3

    kerberos filestorage.MountTargetKerberosArgs
    (Updatable) Kerberos details needed to create configuration.
    ldap_idmap filestorage.MountTargetLdapIdmapArgs
    (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.
    availabilityDomain String
    The availability domain in which to create the mount target. Example: Uocm:PHX-AD-1
    compartmentId String
    (Updatable) The OCID of the compartment in which to create the mount target.
    subnetId 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

    definedTags 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"}
    displayName 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
    freeformTags 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"}
    hostnameLabel 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 FQDN files-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 the hostnameLabel, use GetMountTarget to obtain the OCIDs of the mount target's private IPs (privateIpIds). Then, you can use UpdatePrivateIp to update the hostnameLabel value.

    For more information, see DNS in Your Virtual Cloud Network.

    Example: files-1

    idmapType String
    (Updatable) The method used to map a Unix UID to secondary groups, if any.
    ipAddress 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 the ipAddress, use GetMountTarget to obtain the OCIDs of the mount target's private IPs (privateIpIds). Then, you can use UpdatePrivateIp to update the ipAddress value.

    Example: 10.0.3.3

    kerberos Property Map
    (Updatable) Kerberos details needed to create configuration.
    ldapIdmap Property Map
    (Updatable) Mount target details about the LDAP ID mapping configuration.
    nsgIds 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:

    ExportSetId string
    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.
    LifecycleDetails string
    Additional information about the current 'lifecycleState'.
    PrivateIpIds List<string>
    The OCIDs of the private IP addresses associated with this mount target.
    State string
    The current state of the mount target.
    TimeCreated string
    The date and time the mount target was created, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
    ExportSetId string
    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.
    LifecycleDetails string
    Additional information about the current 'lifecycleState'.
    PrivateIpIds []string
    The OCIDs of the private IP addresses associated with this mount target.
    State string
    The current state of the mount target.
    TimeCreated string
    The date and time the mount target was created, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
    exportSetId String
    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.
    lifecycleDetails String
    Additional information about the current 'lifecycleState'.
    privateIpIds List<String>
    The OCIDs of the private IP addresses associated with this mount target.
    state String
    The current state of the mount target.
    timeCreated String
    The date and time the mount target was created, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
    exportSetId string
    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.
    lifecycleDetails string
    Additional information about the current 'lifecycleState'.
    privateIpIds string[]
    The OCIDs of the private IP addresses associated with this mount target.
    state string
    The current state of the mount target.
    timeCreated 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_id str
    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_ids Sequence[str]
    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
    exportSetId String
    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.
    lifecycleDetails String
    Additional information about the current 'lifecycleState'.
    privateIpIds List<String>
    The OCIDs of the private IP addresses associated with this mount target.
    state String
    The current state of the mount target.
    timeCreated 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.
    The following state arguments are supported:
    AvailabilityDomain string
    The availability domain in which to create the mount target. Example: Uocm:PHX-AD-1
    CompartmentId string
    (Updatable) The OCID of the compartment in which to create the mount target.
    DefinedTags 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"}
    DisplayName 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
    ExportSetId string
    The OCID of the associated export set. Controls what file systems will be exported through Network File System (NFS) protocol on this mount target.
    FreeformTags 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"}
    HostnameLabel 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 FQDN files-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 the hostnameLabel, use GetMountTarget to obtain the OCIDs of the mount target's private IPs (privateIpIds). Then, you can use UpdatePrivateIp to update the hostnameLabel value.

    For more information, see DNS in Your Virtual Cloud Network.

    Example: files-1

    IdmapType string
    (Updatable) The method used to map a Unix UID to secondary groups, if any.
    IpAddress 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 the ipAddress, use GetMountTarget to obtain the OCIDs of the mount target's private IPs (privateIpIds). Then, you can use UpdatePrivateIp to update the ipAddress value.

    Example: 10.0.3.3

    Kerberos MountTargetKerberos
    (Updatable) Kerberos details needed to create configuration.
    LdapIdmap MountTargetLdapIdmap
    (Updatable) Mount target details about the LDAP ID mapping configuration.
    LifecycleDetails string
    Additional information about the current 'lifecycleState'.
    NsgIds 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.
    PrivateIpIds List<string>
    The OCIDs of the private IP addresses associated with this mount target.
    State string
    The current state of the mount target.
    SubnetId 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

    TimeCreated string
    The date and time the mount target was created, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
    AvailabilityDomain string
    The availability domain in which to create the mount target. Example: Uocm:PHX-AD-1
    CompartmentId string
    (Updatable) The OCID of the compartment in which to create the mount target.
    DefinedTags 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"}
    DisplayName 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
    ExportSetId string
    The OCID of the associated export set. Controls what file systems will be exported through Network File System (NFS) protocol on this mount target.
    FreeformTags 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"}
    HostnameLabel 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 FQDN files-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 the hostnameLabel, use GetMountTarget to obtain the OCIDs of the mount target's private IPs (privateIpIds). Then, you can use UpdatePrivateIp to update the hostnameLabel value.

    For more information, see DNS in Your Virtual Cloud Network.

    Example: files-1

    IdmapType string
    (Updatable) The method used to map a Unix UID to secondary groups, if any.
    IpAddress 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 the ipAddress, use GetMountTarget to obtain the OCIDs of the mount target's private IPs (privateIpIds). Then, you can use UpdatePrivateIp to update the ipAddress value.

    Example: 10.0.3.3

    Kerberos MountTargetKerberosArgs
    (Updatable) Kerberos details needed to create configuration.
    LdapIdmap MountTargetLdapIdmapArgs
    (Updatable) Mount target details about the LDAP ID mapping configuration.
    LifecycleDetails string
    Additional information about the current 'lifecycleState'.
    NsgIds []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.
    PrivateIpIds []string
    The OCIDs of the private IP addresses associated with this mount target.
    State string
    The current state of the mount target.
    SubnetId 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

    TimeCreated string
    The date and time the mount target was created, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
    availabilityDomain String
    The availability domain in which to create the mount target. Example: Uocm:PHX-AD-1
    compartmentId String
    (Updatable) The OCID of the compartment in which to create the mount target.
    definedTags 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"}
    displayName 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
    exportSetId String
    The OCID of the associated export set. Controls what file systems will be exported through Network File System (NFS) protocol on this mount target.
    freeformTags 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"}
    hostnameLabel 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 FQDN files-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 the hostnameLabel, use GetMountTarget to obtain the OCIDs of the mount target's private IPs (privateIpIds). Then, you can use UpdatePrivateIp to update the hostnameLabel value.

    For more information, see DNS in Your Virtual Cloud Network.

    Example: files-1

    idmapType String
    (Updatable) The method used to map a Unix UID to secondary groups, if any.
    ipAddress 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 the ipAddress, use GetMountTarget to obtain the OCIDs of the mount target's private IPs (privateIpIds). Then, you can use UpdatePrivateIp to update the ipAddress value.

    Example: 10.0.3.3

    kerberos MountTargetKerberos
    (Updatable) Kerberos details needed to create configuration.
    ldapIdmap MountTargetLdapIdmap
    (Updatable) Mount target details about the LDAP ID mapping configuration.
    lifecycleDetails String
    Additional information about the current 'lifecycleState'.
    nsgIds 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.
    privateIpIds List<String>
    The OCIDs of the private IP addresses associated with this mount target.
    state String
    The current state of the mount target.
    subnetId 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

    timeCreated String
    The date and time the mount target was created, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
    availabilityDomain string
    The availability domain in which to create the mount target. Example: Uocm:PHX-AD-1
    compartmentId string
    (Updatable) The OCID of the compartment in which to create the mount target.
    definedTags {[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"}
    displayName 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
    exportSetId string
    The OCID of the associated export set. Controls what file systems will be exported through Network File System (NFS) protocol on this mount target.
    freeformTags {[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"}
    hostnameLabel 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 FQDN files-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 the hostnameLabel, use GetMountTarget to obtain the OCIDs of the mount target's private IPs (privateIpIds). Then, you can use UpdatePrivateIp to update the hostnameLabel value.

    For more information, see DNS in Your Virtual Cloud Network.

    Example: files-1

    idmapType string
    (Updatable) The method used to map a Unix UID to secondary groups, if any.
    ipAddress 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 the ipAddress, use GetMountTarget to obtain the OCIDs of the mount target's private IPs (privateIpIds). Then, you can use UpdatePrivateIp to update the ipAddress value.

    Example: 10.0.3.3

    kerberos MountTargetKerberos
    (Updatable) Kerberos details needed to create configuration.
    ldapIdmap MountTargetLdapIdmap
    (Updatable) Mount target details about the LDAP ID mapping configuration.
    lifecycleDetails string
    Additional information about the current 'lifecycleState'.
    nsgIds 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.
    privateIpIds string[]
    The OCIDs of the private IP addresses associated with this mount target.
    state string
    The current state of the mount target.
    subnetId 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

    timeCreated 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.
    defined_tags 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_id str
    The OCID of the associated export set. Controls what file systems will be exported through Network File System (NFS) protocol on this mount target.
    freeform_tags 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 FQDN files-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 the hostnameLabel, use GetMountTarget to obtain the OCIDs of the mount target's private IPs (privateIpIds). Then, you can use UpdatePrivateIp to update the hostnameLabel 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 the ipAddress, use GetMountTarget to obtain the OCIDs of the mount target's private IPs (privateIpIds). Then, you can use UpdatePrivateIp to update the ipAddress value.

    Example: 10.0.3.3

    kerberos filestorage.MountTargetKerberosArgs
    (Updatable) Kerberos details needed to create configuration.
    ldap_idmap filestorage.MountTargetLdapIdmapArgs
    (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_ids Sequence[str]
    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
    availabilityDomain String
    The availability domain in which to create the mount target. Example: Uocm:PHX-AD-1
    compartmentId String
    (Updatable) The OCID of the compartment in which to create the mount target.
    definedTags 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"}
    displayName 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
    exportSetId String
    The OCID of the associated export set. Controls what file systems will be exported through Network File System (NFS) protocol on this mount target.
    freeformTags 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"}
    hostnameLabel 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 FQDN files-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 the hostnameLabel, use GetMountTarget to obtain the OCIDs of the mount target's private IPs (privateIpIds). Then, you can use UpdatePrivateIp to update the hostnameLabel value.

    For more information, see DNS in Your Virtual Cloud Network.

    Example: files-1

    idmapType String
    (Updatable) The method used to map a Unix UID to secondary groups, if any.
    ipAddress 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 the ipAddress, use GetMountTarget to obtain the OCIDs of the mount target's private IPs (privateIpIds). Then, you can use UpdatePrivateIp to update the ipAddress value.

    Example: 10.0.3.3

    kerberos Property Map
    (Updatable) Kerberos details needed to create configuration.
    ldapIdmap Property Map
    (Updatable) Mount target details about the LDAP ID mapping configuration.
    lifecycleDetails String
    Additional information about the current 'lifecycleState'.
    nsgIds 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.
    privateIpIds List<String>
    The OCIDs of the private IP addresses associated with this mount target.
    state String
    The current state of the mount target.
    subnetId 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

    timeCreated 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

    KerberosRealm string
    (Updatable) The Kerberos realm that the mount target will join.
    BackupKeyTabSecretVersion int
    (Updatable) Version of the keytab Secret in the Vault to use as a backup.
    CurrentKeyTabSecretVersion int
    (Updatable) Version of the keytab Secret in the Vault to use.
    IsKerberosEnabled bool
    (Updatable) Specifies whether to enable or disable Kerberos.
    KeyTabSecretId string
    (Updatable) The OCID of the keytab Secret in the Vault.
    KerberosRealm string
    (Updatable) The Kerberos realm that the mount target will join.
    BackupKeyTabSecretVersion int
    (Updatable) Version of the keytab Secret in the Vault to use as a backup.
    CurrentKeyTabSecretVersion int
    (Updatable) Version of the keytab Secret in the Vault to use.
    IsKerberosEnabled bool
    (Updatable) Specifies whether to enable or disable Kerberos.
    KeyTabSecretId string
    (Updatable) The OCID of the keytab Secret in the Vault.
    kerberosRealm String
    (Updatable) The Kerberos realm that the mount target will join.
    backupKeyTabSecretVersion Integer
    (Updatable) Version of the keytab Secret in the Vault to use as a backup.
    currentKeyTabSecretVersion Integer
    (Updatable) Version of the keytab Secret in the Vault to use.
    isKerberosEnabled Boolean
    (Updatable) Specifies whether to enable or disable Kerberos.
    keyTabSecretId String
    (Updatable) The OCID of the keytab Secret in the Vault.
    kerberosRealm string
    (Updatable) The Kerberos realm that the mount target will join.
    backupKeyTabSecretVersion number
    (Updatable) Version of the keytab Secret in the Vault to use as a backup.
    currentKeyTabSecretVersion number
    (Updatable) Version of the keytab Secret in the Vault to use.
    isKerberosEnabled boolean
    (Updatable) Specifies whether to enable or disable Kerberos.
    keyTabSecretId string
    (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_tab_secret_version int
    (Updatable) Version of the keytab Secret in the Vault to use as a backup.
    current_key_tab_secret_version int
    (Updatable) Version of the keytab Secret in the Vault to use.
    is_kerberos_enabled bool
    (Updatable) Specifies whether to enable or disable Kerberos.
    key_tab_secret_id str
    (Updatable) The OCID of the keytab Secret in the Vault.
    kerberosRealm String
    (Updatable) The Kerberos realm that the mount target will join.
    backupKeyTabSecretVersion Number
    (Updatable) Version of the keytab Secret in the Vault to use as a backup.
    currentKeyTabSecretVersion Number
    (Updatable) Version of the keytab Secret in the Vault to use.
    isKerberosEnabled Boolean
    (Updatable) Specifies whether to enable or disable Kerberos.
    keyTabSecretId String
    (Updatable) The OCID of the keytab Secret in the Vault.

    MountTargetLdapIdmap, MountTargetLdapIdmapArgs

    CacheLifetimeSeconds int
    (Updatable) The maximum amount of time the mount target is allowed to use a cached entry.
    CacheRefreshIntervalSeconds int
    (Updatable) The amount of time that the mount target should allow an entry to persist in its cache before attempting to refresh the entry.
    GroupSearchBase string
    (Updatable) All LDAP searches are recursive starting at this group. Example: CN=Group,DC=domain,DC=com
    NegativeCacheLifetimeSeconds int
    (Updatable) The amount of time that a mount target will maintain information that a user is not found in the ID mapping configuration.
    OutboundConnector1id string
    (Updatable) The OCID of the first connector to use to communicate with the LDAP server.
    OutboundConnector2id string
    (Updatable) The OCID of the second connector to use to communicate with the LDAP server.
    SchemaType string
    (Updatable) Schema type of the LDAP account.
    UserSearchBase string
    (Updatable) All LDAP searches are recursive starting at this user. Example: CN=User,DC=domain,DC=com
    CacheLifetimeSeconds int
    (Updatable) The maximum amount of time the mount target is allowed to use a cached entry.
    CacheRefreshIntervalSeconds int
    (Updatable) The amount of time that the mount target should allow an entry to persist in its cache before attempting to refresh the entry.
    GroupSearchBase string
    (Updatable) All LDAP searches are recursive starting at this group. Example: CN=Group,DC=domain,DC=com
    NegativeCacheLifetimeSeconds int
    (Updatable) The amount of time that a mount target will maintain information that a user is not found in the ID mapping configuration.
    OutboundConnector1id string
    (Updatable) The OCID of the first connector to use to communicate with the LDAP server.
    OutboundConnector2id string
    (Updatable) The OCID of the second connector to use to communicate with the LDAP server.
    SchemaType string
    (Updatable) Schema type of the LDAP account.
    UserSearchBase string
    (Updatable) All LDAP searches are recursive starting at this user. Example: CN=User,DC=domain,DC=com
    cacheLifetimeSeconds Integer
    (Updatable) The maximum amount of time the mount target is allowed to use a cached entry.
    cacheRefreshIntervalSeconds Integer
    (Updatable) The amount of time that the mount target should allow an entry to persist in its cache before attempting to refresh the entry.
    groupSearchBase String
    (Updatable) All LDAP searches are recursive starting at this group. Example: CN=Group,DC=domain,DC=com
    negativeCacheLifetimeSeconds Integer
    (Updatable) The amount of time that a mount target will maintain information that a user is not found in the ID mapping configuration.
    outboundConnector1id String
    (Updatable) The OCID of the first connector to use to communicate with the LDAP server.
    outboundConnector2id String
    (Updatable) The OCID of the second connector to use to communicate with the LDAP server.
    schemaType String
    (Updatable) Schema type of the LDAP account.
    userSearchBase String
    (Updatable) All LDAP searches are recursive starting at this user. Example: CN=User,DC=domain,DC=com
    cacheLifetimeSeconds number
    (Updatable) The maximum amount of time the mount target is allowed to use a cached entry.
    cacheRefreshIntervalSeconds number
    (Updatable) The amount of time that the mount target should allow an entry to persist in its cache before attempting to refresh the entry.
    groupSearchBase string
    (Updatable) All LDAP searches are recursive starting at this group. Example: CN=Group,DC=domain,DC=com
    negativeCacheLifetimeSeconds number
    (Updatable) The amount of time that a mount target will maintain information that a user is not found in the ID mapping configuration.
    outboundConnector1id string
    (Updatable) The OCID of the first connector to use to communicate with the LDAP server.
    outboundConnector2id string
    (Updatable) The OCID of the second connector to use to communicate with the LDAP server.
    schemaType string
    (Updatable) Schema type of the LDAP account.
    userSearchBase string
    (Updatable) All LDAP searches are recursive starting at this user. Example: CN=User,DC=domain,DC=com
    cache_lifetime_seconds int
    (Updatable) The maximum amount of time the mount target is allowed to use a cached entry.
    cache_refresh_interval_seconds int
    (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_base str
    (Updatable) All LDAP searches are recursive starting at this group. Example: CN=Group,DC=domain,DC=com
    negative_cache_lifetime_seconds int
    (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_base str
    (Updatable) All LDAP searches are recursive starting at this user. Example: CN=User,DC=domain,DC=com
    cacheLifetimeSeconds Number
    (Updatable) The maximum amount of time the mount target is allowed to use a cached entry.
    cacheRefreshIntervalSeconds Number
    (Updatable) The amount of time that the mount target should allow an entry to persist in its cache before attempting to refresh the entry.
    groupSearchBase String
    (Updatable) All LDAP searches are recursive starting at this group. Example: CN=Group,DC=domain,DC=com
    negativeCacheLifetimeSeconds Number
    (Updatable) The amount of time that a mount target will maintain information that a user is not found in the ID mapping configuration.
    outboundConnector1id String
    (Updatable) The OCID of the first connector to use to communicate with the LDAP server.
    outboundConnector2id String
    (Updatable) The OCID of the second connector to use to communicate with the LDAP server.
    schemaType String
    (Updatable) Schema type of the LDAP account.
    userSearchBase String
    (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.
    oci logo
    Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi