github.com/vmware/go-vmware-nsxt@v0.0.0-20230223012718-d31b8a1ca05e/containerinventory/container_ingress_policy.go (about) 1 /* 2 * NSX-T Manager API 3 * 4 * VMware NSX-T Manager REST API 5 * 6 * API version: 3.0.0.0.0 7 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) 8 */ 9 10 package containerinventory 11 12 import ( 13 "github.com/vmware/go-vmware-nsxt/common" 14 ) 15 16 // Details of Container Ingress Policy. 17 type ContainerIngressPolicy struct { 18 // The server will populate this field when returing the resource. Ignored on PUT and POST. 19 Links []common.ResourceLink `json:"_links,omitempty"` 20 // Schema for this resource 21 Schema string `json:"_schema,omitempty"` 22 // Link to this resource 23 Self *common.SelfResourceLink `json:"_self,omitempty"` 24 // Timestamp of last modification 25 LastSyncTime int64 `json:"_last_sync_time,omitempty"` 26 // Description of this resource 27 Description string `json:"description,omitempty"` 28 // Defaults to ID if not set 29 DisplayName string `json:"display_name,omitempty"` 30 // The type of this resource. 31 ResourceType string `json:"resource_type"` 32 // Opaque identifiers meaningful to the API user 33 Tags []common.Tag `json:"tags,omitempty"` 34 // List of identifiers of the container application , on which ingress policy is applied. e.g. IDs of all services on which the ingress is applied in kubernetes. 35 ContainerApplicationIds []string `json:"container_application_ids,omitempty"` 36 // Identifier of the container cluster this ingress policy belongs to. 37 ContainerClusterId string `json:"container_cluster_id,omitempty"` 38 // Identifier of the project which this container ingress belongs to. 39 ContainerProjectId string `json:"container_project_id,omitempty"` 40 // Identifier of the container ingress policy. 41 ExternalId string `json:"external_id"` 42 // List of network errors related to container ingress. 43 NetworkErrors []common.NetworkError `json:"network_errors,omitempty"` 44 // Network status of container ingress. 45 NetworkStatus string `json:"network_status,omitempty"` 46 // Array of additional specific properties of container ingress in key-value format. 47 OriginProperties []common.KeyValuePair `json:"origin_properties,omitempty"` 48 // Container ingress policy specification. 49 Spec string `json:"spec,omitempty"` 50 }