Ver código fonte

Merge pull request #320 from aliyun/dev_8.22

fix:update nas
wenzuochao 6 anos atrás
pai
commit
8d633f1015
65 arquivos alterados com 346 adições e 804 exclusões
  1. 5 4
      services/nas/add_client_to_black_list.go
  2. 4 5
      services/nas/add_tags.go
  3. 2 2
      services/nas/apply_auto_snapshot_policy.go
  4. 2 2
      services/nas/cancel_auto_snapshot_policy.go
  5. 2 27
      services/nas/client.go
  6. 4 4
      services/nas/create_access_group.go
  7. 4 4
      services/nas/create_access_rule.go
  8. 4 4
      services/nas/create_auto_snapshot_policy.go
  9. 4 4
      services/nas/create_file_system.go
  10. 4 4
      services/nas/create_ldap_config.go
  11. 6 6
      services/nas/create_mount_target.go
  12. 4 4
      services/nas/create_snapshot.go
  13. 2 2
      services/nas/delete_access_group.go
  14. 2 2
      services/nas/delete_access_rule.go
  15. 2 2
      services/nas/delete_auto_snapshot_policy.go
  16. 2 2
      services/nas/delete_file_system.go
  17. 2 2
      services/nas/delete_ldap_config.go
  18. 3 3
      services/nas/delete_mount_target.go
  19. 2 2
      services/nas/delete_snapshot.go
  20. 21 9
      services/nas/describe_access_groups.go
  21. 21 9
      services/nas/describe_access_rules.go
  22. 24 8
      services/nas/describe_auto_snapshot_policies.go
  23. 4 3
      services/nas/describe_black_list_clients.go
  24. 57 9
      services/nas/describe_file_systems.go
  25. 10 4
      services/nas/describe_ldap_config.go
  26. 21 8
      services/nas/describe_mount_targets.go
  27. 18 8
      services/nas/describe_regions.go
  28. 29 12
      services/nas/describe_snapshots.go
  29. 24 11
      services/nas/describe_tags.go
  30. 23 4
      services/nas/describe_zones.go
  31. 0 23
      services/nas/endpoint.go
  32. 3 3
      services/nas/modify_access_group.go
  33. 5 5
      services/nas/modify_access_rule.go
  34. 4 4
      services/nas/modify_auto_snapshot_policy.go
  35. 3 3
      services/nas/modify_file_system.go
  36. 4 4
      services/nas/modify_ldap_config.go
  37. 3 3
      services/nas/modify_mount_target.go
  38. 5 4
      services/nas/remove_client_from_black_list.go
  39. 4 5
      services/nas/remove_tags.go
  40. 3 3
      services/nas/reset_file_system.go
  41. 0 25
      services/nas/struct_access_group.go
  42. 0 21
      services/nas/struct_access_groups.go
  43. 0 25
      services/nas/struct_access_rule.go
  44. 0 21
      services/nas/struct_access_rules.go
  45. 0 21
      services/nas/struct_auto_snapshot_policies.go
  46. 0 29
      services/nas/struct_auto_snapshot_policy.go
  47. 0 21
      services/nas/struct_capacity.go
  48. 0 34
      services/nas/struct_file_system.go
  49. 0 21
      services/nas/struct_file_system_ids.go
  50. 0 21
      services/nas/struct_file_systems.go
  51. 0 23
      services/nas/struct_ldap.go
  52. 0 27
      services/nas/struct_mount_target.go
  53. 0 21
      services/nas/struct_mount_targets_in_describe_file_systems.go
  54. 0 21
      services/nas/struct_mount_targets_in_describe_mount_targets.go
  55. 0 21
      services/nas/struct_package.go
  56. 0 21
      services/nas/struct_packages.go
  57. 0 21
      services/nas/struct_performance.go
  58. 0 23
      services/nas/struct_region.go
  59. 0 21
      services/nas/struct_regions.go
  60. 0 30
      services/nas/struct_snapshot.go
  61. 0 21
      services/nas/struct_snapshots.go
  62. 0 23
      services/nas/struct_tag.go
  63. 0 21
      services/nas/struct_tags.go
  64. 0 23
      services/nas/struct_zone.go
  65. 0 21
      services/nas/struct_zones.go

+ 5 - 4
services/nas/add_client_to_black_list.go

@@ -1,5 +1,3 @@
-package nas
-
 //Licensed under the Apache License, Version 2.0 (the "License");
 //you may not use this file except in compliance with the License.
 //You may obtain a copy of the License at
@@ -15,6 +13,8 @@ package nas
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package nas
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
@@ -76,9 +76,10 @@ func (client *Client) AddClientToBlackListWithCallback(request *AddClientToBlack
 // AddClientToBlackListRequest is the request struct for api AddClientToBlackList
 type AddClientToBlackListRequest struct {
 	*requests.RpcRequest
-	ClientToken  string `position:"Query" name:"ClientToken"`
-	ClientIP     string `position:"Query" name:"ClientIP"`
+	RegionId     string `position:"Query" name:"RegionId"`
 	FileSystemId string `position:"Query" name:"FileSystemId"`
+	ClientIP     string `position:"Query" name:"ClientIP"`
+	ClientToken  string `position:"Query" name:"ClientToken"`
 }
 
 // AddClientToBlackListResponse is the response struct for api AddClientToBlackList

+ 4 - 5
services/nas/add_tags.go

@@ -1,5 +1,3 @@
-package nas
-
 //Licensed under the Apache License, Version 2.0 (the "License");
 //you may not use this file except in compliance with the License.
 //You may obtain a copy of the License at
@@ -15,6 +13,8 @@ package nas
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package nas
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
@@ -76,14 +76,13 @@ func (client *Client) AddTagsWithCallback(request *AddTagsRequest, callback func
 // AddTagsRequest is the request struct for api AddTags
 type AddTagsRequest struct {
 	*requests.RpcRequest
-	Tag          *[]AddTagsTag `position:"Query" name:"Tag"  type:"Repeated"`
 	FileSystemId string        `position:"Query" name:"FileSystemId"`
+	Tag          *[]AddTagsTag `position:"Query" name:"Tag" type:"Repeated"`
 }
 
-// AddTagsTag is a repeated param struct in AddTagsRequest
 type AddTagsTag struct {
-	Value string `name:"Value"`
 	Key   string `name:"Key"`
+	Value string `name:"Value"`
 }
 
 // AddTagsResponse is the response struct for api AddTags

+ 2 - 2
services/nas/apply_auto_snapshot_policy.go

@@ -1,5 +1,3 @@
-package nas
-
 //Licensed under the Apache License, Version 2.0 (the "License");
 //you may not use this file except in compliance with the License.
 //You may obtain a copy of the License at
@@ -15,6 +13,8 @@ package nas
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package nas
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"

+ 2 - 2
services/nas/cancel_auto_snapshot_policy.go

@@ -1,5 +1,3 @@
-package nas
-
 //Licensed under the Apache License, Version 2.0 (the "License");
 //you may not use this file except in compliance with the License.
 //You may obtain a copy of the License at
@@ -15,6 +13,8 @@ package nas
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package nas
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"

+ 2 - 27
services/nas/client.go

@@ -1,5 +1,3 @@
-package nas
-
 //Licensed under the Apache License, Version 2.0 (the "License");
 //you may not use this file except in compliance with the License.
 //You may obtain a copy of the License at
@@ -15,9 +13,9 @@ package nas
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
-import (
-	"reflect"
+package nas
 
+import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/auth"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/auth/credentials/provider"
@@ -28,25 +26,10 @@ type Client struct {
 	sdk.Client
 }
 
-// SetClientProperty Set Property by Reflect
-func SetClientProperty(client *Client, propertyName string, propertyValue interface{}) {
-	v := reflect.ValueOf(client).Elem()
-	if v.FieldByName(propertyName).IsValid() && v.FieldByName(propertyName).CanSet() {
-		v.FieldByName(propertyName).Set(reflect.ValueOf(propertyValue))
-	}
-}
-
-// SetEndpointDataToClient Set EndpointMap and ENdpointType
-func SetEndpointDataToClient(client *Client) {
-	SetClientProperty(client, "EndpointMap", GetEndpointMap())
-	SetClientProperty(client, "EndpointType", GetEndpointType())
-}
-
 // NewClient creates a sdk client with environment variables
 func NewClient() (client *Client, err error) {
 	client = &Client{}
 	err = client.Init()
-	SetEndpointDataToClient(client)
 	return
 }
 
@@ -61,7 +44,6 @@ func NewClientWithProvider(regionId string, providers ...provider.Provider) (cli
 		pc = provider.NewProviderChain(providers)
 	}
 	err = client.InitWithProviderChain(regionId, pc)
-	SetEndpointDataToClient(client)
 	return
 }
 
@@ -70,7 +52,6 @@ func NewClientWithProvider(regionId string, providers ...provider.Provider) (cli
 func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error) {
 	client = &Client{}
 	err = client.InitWithOptions(regionId, config, credential)
-	SetEndpointDataToClient(client)
 	return
 }
 
@@ -79,7 +60,6 @@ func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.C
 func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error) {
 	client = &Client{}
 	err = client.InitWithAccessKey(regionId, accessKeyId, accessKeySecret)
-	SetEndpointDataToClient(client)
 	return
 }
 
@@ -88,7 +68,6 @@ func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (clie
 func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error) {
 	client = &Client{}
 	err = client.InitWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken)
-	SetEndpointDataToClient(client)
 	return
 }
 
@@ -97,7 +76,6 @@ func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToke
 func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error) {
 	client = &Client{}
 	err = client.InitWithRamRoleArn(regionId, accessKeyId, accessKeySecret, roleArn, roleSessionName)
-	SetEndpointDataToClient(client)
 	return
 }
 
@@ -106,7 +84,6 @@ func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, role
 func NewClientWithRamRoleArnAndPolicy(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName, policy string) (client *Client, err error) {
 	client = &Client{}
 	err = client.InitWithRamRoleArnAndPolicy(regionId, accessKeyId, accessKeySecret, roleArn, roleSessionName, policy)
-	SetEndpointDataToClient(client)
 	return
 }
 
@@ -115,7 +92,6 @@ func NewClientWithRamRoleArnAndPolicy(regionId string, accessKeyId, accessKeySec
 func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client, err error) {
 	client = &Client{}
 	err = client.InitWithEcsRamRole(regionId, roleName)
-	SetEndpointDataToClient(client)
 	return
 }
 
@@ -124,6 +100,5 @@ func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client,
 func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error) {
 	client = &Client{}
 	err = client.InitWithRsaKeyPair(regionId, publicKeyId, privateKey, sessionExpiration)
-	SetEndpointDataToClient(client)
 	return
 }

+ 4 - 4
services/nas/create_access_group.go

@@ -1,5 +1,3 @@
-package nas
-
 //Licensed under the Apache License, Version 2.0 (the "License");
 //you may not use this file except in compliance with the License.
 //You may obtain a copy of the License at
@@ -15,6 +13,8 @@ package nas
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package nas
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
@@ -76,9 +76,9 @@ func (client *Client) CreateAccessGroupWithCallback(request *CreateAccessGroupRe
 // CreateAccessGroupRequest is the request struct for api CreateAccessGroup
 type CreateAccessGroupRequest struct {
 	*requests.RpcRequest
-	Description     string `position:"Query" name:"Description"`
-	AccessGroupType string `position:"Query" name:"AccessGroupType"`
 	AccessGroupName string `position:"Query" name:"AccessGroupName"`
+	AccessGroupType string `position:"Query" name:"AccessGroupType"`
+	Description     string `position:"Query" name:"Description"`
 	FileSystemType  string `position:"Query" name:"FileSystemType"`
 }
 

+ 4 - 4
services/nas/create_access_rule.go

@@ -1,5 +1,3 @@
-package nas
-
 //Licensed under the Apache License, Version 2.0 (the "License");
 //you may not use this file except in compliance with the License.
 //You may obtain a copy of the License at
@@ -15,6 +13,8 @@ package nas
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package nas
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
@@ -76,11 +76,11 @@ func (client *Client) CreateAccessRuleWithCallback(request *CreateAccessRuleRequ
 // CreateAccessRuleRequest is the request struct for api CreateAccessRule
 type CreateAccessRuleRequest struct {
 	*requests.RpcRequest
-	RWAccessType    string           `position:"Query" name:"RWAccessType"`
+	AccessGroupName string           `position:"Query" name:"AccessGroupName"`
 	SourceCidrIp    string           `position:"Query" name:"SourceCidrIp"`
+	RWAccessType    string           `position:"Query" name:"RWAccessType"`
 	UserAccessType  string           `position:"Query" name:"UserAccessType"`
 	Priority        requests.Integer `position:"Query" name:"Priority"`
-	AccessGroupName string           `position:"Query" name:"AccessGroupName"`
 	FileSystemType  string           `position:"Query" name:"FileSystemType"`
 }
 

+ 4 - 4
services/nas/create_auto_snapshot_policy.go

@@ -1,5 +1,3 @@
-package nas
-
 //Licensed under the Apache License, Version 2.0 (the "License");
 //you may not use this file except in compliance with the License.
 //You may obtain a copy of the License at
@@ -15,6 +13,8 @@ package nas
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package nas
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
@@ -76,11 +76,11 @@ func (client *Client) CreateAutoSnapshotPolicyWithCallback(request *CreateAutoSn
 // CreateAutoSnapshotPolicyRequest is the request struct for api CreateAutoSnapshotPolicy
 type CreateAutoSnapshotPolicyRequest struct {
 	*requests.RpcRequest
+	RepeatWeekdays         string           `position:"Query" name:"RepeatWeekdays"`
 	TimePoints             string           `position:"Query" name:"TimePoints"`
 	RetentionDays          requests.Integer `position:"Query" name:"RetentionDays"`
-	RepeatWeekdays         string           `position:"Query" name:"RepeatWeekdays"`
-	FileSystemType         string           `position:"Query" name:"FileSystemType"`
 	AutoSnapshotPolicyName string           `position:"Query" name:"AutoSnapshotPolicyName"`
+	FileSystemType         string           `position:"Query" name:"FileSystemType"`
 }
 
 // CreateAutoSnapshotPolicyResponse is the response struct for api CreateAutoSnapshotPolicy

+ 4 - 4
services/nas/create_file_system.go

@@ -1,5 +1,3 @@
-package nas
-
 //Licensed under the Apache License, Version 2.0 (the "License");
 //you may not use this file except in compliance with the License.
 //You may obtain a copy of the License at
@@ -15,6 +13,8 @@ package nas
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package nas
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
@@ -76,10 +76,10 @@ func (client *Client) CreateFileSystemWithCallback(request *CreateFileSystemRequ
 // CreateFileSystemRequest is the request struct for api CreateFileSystem
 type CreateFileSystemRequest struct {
 	*requests.RpcRequest
+	StorageType  string `position:"Query" name:"StorageType"`
 	ZoneId       string `position:"Query" name:"ZoneId"`
-	Description  string `position:"Query" name:"Description"`
 	ProtocolType string `position:"Query" name:"ProtocolType"`
-	StorageType  string `position:"Query" name:"StorageType"`
+	Description  string `position:"Query" name:"Description"`
 }
 
 // CreateFileSystemResponse is the response struct for api CreateFileSystem

+ 4 - 4
services/nas/create_ldap_config.go

@@ -1,5 +1,3 @@
-package nas
-
 //Licensed under the Apache License, Version 2.0 (the "License");
 //you may not use this file except in compliance with the License.
 //You may obtain a copy of the License at
@@ -15,6 +13,8 @@ package nas
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package nas
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
@@ -76,10 +76,10 @@ func (client *Client) CreateLDAPConfigWithCallback(request *CreateLDAPConfigRequ
 // CreateLDAPConfigRequest is the request struct for api CreateLDAPConfig
 type CreateLDAPConfigRequest struct {
 	*requests.RpcRequest
+	FileSystemId string `position:"Query" name:"FileSystemId"`
+	URI          string `position:"Query" name:"URI"`
 	BindDN       string `position:"Query" name:"BindDN"`
 	SearchBase   string `position:"Query" name:"SearchBase"`
-	URI          string `position:"Query" name:"URI"`
-	FileSystemId string `position:"Query" name:"FileSystemId"`
 }
 
 // CreateLDAPConfigResponse is the response struct for api CreateLDAPConfig

+ 6 - 6
services/nas/create_mount_target.go

@@ -1,5 +1,3 @@
-package nas
-
 //Licensed under the Apache License, Version 2.0 (the "License");
 //you may not use this file except in compliance with the License.
 //You may obtain a copy of the License at
@@ -15,6 +13,8 @@ package nas
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package nas
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
@@ -76,11 +76,11 @@ func (client *Client) CreateMountTargetWithCallback(request *CreateMountTargetRe
 // CreateMountTargetRequest is the request struct for api CreateMountTarget
 type CreateMountTargetRequest struct {
 	*requests.RpcRequest
-	VSwitchId       string `position:"Query" name:"VSwitchId"`
-	VpcId           string `position:"Query" name:"VpcId"`
-	NetworkType     string `position:"Query" name:"NetworkType"`
-	AccessGroupName string `position:"Query" name:"AccessGroupName"`
 	FileSystemId    string `position:"Query" name:"FileSystemId"`
+	AccessGroupName string `position:"Query" name:"AccessGroupName"`
+	NetworkType     string `position:"Query" name:"NetworkType"`
+	VpcId           string `position:"Query" name:"VpcId"`
+	VSwitchId       string `position:"Query" name:"VSwitchId"`
 }
 
 // CreateMountTargetResponse is the response struct for api CreateMountTarget

+ 4 - 4
services/nas/create_snapshot.go

@@ -1,5 +1,3 @@
-package nas
-
 //Licensed under the Apache License, Version 2.0 (the "License");
 //you may not use this file except in compliance with the License.
 //You may obtain a copy of the License at
@@ -15,6 +13,8 @@ package nas
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package nas
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
@@ -76,10 +76,10 @@ func (client *Client) CreateSnapshotWithCallback(request *CreateSnapshotRequest,
 // CreateSnapshotRequest is the request struct for api CreateSnapshot
 type CreateSnapshotRequest struct {
 	*requests.RpcRequest
-	Description   string           `position:"Query" name:"Description"`
+	FileSystemId  string           `position:"Query" name:"FileSystemId"`
 	SnapshotName  string           `position:"Query" name:"SnapshotName"`
+	Description   string           `position:"Query" name:"Description"`
 	RetentionDays requests.Integer `position:"Query" name:"RetentionDays"`
-	FileSystemId  string           `position:"Query" name:"FileSystemId"`
 }
 
 // CreateSnapshotResponse is the response struct for api CreateSnapshot

+ 2 - 2
services/nas/delete_access_group.go

@@ -1,5 +1,3 @@
-package nas
-
 //Licensed under the Apache License, Version 2.0 (the "License");
 //you may not use this file except in compliance with the License.
 //You may obtain a copy of the License at
@@ -15,6 +13,8 @@ package nas
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package nas
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"

+ 2 - 2
services/nas/delete_access_rule.go

@@ -1,5 +1,3 @@
-package nas
-
 //Licensed under the Apache License, Version 2.0 (the "License");
 //you may not use this file except in compliance with the License.
 //You may obtain a copy of the License at
@@ -15,6 +13,8 @@ package nas
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package nas
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"

+ 2 - 2
services/nas/delete_auto_snapshot_policy.go

@@ -1,5 +1,3 @@
-package nas
-
 //Licensed under the Apache License, Version 2.0 (the "License");
 //you may not use this file except in compliance with the License.
 //You may obtain a copy of the License at
@@ -15,6 +13,8 @@ package nas
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package nas
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"

+ 2 - 2
services/nas/delete_file_system.go

@@ -1,5 +1,3 @@
-package nas
-
 //Licensed under the Apache License, Version 2.0 (the "License");
 //you may not use this file except in compliance with the License.
 //You may obtain a copy of the License at
@@ -15,6 +13,8 @@ package nas
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package nas
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"

+ 2 - 2
services/nas/delete_ldap_config.go

@@ -1,5 +1,3 @@
-package nas
-
 //Licensed under the Apache License, Version 2.0 (the "License");
 //you may not use this file except in compliance with the License.
 //You may obtain a copy of the License at
@@ -15,6 +13,8 @@ package nas
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package nas
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"

+ 3 - 3
services/nas/delete_mount_target.go

@@ -1,5 +1,3 @@
-package nas
-
 //Licensed under the Apache License, Version 2.0 (the "License");
 //you may not use this file except in compliance with the License.
 //You may obtain a copy of the License at
@@ -15,6 +13,8 @@ package nas
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package nas
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
@@ -76,8 +76,8 @@ func (client *Client) DeleteMountTargetWithCallback(request *DeleteMountTargetRe
 // DeleteMountTargetRequest is the request struct for api DeleteMountTarget
 type DeleteMountTargetRequest struct {
 	*requests.RpcRequest
-	MountTargetDomain string `position:"Query" name:"MountTargetDomain"`
 	FileSystemId      string `position:"Query" name:"FileSystemId"`
+	MountTargetDomain string `position:"Query" name:"MountTargetDomain"`
 }
 
 // DeleteMountTargetResponse is the response struct for api DeleteMountTarget

+ 2 - 2
services/nas/delete_snapshot.go

@@ -1,5 +1,3 @@
-package nas
-
 //Licensed under the Apache License, Version 2.0 (the "License");
 //you may not use this file except in compliance with the License.
 //You may obtain a copy of the License at
@@ -15,6 +13,8 @@ package nas
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package nas
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"

+ 21 - 9
services/nas/describe_access_groups.go

@@ -1,5 +1,3 @@
-package nas
-
 //Licensed under the Apache License, Version 2.0 (the "License");
 //you may not use this file except in compliance with the License.
 //You may obtain a copy of the License at
@@ -15,6 +13,8 @@ package nas
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package nas
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
@@ -76,20 +76,32 @@ func (client *Client) DescribeAccessGroupsWithCallback(request *DescribeAccessGr
 // DescribeAccessGroupsRequest is the request struct for api DescribeAccessGroups
 type DescribeAccessGroupsRequest struct {
 	*requests.RpcRequest
-	PageSize        requests.Integer `position:"Query" name:"PageSize"`
 	AccessGroupName string           `position:"Query" name:"AccessGroupName"`
-	FileSystemType  string           `position:"Query" name:"FileSystemType"`
+	PageSize        requests.Integer `position:"Query" name:"PageSize"`
 	PageNumber      requests.Integer `position:"Query" name:"PageNumber"`
+	FileSystemType  string           `position:"Query" name:"FileSystemType"`
 }
 
 // DescribeAccessGroupsResponse is the response struct for api DescribeAccessGroups
 type DescribeAccessGroupsResponse struct {
 	*responses.BaseResponse
-	RequestId    string       `json:"RequestId" xml:"RequestId"`
-	TotalCount   int          `json:"TotalCount" xml:"TotalCount"`
-	PageSize     int          `json:"PageSize" xml:"PageSize"`
-	PageNumber   int          `json:"PageNumber" xml:"PageNumber"`
-	AccessGroups AccessGroups `json:"AccessGroups" xml:"AccessGroups"`
+	RequestId    string                            `json:"RequestId" xml:"RequestId"`
+	TotalCount   int                               `json:"TotalCount" xml:"TotalCount"`
+	PageSize     int                               `json:"PageSize" xml:"PageSize"`
+	PageNumber   int                               `json:"PageNumber" xml:"PageNumber"`
+	AccessGroups DescribeAccessGroupsAccessGroups0 `json:"AccessGroups" xml:"AccessGroups"`
+}
+
+type DescribeAccessGroupsAccessGroups0 struct {
+	AccessGroup []DescribeAccessGroupsAccessGroup1 `json:"AccessGroup" xml:"AccessGroup"`
+}
+
+type DescribeAccessGroupsAccessGroup1 struct {
+	AccessGroupName  string `json:"AccessGroupName" xml:"AccessGroupName"`
+	AccessGroupType  string `json:"AccessGroupType" xml:"AccessGroupType"`
+	RuleCount        int    `json:"RuleCount" xml:"RuleCount"`
+	MountTargetCount int    `json:"MountTargetCount" xml:"MountTargetCount"`
+	Description      string `json:"Description" xml:"Description"`
 }
 
 // CreateDescribeAccessGroupsRequest creates a request to invoke DescribeAccessGroups API

+ 21 - 9
services/nas/describe_access_rules.go

@@ -1,5 +1,3 @@
-package nas
-
 //Licensed under the Apache License, Version 2.0 (the "License");
 //you may not use this file except in compliance with the License.
 //You may obtain a copy of the License at
@@ -15,6 +13,8 @@ package nas
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package nas
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
@@ -76,21 +76,33 @@ func (client *Client) DescribeAccessRulesWithCallback(request *DescribeAccessRul
 // DescribeAccessRulesRequest is the request struct for api DescribeAccessRules
 type DescribeAccessRulesRequest struct {
 	*requests.RpcRequest
-	PageSize        requests.Integer `position:"Query" name:"PageSize"`
 	AccessGroupName string           `position:"Query" name:"AccessGroupName"`
 	AccessRuleId    string           `position:"Query" name:"AccessRuleId"`
-	FileSystemType  string           `position:"Query" name:"FileSystemType"`
+	PageSize        requests.Integer `position:"Query" name:"PageSize"`
 	PageNumber      requests.Integer `position:"Query" name:"PageNumber"`
+	FileSystemType  string           `position:"Query" name:"FileSystemType"`
 }
 
 // DescribeAccessRulesResponse is the response struct for api DescribeAccessRules
 type DescribeAccessRulesResponse struct {
 	*responses.BaseResponse
-	RequestId   string      `json:"RequestId" xml:"RequestId"`
-	TotalCount  int         `json:"TotalCount" xml:"TotalCount"`
-	PageSize    int         `json:"PageSize" xml:"PageSize"`
-	PageNumber  int         `json:"PageNumber" xml:"PageNumber"`
-	AccessRules AccessRules `json:"AccessRules" xml:"AccessRules"`
+	RequestId   string                          `json:"RequestId" xml:"RequestId"`
+	TotalCount  int                             `json:"TotalCount" xml:"TotalCount"`
+	PageSize    int                             `json:"PageSize" xml:"PageSize"`
+	PageNumber  int                             `json:"PageNumber" xml:"PageNumber"`
+	AccessRules DescribeAccessRulesAccessRules0 `json:"AccessRules" xml:"AccessRules"`
+}
+
+type DescribeAccessRulesAccessRules0 struct {
+	AccessRule []DescribeAccessRulesAccessRule1 `json:"AccessRule" xml:"AccessRule"`
+}
+
+type DescribeAccessRulesAccessRule1 struct {
+	SourceCidrIp string `json:"SourceCidrIp" xml:"SourceCidrIp"`
+	Priority     int    `json:"Priority" xml:"Priority"`
+	AccessRuleId string `json:"AccessRuleId" xml:"AccessRuleId"`
+	RWAccess     string `json:"RWAccess" xml:"RWAccess"`
+	UserAccess   string `json:"UserAccess" xml:"UserAccess"`
 }
 
 // CreateDescribeAccessRulesRequest creates a request to invoke DescribeAccessRules API

+ 24 - 8
services/nas/describe_auto_snapshot_policies.go

@@ -1,5 +1,3 @@
-package nas
-
 //Licensed under the Apache License, Version 2.0 (the "License");
 //you may not use this file except in compliance with the License.
 //You may obtain a copy of the License at
@@ -15,6 +13,8 @@ package nas
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package nas
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
@@ -78,18 +78,34 @@ type DescribeAutoSnapshotPoliciesRequest struct {
 	*requests.RpcRequest
 	AutoSnapshotPolicyId string           `position:"Query" name:"AutoSnapshotPolicyId"`
 	PageSize             requests.Integer `position:"Query" name:"PageSize"`
-	FileSystemType       string           `position:"Query" name:"FileSystemType"`
 	PageNumber           requests.Integer `position:"Query" name:"PageNumber"`
+	FileSystemType       string           `position:"Query" name:"FileSystemType"`
 }
 
 // DescribeAutoSnapshotPoliciesResponse is the response struct for api DescribeAutoSnapshotPolicies
 type DescribeAutoSnapshotPoliciesResponse struct {
 	*responses.BaseResponse
-	RequestId            string               `json:"RequestId" xml:"RequestId"`
-	TotalCount           int                  `json:"TotalCount" xml:"TotalCount"`
-	PageSize             int                  `json:"PageSize" xml:"PageSize"`
-	PageNumber           int                  `json:"PageNumber" xml:"PageNumber"`
-	AutoSnapshotPolicies AutoSnapshotPolicies `json:"AutoSnapshotPolicies" xml:"AutoSnapshotPolicies"`
+	RequestId            string                                            `json:"RequestId" xml:"RequestId"`
+	TotalCount           int                                               `json:"TotalCount" xml:"TotalCount"`
+	PageSize             int                                               `json:"PageSize" xml:"PageSize"`
+	PageNumber           int                                               `json:"PageNumber" xml:"PageNumber"`
+	AutoSnapshotPolicies DescribeAutoSnapshotPoliciesAutoSnapshotPolicies0 `json:"AutoSnapshotPolicies" xml:"AutoSnapshotPolicies"`
+}
+
+type DescribeAutoSnapshotPoliciesAutoSnapshotPolicies0 struct {
+	AutoSnapshotPolicy []DescribeAutoSnapshotPoliciesAutoSnapshotPolicy1 `json:"AutoSnapshotPolicy" xml:"AutoSnapshotPolicy"`
+}
+
+type DescribeAutoSnapshotPoliciesAutoSnapshotPolicy1 struct {
+	AutoSnapshotPolicyId   string `json:"AutoSnapshotPolicyId" xml:"AutoSnapshotPolicyId"`
+	AutoSnapshotPolicyName string `json:"AutoSnapshotPolicyName" xml:"AutoSnapshotPolicyName"`
+	CreateTime             string `json:"CreateTime" xml:"CreateTime"`
+	FileSystemNums         int    `json:"FileSystemNums" xml:"FileSystemNums"`
+	RegionId               string `json:"RegionId" xml:"RegionId"`
+	RepeatWeekdays         string `json:"RepeatWeekdays" xml:"RepeatWeekdays"`
+	RetentionDays          int    `json:"RetentionDays" xml:"RetentionDays"`
+	Status                 string `json:"Status" xml:"Status"`
+	TimePoints             string `json:"TimePoints" xml:"TimePoints"`
 }
 
 // CreateDescribeAutoSnapshotPoliciesRequest creates a request to invoke DescribeAutoSnapshotPolicies API

+ 4 - 3
services/nas/describe_black_list_clients.go

@@ -1,5 +1,3 @@
-package nas
-
 //Licensed under the Apache License, Version 2.0 (the "License");
 //you may not use this file except in compliance with the License.
 //You may obtain a copy of the License at
@@ -15,6 +13,8 @@ package nas
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package nas
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
@@ -76,8 +76,9 @@ func (client *Client) DescribeBlackListClientsWithCallback(request *DescribeBlac
 // DescribeBlackListClientsRequest is the request struct for api DescribeBlackListClients
 type DescribeBlackListClientsRequest struct {
 	*requests.RpcRequest
-	ClientIP     string `position:"Query" name:"ClientIP"`
+	RegionId     string `position:"Query" name:"RegionId"`
 	FileSystemId string `position:"Query" name:"FileSystemId"`
+	ClientIP     string `position:"Query" name:"ClientIP"`
 }
 
 // DescribeBlackListClientsResponse is the response struct for api DescribeBlackListClients

+ 57 - 9
services/nas/describe_file_systems.go

@@ -1,5 +1,3 @@
-package nas
-
 //Licensed under the Apache License, Version 2.0 (the "License");
 //you may not use this file except in compliance with the License.
 //You may obtain a copy of the License at
@@ -15,6 +13,8 @@ package nas
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package nas
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
@@ -76,21 +76,69 @@ func (client *Client) DescribeFileSystemsWithCallback(request *DescribeFileSyste
 // DescribeFileSystemsRequest is the request struct for api DescribeFileSystems
 type DescribeFileSystemsRequest struct {
 	*requests.RpcRequest
+	FileSystemId   string           `position:"Query" name:"FileSystemId"`
+	FileSystemType string           `position:"Query" name:"FileSystemType"`
 	VpcId          string           `position:"Query" name:"VpcId"`
 	PageSize       requests.Integer `position:"Query" name:"PageSize"`
-	FileSystemType string           `position:"Query" name:"FileSystemType"`
 	PageNumber     requests.Integer `position:"Query" name:"PageNumber"`
-	FileSystemId   string           `position:"Query" name:"FileSystemId"`
 }
 
 // DescribeFileSystemsResponse is the response struct for api DescribeFileSystems
 type DescribeFileSystemsResponse struct {
 	*responses.BaseResponse
-	RequestId   string      `json:"RequestId" xml:"RequestId"`
-	TotalCount  int         `json:"TotalCount" xml:"TotalCount"`
-	PageSize    int         `json:"PageSize" xml:"PageSize"`
-	PageNumber  int         `json:"PageNumber" xml:"PageNumber"`
-	FileSystems FileSystems `json:"FileSystems" xml:"FileSystems"`
+	RequestId   string                          `json:"RequestId" xml:"RequestId"`
+	TotalCount  int                             `json:"TotalCount" xml:"TotalCount"`
+	PageSize    int                             `json:"PageSize" xml:"PageSize"`
+	PageNumber  int                             `json:"PageNumber" xml:"PageNumber"`
+	FileSystems DescribeFileSystemsFileSystems0 `json:"FileSystems" xml:"FileSystems"`
+}
+
+type DescribeFileSystemsFileSystems0 struct {
+	FileSystem []DescribeFileSystemsFileSystem1 `json:"FileSystem" xml:"FileSystem"`
+}
+
+type DescribeFileSystemsFileSystem1 struct {
+	FileSystemId string                           `json:"FileSystemId" xml:"FileSystemId"`
+	Description  string                           `json:"Description" xml:"Description"`
+	CreateTime   string                           `json:"CreateTime" xml:"CreateTime"`
+	RegionId     string                           `json:"RegionId" xml:"RegionId"`
+	ProtocolType string                           `json:"ProtocolType" xml:"ProtocolType"`
+	StorageType  string                           `json:"StorageType" xml:"StorageType"`
+	MeteredSize  int64                            `json:"MeteredSize" xml:"MeteredSize"`
+	ZoneId       string                           `json:"ZoneId" xml:"ZoneId"`
+	Bandwidth    int64                            `json:"Bandwidth" xml:"Bandwidth"`
+	Capacity     int64                            `json:"Capacity" xml:"Capacity"`
+	Status       string                           `json:"Status" xml:"Status"`
+	MountTargets DescribeFileSystemsMountTargets2 `json:"MountTargets" xml:"MountTargets"`
+	Packages     DescribeFileSystemsPackages2     `json:"Packages" xml:"Packages"`
+	Ldap         DescribeFileSystemsLdap2         `json:"Ldap" xml:"Ldap"`
+}
+
+type DescribeFileSystemsMountTargets2 struct {
+	MountTarget []DescribeFileSystemsMountTarget3 `json:"MountTarget" xml:"MountTarget"`
+}
+
+type DescribeFileSystemsMountTarget3 struct {
+	MountTargetDomain string `json:"MountTargetDomain" xml:"MountTargetDomain"`
+	NetworkType       string `json:"NetworkType" xml:"NetworkType"`
+	VpcId             string `json:"VpcId" xml:"VpcId"`
+	VswId             string `json:"VswId" xml:"VswId"`
+	AccessGroupName   string `json:"AccessGroupName" xml:"AccessGroupName"`
+	Status            string `json:"Status" xml:"Status"`
+}
+
+type DescribeFileSystemsPackages2 struct {
+	Package []DescribeFileSystemsPackage3 `json:"Package" xml:"Package"`
+}
+
+type DescribeFileSystemsPackage3 struct {
+	PackageId string `json:"PackageId" xml:"PackageId"`
+}
+
+type DescribeFileSystemsLdap2 struct {
+	BindDN     string `json:"BindDN" xml:"BindDN"`
+	URI        string `json:"URI" xml:"URI"`
+	SearchBase string `json:"SearchBase" xml:"SearchBase"`
 }
 
 // CreateDescribeFileSystemsRequest creates a request to invoke DescribeFileSystems API

+ 10 - 4
services/nas/describe_ldap_config.go

@@ -1,5 +1,3 @@
-package nas
-
 //Licensed under the Apache License, Version 2.0 (the "License");
 //you may not use this file except in compliance with the License.
 //You may obtain a copy of the License at
@@ -15,6 +13,8 @@ package nas
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package nas
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
@@ -82,8 +82,14 @@ type DescribeLDAPConfigRequest struct {
 // DescribeLDAPConfigResponse is the response struct for api DescribeLDAPConfig
 type DescribeLDAPConfigResponse struct {
 	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-	Ldap      Ldap   `json:"Ldap" xml:"Ldap"`
+	RequestId string                  `json:"RequestId" xml:"RequestId"`
+	Ldap      DescribeLDAPConfigLdap0 `json:"Ldap" xml:"Ldap"`
+}
+
+type DescribeLDAPConfigLdap0 struct {
+	BindDN     string `json:"BindDN" xml:"BindDN"`
+	URI        string `json:"URI" xml:"URI"`
+	SearchBase string `json:"SearchBase" xml:"SearchBase"`
 }
 
 // CreateDescribeLDAPConfigRequest creates a request to invoke DescribeLDAPConfig API

+ 21 - 8
services/nas/describe_mount_targets.go

@@ -1,5 +1,3 @@
-package nas
-
 //Licensed under the Apache License, Version 2.0 (the "License");
 //you may not use this file except in compliance with the License.
 //You may obtain a copy of the License at
@@ -15,6 +13,8 @@ package nas
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package nas
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
@@ -76,20 +76,33 @@ func (client *Client) DescribeMountTargetsWithCallback(request *DescribeMountTar
 // DescribeMountTargetsRequest is the request struct for api DescribeMountTargets
 type DescribeMountTargetsRequest struct {
 	*requests.RpcRequest
+	FileSystemId      string           `position:"Query" name:"FileSystemId"`
 	MountTargetDomain string           `position:"Query" name:"MountTargetDomain"`
 	PageSize          requests.Integer `position:"Query" name:"PageSize"`
 	PageNumber        requests.Integer `position:"Query" name:"PageNumber"`
-	FileSystemId      string           `position:"Query" name:"FileSystemId"`
 }
 
 // DescribeMountTargetsResponse is the response struct for api DescribeMountTargets
 type DescribeMountTargetsResponse struct {
 	*responses.BaseResponse
-	RequestId    string                             `json:"RequestId" xml:"RequestId"`
-	TotalCount   int                                `json:"TotalCount" xml:"TotalCount"`
-	PageSize     int                                `json:"PageSize" xml:"PageSize"`
-	PageNumber   int                                `json:"PageNumber" xml:"PageNumber"`
-	MountTargets MountTargetsInDescribeMountTargets `json:"MountTargets" xml:"MountTargets"`
+	RequestId    string                            `json:"RequestId" xml:"RequestId"`
+	TotalCount   int                               `json:"TotalCount" xml:"TotalCount"`
+	PageSize     int                               `json:"PageSize" xml:"PageSize"`
+	PageNumber   int                               `json:"PageNumber" xml:"PageNumber"`
+	MountTargets DescribeMountTargetsMountTargets0 `json:"MountTargets" xml:"MountTargets"`
+}
+
+type DescribeMountTargetsMountTargets0 struct {
+	MountTarget []DescribeMountTargetsMountTarget1 `json:"MountTarget" xml:"MountTarget"`
+}
+
+type DescribeMountTargetsMountTarget1 struct {
+	MountTargetDomain string `json:"MountTargetDomain" xml:"MountTargetDomain"`
+	NetworkType       string `json:"NetworkType" xml:"NetworkType"`
+	VpcId             string `json:"VpcId" xml:"VpcId"`
+	VswId             string `json:"VswId" xml:"VswId"`
+	AccessGroup       string `json:"AccessGroup" xml:"AccessGroup"`
+	Status            string `json:"Status" xml:"Status"`
 }
 
 // CreateDescribeMountTargetsRequest creates a request to invoke DescribeMountTargets API

+ 18 - 8
services/nas/describe_regions.go

@@ -1,5 +1,3 @@
-package nas
-
 //Licensed under the Apache License, Version 2.0 (the "License");
 //you may not use this file except in compliance with the License.
 //You may obtain a copy of the License at
@@ -15,6 +13,8 @@ package nas
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package nas
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
@@ -77,18 +77,28 @@ func (client *Client) DescribeRegionsWithCallback(request *DescribeRegionsReques
 type DescribeRegionsRequest struct {
 	*requests.RpcRequest
 	PageSize       requests.Integer `position:"Query" name:"PageSize"`
-	FileSystemType string           `position:"Query" name:"FileSystemType"`
 	PageNumber     requests.Integer `position:"Query" name:"PageNumber"`
+	FileSystemType string           `position:"Query" name:"FileSystemType"`
 }
 
 // DescribeRegionsResponse is the response struct for api DescribeRegions
 type DescribeRegionsResponse struct {
 	*responses.BaseResponse
-	RequestId  string  `json:"RequestId" xml:"RequestId"`
-	TotalCount int     `json:"TotalCount" xml:"TotalCount"`
-	PageSize   int     `json:"PageSize" xml:"PageSize"`
-	PageNumber int     `json:"PageNumber" xml:"PageNumber"`
-	Regions    Regions `json:"Regions" xml:"Regions"`
+	RequestId  string                  `json:"RequestId" xml:"RequestId"`
+	TotalCount int                     `json:"TotalCount" xml:"TotalCount"`
+	PageSize   int                     `json:"PageSize" xml:"PageSize"`
+	PageNumber int                     `json:"PageNumber" xml:"PageNumber"`
+	Regions    DescribeRegionsRegions0 `json:"Regions" xml:"Regions"`
+}
+
+type DescribeRegionsRegions0 struct {
+	Region []DescribeRegionsRegion1 `json:"Region" xml:"Region"`
+}
+
+type DescribeRegionsRegion1 struct {
+	RegionId       string `json:"RegionId" xml:"RegionId"`
+	LocalName      string `json:"LocalName" xml:"LocalName"`
+	RegionEndpoint string `json:"RegionEndpoint" xml:"RegionEndpoint"`
 }
 
 // CreateDescribeRegionsRequest creates a request to invoke DescribeRegions API

+ 29 - 12
services/nas/describe_snapshots.go

@@ -1,5 +1,3 @@
-package nas
-
 //Licensed under the Apache License, Version 2.0 (the "License");
 //you may not use this file except in compliance with the License.
 //You may obtain a copy of the License at
@@ -15,6 +13,8 @@ package nas
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package nas
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
@@ -76,24 +76,41 @@ func (client *Client) DescribeSnapshotsWithCallback(request *DescribeSnapshotsRe
 // DescribeSnapshotsRequest is the request struct for api DescribeSnapshots
 type DescribeSnapshotsRequest struct {
 	*requests.RpcRequest
-	SnapshotType   string           `position:"Query" name:"SnapshotType"`
-	SnapshotIds    string           `position:"Query" name:"SnapshotIds"`
-	PageSize       requests.Integer `position:"Query" name:"PageSize"`
-	SnapshotName   string           `position:"Query" name:"SnapshotName"`
 	FileSystemType string           `position:"Query" name:"FileSystemType"`
-	PageNumber     requests.Integer `position:"Query" name:"PageNumber"`
 	FileSystemId   string           `position:"Query" name:"FileSystemId"`
+	SnapshotIds    string           `position:"Query" name:"SnapshotIds"`
+	SnapshotName   string           `position:"Query" name:"SnapshotName"`
+	SnapshotType   string           `position:"Query" name:"SnapshotType"`
 	Status         string           `position:"Query" name:"Status"`
+	PageSize       requests.Integer `position:"Query" name:"PageSize"`
+	PageNumber     requests.Integer `position:"Query" name:"PageNumber"`
 }
 
 // DescribeSnapshotsResponse is the response struct for api DescribeSnapshots
 type DescribeSnapshotsResponse struct {
 	*responses.BaseResponse
-	RequestId  string    `json:"RequestId" xml:"RequestId"`
-	TotalCount int       `json:"TotalCount" xml:"TotalCount"`
-	PageSize   int       `json:"PageSize" xml:"PageSize"`
-	PageNumber int       `json:"PageNumber" xml:"PageNumber"`
-	Snapshots  Snapshots `json:"Snapshots" xml:"Snapshots"`
+	RequestId  string                      `json:"RequestId" xml:"RequestId"`
+	TotalCount int                         `json:"TotalCount" xml:"TotalCount"`
+	PageSize   int                         `json:"PageSize" xml:"PageSize"`
+	PageNumber int                         `json:"PageNumber" xml:"PageNumber"`
+	Snapshots  DescribeSnapshotsSnapshots0 `json:"Snapshots" xml:"Snapshots"`
+}
+
+type DescribeSnapshotsSnapshots0 struct {
+	Snapshot []DescribeSnapshotsSnapshot1 `json:"Snapshot" xml:"Snapshot"`
+}
+
+type DescribeSnapshotsSnapshot1 struct {
+	CreateTime           string `json:"CreateTime" xml:"CreateTime"`
+	Description          string `json:"Description" xml:"Description"`
+	Progress             string `json:"Progress" xml:"Progress"`
+	RemainTime           int    `json:"RemainTime" xml:"RemainTime"`
+	RetentionDays        int    `json:"RetentionDays" xml:"RetentionDays"`
+	SnapshotId           string `json:"SnapshotId" xml:"SnapshotId"`
+	SnapshotName         string `json:"SnapshotName" xml:"SnapshotName"`
+	SourceFileSystemId   string `json:"SourceFileSystemId" xml:"SourceFileSystemId"`
+	SourceFileSystemSize int64  `json:"SourceFileSystemSize" xml:"SourceFileSystemSize"`
+	Status               string `json:"Status" xml:"Status"`
 }
 
 // CreateDescribeSnapshotsRequest creates a request to invoke DescribeSnapshots API

+ 24 - 11
services/nas/describe_tags.go

@@ -1,5 +1,3 @@
-package nas
-
 //Licensed under the Apache License, Version 2.0 (the "License");
 //you may not use this file except in compliance with the License.
 //You may obtain a copy of the License at
@@ -15,6 +13,8 @@ package nas
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package nas
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
@@ -76,26 +76,39 @@ func (client *Client) DescribeTagsWithCallback(request *DescribeTagsRequest, cal
 // DescribeTagsRequest is the request struct for api DescribeTags
 type DescribeTagsRequest struct {
 	*requests.RpcRequest
+	FileSystemId string             `position:"Query" name:"FileSystemId"`
 	PageSize     requests.Integer   `position:"Query" name:"PageSize"`
-	Tag          *[]DescribeTagsTag `position:"Query" name:"Tag"  type:"Repeated"`
 	PageNumber   requests.Integer   `position:"Query" name:"PageNumber"`
-	FileSystemId string             `position:"Query" name:"FileSystemId"`
+	Tag          *[]DescribeTagsTag `position:"Query" name:"Tag" type:"Repeated"`
 }
 
-// DescribeTagsTag is a repeated param struct in DescribeTagsRequest
 type DescribeTagsTag struct {
-	Value string `name:"Value"`
 	Key   string `name:"Key"`
+	Value string `name:"Value"`
 }
 
 // DescribeTagsResponse is the response struct for api DescribeTags
 type DescribeTagsResponse struct {
 	*responses.BaseResponse
-	RequestId  string `json:"RequestId" xml:"RequestId"`
-	TotalCount int    `json:"TotalCount" xml:"TotalCount"`
-	PageSize   int    `json:"PageSize" xml:"PageSize"`
-	PageNumber int    `json:"PageNumber" xml:"PageNumber"`
-	Tags       Tags   `json:"Tags" xml:"Tags"`
+	RequestId  string            `json:"RequestId" xml:"RequestId"`
+	TotalCount int               `json:"TotalCount" xml:"TotalCount"`
+	PageSize   int               `json:"PageSize" xml:"PageSize"`
+	PageNumber int               `json:"PageNumber" xml:"PageNumber"`
+	Tags       DescribeTagsTags0 `json:"Tags" xml:"Tags"`
+}
+
+type DescribeTagsTags0 struct {
+	Tag []DescribeTagsTag1 `json:"Tag" xml:"Tag"`
+}
+
+type DescribeTagsTag1 struct {
+	Key           string                     `json:"Key" xml:"Key"`
+	Value         string                     `json:"Value" xml:"Value"`
+	FileSystemIds DescribeTagsFileSystemIds2 `json:"FileSystemIds" xml:"FileSystemIds"`
+}
+
+type DescribeTagsFileSystemIds2 struct {
+	FileSystemId []string `json:"FileSystemId" xml:"FileSystemId"`
 }
 
 // CreateDescribeTagsRequest creates a request to invoke DescribeTags API

+ 23 - 4
services/nas/describe_zones.go

@@ -1,5 +1,3 @@
-package nas
-
 //Licensed under the Apache License, Version 2.0 (the "License");
 //you may not use this file except in compliance with the License.
 //You may obtain a copy of the License at
@@ -15,6 +13,8 @@ package nas
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package nas
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
@@ -76,13 +76,32 @@ func (client *Client) DescribeZonesWithCallback(request *DescribeZonesRequest, c
 // DescribeZonesRequest is the request struct for api DescribeZones
 type DescribeZonesRequest struct {
 	*requests.RpcRequest
+	RegionId string `position:"Query" name:"RegionId"`
 }
 
 // DescribeZonesResponse is the response struct for api DescribeZones
 type DescribeZonesResponse struct {
 	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-	Zones     Zones  `json:"Zones" xml:"Zones"`
+	RequestId string              `json:"RequestId" xml:"RequestId"`
+	Zones     DescribeZonesZones0 `json:"Zones" xml:"Zones"`
+}
+
+type DescribeZonesZones0 struct {
+	Zone []DescribeZonesZone1 `json:"Zone" xml:"Zone"`
+}
+
+type DescribeZonesZone1 struct {
+	ZoneId      string                    `json:"ZoneId" xml:"ZoneId"`
+	Capacity    DescribeZonesCapacity2    `json:"Capacity" xml:"Capacity"`
+	Performance DescribeZonesPerformance2 `json:"Performance" xml:"Performance"`
+}
+
+type DescribeZonesCapacity2 struct {
+	Protocol []string `json:"Protocol" xml:"Protocol"`
+}
+
+type DescribeZonesPerformance2 struct {
+	Protocol []string `json:"Protocol" xml:"Protocol"`
 }
 
 // CreateDescribeZonesRequest creates a request to invoke DescribeZones API

+ 0 - 23
services/nas/endpoint.go

@@ -1,23 +0,0 @@
-package nas
-
-// EndpointMap Endpoint Data
-var EndpointMap map[string]string
-
-// EndpointType regional or central
-var EndpointType = "regional"
-
-// GetEndpointMap Get Endpoint Data Map
-func GetEndpointMap() map[string]string {
-	if EndpointMap == nil {
-		EndpointMap = map[string]string{
-			"me-east-1":  "nas.ap-northeast-1.aliyuncs.com",
-			"cn-chengdu": "nas.aliyuncs.com",
-		}
-	}
-	return EndpointMap
-}
-
-// GetEndpointType Get Endpoint Type Value
-func GetEndpointType() string {
-	return EndpointType
-}

+ 3 - 3
services/nas/modify_access_group.go

@@ -1,5 +1,3 @@
-package nas
-
 //Licensed under the Apache License, Version 2.0 (the "License");
 //you may not use this file except in compliance with the License.
 //You may obtain a copy of the License at
@@ -15,6 +13,8 @@ package nas
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package nas
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
@@ -76,8 +76,8 @@ func (client *Client) ModifyAccessGroupWithCallback(request *ModifyAccessGroupRe
 // ModifyAccessGroupRequest is the request struct for api ModifyAccessGroup
 type ModifyAccessGroupRequest struct {
 	*requests.RpcRequest
-	Description     string `position:"Query" name:"Description"`
 	AccessGroupName string `position:"Query" name:"AccessGroupName"`
+	Description     string `position:"Query" name:"Description"`
 	FileSystemType  string `position:"Query" name:"FileSystemType"`
 }
 

+ 5 - 5
services/nas/modify_access_rule.go

@@ -1,5 +1,3 @@
-package nas
-
 //Licensed under the Apache License, Version 2.0 (the "License");
 //you may not use this file except in compliance with the License.
 //You may obtain a copy of the License at
@@ -15,6 +13,8 @@ package nas
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package nas
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
@@ -76,12 +76,12 @@ func (client *Client) ModifyAccessRuleWithCallback(request *ModifyAccessRuleRequ
 // ModifyAccessRuleRequest is the request struct for api ModifyAccessRule
 type ModifyAccessRuleRequest struct {
 	*requests.RpcRequest
-	RWAccessType    string           `position:"Query" name:"RWAccessType"`
+	AccessGroupName string           `position:"Query" name:"AccessGroupName"`
+	AccessRuleId    string           `position:"Query" name:"AccessRuleId"`
 	SourceCidrIp    string           `position:"Query" name:"SourceCidrIp"`
+	RWAccessType    string           `position:"Query" name:"RWAccessType"`
 	UserAccessType  string           `position:"Query" name:"UserAccessType"`
 	Priority        requests.Integer `position:"Query" name:"Priority"`
-	AccessGroupName string           `position:"Query" name:"AccessGroupName"`
-	AccessRuleId    string           `position:"Query" name:"AccessRuleId"`
 	FileSystemType  string           `position:"Query" name:"FileSystemType"`
 }
 

+ 4 - 4
services/nas/modify_auto_snapshot_policy.go

@@ -1,5 +1,3 @@
-package nas
-
 //Licensed under the Apache License, Version 2.0 (the "License");
 //you may not use this file except in compliance with the License.
 //You may obtain a copy of the License at
@@ -15,6 +13,8 @@ package nas
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package nas
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
@@ -77,10 +77,10 @@ func (client *Client) ModifyAutoSnapshotPolicyWithCallback(request *ModifyAutoSn
 type ModifyAutoSnapshotPolicyRequest struct {
 	*requests.RpcRequest
 	AutoSnapshotPolicyId   string           `position:"Query" name:"AutoSnapshotPolicyId"`
+	AutoSnapshotPolicyName string           `position:"Query" name:"AutoSnapshotPolicyName"`
+	RepeatWeekdays         string           `position:"Query" name:"RepeatWeekdays"`
 	RetentionDays          requests.Integer `position:"Query" name:"RetentionDays"`
 	TimePoints             string           `position:"Query" name:"TimePoints"`
-	RepeatWeekdays         string           `position:"Query" name:"RepeatWeekdays"`
-	AutoSnapshotPolicyName string           `position:"Query" name:"AutoSnapshotPolicyName"`
 }
 
 // ModifyAutoSnapshotPolicyResponse is the response struct for api ModifyAutoSnapshotPolicy

+ 3 - 3
services/nas/modify_file_system.go

@@ -1,5 +1,3 @@
-package nas
-
 //Licensed under the Apache License, Version 2.0 (the "License");
 //you may not use this file except in compliance with the License.
 //You may obtain a copy of the License at
@@ -15,6 +13,8 @@ package nas
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package nas
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
@@ -76,8 +76,8 @@ func (client *Client) ModifyFileSystemWithCallback(request *ModifyFileSystemRequ
 // ModifyFileSystemRequest is the request struct for api ModifyFileSystem
 type ModifyFileSystemRequest struct {
 	*requests.RpcRequest
-	Description  string `position:"Query" name:"Description"`
 	FileSystemId string `position:"Query" name:"FileSystemId"`
+	Description  string `position:"Query" name:"Description"`
 }
 
 // ModifyFileSystemResponse is the response struct for api ModifyFileSystem

+ 4 - 4
services/nas/modify_ldap_config.go

@@ -1,5 +1,3 @@
-package nas
-
 //Licensed under the Apache License, Version 2.0 (the "License");
 //you may not use this file except in compliance with the License.
 //You may obtain a copy of the License at
@@ -15,6 +13,8 @@ package nas
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package nas
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
@@ -76,10 +76,10 @@ func (client *Client) ModifyLDAPConfigWithCallback(request *ModifyLDAPConfigRequ
 // ModifyLDAPConfigRequest is the request struct for api ModifyLDAPConfig
 type ModifyLDAPConfigRequest struct {
 	*requests.RpcRequest
+	FileSystemId string `position:"Query" name:"FileSystemId"`
+	URI          string `position:"Query" name:"URI"`
 	BindDN       string `position:"Query" name:"BindDN"`
 	SearchBase   string `position:"Query" name:"SearchBase"`
-	URI          string `position:"Query" name:"URI"`
-	FileSystemId string `position:"Query" name:"FileSystemId"`
 }
 
 // ModifyLDAPConfigResponse is the response struct for api ModifyLDAPConfig

+ 3 - 3
services/nas/modify_mount_target.go

@@ -1,5 +1,3 @@
-package nas
-
 //Licensed under the Apache License, Version 2.0 (the "License");
 //you may not use this file except in compliance with the License.
 //You may obtain a copy of the License at
@@ -15,6 +13,8 @@ package nas
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package nas
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
@@ -76,9 +76,9 @@ func (client *Client) ModifyMountTargetWithCallback(request *ModifyMountTargetRe
 // ModifyMountTargetRequest is the request struct for api ModifyMountTarget
 type ModifyMountTargetRequest struct {
 	*requests.RpcRequest
+	FileSystemId      string `position:"Query" name:"FileSystemId"`
 	MountTargetDomain string `position:"Query" name:"MountTargetDomain"`
 	AccessGroupName   string `position:"Query" name:"AccessGroupName"`
-	FileSystemId      string `position:"Query" name:"FileSystemId"`
 	Status            string `position:"Query" name:"Status"`
 }
 

+ 5 - 4
services/nas/remove_client_from_black_list.go

@@ -1,5 +1,3 @@
-package nas
-
 //Licensed under the Apache License, Version 2.0 (the "License");
 //you may not use this file except in compliance with the License.
 //You may obtain a copy of the License at
@@ -15,6 +13,8 @@ package nas
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package nas
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
@@ -76,9 +76,10 @@ func (client *Client) RemoveClientFromBlackListWithCallback(request *RemoveClien
 // RemoveClientFromBlackListRequest is the request struct for api RemoveClientFromBlackList
 type RemoveClientFromBlackListRequest struct {
 	*requests.RpcRequest
-	ClientToken  string `position:"Query" name:"ClientToken"`
-	ClientIP     string `position:"Query" name:"ClientIP"`
+	RegionId     string `position:"Query" name:"RegionId"`
 	FileSystemId string `position:"Query" name:"FileSystemId"`
+	ClientIP     string `position:"Query" name:"ClientIP"`
+	ClientToken  string `position:"Query" name:"ClientToken"`
 }
 
 // RemoveClientFromBlackListResponse is the response struct for api RemoveClientFromBlackList

+ 4 - 5
services/nas/remove_tags.go

@@ -1,5 +1,3 @@
-package nas
-
 //Licensed under the Apache License, Version 2.0 (the "License");
 //you may not use this file except in compliance with the License.
 //You may obtain a copy of the License at
@@ -15,6 +13,8 @@ package nas
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package nas
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
@@ -76,14 +76,13 @@ func (client *Client) RemoveTagsWithCallback(request *RemoveTagsRequest, callbac
 // RemoveTagsRequest is the request struct for api RemoveTags
 type RemoveTagsRequest struct {
 	*requests.RpcRequest
-	Tag          *[]RemoveTagsTag `position:"Query" name:"Tag"  type:"Repeated"`
 	FileSystemId string           `position:"Query" name:"FileSystemId"`
+	Tag          *[]RemoveTagsTag `position:"Query" name:"Tag" type:"Repeated"`
 }
 
-// RemoveTagsTag is a repeated param struct in RemoveTagsRequest
 type RemoveTagsTag struct {
-	Value string `name:"Value"`
 	Key   string `name:"Key"`
+	Value string `name:"Value"`
 }
 
 // RemoveTagsResponse is the response struct for api RemoveTags

+ 3 - 3
services/nas/reset_file_system.go

@@ -1,5 +1,3 @@
-package nas
-
 //Licensed under the Apache License, Version 2.0 (the "License");
 //you may not use this file except in compliance with the License.
 //You may obtain a copy of the License at
@@ -15,6 +13,8 @@ package nas
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
+package nas
+
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
@@ -76,8 +76,8 @@ func (client *Client) ResetFileSystemWithCallback(request *ResetFileSystemReques
 // ResetFileSystemRequest is the request struct for api ResetFileSystem
 type ResetFileSystemRequest struct {
 	*requests.RpcRequest
-	SnapshotId   string `position:"Query" name:"snapshotId"`
 	FileSystemId string `position:"Query" name:"FileSystemId"`
+	SnapshotId   string `position:"Query" name:"SnapshotId"`
 }
 
 // ResetFileSystemResponse is the response struct for api ResetFileSystem

+ 0 - 25
services/nas/struct_access_group.go

@@ -1,25 +0,0 @@
-package nas
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under the License.
-//
-// Code generated by Alibaba Cloud SDK Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is regenerated.
-
-// AccessGroup is a nested struct in nas response
-type AccessGroup struct {
-	AccessGroupName  string `json:"AccessGroupName" xml:"AccessGroupName"`
-	AccessGroupType  string `json:"AccessGroupType" xml:"AccessGroupType"`
-	RuleCount        int    `json:"RuleCount" xml:"RuleCount"`
-	MountTargetCount int    `json:"MountTargetCount" xml:"MountTargetCount"`
-	Description      string `json:"Description" xml:"Description"`
-}

+ 0 - 21
services/nas/struct_access_groups.go

@@ -1,21 +0,0 @@
-package nas
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under the License.
-//
-// Code generated by Alibaba Cloud SDK Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is regenerated.
-
-// AccessGroups is a nested struct in nas response
-type AccessGroups struct {
-	AccessGroup []AccessGroup `json:"AccessGroup" xml:"AccessGroup"`
-}

+ 0 - 25
services/nas/struct_access_rule.go

@@ -1,25 +0,0 @@
-package nas
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under the License.
-//
-// Code generated by Alibaba Cloud SDK Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is regenerated.
-
-// AccessRule is a nested struct in nas response
-type AccessRule struct {
-	SourceCidrIp string `json:"SourceCidrIp" xml:"SourceCidrIp"`
-	Priority     int    `json:"Priority" xml:"Priority"`
-	AccessRuleId string `json:"AccessRuleId" xml:"AccessRuleId"`
-	RWAccess     string `json:"RWAccess" xml:"RWAccess"`
-	UserAccess   string `json:"UserAccess" xml:"UserAccess"`
-}

+ 0 - 21
services/nas/struct_access_rules.go

@@ -1,21 +0,0 @@
-package nas
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under the License.
-//
-// Code generated by Alibaba Cloud SDK Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is regenerated.
-
-// AccessRules is a nested struct in nas response
-type AccessRules struct {
-	AccessRule []AccessRule `json:"AccessRule" xml:"AccessRule"`
-}

+ 0 - 21
services/nas/struct_auto_snapshot_policies.go

@@ -1,21 +0,0 @@
-package nas
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under the License.
-//
-// Code generated by Alibaba Cloud SDK Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is regenerated.
-
-// AutoSnapshotPolicies is a nested struct in nas response
-type AutoSnapshotPolicies struct {
-	AutoSnapshotPolicy []AutoSnapshotPolicy `json:"AutoSnapshotPolicy" xml:"AutoSnapshotPolicy"`
-}

+ 0 - 29
services/nas/struct_auto_snapshot_policy.go

@@ -1,29 +0,0 @@
-package nas
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under the License.
-//
-// Code generated by Alibaba Cloud SDK Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is regenerated.
-
-// AutoSnapshotPolicy is a nested struct in nas response
-type AutoSnapshotPolicy struct {
-	AutoSnapshotPolicyId   string `json:"AutoSnapshotPolicyId" xml:"AutoSnapshotPolicyId"`
-	AutoSnapshotPolicyName string `json:"AutoSnapshotPolicyName" xml:"AutoSnapshotPolicyName"`
-	CreateTime             string `json:"CreateTime" xml:"CreateTime"`
-	FileSystemNums         int    `json:"FileSystemNums" xml:"FileSystemNums"`
-	RegionId               string `json:"RegionId" xml:"RegionId"`
-	RepeatWeekdays         string `json:"RepeatWeekdays" xml:"RepeatWeekdays"`
-	RetentionDays          int    `json:"RetentionDays" xml:"RetentionDays"`
-	Status                 string `json:"Status" xml:"Status"`
-	TimePoints             string `json:"TimePoints" xml:"TimePoints"`
-}

+ 0 - 21
services/nas/struct_capacity.go

@@ -1,21 +0,0 @@
-package nas
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under the License.
-//
-// Code generated by Alibaba Cloud SDK Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is regenerated.
-
-// Capacity is a nested struct in nas response
-type Capacity struct {
-	Protocol []string `json:"Protocol" xml:"Protocol"`
-}

+ 0 - 34
services/nas/struct_file_system.go

@@ -1,34 +0,0 @@
-package nas
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under the License.
-//
-// Code generated by Alibaba Cloud SDK Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is regenerated.
-
-// FileSystem is a nested struct in nas response
-type FileSystem struct {
-	FileSystemId string                            `json:"FileSystemId" xml:"FileSystemId"`
-	Description  string                            `json:"Description" xml:"Description"`
-	CreateTime   string                            `json:"CreateTime" xml:"CreateTime"`
-	RegionId     string                            `json:"RegionId" xml:"RegionId"`
-	ProtocolType string                            `json:"ProtocolType" xml:"ProtocolType"`
-	StorageType  string                            `json:"StorageType" xml:"StorageType"`
-	MeteredSize  int64                             `json:"MeteredSize" xml:"MeteredSize"`
-	ZoneId       string                            `json:"ZoneId" xml:"ZoneId"`
-	Bandwidth    int64                             `json:"Bandwidth" xml:"Bandwidth"`
-	Capacity     int64                             `json:"Capacity" xml:"Capacity"`
-	Status       string                            `json:"Status" xml:"Status"`
-	Ldap         Ldap                              `json:"Ldap" xml:"Ldap"`
-	MountTargets MountTargetsInDescribeFileSystems `json:"MountTargets" xml:"MountTargets"`
-	Packages     Packages                          `json:"Packages" xml:"Packages"`
-}

+ 0 - 21
services/nas/struct_file_system_ids.go

@@ -1,21 +0,0 @@
-package nas
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under the License.
-//
-// Code generated by Alibaba Cloud SDK Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is regenerated.
-
-// FileSystemIds is a nested struct in nas response
-type FileSystemIds struct {
-	FileSystemId []string `json:"FileSystemId" xml:"FileSystemId"`
-}

+ 0 - 21
services/nas/struct_file_systems.go

@@ -1,21 +0,0 @@
-package nas
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under the License.
-//
-// Code generated by Alibaba Cloud SDK Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is regenerated.
-
-// FileSystems is a nested struct in nas response
-type FileSystems struct {
-	FileSystem []FileSystem `json:"FileSystem" xml:"FileSystem"`
-}

+ 0 - 23
services/nas/struct_ldap.go

@@ -1,23 +0,0 @@
-package nas
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under the License.
-//
-// Code generated by Alibaba Cloud SDK Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is regenerated.
-
-// Ldap is a nested struct in nas response
-type Ldap struct {
-	SearchBase string `json:"SearchBase" xml:"SearchBase"`
-	BindDN     string `json:"BindDN" xml:"BindDN"`
-	URI        string `json:"URI" xml:"URI"`
-}

+ 0 - 27
services/nas/struct_mount_target.go

@@ -1,27 +0,0 @@
-package nas
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under the License.
-//
-// Code generated by Alibaba Cloud SDK Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is regenerated.
-
-// MountTarget is a nested struct in nas response
-type MountTarget struct {
-	VswId             string `json:"VswId" xml:"VswId"`
-	MountTargetDomain string `json:"MountTargetDomain" xml:"MountTargetDomain"`
-	AccessGroup       string `json:"AccessGroup" xml:"AccessGroup"`
-	AccessGroupName   string `json:"AccessGroupName" xml:"AccessGroupName"`
-	NetworkType       string `json:"NetworkType" xml:"NetworkType"`
-	VpcId             string `json:"VpcId" xml:"VpcId"`
-	Status            string `json:"Status" xml:"Status"`
-}

+ 0 - 21
services/nas/struct_mount_targets_in_describe_file_systems.go

@@ -1,21 +0,0 @@
-package nas
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under the License.
-//
-// Code generated by Alibaba Cloud SDK Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is regenerated.
-
-// MountTargetsInDescribeFileSystems is a nested struct in nas response
-type MountTargetsInDescribeFileSystems struct {
-	MountTarget []MountTarget `json:"MountTarget" xml:"MountTarget"`
-}

+ 0 - 21
services/nas/struct_mount_targets_in_describe_mount_targets.go

@@ -1,21 +0,0 @@
-package nas
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under the License.
-//
-// Code generated by Alibaba Cloud SDK Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is regenerated.
-
-// MountTargetsInDescribeMountTargets is a nested struct in nas response
-type MountTargetsInDescribeMountTargets struct {
-	MountTarget []MountTarget `json:"MountTarget" xml:"MountTarget"`
-}

+ 0 - 21
services/nas/struct_package.go

@@ -1,21 +0,0 @@
-package nas
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under the License.
-//
-// Code generated by Alibaba Cloud SDK Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is regenerated.
-
-// Package is a nested struct in nas response
-type Package struct {
-	PackageId string `json:"PackageId" xml:"PackageId"`
-}

+ 0 - 21
services/nas/struct_packages.go

@@ -1,21 +0,0 @@
-package nas
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under the License.
-//
-// Code generated by Alibaba Cloud SDK Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is regenerated.
-
-// Packages is a nested struct in nas response
-type Packages struct {
-	Package []Package `json:"Package" xml:"Package"`
-}

+ 0 - 21
services/nas/struct_performance.go

@@ -1,21 +0,0 @@
-package nas
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under the License.
-//
-// Code generated by Alibaba Cloud SDK Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is regenerated.
-
-// Performance is a nested struct in nas response
-type Performance struct {
-	Protocol []string `json:"Protocol" xml:"Protocol"`
-}

+ 0 - 23
services/nas/struct_region.go

@@ -1,23 +0,0 @@
-package nas
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under the License.
-//
-// Code generated by Alibaba Cloud SDK Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is regenerated.
-
-// Region is a nested struct in nas response
-type Region struct {
-	RegionId       string `json:"RegionId" xml:"RegionId"`
-	LocalName      string `json:"LocalName" xml:"LocalName"`
-	RegionEndpoint string `json:"RegionEndpoint" xml:"RegionEndpoint"`
-}

+ 0 - 21
services/nas/struct_regions.go

@@ -1,21 +0,0 @@
-package nas
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under the License.
-//
-// Code generated by Alibaba Cloud SDK Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is regenerated.
-
-// Regions is a nested struct in nas response
-type Regions struct {
-	Region []Region `json:"Region" xml:"Region"`
-}

+ 0 - 30
services/nas/struct_snapshot.go

@@ -1,30 +0,0 @@
-package nas
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under the License.
-//
-// Code generated by Alibaba Cloud SDK Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is regenerated.
-
-// Snapshot is a nested struct in nas response
-type Snapshot struct {
-	CreateTime           string `json:"CreateTime" xml:"CreateTime"`
-	Description          string `json:"Description" xml:"Description"`
-	Progress             string `json:"Progress" xml:"Progress"`
-	RemainTime           int    `json:"RemainTime" xml:"RemainTime"`
-	RetentionDays        int    `json:"RetentionDays" xml:"RetentionDays"`
-	SnapshotId           string `json:"SnapshotId" xml:"SnapshotId"`
-	SnapshotName         string `json:"SnapshotName" xml:"SnapshotName"`
-	SourceFileSystemId   string `json:"SourceFileSystemId" xml:"SourceFileSystemId"`
-	SourceFileSystemSize int64  `json:"SourceFileSystemSize" xml:"SourceFileSystemSize"`
-	Status               string `json:"Status" xml:"Status"`
-}

+ 0 - 21
services/nas/struct_snapshots.go

@@ -1,21 +0,0 @@
-package nas
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under the License.
-//
-// Code generated by Alibaba Cloud SDK Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is regenerated.
-
-// Snapshots is a nested struct in nas response
-type Snapshots struct {
-	Snapshot []Snapshot `json:"Snapshot" xml:"Snapshot"`
-}

+ 0 - 23
services/nas/struct_tag.go

@@ -1,23 +0,0 @@
-package nas
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under the License.
-//
-// Code generated by Alibaba Cloud SDK Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is regenerated.
-
-// Tag is a nested struct in nas response
-type Tag struct {
-	Key           string        `json:"Key" xml:"Key"`
-	Value         string        `json:"Value" xml:"Value"`
-	FileSystemIds FileSystemIds `json:"FileSystemIds" xml:"FileSystemIds"`
-}

+ 0 - 21
services/nas/struct_tags.go

@@ -1,21 +0,0 @@
-package nas
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under the License.
-//
-// Code generated by Alibaba Cloud SDK Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is regenerated.
-
-// Tags is a nested struct in nas response
-type Tags struct {
-	Tag []Tag `json:"Tag" xml:"Tag"`
-}

+ 0 - 23
services/nas/struct_zone.go

@@ -1,23 +0,0 @@
-package nas
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under the License.
-//
-// Code generated by Alibaba Cloud SDK Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is regenerated.
-
-// Zone is a nested struct in nas response
-type Zone struct {
-	ZoneId      string      `json:"ZoneId" xml:"ZoneId"`
-	Capacity    Capacity    `json:"Capacity" xml:"Capacity"`
-	Performance Performance `json:"Performance" xml:"Performance"`
-}

+ 0 - 21
services/nas/struct_zones.go

@@ -1,21 +0,0 @@
-package nas
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under the License.
-//
-// Code generated by Alibaba Cloud SDK Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is regenerated.
-
-// Zones is a nested struct in nas response
-type Zones struct {
-	Zone []Zone `json:"Zone" xml:"Zone"`
-}