github.com/vmware/go-vmware-nsxt@v0.0.0-20230223012718-d31b8a1ca05e/clustercontrolplane/model_cluster_control_plane.go (about)

     1  /*
     2   * NSX-T Data Center Policy API
     3   *
     4   * VMware NSX-T Data Center Policy REST API
     5   *
     6   * API version: 3.2.0.0.0
     7   * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
     8   */
     9  
    10  package clustercontrolplane
    11  
    12  import (
    13  	"github.com/vmware/go-vmware-nsxt/common"
    14  )
    15  
    16  // The Cluster Control Plane infomation.
    17  type ClusterControlPlane 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  	// 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.
    25  	Revision int32 `json:"_revision,omitempty"`
    26  	// Timestamp of resource creation
    27  	CreateTime int64 `json:"_create_time,omitempty"`
    28  	// ID of the user who created this resource
    29  	CreateUser string `json:"_create_user,omitempty"`
    30  	// Timestamp of last modification
    31  	LastModifiedTime int64 `json:"_last_modified_time,omitempty"`
    32  	// ID of the user who last modified this resource
    33  	LastModifiedUser string `json:"_last_modified_user,omitempty"`
    34  	// Protection status is one of the following: PROTECTED - the client who retrieved the entity is not allowed             to modify it. NOT_PROTECTED - the client who retrieved the entity is allowed                 to modify it REQUIRE_OVERRIDE - the client who retrieved the entity is a super                    user and can modify it, but only when providing                    the request header X-Allow-Overwrite=true. UNKNOWN - the _protection field could not be determined for this           entity.
    35  	Protection string `json:"_protection,omitempty"`
    36  	// Indicates system owned resource
    37  	SystemOwned bool `json:"_system_owned,omitempty"`
    38  	// Description of this resource
    39  	Description string `json:"description,omitempty"`
    40  	// Defaults to ID if not set
    41  	DisplayName string `json:"display_name,omitempty"`
    42  	// Unique identifier of this resource
    43  	Id string `json:"id,omitempty"`
    44  	// The type of this resource.
    45  	ResourceType string `json:"resource_type,omitempty"`
    46  	// Opaque identifiers meaningful to the API user
    47  	Tags []common.Tag `json:"tags,omitempty"`
    48  	// Path of its parent
    49  	ParentPath string `json:"parent_path,omitempty"`
    50  	// Absolute path of this object
    51  	Path string `json:"path,omitempty"`
    52  	// Path relative from its parent
    53  	RelativePath string `json:"relative_path,omitempty"`
    54  	// This is a UUID generated by the GM/LM to uniquely identify entites in a federated environment. For entities that are stretched across multiple sites, the same ID will be used on all the stretched sites.
    55  	UniqueId string `json:"unique_id,omitempty"`
    56  	// subtree for this type within policy tree containing nested elements.
    57  	// Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects.
    58  	MarkedForDelete bool `json:"marked_for_delete,omitempty"`
    59  	// Global intent objects cannot be modified by the user. However, certain global intent objects can be overridden locally by use of this property. In such cases, the overridden local values take precedence over the globally defined values for the properties.
    60  	Overridden bool `json:"overridden,omitempty"`
    61  	// This property is used to identify the cluster control plane in NSX-T. This id should assigned by NSX-T in create process.
    62  	NodeId string `json:"node_id,omitempty"`
    63  	// This property should be afford in create process for VHC module requirement.
    64  	VhcPath string `json:"vhc_path,omitempty"`
    65  	// certificate for this cluster control plane
    66  	Certificate string `json:"certificate,omitempty"`
    67  }