Files
threshold-ui/addons/api/addon/generated/models/target.js
T

118 lines
2.6 KiB
JavaScript
Raw Normal View History

/**
2026-01-28 17:09:06 -08:00
* Copyright IBM Corp. 2021, 2026
* SPDX-License-Identifier: BUSL-1.1
*/
2020-08-21 11:48:24 -04:00
import BaseModel from '../../models/base';
import { attr } from '@ember-data/model';
/**
* Target
*/
export default class GeneratedTargetModel extends BaseModel {
// =attributes
@attr('string', {
2020-09-16 14:29:02 -04:00
description: 'The type of the resource, to help differentiate schemas',
})
type;
2020-08-21 11:48:24 -04:00
@attr('string', {
2020-09-16 14:29:02 -04:00
description: 'Optional name for identification purposes',
})
name;
2020-08-21 11:48:24 -04:00
@attr('string', {
2020-09-16 14:29:02 -04:00
description: 'Optional user-set description for identification purposes',
})
description;
2020-08-21 11:48:24 -04:00
2020-10-02 14:50:35 -04:00
@attr('number', {
description: '',
2021-03-04 15:47:38 -05:00
defaultValue: 28800,
2020-10-02 14:50:35 -04:00
})
session_max_seconds;
@attr('number', {
description: '',
})
session_connection_limit;
@attr('string', {
description:
'Optional boolean expressions to filter the egress workers that are allowed to satisfy this request.',
})
egress_worker_filter;
@attr('string', {
description:
'Optional boolean expressions to filter the ingress workers that are allowed to satisfy this request.',
})
ingress_worker_filter;
2020-08-21 11:48:24 -04:00
@attr('date', {
description: 'The time this resource was created\nOutput only.',
2020-09-16 14:29:02 -04:00
readOnly: true,
})
created_time;
2020-08-21 11:48:24 -04:00
@attr('date', {
description: 'The time this resource was last updated\nOutput only.',
2020-09-16 14:29:02 -04:00
readOnly: true,
})
updated_time;
2020-08-21 11:48:24 -04:00
@attr('boolean', {
2020-09-16 14:29:02 -04:00
description: 'Whether the catalog is disabled',
})
disabled;
2020-08-21 11:48:24 -04:00
2020-08-21 15:13:55 -04:00
@attr('number', {
description: 'Current version number of this resource.',
})
version;
2023-01-09 12:35:42 -05:00
@attr('string', {
description:
'An IP address or DNS name for the session to connect to. Cannot be used in conjunction with host sources.',
})
address;
2023-05-31 20:13:56 -04:00
@attr('number', {
isNestedAttribute: true,
description: 'The default port a target should use if present.',
})
default_port;
@attr('number', {
isNestedAttribute: true,
description:
"The default port that will be listened on by the client's local proxy.",
})
default_client_port;
@attr('string', {
description: 'The storage bucket associated with this target.',
isNestedAttribute: true,
})
storage_bucket_id;
@attr('boolean', {
description: 'Whether session recording is enabled on the target.',
isNestedAttribute: true,
})
enable_session_recording;
@attr('array', {
description:
'with_aliases specify the aliases that should be created when the target is created. ',
})
with_aliases;
2024-04-11 14:18:38 -07:00
@attr('array', {
readOnly: true,
description:
'with_aliases specify the aliases that should be created when the target is created. ',
})
aliases;
2020-08-21 11:48:24 -04:00
}