Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
oci.FileStorage.getOutboundConnector
Explore with Pulumi AI
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
This data source provides details about a specific Outbound Connector resource in Oracle Cloud Infrastructure File Storage service.
Gets the specified outbound connector’s information.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testOutboundConnector = oci.FileStorage.getOutboundConnector({
outboundConnectorId: testOutboundConnectorOciFileStorageOutboundConnector.id,
});
import pulumi
import pulumi_oci as oci
test_outbound_connector = oci.FileStorage.get_outbound_connector(outbound_connector_id=test_outbound_connector_oci_file_storage_outbound_connector["id"])
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.GetOutboundConnector(ctx, &filestorage.GetOutboundConnectorArgs{
OutboundConnectorId: testOutboundConnectorOciFileStorageOutboundConnector.Id,
}, 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 testOutboundConnector = Oci.FileStorage.GetOutboundConnector.Invoke(new()
{
OutboundConnectorId = testOutboundConnectorOciFileStorageOutboundConnector.Id,
});
});
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.GetOutboundConnectorArgs;
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 testOutboundConnector = FileStorageFunctions.getOutboundConnector(GetOutboundConnectorArgs.builder()
.outboundConnectorId(testOutboundConnectorOciFileStorageOutboundConnector.id())
.build());
}
}
variables:
testOutboundConnector:
fn::invoke:
Function: oci:FileStorage:getOutboundConnector
Arguments:
outboundConnectorId: ${testOutboundConnectorOciFileStorageOutboundConnector.id}
Using getOutboundConnector
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 getOutboundConnector(args: GetOutboundConnectorArgs, opts?: InvokeOptions): Promise<GetOutboundConnectorResult>
function getOutboundConnectorOutput(args: GetOutboundConnectorOutputArgs, opts?: InvokeOptions): Output<GetOutboundConnectorResult>
def get_outbound_connector(outbound_connector_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetOutboundConnectorResult
def get_outbound_connector_output(outbound_connector_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetOutboundConnectorResult]
func GetOutboundConnector(ctx *Context, args *GetOutboundConnectorArgs, opts ...InvokeOption) (*GetOutboundConnectorResult, error)
func GetOutboundConnectorOutput(ctx *Context, args *GetOutboundConnectorOutputArgs, opts ...InvokeOption) GetOutboundConnectorResultOutput
> Note: This function is named GetOutboundConnector
in the Go SDK.
public static class GetOutboundConnector
{
public static Task<GetOutboundConnectorResult> InvokeAsync(GetOutboundConnectorArgs args, InvokeOptions? opts = null)
public static Output<GetOutboundConnectorResult> Invoke(GetOutboundConnectorInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetOutboundConnectorResult> getOutboundConnector(GetOutboundConnectorArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:FileStorage/getOutboundConnector:getOutboundConnector
arguments:
# arguments dictionary
The following arguments are supported:
- Outbound
Connector stringId - The OCID of the outbound connector.
- Outbound
Connector stringId - The OCID of the outbound connector.
- outbound
Connector StringId - The OCID of the outbound connector.
- outbound
Connector stringId - The OCID of the outbound connector.
- outbound_
connector_ strid - The OCID of the outbound connector.
- outbound
Connector StringId - The OCID of the outbound connector.
getOutboundConnector 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
- Bind
Distinguished stringName - The LDAP Distinguished Name of the account.
- Compartment
Id string - The OCID of the compartment that contains the outbound connector.
- Connector
Type string - The account type of this outbound connector.
- Dictionary<string, object>
- 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. Avoid entering confidential information. Example:
My outbound connector
- Endpoints
List<Get
Outbound Connector Endpoint> - Array of server endpoints to use when connecting with the LDAP bind account.
- Dictionary<string, object>
- 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
- The OCID of the outbound connector.
- Outbound
Connector stringId - 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
- The current state of this outbound connector.
- 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 availability domain the outbound connector is in. May be unset as a blank or NULL value. Example:
Uocm:PHX-AD-1
- Bind
Distinguished stringName - The LDAP Distinguished Name of the account.
- Compartment
Id string - The OCID of the compartment that contains the outbound connector.
- Connector
Type string - The account type of this outbound connector.
- map[string]interface{}
- 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. Avoid entering confidential information. Example:
My outbound connector
- Endpoints
[]Get
Outbound Connector Endpoint - Array of server endpoints to use when connecting with the LDAP bind account.
- map[string]interface{}
- 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
- The OCID of the outbound connector.
- Outbound
Connector stringId - 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
- The current state of this outbound connector.
- 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 availability domain the outbound connector is in. May be unset as a blank or NULL value. Example:
Uocm:PHX-AD-1
- bind
Distinguished StringName - The LDAP Distinguished Name of the account.
- compartment
Id String - The OCID of the compartment that contains the outbound connector.
- connector
Type String - The account type of this outbound connector.
- Map<String,Object>
- 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. Avoid entering confidential information. Example:
My outbound connector
- endpoints
List<Get
Outbound Connector Endpoint> - Array of server endpoints to use when connecting with the LDAP bind account.
- Map<String,Object>
- 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
- The OCID of the outbound connector.
- outbound
Connector StringId - 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
- The current state of this outbound connector.
- 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 availability domain the outbound connector is in. May be unset as a blank or NULL value. Example:
Uocm:PHX-AD-1
- bind
Distinguished stringName - The LDAP Distinguished Name of the account.
- compartment
Id string - The OCID of the compartment that contains the outbound connector.
- connector
Type string - The account type of this outbound connector.
- {[key: string]: any}
- 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. Avoid entering confidential information. Example:
My outbound connector
- endpoints
Get
Outbound Connector Endpoint[] - Array of server endpoints to use when connecting with the LDAP bind account.
- {[key: string]: any}
- 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
- The OCID of the outbound connector.
- outbound
Connector stringId - 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
- The current state of this outbound connector.
- 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 availability domain the outbound connector is in. May be unset as a blank or NULL value. Example:
Uocm:PHX-AD-1
- bind_
distinguished_ strname - The LDAP Distinguished Name of the account.
- compartment_
id str - The OCID of the compartment that contains the outbound connector.
- connector_
type str - The account type of this outbound connector.
- Mapping[str, Any]
- 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. Avoid entering confidential information. Example:
My outbound connector
- endpoints
Sequence[filestorage.
Get Outbound Connector Endpoint] - Array of server endpoints to use when connecting with the LDAP bind account.
- Mapping[str, Any]
- 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
- The OCID of the outbound connector.
- outbound_
connector_ strid - 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
- 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
- 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
- bind
Distinguished StringName - The LDAP Distinguished Name of the account.
- compartment
Id String - The OCID of the compartment that contains the outbound connector.
- connector
Type String - The account type of this outbound connector.
- Map<Any>
- 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. 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.
- Map<Any>
- 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
- The OCID of the outbound connector.
- outbound
Connector StringId - 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
- The current state of this outbound connector.
- time
Created String - The date and time the outbound connector was created in RFC 3339 timestamp format. Example:
2016-08-25T21:10:29.600Z
Supporting Types
GetOutboundConnectorEndpoint
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi