/**
 * Bastion API
 * Oracle Cloud Infrastructure Bastion provides restricted and time-limited access to target resources that don't have public endpoints. Through the configuration of a bastion, you can let authorized users connect from specific IP addresses to target resources by way of Secure Shell (SSH) sessions hosted on the bastion.
 * OpenAPI spec version: 20210331
 *
 *
 * NOTE: This class is auto generated by OracleSDKGenerator.
 * Do not edit the class manually.
 *
 * Copyright (c) 2020, 2022, Oracle and/or its affiliates.  All rights reserved.
 * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
 */ import * as model from "../model" ; import common = require ( "oci-common" ) ; /**
 * Details about a managed SSH session for a target resource.
 */ export interface CreateManagedSshSessionTargetResourceDetails extends model . CreateSessionTargetResourceDetails { /**
     * The name of the user on the target resource operating system that the session uses for the connection.
     */ "targetResourceOperatingSystemUserName" : string ; /**
     * The unique identifier (OCID) of the target resource (a Compute instance, for example) that the session connects to.
     */ "targetResourceId" : string ; /**
     * The private IP address of the target resource that the session connects to.
     */ "targetResourcePrivateIpAddress" ? : string ; "sessionType" : string ; } export namespace CreateManagedSshSessionTargetResourceDetails { export function getJsonObj ( obj , isParentJsonObj ? ) { const jsonObj = { ... ( isParentJsonObj ? obj : ( model . CreateSessionTargetResourceDetails . getJsonObj ( obj ) as CreateManagedSshSessionTargetResourceDetails ) ) , ... { } } ; return jsonObj ; } export const sessionType = "MANAGED_SSH" ; export function getDeserializedJsonObj ( obj , isParentJsonObj ? ) { const jsonObj = { ... ( isParentJsonObj ? obj : ( model . CreateSessionTargetResourceDetails . getDeserializedJsonObj ( obj ) as CreateManagedSshSessionTargetResourceDetails ) ) , ... { } } ; return jsonObj ; } }