github.com/vmware/go-vmware-nsxt@v0.0.0-20230223012718-d31b8a1ca05e/manager/compute_collection.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 import ( 9 "github.com/vmware/go-vmware-nsxt/common" 10 ) 11 12 type ComputeCollection 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 // Timestamp of last modification 22 LastSyncTime int64 `json:"_last_sync_time,omitempty"` 23 24 // Description of this resource 25 Description string `json:"description,omitempty"` 26 27 // Defaults to ID if not set 28 DisplayName string `json:"display_name,omitempty"` 29 30 // The type of this resource. 31 ResourceType string `json:"resource_type,omitempty"` 32 33 // Opaque identifiers meaningful to the API user 34 Tags []common.Tag `json:"tags,omitempty"` 35 36 // Local Id of the compute collection in the Compute Manager 37 CmLocalId string `json:"cm_local_id,omitempty"` 38 39 // External ID of the ComputeCollection in the source Compute manager, e.g. mo-ref in VC 40 ExternalId string `json:"external_id,omitempty"` 41 42 // Id of the compute manager from where this Compute Collection was discovered 43 OriginId string `json:"origin_id,omitempty"` 44 45 // Key-Value map of additional specific properties of compute collection in the Compute Manager 46 OriginProperties []common.KeyValuePair `json:"origin_properties,omitempty"` 47 48 // ComputeCollection type like VC_Cluster. Here the Compute Manager type prefix would help in differentiating similar named Compute Collection types from different Compute Managers 49 OriginType string `json:"origin_type,omitempty"` 50 }