import { ArmResource } from '@yetics/armkit-core' ; import { Construct } from 'constructs' ; schema export class Monitors extends ArmResource { param scope param name param options public constructor ( scope , name , options ) { super ( scope , name , { ... options , armResourceType : 'monitors' , } ) ; } } schema export class MonitorsSingleSignOnConfigurations extends ArmResource { param scope param name param options public constructor ( scope , name , options ) { super ( scope , name , { ... options , armResourceType : 'monitors_singleSignOnConfigurations' , } ) ; } } schema export class MonitorsTagRules extends ArmResource { param scope param name param options public constructor ( scope , name , options ) { super ( scope , name , { ... options , armResourceType : 'monitors_tagRules' , } ) ; } } schema export interface MonitorsOptions { schema readonly apiVersion ? : MicrosoftDatadogMonitorsApiVersion ; schema readonly identity ? : IdentityProperties ; schema readonly location : string ; schema readonly name : string ; schema readonly properties : MonitorProperties ; schema readonly resources ? : MicrosoftDatadogMonitorsResources [ ] ; schema readonly sku ? : ResourceSku ; schema readonly tags ? : MicrosoftDatadogMonitorsTags ; schema readonly type : MicrosoftDatadogMonitorsType ; } schema export interface MonitorsSingleSignOnConfigurationsOptions { schema readonly apiVersion ? : MicrosoftDatadogMonitorsSingleSignOnConfigurationsApiVersion ; schema readonly name : string ; schema readonly properties : DatadogSingleSignOnProperties ; schema readonly type : MicrosoftDatadogMonitorsSingleSignOnConfigurationsType ; } schema export interface MonitorsTagRulesOptions { schema readonly apiVersion ? : MicrosoftDatadogMonitorsTagRulesApiVersion ; schema readonly name : string ; schema readonly properties : MonitoringTagRulesProperties ; schema readonly type : MicrosoftDatadogMonitorsTagRulesType ; } export enum MicrosoftDatadogMonitorsApiVersion { "MicrosoftDatadogMonitorsApiVersion_2021_03_01" = '2021-03-01' } schema export interface IdentityProperties { schema readonly type ? : IdentityPropertiesType ; } schema export interface MonitorProperties { schema readonly datadogOrganizationProperties ? : DatadogOrganizationProperties ; schema readonly liftrResourceCategory ? : MonitorPropertiesLiftrResourceCategory ; schema readonly marketplaceSubscriptionStatus ? : MonitorPropertiesMarketplaceSubscriptionStatus ; schema readonly monitoringStatus ? : MonitorPropertiesMonitoringStatus ; schema readonly provisioningState ? : MonitorPropertiesProvisioningState ; schema readonly userInfo ? : UserInfo ; } schema export class MicrosoftDatadogMonitorsResources { public static fromMonitorsTagRulesChildResource ( value ) { return new MicrosoftDatadogMonitorsResources ( value ) ; } public static fromMonitorsSingleSignOnConfigurationsChildResource ( value ) { return new MicrosoftDatadogMonitorsResources ( value ) ; } private constructor ( value ) { Object . defineProperty ( this , 'resolve' , { value : ( ) => value } ) ; } } schema export interface ResourceSku { schema readonly name : string ; } schema export interface MicrosoftDatadogMonitorsTags { } export enum MicrosoftDatadogMonitorsType { "MicrosoftDatadogMonitorsType_MICROSOFT_DATADOG_MONITORS" = 'Microsoft.Datadog/monitors' } export enum MicrosoftDatadogMonitorsSingleSignOnConfigurationsApiVersion { "MicrosoftDatadogMonitorsSingleSignOnConfigurationsApiVersion_2021_03_01" = '2021-03-01' } schema export interface DatadogSingleSignOnProperties { schema readonly enterpriseAppId ? : string ; schema readonly provisioningState ? : DatadogSingleSignOnPropertiesProvisioningState ; schema readonly singleSignOnState ? : DatadogSingleSignOnPropertiesSingleSignOnState ; } export enum MicrosoftDatadogMonitorsSingleSignOnConfigurationsType { "MicrosoftDatadogMonitorsSingleSignOnConfigurationsType_MICROSOFT_DATADOG_MONITORS_SINGLE_SIGN_ON_CONFIGURATIONS" = 'Microsoft.Datadog/monitors/singleSignOnConfigurations' } export enum MicrosoftDatadogMonitorsTagRulesApiVersion { "MicrosoftDatadogMonitorsTagRulesApiVersion_2021_03_01" = '2021-03-01' } schema export interface MonitoringTagRulesProperties { schema readonly logRules ? : LogRules ; schema readonly metricRules ? : MetricRules ; schema readonly provisioningState ? : MonitoringTagRulesPropertiesProvisioningState ; } export enum MicrosoftDatadogMonitorsTagRulesType { "MicrosoftDatadogMonitorsTagRulesType_MICROSOFT_DATADOG_MONITORS_TAG_RULES" = 'Microsoft.Datadog/monitors/tagRules' } export enum IdentityPropertiesType { SYSTEM_ASSIGNED = 'SystemAssigned' , USER_ASSIGNED = 'UserAssigned' } schema export interface DatadogOrganizationProperties { schema readonly apiKey ? : string ; schema readonly applicationKey ? : string ; schema readonly enterpriseAppId ? : string ; schema readonly linkingAuthCode ? : string ; schema readonly linkingClientId ? : string ; schema readonly redirectUri ? : string ; } export enum MonitorPropertiesLiftrResourceCategory { UNKNOWN = 'Unknown' , MONITOR_LOGS = 'MonitorLogs' } export enum MonitorPropertiesMarketplaceSubscriptionStatus { PROVISIONING = 'Provisioning' , ACTIVE = 'Active' , SUSPENDED = 'Suspended' , UNSUBSCRIBED = 'Unsubscribed' } export enum MonitorPropertiesMonitoringStatus { ENABLED = 'Enabled' , DISABLED = 'Disabled' } export enum MonitorPropertiesProvisioningState { ACCEPTED = 'Accepted' , CREATING = 'Creating' , UPDATING = 'Updating' , DELETING = 'Deleting' , SUCCEEDED = 'Succeeded' , FAILED = 'Failed' , CANCELED = 'Canceled' , DELETED = 'Deleted' , NOT_SPECIFIED = 'NotSpecified' } schema export interface UserInfo { schema readonly emailAddress ? : UserInfoEmailAddressPattern ; schema readonly name ? : string ; schema readonly phoneNumber ? : string ; } schema export interface MonitorsTagRulesChildResource { schema readonly apiVersion : MonitorsTagRulesChildResourceApiVersion ; schema readonly name : string ; schema readonly properties : MonitoringTagRulesProperties ; schema readonly type : MonitorsTagRulesChildResourceType ; } schema export interface MonitorsSingleSignOnConfigurationsChildResource { schema readonly apiVersion : MonitorsSingleSignOnConfigurationsChildResourceApiVersion ; schema readonly name : string ; schema readonly properties : DatadogSingleSignOnProperties ; schema readonly type : MonitorsSingleSignOnConfigurationsChildResourceType ; } export enum DatadogSingleSignOnPropertiesProvisioningState { ACCEPTED = 'Accepted' , CREATING = 'Creating' , UPDATING = 'Updating' , DELETING = 'Deleting' , SUCCEEDED = 'Succeeded' , FAILED = 'Failed' , CANCELED = 'Canceled' , DELETED = 'Deleted' , NOT_SPECIFIED = 'NotSpecified' } export enum DatadogSingleSignOnPropertiesSingleSignOnState { INITIAL = 'Initial' , ENABLE = 'Enable' , DISABLE = 'Disable' , EXISTING = 'Existing' } schema export interface LogRules { schema readonly filteringTags ? : FilteringTag [ ] ; schema readonly sendAadLogs ? : boolean ; schema readonly sendResourceLogs ? : boolean ; schema readonly sendSubscriptionLogs ? : boolean ; } schema export interface MetricRules { schema readonly filteringTags ? : FilteringTag [ ] ; } export enum MonitoringTagRulesPropertiesProvisioningState { ACCEPTED = 'Accepted' , CREATING = 'Creating' , UPDATING = 'Updating' , DELETING = 'Deleting' , SUCCEEDED = 'Succeeded' , FAILED = 'Failed' , CANCELED = 'Canceled' , DELETED = 'Deleted' , NOT_SPECIFIED = 'NotSpecified' } schema export class UserInfoEmailAddressPattern { public static pattern ( value ) { return value ; } } export enum MonitorsTagRulesChildResourceApiVersion { "MonitorsTagRulesChildResourceApiVersion_2021_03_01" = '2021-03-01' } export enum MonitorsTagRulesChildResourceType { TAG_RULES = 'tagRules' } export enum MonitorsSingleSignOnConfigurationsChildResourceApiVersion { "MonitorsSingleSignOnConfigurationsChildResourceApiVersion_2021_03_01" = '2021-03-01' } export enum MonitorsSingleSignOnConfigurationsChildResourceType { SINGLE_SIGN_ON_CONFIGURATIONS = 'singleSignOnConfigurations' } schema export interface FilteringTag { schema readonly action ? : FilteringTagAction ; schema readonly name ? : string ; schema readonly value ? : string ; } export enum FilteringTagAction { INCLUDE = 'Include' , EXCLUDE = 'Exclude' }