struct_service_instance.go 1.3 KB

12345678910111213141516171819202122232425262728
  1. package retailcloud
  2. //Licensed under the Apache License, Version 2.0 (the "License");
  3. //you may not use this file except in compliance with the License.
  4. //You may obtain a copy of the License at
  5. //
  6. //http://www.apache.org/licenses/LICENSE-2.0
  7. //
  8. //Unless required by applicable law or agreed to in writing, software
  9. //distributed under the License is distributed on an "AS IS" BASIS,
  10. //WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  11. //See the License for the specific language governing permissions and
  12. //limitations under the License.
  13. //
  14. // Code generated by Alibaba Cloud SDK Code Generator.
  15. // Changes may cause incorrect behavior and will be lost if the code is regenerated.
  16. // ServiceInstance is a nested struct in retailcloud response
  17. type ServiceInstance struct {
  18. AppId int64 `json:"AppId" xml:"AppId"`
  19. EnvId int64 `json:"EnvId" xml:"EnvId"`
  20. Headless bool `json:"Headless" xml:"Headless"`
  21. K8sServiceId string `json:"K8sServiceId" xml:"K8sServiceId"`
  22. Name string `json:"Name" xml:"Name"`
  23. ServiceId int64 `json:"ServiceId" xml:"ServiceId"`
  24. ServiceType string `json:"ServiceType" xml:"ServiceType"`
  25. PortMappings []ServicePortMapping `json:"PortMappings" xml:"PortMappings"`
  26. }