struct_permission.go 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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. Ipv6SourceCidrIp string `json:"Ipv6SourceCidrIp" xml:"Ipv6SourceCidrIp"`
  25. Policy string `json:"Policy" xml:"Policy"`
  26. NicType string `json:"NicType" xml:"NicType"`
  27. SourceGroupOwnerAccount string `json:"SourceGroupOwnerAccount" xml:"SourceGroupOwnerAccount"`
  28. DestGroupId string `json:"DestGroupId" xml:"DestGroupId"`
  29. DestGroupName string `json:"DestGroupName" xml:"DestGroupName"`
  30. DestCidrIp string `json:"DestCidrIp" xml:"DestCidrIp"`
  31. Ipv6DestCidrIp string `json:"Ipv6DestCidrIp" xml:"Ipv6DestCidrIp"`
  32. DestGroupOwnerAccount string `json:"DestGroupOwnerAccount" xml:"DestGroupOwnerAccount"`
  33. Priority string `json:"Priority" xml:"Priority"`
  34. Direction string `json:"Direction" xml:"Direction"`
  35. Description string `json:"Description" xml:"Description"`
  36. CreateTime string `json:"CreateTime" xml:"CreateTime"`
  37. }