Alias create (#2193)

* feat: 🎸 create alias
This commit is contained in:
Dharini Jeeva authored and GitHub committed 2024-03-21 09:50:51 -07:00
1 parent 6d88206491
commit 2dbcc1c0af
9 files changed
+454 -2

No files matched your search

@@ -44,6 +44,12 @@ export default class GeneratedAliasModel extends BaseModel {
})
version;
@attr('string', {
description:
'This is the value referenced by the user that is resolved to the destination id.',
})
value;
@attr('string', {
description: 'This is the id of the resource that this Alias points to.',
})
+10
View File
@@ -0,0 +1,10 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import ApplicationSerializer from './application';
export default ApplicationSerializer.extend({
modelName: 'alias',
});
@@ -1002,5 +1002,26 @@ policy:
alias:
title: Alias
title_plural: Aliases
description: An Alias is a DNS-like string associated with a destination resource.
titles:
new: New Alias
messages:
none:
title: Welcome to Aliases
description: No Aliases yet
link: Create a new alias
form:
options:
label: Alias options
type:
label: Target
help: Servers, API Endpoints, and network devices
destination_id:
label: Target ID
help: Any resource in this scope or any orgs and projects inside it
value:
label: Alias Value
help: The alias you would like to use for this resource
authorize_session_arguments:
label: Host ID
help: Always use this host when connecting using this alias