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.
Inherited Members
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