github.com/vmware/go-vmware-nsxt@v0.0.0-20230223012718-d31b8a1ca05e/manager/logical_port_attachment.go (about)

     1  /* Copyright © 2017 VMware, Inc. All Rights Reserved.
     2     SPDX-License-Identifier: BSD-2-Clause
     3  
     4     Generated by: https://github.com/swagger-api/swagger-codegen.git */
     5  
     6  package manager
     7  
     8  // Logical port attachment
     9  type LogicalPortAttachment struct {
    10  
    11  	// Indicates the type of logical port attachment. By default it is Virtual Machine interface (VIF)
    12  	AttachmentType string `json:"attachment_type,omitempty"`
    13  
    14  	// Extra context data for the attachment
    15  	Context *AttachmentContext `json:"context,omitempty"`
    16  
    17  	// Identifier of the interface attached to the logical port
    18  	Id string `json:"id"`
    19  }