Add Host and Catalogs to the API resource
This commit is contained in:
1 parent
92df5cf8c7
commit
5f20eb60ad
8 files changed
+837
-223
No files matched your search
@@ -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"`
|
||||
}
|
||||
@@ -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"`
|
||||
}
|
||||
Reference in new issue
Block a user