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