Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi
oci.FileStorage.getOutboundConnectors
Explore with Pulumi AI
This data source provides the list of Outbound Connectors in Oracle Cloud Infrastructure File Storage service.
Lists the outbound connector resources in the specified compartment.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testOutboundConnectors = oci.FileStorage.getOutboundConnectors({
availabilityDomain: outboundConnectorAvailabilityDomain,
compartmentId: compartmentId,
displayName: outboundConnectorDisplayName,
id: outboundConnectorId,
state: outboundConnectorState,
});
import pulumi
import pulumi_oci as oci
test_outbound_connectors = oci.FileStorage.get_outbound_connectors(availability_domain=outbound_connector_availability_domain,
compartment_id=compartment_id,
display_name=outbound_connector_display_name,
id=outbound_connector_id,
state=outbound_connector_state)
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.GetOutboundConnectors(ctx, &filestorage.GetOutboundConnectorsArgs{
AvailabilityDomain: outboundConnectorAvailabilityDomain,
CompartmentId: compartmentId,
DisplayName: pulumi.StringRef(outboundConnectorDisplayName),
Id: pulumi.StringRef(outboundConnectorId),
State: pulumi.StringRef(outboundConnectorState),
}, nil)
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 testOutboundConnectors = Oci.FileStorage.GetOutboundConnectors.Invoke(new()
{
AvailabilityDomain = outboundConnectorAvailabilityDomain,
CompartmentId = compartmentId,
DisplayName = outboundConnectorDisplayName,
Id = outboundConnectorId,
State = outboundConnectorState,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.FileStorage.FileStorageFunctions;
import com.pulumi.oci.FileStorage.inputs.GetOutboundConnectorsArgs;
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) {
final var testOutboundConnectors = FileStorageFunctions.getOutboundConnectors(GetOutboundConnectorsArgs.builder()
.availabilityDomain(outboundConnectorAvailabilityDomain)
.compartmentId(compartmentId)
.displayName(outboundConnectorDisplayName)
.id(outboundConnectorId)
.state(outboundConnectorState)
.build());
}
}
variables:
testOutboundConnectors:
fn::invoke:
Function: oci:FileStorage:getOutboundConnectors
Arguments:
availabilityDomain: ${outboundConnectorAvailabilityDomain}
compartmentId: ${compartmentId}
displayName: ${outboundConnectorDisplayName}
id: ${outboundConnectorId}
state: ${outboundConnectorState}
Using getOutboundConnectors
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getOutboundConnectors(args: GetOutboundConnectorsArgs, opts?: InvokeOptions): Promise<GetOutboundConnectorsResult>
function getOutboundConnectorsOutput(args: GetOutboundConnectorsOutputArgs, opts?: InvokeOptions): Output<GetOutboundConnectorsResult>
def get_outbound_connectors(availability_domain: Optional[str] = None,
compartment_id: Optional[str] = None,
display_name: Optional[str] = None,
filters: Optional[Sequence[_filestorage.GetOutboundConnectorsFilter]] = None,
id: Optional[str] = None,
state: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetOutboundConnectorsResult
def get_outbound_connectors_output(availability_domain: Optional[pulumi.Input[str]] = None,
compartment_id: Optional[pulumi.Input[str]] = None,
display_name: Optional[pulumi.Input[str]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[_filestorage.GetOutboundConnectorsFilterArgs]]]] = None,
id: Optional[pulumi.Input[str]] = None,
state: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetOutboundConnectorsResult]
func GetOutboundConnectors(ctx *Context, args *GetOutboundConnectorsArgs, opts ...InvokeOption) (*GetOutboundConnectorsResult, error)
func GetOutboundConnectorsOutput(ctx *Context, args *GetOutboundConnectorsOutputArgs, opts ...InvokeOption) GetOutboundConnectorsResultOutput
> Note: This function is named GetOutboundConnectors
in the Go SDK.
public static class GetOutboundConnectors
{
public static Task<GetOutboundConnectorsResult> InvokeAsync(GetOutboundConnectorsArgs args, InvokeOptions? opts = null)
public static Output<GetOutboundConnectorsResult> Invoke(GetOutboundConnectorsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetOutboundConnectorsResult> getOutboundConnectors(GetOutboundConnectorsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:FileStorage/getOutboundConnectors:getOutboundConnectors
arguments:
# arguments dictionary
The following arguments are supported:
- Availability
Domain string - The name of the availability domain. Example:
Uocm:PHX-AD-1
- Compartment
Id string - The OCID of the compartment.
- Display
Name string - A user-friendly name. It does not have to be unique, and it is changeable. Example:
My resource
- Filters
List<Get
Outbound Connectors Filter> - Id string
- Filter results by OCID. Must be an OCID of the correct type for the resouce type.
- State string
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
- Availability
Domain string - The name of the availability domain. Example:
Uocm:PHX-AD-1
- Compartment
Id string - The OCID of the compartment.
- Display
Name string - A user-friendly name. It does not have to be unique, and it is changeable. Example:
My resource
- Filters
[]Get
Outbound Connectors Filter - Id string
- Filter results by OCID. Must be an OCID of the correct type for the resouce type.
- State string
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
- availability
Domain String - The name of the availability domain. Example:
Uocm:PHX-AD-1
- compartment
Id String - The OCID of the compartment.
- display
Name String - A user-friendly name. It does not have to be unique, and it is changeable. Example:
My resource
- filters
List<Get
Outbound Connectors Filter> - id String
- Filter results by OCID. Must be an OCID of the correct type for the resouce type.
- state String
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
- availability
Domain string - The name of the availability domain. Example:
Uocm:PHX-AD-1
- compartment
Id string - The OCID of the compartment.
- display
Name string - A user-friendly name. It does not have to be unique, and it is changeable. Example:
My resource
- filters
Get
Outbound Connectors Filter[] - id string
- Filter results by OCID. Must be an OCID of the correct type for the resouce type.
- state string
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
- availability_
domain str - The name of the availability domain. Example:
Uocm:PHX-AD-1
- compartment_
id str - The OCID of the compartment.
- display_
name str - A user-friendly name. It does not have to be unique, and it is changeable. Example:
My resource
- filters
Sequence[filestorage.
Get Outbound Connectors Filter] - id str
- Filter results by OCID. Must be an OCID of the correct type for the resouce type.
- state str
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
- availability
Domain String - The name of the availability domain. Example:
Uocm:PHX-AD-1
- compartment
Id String - The OCID of the compartment.
- display
Name String - A user-friendly name. It does not have to be unique, and it is changeable. Example:
My resource
- filters List<Property Map>
- id String
- Filter results by OCID. Must be an OCID of the correct type for the resouce type.
- state String
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
getOutboundConnectors Result
The following output properties are available:
- Availability
Domain string - The availability domain the outbound connector is in. May be unset as a blank or NULL value. Example:
Uocm:PHX-AD-1
- Compartment
Id string - The OCID of the compartment that contains the outbound connector.
- Outbound
Connectors List<GetOutbound Connectors Outbound Connector> - The list of outbound_connectors.
- Display
Name string - A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. Example:
My outbound connector
- Filters
List<Get
Outbound Connectors Filter> - Id string
- The OCID of the outbound connector.
- State string
- The current state of this outbound connector.
- Availability
Domain string - The availability domain the outbound connector is in. May be unset as a blank or NULL value. Example:
Uocm:PHX-AD-1
- Compartment
Id string - The OCID of the compartment that contains the outbound connector.
- Outbound
Connectors []GetOutbound Connectors Outbound Connector - The list of outbound_connectors.
- Display
Name string - A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. Example:
My outbound connector
- Filters
[]Get
Outbound Connectors Filter - Id string
- The OCID of the outbound connector.
- State string
- The current state of this outbound connector.
- availability
Domain String - The availability domain the outbound connector is in. May be unset as a blank or NULL value. Example:
Uocm:PHX-AD-1
- compartment
Id String - The OCID of the compartment that contains the outbound connector.
- outbound
Connectors List<GetOutbound Connectors Outbound Connector> - The list of outbound_connectors.
- display
Name String - A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. Example:
My outbound connector
- filters
List<Get
Outbound Connectors Filter> - id String
- The OCID of the outbound connector.
- state String
- The current state of this outbound connector.
- availability
Domain string - The availability domain the outbound connector is in. May be unset as a blank or NULL value. Example:
Uocm:PHX-AD-1
- compartment
Id string - The OCID of the compartment that contains the outbound connector.
- outbound
Connectors GetOutbound Connectors Outbound Connector[] - The list of outbound_connectors.
- display
Name string - A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. Example:
My outbound connector
- filters
Get
Outbound Connectors Filter[] - id string
- The OCID of the outbound connector.
- state string
- The current state of this outbound connector.
- 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
- compartment_
id str - The OCID of the compartment that contains the outbound connector.
- outbound_
connectors Sequence[filestorage.Get Outbound Connectors Outbound Connector] - The list of outbound_connectors.
- display_
name str - A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. Example:
My outbound connector
- filters
Sequence[filestorage.
Get Outbound Connectors Filter] - id str
- The OCID of the outbound connector.
- state str
- The current state of this outbound connector.
- availability
Domain String - The availability domain the outbound connector is in. May be unset as a blank or NULL value. Example:
Uocm:PHX-AD-1
- compartment
Id String - The OCID of the compartment that contains the outbound connector.
- outbound
Connectors List<Property Map> - The list of outbound_connectors.
- display
Name String - A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. Example:
My outbound connector
- filters List<Property Map>
- id String
- The OCID of the outbound connector.
- state String
- The current state of this outbound connector.
Supporting Types
GetOutboundConnectorsFilter
GetOutboundConnectorsOutboundConnector
- Availability
Domain string - The name of the availability domain. Example:
Uocm:PHX-AD-1
- Bind
Distinguished stringName - The LDAP Distinguished Name of the account.
- Compartment
Id string - The OCID of the compartment.
- Connector
Type string - The account type of this outbound connector.
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Display
Name string - A user-friendly name. It does not have to be unique, and it is changeable. Example:
My resource
- Endpoints
List<Get
Outbound Connectors Outbound Connector Endpoint> - Array of server endpoints to use when connecting with the LDAP bind account.
- Dictionary<string, string>
- 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"}
- Id string
- Filter results by OCID. Must be an OCID of the correct type for the resouce type.
- Is
Lock boolOverride - Locks
List<Get
Outbound Connectors Outbound Connector Lock> - Locks associated with this resource.
- Password
Secret stringId - The OCID of the password for the LDAP bind account in the Vault.
- Password
Secret intVersion - Version of the password secret in the Vault to use.
- State string
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
- Time
Created string - The date and time the outbound connector was created in RFC 3339 timestamp format. Example:
2016-08-25T21:10:29.600Z
- Availability
Domain string - The name of the availability domain. Example:
Uocm:PHX-AD-1
- Bind
Distinguished stringName - The LDAP Distinguished Name of the account.
- Compartment
Id string - The OCID of the compartment.
- Connector
Type string - The account type of this outbound connector.
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Display
Name string - A user-friendly name. It does not have to be unique, and it is changeable. Example:
My resource
- Endpoints
[]Get
Outbound Connectors Outbound Connector Endpoint - Array of server endpoints to use when connecting with the LDAP bind account.
- map[string]string
- 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"}
- Id string
- Filter results by OCID. Must be an OCID of the correct type for the resouce type.
- Is
Lock boolOverride - Locks
[]Get
Outbound Connectors Outbound Connector Lock - Locks associated with this resource.
- Password
Secret stringId - The OCID of the password for the LDAP bind account in the Vault.
- Password
Secret intVersion - Version of the password secret in the Vault to use.
- State string
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
- Time
Created string - The date and time the outbound connector was created in RFC 3339 timestamp format. Example:
2016-08-25T21:10:29.600Z
- availability
Domain String - The name of the availability domain. Example:
Uocm:PHX-AD-1
- bind
Distinguished StringName - The LDAP Distinguished Name of the account.
- compartment
Id String - The OCID of the compartment.
- connector
Type String - The account type of this outbound connector.
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display
Name String - A user-friendly name. It does not have to be unique, and it is changeable. Example:
My resource
- endpoints
List<Get
Outbound Connectors Outbound Connector Endpoint> - Array of server endpoints to use when connecting with the LDAP bind account.
- Map<String,String>
- 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"}
- id String
- Filter results by OCID. Must be an OCID of the correct type for the resouce type.
- is
Lock BooleanOverride - locks
List<Get
Outbound Connectors Outbound Connector Lock> - Locks associated with this resource.
- password
Secret StringId - The OCID of the password for the LDAP bind account in the Vault.
- password
Secret IntegerVersion - Version of the password secret in the Vault to use.
- state String
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
- time
Created String - The date and time the outbound connector was created in RFC 3339 timestamp format. Example:
2016-08-25T21:10:29.600Z
- availability
Domain string - The name of the availability domain. Example:
Uocm:PHX-AD-1
- bind
Distinguished stringName - The LDAP Distinguished Name of the account.
- compartment
Id string - The OCID of the compartment.
- connector
Type string - The account type of this outbound connector.
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display
Name string - A user-friendly name. It does not have to be unique, and it is changeable. Example:
My resource
- endpoints
Get
Outbound Connectors Outbound Connector Endpoint[] - Array of server endpoints to use when connecting with the LDAP bind account.
- {[key: string]: string}
- 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"}
- id string
- Filter results by OCID. Must be an OCID of the correct type for the resouce type.
- is
Lock booleanOverride - locks
Get
Outbound Connectors Outbound Connector Lock[] - Locks associated with this resource.
- password
Secret stringId - The OCID of the password for the LDAP bind account in the Vault.
- password
Secret numberVersion - Version of the password secret in the Vault to use.
- state string
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
- time
Created 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 name of the availability domain. Example:
Uocm:PHX-AD-1
- bind_
distinguished_ strname - The LDAP Distinguished Name of the account.
- compartment_
id str - The OCID of the compartment.
- connector_
type str - The account type of this outbound connector.
- Mapping[str, str]
- 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 - A user-friendly name. It does not have to be unique, and it is changeable. Example:
My resource
- endpoints
Sequence[filestorage.
Get Outbound Connectors Outbound Connector Endpoint] - Array of server endpoints to use when connecting with the LDAP bind account.
- Mapping[str, str]
- 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"}
- id str
- Filter results by OCID. Must be an OCID of the correct type for the resouce type.
- is_
lock_ booloverride - locks
Sequence[filestorage.
Get Outbound Connectors Outbound Connector Lock] - Locks associated with this resource.
- password_
secret_ strid - The OCID of the password for the LDAP bind account in the Vault.
- password_
secret_ intversion - Version of the password secret in the Vault to use.
- state str
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
- time_
created str - The date and time the outbound connector was created in RFC 3339 timestamp format. Example:
2016-08-25T21:10:29.600Z
- availability
Domain String - The name of the availability domain. Example:
Uocm:PHX-AD-1
- bind
Distinguished StringName - The LDAP Distinguished Name of the account.
- compartment
Id String - The OCID of the compartment.
- connector
Type String - The account type of this outbound connector.
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display
Name String - A user-friendly name. It does not have to be unique, and it is changeable. Example:
My resource
- endpoints List<Property Map>
- Array of server endpoints to use when connecting with the LDAP bind account.
- Map<String>
- 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"}
- id String
- Filter results by OCID. Must be an OCID of the correct type for the resouce type.
- is
Lock BooleanOverride - locks List<Property Map>
- Locks associated with this resource.
- password
Secret StringId - The OCID of the password for the LDAP bind account in the Vault.
- password
Secret NumberVersion - Version of the password secret in the Vault to use.
- state String
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
- time
Created String - The date and time the outbound connector was created in RFC 3339 timestamp format. Example:
2016-08-25T21:10:29.600Z
GetOutboundConnectorsOutboundConnectorEndpoint
GetOutboundConnectorsOutboundConnectorLock
- Message string
- A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
- string
- The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
- Time
Created string - The date and time the outbound connector was created in RFC 3339 timestamp format. Example:
2016-08-25T21:10:29.600Z
- Type string
- Type of the lock.
- Message string
- A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
- string
- The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
- Time
Created string - The date and time the outbound connector was created in RFC 3339 timestamp format. Example:
2016-08-25T21:10:29.600Z
- Type string
- Type of the lock.
- message String
- A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
- String
- The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
- time
Created String - The date and time the outbound connector was created in RFC 3339 timestamp format. Example:
2016-08-25T21:10:29.600Z
- type String
- Type of the lock.
- message string
- A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
- string
- The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
- time
Created string - The date and time the outbound connector was created in RFC 3339 timestamp format. Example:
2016-08-25T21:10:29.600Z
- type string
- Type of the lock.
- message str
- A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
- str
- The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
- time_
created str - The date and time the outbound connector was created in RFC 3339 timestamp format. Example:
2016-08-25T21:10:29.600Z
- type str
- Type of the lock.
- message String
- A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
- String
- The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
- time
Created String - The date and time the outbound connector was created in RFC 3339 timestamp format. Example:
2016-08-25T21:10:29.600Z
- type String
- Type of the lock.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.