oci.Opsi.HostInsight
Explore with Pulumi AI
This resource provides the Host Insight resource in Oracle Cloud Infrastructure Opsi service.
Create a Host Insight resource for a host in Ops Insights. The host will be enabled in Ops Insights. Host metric collection and analysis will be started.
Create HostInsight Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new HostInsight(name: string, args: HostInsightArgs, opts?: CustomResourceOptions);
@overload
def HostInsight(resource_name: str,
args: HostInsightArgs,
opts: Optional[ResourceOptions] = None)
@overload
def HostInsight(resource_name: str,
opts: Optional[ResourceOptions] = None,
compartment_id: Optional[str] = None,
entity_source: Optional[str] = None,
compute_id: Optional[str] = None,
defined_tags: Optional[Mapping[str, str]] = None,
enterprise_manager_bridge_id: Optional[str] = None,
enterprise_manager_entity_identifier: Optional[str] = None,
enterprise_manager_identifier: Optional[str] = None,
exadata_insight_id: Optional[str] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
management_agent_id: Optional[str] = None,
status: Optional[str] = None)
func NewHostInsight(ctx *Context, name string, args HostInsightArgs, opts ...ResourceOption) (*HostInsight, error)
public HostInsight(string name, HostInsightArgs args, CustomResourceOptions? opts = null)
public HostInsight(String name, HostInsightArgs args)
public HostInsight(String name, HostInsightArgs args, CustomResourceOptions options)
type: oci:Opsi:HostInsight
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 HostInsightArgs
- 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 HostInsightArgs
- 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 HostInsightArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args HostInsightArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args HostInsightArgs
- 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 hostInsightResource = new Oci.Opsi.HostInsight("hostInsightResource", new()
{
CompartmentId = "string",
EntitySource = "string",
ComputeId = "string",
DefinedTags =
{
{ "string", "string" },
},
EnterpriseManagerBridgeId = "string",
EnterpriseManagerEntityIdentifier = "string",
EnterpriseManagerIdentifier = "string",
ExadataInsightId = "string",
FreeformTags =
{
{ "string", "string" },
},
ManagementAgentId = "string",
Status = "string",
});
example, err := Opsi.NewHostInsight(ctx, "hostInsightResource", &Opsi.HostInsightArgs{
CompartmentId: pulumi.String("string"),
EntitySource: pulumi.String("string"),
ComputeId: pulumi.String("string"),
DefinedTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
EnterpriseManagerBridgeId: pulumi.String("string"),
EnterpriseManagerEntityIdentifier: pulumi.String("string"),
EnterpriseManagerIdentifier: pulumi.String("string"),
ExadataInsightId: pulumi.String("string"),
FreeformTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
ManagementAgentId: pulumi.String("string"),
Status: pulumi.String("string"),
})
var hostInsightResource = new HostInsight("hostInsightResource", HostInsightArgs.builder()
.compartmentId("string")
.entitySource("string")
.computeId("string")
.definedTags(Map.of("string", "string"))
.enterpriseManagerBridgeId("string")
.enterpriseManagerEntityIdentifier("string")
.enterpriseManagerIdentifier("string")
.exadataInsightId("string")
.freeformTags(Map.of("string", "string"))
.managementAgentId("string")
.status("string")
.build());
host_insight_resource = oci.opsi.HostInsight("hostInsightResource",
compartment_id="string",
entity_source="string",
compute_id="string",
defined_tags={
"string": "string",
},
enterprise_manager_bridge_id="string",
enterprise_manager_entity_identifier="string",
enterprise_manager_identifier="string",
exadata_insight_id="string",
freeform_tags={
"string": "string",
},
management_agent_id="string",
status="string")
const hostInsightResource = new oci.opsi.HostInsight("hostInsightResource", {
compartmentId: "string",
entitySource: "string",
computeId: "string",
definedTags: {
string: "string",
},
enterpriseManagerBridgeId: "string",
enterpriseManagerEntityIdentifier: "string",
enterpriseManagerIdentifier: "string",
exadataInsightId: "string",
freeformTags: {
string: "string",
},
managementAgentId: "string",
status: "string",
});
type: oci:Opsi:HostInsight
properties:
compartmentId: string
computeId: string
definedTags:
string: string
enterpriseManagerBridgeId: string
enterpriseManagerEntityIdentifier: string
enterpriseManagerIdentifier: string
entitySource: string
exadataInsightId: string
freeformTags:
string: string
managementAgentId: string
status: string
HostInsight 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 HostInsight resource accepts the following input properties:
- Compartment
Id string - (Updatable) Compartment Identifier of host
- Entity
Source string - (Updatable) Source of the host entity.
- Compute
Id string - The OCID of the Compute Instance
- Dictionary<string, string>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Enterprise
Manager stringBridge Id - OPSI Enterprise Manager Bridge OCID
- Enterprise
Manager stringEntity Identifier - Enterprise Manager Entity Unique Identifier
- Enterprise
Manager stringIdentifier - Enterprise Manager Unique Identifier
- Exadata
Insight stringId - The OCID of the Exadata insight.
- Dictionary<string, string>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Management
Agent stringId The OCID of the Management Agent
** 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. The resource destruction here is basically a soft delete. User cannot create resource using the same Management agent OCID. If resource is in enabled state during destruction, the resource will be disabled automatically before performing delete operation.
- Status string
- (Updatable) Status of the resource. Example: "ENABLED", "DISABLED". Resource can be either enabled or disabled by updating the value of status field to either "ENABLED" or "DISABLED"
- Compartment
Id string - (Updatable) Compartment Identifier of host
- Entity
Source string - (Updatable) Source of the host entity.
- Compute
Id string - The OCID of the Compute Instance
- map[string]string
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Enterprise
Manager stringBridge Id - OPSI Enterprise Manager Bridge OCID
- Enterprise
Manager stringEntity Identifier - Enterprise Manager Entity Unique Identifier
- Enterprise
Manager stringIdentifier - Enterprise Manager Unique Identifier
- Exadata
Insight stringId - The OCID of the Exadata insight.
- map[string]string
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Management
Agent stringId The OCID of the Management Agent
** 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. The resource destruction here is basically a soft delete. User cannot create resource using the same Management agent OCID. If resource is in enabled state during destruction, the resource will be disabled automatically before performing delete operation.
- Status string
- (Updatable) Status of the resource. Example: "ENABLED", "DISABLED". Resource can be either enabled or disabled by updating the value of status field to either "ENABLED" or "DISABLED"
- compartment
Id String - (Updatable) Compartment Identifier of host
- entity
Source String - (Updatable) Source of the host entity.
- compute
Id String - The OCID of the Compute Instance
- Map<String,String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- enterprise
Manager StringBridge Id - OPSI Enterprise Manager Bridge OCID
- enterprise
Manager StringEntity Identifier - Enterprise Manager Entity Unique Identifier
- enterprise
Manager StringIdentifier - Enterprise Manager Unique Identifier
- exadata
Insight StringId - The OCID of the Exadata insight.
- Map<String,String>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- management
Agent StringId The OCID of the Management Agent
** 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. The resource destruction here is basically a soft delete. User cannot create resource using the same Management agent OCID. If resource is in enabled state during destruction, the resource will be disabled automatically before performing delete operation.
- status String
- (Updatable) Status of the resource. Example: "ENABLED", "DISABLED". Resource can be either enabled or disabled by updating the value of status field to either "ENABLED" or "DISABLED"
- compartment
Id string - (Updatable) Compartment Identifier of host
- entity
Source string - (Updatable) Source of the host entity.
- compute
Id string - The OCID of the Compute Instance
- {[key: string]: string}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- enterprise
Manager stringBridge Id - OPSI Enterprise Manager Bridge OCID
- enterprise
Manager stringEntity Identifier - Enterprise Manager Entity Unique Identifier
- enterprise
Manager stringIdentifier - Enterprise Manager Unique Identifier
- exadata
Insight stringId - The OCID of the Exadata insight.
- {[key: string]: string}
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- management
Agent stringId The OCID of the Management Agent
** 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. The resource destruction here is basically a soft delete. User cannot create resource using the same Management agent OCID. If resource is in enabled state during destruction, the resource will be disabled automatically before performing delete operation.
- status string
- (Updatable) Status of the resource. Example: "ENABLED", "DISABLED". Resource can be either enabled or disabled by updating the value of status field to either "ENABLED" or "DISABLED"
- compartment_
id str - (Updatable) Compartment Identifier of host
- entity_
source str - (Updatable) Source of the host entity.
- compute_
id str - The OCID of the Compute Instance
- Mapping[str, str]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- enterprise_
manager_ strbridge_ id - OPSI Enterprise Manager Bridge OCID
- enterprise_
manager_ strentity_ identifier - Enterprise Manager Entity Unique Identifier
- enterprise_
manager_ stridentifier - Enterprise Manager Unique Identifier
- exadata_
insight_ strid - The OCID of the Exadata insight.
- Mapping[str, str]
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- management_
agent_ strid The OCID of the Management Agent
** 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. The resource destruction here is basically a soft delete. User cannot create resource using the same Management agent OCID. If resource is in enabled state during destruction, the resource will be disabled automatically before performing delete operation.
- status str
- (Updatable) Status of the resource. Example: "ENABLED", "DISABLED". Resource can be either enabled or disabled by updating the value of status field to either "ENABLED" or "DISABLED"
- compartment
Id String - (Updatable) Compartment Identifier of host
- entity
Source String - (Updatable) Source of the host entity.
- compute
Id String - The OCID of the Compute Instance
- Map<String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- enterprise
Manager StringBridge Id - OPSI Enterprise Manager Bridge OCID
- enterprise
Manager StringEntity Identifier - Enterprise Manager Entity Unique Identifier
- enterprise
Manager StringIdentifier - Enterprise Manager Unique Identifier
- exadata
Insight StringId - The OCID of the Exadata insight.
- Map<String>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- management
Agent StringId The OCID of the Management Agent
** 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. The resource destruction here is basically a soft delete. User cannot create resource using the same Management agent OCID. If resource is in enabled state during destruction, the resource will be disabled automatically before performing delete operation.
- status String
- (Updatable) Status of the resource. Example: "ENABLED", "DISABLED". Resource can be either enabled or disabled by updating the value of status field to either "ENABLED" or "DISABLED"
Outputs
All input properties are implicitly available as output properties. Additionally, the HostInsight resource produces the following output properties:
- Enterprise
Manager stringEntity Display Name - Enterprise Manager Entity Display Name
- Enterprise
Manager stringEntity Name - Enterprise Manager Entity Name
- Enterprise
Manager stringEntity Type - Enterprise Manager Entity Type
- Host
Display stringName - The user-friendly name for the host. The name does not have to be unique.
- Host
Name string - The host name. The host name is unique amongst the hosts managed by the same management agent.
- Host
Type string - Ops Insights internal representation of the host type. Possible value is EXTERNAL-HOST.
- 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, can be used to provide actionable information for a resource in Failed state.
- Platform
Name string - Platform name.
- Platform
Type string - Platform type. Supported platformType(s) for MACS-managed external host insight: [LINUX, SOLARIS, WINDOWS]. Supported platformType(s) for MACS-managed cloud host insight: [LINUX]. Supported platformType(s) for EM-managed external host insight: [LINUX, SOLARIS, SUNOS, ZLINUX, WINDOWS, AIX].
- Platform
Version string - Platform version.
- Processor
Count int - State string
- The current state of the host.
- Dictionary<string, string>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The time the the host insight was first enabled. An RFC3339 formatted datetime string
- Time
Updated string - The time the host insight was updated. An RFC3339 formatted datetime string
- Enterprise
Manager stringEntity Display Name - Enterprise Manager Entity Display Name
- Enterprise
Manager stringEntity Name - Enterprise Manager Entity Name
- Enterprise
Manager stringEntity Type - Enterprise Manager Entity Type
- Host
Display stringName - The user-friendly name for the host. The name does not have to be unique.
- Host
Name string - The host name. The host name is unique amongst the hosts managed by the same management agent.
- Host
Type string - Ops Insights internal representation of the host type. Possible value is EXTERNAL-HOST.
- 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, can be used to provide actionable information for a resource in Failed state.
- Platform
Name string - Platform name.
- Platform
Type string - Platform type. Supported platformType(s) for MACS-managed external host insight: [LINUX, SOLARIS, WINDOWS]. Supported platformType(s) for MACS-managed cloud host insight: [LINUX]. Supported platformType(s) for EM-managed external host insight: [LINUX, SOLARIS, SUNOS, ZLINUX, WINDOWS, AIX].
- Platform
Version string - Platform version.
- Processor
Count int - State string
- The current state of the host.
- map[string]string
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The time the the host insight was first enabled. An RFC3339 formatted datetime string
- Time
Updated string - The time the host insight was updated. An RFC3339 formatted datetime string
- enterprise
Manager StringEntity Display Name - Enterprise Manager Entity Display Name
- enterprise
Manager StringEntity Name - Enterprise Manager Entity Name
- enterprise
Manager StringEntity Type - Enterprise Manager Entity Type
- host
Display StringName - The user-friendly name for the host. The name does not have to be unique.
- host
Name String - The host name. The host name is unique amongst the hosts managed by the same management agent.
- host
Type String - Ops Insights internal representation of the host type. Possible value is EXTERNAL-HOST.
- 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, can be used to provide actionable information for a resource in Failed state.
- platform
Name String - Platform name.
- platform
Type String - Platform type. Supported platformType(s) for MACS-managed external host insight: [LINUX, SOLARIS, WINDOWS]. Supported platformType(s) for MACS-managed cloud host insight: [LINUX]. Supported platformType(s) for EM-managed external host insight: [LINUX, SOLARIS, SUNOS, ZLINUX, WINDOWS, AIX].
- platform
Version String - Platform version.
- processor
Count Integer - state String
- The current state of the host.
- Map<String,String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The time the the host insight was first enabled. An RFC3339 formatted datetime string
- time
Updated String - The time the host insight was updated. An RFC3339 formatted datetime string
- enterprise
Manager stringEntity Display Name - Enterprise Manager Entity Display Name
- enterprise
Manager stringEntity Name - Enterprise Manager Entity Name
- enterprise
Manager stringEntity Type - Enterprise Manager Entity Type
- host
Display stringName - The user-friendly name for the host. The name does not have to be unique.
- host
Name string - The host name. The host name is unique amongst the hosts managed by the same management agent.
- host
Type string - Ops Insights internal representation of the host type. Possible value is EXTERNAL-HOST.
- 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, can be used to provide actionable information for a resource in Failed state.
- platform
Name string - Platform name.
- platform
Type string - Platform type. Supported platformType(s) for MACS-managed external host insight: [LINUX, SOLARIS, WINDOWS]. Supported platformType(s) for MACS-managed cloud host insight: [LINUX]. Supported platformType(s) for EM-managed external host insight: [LINUX, SOLARIS, SUNOS, ZLINUX, WINDOWS, AIX].
- platform
Version string - Platform version.
- processor
Count number - state string
- The current state of the host.
- {[key: string]: string}
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created string - The time the the host insight was first enabled. An RFC3339 formatted datetime string
- time
Updated string - The time the host insight was updated. An RFC3339 formatted datetime string
- enterprise_
manager_ strentity_ display_ name - Enterprise Manager Entity Display Name
- enterprise_
manager_ strentity_ name - Enterprise Manager Entity Name
- enterprise_
manager_ strentity_ type - Enterprise Manager Entity Type
- host_
display_ strname - The user-friendly name for the host. The name does not have to be unique.
- host_
name str - The host name. The host name is unique amongst the hosts managed by the same management agent.
- host_
type str - Ops Insights internal representation of the host type. Possible value is EXTERNAL-HOST.
- id str
- The provider-assigned unique ID for this managed resource.
- lifecycle_
details str - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- platform_
name str - Platform name.
- platform_
type str - Platform type. Supported platformType(s) for MACS-managed external host insight: [LINUX, SOLARIS, WINDOWS]. Supported platformType(s) for MACS-managed cloud host insight: [LINUX]. Supported platformType(s) for EM-managed external host insight: [LINUX, SOLARIS, SUNOS, ZLINUX, WINDOWS, AIX].
- platform_
version str - Platform version.
- processor_
count int - state str
- The current state of the host.
- Mapping[str, str]
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time_
created str - The time the the host insight was first enabled. An RFC3339 formatted datetime string
- time_
updated str - The time the host insight was updated. An RFC3339 formatted datetime string
- enterprise
Manager StringEntity Display Name - Enterprise Manager Entity Display Name
- enterprise
Manager StringEntity Name - Enterprise Manager Entity Name
- enterprise
Manager StringEntity Type - Enterprise Manager Entity Type
- host
Display StringName - The user-friendly name for the host. The name does not have to be unique.
- host
Name String - The host name. The host name is unique amongst the hosts managed by the same management agent.
- host
Type String - Ops Insights internal representation of the host type. Possible value is EXTERNAL-HOST.
- 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, can be used to provide actionable information for a resource in Failed state.
- platform
Name String - Platform name.
- platform
Type String - Platform type. Supported platformType(s) for MACS-managed external host insight: [LINUX, SOLARIS, WINDOWS]. Supported platformType(s) for MACS-managed cloud host insight: [LINUX]. Supported platformType(s) for EM-managed external host insight: [LINUX, SOLARIS, SUNOS, ZLINUX, WINDOWS, AIX].
- platform
Version String - Platform version.
- processor
Count Number - state String
- The current state of the host.
- Map<String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The time the the host insight was first enabled. An RFC3339 formatted datetime string
- time
Updated String - The time the host insight was updated. An RFC3339 formatted datetime string
Look up Existing HostInsight Resource
Get an existing HostInsight 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?: HostInsightState, opts?: CustomResourceOptions): HostInsight
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
compartment_id: Optional[str] = None,
compute_id: Optional[str] = None,
defined_tags: Optional[Mapping[str, str]] = None,
enterprise_manager_bridge_id: Optional[str] = None,
enterprise_manager_entity_display_name: Optional[str] = None,
enterprise_manager_entity_identifier: Optional[str] = None,
enterprise_manager_entity_name: Optional[str] = None,
enterprise_manager_entity_type: Optional[str] = None,
enterprise_manager_identifier: Optional[str] = None,
entity_source: Optional[str] = None,
exadata_insight_id: Optional[str] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
host_display_name: Optional[str] = None,
host_name: Optional[str] = None,
host_type: Optional[str] = None,
lifecycle_details: Optional[str] = None,
management_agent_id: Optional[str] = None,
platform_name: Optional[str] = None,
platform_type: Optional[str] = None,
platform_version: Optional[str] = None,
processor_count: Optional[int] = None,
state: Optional[str] = None,
status: Optional[str] = None,
system_tags: Optional[Mapping[str, str]] = None,
time_created: Optional[str] = None,
time_updated: Optional[str] = None) -> HostInsight
func GetHostInsight(ctx *Context, name string, id IDInput, state *HostInsightState, opts ...ResourceOption) (*HostInsight, error)
public static HostInsight Get(string name, Input<string> id, HostInsightState? state, CustomResourceOptions? opts = null)
public static HostInsight get(String name, Output<String> id, HostInsightState 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.
- Compartment
Id string - (Updatable) Compartment Identifier of host
- Compute
Id string - The OCID of the Compute Instance
- Dictionary<string, string>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Enterprise
Manager stringBridge Id - OPSI Enterprise Manager Bridge OCID
- Enterprise
Manager stringEntity Display Name - Enterprise Manager Entity Display Name
- Enterprise
Manager stringEntity Identifier - Enterprise Manager Entity Unique Identifier
- Enterprise
Manager stringEntity Name - Enterprise Manager Entity Name
- Enterprise
Manager stringEntity Type - Enterprise Manager Entity Type
- Enterprise
Manager stringIdentifier - Enterprise Manager Unique Identifier
- Entity
Source string - (Updatable) Source of the host entity.
- Exadata
Insight stringId - The OCID of the Exadata insight.
- Dictionary<string, string>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Host
Display stringName - The user-friendly name for the host. The name does not have to be unique.
- Host
Name string - The host name. The host name is unique amongst the hosts managed by the same management agent.
- Host
Type string - Ops Insights internal representation of the host type. Possible value is EXTERNAL-HOST.
- Lifecycle
Details string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- Management
Agent stringId The OCID of the Management Agent
** 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. The resource destruction here is basically a soft delete. User cannot create resource using the same Management agent OCID. If resource is in enabled state during destruction, the resource will be disabled automatically before performing delete operation.
- Platform
Name string - Platform name.
- Platform
Type string - Platform type. Supported platformType(s) for MACS-managed external host insight: [LINUX, SOLARIS, WINDOWS]. Supported platformType(s) for MACS-managed cloud host insight: [LINUX]. Supported platformType(s) for EM-managed external host insight: [LINUX, SOLARIS, SUNOS, ZLINUX, WINDOWS, AIX].
- Platform
Version string - Platform version.
- Processor
Count int - State string
- The current state of the host.
- Status string
- (Updatable) Status of the resource. Example: "ENABLED", "DISABLED". Resource can be either enabled or disabled by updating the value of status field to either "ENABLED" or "DISABLED"
- Dictionary<string, string>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The time the the host insight was first enabled. An RFC3339 formatted datetime string
- Time
Updated string - The time the host insight was updated. An RFC3339 formatted datetime string
- Compartment
Id string - (Updatable) Compartment Identifier of host
- Compute
Id string - The OCID of the Compute Instance
- map[string]string
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Enterprise
Manager stringBridge Id - OPSI Enterprise Manager Bridge OCID
- Enterprise
Manager stringEntity Display Name - Enterprise Manager Entity Display Name
- Enterprise
Manager stringEntity Identifier - Enterprise Manager Entity Unique Identifier
- Enterprise
Manager stringEntity Name - Enterprise Manager Entity Name
- Enterprise
Manager stringEntity Type - Enterprise Manager Entity Type
- Enterprise
Manager stringIdentifier - Enterprise Manager Unique Identifier
- Entity
Source string - (Updatable) Source of the host entity.
- Exadata
Insight stringId - The OCID of the Exadata insight.
- map[string]string
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Host
Display stringName - The user-friendly name for the host. The name does not have to be unique.
- Host
Name string - The host name. The host name is unique amongst the hosts managed by the same management agent.
- Host
Type string - Ops Insights internal representation of the host type. Possible value is EXTERNAL-HOST.
- Lifecycle
Details string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- Management
Agent stringId The OCID of the Management Agent
** 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. The resource destruction here is basically a soft delete. User cannot create resource using the same Management agent OCID. If resource is in enabled state during destruction, the resource will be disabled automatically before performing delete operation.
- Platform
Name string - Platform name.
- Platform
Type string - Platform type. Supported platformType(s) for MACS-managed external host insight: [LINUX, SOLARIS, WINDOWS]. Supported platformType(s) for MACS-managed cloud host insight: [LINUX]. Supported platformType(s) for EM-managed external host insight: [LINUX, SOLARIS, SUNOS, ZLINUX, WINDOWS, AIX].
- Platform
Version string - Platform version.
- Processor
Count int - State string
- The current state of the host.
- Status string
- (Updatable) Status of the resource. Example: "ENABLED", "DISABLED". Resource can be either enabled or disabled by updating the value of status field to either "ENABLED" or "DISABLED"
- map[string]string
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The time the the host insight was first enabled. An RFC3339 formatted datetime string
- Time
Updated string - The time the host insight was updated. An RFC3339 formatted datetime string
- compartment
Id String - (Updatable) Compartment Identifier of host
- compute
Id String - The OCID of the Compute Instance
- Map<String,String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- enterprise
Manager StringBridge Id - OPSI Enterprise Manager Bridge OCID
- enterprise
Manager StringEntity Display Name - Enterprise Manager Entity Display Name
- enterprise
Manager StringEntity Identifier - Enterprise Manager Entity Unique Identifier
- enterprise
Manager StringEntity Name - Enterprise Manager Entity Name
- enterprise
Manager StringEntity Type - Enterprise Manager Entity Type
- enterprise
Manager StringIdentifier - Enterprise Manager Unique Identifier
- entity
Source String - (Updatable) Source of the host entity.
- exadata
Insight StringId - The OCID of the Exadata insight.
- Map<String,String>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- host
Display StringName - The user-friendly name for the host. The name does not have to be unique.
- host
Name String - The host name. The host name is unique amongst the hosts managed by the same management agent.
- host
Type String - Ops Insights internal representation of the host type. Possible value is EXTERNAL-HOST.
- lifecycle
Details String - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- management
Agent StringId The OCID of the Management Agent
** 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. The resource destruction here is basically a soft delete. User cannot create resource using the same Management agent OCID. If resource is in enabled state during destruction, the resource will be disabled automatically before performing delete operation.
- platform
Name String - Platform name.
- platform
Type String - Platform type. Supported platformType(s) for MACS-managed external host insight: [LINUX, SOLARIS, WINDOWS]. Supported platformType(s) for MACS-managed cloud host insight: [LINUX]. Supported platformType(s) for EM-managed external host insight: [LINUX, SOLARIS, SUNOS, ZLINUX, WINDOWS, AIX].
- platform
Version String - Platform version.
- processor
Count Integer - state String
- The current state of the host.
- status String
- (Updatable) Status of the resource. Example: "ENABLED", "DISABLED". Resource can be either enabled or disabled by updating the value of status field to either "ENABLED" or "DISABLED"
- Map<String,String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The time the the host insight was first enabled. An RFC3339 formatted datetime string
- time
Updated String - The time the host insight was updated. An RFC3339 formatted datetime string
- compartment
Id string - (Updatable) Compartment Identifier of host
- compute
Id string - The OCID of the Compute Instance
- {[key: string]: string}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- enterprise
Manager stringBridge Id - OPSI Enterprise Manager Bridge OCID
- enterprise
Manager stringEntity Display Name - Enterprise Manager Entity Display Name
- enterprise
Manager stringEntity Identifier - Enterprise Manager Entity Unique Identifier
- enterprise
Manager stringEntity Name - Enterprise Manager Entity Name
- enterprise
Manager stringEntity Type - Enterprise Manager Entity Type
- enterprise
Manager stringIdentifier - Enterprise Manager Unique Identifier
- entity
Source string - (Updatable) Source of the host entity.
- exadata
Insight stringId - The OCID of the Exadata insight.
- {[key: string]: string}
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- host
Display stringName - The user-friendly name for the host. The name does not have to be unique.
- host
Name string - The host name. The host name is unique amongst the hosts managed by the same management agent.
- host
Type string - Ops Insights internal representation of the host type. Possible value is EXTERNAL-HOST.
- lifecycle
Details string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- management
Agent stringId The OCID of the Management Agent
** 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. The resource destruction here is basically a soft delete. User cannot create resource using the same Management agent OCID. If resource is in enabled state during destruction, the resource will be disabled automatically before performing delete operation.
- platform
Name string - Platform name.
- platform
Type string - Platform type. Supported platformType(s) for MACS-managed external host insight: [LINUX, SOLARIS, WINDOWS]. Supported platformType(s) for MACS-managed cloud host insight: [LINUX]. Supported platformType(s) for EM-managed external host insight: [LINUX, SOLARIS, SUNOS, ZLINUX, WINDOWS, AIX].
- platform
Version string - Platform version.
- processor
Count number - state string
- The current state of the host.
- status string
- (Updatable) Status of the resource. Example: "ENABLED", "DISABLED". Resource can be either enabled or disabled by updating the value of status field to either "ENABLED" or "DISABLED"
- {[key: string]: string}
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created string - The time the the host insight was first enabled. An RFC3339 formatted datetime string
- time
Updated string - The time the host insight was updated. An RFC3339 formatted datetime string
- compartment_
id str - (Updatable) Compartment Identifier of host
- compute_
id str - The OCID of the Compute Instance
- Mapping[str, str]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- enterprise_
manager_ strbridge_ id - OPSI Enterprise Manager Bridge OCID
- enterprise_
manager_ strentity_ display_ name - Enterprise Manager Entity Display Name
- enterprise_
manager_ strentity_ identifier - Enterprise Manager Entity Unique Identifier
- enterprise_
manager_ strentity_ name - Enterprise Manager Entity Name
- enterprise_
manager_ strentity_ type - Enterprise Manager Entity Type
- enterprise_
manager_ stridentifier - Enterprise Manager Unique Identifier
- entity_
source str - (Updatable) Source of the host entity.
- exadata_
insight_ strid - The OCID of the Exadata insight.
- Mapping[str, str]
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- host_
display_ strname - The user-friendly name for the host. The name does not have to be unique.
- host_
name str - The host name. The host name is unique amongst the hosts managed by the same management agent.
- host_
type str - Ops Insights internal representation of the host type. Possible value is EXTERNAL-HOST.
- lifecycle_
details str - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- management_
agent_ strid The OCID of the Management Agent
** 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. The resource destruction here is basically a soft delete. User cannot create resource using the same Management agent OCID. If resource is in enabled state during destruction, the resource will be disabled automatically before performing delete operation.
- platform_
name str - Platform name.
- platform_
type str - Platform type. Supported platformType(s) for MACS-managed external host insight: [LINUX, SOLARIS, WINDOWS]. Supported platformType(s) for MACS-managed cloud host insight: [LINUX]. Supported platformType(s) for EM-managed external host insight: [LINUX, SOLARIS, SUNOS, ZLINUX, WINDOWS, AIX].
- platform_
version str - Platform version.
- processor_
count int - state str
- The current state of the host.
- status str
- (Updatable) Status of the resource. Example: "ENABLED", "DISABLED". Resource can be either enabled or disabled by updating the value of status field to either "ENABLED" or "DISABLED"
- Mapping[str, str]
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time_
created str - The time the the host insight was first enabled. An RFC3339 formatted datetime string
- time_
updated str - The time the host insight was updated. An RFC3339 formatted datetime string
- compartment
Id String - (Updatable) Compartment Identifier of host
- compute
Id String - The OCID of the Compute Instance
- Map<String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- enterprise
Manager StringBridge Id - OPSI Enterprise Manager Bridge OCID
- enterprise
Manager StringEntity Display Name - Enterprise Manager Entity Display Name
- enterprise
Manager StringEntity Identifier - Enterprise Manager Entity Unique Identifier
- enterprise
Manager StringEntity Name - Enterprise Manager Entity Name
- enterprise
Manager StringEntity Type - Enterprise Manager Entity Type
- enterprise
Manager StringIdentifier - Enterprise Manager Unique Identifier
- entity
Source String - (Updatable) Source of the host entity.
- exadata
Insight StringId - The OCID of the Exadata insight.
- Map<String>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- host
Display StringName - The user-friendly name for the host. The name does not have to be unique.
- host
Name String - The host name. The host name is unique amongst the hosts managed by the same management agent.
- host
Type String - Ops Insights internal representation of the host type. Possible value is EXTERNAL-HOST.
- lifecycle
Details String - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- management
Agent StringId The OCID of the Management Agent
** 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. The resource destruction here is basically a soft delete. User cannot create resource using the same Management agent OCID. If resource is in enabled state during destruction, the resource will be disabled automatically before performing delete operation.
- platform
Name String - Platform name.
- platform
Type String - Platform type. Supported platformType(s) for MACS-managed external host insight: [LINUX, SOLARIS, WINDOWS]. Supported platformType(s) for MACS-managed cloud host insight: [LINUX]. Supported platformType(s) for EM-managed external host insight: [LINUX, SOLARIS, SUNOS, ZLINUX, WINDOWS, AIX].
- platform
Version String - Platform version.
- processor
Count Number - state String
- The current state of the host.
- status String
- (Updatable) Status of the resource. Example: "ENABLED", "DISABLED". Resource can be either enabled or disabled by updating the value of status field to either "ENABLED" or "DISABLED"
- Map<String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The time the the host insight was first enabled. An RFC3339 formatted datetime string
- time
Updated String - The time the host insight was updated. An RFC3339 formatted datetime string
Import
HostInsights can be imported using the id
, e.g.
$ pulumi import oci:Opsi/hostInsight:HostInsight test_host_insight "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.