Skip to content

Commit

Permalink
introduce TagIDs field
Browse files Browse the repository at this point in the history
  • Loading branch information
rvanderp3 committed Dec 6, 2023
1 parent f220962 commit a4977fd
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 0 deletions.
5 changes: 5 additions & 0 deletions machine/v1beta1/types_vsphereprovider.go
Expand Up @@ -51,6 +51,11 @@ type VSphereMachineProviderSpec struct {
// This parameter will be ignored if 'LinkedClone' CloneMode is set.
// +optional
DiskGiB int32 `json:"diskGiB,omitempty"`
// TagIDs is an optional set of tags to add to an instance. Specified tagIDs
// must use URN-notation instead of display names.
// For example: urn:vmomi:InventoryServiceTag:5736bf56-49f5-4667-b38c-b97e09dc9578:GLOBAL
// +optional
TagIDs []string `json:"tagIDs,omitempty"`
// Snapshot is the name of the snapshot from which the VM was cloned
// +optional
Snapshot string `json:"snapshot"`
Expand Down
5 changes: 5 additions & 0 deletions machine/v1beta1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions machine/v1beta1/zz_generated.swagger_doc_generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions openapi/generated_openapi/zz_generated.openapi.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions openapi/openapi.json
Expand Up @@ -21533,6 +21533,14 @@
"type": "string",
"default": ""
},
"tagIDs": {
"description": "TagIDs is an optional set of tags to add to an instance. Specified tagIDs must use URN-notation instead of display names. For example: urn:vmomi:InventoryServiceTag:5736bf56-49f5-4667-b38c-b97e09dc9578:GLOBAL",
"type": "array",
"items": {
"type": "string",
"default": ""
}
},
"template": {
"description": "Template is the name, inventory path, or instance UUID of the template used to clone new machines.",
"type": "string",
Expand Down

0 comments on commit a4977fd

Please sign in to comment.