oci.CloudBridge.Agent
Explore with Pulumi AI
This resource provides the Agent resource in Oracle Cloud Infrastructure Cloud Bridge service.
Creates an Agent.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testAgent = new oci.cloudbridge.Agent("test_agent", {
    agentType: agentAgentType,
    agentVersion: agentAgentVersion,
    compartmentId: compartmentId,
    displayName: agentDisplayName,
    environmentId: testEnvironment.id,
    osVersion: agentOsVersion,
    definedTags: {
        "Operations.CostCenter": "42",
    },
    freeformTags: {
        Department: "Finance",
    },
});
import pulumi
import pulumi_oci as oci
test_agent = oci.cloud_bridge.Agent("test_agent",
    agent_type=agent_agent_type,
    agent_version=agent_agent_version,
    compartment_id=compartment_id,
    display_name=agent_display_name,
    environment_id=test_environment["id"],
    os_version=agent_os_version,
    defined_tags={
        "Operations.CostCenter": "42",
    },
    freeform_tags={
        "Department": "Finance",
    })
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.NewAgent(ctx, "test_agent", &cloudbridge.AgentArgs{
			AgentType:     pulumi.Any(agentAgentType),
			AgentVersion:  pulumi.Any(agentAgentVersion),
			CompartmentId: pulumi.Any(compartmentId),
			DisplayName:   pulumi.Any(agentDisplayName),
			EnvironmentId: pulumi.Any(testEnvironment.Id),
			OsVersion:     pulumi.Any(agentOsVersion),
			DefinedTags: pulumi.StringMap{
				"Operations.CostCenter": pulumi.String("42"),
			},
			FreeformTags: pulumi.StringMap{
				"Department": pulumi.String("Finance"),
			},
		})
		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 testAgent = new Oci.CloudBridge.Agent("test_agent", new()
    {
        AgentType = agentAgentType,
        AgentVersion = agentAgentVersion,
        CompartmentId = compartmentId,
        DisplayName = agentDisplayName,
        EnvironmentId = testEnvironment.Id,
        OsVersion = agentOsVersion,
        DefinedTags = 
        {
            { "Operations.CostCenter", "42" },
        },
        FreeformTags = 
        {
            { "Department", "Finance" },
        },
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.CloudBridge.Agent;
import com.pulumi.oci.CloudBridge.AgentArgs;
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) {
        var testAgent = new Agent("testAgent", AgentArgs.builder()
            .agentType(agentAgentType)
            .agentVersion(agentAgentVersion)
            .compartmentId(compartmentId)
            .displayName(agentDisplayName)
            .environmentId(testEnvironment.id())
            .osVersion(agentOsVersion)
            .definedTags(Map.of("Operations.CostCenter", "42"))
            .freeformTags(Map.of("Department", "Finance"))
            .build());
    }
}
resources:
  testAgent:
    type: oci:CloudBridge:Agent
    name: test_agent
    properties:
      agentType: ${agentAgentType}
      agentVersion: ${agentAgentVersion}
      compartmentId: ${compartmentId}
      displayName: ${agentDisplayName}
      environmentId: ${testEnvironment.id}
      osVersion: ${agentOsVersion}
      definedTags:
        Operations.CostCenter: '42'
      freeformTags:
        Department: Finance
Create Agent Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Agent(name: string, args: AgentArgs, opts?: CustomResourceOptions);@overload
def Agent(resource_name: str,
          args: AgentArgs,
          opts: Optional[ResourceOptions] = None)
@overload
def Agent(resource_name: str,
          opts: Optional[ResourceOptions] = None,
          agent_type: Optional[str] = None,
          agent_version: Optional[str] = None,
          compartment_id: Optional[str] = None,
          display_name: Optional[str] = None,
          environment_id: Optional[str] = None,
          os_version: Optional[str] = None,
          defined_tags: Optional[Mapping[str, str]] = None,
          freeform_tags: Optional[Mapping[str, str]] = None)func NewAgent(ctx *Context, name string, args AgentArgs, opts ...ResourceOption) (*Agent, error)public Agent(string name, AgentArgs args, CustomResourceOptions? opts = null)type: oci:CloudBridge:Agent
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args AgentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args AgentArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args AgentArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AgentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AgentArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var agentResource = new Oci.CloudBridge.Agent("agentResource", new()
{
    AgentType = "string",
    AgentVersion = "string",
    CompartmentId = "string",
    DisplayName = "string",
    EnvironmentId = "string",
    OsVersion = "string",
    DefinedTags = 
    {
        { "string", "string" },
    },
    FreeformTags = 
    {
        { "string", "string" },
    },
});
example, err := cloudbridge.NewAgent(ctx, "agentResource", &cloudbridge.AgentArgs{
	AgentType:     pulumi.String("string"),
	AgentVersion:  pulumi.String("string"),
	CompartmentId: pulumi.String("string"),
	DisplayName:   pulumi.String("string"),
	EnvironmentId: pulumi.String("string"),
	OsVersion:     pulumi.String("string"),
	DefinedTags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	FreeformTags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
})
var agentResource = new Agent("agentResource", AgentArgs.builder()
    .agentType("string")
    .agentVersion("string")
    .compartmentId("string")
    .displayName("string")
    .environmentId("string")
    .osVersion("string")
    .definedTags(Map.of("string", "string"))
    .freeformTags(Map.of("string", "string"))
    .build());
agent_resource = oci.cloud_bridge.Agent("agentResource",
    agent_type="string",
    agent_version="string",
    compartment_id="string",
    display_name="string",
    environment_id="string",
    os_version="string",
    defined_tags={
        "string": "string",
    },
    freeform_tags={
        "string": "string",
    })
const agentResource = new oci.cloudbridge.Agent("agentResource", {
    agentType: "string",
    agentVersion: "string",
    compartmentId: "string",
    displayName: "string",
    environmentId: "string",
    osVersion: "string",
    definedTags: {
        string: "string",
    },
    freeformTags: {
        string: "string",
    },
});
type: oci:CloudBridge:Agent
properties:
    agentType: string
    agentVersion: string
    compartmentId: string
    definedTags:
        string: string
    displayName: string
    environmentId: string
    freeformTags:
        string: string
    osVersion: string
Agent Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Agent resource accepts the following input properties:
- AgentType string
- Agent identifier.
- AgentVersion string
- Agent identifier.
- CompartmentId string
- (Updatable) Compartment identifier.
- DisplayName string
- (Updatable) Agent identifier.
- EnvironmentId string
- Environment identifier.
- OsVersion string
- OS version. - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- Dictionary<string, string>
- (Updatable) 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"}
- Dictionary<string, string>
- (Updatable) 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"}
- AgentType string
- Agent identifier.
- AgentVersion string
- Agent identifier.
- CompartmentId string
- (Updatable) Compartment identifier.
- DisplayName string
- (Updatable) Agent identifier.
- EnvironmentId string
- Environment identifier.
- OsVersion string
- OS version. - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- map[string]string
- (Updatable) 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"}
- map[string]string
- (Updatable) 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"}
- agentType String
- Agent identifier.
- agentVersion String
- Agent identifier.
- compartmentId String
- (Updatable) Compartment identifier.
- displayName String
- (Updatable) Agent identifier.
- environmentId String
- Environment identifier.
- osVersion String
- OS version. - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- Map<String,String>
- (Updatable) 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"}
- Map<String,String>
- (Updatable) 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"}
- agentType string
- Agent identifier.
- agentVersion string
- Agent identifier.
- compartmentId string
- (Updatable) Compartment identifier.
- displayName string
- (Updatable) Agent identifier.
- environmentId string
- Environment identifier.
- osVersion string
- OS version. - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- {[key: string]: string}
- (Updatable) 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"}
- {[key: string]: string}
- (Updatable) 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"}
- agent_type str
- Agent identifier.
- agent_version str
- Agent identifier.
- compartment_id str
- (Updatable) Compartment identifier.
- display_name str
- (Updatable) Agent identifier.
- environment_id str
- Environment identifier.
- os_version str
- OS version. - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- Mapping[str, str]
- (Updatable) 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"}
- Mapping[str, str]
- (Updatable) 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"}
- agentType String
- Agent identifier.
- agentVersion String
- Agent identifier.
- compartmentId String
- (Updatable) Compartment identifier.
- displayName String
- (Updatable) Agent identifier.
- environmentId String
- Environment identifier.
- osVersion String
- OS version. - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- Map<String>
- (Updatable) 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"}
- Map<String>
- (Updatable) 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"}
Outputs
All input properties are implicitly available as output properties. Additionally, the Agent resource produces the following output properties:
- AgentPub stringKey 
- Resource principal public key.
- HeartBeat stringStatus 
- The current heartbeat status of the Agent based on its timeLastSyncReceived 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, it can be used to provide actionable information for a resource in Failed state.
- PluginLists List<AgentPlugin List> 
- List of plugins associated with the agent.
- State string
- The current state of the Agent.
- 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 Agent was created. An RFC3339 formatted datetime string.
- TimeExpire stringAgent Key In Ms 
- The time since epoch for when the public key will expire. An RFC3339 formatted datetime string.
- TimeLast stringSync Received 
- The time when the last heartbeat of the Agent was noted. An RFC3339 formatted datetime string.
- TimeUpdated string
- The time when the Agent was updated. An RFC3339 formatted datetime string.
- AgentPub stringKey 
- Resource principal public key.
- HeartBeat stringStatus 
- The current heartbeat status of the Agent based on its timeLastSyncReceived 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, it can be used to provide actionable information for a resource in Failed state.
- PluginLists []AgentPlugin List 
- List of plugins associated with the agent.
- State string
- The current state of the Agent.
- 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 Agent was created. An RFC3339 formatted datetime string.
- TimeExpire stringAgent Key In Ms 
- The time since epoch for when the public key will expire. An RFC3339 formatted datetime string.
- TimeLast stringSync Received 
- The time when the last heartbeat of the Agent was noted. An RFC3339 formatted datetime string.
- TimeUpdated string
- The time when the Agent was updated. An RFC3339 formatted datetime string.
- agentPub StringKey 
- Resource principal public key.
- heartBeat StringStatus 
- The current heartbeat status of the Agent based on its timeLastSyncReceived 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, it can be used to provide actionable information for a resource in Failed state.
- pluginLists List<AgentPlugin List> 
- List of plugins associated with the agent.
- state String
- The current state of the Agent.
- 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 Agent was created. An RFC3339 formatted datetime string.
- timeExpire StringAgent Key In Ms 
- The time since epoch for when the public key will expire. An RFC3339 formatted datetime string.
- timeLast StringSync Received 
- The time when the last heartbeat of the Agent was noted. An RFC3339 formatted datetime string.
- timeUpdated String
- The time when the Agent was updated. An RFC3339 formatted datetime string.
- agentPub stringKey 
- Resource principal public key.
- heartBeat stringStatus 
- The current heartbeat status of the Agent based on its timeLastSyncReceived 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, it can be used to provide actionable information for a resource in Failed state.
- pluginLists AgentPlugin List[] 
- List of plugins associated with the agent.
- state string
- The current state of the Agent.
- {[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 Agent was created. An RFC3339 formatted datetime string.
- timeExpire stringAgent Key In Ms 
- The time since epoch for when the public key will expire. An RFC3339 formatted datetime string.
- timeLast stringSync Received 
- The time when the last heartbeat of the Agent was noted. An RFC3339 formatted datetime string.
- timeUpdated string
- The time when the Agent was updated. An RFC3339 formatted datetime string.
- agent_pub_ strkey 
- Resource principal public key.
- heart_beat_ strstatus 
- The current heartbeat status of the Agent based on its timeLastSyncReceived 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, it can be used to provide actionable information for a resource in Failed state.
- plugin_lists Sequence[AgentPlugin List] 
- List of plugins associated with the agent.
- state str
- The current state of the Agent.
- 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 Agent was created. An RFC3339 formatted datetime string.
- time_expire_ stragent_ key_ in_ ms 
- The time since epoch for when the public key will expire. An RFC3339 formatted datetime string.
- time_last_ strsync_ received 
- The time when the last heartbeat of the Agent was noted. An RFC3339 formatted datetime string.
- time_updated str
- The time when the Agent was updated. An RFC3339 formatted datetime string.
- agentPub StringKey 
- Resource principal public key.
- heartBeat StringStatus 
- The current heartbeat status of the Agent based on its timeLastSyncReceived 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, it can be used to provide actionable information for a resource in Failed state.
- pluginLists List<Property Map>
- List of plugins associated with the agent.
- state String
- The current state of the Agent.
- 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 Agent was created. An RFC3339 formatted datetime string.
- timeExpire StringAgent Key In Ms 
- The time since epoch for when the public key will expire. An RFC3339 formatted datetime string.
- timeLast StringSync Received 
- The time when the last heartbeat of the Agent was noted. An RFC3339 formatted datetime string.
- timeUpdated String
- The time when the Agent was updated. An RFC3339 formatted datetime string.
Look up Existing Agent Resource
Get an existing Agent resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: AgentState, opts?: CustomResourceOptions): Agent@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        agent_pub_key: Optional[str] = None,
        agent_type: Optional[str] = None,
        agent_version: Optional[str] = None,
        compartment_id: Optional[str] = None,
        defined_tags: Optional[Mapping[str, str]] = None,
        display_name: Optional[str] = None,
        environment_id: Optional[str] = None,
        freeform_tags: Optional[Mapping[str, str]] = None,
        heart_beat_status: Optional[str] = None,
        lifecycle_details: Optional[str] = None,
        os_version: Optional[str] = None,
        plugin_lists: Optional[Sequence[AgentPluginListArgs]] = None,
        state: Optional[str] = None,
        system_tags: Optional[Mapping[str, str]] = None,
        time_created: Optional[str] = None,
        time_expire_agent_key_in_ms: Optional[str] = None,
        time_last_sync_received: Optional[str] = None,
        time_updated: Optional[str] = None) -> Agentfunc GetAgent(ctx *Context, name string, id IDInput, state *AgentState, opts ...ResourceOption) (*Agent, error)public static Agent Get(string name, Input<string> id, AgentState? state, CustomResourceOptions? opts = null)public static Agent get(String name, Output<String> id, AgentState state, CustomResourceOptions options)resources:  _:    type: oci:CloudBridge:Agent    get:      id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- AgentPub stringKey 
- Resource principal public key.
- AgentType string
- Agent identifier.
- AgentVersion string
- Agent identifier.
- CompartmentId string
- (Updatable) Compartment identifier.
- Dictionary<string, string>
- (Updatable) 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"}
- DisplayName string
- (Updatable) Agent identifier.
- EnvironmentId string
- Environment identifier.
- Dictionary<string, string>
- (Updatable) 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"}
- HeartBeat stringStatus 
- The current heartbeat status of the Agent based on its timeLastSyncReceived value.
- 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.
- OsVersion string
- OS version. - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- PluginLists List<AgentPlugin List> 
- List of plugins associated with the agent.
- State string
- The current state of the Agent.
- 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 Agent was created. An RFC3339 formatted datetime string.
- TimeExpire stringAgent Key In Ms 
- The time since epoch for when the public key will expire. An RFC3339 formatted datetime string.
- TimeLast stringSync Received 
- The time when the last heartbeat of the Agent was noted. An RFC3339 formatted datetime string.
- TimeUpdated string
- The time when the Agent was updated. An RFC3339 formatted datetime string.
- AgentPub stringKey 
- Resource principal public key.
- AgentType string
- Agent identifier.
- AgentVersion string
- Agent identifier.
- CompartmentId string
- (Updatable) Compartment identifier.
- map[string]string
- (Updatable) 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"}
- DisplayName string
- (Updatable) Agent identifier.
- EnvironmentId string
- Environment identifier.
- map[string]string
- (Updatable) 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"}
- HeartBeat stringStatus 
- The current heartbeat status of the Agent based on its timeLastSyncReceived value.
- 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.
- OsVersion string
- OS version. - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- PluginLists []AgentPlugin List Args 
- List of plugins associated with the agent.
- State string
- The current state of the Agent.
- 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 Agent was created. An RFC3339 formatted datetime string.
- TimeExpire stringAgent Key In Ms 
- The time since epoch for when the public key will expire. An RFC3339 formatted datetime string.
- TimeLast stringSync Received 
- The time when the last heartbeat of the Agent was noted. An RFC3339 formatted datetime string.
- TimeUpdated string
- The time when the Agent was updated. An RFC3339 formatted datetime string.
- agentPub StringKey 
- Resource principal public key.
- agentType String
- Agent identifier.
- agentVersion String
- Agent identifier.
- compartmentId String
- (Updatable) Compartment identifier.
- Map<String,String>
- (Updatable) 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"}
- displayName String
- (Updatable) Agent identifier.
- environmentId String
- Environment identifier.
- Map<String,String>
- (Updatable) 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"}
- heartBeat StringStatus 
- The current heartbeat status of the Agent based on its timeLastSyncReceived value.
- 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.
- osVersion String
- OS version. - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- pluginLists List<AgentPlugin List> 
- List of plugins associated with the agent.
- state String
- The current state of the Agent.
- 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 Agent was created. An RFC3339 formatted datetime string.
- timeExpire StringAgent Key In Ms 
- The time since epoch for when the public key will expire. An RFC3339 formatted datetime string.
- timeLast StringSync Received 
- The time when the last heartbeat of the Agent was noted. An RFC3339 formatted datetime string.
- timeUpdated String
- The time when the Agent was updated. An RFC3339 formatted datetime string.
- agentPub stringKey 
- Resource principal public key.
- agentType string
- Agent identifier.
- agentVersion string
- Agent identifier.
- compartmentId string
- (Updatable) Compartment identifier.
- {[key: string]: string}
- (Updatable) 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"}
- displayName string
- (Updatable) Agent identifier.
- environmentId string
- Environment identifier.
- {[key: string]: string}
- (Updatable) 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"}
- heartBeat stringStatus 
- The current heartbeat status of the Agent based on its timeLastSyncReceived value.
- 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.
- osVersion string
- OS version. - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- pluginLists AgentPlugin List[] 
- List of plugins associated with the agent.
- state string
- The current state of the Agent.
- {[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 Agent was created. An RFC3339 formatted datetime string.
- timeExpire stringAgent Key In Ms 
- The time since epoch for when the public key will expire. An RFC3339 formatted datetime string.
- timeLast stringSync Received 
- The time when the last heartbeat of the Agent was noted. An RFC3339 formatted datetime string.
- timeUpdated string
- The time when the Agent was updated. An RFC3339 formatted datetime string.
- agent_pub_ strkey 
- Resource principal public key.
- agent_type str
- Agent identifier.
- agent_version str
- Agent identifier.
- compartment_id str
- (Updatable) Compartment identifier.
- Mapping[str, str]
- (Updatable) 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"}
- display_name str
- (Updatable) Agent identifier.
- environment_id str
- Environment identifier.
- Mapping[str, str]
- (Updatable) 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"}
- heart_beat_ strstatus 
- The current heartbeat status of the Agent based on its timeLastSyncReceived value.
- 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.
- os_version str
- OS version. - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- plugin_lists Sequence[AgentPlugin List Args] 
- List of plugins associated with the agent.
- state str
- The current state of the Agent.
- 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 Agent was created. An RFC3339 formatted datetime string.
- time_expire_ stragent_ key_ in_ ms 
- The time since epoch for when the public key will expire. An RFC3339 formatted datetime string.
- time_last_ strsync_ received 
- The time when the last heartbeat of the Agent was noted. An RFC3339 formatted datetime string.
- time_updated str
- The time when the Agent was updated. An RFC3339 formatted datetime string.
- agentPub StringKey 
- Resource principal public key.
- agentType String
- Agent identifier.
- agentVersion String
- Agent identifier.
- compartmentId String
- (Updatable) Compartment identifier.
- Map<String>
- (Updatable) 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"}
- displayName String
- (Updatable) Agent identifier.
- environmentId String
- Environment identifier.
- Map<String>
- (Updatable) 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"}
- heartBeat StringStatus 
- The current heartbeat status of the Agent based on its timeLastSyncReceived value.
- 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.
- osVersion String
- OS version. - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- pluginLists List<Property Map>
- List of plugins associated with the agent.
- state String
- The current state of the Agent.
- 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 Agent was created. An RFC3339 formatted datetime string.
- timeExpire StringAgent Key In Ms 
- The time since epoch for when the public key will expire. An RFC3339 formatted datetime string.
- timeLast StringSync Received 
- The time when the last heartbeat of the Agent was noted. An RFC3339 formatted datetime string.
- timeUpdated String
- The time when the Agent was updated. An RFC3339 formatted datetime string.
Supporting Types
AgentPluginList, AgentPluginListArgs      
- AgentId string
- Agent identifier.
- Dictionary<string, string>
- (Updatable) 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"}
- Dictionary<string, string>
- (Updatable) 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"}
- 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.
- Name string
- Plugin identifier, which can be renamed.
- PluginVersion string
- Plugin version.
- State string
- The current state of the Agent.
- TimeCreated string
- The time when the Agent was created. An RFC3339 formatted datetime string.
- TimeUpdated string
- The time when the Agent was updated. An RFC3339 formatted datetime string.
- AgentId string
- Agent identifier.
- map[string]string
- (Updatable) 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"}
- map[string]string
- (Updatable) 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"}
- 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.
- Name string
- Plugin identifier, which can be renamed.
- PluginVersion string
- Plugin version.
- State string
- The current state of the Agent.
- TimeCreated string
- The time when the Agent was created. An RFC3339 formatted datetime string.
- TimeUpdated string
- The time when the Agent was updated. An RFC3339 formatted datetime string.
- agentId String
- Agent identifier.
- Map<String,String>
- (Updatable) 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"}
- Map<String,String>
- (Updatable) 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"}
- 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.
- name String
- Plugin identifier, which can be renamed.
- pluginVersion String
- Plugin version.
- state String
- The current state of the Agent.
- timeCreated String
- The time when the Agent was created. An RFC3339 formatted datetime string.
- timeUpdated String
- The time when the Agent was updated. An RFC3339 formatted datetime string.
- agentId string
- Agent identifier.
- {[key: string]: string}
- (Updatable) 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"}
- {[key: string]: string}
- (Updatable) 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"}
- 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.
- name string
- Plugin identifier, which can be renamed.
- pluginVersion string
- Plugin version.
- state string
- The current state of the Agent.
- timeCreated string
- The time when the Agent was created. An RFC3339 formatted datetime string.
- timeUpdated string
- The time when the Agent was updated. An RFC3339 formatted datetime string.
- agent_id str
- Agent identifier.
- Mapping[str, str]
- (Updatable) 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"}
- Mapping[str, str]
- (Updatable) 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"}
- 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.
- name str
- Plugin identifier, which can be renamed.
- plugin_version str
- Plugin version.
- state str
- The current state of the Agent.
- time_created str
- The time when the Agent was created. An RFC3339 formatted datetime string.
- time_updated str
- The time when the Agent was updated. An RFC3339 formatted datetime string.
- agentId String
- Agent identifier.
- Map<String>
- (Updatable) 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"}
- Map<String>
- (Updatable) 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"}
- 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.
- name String
- Plugin identifier, which can be renamed.
- pluginVersion String
- Plugin version.
- state String
- The current state of the Agent.
- timeCreated String
- The time when the Agent was created. An RFC3339 formatted datetime string.
- timeUpdated String
- The time when the Agent was updated. An RFC3339 formatted datetime string.
Import
Agents can be imported using the id, e.g.
$ pulumi import oci:CloudBridge/agent:Agent test_agent "id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.