Skip to content

Commit

Permalink
Merge pull request #80 from cwt-dev/f-missing_fields
Browse files Browse the repository at this point in the history
Add missing API fields for structs
  • Loading branch information
marinsalinas authored Apr 2, 2020
2 parents dcfb2f5 + 73ebe52 commit 0c158af
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions client/v3/v3_structs.go
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,9 @@ type VMResources struct {
// NICs attached to the VM.
NicList []*VMNic `json:"nic_list,omitempty"`

// Number of threads per core
NumThreads *int64 `json:"num_threads_per_core,omitempty"`

// Number of vCPU sockets.
NumSockets *int64 `json:"num_sockets,omitempty"`

Expand Down Expand Up @@ -836,6 +839,9 @@ type ImageResources struct {

// The image version
Version *ImageVersionResources `json:"version,omitempty"`

// Reference to the source image such as 'vm_disk
DataSourceReference *Reference `json:"data_source_reference,omitempty"`
}

// Image An intentful representation of a image spec
Expand Down Expand Up @@ -1620,6 +1626,9 @@ type Metadata struct {
OwnerReference *Reference `json:"owner_reference,omitempty"`
Categories map[string]string `json:"categories,omitempty"`
Name *string `json:"name,omitempty"`

// Applied on Prism Central only. Indicate whether force to translate the spec of the fanout request to fit the target cluster API schema.
ShouldForceTranslate *bool `json:"should_force_translate,omitempty"`
}

// NetworkSecurityRuleIntentInput An intentful representation of a network_security_rule
Expand Down

0 comments on commit 0c158af

Please sign in to comment.