1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. CloudBridge
  5. getAgentDependency
Oracle Cloud Infrastructure v2.31.0 published on Thursday, Apr 17, 2025 by Pulumi

oci.CloudBridge.getAgentDependency

Explore with Pulumi AI

Oracle Cloud Infrastructure v2.31.0 published on Thursday, Apr 17, 2025 by Pulumi

This data source provides details about a specific Agent Dependency resource in Oracle Cloud Infrastructure Cloud Bridge service.

Gets an AgentDependency by identifier.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testAgentDependency = oci.CloudBridge.getAgentDependency({
    agentDependencyId: testAgentDependencyOciCloudBridgeAgentDependency.id,
});
Copy
import pulumi
import pulumi_oci as oci

test_agent_dependency = oci.CloudBridge.get_agent_dependency(agent_dependency_id=test_agent_dependency_oci_cloud_bridge_agent_dependency["id"])
Copy
package main

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

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cloudbridge.GetAgentDependency(ctx, &cloudbridge.GetAgentDependencyArgs{
			AgentDependencyId: testAgentDependencyOciCloudBridgeAgentDependency.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testAgentDependency = Oci.CloudBridge.GetAgentDependency.Invoke(new()
    {
        AgentDependencyId = testAgentDependencyOciCloudBridgeAgentDependency.Id,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.CloudBridge.CloudBridgeFunctions;
import com.pulumi.oci.CloudBridge.inputs.GetAgentDependencyArgs;
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 testAgentDependency = CloudBridgeFunctions.getAgentDependency(GetAgentDependencyArgs.builder()
            .agentDependencyId(testAgentDependencyOciCloudBridgeAgentDependency.id())
            .build());

    }
}
Copy
variables:
  testAgentDependency:
    fn::invoke:
      function: oci:CloudBridge:getAgentDependency
      arguments:
        agentDependencyId: ${testAgentDependencyOciCloudBridgeAgentDependency.id}
Copy

Using getAgentDependency

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 getAgentDependency(args: GetAgentDependencyArgs, opts?: InvokeOptions): Promise<GetAgentDependencyResult>
function getAgentDependencyOutput(args: GetAgentDependencyOutputArgs, opts?: InvokeOptions): Output<GetAgentDependencyResult>
Copy
def get_agent_dependency(agent_dependency_id: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetAgentDependencyResult
def get_agent_dependency_output(agent_dependency_id: Optional[pulumi.Input[str]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetAgentDependencyResult]
Copy
func GetAgentDependency(ctx *Context, args *GetAgentDependencyArgs, opts ...InvokeOption) (*GetAgentDependencyResult, error)
func GetAgentDependencyOutput(ctx *Context, args *GetAgentDependencyOutputArgs, opts ...InvokeOption) GetAgentDependencyResultOutput
Copy

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

public static class GetAgentDependency 
{
    public static Task<GetAgentDependencyResult> InvokeAsync(GetAgentDependencyArgs args, InvokeOptions? opts = null)
    public static Output<GetAgentDependencyResult> Invoke(GetAgentDependencyInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetAgentDependencyResult> getAgentDependency(GetAgentDependencyArgs args, InvokeOptions options)
public static Output<GetAgentDependencyResult> getAgentDependency(GetAgentDependencyArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: oci:CloudBridge/getAgentDependency:getAgentDependency
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

AgentDependencyId This property is required. string
A unique AgentDependency identifier.
AgentDependencyId This property is required. string
A unique AgentDependency identifier.
agentDependencyId This property is required. String
A unique AgentDependency identifier.
agentDependencyId This property is required. string
A unique AgentDependency identifier.
agent_dependency_id This property is required. str
A unique AgentDependency identifier.
agentDependencyId This property is required. String
A unique AgentDependency identifier.

getAgentDependency Result

The following output properties are available:

AgentDependencyId string
Bucket string
Object storage bucket where the Agent dependency is uploaded.
Checksum string
The checksum associated with the dependency object returned by Object Storage.
CompartmentId string
Compartment identifier
DefinedTags Dictionary<string, string>
The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
DependencyName string
Name of the dependency type. This should match the whitelisted enum of dependency names.
DependencyVersion string
Version of the Agent dependency.
Description string
Description about the Agent dependency.
DisplayName string
Display name of the Agent dependency.
ETag string
The eTag associated with the dependency object returned by Object Storage.
FreeformTags Dictionary<string, string>
The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no predefined name, type, or namespace/scope. For more information, see Resource Tags. Example: {"Department": "Finance"}
Id string
Unique identifier that is immutable on creation.
LifecycleDetails string
A message describing the current state in more detail. For example, it can be used to provide actionable information for a resource in Failed state.
Namespace string
Object storage namespace associated with the customer's tenancy.
Object string
Name of the dependency object uploaded by the customer.
State string
The current state of AgentDependency.
SystemTags Dictionary<string, string>
The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {orcl-cloud: {free-tier-retain: true}}
TimeCreated string
The time when the AgentDependency was created. An RFC3339 formatted datetime string.
AgentDependencyId string
Bucket string
Object storage bucket where the Agent dependency is uploaded.
Checksum string
The checksum associated with the dependency object returned by Object Storage.
CompartmentId string
Compartment identifier
DefinedTags map[string]string
The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
DependencyName string
Name of the dependency type. This should match the whitelisted enum of dependency names.
DependencyVersion string
Version of the Agent dependency.
Description string
Description about the Agent dependency.
DisplayName string
Display name of the Agent dependency.
ETag string
The eTag associated with the dependency object returned by Object Storage.
FreeformTags map[string]string
The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no predefined name, type, or namespace/scope. For more information, see Resource Tags. Example: {"Department": "Finance"}
Id string
Unique identifier that is immutable on creation.
LifecycleDetails string
A message describing the current state in more detail. For example, it can be used to provide actionable information for a resource in Failed state.
Namespace string
Object storage namespace associated with the customer's tenancy.
Object string
Name of the dependency object uploaded by the customer.
State string
The current state of AgentDependency.
SystemTags map[string]string
The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {orcl-cloud: {free-tier-retain: true}}
TimeCreated string
The time when the AgentDependency was created. An RFC3339 formatted datetime string.
agentDependencyId String
bucket String
Object storage bucket where the Agent dependency is uploaded.
checksum String
The checksum associated with the dependency object returned by Object Storage.
compartmentId String
Compartment identifier
definedTags Map<String,String>
The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
dependencyName String
Name of the dependency type. This should match the whitelisted enum of dependency names.
dependencyVersion String
Version of the Agent dependency.
description String
Description about the Agent dependency.
displayName String
Display name of the Agent dependency.
eTag String
The eTag associated with the dependency object returned by Object Storage.
freeformTags Map<String,String>
The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no predefined name, type, or namespace/scope. For more information, see Resource Tags. Example: {"Department": "Finance"}
id String
Unique identifier that is immutable on creation.
lifecycleDetails String
A message describing the current state in more detail. For example, it can be used to provide actionable information for a resource in Failed state.
namespace String
Object storage namespace associated with the customer's tenancy.
object String
Name of the dependency object uploaded by the customer.
state String
The current state of AgentDependency.
systemTags Map<String,String>
The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {orcl-cloud: {free-tier-retain: true}}
timeCreated String
The time when the AgentDependency was created. An RFC3339 formatted datetime string.
agentDependencyId string
bucket string
Object storage bucket where the Agent dependency is uploaded.
checksum string
The checksum associated with the dependency object returned by Object Storage.
compartmentId string
Compartment identifier
definedTags {[key: string]: string}
The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
dependencyName string
Name of the dependency type. This should match the whitelisted enum of dependency names.
dependencyVersion string
Version of the Agent dependency.
description string
Description about the Agent dependency.
displayName string
Display name of the Agent dependency.
eTag string
The eTag associated with the dependency object returned by Object Storage.
freeformTags {[key: string]: string}
The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no predefined name, type, or namespace/scope. For more information, see Resource Tags. Example: {"Department": "Finance"}
id string
Unique identifier that is immutable on creation.
lifecycleDetails string
A message describing the current state in more detail. For example, it can be used to provide actionable information for a resource in Failed state.
namespace string
Object storage namespace associated with the customer's tenancy.
object string
Name of the dependency object uploaded by the customer.
state string
The current state of AgentDependency.
systemTags {[key: string]: string}
The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {orcl-cloud: {free-tier-retain: true}}
timeCreated string
The time when the AgentDependency was created. An RFC3339 formatted datetime string.
agent_dependency_id str
bucket str
Object storage bucket where the Agent dependency is uploaded.
checksum str
The checksum associated with the dependency object returned by Object Storage.
compartment_id str
Compartment identifier
defined_tags Mapping[str, str]
The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
dependency_name str
Name of the dependency type. This should match the whitelisted enum of dependency names.
dependency_version str
Version of the Agent dependency.
description str
Description about the Agent dependency.
display_name str
Display name of the Agent dependency.
e_tag str
The eTag associated with the dependency object returned by Object Storage.
freeform_tags Mapping[str, str]
The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no predefined name, type, or namespace/scope. For more information, see Resource Tags. Example: {"Department": "Finance"}
id str
Unique identifier that is immutable on creation.
lifecycle_details str
A message describing the current state in more detail. For example, it can be used to provide actionable information for a resource in Failed state.
namespace str
Object storage namespace associated with the customer's tenancy.
object str
Name of the dependency object uploaded by the customer.
state str
The current state of AgentDependency.
system_tags Mapping[str, str]
The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {orcl-cloud: {free-tier-retain: true}}
time_created str
The time when the AgentDependency was created. An RFC3339 formatted datetime string.
agentDependencyId String
bucket String
Object storage bucket where the Agent dependency is uploaded.
checksum String
The checksum associated with the dependency object returned by Object Storage.
compartmentId String
Compartment identifier
definedTags Map<String>
The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
dependencyName String
Name of the dependency type. This should match the whitelisted enum of dependency names.
dependencyVersion String
Version of the Agent dependency.
description String
Description about the Agent dependency.
displayName String
Display name of the Agent dependency.
eTag String
The eTag associated with the dependency object returned by Object Storage.
freeformTags Map<String>
The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no predefined name, type, or namespace/scope. For more information, see Resource Tags. Example: {"Department": "Finance"}
id String
Unique identifier that is immutable on creation.
lifecycleDetails String
A message describing the current state in more detail. For example, it can be used to provide actionable information for a resource in Failed state.
namespace String
Object storage namespace associated with the customer's tenancy.
object String
Name of the dependency object uploaded by the customer.
state String
The current state of AgentDependency.
systemTags Map<String>
The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {orcl-cloud: {free-tier-retain: true}}
timeCreated String
The time when the AgentDependency was created. An RFC3339 formatted datetime string.

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 v2.31.0 published on Thursday, Apr 17, 2025 by Pulumi