2020-09-19 00:18:17 -04:00
|
|
|
// Code generated by "make api"; DO NOT EDIT.
|
2023-05-09 12:03:54 -04:00
|
|
|
// Copyright (c) HashiCorp, Inc.
|
|
|
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
|
|
2020-09-19 00:18:17 -04:00
|
|
|
package targets
|
|
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
"time"
|
|
|
|
|
|
|
|
|
|
"github.com/hashicorp/boundary/api/scopes"
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
type SessionAuthorization struct {
|
2021-06-22 22:26:26 -04:00
|
|
|
SessionId string `json:"session_id,omitempty"`
|
|
|
|
|
TargetId string `json:"target_id,omitempty"`
|
|
|
|
|
Scope *scopes.ScopeInfo `json:"scope,omitempty"`
|
|
|
|
|
CreatedTime time.Time `json:"created_time,omitempty"`
|
|
|
|
|
UserId string `json:"user_id,omitempty"`
|
|
|
|
|
HostSetId string `json:"host_set_id,omitempty"`
|
|
|
|
|
HostId string `json:"host_id,omitempty"`
|
|
|
|
|
Type string `json:"type,omitempty"`
|
|
|
|
|
AuthorizationToken string `json:"authorization_token,omitempty"`
|
2024-01-21 19:34:33 -08:00
|
|
|
ConnectionLimit int32 `json:"connection_limit,omitempty"`
|
2021-06-22 22:26:26 -04:00
|
|
|
Endpoint string `json:"endpoint,omitempty"`
|
2023-10-22 17:48:54 -07:00
|
|
|
EndpointPort uint32 `json:"endpoint_port,omitempty"`
|
|
|
|
|
Expiration time.Time `json:"expiration,omitempty"`
|
2021-06-22 22:26:26 -04:00
|
|
|
Credentials []*SessionCredential `json:"credentials,omitempty"`
|
2024-04-03 17:54:37 -07:00
|
|
|
SessionRecordingId string `json:"session_recording_id,omitempty"`
|
2020-09-19 00:18:17 -04:00
|
|
|
}
|