Add Host and Catalogs to the API resource

This commit is contained in:
Todd authored and Timothy Messier committed 2023-05-31 12:18:19 +00:00
1 parent 92df5cf8c7
commit 5f20eb60ad
8 files changed
+837 -223

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
// Code generated by "make api"; DO NOT EDIT.
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0
package sessionrecordings
type Host struct {
Id string `json:"id,omitempty"`
HostCatalog *HostCatalog `json:"host_catalog,omitempty"`
Name string `json:"name,omitempty"`
Description string `json:"description,omitempty"`
Type string `json:"type,omitempty"`
Attributes *StaticHostAttributes `json:"attributes,omitempty"`
ExternalId string `json:"external_id,omitempty"`
}
+19
View File
@@ -0,0 +1,19 @@
// Code generated by "make api"; DO NOT EDIT.
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0
package sessionrecordings
import (
"github.com/hashicorp/boundary/api/scopes"
)
type HostCatalog struct {
Id string `json:"id,omitempty"`
Scope *scopes.ScopeInfo `json:"scope,omitempty"`
PluginId string `json:"plugin_id,omitempty"`
Name string `json:"name,omitempty"`
Description string `json:"description,omitempty"`
Type string `json:"type,omitempty"`
Attributes map[string]interface{} `json:"attributes,omitempty"`
}
@@ -0,0 +1,9 @@
// Code generated by "make api"; DO NOT EDIT.
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0
package sessionrecordings
type StaticHostAttributes struct {
Address string `json:"address,omitempty"`
}
@@ -7,4 +7,5 @@ package sessionrecordings
type ValuesAtTime struct {
User *User `json:"user,omitempty"`
Target *Target `json:"target,omitempty"`
Host *Host `json:"host,omitempty"`
}