import { ArmResource } from '@yetics/armkit-core' ; import { Construct } from 'constructs' ; schema export class JobCollections extends ArmResource { param scope param name param options public constructor ( scope , name , options ) { super ( scope , name , { ... options , armResourceType : 'jobCollections' , } ) ; } } schema export class JobCollectionsJobs extends ArmResource { param scope param name param options public constructor ( scope , name , options ) { super ( scope , name , { ... options , armResourceType : 'jobCollections_jobs' , } ) ; } } schema export interface JobCollectionsOptions { schema readonly apiVersion ? : MicrosoftSchedulerJobCollectionsApiVersion ; schema readonly location ? : string ; schema readonly name : string ; schema readonly properties : JobCollectionProperties ; schema readonly resources ? : JobCollectionsJobsChildResource [ ] ; schema readonly tags ? : MicrosoftSchedulerJobCollectionsTags ; schema readonly type : MicrosoftSchedulerJobCollectionsType ; } schema export interface JobCollectionsJobsOptions { schema readonly apiVersion ? : MicrosoftSchedulerJobCollectionsJobsApiVersion ; schema readonly name : string ; schema readonly properties : JobProperties ; schema readonly type : MicrosoftSchedulerJobCollectionsJobsType ; } export enum MicrosoftSchedulerJobCollectionsApiVersion { "MicrosoftSchedulerJobCollectionsApiVersion_2016_03_01" = '2016-03-01' } schema export interface JobCollectionProperties { schema readonly quota ? : JobCollectionQuota ; schema readonly sku ? : Sku ; schema readonly state ? : JobCollectionPropertiesState ; } schema export interface JobCollectionsJobsChildResource { schema readonly apiVersion : JobCollectionsJobsChildResourceApiVersion ; schema readonly name : string ; schema readonly properties : JobProperties ; schema readonly type : JobCollectionsJobsChildResourceType ; } schema export interface MicrosoftSchedulerJobCollectionsTags { } export enum MicrosoftSchedulerJobCollectionsType { "MicrosoftSchedulerJobCollectionsType_MICROSOFT_SCHEDULER_JOB_COLLECTIONS" = 'Microsoft.Scheduler/jobCollections' } export enum MicrosoftSchedulerJobCollectionsJobsApiVersion { "MicrosoftSchedulerJobCollectionsJobsApiVersion_2016_03_01" = '2016-03-01' } schema export interface JobProperties { schema readonly action ? : JobAction ; schema readonly recurrence ? : JobRecurrence ; schema readonly startTime ? : Date ; schema readonly state ? : JobPropertiesState ; } export enum MicrosoftSchedulerJobCollectionsJobsType { "MicrosoftSchedulerJobCollectionsJobsType_MICROSOFT_SCHEDULER_JOB_COLLECTIONS_JOBS" = 'Microsoft.Scheduler/jobCollections/jobs' } schema export interface JobCollectionQuota { schema readonly maxJobCount ? : number ; schema readonly maxJobOccurrence ? : number ; schema readonly maxRecurrence ? : JobMaxRecurrence ; } schema export interface Sku { schema readonly name ? : SkuName ; } export enum JobCollectionPropertiesState { ENABLED = 'Enabled' , DISABLED = 'Disabled' , SUSPENDED = 'Suspended' , DELETED = 'Deleted' } export enum JobCollectionsJobsChildResourceApiVersion { "JobCollectionsJobsChildResourceApiVersion_2016_03_01" = '2016-03-01' } export enum JobCollectionsJobsChildResourceType { JOBS = 'jobs' } schema export interface JobAction { schema readonly errorAction ? : JobErrorAction ; schema readonly queueMessage ? : StorageQueueMessage ; schema readonly request ? : HttpRequest ; schema readonly retryPolicy ? : RetryPolicy ; schema readonly serviceBusQueueMessage ? : ServiceBusQueueMessage ; schema readonly serviceBusTopicMessage ? : ServiceBusTopicMessage ; schema readonly type ? : JobActionType ; } schema export interface JobRecurrence { schema readonly count ? : number ; schema readonly endTime ? : Date ; schema readonly frequency ? : JobRecurrenceFrequency ; schema readonly interval ? : number ; schema readonly schedule ? : JobRecurrenceSchedule ; } export enum JobPropertiesState { ENABLED = 'Enabled' , DISABLED = 'Disabled' , FAULTED = 'Faulted' , COMPLETED = 'Completed' } schema export interface JobMaxRecurrence { schema readonly frequency ? : JobMaxRecurrenceFrequency ; schema readonly interval ? : number ; } export enum SkuName { STANDARD = 'Standard' , FREE = 'Free' , "SkuName_P10_PREMIUM" = 'P10Premium' , "SkuName_P20_PREMIUM" = 'P20Premium' } schema export interface JobErrorAction { schema readonly queueMessage ? : StorageQueueMessage ; schema readonly request ? : HttpRequest ; schema readonly retryPolicy ? : RetryPolicy ; schema readonly serviceBusQueueMessage ? : ServiceBusQueueMessage ; schema readonly serviceBusTopicMessage ? : ServiceBusTopicMessage ; schema readonly type ? : JobErrorActionType ; } schema export interface StorageQueueMessage { schema readonly message ? : string ; schema readonly queueName ? : string ; schema readonly sasToken ? : string ; schema readonly storageAccount ? : string ; } schema export interface HttpRequest { schema readonly authentication ? : HttpAuthentication ; schema readonly body ? : string ; schema readonly headers ? : HttpRequestHeaders ; schema readonly method ? : string ; schema readonly uri ? : string ; } schema export interface RetryPolicy { schema readonly retryCount ? : number ; schema readonly retryInterval ? : string ; schema readonly retryType ? : RetryPolicyRetryType ; } schema export interface ServiceBusQueueMessage { schema readonly authentication ? : ServiceBusAuthentication ; schema readonly brokeredMessageProperties ? : ServiceBusBrokeredMessageProperties ; schema readonly customMessageProperties ? : ServiceBusQueueMessageCustomMessageProperties ; schema readonly message ? : string ; schema readonly namespace ? : string ; schema readonly queueName ? : string ; schema readonly transportType ? : ServiceBusQueueMessageTransportType ; } schema export interface ServiceBusTopicMessage { schema readonly authentication ? : ServiceBusAuthentication ; schema readonly brokeredMessageProperties ? : ServiceBusBrokeredMessageProperties ; schema readonly customMessageProperties ? : ServiceBusTopicMessageCustomMessageProperties ; schema readonly message ? : string ; schema readonly namespace ? : string ; schema readonly topicPath ? : string ; schema readonly transportType ? : ServiceBusTopicMessageTransportType ; } export enum JobActionType { HTTP = 'Http' , HTTPS = 'Https' , STORAGE_QUEUE = 'StorageQueue' , SERVICE_BUS_QUEUE = 'ServiceBusQueue' , SERVICE_BUS_TOPIC = 'ServiceBusTopic' } export enum JobRecurrenceFrequency { MINUTE = 'Minute' , HOUR = 'Hour' , DAY = 'Day' , WEEK = 'Week' , MONTH = 'Month' } schema export interface JobRecurrenceSchedule { schema readonly hours ? : number [ ] ; schema readonly minutes ? : number [ ] ; schema readonly monthDays ? : number [ ] ; schema readonly monthlyOccurrences ? : JobRecurrenceScheduleMonthlyOccurrence [ ] ; schema readonly weekDays ? : JobRecurrenceScheduleWeekDays [ ] ; } export enum JobMaxRecurrenceFrequency { MINUTE = 'Minute' , HOUR = 'Hour' , DAY = 'Day' , WEEK = 'Week' , MONTH = 'Month' } export enum JobErrorActionType { HTTP = 'Http' , HTTPS = 'Https' , STORAGE_QUEUE = 'StorageQueue' , SERVICE_BUS_QUEUE = 'ServiceBusQueue' , SERVICE_BUS_TOPIC = 'ServiceBusTopic' } schema export class HttpAuthentication { public static fromClientCertAuthentication ( value ) { return new HttpAuthentication ( value ) ; } public static fromBasicAuthentication ( value ) { return new HttpAuthentication ( value ) ; } public static fromOAuthAuthentication ( value ) { return new HttpAuthentication ( value ) ; } private constructor ( value ) { Object . defineProperty ( this , 'resolve' , { value : ( ) => value } ) ; } } schema export interface HttpRequestHeaders { } export enum RetryPolicyRetryType { NONE = 'None' , FIXED = 'Fixed' } schema export interface ServiceBusAuthentication { schema readonly sasKey ? : string ; schema readonly sasKeyName ? : string ; schema readonly type ? : ServiceBusAuthenticationType ; } schema export interface ServiceBusBrokeredMessageProperties { schema readonly contentType ? : string ; schema readonly correlationId ? : string ; schema readonly forcePersistence ? : boolean ; schema readonly label ? : string ; schema readonly messageId ? : string ; schema readonly partitionKey ? : string ; schema readonly replyTo ? : string ; schema readonly replyToSessionId ? : string ; schema readonly scheduledEnqueueTimeUtc ? : Date ; schema readonly sessionId ? : string ; schema readonly timeToLive ? : string ; schema readonly to ? : string ; schema readonly viaPartitionKey ? : string ; } schema export interface ServiceBusQueueMessageCustomMessageProperties { } export enum ServiceBusQueueMessageTransportType { NOT_SPECIFIED = 'NotSpecified' , NET_MESSAGING = 'NetMessaging' , AMQP = 'AMQP' } schema export interface ServiceBusTopicMessageCustomMessageProperties { } export enum ServiceBusTopicMessageTransportType { NOT_SPECIFIED = 'NotSpecified' , NET_MESSAGING = 'NetMessaging' , AMQP = 'AMQP' } schema export interface JobRecurrenceScheduleMonthlyOccurrence { schema readonly day ? : JobRecurrenceScheduleMonthlyOccurrenceDay ; schema readonly occurrence ? : number ; } export enum JobRecurrenceScheduleWeekDays { SUNDAY = 'Sunday' , MONDAY = 'Monday' , TUESDAY = 'Tuesday' , WEDNESDAY = 'Wednesday' , THURSDAY = 'Thursday' , FRIDAY = 'Friday' , SATURDAY = 'Saturday' } schema export interface ClientCertAuthentication { schema readonly certificateExpirationDate ? : Date ; schema readonly certificateSubjectName ? : string ; schema readonly certificateThumbprint ? : string ; schema readonly password ? : string ; schema readonly pfx ? : string ; schema readonly type : ClientCertAuthenticationType ; } schema export interface BasicAuthentication { schema readonly password ? : string ; schema readonly type : BasicAuthenticationType ; schema readonly username ? : string ; } schema export interface OAuthAuthentication { schema readonly audience ? : string ; schema readonly clientId ? : string ; schema readonly secret ? : string ; schema readonly tenant ? : string ; schema readonly type : OAuthAuthenticationType ; } export enum ServiceBusAuthenticationType { NOT_SPECIFIED = 'NotSpecified' , SHARED_ACCESS_KEY = 'SharedAccessKey' } export enum JobRecurrenceScheduleMonthlyOccurrenceDay { MONDAY = 'Monday' , TUESDAY = 'Tuesday' , WEDNESDAY = 'Wednesday' , THURSDAY = 'Thursday' , FRIDAY = 'Friday' , SATURDAY = 'Saturday' , SUNDAY = 'Sunday' } export enum ClientCertAuthenticationType { CLIENT_CERTIFICATE = 'ClientCertificate' } export enum BasicAuthenticationType { BASIC = 'Basic' } export enum OAuthAuthenticationType { ACTIVE_DIRECTORY_O_AUTH = 'ActiveDirectoryOAuth' }