1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. FileStorage
  5. OutboundConnector
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

oci.FileStorage.OutboundConnector

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

    This resource provides the Outbound Connector resource in Oracle Cloud Infrastructure File Storage service.

    Creates a new outbound connector in the specified compartment. You can associate an outbound connector with a mount target only when they exist in the same availability domain.

    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 outbound connectors, 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 testOutboundConnector = new oci.filestorage.OutboundConnector("test_outbound_connector", {
        availabilityDomain: outboundConnectorAvailabilityDomain,
        bindDistinguishedName: outboundConnectorBindDistinguishedName,
        compartmentId: compartmentId,
        connectorType: outboundConnectorConnectorType,
        endpoints: [{
            hostname: outboundConnectorEndpointsHostname,
            port: outboundConnectorEndpointsPort,
        }],
        definedTags: {
            "Operations.CostCenter": "42",
        },
        displayName: outboundConnectorDisplayName,
        freeformTags: {
            Department: "Finance",
        },
        locks: [{
            type: outboundConnectorLocksType,
            message: outboundConnectorLocksMessage,
            relatedResourceId: testResource.id,
            timeCreated: outboundConnectorLocksTimeCreated,
        }],
        passwordSecretId: testSecret.id,
        passwordSecretVersion: outboundConnectorPasswordSecretVersion,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_outbound_connector = oci.file_storage.OutboundConnector("test_outbound_connector",
        availability_domain=outbound_connector_availability_domain,
        bind_distinguished_name=outbound_connector_bind_distinguished_name,
        compartment_id=compartment_id,
        connector_type=outbound_connector_connector_type,
        endpoints=[{
            "hostname": outbound_connector_endpoints_hostname,
            "port": outbound_connector_endpoints_port,
        }],
        defined_tags={
            "Operations.CostCenter": "42",
        },
        display_name=outbound_connector_display_name,
        freeform_tags={
            "Department": "Finance",
        },
        locks=[{
            "type": outbound_connector_locks_type,
            "message": outbound_connector_locks_message,
            "related_resource_id": test_resource["id"],
            "time_created": outbound_connector_locks_time_created,
        }],
        password_secret_id=test_secret["id"],
        password_secret_version=outbound_connector_password_secret_version)
    
    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.NewOutboundConnector(ctx, "test_outbound_connector", &FileStorage.OutboundConnectorArgs{
    			AvailabilityDomain:    pulumi.Any(outboundConnectorAvailabilityDomain),
    			BindDistinguishedName: pulumi.Any(outboundConnectorBindDistinguishedName),
    			CompartmentId:         pulumi.Any(compartmentId),
    			ConnectorType:         pulumi.Any(outboundConnectorConnectorType),
    			Endpoints: filestorage.OutboundConnectorEndpointArray{
    				&filestorage.OutboundConnectorEndpointArgs{
    					Hostname: pulumi.Any(outboundConnectorEndpointsHostname),
    					Port:     pulumi.Any(outboundConnectorEndpointsPort),
    				},
    			},
    			DefinedTags: pulumi.StringMap{
    				"Operations.CostCenter": pulumi.String("42"),
    			},
    			DisplayName: pulumi.Any(outboundConnectorDisplayName),
    			FreeformTags: pulumi.StringMap{
    				"Department": pulumi.String("Finance"),
    			},
    			Locks: filestorage.OutboundConnectorLockArray{
    				&filestorage.OutboundConnectorLockArgs{
    					Type:              pulumi.Any(outboundConnectorLocksType),
    					Message:           pulumi.Any(outboundConnectorLocksMessage),
    					RelatedResourceId: pulumi.Any(testResource.Id),
    					TimeCreated:       pulumi.Any(outboundConnectorLocksTimeCreated),
    				},
    			},
    			PasswordSecretId:      pulumi.Any(testSecret.Id),
    			PasswordSecretVersion: pulumi.Any(outboundConnectorPasswordSecretVersion),
    		})
    		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 testOutboundConnector = new Oci.FileStorage.OutboundConnector("test_outbound_connector", new()
        {
            AvailabilityDomain = outboundConnectorAvailabilityDomain,
            BindDistinguishedName = outboundConnectorBindDistinguishedName,
            CompartmentId = compartmentId,
            ConnectorType = outboundConnectorConnectorType,
            Endpoints = new[]
            {
                new Oci.FileStorage.Inputs.OutboundConnectorEndpointArgs
                {
                    Hostname = outboundConnectorEndpointsHostname,
                    Port = outboundConnectorEndpointsPort,
                },
            },
            DefinedTags = 
            {
                { "Operations.CostCenter", "42" },
            },
            DisplayName = outboundConnectorDisplayName,
            FreeformTags = 
            {
                { "Department", "Finance" },
            },
            Locks = new[]
            {
                new Oci.FileStorage.Inputs.OutboundConnectorLockArgs
                {
                    Type = outboundConnectorLocksType,
                    Message = outboundConnectorLocksMessage,
                    RelatedResourceId = testResource.Id,
                    TimeCreated = outboundConnectorLocksTimeCreated,
                },
            },
            PasswordSecretId = testSecret.Id,
            PasswordSecretVersion = outboundConnectorPasswordSecretVersion,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.FileStorage.OutboundConnector;
    import com.pulumi.oci.FileStorage.OutboundConnectorArgs;
    import com.pulumi.oci.FileStorage.inputs.OutboundConnectorEndpointArgs;
    import com.pulumi.oci.FileStorage.inputs.OutboundConnectorLockArgs;
    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 testOutboundConnector = new OutboundConnector("testOutboundConnector", OutboundConnectorArgs.builder()
                .availabilityDomain(outboundConnectorAvailabilityDomain)
                .bindDistinguishedName(outboundConnectorBindDistinguishedName)
                .compartmentId(compartmentId)
                .connectorType(outboundConnectorConnectorType)
                .endpoints(OutboundConnectorEndpointArgs.builder()
                    .hostname(outboundConnectorEndpointsHostname)
                    .port(outboundConnectorEndpointsPort)
                    .build())
                .definedTags(Map.of("Operations.CostCenter", "42"))
                .displayName(outboundConnectorDisplayName)
                .freeformTags(Map.of("Department", "Finance"))
                .locks(OutboundConnectorLockArgs.builder()
                    .type(outboundConnectorLocksType)
                    .message(outboundConnectorLocksMessage)
                    .relatedResourceId(testResource.id())
                    .timeCreated(outboundConnectorLocksTimeCreated)
                    .build())
                .passwordSecretId(testSecret.id())
                .passwordSecretVersion(outboundConnectorPasswordSecretVersion)
                .build());
    
        }
    }
    
    resources:
      testOutboundConnector:
        type: oci:FileStorage:OutboundConnector
        name: test_outbound_connector
        properties:
          availabilityDomain: ${outboundConnectorAvailabilityDomain}
          bindDistinguishedName: ${outboundConnectorBindDistinguishedName}
          compartmentId: ${compartmentId}
          connectorType: ${outboundConnectorConnectorType}
          endpoints:
            - hostname: ${outboundConnectorEndpointsHostname}
              port: ${outboundConnectorEndpointsPort}
          definedTags:
            Operations.CostCenter: '42'
          displayName: ${outboundConnectorDisplayName}
          freeformTags:
            Department: Finance
          locks:
            - type: ${outboundConnectorLocksType}
              message: ${outboundConnectorLocksMessage}
              relatedResourceId: ${testResource.id}
              timeCreated: ${outboundConnectorLocksTimeCreated}
          passwordSecretId: ${testSecret.id}
          passwordSecretVersion: ${outboundConnectorPasswordSecretVersion}
    

    Create OutboundConnector Resource

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

    Constructor syntax

    new OutboundConnector(name: string, args: OutboundConnectorArgs, opts?: CustomResourceOptions);
    @overload
    def OutboundConnector(resource_name: str,
                          args: OutboundConnectorArgs,
                          opts: Optional[ResourceOptions] = None)
    
    @overload
    def OutboundConnector(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          availability_domain: Optional[str] = None,
                          bind_distinguished_name: Optional[str] = None,
                          compartment_id: Optional[str] = None,
                          connector_type: Optional[str] = None,
                          endpoints: Optional[Sequence[_filestorage.OutboundConnectorEndpointArgs]] = None,
                          defined_tags: Optional[Mapping[str, str]] = None,
                          display_name: Optional[str] = None,
                          freeform_tags: Optional[Mapping[str, str]] = None,
                          is_lock_override: Optional[bool] = None,
                          locks: Optional[Sequence[_filestorage.OutboundConnectorLockArgs]] = None,
                          password_secret_id: Optional[str] = None,
                          password_secret_version: Optional[int] = None)
    func NewOutboundConnector(ctx *Context, name string, args OutboundConnectorArgs, opts ...ResourceOption) (*OutboundConnector, error)
    public OutboundConnector(string name, OutboundConnectorArgs args, CustomResourceOptions? opts = null)
    public OutboundConnector(String name, OutboundConnectorArgs args)
    public OutboundConnector(String name, OutboundConnectorArgs args, CustomResourceOptions options)
    
    type: oci:FileStorage:OutboundConnector
    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 OutboundConnectorArgs
    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 OutboundConnectorArgs
    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 OutboundConnectorArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args OutboundConnectorArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args OutboundConnectorArgs
    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 outboundConnectorResource = new Oci.FileStorage.OutboundConnector("outboundConnectorResource", new()
    {
        AvailabilityDomain = "string",
        BindDistinguishedName = "string",
        CompartmentId = "string",
        ConnectorType = "string",
        Endpoints = new[]
        {
            new Oci.FileStorage.Inputs.OutboundConnectorEndpointArgs
            {
                Hostname = "string",
                Port = "string",
            },
        },
        DefinedTags = 
        {
            { "string", "string" },
        },
        DisplayName = "string",
        FreeformTags = 
        {
            { "string", "string" },
        },
        IsLockOverride = false,
        Locks = new[]
        {
            new Oci.FileStorage.Inputs.OutboundConnectorLockArgs
            {
                Type = "string",
                Message = "string",
                RelatedResourceId = "string",
                TimeCreated = "string",
            },
        },
        PasswordSecretId = "string",
        PasswordSecretVersion = 0,
    });
    
    example, err := FileStorage.NewOutboundConnector(ctx, "outboundConnectorResource", &FileStorage.OutboundConnectorArgs{
    	AvailabilityDomain:    pulumi.String("string"),
    	BindDistinguishedName: pulumi.String("string"),
    	CompartmentId:         pulumi.String("string"),
    	ConnectorType:         pulumi.String("string"),
    	Endpoints: filestorage.OutboundConnectorEndpointArray{
    		&filestorage.OutboundConnectorEndpointArgs{
    			Hostname: pulumi.String("string"),
    			Port:     pulumi.String("string"),
    		},
    	},
    	DefinedTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	DisplayName: pulumi.String("string"),
    	FreeformTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	IsLockOverride: pulumi.Bool(false),
    	Locks: filestorage.OutboundConnectorLockArray{
    		&filestorage.OutboundConnectorLockArgs{
    			Type:              pulumi.String("string"),
    			Message:           pulumi.String("string"),
    			RelatedResourceId: pulumi.String("string"),
    			TimeCreated:       pulumi.String("string"),
    		},
    	},
    	PasswordSecretId:      pulumi.String("string"),
    	PasswordSecretVersion: pulumi.Int(0),
    })
    
    var outboundConnectorResource = new OutboundConnector("outboundConnectorResource", OutboundConnectorArgs.builder()
        .availabilityDomain("string")
        .bindDistinguishedName("string")
        .compartmentId("string")
        .connectorType("string")
        .endpoints(OutboundConnectorEndpointArgs.builder()
            .hostname("string")
            .port("string")
            .build())
        .definedTags(Map.of("string", "string"))
        .displayName("string")
        .freeformTags(Map.of("string", "string"))
        .isLockOverride(false)
        .locks(OutboundConnectorLockArgs.builder()
            .type("string")
            .message("string")
            .relatedResourceId("string")
            .timeCreated("string")
            .build())
        .passwordSecretId("string")
        .passwordSecretVersion(0)
        .build());
    
    outbound_connector_resource = oci.file_storage.OutboundConnector("outboundConnectorResource",
        availability_domain="string",
        bind_distinguished_name="string",
        compartment_id="string",
        connector_type="string",
        endpoints=[{
            "hostname": "string",
            "port": "string",
        }],
        defined_tags={
            "string": "string",
        },
        display_name="string",
        freeform_tags={
            "string": "string",
        },
        is_lock_override=False,
        locks=[{
            "type": "string",
            "message": "string",
            "related_resource_id": "string",
            "time_created": "string",
        }],
        password_secret_id="string",
        password_secret_version=0)
    
    const outboundConnectorResource = new oci.filestorage.OutboundConnector("outboundConnectorResource", {
        availabilityDomain: "string",
        bindDistinguishedName: "string",
        compartmentId: "string",
        connectorType: "string",
        endpoints: [{
            hostname: "string",
            port: "string",
        }],
        definedTags: {
            string: "string",
        },
        displayName: "string",
        freeformTags: {
            string: "string",
        },
        isLockOverride: false,
        locks: [{
            type: "string",
            message: "string",
            relatedResourceId: "string",
            timeCreated: "string",
        }],
        passwordSecretId: "string",
        passwordSecretVersion: 0,
    });
    
    type: oci:FileStorage:OutboundConnector
    properties:
        availabilityDomain: string
        bindDistinguishedName: string
        compartmentId: string
        connectorType: string
        definedTags:
            string: string
        displayName: string
        endpoints:
            - hostname: string
              port: string
        freeformTags:
            string: string
        isLockOverride: false
        locks:
            - message: string
              relatedResourceId: string
              timeCreated: string
              type: string
        passwordSecretId: string
        passwordSecretVersion: 0
    

    OutboundConnector 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 OutboundConnector resource accepts the following input properties:

    AvailabilityDomain string
    The availability domain the outbound connector is in. May be unset as a blank or NULL value. Example: Uocm:PHX-AD-1
    BindDistinguishedName string
    The LDAP Distinguished Name of the bind account.
    CompartmentId string
    (Updatable) The OCID of the compartment that contains the outbound connector.
    ConnectorType string
    The account type of this outbound connector.
    Endpoints List<OutboundConnectorEndpoint>
    Array of server endpoints to use when connecting with the LDAP bind account.
    DefinedTags 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"}
    DisplayName string
    (Updatable) A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. Example: My outbound connector
    FreeformTags 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"}
    IsLockOverride bool
    Locks List<OutboundConnectorLock>
    Locks associated with this resource.
    PasswordSecretId string
    The OCID of the password for the LDAP bind account in the Vault.
    PasswordSecretVersion int

    Version of the password secret in the Vault to use.

    ** 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

    AvailabilityDomain string
    The availability domain the outbound connector is in. May be unset as a blank or NULL value. Example: Uocm:PHX-AD-1
    BindDistinguishedName string
    The LDAP Distinguished Name of the bind account.
    CompartmentId string
    (Updatable) The OCID of the compartment that contains the outbound connector.
    ConnectorType string
    The account type of this outbound connector.
    Endpoints []OutboundConnectorEndpointArgs
    Array of server endpoints to use when connecting with the LDAP bind account.
    DefinedTags 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"}
    DisplayName string
    (Updatable) A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. Example: My outbound connector
    FreeformTags 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"}
    IsLockOverride bool
    Locks []OutboundConnectorLockArgs
    Locks associated with this resource.
    PasswordSecretId string
    The OCID of the password for the LDAP bind account in the Vault.
    PasswordSecretVersion int

    Version of the password secret in the Vault to use.

    ** 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

    availabilityDomain String
    The availability domain the outbound connector is in. May be unset as a blank or NULL value. Example: Uocm:PHX-AD-1
    bindDistinguishedName String
    The LDAP Distinguished Name of the bind account.
    compartmentId String
    (Updatable) The OCID of the compartment that contains the outbound connector.
    connectorType String
    The account type of this outbound connector.
    endpoints List<OutboundConnectorEndpoint>
    Array of server endpoints to use when connecting with the LDAP bind account.
    definedTags 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"}
    displayName String
    (Updatable) A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. Example: My outbound connector
    freeformTags 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"}
    isLockOverride Boolean
    locks List<OutboundConnectorLock>
    Locks associated with this resource.
    passwordSecretId String
    The OCID of the password for the LDAP bind account in the Vault.
    passwordSecretVersion Integer

    Version of the password secret in the Vault to use.

    ** 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

    availabilityDomain string
    The availability domain the outbound connector is in. May be unset as a blank or NULL value. Example: Uocm:PHX-AD-1
    bindDistinguishedName string
    The LDAP Distinguished Name of the bind account.
    compartmentId string
    (Updatable) The OCID of the compartment that contains the outbound connector.
    connectorType string
    The account type of this outbound connector.
    endpoints OutboundConnectorEndpoint[]
    Array of server endpoints to use when connecting with the LDAP bind account.
    definedTags {[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"}
    displayName string
    (Updatable) A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. Example: My outbound connector
    freeformTags {[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"}
    isLockOverride boolean
    locks OutboundConnectorLock[]
    Locks associated with this resource.
    passwordSecretId string
    The OCID of the password for the LDAP bind account in the Vault.
    passwordSecretVersion number

    Version of the password secret in the Vault to use.

    ** 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

    availability_domain str
    The availability domain the outbound connector is in. May be unset as a blank or NULL value. Example: Uocm:PHX-AD-1
    bind_distinguished_name str
    The LDAP Distinguished Name of the bind account.
    compartment_id str
    (Updatable) The OCID of the compartment that contains the outbound connector.
    connector_type str
    The account type of this outbound connector.
    endpoints Sequence[filestorage.OutboundConnectorEndpointArgs]
    Array of server endpoints to use when connecting with the LDAP bind account.
    defined_tags 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 outbound connector
    freeform_tags 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"}
    is_lock_override bool
    locks Sequence[filestorage.OutboundConnectorLockArgs]
    Locks associated with this resource.
    password_secret_id str
    The OCID of the password for the LDAP bind account in the Vault.
    password_secret_version int

    Version of the password secret in the Vault to use.

    ** 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

    availabilityDomain String
    The availability domain the outbound connector is in. May be unset as a blank or NULL value. Example: Uocm:PHX-AD-1
    bindDistinguishedName String
    The LDAP Distinguished Name of the bind account.
    compartmentId String
    (Updatable) The OCID of the compartment that contains the outbound connector.
    connectorType String
    The account type of this outbound connector.
    endpoints List<Property Map>
    Array of server endpoints to use when connecting with the LDAP bind account.
    definedTags 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"}
    displayName String
    (Updatable) A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. Example: My outbound connector
    freeformTags 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"}
    isLockOverride Boolean
    locks List<Property Map>
    Locks associated with this resource.
    passwordSecretId String
    The OCID of the password for the LDAP bind account in the Vault.
    passwordSecretVersion Number

    Version of the password secret in the Vault to use.

    ** 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

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    State string
    The current state of this outbound connector.
    TimeCreated string
    The date and time the outbound connector was created in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
    Id string
    The provider-assigned unique ID for this managed resource.
    State string
    The current state of this outbound connector.
    TimeCreated string
    The date and time the outbound connector was created in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
    id String
    The provider-assigned unique ID for this managed resource.
    state String
    The current state of this outbound connector.
    timeCreated String
    The date and time the outbound connector was created in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
    id string
    The provider-assigned unique ID for this managed resource.
    state string
    The current state of this outbound connector.
    timeCreated string
    The date and time the outbound connector was created in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
    id str
    The provider-assigned unique ID for this managed resource.
    state str
    The current state of this outbound connector.
    time_created str
    The date and time the outbound connector was created in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
    id String
    The provider-assigned unique ID for this managed resource.
    state String
    The current state of this outbound connector.
    timeCreated String
    The date and time the outbound connector was created in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z

    Look up Existing OutboundConnector Resource

    Get an existing OutboundConnector 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?: OutboundConnectorState, opts?: CustomResourceOptions): OutboundConnector
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            availability_domain: Optional[str] = None,
            bind_distinguished_name: Optional[str] = None,
            compartment_id: Optional[str] = None,
            connector_type: Optional[str] = None,
            defined_tags: Optional[Mapping[str, str]] = None,
            display_name: Optional[str] = None,
            endpoints: Optional[Sequence[_filestorage.OutboundConnectorEndpointArgs]] = None,
            freeform_tags: Optional[Mapping[str, str]] = None,
            is_lock_override: Optional[bool] = None,
            locks: Optional[Sequence[_filestorage.OutboundConnectorLockArgs]] = None,
            password_secret_id: Optional[str] = None,
            password_secret_version: Optional[int] = None,
            state: Optional[str] = None,
            time_created: Optional[str] = None) -> OutboundConnector
    func GetOutboundConnector(ctx *Context, name string, id IDInput, state *OutboundConnectorState, opts ...ResourceOption) (*OutboundConnector, error)
    public static OutboundConnector Get(string name, Input<string> id, OutboundConnectorState? state, CustomResourceOptions? opts = null)
    public static OutboundConnector get(String name, Output<String> id, OutboundConnectorState 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 the outbound connector is in. May be unset as a blank or NULL value. Example: Uocm:PHX-AD-1
    BindDistinguishedName string
    The LDAP Distinguished Name of the bind account.
    CompartmentId string
    (Updatable) The OCID of the compartment that contains the outbound connector.
    ConnectorType string
    The account type of this outbound connector.
    DefinedTags 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"}
    DisplayName string
    (Updatable) A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. Example: My outbound connector
    Endpoints List<OutboundConnectorEndpoint>
    Array of server endpoints to use when connecting with the LDAP bind account.
    FreeformTags 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"}
    IsLockOverride bool
    Locks List<OutboundConnectorLock>
    Locks associated with this resource.
    PasswordSecretId string
    The OCID of the password for the LDAP bind account in the Vault.
    PasswordSecretVersion int

    Version of the password secret in the Vault to use.

    ** 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

    State string
    The current state of this outbound connector.
    TimeCreated string
    The date and time the outbound connector was created in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
    AvailabilityDomain string
    The availability domain the outbound connector is in. May be unset as a blank or NULL value. Example: Uocm:PHX-AD-1
    BindDistinguishedName string
    The LDAP Distinguished Name of the bind account.
    CompartmentId string
    (Updatable) The OCID of the compartment that contains the outbound connector.
    ConnectorType string
    The account type of this outbound connector.
    DefinedTags 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"}
    DisplayName string
    (Updatable) A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. Example: My outbound connector
    Endpoints []OutboundConnectorEndpointArgs
    Array of server endpoints to use when connecting with the LDAP bind account.
    FreeformTags 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"}
    IsLockOverride bool
    Locks []OutboundConnectorLockArgs
    Locks associated with this resource.
    PasswordSecretId string
    The OCID of the password for the LDAP bind account in the Vault.
    PasswordSecretVersion int

    Version of the password secret in the Vault to use.

    ** 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

    State string
    The current state of this outbound connector.
    TimeCreated string
    The date and time the outbound connector was created in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
    availabilityDomain String
    The availability domain the outbound connector is in. May be unset as a blank or NULL value. Example: Uocm:PHX-AD-1
    bindDistinguishedName String
    The LDAP Distinguished Name of the bind account.
    compartmentId String
    (Updatable) The OCID of the compartment that contains the outbound connector.
    connectorType String
    The account type of this outbound connector.
    definedTags 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"}
    displayName String
    (Updatable) A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. Example: My outbound connector
    endpoints List<OutboundConnectorEndpoint>
    Array of server endpoints to use when connecting with the LDAP bind account.
    freeformTags 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"}
    isLockOverride Boolean
    locks List<OutboundConnectorLock>
    Locks associated with this resource.
    passwordSecretId String
    The OCID of the password for the LDAP bind account in the Vault.
    passwordSecretVersion Integer

    Version of the password secret in the Vault to use.

    ** 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

    state String
    The current state of this outbound connector.
    timeCreated String
    The date and time the outbound connector was created in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
    availabilityDomain string
    The availability domain the outbound connector is in. May be unset as a blank or NULL value. Example: Uocm:PHX-AD-1
    bindDistinguishedName string
    The LDAP Distinguished Name of the bind account.
    compartmentId string
    (Updatable) The OCID of the compartment that contains the outbound connector.
    connectorType string
    The account type of this outbound connector.
    definedTags {[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"}
    displayName string
    (Updatable) A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. Example: My outbound connector
    endpoints OutboundConnectorEndpoint[]
    Array of server endpoints to use when connecting with the LDAP bind account.
    freeformTags {[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"}
    isLockOverride boolean
    locks OutboundConnectorLock[]
    Locks associated with this resource.
    passwordSecretId string
    The OCID of the password for the LDAP bind account in the Vault.
    passwordSecretVersion number

    Version of the password secret in the Vault to use.

    ** 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

    state string
    The current state of this outbound connector.
    timeCreated string
    The date and time the outbound connector was created in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
    availability_domain str
    The availability domain the outbound connector is in. May be unset as a blank or NULL value. Example: Uocm:PHX-AD-1
    bind_distinguished_name str
    The LDAP Distinguished Name of the bind account.
    compartment_id str
    (Updatable) The OCID of the compartment that contains the outbound connector.
    connector_type str
    The account type of this outbound connector.
    defined_tags 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 outbound connector
    endpoints Sequence[filestorage.OutboundConnectorEndpointArgs]
    Array of server endpoints to use when connecting with the LDAP bind account.
    freeform_tags 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"}
    is_lock_override bool
    locks Sequence[filestorage.OutboundConnectorLockArgs]
    Locks associated with this resource.
    password_secret_id str
    The OCID of the password for the LDAP bind account in the Vault.
    password_secret_version int

    Version of the password secret in the Vault to use.

    ** 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

    state str
    The current state of this outbound connector.
    time_created str
    The date and time the outbound connector was created in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
    availabilityDomain String
    The availability domain the outbound connector is in. May be unset as a blank or NULL value. Example: Uocm:PHX-AD-1
    bindDistinguishedName String
    The LDAP Distinguished Name of the bind account.
    compartmentId String
    (Updatable) The OCID of the compartment that contains the outbound connector.
    connectorType String
    The account type of this outbound connector.
    definedTags 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"}
    displayName String
    (Updatable) A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. Example: My outbound connector
    endpoints List<Property Map>
    Array of server endpoints to use when connecting with the LDAP bind account.
    freeformTags 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"}
    isLockOverride Boolean
    locks List<Property Map>
    Locks associated with this resource.
    passwordSecretId String
    The OCID of the password for the LDAP bind account in the Vault.
    passwordSecretVersion Number

    Version of the password secret in the Vault to use.

    ** 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

    state String
    The current state of this outbound connector.
    timeCreated String
    The date and time the outbound connector was created in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z

    Supporting Types

    OutboundConnectorEndpoint, OutboundConnectorEndpointArgs

    Hostname string
    Name of the DNS server.
    Port string
    Port of the DNS server.
    Hostname string
    Name of the DNS server.
    Port string
    Port of the DNS server.
    hostname String
    Name of the DNS server.
    port String
    Port of the DNS server.
    hostname string
    Name of the DNS server.
    port string
    Port of the DNS server.
    hostname str
    Name of the DNS server.
    port str
    Port of the DNS server.
    hostname String
    Name of the DNS server.
    port String
    Port of the DNS server.

    OutboundConnectorLock, OutboundConnectorLockArgs

    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.
    RelatedResourceId string
    The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
    TimeCreated 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.
    RelatedResourceId string
    The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
    TimeCreated 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.
    relatedResourceId String
    The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
    timeCreated 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.
    relatedResourceId string
    The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
    timeCreated 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.
    related_resource_id 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.
    relatedResourceId String
    The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
    timeCreated String
    When the lock was created.

    Import

    OutboundConnectors can be imported using the id, e.g.

    $ pulumi import oci:FileStorage/outboundConnector:OutboundConnector test_outbound_connector "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 v2.17.0 published on Friday, Nov 15, 2024 by Pulumi