Oracle Cloud Infrastructure

Pulumi Official
Package maintained by Pulumi
v0.1.1 published on Tuesday, May 3, 2022 by Pulumi

getDatabaseToolsEndpointService

This data source provides details about a specific Database Tools Endpoint Service resource in Oracle Cloud Infrastructure Database Tools service.

Gets a DatabaseToolsEndpointService by identifier

Example Usage

using Pulumi;
using Oci = Pulumi.Oci;

class MyStack : Stack
{
    public MyStack()
    {
        var testDatabaseToolsEndpointService = Output.Create(Oci.DatabaseTools.GetDatabaseToolsEndpointService.InvokeAsync(new Oci.DatabaseTools.GetDatabaseToolsEndpointServiceArgs
        {
            DatabaseToolsEndpointServiceId = oci_database_tools_database_tools_endpoint_service.Test_database_tools_endpoint_service.Id,
        }));
    }

}
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/go/oci/DatabaseTools"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := DatabaseTools.GetDatabaseToolsEndpointService(ctx, &databasetools.GetDatabaseToolsEndpointServiceArgs{
			DatabaseToolsEndpointServiceId: oci_database_tools_database_tools_endpoint_service.Test_database_tools_endpoint_service.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_oci as oci

test_database_tools_endpoint_service = oci.DatabaseTools.get_database_tools_endpoint_service(database_tools_endpoint_service_id=oci_database_tools_database_tools_endpoint_service["test_database_tools_endpoint_service"]["id"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testDatabaseToolsEndpointService = oci.DatabaseTools.getDatabaseToolsEndpointService({
    databaseToolsEndpointServiceId: oci_database_tools_database_tools_endpoint_service.test_database_tools_endpoint_service.id,
});

Coming soon!

Using getDatabaseToolsEndpointService

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 getDatabaseToolsEndpointService(args: GetDatabaseToolsEndpointServiceArgs, opts?: InvokeOptions): Promise<GetDatabaseToolsEndpointServiceResult>
function getDatabaseToolsEndpointServiceOutput(args: GetDatabaseToolsEndpointServiceOutputArgs, opts?: InvokeOptions): Output<GetDatabaseToolsEndpointServiceResult>
def get_database_tools_endpoint_service(database_tools_endpoint_service_id: Optional[str] = None,
                                        opts: Optional[InvokeOptions] = None) -> GetDatabaseToolsEndpointServiceResult
def get_database_tools_endpoint_service_output(database_tools_endpoint_service_id: Optional[pulumi.Input[str]] = None,
                                        opts: Optional[InvokeOptions] = None) -> Output[GetDatabaseToolsEndpointServiceResult]
func GetDatabaseToolsEndpointService(ctx *Context, args *GetDatabaseToolsEndpointServiceArgs, opts ...InvokeOption) (*GetDatabaseToolsEndpointServiceResult, error)
func GetDatabaseToolsEndpointServiceOutput(ctx *Context, args *GetDatabaseToolsEndpointServiceOutputArgs, opts ...InvokeOption) GetDatabaseToolsEndpointServiceResultOutput

> Note: This function is named GetDatabaseToolsEndpointService in the Go SDK.

public static class GetDatabaseToolsEndpointService 
{
    public static Task<GetDatabaseToolsEndpointServiceResult> InvokeAsync(GetDatabaseToolsEndpointServiceArgs args, InvokeOptions? opts = null)
    public static Output<GetDatabaseToolsEndpointServiceResult> Invoke(GetDatabaseToolsEndpointServiceInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDatabaseToolsEndpointServiceResult> getDatabaseToolsEndpointService(GetDatabaseToolsEndpointServiceArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: oci:DatabaseTools/getDatabaseToolsEndpointService:getDatabaseToolsEndpointService
  Arguments:
    # Arguments dictionary

The following arguments are supported:

DatabaseToolsEndpointServiceId string

The OCID of a DatabaseToolsEndpointService.

DatabaseToolsEndpointServiceId string

The OCID of a DatabaseToolsEndpointService.

databaseToolsEndpointServiceId String

The OCID of a DatabaseToolsEndpointService.

databaseToolsEndpointServiceId string

The OCID of a DatabaseToolsEndpointService.

database_tools_endpoint_service_id str

The OCID of a DatabaseToolsEndpointService.

databaseToolsEndpointServiceId String

The OCID of a DatabaseToolsEndpointService.

getDatabaseToolsEndpointService Result

The following output properties are available:

CompartmentId string

The OCID of the containing Compartment.

DatabaseToolsEndpointServiceId string
DefinedTags Dictionary<string, object>

Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

Description string

A description of the DatabaseToolsEndpointService.

DisplayName string

A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.

FreeformTags Dictionary<string, object>

Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

Id string

The provider-assigned unique ID for this managed resource.

LifecycleDetails string

A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.

Name string

A unique, non-changeable resource name.

State string

The current state of the DatabaseToolsEndpointService.

SystemTags Dictionary<string, object>

Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}

TimeCreated string

The time the DatabaseToolsEndpointService was created. An RFC3339 formatted datetime string

TimeUpdated string

The time the DatabaseToolsEndpointService was updated. An RFC3339 formatted datetime string

CompartmentId string

The OCID of the containing Compartment.

DatabaseToolsEndpointServiceId string
DefinedTags map[string]interface{}

Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

Description string

A description of the DatabaseToolsEndpointService.

DisplayName string

A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.

FreeformTags map[string]interface{}

Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

Id string

The provider-assigned unique ID for this managed resource.

LifecycleDetails string

A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.

Name string

A unique, non-changeable resource name.

State string

The current state of the DatabaseToolsEndpointService.

SystemTags map[string]interface{}

Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}

TimeCreated string

The time the DatabaseToolsEndpointService was created. An RFC3339 formatted datetime string

TimeUpdated string

The time the DatabaseToolsEndpointService was updated. An RFC3339 formatted datetime string

compartmentId String

The OCID of the containing Compartment.

databaseToolsEndpointServiceId String
definedTags Map<String,Object>

Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

description String

A description of the DatabaseToolsEndpointService.

displayName String

A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.

freeformTags Map<String,Object>

Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

id String

The provider-assigned unique ID for this managed resource.

lifecycleDetails String

A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.

name String

A unique, non-changeable resource name.

state String

The current state of the DatabaseToolsEndpointService.

systemTags Map<String,Object>

Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}

timeCreated String

The time the DatabaseToolsEndpointService was created. An RFC3339 formatted datetime string

timeUpdated String

The time the DatabaseToolsEndpointService was updated. An RFC3339 formatted datetime string

compartmentId string

The OCID of the containing Compartment.

databaseToolsEndpointServiceId string
definedTags {[key: string]: any}

Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

description string

A description of the DatabaseToolsEndpointService.

displayName string

A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.

freeformTags {[key: string]: any}

Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

id string

The provider-assigned unique ID for this managed resource.

lifecycleDetails string

A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.

name string

A unique, non-changeable resource name.

state string

The current state of the DatabaseToolsEndpointService.

systemTags {[key: string]: any}

Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}

timeCreated string

The time the DatabaseToolsEndpointService was created. An RFC3339 formatted datetime string

timeUpdated string

The time the DatabaseToolsEndpointService was updated. An RFC3339 formatted datetime string

compartment_id str

The OCID of the containing Compartment.

database_tools_endpoint_service_id str
defined_tags Mapping[str, Any]

Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

description str

A description of the DatabaseToolsEndpointService.

display_name str

A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.

freeform_tags Mapping[str, Any]

Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

id str

The provider-assigned unique ID for this managed resource.

lifecycle_details str

A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.

name str

A unique, non-changeable resource name.

state str

The current state of the DatabaseToolsEndpointService.

system_tags Mapping[str, Any]

Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}

time_created str

The time the DatabaseToolsEndpointService was created. An RFC3339 formatted datetime string

time_updated str

The time the DatabaseToolsEndpointService was updated. An RFC3339 formatted datetime string

compartmentId String

The OCID of the containing Compartment.

databaseToolsEndpointServiceId String
definedTags Map<Any>

Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

description String

A description of the DatabaseToolsEndpointService.

displayName String

A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.

freeformTags Map<Any>

Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

id String

The provider-assigned unique ID for this managed resource.

lifecycleDetails String

A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.

name String

A unique, non-changeable resource name.

state String

The current state of the DatabaseToolsEndpointService.

systemTags Map<Any>

Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}

timeCreated String

The time the DatabaseToolsEndpointService was created. An RFC3339 formatted datetime string

timeUpdated String

The time the DatabaseToolsEndpointService was updated. An RFC3339 formatted datetime string

Package Details

Repository
https://github.com/pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.