Show / Hide Table of Contents

Class AutoPromoteConfigDetails

A configuration of the AUTO_PROMOTE type, consists of a resource type and a boolean value that determines if this resource needs to be automatically promoted/discovered. For example, when a Management Agent registration event occurs and if isEnabled is TRUE for a HOST resource type, a HOST resource will be automatically discovered using that Management Agent.

Inheritance
object
Config
AutoPromoteConfigDetails
Inherited Members
Config.Id
Config.CompartmentId
Config.DisplayName
Config.TimeCreated
Config.TimeUpdated
Config.LifecycleState
Config.FreeformTags
Config.DefinedTags
Config.SystemTags
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.StackmonitoringService.Models
Assembly: OCI.DotNetSDK.Stackmonitoring.dll
Syntax
public class AutoPromoteConfigDetails : Config

Properties

IsEnabled

Declaration
[Required(ErrorMessage = "IsEnabled is required.")]
[JsonProperty(PropertyName = "isEnabled")]
public bool? IsEnabled { get; set; }
Property Value
Type Description
bool?

True if automatic promotion is enabled, false if it is not enabled.

Remarks

Required

ResourceType

Declaration
[Required(ErrorMessage = "ResourceType is required.")]
[JsonProperty(PropertyName = "resourceType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public AutoPromoteConfigDetails.ResourceTypeEnum? ResourceType { get; set; }
Property Value
Type Description
AutoPromoteConfigDetails.ResourceTypeEnum?

The type of resource to configure for automatic promotion.

Remarks

Required

In this article
Back to top