github.com/huaweicloud/golangsdk@v0.0.0-20210831081626-d823fe11ceba/openstack/compute/v2/extensions/extendedserverattributes/results.go (about)

     1  package extendedserverattributes
     2  
     3  // ServerAttributesExt represents OS-EXT-SRV-ATTR server response fields.
     4  //
     5  // Following fields will be added after implementing full API microversion
     6  // support in the Gophercloud:
     7  //
     8  //  - OS-EXT-SRV-ATTR:reservation_id"
     9  //  - OS-EXT-SRV-ATTR:launch_index"
    10  //  - OS-EXT-SRV-ATTR:hostname"
    11  //  - OS-EXT-SRV-ATTR:kernel_id"
    12  //  - OS-EXT-SRV-ATTR:ramdisk_id"
    13  //  - OS-EXT-SRV-ATTR:root_device_name"
    14  //  - OS-EXT-SRV-ATTR:user_data"
    15  type ServerAttributesExt struct {
    16  	Host               string `json:"OS-EXT-SRV-ATTR:host"`
    17  	InstanceName       string `json:"OS-EXT-SRV-ATTR:instance_name"`
    18  	HypervisorHostname string `json:"OS-EXT-SRV-ATTR:hypervisor_hostname"`
    19  }