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:
- Agent
Type string - Agent identifier.
- Agent
Version string - Agent identifier.
- Compartment
Id string - (Updatable) Compartment identifier.
- Display
Name string - (Updatable) Agent identifier.
- Environment
Id string - Environment identifier.
- Os
Version 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"}
- Agent
Type string - Agent identifier.
- Agent
Version string - Agent identifier.
- Compartment
Id string - (Updatable) Compartment identifier.
- Display
Name string - (Updatable) Agent identifier.
- Environment
Id string - Environment identifier.
- Os
Version 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"}
- agent
Type String - Agent identifier.
- agent
Version String - Agent identifier.
- compartment
Id String - (Updatable) Compartment identifier.
- display
Name String - (Updatable) Agent identifier.
- environment
Id String - Environment identifier.
- os
Version 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"}
- agent
Type string - Agent identifier.
- agent
Version string - Agent identifier.
- compartment
Id string - (Updatable) Compartment identifier.
- display
Name string - (Updatable) Agent identifier.
- environment
Id string - Environment identifier.
- os
Version 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"}
- agent
Type String - Agent identifier.
- agent
Version String - Agent identifier.
- compartment
Id String - (Updatable) Compartment identifier.
- display
Name String - (Updatable) Agent identifier.
- environment
Id String - Environment identifier.
- os
Version 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:
- Agent
Pub stringKey - Resource principal public key.
- Heart
Beat stringStatus - The current heartbeat status of the Agent based on its timeLastSyncReceived value.
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
Details 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.
- Plugin
Lists 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}}
- Time
Created string - The time when the Agent was created. An RFC3339 formatted datetime string.
- Time
Expire stringAgent Key In Ms - The time since epoch for when the public key will expire. An RFC3339 formatted datetime string.
- Time
Last stringSync Received - The time when the last heartbeat of the Agent was noted. An RFC3339 formatted datetime string.
- Time
Updated string - The time when the Agent was updated. An RFC3339 formatted datetime string.
- Agent
Pub stringKey - Resource principal public key.
- Heart
Beat stringStatus - The current heartbeat status of the Agent based on its timeLastSyncReceived value.
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
Details 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.
- Plugin
Lists []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}}
- Time
Created string - The time when the Agent was created. An RFC3339 formatted datetime string.
- Time
Expire stringAgent Key In Ms - The time since epoch for when the public key will expire. An RFC3339 formatted datetime string.
- Time
Last stringSync Received - The time when the last heartbeat of the Agent was noted. An RFC3339 formatted datetime string.
- Time
Updated string - The time when the Agent was updated. An RFC3339 formatted datetime string.
- agent
Pub StringKey - Resource principal public key.
- heart
Beat StringStatus - The current heartbeat status of the Agent based on its timeLastSyncReceived value.
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details 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.
- plugin
Lists 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}}
- time
Created String - The time when the Agent was created. An RFC3339 formatted datetime string.
- time
Expire StringAgent Key In Ms - The time since epoch for when the public key will expire. An RFC3339 formatted datetime string.
- time
Last StringSync Received - The time when the last heartbeat of the Agent was noted. An RFC3339 formatted datetime string.
- time
Updated String - The time when the Agent was updated. An RFC3339 formatted datetime string.
- agent
Pub stringKey - Resource principal public key.
- heart
Beat stringStatus - The current heartbeat status of the Agent based on its timeLastSyncReceived value.
- id string
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details 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.
- plugin
Lists 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}}
- time
Created string - The time when the Agent was created. An RFC3339 formatted datetime string.
- time
Expire stringAgent Key In Ms - The time since epoch for when the public key will expire. An RFC3339 formatted datetime string.
- time
Last stringSync Received - The time when the last heartbeat of the Agent was noted. An RFC3339 formatted datetime string.
- time
Updated 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[cloudbridge.Agent Plugin 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.
- agent
Pub StringKey - Resource principal public key.
- heart
Beat StringStatus - The current heartbeat status of the Agent based on its timeLastSyncReceived value.
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details 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.
- plugin
Lists 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}}
- time
Created String - The time when the Agent was created. An RFC3339 formatted datetime string.
- time
Expire StringAgent Key In Ms - The time since epoch for when the public key will expire. An RFC3339 formatted datetime string.
- time
Last StringSync Received - The time when the last heartbeat of the Agent was noted. An RFC3339 formatted datetime string.
- time
Updated 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[_cloudbridge.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) -> Agent
func 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)
Resource lookup is not supported in YAML
- 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.
- Agent
Pub stringKey - Resource principal public key.
- Agent
Type string - Agent identifier.
- Agent
Version string - Agent identifier.
- Compartment
Id 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"}
- Display
Name string - (Updatable) Agent identifier.
- Environment
Id 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"}
- Heart
Beat stringStatus - The current heartbeat status of the Agent based on its timeLastSyncReceived value.
- Lifecycle
Details 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.
- Os
Version 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
- Plugin
Lists 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}}
- Time
Created string - The time when the Agent was created. An RFC3339 formatted datetime string.
- Time
Expire stringAgent Key In Ms - The time since epoch for when the public key will expire. An RFC3339 formatted datetime string.
- Time
Last stringSync Received - The time when the last heartbeat of the Agent was noted. An RFC3339 formatted datetime string.
- Time
Updated string - The time when the Agent was updated. An RFC3339 formatted datetime string.
- Agent
Pub stringKey - Resource principal public key.
- Agent
Type string - Agent identifier.
- Agent
Version string - Agent identifier.
- Compartment
Id 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"}
- Display
Name string - (Updatable) Agent identifier.
- Environment
Id 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"}
- Heart
Beat stringStatus - The current heartbeat status of the Agent based on its timeLastSyncReceived value.
- Lifecycle
Details 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.
- Os
Version 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
- Plugin
Lists []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}}
- Time
Created string - The time when the Agent was created. An RFC3339 formatted datetime string.
- Time
Expire stringAgent Key In Ms - The time since epoch for when the public key will expire. An RFC3339 formatted datetime string.
- Time
Last stringSync Received - The time when the last heartbeat of the Agent was noted. An RFC3339 formatted datetime string.
- Time
Updated string - The time when the Agent was updated. An RFC3339 formatted datetime string.
- agent
Pub StringKey - Resource principal public key.
- agent
Type String - Agent identifier.
- agent
Version String - Agent identifier.
- compartment
Id 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"}
- display
Name String - (Updatable) Agent identifier.
- environment
Id 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"}
- heart
Beat StringStatus - The current heartbeat status of the Agent based on its timeLastSyncReceived value.
- lifecycle
Details 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.
- os
Version 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
- plugin
Lists 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}}
- time
Created String - The time when the Agent was created. An RFC3339 formatted datetime string.
- time
Expire StringAgent Key In Ms - The time since epoch for when the public key will expire. An RFC3339 formatted datetime string.
- time
Last StringSync Received - The time when the last heartbeat of the Agent was noted. An RFC3339 formatted datetime string.
- time
Updated String - The time when the Agent was updated. An RFC3339 formatted datetime string.
- agent
Pub stringKey - Resource principal public key.
- agent
Type string - Agent identifier.
- agent
Version string - Agent identifier.
- compartment
Id 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"}
- display
Name string - (Updatable) Agent identifier.
- environment
Id 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"}
- heart
Beat stringStatus - The current heartbeat status of the Agent based on its timeLastSyncReceived value.
- lifecycle
Details 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.
- os
Version 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
- plugin
Lists 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}}
- time
Created string - The time when the Agent was created. An RFC3339 formatted datetime string.
- time
Expire stringAgent Key In Ms - The time since epoch for when the public key will expire. An RFC3339 formatted datetime string.
- time
Last stringSync Received - The time when the last heartbeat of the Agent was noted. An RFC3339 formatted datetime string.
- time
Updated 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[cloudbridge.Agent Plugin 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.
- agent
Pub StringKey - Resource principal public key.
- agent
Type String - Agent identifier.
- agent
Version String - Agent identifier.
- compartment
Id 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"}
- display
Name String - (Updatable) Agent identifier.
- environment
Id 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"}
- heart
Beat StringStatus - The current heartbeat status of the Agent based on its timeLastSyncReceived value.
- lifecycle
Details 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.
- os
Version 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
- plugin
Lists 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}}
- time
Created String - The time when the Agent was created. An RFC3339 formatted datetime string.
- time
Expire StringAgent Key In Ms - The time since epoch for when the public key will expire. An RFC3339 formatted datetime string.
- time
Last StringSync Received - The time when the last heartbeat of the Agent was noted. An RFC3339 formatted datetime string.
- time
Updated String - The time when the Agent was updated. An RFC3339 formatted datetime string.
Supporting Types
AgentPluginList, AgentPluginListArgs
- Agent
Id 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"}
- Lifecycle
Details 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.
- Plugin
Version string - Plugin version.
- State string
- The current state of the Agent.
- Time
Created string - The time when the Agent was created. An RFC3339 formatted datetime string.
- Time
Updated string - The time when the Agent was updated. An RFC3339 formatted datetime string.
- Agent
Id 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"}
- Lifecycle
Details 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.
- Plugin
Version string - Plugin version.
- State string
- The current state of the Agent.
- Time
Created string - The time when the Agent was created. An RFC3339 formatted datetime string.
- Time
Updated string - The time when the Agent was updated. An RFC3339 formatted datetime string.
- agent
Id 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"}
- lifecycle
Details 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.
- plugin
Version String - Plugin version.
- state String
- The current state of the Agent.
- time
Created String - The time when the Agent was created. An RFC3339 formatted datetime string.
- time
Updated String - The time when the Agent was updated. An RFC3339 formatted datetime string.
- agent
Id 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"}
- lifecycle
Details 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.
- plugin
Version string - Plugin version.
- state string
- The current state of the Agent.
- time
Created string - The time when the Agent was created. An RFC3339 formatted datetime string.
- time
Updated 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.
- agent
Id 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"}
- lifecycle
Details 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.
- plugin
Version String - Plugin version.
- state String
- The current state of the Agent.
- time
Created String - The time when the Agent was created. An RFC3339 formatted datetime string.
- time
Updated 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
oci
Terraform Provider.