github.com/vmware/go-vmware-nsxt@v0.0.0-20230223012718-d31b8a1ca05e/policy/realized_firewall_section.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 policy 7 8 import ( 9 "github.com/vmware/go-vmware-nsxt/common" 10 ) 11 12 type RealizedFirewallSection struct { 13 14 // The server will populate this field when returing the resource. Ignored on PUT and POST. 15 Links []common.ResourceLink `json:"_links,omitempty"` 16 17 Schema string `json:"_schema,omitempty"` 18 19 Self *common.SelfResourceLink `json:"_self,omitempty"` 20 21 // The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected. 22 Revision int64 `json:"_revision"` 23 24 // Timestamp of resource creation 25 CreateTime int64 `json:"_create_time,omitempty"` 26 27 // ID of the user who created this resource 28 CreateUser string `json:"_create_user,omitempty"` 29 30 // Timestamp of last modification 31 LastModifiedTime int64 `json:"_last_modified_time,omitempty"` 32 33 // ID of the user who last modified this resource 34 LastModifiedUser string `json:"_last_modified_user,omitempty"` 35 36 // Indicates system owned resource 37 SystemOwned bool `json:"_system_owned,omitempty"` 38 39 // Description of this resource 40 Description string `json:"description,omitempty"` 41 42 // Defaults to ID if not set 43 DisplayName string `json:"display_name,omitempty"` 44 45 // Unique identifier of this resource 46 Id string `json:"id,omitempty"` 47 48 ResourceType string `json:"resource_type"` 49 50 // Opaque identifiers meaningful to the API user 51 Tags []common.Tag `json:"tags,omitempty"` 52 53 // Absolute path of this object 54 Path string `json:"path,omitempty"` 55 56 // Path relative from its parent 57 RelativePath string `json:"relative_path,omitempty"` 58 59 // Alarm info detail 60 Alarms []PolicyAlarmResource `json:"alarms,omitempty"` 61 62 // Desire state paths of this object 63 IntentReference []string `json:"intent_reference,omitempty"` 64 65 // Realization id of this object 66 RealizationSpecificIdentifier string `json:"realization_specific_identifier,omitempty"` 67 68 // Realization state of this object 69 State string `json:"state"` 70 71 // Number of rules in this section. 72 RuleCount int64 `json:"rule_count,omitempty"` 73 74 // List of firewall rules in the section. 75 Rules []RealizedFirewallRule `json:"rules,omitempty"` 76 77 // Type of the rules which a section can contain. 78 SectionType string `json:"section_type,omitempty"` 79 }