Show / Hide Table of Contents

Class Fleet

A fleet is a collection or grouping of resources based on criteria.

Inheritance
object
Fleet
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 Fleet

Properties

CompartmentId

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

Compartment OCID

Remarks

Required

Credentials

Declaration
[JsonProperty(PropertyName = "credentials")]
public List<AssociatedFleetCredentialDetails> Credentials { get; set; }
Property Value
Type Description
List<AssociatedFleetCredentialDetails>

Credentials associated with the Fleet.

DefinedTags

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

Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace": {"bar-key": "value"}}

Remarks

Required

Description

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

A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.

Details

Declaration
[JsonProperty(PropertyName = "details")]
public FleetDetails Details { get; set; }
Property Value
Type Description
FleetDetails

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

EnvironmentType

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

Environment Type associated with the Fleet. Applicable for ENVIRONMENT fleet types.

FreeformTags

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

Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

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

IsTargetAutoConfirm

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

A value that represents if auto-confirming of the targets can be enabled. This will allow targets to be auto-confirmed in the fleet without manual intervention.

LifecycleDetails

Declaration
[JsonProperty(PropertyName = "lifecycleDetails")]
public string LifecycleDetails { get; set; }
Property Value
Type Description
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.

LifecycleState

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

The lifecycle state of the Fleet.

Remarks

Required

NotificationPreferences

Declaration
[JsonProperty(PropertyName = "notificationPreferences")]
public List<NotificationPreference> NotificationPreferences { get; set; }
Property Value
Type Description
List<NotificationPreference>

Notification Preferences associated with the Fleet.

ParentFleetId

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

The OCID of the fleet that would be the parent for this fleet.

Products

Declaration
[JsonProperty(PropertyName = "products")]
public List<string> Products { get; set; }
Property Value
Type Description
List<string>

Products associated with the Fleet.

Properties

Declaration
[JsonProperty(PropertyName = "properties")]
public List<AssociatedFleetPropertyDetails> Properties { get; set; }
Property Value
Type Description
List<AssociatedFleetPropertyDetails>

Properties associated with the Fleet.

ResourceRegion

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

Associated region

ResourceSelection

Declaration
[JsonProperty(PropertyName = "resourceSelection")]
public ResourceSelection ResourceSelection { get; set; }
Property Value
Type Description
ResourceSelection

Resources

Declaration
[JsonProperty(PropertyName = "resources")]
public List<AssociatedFleetResourceDetails> Resources { get; set; }
Property Value
Type Description
List<AssociatedFleetResourceDetails>

Resources associated with the Fleet if resourceSelectionType is MANUAL.

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
[Required(ErrorMessage = "TimeCreated is required.")]
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type Description
DateTime?

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

Remarks

Required

TimeUpdated

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

The time this resource was last updated. An RFC3339 formatted datetime string.

In this article
Back to top