Oracle Cloud Infrastructure
getOnpremConnector
This data source provides details about a specific On Prem Connector resource in Oracle Cloud Infrastructure Data Safe service.
Gets the details of the specified on-premises connector.
Example Usage
using Pulumi;
using Oci = Pulumi.Oci;
class MyStack : Stack
{
public MyStack()
{
var testOnPremConnector = Output.Create(Oci.DataSafe.GetOnpremConnector.InvokeAsync(new Oci.DataSafe.GetOnpremConnectorArgs
{
OnPremConnectorId = oci_data_safe_on_prem_connector.Test_on_prem_connector.Id,
}));
}
}
package main
import (
"github.com/pulumi/pulumi-oci/sdk/go/oci/DataSafe"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := DataSafe.GetOnpremConnector(ctx, &datasafe.GetOnpremConnectorArgs{
OnPremConnectorId: oci_data_safe_on_prem_connector.Test_on_prem_connector.Id,
}, nil)
if err != nil {
return err
}
return nil
})
}
Coming soon!
import pulumi
import pulumi_oci as oci
test_on_prem_connector = oci.DataSafe.get_onprem_connector(on_prem_connector_id=oci_data_safe_on_prem_connector["test_on_prem_connector"]["id"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testOnPremConnector = oci.DataSafe.getOnpremConnector({
onPremConnectorId: oci_data_safe_on_prem_connector.test_on_prem_connector.id,
});
Coming soon!
Using getOnpremConnector
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 getOnpremConnector(args: GetOnpremConnectorArgs, opts?: InvokeOptions): Promise<GetOnpremConnectorResult>
function getOnpremConnectorOutput(args: GetOnpremConnectorOutputArgs, opts?: InvokeOptions): Output<GetOnpremConnectorResult>
def get_onprem_connector(on_prem_connector_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetOnpremConnectorResult
def get_onprem_connector_output(on_prem_connector_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetOnpremConnectorResult]
func GetOnpremConnector(ctx *Context, args *GetOnpremConnectorArgs, opts ...InvokeOption) (*GetOnpremConnectorResult, error)
func GetOnpremConnectorOutput(ctx *Context, args *GetOnpremConnectorOutputArgs, opts ...InvokeOption) GetOnpremConnectorResultOutput
> Note: This function is named GetOnpremConnector
in the Go SDK.
public static class GetOnpremConnector
{
public static Task<GetOnpremConnectorResult> InvokeAsync(GetOnpremConnectorArgs args, InvokeOptions? opts = null)
public static Output<GetOnpremConnectorResult> Invoke(GetOnpremConnectorInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetOnpremConnectorResult> getOnpremConnector(GetOnpremConnectorArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
Function: oci:DataSafe/getOnpremConnector:getOnpremConnector
Arguments:
# Arguments dictionary
The following arguments are supported:
- On
Prem stringConnector Id The OCID of the on-premises connector.
- On
Prem stringConnector Id The OCID of the on-premises connector.
- on
Prem StringConnector Id The OCID of the on-premises connector.
- on
Prem stringConnector Id The OCID of the on-premises connector.
- on_
prem_ strconnector_ id The OCID of the on-premises connector.
- on
Prem StringConnector Id The OCID of the on-premises connector.
getOnpremConnector Result
The following output properties are available:
- Available
Version string Latest available version of the on-premises connector.
- Compartment
Id string The OCID of the compartment that contains the on-premises connector.
- Created
Version string Created version of the on-premises 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"}
- Description string
The description of the on-premises connector.
- Display
Name string The display name of the on-premises connector.
- 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 on-premises connector.
- Lifecycle
Details string Details about the current state of the on-premises connector.
- On
Prem stringConnector Id - State string
The current state of the on-premises connector.
- Dictionary<string, object>
System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string The date and time the on-premises connector was created, in the format defined by RFC3339.
- Available
Version string Latest available version of the on-premises connector.
- Compartment
Id string The OCID of the compartment that contains the on-premises connector.
- Created
Version string Created version of the on-premises 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"}
- Description string
The description of the on-premises connector.
- Display
Name string The display name of the on-premises connector.
- 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 on-premises connector.
- Lifecycle
Details string Details about the current state of the on-premises connector.
- On
Prem stringConnector Id - State string
The current state of the on-premises connector.
- map[string]interface{}
System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string The date and time the on-premises connector was created, in the format defined by RFC3339.
- available
Version String Latest available version of the on-premises connector.
- compartment
Id String The OCID of the compartment that contains the on-premises connector.
- created
Version String Created version of the on-premises 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"}
- description String
The description of the on-premises connector.
- display
Name String The display name of the on-premises connector.
- 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 on-premises connector.
- lifecycle
Details String Details about the current state of the on-premises connector.
- on
Prem StringConnector Id - state String
The current state of the on-premises connector.
- Map<String,Object>
System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String The date and time the on-premises connector was created, in the format defined by RFC3339.
- available
Version string Latest available version of the on-premises connector.
- compartment
Id string The OCID of the compartment that contains the on-premises connector.
- created
Version string Created version of the on-premises 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"}
- description string
The description of the on-premises connector.
- display
Name string The display name of the on-premises connector.
- {[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 on-premises connector.
- lifecycle
Details string Details about the current state of the on-premises connector.
- on
Prem stringConnector Id - state string
The current state of the on-premises connector.
- {[key: string]: any}
System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created string The date and time the on-premises connector was created, in the format defined by RFC3339.
- available_
version str Latest available version of the on-premises connector.
- compartment_
id str The OCID of the compartment that contains the on-premises connector.
- created_
version str Created version of the on-premises 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"}
- description str
The description of the on-premises connector.
- display_
name str The display name of the on-premises connector.
- 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 on-premises connector.
- lifecycle_
details str Details about the current state of the on-premises connector.
- on_
prem_ strconnector_ id - state str
The current state of the on-premises connector.
- Mapping[str, Any]
System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time_
created str The date and time the on-premises connector was created, in the format defined by RFC3339.
- available
Version String Latest available version of the on-premises connector.
- compartment
Id String The OCID of the compartment that contains the on-premises connector.
- created
Version String Created version of the on-premises 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"}
- description String
The description of the on-premises connector.
- display
Name String The display name of the on-premises connector.
- 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 on-premises connector.
- lifecycle
Details String Details about the current state of the on-premises connector.
- on
Prem StringConnector Id - state String
The current state of the on-premises connector.
- Map<Any>
System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String The date and time the on-premises connector was created, in the format defined by RFC3339.
Package Details
- Repository
- https://github.com/pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
oci
Terraform Provider.