github.com/vmware/go-vmware-nsxt@v0.0.0-20230223012718-d31b8a1ca05e/upgrade/aws_subnet.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 AwsSubnet 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 AvailabilityZone string `json:"availability_zone,omitempty"` 37 38 // IPV4 CIDR Block for the Vpc 39 Cidr string `json:"cidr"` 40 41 // ID of subnet 42 Id string `json:"id"` 43 44 // ID of the vpc 45 VpcId string `json:"vpc_id"` 46 }