// This file is auto-generated, don't edit it import * as $dara from '@darabonba/typescript'; export class UpdateDataPipelineRequestOutputsProcessorsConfigAssignments extends $dara.Model { /** * @remarks * The assignment expression. * * @example * duration / 1000000.0 */ expression?: string; /** * @remarks * The output field. * * @example * latency_ms */ field?: string; static names(): { [key: string]: string } { return { expression: 'expression', field: 'field', }; } static types(): { [key: string]: any } { return { expression: 'string', field: 'string', }; } validate() { super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } } export class UpdateDataPipelineRequestOutputsProcessorsConfigProjections extends $dara.Model { /** * @remarks * The source field. * * @example * serviceName */ source?: string; /** * @remarks * The target field. * * @example * service */ target?: string; static names(): { [key: string]: string } { return { source: 'source', target: 'target', }; } static types(): { [key: string]: any } { return { source: 'string', target: 'string', }; } validate() { super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } } export class UpdateDataPipelineRequestOutputsProcessorsConfigRules extends $dara.Model { /** * @remarks * The length of the retained prefix. * * @example * 2 */ keepPrefix?: number; /** * @remarks * The length of the retained suffix. * * @example * 2 */ keepSuffix?: number; /** * @remarks * The sensitive keywords. */ keys?: string[]; /** * @remarks * The mask character. * * @example * * */ maskChar?: string; /** * @remarks * The data masking mode. * * @example * keyword */ mode?: string; /** * @remarks * The built-in sensitive data types. */ types?: string[]; static names(): { [key: string]: string } { return { keepPrefix: 'keepPrefix', keepSuffix: 'keepSuffix', keys: 'keys', maskChar: 'maskChar', mode: 'mode', types: 'types', }; } static types(): { [key: string]: any } { return { keepPrefix: 'number', keepSuffix: 'number', keys: { 'type': 'array', 'itemType': 'string' }, maskChar: 'string', mode: 'string', types: { 'type': 'array', 'itemType': 'string' }, }; } validate() { if(Array.isArray(this.keys)) { $dara.Model.validateArray(this.keys); } if(Array.isArray(this.types)) { $dara.Model.validateArray(this.types); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } } export class UpdateDataPipelineRequestOutputsProcessorsConfigScopeConditionsField extends $dara.Model { /** * @remarks * The JSON object container. * * @example * attributes */ container?: string; /** * @remarks * The reference data type. * * @example * field */ kind?: string; /** * @remarks * The name of the field or dimension. * * @example * name */ name?: string; /** * @remarks * The JSON literal key path. */ path?: string[]; static names(): { [key: string]: string } { return { container: 'container', kind: 'kind', name: 'name', path: 'path', }; } static types(): { [key: string]: any } { return { container: 'string', kind: 'string', name: 'string', path: { 'type': 'array', 'itemType': 'string' }, }; } validate() { if(Array.isArray(this.path)) { $dara.Model.validateArray(this.path); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } } export class UpdateDataPipelineRequestOutputsProcessorsConfigScopeConditions extends $dara.Model { /** * @remarks * The field reference. */ field?: UpdateDataPipelineRequestOutputsProcessorsConfigScopeConditionsField; /** * @remarks * The match type. * * @example * EXACT */ matchType?: string; /** * @remarks * The match values. */ values?: string[]; static names(): { [key: string]: string } { return { field: 'field', matchType: 'matchType', values: 'values', }; } static types(): { [key: string]: any } { return { field: UpdateDataPipelineRequestOutputsProcessorsConfigScopeConditionsField, matchType: 'string', values: { 'type': 'array', 'itemType': 'string' }, }; } validate() { if(this.field && typeof (this.field as any).validate === 'function') { (this.field as any).validate(); } if(Array.isArray(this.values)) { $dara.Model.validateArray(this.values); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } } export class UpdateDataPipelineRequestOutputsProcessorsConfigScopeMetricName extends $dara.Model { /** * @remarks * The match type. * * @example * EXACT */ matchType?: string; /** * @remarks * The metric names. * * @example * ["http_requests_total"] */ values?: string[]; static names(): { [key: string]: string } { return { matchType: 'matchType', values: 'values', }; } static types(): { [key: string]: any } { return { matchType: 'string', values: { 'type': 'array', 'itemType': 'string' }, }; } validate() { if(Array.isArray(this.values)) { $dara.Model.validateArray(this.values); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } } export class UpdateDataPipelineRequestOutputsProcessorsConfigScopeServiceName extends $dara.Model { /** * @remarks * The match type. * * @example * GLOB */ matchType?: string; /** * @remarks * The match values. */ values?: string[]; static names(): { [key: string]: string } { return { matchType: 'matchType', values: 'values', }; } static types(): { [key: string]: any } { return { matchType: 'string', values: { 'type': 'array', 'itemType': 'string' }, }; } validate() { if(Array.isArray(this.values)) { $dara.Model.validateArray(this.values); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } } export class UpdateDataPipelineRequestOutputsProcessorsConfigScope extends $dara.Model { /** * @remarks * The additional field conditions. */ conditions?: UpdateDataPipelineRequestOutputsProcessorsConfigScopeConditions[]; /** * @remarks * The metric name scope. */ metricName?: UpdateDataPipelineRequestOutputsProcessorsConfigScopeMetricName; /** * @remarks * The service name scope. */ serviceName?: UpdateDataPipelineRequestOutputsProcessorsConfigScopeServiceName; static names(): { [key: string]: string } { return { conditions: 'conditions', metricName: 'metricName', serviceName: 'serviceName', }; } static types(): { [key: string]: any } { return { conditions: { 'type': 'array', 'itemType': UpdateDataPipelineRequestOutputsProcessorsConfigScopeConditions }, metricName: UpdateDataPipelineRequestOutputsProcessorsConfigScopeMetricName, serviceName: UpdateDataPipelineRequestOutputsProcessorsConfigScopeServiceName, }; } validate() { if(Array.isArray(this.conditions)) { $dara.Model.validateArray(this.conditions); } if(this.metricName && typeof (this.metricName as any).validate === 'function') { (this.metricName as any).validate(); } if(this.serviceName && typeof (this.serviceName as any).validate === 'function') { (this.serviceName as any).validate(); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } } export class UpdateDataPipelineRequestOutputsProcessorsConfigSelector extends $dara.Model { /** * @remarks * The service name list. * * @example * ["checkout-*","order-service"] */ serviceNames?: string[]; static names(): { [key: string]: string } { return { serviceNames: 'serviceNames', }; } static types(): { [key: string]: any } { return { serviceNames: { 'type': 'array', 'itemType': 'string' }, }; } validate() { if(Array.isArray(this.serviceNames)) { $dara.Model.validateArray(this.serviceNames); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } } export class UpdateDataPipelineRequestOutputsProcessorsConfigTarget extends $dara.Model { /** * @remarks * The target workspace. * * @example * target-checkout-ws */ workspace?: string; static names(): { [key: string]: string } { return { workspace: 'workspace', }; } static types(): { [key: string]: any } { return { workspace: 'string', }; } validate() { super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } } export class UpdateDataPipelineRequestOutputsProcessorsConfig extends $dara.Model { /** * @remarks * The list of applications. */ applications?: string[]; /** * @remarks * The list of field assignments. */ assignments?: UpdateDataPipelineRequestOutputsProcessorsConfigAssignments[]; /** * @remarks * The filter expression. * * @example * attributes["http.route"] != "/health" */ expression?: string; /** * @remarks * The list of fields. */ fields?: string[]; /** * @remarks * The extended parameters. */ parameters?: { [key: string]: any }; /** * @remarks * The list of field projections. */ projections?: UpdateDataPipelineRequestOutputsProcessorsConfigProjections[]; /** * @remarks * The list of data masking rules. */ rules?: UpdateDataPipelineRequestOutputsProcessorsConfigRules[]; /** * @remarks * The effective scope of pipeline processing. */ scope?: UpdateDataPipelineRequestOutputsProcessorsConfigScope; /** * @remarks * The SPL script. * * @example * * | extend latency_ms = duration / 1000000 */ script?: string; /** * @remarks * The service selector. */ selector?: UpdateDataPipelineRequestOutputsProcessorsConfigSelector; /** * @remarks * The processing target. */ target?: UpdateDataPipelineRequestOutputsProcessorsConfigTarget; static names(): { [key: string]: string } { return { applications: 'applications', assignments: 'assignments', expression: 'expression', fields: 'fields', parameters: 'parameters', projections: 'projections', rules: 'rules', scope: 'scope', script: 'script', selector: 'selector', target: 'target', }; } static types(): { [key: string]: any } { return { applications: { 'type': 'array', 'itemType': 'string' }, assignments: { 'type': 'array', 'itemType': UpdateDataPipelineRequestOutputsProcessorsConfigAssignments }, expression: 'string', fields: { 'type': 'array', 'itemType': 'string' }, parameters: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' }, projections: { 'type': 'array', 'itemType': UpdateDataPipelineRequestOutputsProcessorsConfigProjections }, rules: { 'type': 'array', 'itemType': UpdateDataPipelineRequestOutputsProcessorsConfigRules }, scope: UpdateDataPipelineRequestOutputsProcessorsConfigScope, script: 'string', selector: UpdateDataPipelineRequestOutputsProcessorsConfigSelector, target: UpdateDataPipelineRequestOutputsProcessorsConfigTarget, }; } validate() { if(Array.isArray(this.applications)) { $dara.Model.validateArray(this.applications); } if(Array.isArray(this.assignments)) { $dara.Model.validateArray(this.assignments); } if(Array.isArray(this.fields)) { $dara.Model.validateArray(this.fields); } if(this.parameters) { $dara.Model.validateMap(this.parameters); } if(Array.isArray(this.projections)) { $dara.Model.validateArray(this.projections); } if(Array.isArray(this.rules)) { $dara.Model.validateArray(this.rules); } if(this.scope && typeof (this.scope as any).validate === 'function') { (this.scope as any).validate(); } if(this.selector && typeof (this.selector as any).validate === 'function') { (this.selector as any).validate(); } if(this.target && typeof (this.target as any).validate === 'function') { (this.target as any).validate(); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } } export class UpdateDataPipelineRequestOutputsProcessors extends $dara.Model { /** * @remarks * The processor configuration. */ config?: UpdateDataPipelineRequestOutputsProcessorsConfig; /** * @remarks * The processor name. * * @example * drop-health-check */ name?: string; /** * @remarks * The processor type. * * @example * filter */ type?: string; static names(): { [key: string]: string } { return { config: 'config', name: 'name', type: 'type', }; } static types(): { [key: string]: any } { return { config: UpdateDataPipelineRequestOutputsProcessorsConfig, name: 'string', type: 'string', }; } validate() { if(this.config && typeof (this.config as any).validate === 'function') { (this.config as any).validate(); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } } export class UpdateDataPipelineRequestOutputs extends $dara.Model { /** * @remarks * The name of the output. * * @example * checkout_route */ name?: string; /** * @remarks * The branch processors. */ processors?: UpdateDataPipelineRequestOutputsProcessors[]; static names(): { [key: string]: string } { return { name: 'name', processors: 'processors', }; } static types(): { [key: string]: any } { return { name: 'string', processors: { 'type': 'array', 'itemType': UpdateDataPipelineRequestOutputsProcessors }, }; } validate() { if(Array.isArray(this.processors)) { $dara.Model.validateArray(this.processors); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } } export class UpdateDataPipelineRequestProcessorsConfigAssignments extends $dara.Model { /** * @remarks * The assignment expression. * * @example * duration / 1000000.0 */ expression?: string; /** * @remarks * The output field. * * @example * latency_ms */ field?: string; static names(): { [key: string]: string } { return { expression: 'expression', field: 'field', }; } static types(): { [key: string]: any } { return { expression: 'string', field: 'string', }; } validate() { super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } } export class UpdateDataPipelineRequestProcessorsConfigProjections extends $dara.Model { /** * @remarks * The source field. * * @example * serviceName */ source?: string; /** * @remarks * The target field. * * @example * service */ target?: string; static names(): { [key: string]: string } { return { source: 'source', target: 'target', }; } static types(): { [key: string]: any } { return { source: 'string', target: 'string', }; } validate() { super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } } export class UpdateDataPipelineRequestProcessorsConfigRules extends $dara.Model { /** * @remarks * The length of the retained prefix. * * @example * 2 */ keepPrefix?: number; /** * @remarks * The length of the retained suffix. * * @example * 2 */ keepSuffix?: number; /** * @remarks * The sensitive keywords. */ keys?: string[]; /** * @remarks * The mask character. * * @example * * */ maskChar?: string; /** * @remarks * The data masking mode. * * @example * keyword */ mode?: string; /** * @remarks * The built-in sensitive data types. */ types?: string[]; static names(): { [key: string]: string } { return { keepPrefix: 'keepPrefix', keepSuffix: 'keepSuffix', keys: 'keys', maskChar: 'maskChar', mode: 'mode', types: 'types', }; } static types(): { [key: string]: any } { return { keepPrefix: 'number', keepSuffix: 'number', keys: { 'type': 'array', 'itemType': 'string' }, maskChar: 'string', mode: 'string', types: { 'type': 'array', 'itemType': 'string' }, }; } validate() { if(Array.isArray(this.keys)) { $dara.Model.validateArray(this.keys); } if(Array.isArray(this.types)) { $dara.Model.validateArray(this.types); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } } export class UpdateDataPipelineRequestProcessorsConfigScopeConditionsField extends $dara.Model { /** * @remarks * The JSON object container. * * @example * {} */ container?: string; /** * @remarks * The reference data type. * * @example * field */ kind?: string; /** * @remarks * The name of the field or dimension. * * @example * serviceName */ name?: string; /** * @remarks * The JSON literal key path. */ path?: string[]; static names(): { [key: string]: string } { return { container: 'container', kind: 'kind', name: 'name', path: 'path', }; } static types(): { [key: string]: any } { return { container: 'string', kind: 'string', name: 'string', path: { 'type': 'array', 'itemType': 'string' }, }; } validate() { if(Array.isArray(this.path)) { $dara.Model.validateArray(this.path); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } } export class UpdateDataPipelineRequestProcessorsConfigScopeConditions extends $dara.Model { /** * @remarks * The field reference. */ field?: UpdateDataPipelineRequestProcessorsConfigScopeConditionsField; /** * @remarks * The match type. * * @example * GLOB */ matchType?: string; /** * @remarks * The match values. */ values?: string[]; static names(): { [key: string]: string } { return { field: 'field', matchType: 'matchType', values: 'values', }; } static types(): { [key: string]: any } { return { field: UpdateDataPipelineRequestProcessorsConfigScopeConditionsField, matchType: 'string', values: { 'type': 'array', 'itemType': 'string' }, }; } validate() { if(this.field && typeof (this.field as any).validate === 'function') { (this.field as any).validate(); } if(Array.isArray(this.values)) { $dara.Model.validateArray(this.values); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } } export class UpdateDataPipelineRequestProcessorsConfigScopeMetricName extends $dara.Model { /** * @remarks * The match type. * * @example * EXACT */ matchType?: string; /** * @remarks * The metric names. * * @example * ["http_requests_total"] */ values?: string[]; static names(): { [key: string]: string } { return { matchType: 'matchType', values: 'values', }; } static types(): { [key: string]: any } { return { matchType: 'string', values: { 'type': 'array', 'itemType': 'string' }, }; } validate() { if(Array.isArray(this.values)) { $dara.Model.validateArray(this.values); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } } export class UpdateDataPipelineRequestProcessorsConfigScopeServiceName extends $dara.Model { /** * @remarks * The match type. * * @example * EXACT */ matchType?: string; /** * @remarks * The match values. */ values?: string[]; static names(): { [key: string]: string } { return { matchType: 'matchType', values: 'values', }; } static types(): { [key: string]: any } { return { matchType: 'string', values: { 'type': 'array', 'itemType': 'string' }, }; } validate() { if(Array.isArray(this.values)) { $dara.Model.validateArray(this.values); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } } export class UpdateDataPipelineRequestProcessorsConfigScope extends $dara.Model { /** * @remarks * The additional field conditions. */ conditions?: UpdateDataPipelineRequestProcessorsConfigScopeConditions[]; /** * @remarks * The metric name scope. */ metricName?: UpdateDataPipelineRequestProcessorsConfigScopeMetricName; /** * @remarks * The service name scope. */ serviceName?: UpdateDataPipelineRequestProcessorsConfigScopeServiceName; static names(): { [key: string]: string } { return { conditions: 'conditions', metricName: 'metricName', serviceName: 'serviceName', }; } static types(): { [key: string]: any } { return { conditions: { 'type': 'array', 'itemType': UpdateDataPipelineRequestProcessorsConfigScopeConditions }, metricName: UpdateDataPipelineRequestProcessorsConfigScopeMetricName, serviceName: UpdateDataPipelineRequestProcessorsConfigScopeServiceName, }; } validate() { if(Array.isArray(this.conditions)) { $dara.Model.validateArray(this.conditions); } if(this.metricName && typeof (this.metricName as any).validate === 'function') { (this.metricName as any).validate(); } if(this.serviceName && typeof (this.serviceName as any).validate === 'function') { (this.serviceName as any).validate(); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } } export class UpdateDataPipelineRequestProcessorsConfigSelector extends $dara.Model { /** * @remarks * The service name list. * * @example * ["checkout-*","order-service"] */ serviceNames?: string[]; static names(): { [key: string]: string } { return { serviceNames: 'serviceNames', }; } static types(): { [key: string]: any } { return { serviceNames: { 'type': 'array', 'itemType': 'string' }, }; } validate() { if(Array.isArray(this.serviceNames)) { $dara.Model.validateArray(this.serviceNames); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } } export class UpdateDataPipelineRequestProcessorsConfigTarget extends $dara.Model { /** * @remarks * The target workspace. * * @example * target-checkout-ws */ workspace?: string; static names(): { [key: string]: string } { return { workspace: 'workspace', }; } static types(): { [key: string]: any } { return { workspace: 'string', }; } validate() { super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } } export class UpdateDataPipelineRequestProcessorsConfig extends $dara.Model { /** * @remarks * The list of applications. */ applications?: string[]; /** * @remarks * The list of field assignments. */ assignments?: UpdateDataPipelineRequestProcessorsConfigAssignments[]; /** * @remarks * The filter expression. * * @example * attributes["http.route"] != "/health" */ expression?: string; /** * @remarks * The list of fields. */ fields?: string[]; /** * @remarks * The extended parameters. */ parameters?: { [key: string]: any }; /** * @remarks * The list of field projections. */ projections?: UpdateDataPipelineRequestProcessorsConfigProjections[]; /** * @remarks * The list of data masking rules. */ rules?: UpdateDataPipelineRequestProcessorsConfigRules[]; /** * @remarks * The effective scope of pipeline processing. */ scope?: UpdateDataPipelineRequestProcessorsConfigScope; /** * @remarks * The SPL script. * * @example * * | extend latency_ms = duration / 1000000 */ script?: string; /** * @remarks * The service selector. */ selector?: UpdateDataPipelineRequestProcessorsConfigSelector; /** * @remarks * The processing target. */ target?: UpdateDataPipelineRequestProcessorsConfigTarget; static names(): { [key: string]: string } { return { applications: 'applications', assignments: 'assignments', expression: 'expression', fields: 'fields', parameters: 'parameters', projections: 'projections', rules: 'rules', scope: 'scope', script: 'script', selector: 'selector', target: 'target', }; } static types(): { [key: string]: any } { return { applications: { 'type': 'array', 'itemType': 'string' }, assignments: { 'type': 'array', 'itemType': UpdateDataPipelineRequestProcessorsConfigAssignments }, expression: 'string', fields: { 'type': 'array', 'itemType': 'string' }, parameters: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' }, projections: { 'type': 'array', 'itemType': UpdateDataPipelineRequestProcessorsConfigProjections }, rules: { 'type': 'array', 'itemType': UpdateDataPipelineRequestProcessorsConfigRules }, scope: UpdateDataPipelineRequestProcessorsConfigScope, script: 'string', selector: UpdateDataPipelineRequestProcessorsConfigSelector, target: UpdateDataPipelineRequestProcessorsConfigTarget, }; } validate() { if(Array.isArray(this.applications)) { $dara.Model.validateArray(this.applications); } if(Array.isArray(this.assignments)) { $dara.Model.validateArray(this.assignments); } if(Array.isArray(this.fields)) { $dara.Model.validateArray(this.fields); } if(this.parameters) { $dara.Model.validateMap(this.parameters); } if(Array.isArray(this.projections)) { $dara.Model.validateArray(this.projections); } if(Array.isArray(this.rules)) { $dara.Model.validateArray(this.rules); } if(this.scope && typeof (this.scope as any).validate === 'function') { (this.scope as any).validate(); } if(this.selector && typeof (this.selector as any).validate === 'function') { (this.selector as any).validate(); } if(this.target && typeof (this.target as any).validate === 'function') { (this.target as any).validate(); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } } export class UpdateDataPipelineRequestProcessors extends $dara.Model { /** * @remarks * The processor configuration. */ config?: UpdateDataPipelineRequestProcessorsConfig; /** * @remarks * The processor name. * * @example * drop-health-check */ name?: string; /** * @remarks * The processor type. * * @example * filter */ type?: string; static names(): { [key: string]: string } { return { config: 'config', name: 'name', type: 'type', }; } static types(): { [key: string]: any } { return { config: UpdateDataPipelineRequestProcessorsConfig, name: 'string', type: 'string', }; } validate() { if(this.config && typeof (this.config as any).validate === 'function') { (this.config as any).validate(); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } } export class UpdateDataPipelineRequestSinks extends $dara.Model { /** * @remarks * The dataset list. */ datasets?: string[]; /** * @remarks * SLS Logstore * * @example * error-spans */ logstore?: string; /** * @remarks * The output destination name. * * @example * error-archive */ name?: string; /** * @remarks * SLS Project * * @example * customer-project */ project?: string; /** * @remarks * The output destination type. * * @example * logstore */ type?: string; static names(): { [key: string]: string } { return { datasets: 'datasets', logstore: 'logstore', name: 'name', project: 'project', type: 'type', }; } static types(): { [key: string]: any } { return { datasets: { 'type': 'array', 'itemType': 'string' }, logstore: 'string', name: 'string', project: 'string', type: 'string', }; } validate() { if(Array.isArray(this.datasets)) { $dara.Model.validateArray(this.datasets); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } } export class UpdateDataPipelineRequestSourceConfigTimeRange extends $dara.Model { /** * @remarks * The start time. * * @example * 1722844800 */ from?: number; /** * @remarks * The end time. * * @example * 1722848400 */ to?: number; static names(): { [key: string]: string } { return { from: 'from', to: 'to', }; } static types(): { [key: string]: any } { return { from: 'number', to: 'number', }; } validate() { super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } } export class UpdateDataPipelineRequestSourceConfig extends $dara.Model { /** * @remarks * The run mode. * * @example * continuous */ runMode?: string; /** * @remarks * The start position. * * @example * latest */ startFrom?: string; /** * @remarks * The backfill time range. */ timeRange?: UpdateDataPipelineRequestSourceConfigTimeRange; static names(): { [key: string]: string } { return { runMode: 'runMode', startFrom: 'startFrom', timeRange: 'timeRange', }; } static types(): { [key: string]: any } { return { runMode: 'string', startFrom: 'string', timeRange: UpdateDataPipelineRequestSourceConfigTimeRange, }; } validate() { if(this.timeRange && typeof (this.timeRange as any).validate === 'function') { (this.timeRange as any).validate(); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } } export class UpdateDataPipelineRequestSource extends $dara.Model { /** * @remarks * The datasource config. */ config?: UpdateDataPipelineRequestSourceConfig; /** * @remarks * The data source type. * * @example * traces-default */ type?: string; static names(): { [key: string]: string } { return { config: 'config', type: 'type', }; } static types(): { [key: string]: any } { return { config: UpdateDataPipelineRequestSourceConfig, type: 'string', }; } validate() { if(this.config && typeof (this.config as any).validate === 'function') { (this.config as any).validate(); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } } export class UpdateDataPipelineRequest extends $dara.Model { /** * @remarks * The description of the pipeline. * * @example * Export selected trace services to the target workspace. */ description?: string; /** * @remarks * The expected version. * * @example * 3 */ expectedVersion?: number; /** * @remarks * The type of the pipeline. * * @example * export */ kind?: string; /** * @remarks * The named outputs. */ outputs?: UpdateDataPipelineRequestOutputs[]; /** * @remarks * The common processors. */ processors?: UpdateDataPipelineRequestProcessors[]; /** * @remarks * The output destinations. */ sinks?: UpdateDataPipelineRequestSinks[]; /** * @remarks * The data source. */ source?: UpdateDataPipelineRequestSource; static names(): { [key: string]: string } { return { description: 'description', expectedVersion: 'expectedVersion', kind: 'kind', outputs: 'outputs', processors: 'processors', sinks: 'sinks', source: 'source', }; } static types(): { [key: string]: any } { return { description: 'string', expectedVersion: 'number', kind: 'string', outputs: { 'type': 'array', 'itemType': UpdateDataPipelineRequestOutputs }, processors: { 'type': 'array', 'itemType': UpdateDataPipelineRequestProcessors }, sinks: { 'type': 'array', 'itemType': UpdateDataPipelineRequestSinks }, source: UpdateDataPipelineRequestSource, }; } validate() { if(Array.isArray(this.outputs)) { $dara.Model.validateArray(this.outputs); } if(Array.isArray(this.processors)) { $dara.Model.validateArray(this.processors); } if(Array.isArray(this.sinks)) { $dara.Model.validateArray(this.sinks); } if(this.source && typeof (this.source as any).validate === 'function') { (this.source as any).validate(); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } }