github.com/vmware/go-vmware-nsxt@v0.0.0-20230223012718-d31b8a1ca05e/upgrade/aws_virtual_machine.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 upgrade 7 8 import ( 9 "github.com/vmware/go-vmware-nsxt/common" 10 ) 11 12 type AwsVirtualMachine 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 // 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. 22 Revision int64 `json:"_revision"` 23 24 // Timestamp of resource creation 25 CreateTime int64 `json:"_create_time,omitempty"` 26 27 // ID of the user who created this resource 28 CreateUser string `json:"_create_user,omitempty"` 29 30 // Timestamp of last modification 31 LastModifiedTime int64 `json:"_last_modified_time,omitempty"` 32 33 // ID of the user who last modified this resource 34 LastModifiedUser string `json:"_last_modified_user,omitempty"` 35 36 // Indicates system owned resource 37 SystemOwned bool `json:"_system_owned,omitempty"` 38 39 // Description of this resource 40 Description string `json:"description,omitempty"` 41 42 // Defaults to ID if not set 43 DisplayName string `json:"display_name,omitempty"` 44 45 // Unique identifier of this resource 46 Id string `json:"id,omitempty"` 47 48 // The type of this resource 49 ResourceType string `json:"resource_type"` 50 51 // Opaque identifiers meaningful to the API user 52 Tags []common.Tag `json:"tags,omitempty"` 53 54 // Agent Status 55 AgentStatus string `json:"agent_status,omitempty"` 56 57 // Agent version details 58 AgentVersion string `json:"agent_version,omitempty"` 59 60 // Cloud tags for the virtual machine 61 CloudTags []CloudTag `json:"cloud_tags,omitempty"` 62 63 // List of Error Messages obtained from PCM related to VM 64 ErrorMessages []ComputeInstanceErrorMessage `json:"error_messages,omitempty"` 65 66 // Index of HA that indicates whether gateway is primary or secondary. If index is 0, then it is primary gateway. Else secondary gateway. 67 GatewayHaIndex int64 `json:"gateway_ha_index,omitempty"` 68 69 // Gateway Status 70 GatewayStatus string `json:"gateway_status,omitempty"` 71 72 // Flag to identify if this VM is a gateway node 73 IsGateway bool `json:"is_gateway,omitempty"` 74 75 // Flag to identify if this VM is an active gateway node 76 IsGatewayActive bool `json:"is_gateway_active,omitempty"` 77 78 // Logical Switch display name 79 LogicalSwitchDisplayName string `json:"logical_switch_display_name,omitempty"` 80 81 // Logical Switch ID 82 LogicalSwitchId string `json:"logical_switch_id,omitempty"` 83 84 // Indicate if vm is managed by NSX or not 85 ManagedByNsx bool `json:"managed_by_nsx,omitempty"` 86 87 // IP address provided by Nsx 88 NsxIp string `json:"nsx_ip,omitempty"` 89 90 // Operating system details 91 OsDetails string `json:"os_details,omitempty"` 92 93 // Operating system of the virtual machine 94 OsType string `json:"os_type,omitempty"` 95 96 // Private IP address of the virtual machine 97 PrivateIp string `json:"private_ip,omitempty"` 98 99 // Public IP address of the virtual machine 100 PublicIp string `json:"public_ip,omitempty"` 101 102 // Quarantine State of VM 103 QuarantineState string `json:"quarantine_state,omitempty"` 104 105 // Availability Zone of the virtual machine 106 AvailabilityZone string `json:"availability_zone,omitempty"` 107 108 // Region of the virtual machine 109 Region string `json:"region,omitempty"` 110 111 // VPC id of the virtual machine 112 Vpc string `json:"vpc,omitempty"` 113 114 // VPC name of the virtual machine 115 VpcName string `json:"vpc_name,omitempty"` 116 }