Show / Hide Table of Contents

Class FleetTarget

A confirmed target within a fleet.

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

Properties

CompartmentId

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

compartment OCID

ComplianceState

Declaration
[JsonProperty(PropertyName = "complianceState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public ComplianceState? ComplianceState { get; set; }
Property Value
Type Description
ComplianceState?

The last known compliance state of the target.

DisplayName

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

A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
Example: My new resource

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 resource.

Remarks

Required

IsLastDiscoveryAttemptSuccessful

Declaration
[JsonProperty(PropertyName = "isLastDiscoveryAttemptSuccessful")]
public bool? IsLastDiscoveryAttemptSuccessful { get; set; }
Property Value
Type Description
bool?

A boolean flag that represents whether the last discovery attempt was successful.

LifecycleState

Declaration
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public FleetTarget.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type Description
FleetTarget.LifecycleStateEnum?

The current state of the FleetTarget.

Product

Declaration
[JsonProperty(PropertyName = "product")]
public string Product { get; set; }
Property Value
Type Description
string

Product to which the target belongs to.

Resource

Declaration
[JsonProperty(PropertyName = "resource")]
public TargetResource Resource { get; set; }
Property Value
Type Description
TargetResource

SystemTags

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

System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud": {"free-tier-retained": "true"}}

TimeCreated

Declaration
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type Description
DateTime?

The time this resource was created. An RFC3339 formatted datetime string.

TimeOfLastDiscoveryAttempt

Declaration
[JsonProperty(PropertyName = "timeOfLastDiscoveryAttempt")]
public DateTime? TimeOfLastDiscoveryAttempt { get; set; }
Property Value
Type Description
DateTime?

The time when last discovery was attempted.

TimeOfLastSuccessfulDiscovery

Declaration
[JsonProperty(PropertyName = "timeOfLastSuccessfulDiscovery")]
public DateTime? TimeOfLastSuccessfulDiscovery { get; set; }
Property Value
Type Description
DateTime?

The time when the last successful discovery was made.

Version

Declaration
[JsonProperty(PropertyName = "version")]
public string Version { get; set; }
Property Value
Type Description
string

Current version of target.

In this article
Back to top