import { ArmResource } from '@yetics/armkit-core' ; import { Construct } from 'constructs' ; schema export class Jobs extends ArmResource { param scope param name param options public constructor ( scope , name , options ) { super ( scope , name , { ... options , armResourceType : 'jobs' , } ) ; } } schema export interface JobsOptions { schema readonly apiVersion ? : MicrosoftDataBoxJobsApiVersion ; schema readonly identity ? : ResourceIdentity ; schema readonly location : string ; schema readonly name : MicrosoftDataBoxJobsNamePattern ; schema readonly properties : JobProperties ; schema readonly sku : Sku ; schema readonly tags ? : MicrosoftDataBoxJobsTags ; schema readonly type : MicrosoftDataBoxJobsType ; } export enum MicrosoftDataBoxJobsApiVersion { "MicrosoftDataBoxJobsApiVersion_2021_03_01" = '2021-03-01' } schema export interface ResourceIdentity { schema readonly type ? : string ; schema readonly userAssignedIdentities ? : ResourceIdentityUserAssignedIdentities ; } schema export class MicrosoftDataBoxJobsNamePattern { public static pattern ( value ) { return value ; } } schema export interface JobProperties { schema readonly deliveryInfo ? : JobDeliveryInfo ; schema readonly deliveryType ? : JobPropertiesDeliveryType ; schema readonly details ? : JobDetails ; schema readonly transferType : JobPropertiesTransferType ; } schema export interface Sku { schema readonly displayName ? : string ; schema readonly family ? : string ; schema readonly name : SkuName ; } schema export interface MicrosoftDataBoxJobsTags { } export enum MicrosoftDataBoxJobsType { "MicrosoftDataBoxJobsType_MICROSOFT_DATA_BOX_JOBS" = 'Microsoft.DataBox/jobs' } schema export interface ResourceIdentityUserAssignedIdentities { } schema export interface JobDeliveryInfo { schema readonly scheduledDateTime ? : Date ; } export enum JobPropertiesDeliveryType { NON_SCHEDULED = 'NonScheduled' , SCHEDULED = 'Scheduled' } schema export class JobDetails { public static fromDataBoxDiskJobDetails ( value ) { return new JobDetails ( value ) ; } public static fromDataBoxHeavyJobDetails ( value ) { return new JobDetails ( value ) ; } public static fromDataBoxJobDetails ( value ) { return new JobDetails ( value ) ; } private constructor ( value ) { Object . defineProperty ( this , 'resolve' , { value : ( ) => value } ) ; } } export enum JobPropertiesTransferType { IMPORT_TO_AZURE = 'ImportToAzure' , EXPORT_FROM_AZURE = 'ExportFromAzure' } export enum SkuName { DATA_BOX = 'DataBox' , DATA_BOX_DISK = 'DataBoxDisk' , DATA_BOX_HEAVY = 'DataBoxHeavy' } schema export interface DataBoxDiskJobDetails { schema readonly jobDetailsType : DataBoxDiskJobDetailsJobDetailsType ; schema readonly passkey ? : string ; schema readonly preferredDisks ? : DataBoxDiskJobDetailsPreferredDisks ; } schema export interface DataBoxHeavyJobDetails { schema readonly devicePassword ? : string ; schema readonly jobDetailsType : DataBoxHeavyJobDetailsJobDetailsType ; } schema export interface DataBoxJobDetails { schema readonly devicePassword ? : string ; schema readonly jobDetailsType : DataBoxJobDetailsJobDetailsType ; } export enum DataBoxDiskJobDetailsJobDetailsType { DATA_BOX_DISK = 'DataBoxDisk' } schema export interface DataBoxDiskJobDetailsPreferredDisks { } export enum DataBoxHeavyJobDetailsJobDetailsType { DATA_BOX_HEAVY = 'DataBoxHeavy' } export enum DataBoxJobDetailsJobDetailsType { DATA_BOX = 'DataBox' }