Class CreateFleetDetails
The information about new Fleet.
Inherited Members
Namespace: Oci.FleetappsmanagementService.Models
Assembly: OCI.DotNetSDK.Fleetappsmanagement.dll
Syntax
public class CreateFleetDetails
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
[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"}} |
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.
|
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
[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"} |
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. |
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. |
ResourceSelection
Declaration
[Required(ErrorMessage = "ResourceSelection is required.")]
[JsonProperty(PropertyName = "resourceSelection")]
public ResourceSelection ResourceSelection { get; set; }
Property Value
Type | Description |
---|---|
ResourceSelection |
Remarks
Required
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. |