github.com/vmware/go-vmware-nsxt@v0.0.0-20230223012718-d31b8a1ca05e/manager/firewall_service.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  type FirewallService struct {
     9  
    10  	// Will be set to false if the referenced NSX resource has been deleted.
    11  	IsValid bool `json:"is_valid,omitempty"`
    12  
    13  	// Display name of the NSX resource.
    14  	TargetDisplayName string `json:"target_display_name,omitempty"`
    15  
    16  	// Identifier of the NSX resource.
    17  	TargetId string `json:"target_id,omitempty"`
    18  
    19  	// Type of the NSX resource.
    20  	TargetType string `json:"target_type,omitempty"`
    21  
    22  	// Firewall API accepts raw protocol and ports as part of NS service element in Firewall Rule that describes traffic corresponding to an NSService.
    23  	Service *NsServiceElement `json:"service,omitempty"`
    24  }