struct_permission.go 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. package ecs
  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. // Permission is a nested struct in ecs response
  17. type Permission struct {
  18. IpProtocol string `json:"IpProtocol" xml:"IpProtocol"`
  19. PortRange string `json:"PortRange" xml:"PortRange"`
  20. SourcePortRange string `json:"SourcePortRange" xml:"SourcePortRange"`
  21. SourceGroupId string `json:"SourceGroupId" xml:"SourceGroupId"`
  22. SourceGroupName string `json:"SourceGroupName" xml:"SourceGroupName"`
  23. SourceCidrIp string `json:"SourceCidrIp" xml:"SourceCidrIp"`
  24. Policy string `json:"Policy" xml:"Policy"`
  25. NicType string `json:"NicType" xml:"NicType"`
  26. SourceGroupOwnerAccount string `json:"SourceGroupOwnerAccount" xml:"SourceGroupOwnerAccount"`
  27. DestGroupId string `json:"DestGroupId" xml:"DestGroupId"`
  28. DestGroupName string `json:"DestGroupName" xml:"DestGroupName"`
  29. DestCidrIp string `json:"DestCidrIp" xml:"DestCidrIp"`
  30. DestGroupOwnerAccount string `json:"DestGroupOwnerAccount" xml:"DestGroupOwnerAccount"`
  31. Priority string `json:"Priority" xml:"Priority"`
  32. Direction string `json:"Direction" xml:"Direction"`
  33. Description string `json:"Description" xml:"Description"`
  34. CreateTime string `json:"CreateTime" xml:"CreateTime"`
  35. }