Show / Hide Table of Contents

Class CreateAgentDetails

Information about the new Agent.

Inheritance
object
CreateAgentDetails
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.CloudbridgeService.Models
Assembly: OCI.DotNetSDK.Cloudbridge.dll
Syntax
public class CreateAgentDetails

Properties

AgentType

Declaration
[Required(ErrorMessage = "AgentType is required.")]
[JsonProperty(PropertyName = "agentType")]
[JsonConverter(typeof(StringEnumConverter))]
public Agent.AgentTypeEnum? AgentType { get; set; }
Property Value
Type Description
Agent.AgentTypeEnum?

Agent identifier.

Remarks

Required

AgentVersion

Declaration
[Required(ErrorMessage = "AgentVersion is required.")]
[JsonProperty(PropertyName = "agentVersion")]
public string AgentVersion { get; set; }
Property Value
Type Description
string

Agent identifier.

Remarks

Required

CompartmentId

Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type Description
string

Compartment identifier.

Remarks

Required

DefinedTags

Declaration
[JsonProperty(PropertyName = "definedTags")]
public Dictionary<string, Dictionary<string, object>> DefinedTags { get; set; }
Property Value
Type Description
Dictionary<string, Dictionary<string, object>>

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

Declaration
[Required(ErrorMessage = "DisplayName is required.")]
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type Description
string

Agent identifier.

Remarks

Required

EnvironmentId

Declaration
[Required(ErrorMessage = "EnvironmentId is required.")]
[JsonProperty(PropertyName = "environmentId")]
public string EnvironmentId { get; set; }
Property Value
Type Description
string

Environment identifier.

Remarks

Required

FreeformTags

Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
Type Description
Dictionary<string, string>

The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no predefined name, type, or namespace/scope. For more information, see Resource Tags. Example: {"Department": "Finance"}

OsVersion

Declaration
[Required(ErrorMessage = "OsVersion is required.")]
[JsonProperty(PropertyName = "osVersion")]
public string OsVersion { get; set; }
Property Value
Type Description
string

OS version.

Remarks

Required

In this article
Back to top