github.com/vmware/go-vmware-nsxt@v0.0.0-20230223012718-d31b8a1ca05e/containerinventory/container_application.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  // Container application within a project.
    17  type ContainerApplication 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  	// Identifier of the container cluster this container application belongs to.
    35  	ContainerClusterId string `json:"container_cluster_id,omitempty"`
    36  	// Identifier of the project which this container application belongs to.
    37  	ContainerProjectId string `json:"container_project_id,omitempty"`
    38  	// Identifier of the container application on container cluster e.g. PCF app id, k8s service id. 
    39  	ExternalId string `json:"external_id"`
    40  	// List of network errors related to container application.
    41  	NetworkErrors []common.NetworkError `json:"network_errors,omitempty"`
    42  	// Network status of container application.
    43  	NetworkStatus string `json:"network_status,omitempty"`
    44  	// Array of additional specific properties of container application in key-value format. 
    45  	OriginProperties []common.KeyValuePair `json:"origin_properties,omitempty"`
    46  	// Status of the container application.
    47  	Status string `json:"status,omitempty"`
    48  }