Class HostDetails
Partial information about a host which includes id, name, type.
Inherited Members
Namespace: Oci.OpsiService.Models
Assembly: OCI.DotNetSDK.Opsi.dll
Syntax
public class HostDetails
Properties
AgentIdentifier
Declaration
[Required(ErrorMessage = "AgentIdentifier is required.")]
[JsonProperty(PropertyName = "agentIdentifier")]
public string AgentIdentifier { get; set; }
Property Value
Type | Description |
---|---|
string | The identifier of the agent. |
Remarks
Required
CompartmentId
Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the compartment. |
Remarks
Required
HostDisplayName
Declaration
[JsonProperty(PropertyName = "hostDisplayName")]
public string HostDisplayName { get; set; }
Property Value
Type | Description |
---|---|
string | The user-friendly name for the host. The name does not have to be unique. |
HostName
Declaration
[Required(ErrorMessage = "HostName is required.")]
[JsonProperty(PropertyName = "hostName")]
public string HostName { get; set; }
Property Value
Type | Description |
---|---|
string | The host name. The host name is unique amongst the hosts managed by the same management agent. |
Remarks
Required
Id
Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the host. |
Remarks
Required
PlatformType
Declaration
[Required(ErrorMessage = "PlatformType is required.")]
[JsonProperty(PropertyName = "platformType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public HostDetails.PlatformTypeEnum? PlatformType { get; set; }
Property Value
Type | Description |
---|---|
HostDetails.PlatformTypeEnum? | 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, HP-UX]. |
Remarks
Required