Class CreateAutoPromoteConfigDetails
The details of an AUTO_PROMOTE configuration.
Inherited Members
Namespace: Oci.StackmonitoringService.Models
Assembly: OCI.DotNetSDK.Stackmonitoring.dll
Syntax
public class CreateAutoPromoteConfigDetails : CreateConfigDetails
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(StringEnumConverter))]
public CreateAutoPromoteConfigDetails.ResourceTypeEnum? ResourceType { get; set; }
Property Value
Type | Description |
---|---|
CreateAutoPromoteConfigDetails.ResourceTypeEnum? | The type of resource to configure for automatic promotion. |
Remarks
Required