diff --git a/go.mod b/go.mod index 301a32ae15..a8691d3425 100644 --- a/go.mod +++ b/go.mod @@ -6,11 +6,11 @@ tool github.com/golang/mock/mockgen require ( github.com/alibabacloud-go/darabonba-openapi v0.1.16 - github.com/alibabacloud-go/darabonba-openapi/v2 v2.1.13 + github.com/alibabacloud-go/darabonba-openapi/v2 v2.1.14 github.com/alibabacloud-go/ecs-20140526/v7 v7.4.2 github.com/alibabacloud-go/eflo-controller-20221215/v3 v3.0.0 github.com/alibabacloud-go/ens-20171110/v3 v3.0.2 - github.com/alibabacloud-go/nas-20170626/v4 v4.2.0 + github.com/alibabacloud-go/nas-20170626/v4 v4.4.0 github.com/alibabacloud-go/sts-20150401/v2 v2.0.4 github.com/alibabacloud-go/tea v1.3.13 github.com/aliyun/alibaba-cloud-sdk-go v1.63.107 diff --git a/go.sum b/go.sum index b388de76a3..37884ff235 100644 --- a/go.sum +++ b/go.sum @@ -32,8 +32,9 @@ github.com/alibabacloud-go/darabonba-map v0.0.2/go.mod h1:28AJaX8FOE/ym8OUFWga+M github.com/alibabacloud-go/darabonba-openapi v0.1.16 h1:f6ZspWKTBurQzyLpZKMVxO51HAePY8aedicwuX3+E20= github.com/alibabacloud-go/darabonba-openapi v0.1.16/go.mod h1:ZjyqRbbZOaUBSh7keeH8VQN/BzCPvxCQwMuJGDdbmXQ= github.com/alibabacloud-go/darabonba-openapi/v2 v2.0.11/go.mod h1:wHxkgZT1ClZdcwEVP/pDgYK/9HucsnCfMipmJgCz4xY= -github.com/alibabacloud-go/darabonba-openapi/v2 v2.1.13 h1:Q00FU3H94Ts0ZIHDmY+fYGgB7dV9D/YX6FGsgorQPgw= github.com/alibabacloud-go/darabonba-openapi/v2 v2.1.13/go.mod h1:lxFGfobinVsQ49ntjpgWghXmIF0/Sm4+wvBJ1h5RtaE= +github.com/alibabacloud-go/darabonba-openapi/v2 v2.1.14 h1:iIamPRvehxQvVnTOvz77rZR+/YME1lR7X8kHonQSU6Y= +github.com/alibabacloud-go/darabonba-openapi/v2 v2.1.14/go.mod h1:lxFGfobinVsQ49ntjpgWghXmIF0/Sm4+wvBJ1h5RtaE= github.com/alibabacloud-go/darabonba-signature-util v0.0.7 h1:UzCnKvsjPFzApvODDNEYqBHMFt1w98wC7FOo0InLyxg= github.com/alibabacloud-go/darabonba-signature-util v0.0.7/go.mod h1:oUzCYV2fcCH797xKdL6BDH8ADIHlzrtKVjeRtunBNTQ= github.com/alibabacloud-go/darabonba-string v1.0.0/go.mod h1:93cTfV3vuPhhEwGGpKKqhVW4jLe7tDpo3LUM0i0g6mA= @@ -51,8 +52,8 @@ github.com/alibabacloud-go/endpoint-util v1.1.0 h1:r/4D3VSw888XGaeNpP994zDUaxdgT github.com/alibabacloud-go/endpoint-util v1.1.0/go.mod h1:O5FuCALmCKs2Ff7JFJMudHs0I5EBgecXXxZRyswlEjE= github.com/alibabacloud-go/ens-20171110/v3 v3.0.2 h1:MOcjqAf7cACXaPKAv37WMjp7zHARcrdmGQm08PYiiPM= github.com/alibabacloud-go/ens-20171110/v3 v3.0.2/go.mod h1:g1OXoq7qq5G2q3Un2Fzq5ETCPOFa0YytKxdDfRTkEvI= -github.com/alibabacloud-go/nas-20170626/v4 v4.2.0 h1:Mw7QWyzAgzjhYGHCyn5Zv3wCxkMXFnWvt4W99+WrOPU= -github.com/alibabacloud-go/nas-20170626/v4 v4.2.0/go.mod h1:r+gi2r9y1uGDyuw+fF8PbMHaFHEtcKyR66toUJkfeQc= +github.com/alibabacloud-go/nas-20170626/v4 v4.4.0 h1:OuTDMTSpfF8xJiZwGsBtI0ZeK5G+QICyj3MolVooidM= +github.com/alibabacloud-go/nas-20170626/v4 v4.4.0/go.mod h1:ewNw56yR+ekcundQ3I3+HVYgCMvxxkx5tK2NpHe0RDQ= github.com/alibabacloud-go/openapi-util v0.0.10/go.mod h1:sQuElr4ywwFRlCCberQwKRFhRzIyG4QTP/P4y1CJ6Ws= github.com/alibabacloud-go/openapi-util v0.0.11/go.mod h1:sQuElr4ywwFRlCCberQwKRFhRzIyG4QTP/P4y1CJ6Ws= github.com/alibabacloud-go/openapi-util v0.1.0/go.mod h1:sQuElr4ywwFRlCCberQwKRFhRzIyG4QTP/P4y1CJ6Ws= diff --git a/vendor/github.com/alibabacloud-go/darabonba-openapi/v2/utils/client.go b/vendor/github.com/alibabacloud-go/darabonba-openapi/v2/utils/client.go index 650110f518..f10d7ed52b 100644 --- a/vendor/github.com/alibabacloud-go/darabonba-openapi/v2/utils/client.go +++ b/vendor/github.com/alibabacloud-go/darabonba-openapi/v2/utils/client.go @@ -827,3 +827,125 @@ func StringifyMapValue(a map[string]interface{}) map[string]*string { } return res } + +// MapToFlatStyle transforms a map to a flat style map where keys are prefixed with length info. +// Map keys are transformed from "key" to "#length#key" format. +func MapToFlatStyle(object interface{}) interface{} { + if object == nil { + return object + } + + val := reflect.ValueOf(object) + if !val.IsValid() { + return object + } + + // Handle pointer types + if val.Kind() == reflect.Ptr { + if val.IsNil() { + return object + } + val = val.Elem() + } + + // Handle slice/array (List) + if val.Kind() == reflect.Slice || val.Kind() == reflect.Array { + result := make([]interface{}, val.Len()) + for i := 0; i < val.Len(); i++ { + result[i] = MapToFlatStyle(val.Index(i).Interface()) + } + return result + } + + // Handle struct (TeaModel equivalent) + if val.Kind() == reflect.Struct { + // Create a pointer to the struct so we can modify it + if reflect.TypeOf(object).Kind() == reflect.Ptr { + // Already a pointer + val = reflect.ValueOf(object).Elem() + } else { + // Make a copy and work with pointer + ptrVal := reflect.New(val.Type()) + ptrVal.Elem().Set(val) + val = ptrVal.Elem() + object = ptrVal.Interface() + } + + valType := val.Type() + for i := 0; i < val.NumField(); i++ { + field := val.Field(i) + fieldType := valType.Field(i) + + // Skip unexported fields + if !field.CanSet() { + continue + } + + fieldValue := field.Interface() + + // Check if field is a map + if field.Kind() == reflect.Map { + flatMap := make(map[string]interface{}) + iter := field.MapRange() + for iter.Next() { + key := iter.Key() + value := iter.Value() + keyStr := fmt.Sprintf("%v", key.Interface()) + flatKey := fmt.Sprintf("#%d#%s", len(keyStr), keyStr) + flatMap[flatKey] = MapToFlatStyle(value.Interface()) + } + + // Set the flattened map back to the field + newMapValue := reflect.MakeMap(field.Type()) + for k, v := range flatMap { + keyVal := reflect.ValueOf(k) + valVal := reflect.ValueOf(v) + if valVal.IsValid() && valVal.Type().AssignableTo(field.Type().Elem()) { + newMapValue.SetMapIndex(keyVal, valVal) + } else if valVal.IsValid() { + // Try to convert the value + if field.Type().Elem().Kind() == reflect.Interface { + newMapValue.SetMapIndex(keyVal, valVal) + } + } + } + if newMapValue.Len() > 0 { + field.Set(newMapValue) + } + } else { + // Recursively process other fields + processed := MapToFlatStyle(fieldValue) + if processed != nil && field.CanSet() { + processedVal := reflect.ValueOf(processed) + if processedVal.IsValid() { + // Only set if types are compatible + if processedVal.Type().AssignableTo(fieldType.Type) { + field.Set(processedVal) + } else if fieldType.Type.Kind() == reflect.Interface { + field.Set(processedVal) + } else if processedVal.Type().ConvertibleTo(fieldType.Type) { + field.Set(processedVal.Convert(fieldType.Type)) + } + } + } + } + } + return object + } + + // Handle map + if val.Kind() == reflect.Map { + flatMap := make(map[string]interface{}) + iter := val.MapRange() + for iter.Next() { + key := iter.Key() + value := iter.Value() + keyStr := fmt.Sprintf("%v", key.Interface()) + flatKey := fmt.Sprintf("#%d#%s", len(keyStr), keyStr) + flatMap[flatKey] = MapToFlatStyle(value.Interface()) + } + return flatMap + } + + return object +} diff --git a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/client.go b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/client.go index edf851682b..c19e68f5e1 100644 --- a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/client.go +++ b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/client.go @@ -2461,7 +2461,7 @@ func (client *Client) CreateFile(request *CreateFileRequest) (_result *CreateFil // // Description: // -// Before you call this operation, you must understand the billing and pricing of Apsara File Storage NAS. For more information, see [Billing](https://help.aliyun.com/document_detail/178365.html) and [Pricing](https://www.aliyun.com/price/product?#/nas/detail). +// Before you call this operation, you must understand the billing and pricing of File Storage NAS. For more information, see [Billing](https://help.aliyun.com/document_detail/178365.html) and [Pricing](https://www.aliyun.com/price/product?#/nas/detail). // // - Before you create a file system, you must complete real-name verification. For more information, see [Real-name verification](https://help.aliyun.com/document_detail/48263.html). // @@ -2589,7 +2589,7 @@ func (client *Client) CreateFileSystemWithOptions(request *CreateFileSystemReque // // Description: // -// Before you call this operation, you must understand the billing and pricing of Apsara File Storage NAS. For more information, see [Billing](https://help.aliyun.com/document_detail/178365.html) and [Pricing](https://www.aliyun.com/price/product?#/nas/detail). +// Before you call this operation, you must understand the billing and pricing of File Storage NAS. For more information, see [Billing](https://help.aliyun.com/document_detail/178365.html) and [Pricing](https://www.aliyun.com/price/product?#/nas/detail). // // - Before you create a file system, you must complete real-name verification. For more information, see [Real-name verification](https://help.aliyun.com/document_detail/48263.html). // @@ -2856,9 +2856,11 @@ func (client *Client) CreateLDAPConfig(request *CreateLDAPConfigRequest) (_resul // // Description: // -// You can create lifecycle policies only for General-purpose NAS file systems. +// Only General-purpose NAS and CPFS for Lingjun file systems support this operation. // -// - You can create up to 20 lifecycle policies in each region within an Alibaba Cloud account. +// - Up to 10 Auto and 100 OnDemand lifecycle policies can be created for each CPFS for Lingjun file system. +// +// - For general-purpose NAS file systems, up to 20 lifecycle policies can be created in each region. // // @param request - CreateLifecyclePolicyRequest // @@ -2873,6 +2875,10 @@ func (client *Client) CreateLifecyclePolicyWithOptions(request *CreateLifecycleP } } query := map[string]interface{}{} + if !dara.IsNil(request.Description) { + query["Description"] = request.Description + } + if !dara.IsNil(request.FileSystemId) { query["FileSystemId"] = request.FileSystemId } @@ -2881,6 +2887,10 @@ func (client *Client) CreateLifecyclePolicyWithOptions(request *CreateLifecycleP query["LifecyclePolicyName"] = request.LifecyclePolicyName } + if !dara.IsNil(request.LifecyclePolicyType) { + query["LifecyclePolicyType"] = request.LifecyclePolicyType + } + if !dara.IsNil(request.LifecycleRuleName) { query["LifecycleRuleName"] = request.LifecycleRuleName } @@ -2893,10 +2903,18 @@ func (client *Client) CreateLifecyclePolicyWithOptions(request *CreateLifecycleP query["Paths"] = request.Paths } + if !dara.IsNil(request.RetrieveRules) { + query["RetrieveRules"] = request.RetrieveRules + } + if !dara.IsNil(request.StorageType) { query["StorageType"] = request.StorageType } + if !dara.IsNil(request.TransitRules) { + query["TransitRules"] = request.TransitRules + } + req := &openapiutil.OpenApiRequest{ Query: openapiutil.Query(query), } @@ -2926,9 +2944,11 @@ func (client *Client) CreateLifecyclePolicyWithOptions(request *CreateLifecycleP // // Description: // -// You can create lifecycle policies only for General-purpose NAS file systems. +// Only General-purpose NAS and CPFS for Lingjun file systems support this operation. // -// - You can create up to 20 lifecycle policies in each region within an Alibaba Cloud account. +// - Up to 10 Auto and 100 OnDemand lifecycle policies can be created for each CPFS for Lingjun file system. +// +// - For general-purpose NAS file systems, up to 20 lifecycle policies can be created in each region. // // @param request - CreateLifecyclePolicyRequest // @@ -4387,7 +4407,7 @@ func (client *Client) DeleteLDAPConfig(request *DeleteLDAPConfigRequest) (_resul // // Description: // -// Only General-purpose NAS file systems support this operation. +// Only General-purpose NAS and CPFS for Lingjun file systems support this operation. // // @param request - DeleteLifecyclePolicyRequest // @@ -4406,6 +4426,10 @@ func (client *Client) DeleteLifecyclePolicyWithOptions(request *DeleteLifecycleP query["FileSystemId"] = request.FileSystemId } + if !dara.IsNil(request.LifecyclePolicyId) { + query["LifecyclePolicyId"] = request.LifecyclePolicyId + } + if !dara.IsNil(request.LifecyclePolicyName) { query["LifecyclePolicyName"] = request.LifecyclePolicyName } @@ -4439,7 +4463,7 @@ func (client *Client) DeleteLifecyclePolicyWithOptions(request *DeleteLifecycleP // // Description: // -// Only General-purpose NAS file systems support this operation. +// Only General-purpose NAS and CPFS for Lingjun file systems support this operation. // // @param request - DeleteLifecyclePolicyRequest // @@ -4995,11 +5019,11 @@ func (client *Client) DescribeAccessPoint(request *DescribeAccessPointRequest) ( // Summary: // -// Queries the information about an access point. +// Queries a list of access points. // // Description: // -// Only General-purpose Network File System (NFS) file systems support this operation. +// Only General-purpose NAS file systems that use the NFS protocol support this operation. // // @param request - DescribeAccessPointsRequest // @@ -5059,11 +5083,11 @@ func (client *Client) DescribeAccessPointsWithOptions(request *DescribeAccessPoi // Summary: // -// Queries the information about an access point. +// Queries a list of access points. // // Description: // -// Only General-purpose Network File System (NFS) file systems support this operation. +// Only General-purpose NAS file systems that use the NFS protocol support this operation. // // @param request - DescribeAccessPointsRequest // @@ -6011,6 +6035,90 @@ func (client *Client) DescribeFilesets(request *DescribeFilesetsRequest) (_resul return _result, _err } +// Summary: +// +// Retrieves the list of HpnZones for a file system. Access performance is optimal when compute nodes are located in one of the associated HpnZones. +// +// Description: +// +// Only CPFS for Lingjun supports this operation. +// +// - You can call this operation to query up to 20 file systems at a time. +// +// @param tmpReq - DescribeFilesystemsAssociatedHpnZonesRequest +// +// @param runtime - runtime options for this request RuntimeOptions +// +// @return DescribeFilesystemsAssociatedHpnZonesResponse +func (client *Client) DescribeFilesystemsAssociatedHpnZonesWithOptions(tmpReq *DescribeFilesystemsAssociatedHpnZonesRequest, runtime *dara.RuntimeOptions) (_result *DescribeFilesystemsAssociatedHpnZonesResponse, _err error) { + if dara.BoolValue(client.EnableValidate) == true { + _err = tmpReq.Validate() + if _err != nil { + return _result, _err + } + } + request := &DescribeFilesystemsAssociatedHpnZonesShrinkRequest{} + openapiutil.Convert(tmpReq, request) + if !dara.IsNil(tmpReq.Filesystems) { + request.FilesystemsShrink = openapiutil.ArrayToStringWithSpecifiedStyle(tmpReq.Filesystems, dara.String("Filesystems"), dara.String("json")) + } + + query := map[string]interface{}{} + if !dara.IsNil(request.FilesystemsShrink) { + query["Filesystems"] = request.FilesystemsShrink + } + + if !dara.IsNil(request.RegionId) { + query["RegionId"] = request.RegionId + } + + req := &openapiutil.OpenApiRequest{ + Query: openapiutil.Query(query), + } + params := &openapiutil.Params{ + Action: dara.String("DescribeFilesystemsAssociatedHpnZones"), + Version: dara.String("2017-06-26"), + Protocol: dara.String("HTTPS"), + Pathname: dara.String("/"), + Method: dara.String("POST"), + AuthType: dara.String("AK"), + Style: dara.String("RPC"), + ReqBodyType: dara.String("formData"), + BodyType: dara.String("json"), + } + _result = &DescribeFilesystemsAssociatedHpnZonesResponse{} + _body, _err := client.CallApi(params, req, runtime) + if _err != nil { + return _result, _err + } + _err = dara.Convert(_body, &_result) + return _result, _err +} + +// Summary: +// +// Retrieves the list of HpnZones for a file system. Access performance is optimal when compute nodes are located in one of the associated HpnZones. +// +// Description: +// +// Only CPFS for Lingjun supports this operation. +// +// - You can call this operation to query up to 20 file systems at a time. +// +// @param request - DescribeFilesystemsAssociatedHpnZonesRequest +// +// @return DescribeFilesystemsAssociatedHpnZonesResponse +func (client *Client) DescribeFilesystemsAssociatedHpnZones(request *DescribeFilesystemsAssociatedHpnZonesRequest) (_result *DescribeFilesystemsAssociatedHpnZonesResponse, _err error) { + runtime := &dara.RuntimeOptions{} + _result = &DescribeFilesystemsAssociatedHpnZonesResponse{} + _body, _err := client.DescribeFilesystemsAssociatedHpnZonesWithOptions(request, runtime) + if _err != nil { + return _result, _err + } + _result = _body + return _result, _err +} + // Summary: // // Queries information about virtual storage channels associated with a file system. @@ -6099,7 +6207,7 @@ func (client *Client) DescribeFilesystemsVscAttachInfo(request *DescribeFilesyst // // Description: // -// Only General-purpose NAS file systems support this operation. +// Only General-purpose NAS and CPFS for Lingjun file systems support this operation. // // @param request - DescribeLifecyclePoliciesRequest // @@ -6143,7 +6251,7 @@ func (client *Client) DescribeLifecyclePoliciesWithOptions(request *DescribeLife // // Description: // -// Only General-purpose NAS file systems support this operation. +// Only General-purpose NAS and CPFS for Lingjun file systems support this operation. // // @param request - DescribeLifecyclePoliciesRequest // @@ -6159,6 +6267,80 @@ func (client *Client) DescribeLifecyclePolicies(request *DescribeLifecyclePolici return _result, _err } +// Summary: +// +// 查询生命周期策略日志 +// +// @param request - DescribeLifecyclePolicyLogsRequest +// +// @param runtime - runtime options for this request RuntimeOptions +// +// @return DescribeLifecyclePolicyLogsResponse +func (client *Client) DescribeLifecyclePolicyLogsWithOptions(request *DescribeLifecyclePolicyLogsRequest, runtime *dara.RuntimeOptions) (_result *DescribeLifecyclePolicyLogsResponse, _err error) { + if dara.BoolValue(client.EnableValidate) == true { + _err = request.Validate() + if _err != nil { + return _result, _err + } + } + query := map[string]interface{}{} + if !dara.IsNil(request.FileSystemId) { + query["FileSystemId"] = request.FileSystemId + } + + if !dara.IsNil(request.LifecyclePolicyId) { + query["LifecyclePolicyId"] = request.LifecyclePolicyId + } + + if !dara.IsNil(request.PageNumber) { + query["PageNumber"] = request.PageNumber + } + + if !dara.IsNil(request.PageSize) { + query["PageSize"] = request.PageSize + } + + req := &openapiutil.OpenApiRequest{ + Query: openapiutil.Query(query), + } + params := &openapiutil.Params{ + Action: dara.String("DescribeLifecyclePolicyLogs"), + Version: dara.String("2017-06-26"), + Protocol: dara.String("HTTPS"), + Pathname: dara.String("/"), + Method: dara.String("POST"), + AuthType: dara.String("AK"), + Style: dara.String("RPC"), + ReqBodyType: dara.String("formData"), + BodyType: dara.String("json"), + } + _result = &DescribeLifecyclePolicyLogsResponse{} + _body, _err := client.CallApi(params, req, runtime) + if _err != nil { + return _result, _err + } + _err = dara.Convert(_body, &_result) + return _result, _err +} + +// Summary: +// +// 查询生命周期策略日志 +// +// @param request - DescribeLifecyclePolicyLogsRequest +// +// @return DescribeLifecyclePolicyLogsResponse +func (client *Client) DescribeLifecyclePolicyLogs(request *DescribeLifecyclePolicyLogsRequest) (_result *DescribeLifecyclePolicyLogsResponse, _err error) { + runtime := &dara.RuntimeOptions{} + _result = &DescribeLifecyclePolicyLogsResponse{} + _body, _err := client.DescribeLifecyclePolicyLogsWithOptions(request, runtime) + if _err != nil { + return _result, _err + } + _result = _body + return _result, _err +} + // Summary: // // Queries the log dump information configured in log analysis. @@ -7583,7 +7765,11 @@ func (client *Client) GetDirectoryOrFileProperties(request *GetDirectoryOrFilePr // Summary: // -// 查询特定智能目录 +// Queries the information about the created fileset. +// +// Description: +// +// Only CPFS V2.2.0 and CPFS for Lingjun V2.7.0 and later support this operation. You can view the version information on the file system details page in the console. // // @param request - GetFilesetRequest // @@ -7631,7 +7817,11 @@ func (client *Client) GetFilesetWithOptions(request *GetFilesetRequest, runtime // Summary: // -// 查询特定智能目录 +// Queries the information about the created fileset. +// +// Description: +// +// Only CPFS V2.2.0 and CPFS for Lingjun V2.7.0 and later support this operation. You can view the version information on the file system details page in the console. // // @param request - GetFilesetRequest // @@ -7649,7 +7839,7 @@ func (client *Client) GetFileset(request *GetFilesetRequest) (_result *GetFilese // Summary: // -// 查询协议机挂载点 +// # Query the export directory information of the protocol service // // @param request - GetProtocolMountTargetRequest // @@ -7713,7 +7903,7 @@ func (client *Client) GetProtocolMountTargetWithOptions(request *GetProtocolMoun // Summary: // -// 查询协议机挂载点 +// # Query the export directory information of the protocol service // // @param request - GetProtocolMountTargetRequest // @@ -9097,6 +9287,10 @@ func (client *Client) ModifyLifecyclePolicyWithOptions(request *ModifyLifecycleP query["FileSystemId"] = request.FileSystemId } + if !dara.IsNil(request.LifecyclePolicyId) { + query["LifecyclePolicyId"] = request.LifecyclePolicyId + } + if !dara.IsNil(request.LifecyclePolicyName) { query["LifecyclePolicyName"] = request.LifecyclePolicyName } @@ -10094,6 +10288,72 @@ func (client *Client) StartDataFlow(request *StartDataFlowRequest) (_result *Sta return _result, _err } +// Summary: +// +// 启动生命周期策略运行 +// +// @param request - StartLifecyclePolicyExecutionRequest +// +// @param runtime - runtime options for this request RuntimeOptions +// +// @return StartLifecyclePolicyExecutionResponse +func (client *Client) StartLifecyclePolicyExecutionWithOptions(request *StartLifecyclePolicyExecutionRequest, runtime *dara.RuntimeOptions) (_result *StartLifecyclePolicyExecutionResponse, _err error) { + if dara.BoolValue(client.EnableValidate) == true { + _err = request.Validate() + if _err != nil { + return _result, _err + } + } + query := map[string]interface{}{} + if !dara.IsNil(request.FileSystemId) { + query["FileSystemId"] = request.FileSystemId + } + + if !dara.IsNil(request.LifecyclePolicyId) { + query["LifecyclePolicyId"] = request.LifecyclePolicyId + } + + req := &openapiutil.OpenApiRequest{ + Query: openapiutil.Query(query), + } + params := &openapiutil.Params{ + Action: dara.String("StartLifecyclePolicyExecution"), + Version: dara.String("2017-06-26"), + Protocol: dara.String("HTTPS"), + Pathname: dara.String("/"), + Method: dara.String("POST"), + AuthType: dara.String("AK"), + Style: dara.String("RPC"), + ReqBodyType: dara.String("formData"), + BodyType: dara.String("json"), + } + _result = &StartLifecyclePolicyExecutionResponse{} + _body, _err := client.CallApi(params, req, runtime) + if _err != nil { + return _result, _err + } + _err = dara.Convert(_body, &_result) + return _result, _err +} + +// Summary: +// +// 启动生命周期策略运行 +// +// @param request - StartLifecyclePolicyExecutionRequest +// +// @return StartLifecyclePolicyExecutionResponse +func (client *Client) StartLifecyclePolicyExecution(request *StartLifecyclePolicyExecutionRequest) (_result *StartLifecyclePolicyExecutionResponse, _err error) { + runtime := &dara.RuntimeOptions{} + _result = &StartLifecyclePolicyExecutionResponse{} + _body, _err := client.StartLifecyclePolicyExecutionWithOptions(request, runtime) + if _err != nil { + return _result, _err + } + _result = _body + return _result, _err +} + // Summary: // // Disables a dataflow. @@ -10198,7 +10458,73 @@ func (client *Client) StopDataFlow(request *StopDataFlowRequest) (_result *StopD // Summary: // -// Creates tags and binds the tags to file systems. +// 停止生命周期策略运行 +// +// @param request - StopLifecyclePolicyExecutionRequest +// +// @param runtime - runtime options for this request RuntimeOptions +// +// @return StopLifecyclePolicyExecutionResponse +func (client *Client) StopLifecyclePolicyExecutionWithOptions(request *StopLifecyclePolicyExecutionRequest, runtime *dara.RuntimeOptions) (_result *StopLifecyclePolicyExecutionResponse, _err error) { + if dara.BoolValue(client.EnableValidate) == true { + _err = request.Validate() + if _err != nil { + return _result, _err + } + } + query := map[string]interface{}{} + if !dara.IsNil(request.FileSystemId) { + query["FileSystemId"] = request.FileSystemId + } + + if !dara.IsNil(request.LifecyclePolicyId) { + query["LifecyclePolicyId"] = request.LifecyclePolicyId + } + + req := &openapiutil.OpenApiRequest{ + Query: openapiutil.Query(query), + } + params := &openapiutil.Params{ + Action: dara.String("StopLifecyclePolicyExecution"), + Version: dara.String("2017-06-26"), + Protocol: dara.String("HTTPS"), + Pathname: dara.String("/"), + Method: dara.String("POST"), + AuthType: dara.String("AK"), + Style: dara.String("RPC"), + ReqBodyType: dara.String("formData"), + BodyType: dara.String("json"), + } + _result = &StopLifecyclePolicyExecutionResponse{} + _body, _err := client.CallApi(params, req, runtime) + if _err != nil { + return _result, _err + } + _err = dara.Convert(_body, &_result) + return _result, _err +} + +// Summary: +// +// 停止生命周期策略运行 +// +// @param request - StopLifecyclePolicyExecutionRequest +// +// @return StopLifecyclePolicyExecutionResponse +func (client *Client) StopLifecyclePolicyExecution(request *StopLifecyclePolicyExecutionRequest) (_result *StopLifecyclePolicyExecutionResponse, _err error) { + runtime := &dara.RuntimeOptions{} + _result = &StopLifecyclePolicyExecutionResponse{} + _body, _err := client.StopLifecyclePolicyExecutionWithOptions(request, runtime) + if _err != nil { + return _result, _err + } + _result = _body + return _result, _err +} + +// Summary: +// +// Creates and adds tags to specified resources. File systems and access points are supported. // // @param request - TagResourcesRequest // @@ -10250,7 +10576,7 @@ func (client *Client) TagResourcesWithOptions(request *TagResourcesRequest, runt // Summary: // -// Creates tags and binds the tags to file systems. +// Creates and adds tags to specified resources. File systems and access points are supported. // // @param request - TagResourcesRequest // @@ -10268,7 +10594,7 @@ func (client *Client) TagResources(request *TagResourcesRequest) (_result *TagRe // Summary: // -// Removes tags from a file system. +// Deletes a tag from a specified resource. // // @param request - UntagResourcesRequest // @@ -10324,7 +10650,7 @@ func (client *Client) UntagResourcesWithOptions(request *UntagResourcesRequest, // Summary: // -// Removes tags from a file system. +// Deletes a tag from a specified resource. // // @param request - UntagResourcesRequest // @@ -10340,6 +10666,92 @@ func (client *Client) UntagResources(request *UntagResourcesRequest) (_result *U return _result, _err } +// Summary: +// +// 更新生命周期策略 +// +// @param request - UpdateLifecyclePolicyRequest +// +// @param runtime - runtime options for this request RuntimeOptions +// +// @return UpdateLifecyclePolicyResponse +func (client *Client) UpdateLifecyclePolicyWithOptions(request *UpdateLifecyclePolicyRequest, runtime *dara.RuntimeOptions) (_result *UpdateLifecyclePolicyResponse, _err error) { + if dara.BoolValue(client.EnableValidate) == true { + _err = request.Validate() + if _err != nil { + return _result, _err + } + } + query := map[string]interface{}{} + if !dara.IsNil(request.Description) { + query["Description"] = request.Description + } + + if !dara.IsNil(request.FileSystemId) { + query["FileSystemId"] = request.FileSystemId + } + + if !dara.IsNil(request.LifecyclePolicyId) { + query["LifecyclePolicyId"] = request.LifecyclePolicyId + } + + if !dara.IsNil(request.Paths) { + query["Paths"] = request.Paths + } + + if !dara.IsNil(request.RetrieveRules) { + query["RetrieveRules"] = request.RetrieveRules + } + + if !dara.IsNil(request.StorageType) { + query["StorageType"] = request.StorageType + } + + if !dara.IsNil(request.TransitRules) { + query["TransitRules"] = request.TransitRules + } + + req := &openapiutil.OpenApiRequest{ + Query: openapiutil.Query(query), + } + params := &openapiutil.Params{ + Action: dara.String("UpdateLifecyclePolicy"), + Version: dara.String("2017-06-26"), + Protocol: dara.String("HTTPS"), + Pathname: dara.String("/"), + Method: dara.String("POST"), + AuthType: dara.String("AK"), + Style: dara.String("RPC"), + ReqBodyType: dara.String("formData"), + BodyType: dara.String("json"), + } + _result = &UpdateLifecyclePolicyResponse{} + _body, _err := client.CallApi(params, req, runtime) + if _err != nil { + return _result, _err + } + _err = dara.Convert(_body, &_result) + return _result, _err +} + +// Summary: +// +// 更新生命周期策略 +// +// @param request - UpdateLifecyclePolicyRequest +// +// @return UpdateLifecyclePolicyResponse +func (client *Client) UpdateLifecyclePolicy(request *UpdateLifecyclePolicyRequest) (_result *UpdateLifecyclePolicyResponse, _err error) { + runtime := &dara.RuntimeOptions{} + _result = &UpdateLifecyclePolicyResponse{} + _body, _err := client.UpdateLifecyclePolicyWithOptions(request, runtime) + if _err != nil { + return _result, _err + } + _result = _body + return _result, _err +} + // Summary: // // Modifies the retention period of data in the recycle bin of a file system. diff --git a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/client_context_func.go b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/client_context_func.go index 16f9c3d548..1d86f77215 100644 --- a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/client_context_func.go +++ b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/client_context_func.go @@ -1679,7 +1679,7 @@ func (client *Client) CreateFileWithContext(ctx context.Context, request *Create // // Description: // -// Before you call this operation, you must understand the billing and pricing of Apsara File Storage NAS. For more information, see [Billing](https://help.aliyun.com/document_detail/178365.html) and [Pricing](https://www.aliyun.com/price/product?#/nas/detail). +// Before you call this operation, you must understand the billing and pricing of File Storage NAS. For more information, see [Billing](https://help.aliyun.com/document_detail/178365.html) and [Pricing](https://www.aliyun.com/price/product?#/nas/detail). // // - Before you create a file system, you must complete real-name verification. For more information, see [Real-name verification](https://help.aliyun.com/document_detail/48263.html). // @@ -1971,9 +1971,11 @@ func (client *Client) CreateLDAPConfigWithContext(ctx context.Context, request * // // Description: // -// You can create lifecycle policies only for General-purpose NAS file systems. +// Only General-purpose NAS and CPFS for Lingjun file systems support this operation. // -// - You can create up to 20 lifecycle policies in each region within an Alibaba Cloud account. +// - Up to 10 Auto and 100 OnDemand lifecycle policies can be created for each CPFS for Lingjun file system. +// +// - For general-purpose NAS file systems, up to 20 lifecycle policies can be created in each region. // // @param request - CreateLifecyclePolicyRequest // @@ -1988,6 +1990,10 @@ func (client *Client) CreateLifecyclePolicyWithContext(ctx context.Context, requ } } query := map[string]interface{}{} + if !dara.IsNil(request.Description) { + query["Description"] = request.Description + } + if !dara.IsNil(request.FileSystemId) { query["FileSystemId"] = request.FileSystemId } @@ -1996,6 +2002,10 @@ func (client *Client) CreateLifecyclePolicyWithContext(ctx context.Context, requ query["LifecyclePolicyName"] = request.LifecyclePolicyName } + if !dara.IsNil(request.LifecyclePolicyType) { + query["LifecyclePolicyType"] = request.LifecyclePolicyType + } + if !dara.IsNil(request.LifecycleRuleName) { query["LifecycleRuleName"] = request.LifecycleRuleName } @@ -2008,10 +2018,18 @@ func (client *Client) CreateLifecyclePolicyWithContext(ctx context.Context, requ query["Paths"] = request.Paths } + if !dara.IsNil(request.RetrieveRules) { + query["RetrieveRules"] = request.RetrieveRules + } + if !dara.IsNil(request.StorageType) { query["StorageType"] = request.StorageType } + if !dara.IsNil(request.TransitRules) { + query["TransitRules"] = request.TransitRules + } + req := &openapiutil.OpenApiRequest{ Query: openapiutil.Query(query), } @@ -3045,7 +3063,7 @@ func (client *Client) DeleteLDAPConfigWithContext(ctx context.Context, request * // // Description: // -// Only General-purpose NAS file systems support this operation. +// Only General-purpose NAS and CPFS for Lingjun file systems support this operation. // // @param request - DeleteLifecyclePolicyRequest // @@ -3064,6 +3082,10 @@ func (client *Client) DeleteLifecyclePolicyWithContext(ctx context.Context, requ query["FileSystemId"] = request.FileSystemId } + if !dara.IsNil(request.LifecyclePolicyId) { + query["LifecyclePolicyId"] = request.LifecyclePolicyId + } + if !dara.IsNil(request.LifecyclePolicyName) { query["LifecyclePolicyName"] = request.LifecyclePolicyName } @@ -3481,11 +3503,11 @@ func (client *Client) DescribeAccessPointWithContext(ctx context.Context, reques // Summary: // -// Queries the information about an access point. +// Queries a list of access points. // // Description: // -// Only General-purpose Network File System (NFS) file systems support this operation. +// Only General-purpose NAS file systems that use the NFS protocol support this operation. // // @param request - DescribeAccessPointsRequest // @@ -4227,6 +4249,66 @@ func (client *Client) DescribeFilesetsWithContext(ctx context.Context, request * return _result, _err } +// Summary: +// +// Retrieves the list of HpnZones for a file system. Access performance is optimal when compute nodes are located in one of the associated HpnZones. +// +// Description: +// +// Only CPFS for Lingjun supports this operation. +// +// - You can call this operation to query up to 20 file systems at a time. +// +// @param tmpReq - DescribeFilesystemsAssociatedHpnZonesRequest +// +// @param runtime - runtime options for this request RuntimeOptions +// +// @return DescribeFilesystemsAssociatedHpnZonesResponse +func (client *Client) DescribeFilesystemsAssociatedHpnZonesWithContext(ctx context.Context, tmpReq *DescribeFilesystemsAssociatedHpnZonesRequest, runtime *dara.RuntimeOptions) (_result *DescribeFilesystemsAssociatedHpnZonesResponse, _err error) { + if dara.BoolValue(client.EnableValidate) == true { + _err = tmpReq.Validate() + if _err != nil { + return _result, _err + } + } + request := &DescribeFilesystemsAssociatedHpnZonesShrinkRequest{} + openapiutil.Convert(tmpReq, request) + if !dara.IsNil(tmpReq.Filesystems) { + request.FilesystemsShrink = openapiutil.ArrayToStringWithSpecifiedStyle(tmpReq.Filesystems, dara.String("Filesystems"), dara.String("json")) + } + + query := map[string]interface{}{} + if !dara.IsNil(request.FilesystemsShrink) { + query["Filesystems"] = request.FilesystemsShrink + } + + if !dara.IsNil(request.RegionId) { + query["RegionId"] = request.RegionId + } + + req := &openapiutil.OpenApiRequest{ + Query: openapiutil.Query(query), + } + params := &openapiutil.Params{ + Action: dara.String("DescribeFilesystemsAssociatedHpnZones"), + Version: dara.String("2017-06-26"), + Protocol: dara.String("HTTPS"), + Pathname: dara.String("/"), + Method: dara.String("POST"), + AuthType: dara.String("AK"), + Style: dara.String("RPC"), + ReqBodyType: dara.String("formData"), + BodyType: dara.String("json"), + } + _result = &DescribeFilesystemsAssociatedHpnZonesResponse{} + _body, _err := client.CallApiWithCtx(ctx, params, req, runtime) + if _err != nil { + return _result, _err + } + _err = dara.Convert(_body, &_result) + return _result, _err +} + // Summary: // // Queries information about virtual storage channels associated with a file system. @@ -4291,7 +4373,7 @@ func (client *Client) DescribeFilesystemsVscAttachInfoWithContext(ctx context.Co // // Description: // -// Only General-purpose NAS file systems support this operation. +// Only General-purpose NAS and CPFS for Lingjun file systems support this operation. // // @param request - DescribeLifecyclePoliciesRequest // @@ -4329,6 +4411,62 @@ func (client *Client) DescribeLifecyclePoliciesWithContext(ctx context.Context, return _result, _err } +// Summary: +// +// 查询生命周期策略日志 +// +// @param request - DescribeLifecyclePolicyLogsRequest +// +// @param runtime - runtime options for this request RuntimeOptions +// +// @return DescribeLifecyclePolicyLogsResponse +func (client *Client) DescribeLifecyclePolicyLogsWithContext(ctx context.Context, request *DescribeLifecyclePolicyLogsRequest, runtime *dara.RuntimeOptions) (_result *DescribeLifecyclePolicyLogsResponse, _err error) { + if dara.BoolValue(client.EnableValidate) == true { + _err = request.Validate() + if _err != nil { + return _result, _err + } + } + query := map[string]interface{}{} + if !dara.IsNil(request.FileSystemId) { + query["FileSystemId"] = request.FileSystemId + } + + if !dara.IsNil(request.LifecyclePolicyId) { + query["LifecyclePolicyId"] = request.LifecyclePolicyId + } + + if !dara.IsNil(request.PageNumber) { + query["PageNumber"] = request.PageNumber + } + + if !dara.IsNil(request.PageSize) { + query["PageSize"] = request.PageSize + } + + req := &openapiutil.OpenApiRequest{ + Query: openapiutil.Query(query), + } + params := &openapiutil.Params{ + Action: dara.String("DescribeLifecyclePolicyLogs"), + Version: dara.String("2017-06-26"), + Protocol: dara.String("HTTPS"), + Pathname: dara.String("/"), + Method: dara.String("POST"), + AuthType: dara.String("AK"), + Style: dara.String("RPC"), + ReqBodyType: dara.String("formData"), + BodyType: dara.String("json"), + } + _result = &DescribeLifecyclePolicyLogsResponse{} + _body, _err := client.CallApiWithCtx(ctx, params, req, runtime) + if _err != nil { + return _result, _err + } + _err = dara.Convert(_body, &_result) + return _result, _err +} + // Summary: // // Queries the log dump information configured in log analysis. @@ -5369,7 +5507,11 @@ func (client *Client) GetDirectoryOrFilePropertiesWithContext(ctx context.Contex // Summary: // -// 查询特定智能目录 +// Queries the information about the created fileset. +// +// Description: +// +// Only CPFS V2.2.0 and CPFS for Lingjun V2.7.0 and later support this operation. You can view the version information on the file system details page in the console. // // @param request - GetFilesetRequest // @@ -5417,7 +5559,7 @@ func (client *Client) GetFilesetWithContext(ctx context.Context, request *GetFil // Summary: // -// 查询协议机挂载点 +// # Query the export directory information of the protocol service // // @param request - GetProtocolMountTargetRequest // @@ -6476,6 +6618,10 @@ func (client *Client) ModifyLifecyclePolicyWithContext(ctx context.Context, requ query["FileSystemId"] = request.FileSystemId } + if !dara.IsNil(request.LifecyclePolicyId) { + query["LifecyclePolicyId"] = request.LifecyclePolicyId + } + if !dara.IsNil(request.LifecyclePolicyName) { query["LifecyclePolicyName"] = request.LifecyclePolicyName } @@ -7165,6 +7311,54 @@ func (client *Client) StartDataFlowWithContext(ctx context.Context, request *Sta return _result, _err } +// Summary: +// +// 启动生命周期策略运行 +// +// @param request - StartLifecyclePolicyExecutionRequest +// +// @param runtime - runtime options for this request RuntimeOptions +// +// @return StartLifecyclePolicyExecutionResponse +func (client *Client) StartLifecyclePolicyExecutionWithContext(ctx context.Context, request *StartLifecyclePolicyExecutionRequest, runtime *dara.RuntimeOptions) (_result *StartLifecyclePolicyExecutionResponse, _err error) { + if dara.BoolValue(client.EnableValidate) == true { + _err = request.Validate() + if _err != nil { + return _result, _err + } + } + query := map[string]interface{}{} + if !dara.IsNil(request.FileSystemId) { + query["FileSystemId"] = request.FileSystemId + } + + if !dara.IsNil(request.LifecyclePolicyId) { + query["LifecyclePolicyId"] = request.LifecyclePolicyId + } + + req := &openapiutil.OpenApiRequest{ + Query: openapiutil.Query(query), + } + params := &openapiutil.Params{ + Action: dara.String("StartLifecyclePolicyExecution"), + Version: dara.String("2017-06-26"), + Protocol: dara.String("HTTPS"), + Pathname: dara.String("/"), + Method: dara.String("POST"), + AuthType: dara.String("AK"), + Style: dara.String("RPC"), + ReqBodyType: dara.String("formData"), + BodyType: dara.String("json"), + } + _result = &StartLifecyclePolicyExecutionResponse{} + _body, _err := client.CallApiWithCtx(ctx, params, req, runtime) + if _err != nil { + return _result, _err + } + _err = dara.Convert(_body, &_result) + return _result, _err +} + // Summary: // // Disables a dataflow. @@ -7237,7 +7431,55 @@ func (client *Client) StopDataFlowWithContext(ctx context.Context, request *Stop // Summary: // -// Creates tags and binds the tags to file systems. +// 停止生命周期策略运行 +// +// @param request - StopLifecyclePolicyExecutionRequest +// +// @param runtime - runtime options for this request RuntimeOptions +// +// @return StopLifecyclePolicyExecutionResponse +func (client *Client) StopLifecyclePolicyExecutionWithContext(ctx context.Context, request *StopLifecyclePolicyExecutionRequest, runtime *dara.RuntimeOptions) (_result *StopLifecyclePolicyExecutionResponse, _err error) { + if dara.BoolValue(client.EnableValidate) == true { + _err = request.Validate() + if _err != nil { + return _result, _err + } + } + query := map[string]interface{}{} + if !dara.IsNil(request.FileSystemId) { + query["FileSystemId"] = request.FileSystemId + } + + if !dara.IsNil(request.LifecyclePolicyId) { + query["LifecyclePolicyId"] = request.LifecyclePolicyId + } + + req := &openapiutil.OpenApiRequest{ + Query: openapiutil.Query(query), + } + params := &openapiutil.Params{ + Action: dara.String("StopLifecyclePolicyExecution"), + Version: dara.String("2017-06-26"), + Protocol: dara.String("HTTPS"), + Pathname: dara.String("/"), + Method: dara.String("POST"), + AuthType: dara.String("AK"), + Style: dara.String("RPC"), + ReqBodyType: dara.String("formData"), + BodyType: dara.String("json"), + } + _result = &StopLifecyclePolicyExecutionResponse{} + _body, _err := client.CallApiWithCtx(ctx, params, req, runtime) + if _err != nil { + return _result, _err + } + _err = dara.Convert(_body, &_result) + return _result, _err +} + +// Summary: +// +// Creates and adds tags to specified resources. File systems and access points are supported. // // @param request - TagResourcesRequest // @@ -7289,7 +7531,7 @@ func (client *Client) TagResourcesWithContext(ctx context.Context, request *TagR // Summary: // -// Removes tags from a file system. +// Deletes a tag from a specified resource. // // @param request - UntagResourcesRequest // @@ -7343,6 +7585,74 @@ func (client *Client) UntagResourcesWithContext(ctx context.Context, request *Un return _result, _err } +// Summary: +// +// 更新生命周期策略 +// +// @param request - UpdateLifecyclePolicyRequest +// +// @param runtime - runtime options for this request RuntimeOptions +// +// @return UpdateLifecyclePolicyResponse +func (client *Client) UpdateLifecyclePolicyWithContext(ctx context.Context, request *UpdateLifecyclePolicyRequest, runtime *dara.RuntimeOptions) (_result *UpdateLifecyclePolicyResponse, _err error) { + if dara.BoolValue(client.EnableValidate) == true { + _err = request.Validate() + if _err != nil { + return _result, _err + } + } + query := map[string]interface{}{} + if !dara.IsNil(request.Description) { + query["Description"] = request.Description + } + + if !dara.IsNil(request.FileSystemId) { + query["FileSystemId"] = request.FileSystemId + } + + if !dara.IsNil(request.LifecyclePolicyId) { + query["LifecyclePolicyId"] = request.LifecyclePolicyId + } + + if !dara.IsNil(request.Paths) { + query["Paths"] = request.Paths + } + + if !dara.IsNil(request.RetrieveRules) { + query["RetrieveRules"] = request.RetrieveRules + } + + if !dara.IsNil(request.StorageType) { + query["StorageType"] = request.StorageType + } + + if !dara.IsNil(request.TransitRules) { + query["TransitRules"] = request.TransitRules + } + + req := &openapiutil.OpenApiRequest{ + Query: openapiutil.Query(query), + } + params := &openapiutil.Params{ + Action: dara.String("UpdateLifecyclePolicy"), + Version: dara.String("2017-06-26"), + Protocol: dara.String("HTTPS"), + Pathname: dara.String("/"), + Method: dara.String("POST"), + AuthType: dara.String("AK"), + Style: dara.String("RPC"), + ReqBodyType: dara.String("formData"), + BodyType: dara.String("json"), + } + _result = &UpdateLifecyclePolicyResponse{} + _body, _err := client.CallApiWithCtx(ctx, params, req, runtime) + if _err != nil { + return _result, _err + } + _err = dara.Convert(_body, &_result) + return _result, _err +} + // Summary: // // Modifies the retention period of data in the recycle bin of a file system. diff --git a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/create_access_point_request_model.go b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/create_access_point_request_model.go index cc02d1bb61..abfc096a07 100644 --- a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/create_access_point_request_model.go +++ b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/create_access_point_request_model.go @@ -125,8 +125,9 @@ type CreateAccessPointRequest struct { // example: // // / - RootDirectory *string `json:"RootDirectory,omitempty" xml:"RootDirectory,omitempty"` - Tag []*CreateAccessPointRequestTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"` + RootDirectory *string `json:"RootDirectory,omitempty" xml:"RootDirectory,omitempty"` + // The tags of the access point. + Tag []*CreateAccessPointRequestTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"` // The VPC ID. // // This parameter is required. @@ -293,10 +294,28 @@ func (s *CreateAccessPointRequest) Validate() error { } type CreateAccessPointRequestTag struct { + // The key of a tag. Limits: + // + // - Cannot be null or an empty string. + // + // - Can be up to 128 characters in length. + // + // - Cannot start with aliyun or acs:. + // + // - Cannot contain http:// or https://. + // // example: // // TestKey Key *string `json:"Key,omitempty" xml:"Key,omitempty"` + // The value of a tag. Limits: + // + // - Cannot be null or an empty string. + // + // - Can be up to 128 characters in length. + // + // - Cannot contain http:// or https://. + // // example: // // TestValue diff --git a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/create_file_system_request_model.go b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/create_file_system_request_model.go index 8d0a8f0b06..724f19d455 100644 --- a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/create_file_system_request_model.go +++ b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/create_file_system_request_model.go @@ -58,19 +58,19 @@ type CreateFileSystemRequest struct { // // Specify a value based on the specifications on the buy page. // - // [CPFS file system (Pay-as-you-go)](https://common-buy-intl.alibabacloud.com/?spm=5176.nas_overview.0.0.7ea01dbft0dTui\\&commodityCode=nas_cpfspost_public_intl#/buy) + // [CPFS (Pay-as-you-go)](https://common-buy-intl.alibabacloud.com/?spm=5176.nas_overview.0.0.7ea01dbft0dTui\\&commodityCode=nas_cpfspost_public_intl#/buy) // // example: // // 150 Bandwidth *int64 `json:"Bandwidth,omitempty" xml:"Bandwidth,omitempty"` - // Specify the capacity of the file system. Unit: GiB. Specify the Capacity parameter when the FileSystemType parameter is set to extreme or cpfs. + // Specify the capacity of the file system. Unit: GiB. This parameter is required and valid when FileSystemType is set to extreme, cpfs, or cpfsse. // // Specify a value based on the specifications on the following buy page: // - // - [Extreme NAS file system (Pay-as-you-go)](https://common-buy-intl.alibabacloud.com/?commodityCode=nas_extpost_public_intl#/buy) + // - [Extreme NAS (Pay-as-you-go)](https://common-buy-intl.alibabacloud.com/?commodityCode=nas_extpost_public_intl#/buy) // - // - [CPFS file system (Pay-as-you-go)](https://common-buy-intl.alibabacloud.com/?spm=5176.nas_overview.0.0.7ea01dbft0dTui\\&commodityCode=nas_cpfspost_public_intl#/buy) + // - [CPFS (Pay-as-you-go)](https://common-buy-intl.alibabacloud.com/?spm=5176.nas_overview.0.0.7ea01dbft0dTui\\&commodityCode=nas_cpfspost_public_intl#/buy) // // example: // @@ -88,7 +88,7 @@ type CreateFileSystemRequest struct { // // PayAsYouGo ChargeType *string `json:"ChargeType,omitempty" xml:"ChargeType,omitempty"` - // The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see [How do I ensure the idempotence?](https://help.aliyun.com/document_detail/25693.html) + // A client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. ClientToken only supports ASCII characters and cannot exceed 64 characters. For more information, see [How to ensure idempotence](https://help.aliyun.com/document_detail/25693.html). // // > If you do not specify this parameter, the system automatically uses the request ID as the client token. The request ID may be different for each request. // @@ -100,25 +100,25 @@ type CreateFileSystemRequest struct { // // Limits: // - // - The description must be 2 to 128 characters in length. + // - Must be 2 to 128 characters in length. // - // - The description must start with a letter and cannot start with `http://` or `https://`. + // - Must start with a letter but cannot start with `http://` or `https://`. // - // - The description can contain letters, digits, colons (:), underscores (_), and hyphens (-). + // - Can contain digits, colons (:), underscores (_), and hyphens (-). // // example: // // test Description *string `json:"Description,omitempty" xml:"Description,omitempty"` - // Specifies whether to perform a dry run. + // Whether to precheck the creation request. // - // During the dry run, the system checks whether the request parameters are valid and whether the requested resources are available. During the dry run, no file system is created and no fee is incurred. + // The precheck operation helps you check the validity of parameters and verify inventory. It does not actually create instances and does not incur fees. // // Valid values: // - // - true: performs a dry run. The system checks the required parameters, request syntax, limits, and available NAS resources. If the request fails the dry run, an error message is returned. If the request passes the precheck, the HTTP status code 200 is returned. No value is returned for the FileSystemId parameter. + // - true: Checks the request without creating an instance. The system checks the required parameters, request syntax, service limits, and available NAS resources. If the request fails to pass the check, an error message is returned. If the request passes the check, the HTTP status code 200 is returned. No value is returned for the FileSystemId parameter. // - // - false (default): performs a dry run and sends the request. If the request passes the dry run, a file system is created. + // - false (default): Sends the request. If the request passes the check, the instance is created. // // example: // @@ -126,7 +126,7 @@ type CreateFileSystemRequest struct { DryRun *bool `json:"DryRun,omitempty" xml:"DryRun,omitempty"` // The subscription duration. // - // This parameter is valid and required only if the ChargeType parameter is set to Subscription. Unit: months. + // This parameter is valid and required if ChargeType is set to Subscription. Unit: months. // // If you do not renew a subscription file system when the file system expires, the file system is automatically released. // @@ -142,13 +142,15 @@ type CreateFileSystemRequest struct { // // - 0 (default): The data in the file system is not encrypted. // - // - 1: A NAS-managed key is used to encrypt the data in the file system. This value is valid only if the FileSystemType parameter is set to standard or extreme. + // - 1: A NAS-managed key is used to encrypt the data in the file system. This value is valid if FileSystemType is set to standard or extreme. // - // - 2: A KMS-managed key is used to encrypt the data in the file system. This value is valid only if the FileSystemType parameter is set to standard or extreme. + // - 2: A KMS-managed key is used to encrypt the data in the file system. This value is valid if the FileSystemType parameter is set to standard or extreme. // - // > - Extreme NAS file systems: All regions except China East 1 Finance support KMS-managed keys. + // > + // + // - Extreme NAS: All regions except China East 1 Finance support KMS-managed keys. // - // > - General-purpose NAS file systems: All regions support KMS-managed keys. + // - General-purpose NAS: All regions support KMS-managed keys. // // example: // @@ -158,11 +160,13 @@ type CreateFileSystemRequest struct { // // Valid values: // - // - standard: General-purpose Apsara File Storage NAS (NAS) file system + // - standard: General-purpose NAS + // + // - extreme: Extreme NAS // - // - extreme: Extreme NAS file system. + // - cpfs: CPFS (locally redundant storage) // - // - cpfs: CPFS file system + // - cpfsse: CPFS SE (zone-redundant storage) // // example: // @@ -170,7 +174,7 @@ type CreateFileSystemRequest struct { FileSystemType *string `json:"FileSystemType,omitempty" xml:"FileSystemType,omitempty"` // The ID of the KMS key. // - // This parameter is required only if the EncryptType parameter is set to 2. + // This parameter is required if EncryptType is set to 2. // // example: // @@ -178,11 +182,13 @@ type CreateFileSystemRequest struct { KmsKeyId *string `json:"KmsKeyId,omitempty" xml:"KmsKeyId,omitempty"` // Specify the protocol type. // - // - If the FileSystemType parameter is set to standard, set the ProtocolType parameter to NFS or SMB. + // - If FileSystemType is set to standard, set this parameter to NFS or SMB. // - // - If the FileSystemType parameter is set to extreme, set the ProtocolType parameter to NFS. + // - If FileSystemType is set to extreme, set this parameter to NFS. // - // - If the FileSystemType parameter is set to cpfs, set the ProtocolType parameter to cpfs. + // - If FileSystemType is set to cpfs, set this parameter to cpfs. + // + // - If FileSystemType is set to cpfsse, set this parameter to cpfs. // // This parameter is required. // @@ -190,6 +196,12 @@ type CreateFileSystemRequest struct { // // NFS ProtocolType *string `json:"ProtocolType,omitempty" xml:"ProtocolType,omitempty"` + // Storage redundancy type. Only available for CPFS SE. + // + // Valid values: + // + // - ZRS + // // if can be null: // true // @@ -197,6 +209,8 @@ type CreateFileSystemRequest struct { // // ZRS RedundancyType *string `json:"RedundancyType,omitempty" xml:"RedundancyType,omitempty"` + // A list of IDs for the zone-redundant vSwitches. This parameter is required if RedundancyType is set to ZRS. You must enter three vSwitch IDs from three different zones. + // // if can be null: // true RedundancyVSwitchIds []*string `json:"RedundancyVSwitchIds,omitempty" xml:"RedundancyVSwitchIds,omitempty" type:"Repeated"` @@ -212,7 +226,7 @@ type CreateFileSystemRequest struct { // // This parameter is available only for advanced Extreme NAS file systems. // - // > You can create a file system from a snapshot. In this case, the version of the file system is the same as that of the source file system. For example, the source file system of the snapshot uses version 1. To create a file system of version 2, you can create File System A from the snapshot and create File System B of version 2. You can then copy the data and migrate your business from File System A to File System B. + // > You can create a file system from a snapshot. The version of the file system is the same as that of the source file system. For example, the source file system of the snapshot uses version 1. To create a file system of version 2, create File System A from the snapshot and create File System B of version 2. Then copy the data and migrate your business from File System A to File System B. // // example: // @@ -220,11 +234,13 @@ type CreateFileSystemRequest struct { SnapshotId *string `json:"SnapshotId,omitempty" xml:"SnapshotId,omitempty"` // The storage type. // - // - If the FileSystemType parameter is set to standard, set the StorageType parameter to Performance, Capacity, or Premium. + // - If FileSystemType is set to standard, set this parameter to Performance, Capacity, or Premium. + // + // - If FileSystemType is set to extreme, set this parameter to standard or advance. // - // - If the FileSystemType parameter is set to extreme, set the StorageType parameter to standard or advance. + // - If FileSystemType is set to cpfs, set this parameter to advance_100 (100 MB/s/TiB Baseline), advance_200 (200 MB/s/TiB Baseline), or economic. // - // - If the FileSystemType parameter is set to cpfs, set the StorageType parameter to advance_100 (100 MB/s/TiB baseline) or advance_200 (200 MB/s/TiB baseline). + // - If FileSystemType is set to cpfsse, set this parameter to advance_100 (100 MB/s/TiB Baseline). // // This parameter is required. // @@ -236,21 +252,21 @@ type CreateFileSystemRequest struct { // // You can specify up to 20 tags. If you specify multiple tags, each tag key must be unique. Tag []*CreateFileSystemRequestTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"` - // The vSwitch ID of the cluster. + // The vSwitch ID. // - // - This parameter is required only if you set the FileSystemType parameter to cpfs. + // - This parameter is required if FileSystemType is set to cpfs. // - // - This parameter is reserved and not required if you set the FileSystemType parameter to standard or extreme. + // - If FileSystemType is not set to cpfs, this parameter is reserved and not required. // // example: // // vsw-2ze37k6jh8ums2fw2**** VSwitchId *string `json:"VSwitchId,omitempty" xml:"VSwitchId,omitempty"` - // The ID of the virtual private cloud (VPC). + // The VPC ID. // - // - This parameter is required only if you set the FileSystemType parameter to cpfs. + // - This parameter is required if FileSystemType is set to cpfs or cpfsse. // - // - This parameter is reserved and not required if you set the FileSystemType parameter to standard or extreme. + // - This parameter is reserved and not required if FileSystemType is set to standard or extreme. // // example: // @@ -260,13 +276,13 @@ type CreateFileSystemRequest struct { // // Each region has multiple isolated locations known as zones. Each zone has its own independent power supply and network. // - // This parameter is not required if the FileSystemType parameter is set to standard. By default, a random zone is selected based on the protocol type and storage type. + // This parameter is not required if FileSystemType is set to standard. By default, a random zone is selected based on the protocol type and storage type. // - // This parameter is required if the FileSystemType parameter is set to extreme or cpfs. + // This parameter is required if FileSystemType is set to extreme or cpfs. // // > // - // - An Elastic Compute Service (ECS) instance and a NAS file system that reside in different zones of the same region can access each other. + // - An Elastic Compute Service (ECS) instance and a file system that reside in different zones of the same region can access each other. // // - We recommend that you select the zone where the ECS instance resides. This prevents cross-zone latency between the file system and the ECS instance. // @@ -482,13 +498,13 @@ type CreateFileSystemRequestTag struct { // // Limits: // - // - The tag key cannot be null or an empty string. + // - Cannot be null or an empty string. // - // - The tag key can be up to 128 characters in length. + // - Can be up to 128 characters in length. // - // - The tag key cannot start with `aliyun` or `acs:`. + // - Cannot start with `aliyun` or `acs:`. // - // - The tag key cannot contain `http://` or `https://`. + // - Cannot contain `http://` or `https://`. // // if can be null: // false @@ -501,11 +517,11 @@ type CreateFileSystemRequestTag struct { // // Limits: // - // - The tag value cannot be null or an empty string. + // - Cannot be null or an empty string. // - // - The tag value can be up to 128 characters in length. + // - Can be up to 128 characters in length. // - // - The tag value cannot contain `http://` or `https://`. + // - Cannot contain `http://` or `https://`. // // if can be null: // false diff --git a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/create_file_system_response_body_model.go b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/create_file_system_response_body_model.go index 287a761032..85c9f27a10 100644 --- a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/create_file_system_response_body_model.go +++ b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/create_file_system_response_body_model.go @@ -16,7 +16,7 @@ type iCreateFileSystemResponseBody interface { } type CreateFileSystemResponseBody struct { - // The ID of the file system that is created. + // The ID of the created file system. // // example: // diff --git a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/create_lifecycle_policy_request_model.go b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/create_lifecycle_policy_request_model.go index fc9f33bbae..8a8bad22f7 100644 --- a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/create_lifecycle_policy_request_model.go +++ b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/create_lifecycle_policy_request_model.go @@ -9,21 +9,39 @@ type iCreateLifecyclePolicyRequest interface { dara.Model String() string GoString() string + SetDescription(v string) *CreateLifecyclePolicyRequest + GetDescription() *string SetFileSystemId(v string) *CreateLifecyclePolicyRequest GetFileSystemId() *string SetLifecyclePolicyName(v string) *CreateLifecyclePolicyRequest GetLifecyclePolicyName() *string + SetLifecyclePolicyType(v string) *CreateLifecyclePolicyRequest + GetLifecyclePolicyType() *string SetLifecycleRuleName(v string) *CreateLifecyclePolicyRequest GetLifecycleRuleName() *string SetPath(v string) *CreateLifecyclePolicyRequest GetPath() *string SetPaths(v []*string) *CreateLifecyclePolicyRequest GetPaths() []*string + SetRetrieveRules(v []*CreateLifecyclePolicyRequestRetrieveRules) *CreateLifecyclePolicyRequest + GetRetrieveRules() []*CreateLifecyclePolicyRequestRetrieveRules SetStorageType(v string) *CreateLifecyclePolicyRequest GetStorageType() *string + SetTransitRules(v []*CreateLifecyclePolicyRequestTransitRules) *CreateLifecyclePolicyRequest + GetTransitRules() []*CreateLifecyclePolicyRequestTransitRules } type CreateLifecyclePolicyRequest struct { + // The description of the lifecycle policy. + // + // Format: The name must be 3 to 64 characters in length and must start with a letter. It can contain letters, digits, underscores (_), and hyphens (-). + // + // > Only CPFS for Lingjun supports this parameter. + // + // example: + // + // Description + Description *string `json:"Description,omitempty" xml:"Description,omitempty"` // The ID of the file system. // // This parameter is required. @@ -32,51 +50,77 @@ type CreateLifecyclePolicyRequest struct { // // 31a8e4**** FileSystemId *string `json:"FileSystemId,omitempty" xml:"FileSystemId,omitempty"` - // The name of the lifecycle policy. The name must be 3 to 64 characters in length and can contain letters, digits, underscores (_), and hyphens (-). The name must start with a letter. + // The name of the lifecycle policy. The name must be 3 to 64 characters in length and must start with a letter. It can contain letters, digits, underscores (_), and hyphens (-). // - // This parameter is required. + // > Required for General-purpose NAS. // // example: // // lifecyclepolicy_01 LifecyclePolicyName *string `json:"LifecyclePolicyName,omitempty" xml:"LifecyclePolicyName,omitempty"` - // The management rule that is associated with the lifecycle policy. + // The policy type. + // + // - Auto (default): The job is automatically triggered. + // + // - OnDemand: On-demand execution. + // + // example: + // + // Auto + LifecyclePolicyType *string `json:"LifecyclePolicyType,omitempty" xml:"LifecyclePolicyType,omitempty"` + // The management rule associated with the lifecycle policy. Only General-purpose NAS supports this parameter. // // Valid values: // - // - DEFAULT_ATIME_14: Files that are not accessed in the last 14 days are dumped to the IA storage medium. + // - DEFAULT_ATIME_14: Files not accessed for 14 days. + // + // - DEFAULT_ATIME_30: Files not accessed for 30 days. + // + // - DEFAULT_ATIME_60: Files not accessed for 60 days. // - // - DEFAULT_ATIME_30: Files that are not accessed in the last 30 days are dumped to the IA storage medium. + // - DEFAULT_ATIME_90: Files not accessed for 90 days. // - // - DEFAULT_ATIME_60: Files that are not accessed in the last 60 days are dumped to the IA storage medium. + // - DEFAULT_ATIME_180: Files not accessed for 180 days. DEFAULT_ATIME_180 is supported only when the StorageType parameter is set to Archive. // - // - DEFAULT_ATIME_90: Files that are not accessed in the last 90 days are dumped to the IA storage medium. + // > + // + // - If an IA policy already exists for the directory, the new archive policy must have a longer transition period. + // + // - Only General-purpose NAS supports this parameter. // // example: // // DEFAULT_ATIME_14 LifecycleRuleName *string `json:"LifecycleRuleName,omitempty" xml:"LifecycleRuleName,omitempty"` - // The absolute path of the directory that is associated with the lifecycle policy. + // The absolute path of the directory associated with the lifecycle policy. Only General-purpose NAS supports this parameter. // - // If you specify this parameter, you can associate the lifecycle policy with only one directory. The path must start with a forward slash (/) and must be a path that exists in the mount target. + // - Single value only. The path must start with a forward slash (/) and must be a path that exists in the mount target. // - // > We recommend that you specify the Paths.N parameter so that you can associate the lifecycle policy with multiple directories. + // > We recommend configuring the Paths.N parameter so that you can associate the policy with multiple directories at a time. + // + // - Path and Paths are mutually exclusive. You must specify one. // // example: // // /pathway/to/folder Path *string `json:"Path,omitempty" xml:"Path,omitempty"` - // The absolute paths of the directories that are associated with the lifecycle policy. - // - // If you specify this parameter, you can associate the lifecycle policy with multiple directories. Each path must start with a forward slash (/) and must be a path that exists in the mount target. Valid values of N: 1 to 10. + // The absolute paths of the directories associated with the lifecycle policy. // // example: // // "/path1", "/path2" Paths []*string `json:"Paths,omitempty" xml:"Paths,omitempty" type:"Repeated"` - // The storage type of the data that is dumped to the IA storage medium. + // The file data retrieval rule. Only one rule can be configured. + // + // > Only CPFS for Lingjun supports this parameter. + RetrieveRules []*CreateLifecyclePolicyRequestRetrieveRules `json:"RetrieveRules,omitempty" xml:"RetrieveRules,omitempty" type:"Repeated"` + // The storage class. + // + // - InfrequentAccess: the Infrequent Access (IA) storage class. + // + // - Archive: the Archive storage class. // - // Default value: InfrequentAccess (IA). + // > General-purpose NAS supports InfrequentAccess and Archive. CPFS for Lingjun only supports InfrequentAccess. // // This parameter is required. // @@ -84,6 +128,10 @@ type CreateLifecyclePolicyRequest struct { // // InfrequentAccess StorageType *string `json:"StorageType,omitempty" xml:"StorageType,omitempty"` + // The data transition rule. Only one rule can be configured. + // + // > Supported only for CPFS for Lingjun file systems with LifecyclePolicyType set to Auto. + TransitRules []*CreateLifecyclePolicyRequestTransitRules `json:"TransitRules,omitempty" xml:"TransitRules,omitempty" type:"Repeated"` } func (s CreateLifecyclePolicyRequest) String() string { @@ -94,6 +142,10 @@ func (s CreateLifecyclePolicyRequest) GoString() string { return s.String() } +func (s *CreateLifecyclePolicyRequest) GetDescription() *string { + return s.Description +} + func (s *CreateLifecyclePolicyRequest) GetFileSystemId() *string { return s.FileSystemId } @@ -102,6 +154,10 @@ func (s *CreateLifecyclePolicyRequest) GetLifecyclePolicyName() *string { return s.LifecyclePolicyName } +func (s *CreateLifecyclePolicyRequest) GetLifecyclePolicyType() *string { + return s.LifecyclePolicyType +} + func (s *CreateLifecyclePolicyRequest) GetLifecycleRuleName() *string { return s.LifecycleRuleName } @@ -114,10 +170,23 @@ func (s *CreateLifecyclePolicyRequest) GetPaths() []*string { return s.Paths } +func (s *CreateLifecyclePolicyRequest) GetRetrieveRules() []*CreateLifecyclePolicyRequestRetrieveRules { + return s.RetrieveRules +} + func (s *CreateLifecyclePolicyRequest) GetStorageType() *string { return s.StorageType } +func (s *CreateLifecyclePolicyRequest) GetTransitRules() []*CreateLifecyclePolicyRequestTransitRules { + return s.TransitRules +} + +func (s *CreateLifecyclePolicyRequest) SetDescription(v string) *CreateLifecyclePolicyRequest { + s.Description = &v + return s +} + func (s *CreateLifecyclePolicyRequest) SetFileSystemId(v string) *CreateLifecyclePolicyRequest { s.FileSystemId = &v return s @@ -128,6 +197,11 @@ func (s *CreateLifecyclePolicyRequest) SetLifecyclePolicyName(v string) *CreateL return s } +func (s *CreateLifecyclePolicyRequest) SetLifecyclePolicyType(v string) *CreateLifecyclePolicyRequest { + s.LifecyclePolicyType = &v + return s +} + func (s *CreateLifecyclePolicyRequest) SetLifecycleRuleName(v string) *CreateLifecyclePolicyRequest { s.LifecycleRuleName = &v return s @@ -143,11 +217,145 @@ func (s *CreateLifecyclePolicyRequest) SetPaths(v []*string) *CreateLifecyclePol return s } +func (s *CreateLifecyclePolicyRequest) SetRetrieveRules(v []*CreateLifecyclePolicyRequestRetrieveRules) *CreateLifecyclePolicyRequest { + s.RetrieveRules = v + return s +} + func (s *CreateLifecyclePolicyRequest) SetStorageType(v string) *CreateLifecyclePolicyRequest { s.StorageType = &v return s } +func (s *CreateLifecyclePolicyRequest) SetTransitRules(v []*CreateLifecyclePolicyRequestTransitRules) *CreateLifecyclePolicyRequest { + s.TransitRules = v + return s +} + func (s *CreateLifecyclePolicyRequest) Validate() error { + if s.RetrieveRules != nil { + for _, item := range s.RetrieveRules { + if item != nil { + if err := item.Validate(); err != nil { + return err + } + } + } + } + if s.TransitRules != nil { + for _, item := range s.TransitRules { + if item != nil { + if err := item.Validate(); err != nil { + return err + } + } + } + } + return nil +} + +type CreateLifecyclePolicyRequestRetrieveRules struct { + // The attribute of the rule. Valid value: + // + // - RetrieveType: the retrieval method. + // + // example: + // + // RetrieveType + Attribute *string `json:"Attribute,omitempty" xml:"Attribute,omitempty"` + // The threshold of the rule. Valid values: + // + // - RetrieveType + // + // - AfterVisit: Supported when LifecyclePolicyType is Auto. Represents a best-effort recall on access. + // + // - All: Supported when LifecyclePolicyType is OnDemand. Represents retrieving all data. + // + // example: + // + // All + Threshold *string `json:"Threshold,omitempty" xml:"Threshold,omitempty"` +} + +func (s CreateLifecyclePolicyRequestRetrieveRules) String() string { + return dara.Prettify(s) +} + +func (s CreateLifecyclePolicyRequestRetrieveRules) GoString() string { + return s.String() +} + +func (s *CreateLifecyclePolicyRequestRetrieveRules) GetAttribute() *string { + return s.Attribute +} + +func (s *CreateLifecyclePolicyRequestRetrieveRules) GetThreshold() *string { + return s.Threshold +} + +func (s *CreateLifecyclePolicyRequestRetrieveRules) SetAttribute(v string) *CreateLifecyclePolicyRequestRetrieveRules { + s.Attribute = &v + return s +} + +func (s *CreateLifecyclePolicyRequestRetrieveRules) SetThreshold(v string) *CreateLifecyclePolicyRequestRetrieveRules { + s.Threshold = &v + return s +} + +func (s *CreateLifecyclePolicyRequestRetrieveRules) Validate() error { + return dara.Validate(s) +} + +type CreateLifecyclePolicyRequestTransitRules struct { + // Attribute of the rule. + // + // Valid values: + // + // - Atime: the access time of the file. + // + // example: + // + // Atime + Attribute *string `json:"Attribute,omitempty" xml:"Attribute,omitempty"` + // Threshold for the rule. + // + // Valid values: + // + // - If Attribute is set to Atime, this value represents the number of days since the file was last accessed. Valid values: [1, 365]. + // + // example: + // + // 3 + Threshold *string `json:"Threshold,omitempty" xml:"Threshold,omitempty"` +} + +func (s CreateLifecyclePolicyRequestTransitRules) String() string { + return dara.Prettify(s) +} + +func (s CreateLifecyclePolicyRequestTransitRules) GoString() string { + return s.String() +} + +func (s *CreateLifecyclePolicyRequestTransitRules) GetAttribute() *string { + return s.Attribute +} + +func (s *CreateLifecyclePolicyRequestTransitRules) GetThreshold() *string { + return s.Threshold +} + +func (s *CreateLifecyclePolicyRequestTransitRules) SetAttribute(v string) *CreateLifecyclePolicyRequestTransitRules { + s.Attribute = &v + return s +} + +func (s *CreateLifecyclePolicyRequestTransitRules) SetThreshold(v string) *CreateLifecyclePolicyRequestTransitRules { + s.Threshold = &v + return s +} + +func (s *CreateLifecyclePolicyRequestTransitRules) Validate() error { return dara.Validate(s) } diff --git a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/create_lifecycle_policy_response_body_model.go b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/create_lifecycle_policy_response_body_model.go index 5b1b43d260..31d2542267 100644 --- a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/create_lifecycle_policy_response_body_model.go +++ b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/create_lifecycle_policy_response_body_model.go @@ -9,6 +9,8 @@ type iCreateLifecyclePolicyResponseBody interface { dara.Model String() string GoString() string + SetLifecyclePolicyId(v string) *CreateLifecyclePolicyResponseBody + GetLifecyclePolicyId() *string SetRequestId(v string) *CreateLifecyclePolicyResponseBody GetRequestId() *string SetSuccess(v bool) *CreateLifecyclePolicyResponseBody @@ -16,13 +18,19 @@ type iCreateLifecyclePolicyResponseBody interface { } type CreateLifecyclePolicyResponseBody struct { + // The ID of the lifecycle policy. + // + // example: + // + // lsp-bp1234567890ab**** + LifecyclePolicyId *string `json:"LifecyclePolicyId,omitempty" xml:"LifecyclePolicyId,omitempty"` // The request ID. // // example: // // BC7C825C-5F65-4B56-BEF6-98C56C7C**** RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` - // Indicates whether the request was successful. + // Indicates whether the request is successful. // // Valid values: // @@ -44,6 +52,10 @@ func (s CreateLifecyclePolicyResponseBody) GoString() string { return s.String() } +func (s *CreateLifecyclePolicyResponseBody) GetLifecyclePolicyId() *string { + return s.LifecyclePolicyId +} + func (s *CreateLifecyclePolicyResponseBody) GetRequestId() *string { return s.RequestId } @@ -52,6 +64,11 @@ func (s *CreateLifecyclePolicyResponseBody) GetSuccess() *bool { return s.Success } +func (s *CreateLifecyclePolicyResponseBody) SetLifecyclePolicyId(v string) *CreateLifecyclePolicyResponseBody { + s.LifecyclePolicyId = &v + return s +} + func (s *CreateLifecyclePolicyResponseBody) SetRequestId(v string) *CreateLifecyclePolicyResponseBody { s.RequestId = &v return s diff --git a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/create_protocol_mount_target_request_model.go b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/create_protocol_mount_target_request_model.go index fa53923427..386287f177 100644 --- a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/create_protocol_mount_target_request_model.go +++ b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/create_protocol_mount_target_request_model.go @@ -130,7 +130,9 @@ type CreateProtocolMountTargetRequest struct { // // ptc-123**** ProtocolServiceId *string `json:"ProtocolServiceId,omitempty" xml:"ProtocolServiceId,omitempty"` - // The vSwitch ID of the export directory for the protocol service. + // The vSwitch ID of the export directory. + // + // If the storage redundancy type of the file system is not zone-redundant (ZRS) and the VpcId is set, this field is required. // // if can be null: // true @@ -139,10 +141,12 @@ type CreateProtocolMountTargetRequest struct { // // vsw-123**** VSwitchId *string `json:"VSwitchId,omitempty" xml:"VSwitchId,omitempty"` + // The list of vSwitch IDs of the export directory. + // // if can be null: // true VSwitchIds []*string `json:"VSwitchIds,omitempty" xml:"VSwitchIds,omitempty" type:"Repeated"` - // The VPC ID of the export directory for the protocol service. + // The VPC ID of the export directory. // // if can be null: // true diff --git a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/delete_lifecycle_policy_request_model.go b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/delete_lifecycle_policy_request_model.go index 2178cd66d6..7e9b1a75e6 100644 --- a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/delete_lifecycle_policy_request_model.go +++ b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/delete_lifecycle_policy_request_model.go @@ -11,6 +11,8 @@ type iDeleteLifecyclePolicyRequest interface { GoString() string SetFileSystemId(v string) *DeleteLifecyclePolicyRequest GetFileSystemId() *string + SetLifecyclePolicyId(v string) *DeleteLifecyclePolicyRequest + GetLifecyclePolicyId() *string SetLifecyclePolicyName(v string) *DeleteLifecyclePolicyRequest GetLifecyclePolicyName() *string } @@ -24,9 +26,15 @@ type DeleteLifecyclePolicyRequest struct { // // 31a8e4**** FileSystemId *string `json:"FileSystemId,omitempty" xml:"FileSystemId,omitempty"` - // The name of the lifecycle policy. + // The ID of the lifecycle policy. Required for the CPFS for Lingjun file systems. // - // This parameter is required. + // example: + // + // lc-xxx + LifecyclePolicyId *string `json:"LifecyclePolicyId,omitempty" xml:"LifecyclePolicyId,omitempty"` + // The name of the lifecycle policy. The name must be 3 to 64 characters in length and can contain letters, digits, underscores (_), and hyphens (-). The name must start with a letter. + // + // > Optional for General-purpose NAS file systems. If this parameter is provided, it takes precedence over LifecyclePolicyId. If left empty, LifecyclePolicyId is used. // // example: // @@ -46,6 +54,10 @@ func (s *DeleteLifecyclePolicyRequest) GetFileSystemId() *string { return s.FileSystemId } +func (s *DeleteLifecyclePolicyRequest) GetLifecyclePolicyId() *string { + return s.LifecyclePolicyId +} + func (s *DeleteLifecyclePolicyRequest) GetLifecyclePolicyName() *string { return s.LifecyclePolicyName } @@ -55,6 +67,11 @@ func (s *DeleteLifecyclePolicyRequest) SetFileSystemId(v string) *DeleteLifecycl return s } +func (s *DeleteLifecyclePolicyRequest) SetLifecyclePolicyId(v string) *DeleteLifecyclePolicyRequest { + s.LifecyclePolicyId = &v + return s +} + func (s *DeleteLifecyclePolicyRequest) SetLifecyclePolicyName(v string) *DeleteLifecyclePolicyRequest { s.LifecyclePolicyName = &v return s diff --git a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_access_groups_request_model.go b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_access_groups_request_model.go index 9a7a38da3f..f2eed81ed8 100644 --- a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_access_groups_request_model.go +++ b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_access_groups_request_model.go @@ -38,11 +38,11 @@ type DescribeAccessGroupsRequest struct { // // Valid values: // - // - standard: General-purpose Apsara File Storage NAS (NAS) file system + // - standard: General-purpose NAS // - // - extreme: Extreme NAS file system. + // - extreme: Extreme NAS // - // - cpfs: CPFS file system. + // - cpfs: CPFS // // example: // @@ -66,7 +66,7 @@ type DescribeAccessGroupsRequest struct { // // 2 PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"` - // Specifies whether to display the creation time of the permission group in UTC. + // Specifies whether the time to return is displayed in UTC. // // Valid values: // diff --git a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_access_groups_response_body_model.go b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_access_groups_response_body_model.go index 091bf22b98..d21b87ebfa 100644 --- a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_access_groups_response_body_model.go +++ b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_access_groups_response_body_model.go @@ -22,7 +22,6 @@ type iDescribeAccessGroupsResponseBody interface { } type DescribeAccessGroupsResponseBody struct { - // The queried permission groups. AccessGroups *DescribeAccessGroupsResponseBodyAccessGroups `json:"AccessGroups,omitempty" xml:"AccessGroups,omitempty" type:"Struct"` // The page number. // @@ -147,62 +146,14 @@ func (s *DescribeAccessGroupsResponseBodyAccessGroups) Validate() error { } type DescribeAccessGroupsResponseBodyAccessGroupsAccessGroup struct { - // The name of the permission group. - // - // example: - // - // DEFAULT_VPC_GROUP_NAME - AccessGroupName *string `json:"AccessGroupName,omitempty" xml:"AccessGroupName,omitempty"` - // The network type of the permission group. Valid value: **Vpc**. - // - // example: - // - // Vpc - AccessGroupType *string `json:"AccessGroupType,omitempty" xml:"AccessGroupType,omitempty"` - // The time when the permission group was created. - // - // example: - // - // 2020-01-05T16:00:00Z - CreateTime *string `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"` - // The description of the permission group. - // - // example: - // - // This is a test access group. - Description *string `json:"Description,omitempty" xml:"Description,omitempty"` - // The type of the file system. - // - // Valid values: - // - // - standard: General-purpose Apsara File Storage NAS (NAS) file system - // - // - extreme: Extreme NAS file system. - // - // - cpfs: CPFS file system. - // - // example: - // - // standard - FileSystemType *string `json:"FileSystemType,omitempty" xml:"FileSystemType,omitempty"` - // The number of mount targets to which the permission group is attached. - // - // example: - // - // 0 - MountTargetCount *int32 `json:"MountTargetCount,omitempty" xml:"MountTargetCount,omitempty"` - // The region ID. - // - // example: - // - // cn-hangzhou - RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"` - // The total number of rules in the permission group. - // - // example: - // - // 0 - RuleCount *int32 `json:"RuleCount,omitempty" xml:"RuleCount,omitempty"` + AccessGroupName *string `json:"AccessGroupName,omitempty" xml:"AccessGroupName,omitempty"` + AccessGroupType *string `json:"AccessGroupType,omitempty" xml:"AccessGroupType,omitempty"` + CreateTime *string `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"` + Description *string `json:"Description,omitempty" xml:"Description,omitempty"` + FileSystemType *string `json:"FileSystemType,omitempty" xml:"FileSystemType,omitempty"` + MountTargetCount *int32 `json:"MountTargetCount,omitempty" xml:"MountTargetCount,omitempty"` + RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"` + RuleCount *int32 `json:"RuleCount,omitempty" xml:"RuleCount,omitempty"` } func (s DescribeAccessGroupsResponseBodyAccessGroupsAccessGroup) String() string { diff --git a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_access_point_response_body_model.go b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_access_point_response_body_model.go index 6a38a6ea6c..7228ed73bb 100644 --- a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_access_point_response_body_model.go +++ b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_access_point_response_body_model.go @@ -163,8 +163,9 @@ type DescribeAccessPointResponseBodyAccessPoint struct { // example: // // Active - Status *string `json:"Status,omitempty" xml:"Status,omitempty"` - Tags []*DescribeAccessPointResponseBodyAccessPointTags `json:"Tags,omitempty" xml:"Tags,omitempty" type:"Repeated"` + Status *string `json:"Status,omitempty" xml:"Status,omitempty"` + // The tags of the access point. + Tags []*DescribeAccessPointResponseBodyAccessPointTags `json:"Tags,omitempty" xml:"Tags,omitempty" type:"Repeated"` // The vSwitch ID. // // example: @@ -491,10 +492,14 @@ func (s *DescribeAccessPointResponseBodyAccessPointRootPathPermission) Validate( } type DescribeAccessPointResponseBodyAccessPointTags struct { + // The key of a tag. + // // example: // // TestKey Key *string `json:"Key,omitempty" xml:"Key,omitempty"` + // The value of a tag. + // // example: // // TestValue diff --git a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_access_points_request_model.go b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_access_points_request_model.go index be0d06cec4..e3ca471a92 100644 --- a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_access_points_request_model.go +++ b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_access_points_request_model.go @@ -24,7 +24,7 @@ type iDescribeAccessPointsRequest interface { type DescribeAccessPointsRequest struct { // The name of the permission group. // - // This parameter is required for a General-purpose File Storage NAS (NAS) file system. + // This parameter is required for a General-purpose NAS file system. // // The default permission group for virtual private clouds (VPCs) is named DEFAULT_VPC_GROUP_NAME. // @@ -46,13 +46,14 @@ type DescribeAccessPointsRequest struct { // // 10 MaxResults *int32 `json:"MaxResults,omitempty" xml:"MaxResults,omitempty"` - // The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request. You must specify the token that is obtained from the previous query as the value of NextToken. + // The token used to retrieve the next page of results. Do not specify this parameter for the first request. For subsequent requests, set this value to the NextToken returned in the previous response. // // example: // // MTY4NzcxOTcwMjAzMDk2Nzc0MyM4MDM4**** - NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"` - Tag []*DescribeAccessPointsRequestTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"` + NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"` + // The tags of the access point. + Tag []*DescribeAccessPointsRequestTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"` } func (s DescribeAccessPointsRequest) String() string { @@ -122,10 +123,34 @@ func (s *DescribeAccessPointsRequest) Validate() error { } type DescribeAccessPointsRequestTag struct { + // The key of the tag. + // + // Limits: + // + // - Valid values of N: 1 to 20. + // + // - Maximum length is 128 characters. + // + // - Cannot start with aliyun or acs:. + // + // - Cannot contain http:// or https://. + // // example: // // TestKey Key *string `json:"Key,omitempty" xml:"Key,omitempty"` + // The value of the tag. + // + // Limits: + // + // - Valid values of N: 1 to 20. + // + // - Maximum length is 128 characters. + // + // - Cannot start with aliyun or acs:. + // + // - Cannot contain http:// or https://. + // // example: // // TestValue diff --git a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_access_points_response_body_model.go b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_access_points_response_body_model.go index 65d0854fa0..c32c2eafc7 100644 --- a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_access_points_response_body_model.go +++ b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_access_points_response_body_model.go @@ -22,13 +22,13 @@ type iDescribeAccessPointsResponseBody interface { type DescribeAccessPointsResponseBody struct { // The information about the access point. AccessPoints []*DescribeAccessPointsResponseBodyAccessPoints `json:"AccessPoints,omitempty" xml:"AccessPoints,omitempty" type:"Repeated"` - // The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request. You must specify the token that is obtained from the previous query as the value of NextToken. + // A pagination token. It can be used in the next request to retrieve a new page of results. If NextToken is empty, no next page exists. // // example: // // MTY4NzcxOTcwMjAzMDk2Nzc0MyM4MDM4**** NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"` - // The request ID. + // Request ID. // // This parameter is required. // @@ -118,7 +118,7 @@ type DescribeAccessPointsResponseBodyAccessPoints struct { // // example: // - // ap-ie15yd**** + // ap-ie15y***** AccessPointId *string `json:"AccessPointId,omitempty" xml:"AccessPointId,omitempty"` // The name of the access point. // @@ -197,9 +197,10 @@ type DescribeAccessPointsResponseBodyAccessPoints struct { // example: // // Active - Status *string `json:"Status,omitempty" xml:"Status,omitempty"` - Tags []*DescribeAccessPointsResponseBodyAccessPointsTags `json:"Tags,omitempty" xml:"Tags,omitempty" type:"Repeated"` - // The vSwitch ID. + Status *string `json:"Status,omitempty" xml:"Status,omitempty"` + // The tags of the access point. + Tags []*DescribeAccessPointsResponseBodyAccessPointsTags `json:"Tags,omitempty" xml:"Tags,omitempty" type:"Repeated"` + // Switch ID. // // example: // @@ -514,10 +515,14 @@ func (s *DescribeAccessPointsResponseBodyAccessPointsRootPathPermission) Validat } type DescribeAccessPointsResponseBodyAccessPointsTags struct { + // The key of the tag that is added to the resource. + // // example: // // TestKey Key *string `json:"Key,omitempty" xml:"Key,omitempty"` + // Tag value + // // example: // // TestValue diff --git a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_access_rules_response_body_model.go b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_access_rules_response_body_model.go index da5328697c..6fcd1cb7cb 100644 --- a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_access_rules_response_body_model.go +++ b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_access_rules_response_body_model.go @@ -22,7 +22,6 @@ type iDescribeAccessRulesResponseBody interface { } type DescribeAccessRulesResponseBody struct { - // The rules in the permission group. AccessRules *DescribeAccessRulesResponseBodyAccessRules `json:"AccessRules,omitempty" xml:"AccessRules,omitempty" type:"Struct"` // The page number. // @@ -147,82 +146,15 @@ func (s *DescribeAccessRulesResponseBodyAccessRules) Validate() error { } type DescribeAccessRulesResponseBodyAccessRulesAccessRule struct { - // The name of the permission group. - // - // example: - // - // test - AccessGroupName *string `json:"AccessGroupName,omitempty" xml:"AccessGroupName,omitempty"` - // The ID of the rule. - // - // example: - // - // 1 - AccessRuleId *string `json:"AccessRuleId,omitempty" xml:"AccessRuleId,omitempty"` - // The type of the file system. - // - // Valid values: - // - // - standard: General-purpose File Storage NAS (NAS) file system - // - // - extreme: Extreme NAS file system - // - // example: - // - // standard - FileSystemType *string `json:"FileSystemType,omitempty" xml:"FileSystemType,omitempty"` - // The IPv6 address or CIDR block of the authorized object. - // - // example: - // - // 2001:250:6000::*** + AccessGroupName *string `json:"AccessGroupName,omitempty" xml:"AccessGroupName,omitempty"` + AccessRuleId *string `json:"AccessRuleId,omitempty" xml:"AccessRuleId,omitempty"` + FileSystemType *string `json:"FileSystemType,omitempty" xml:"FileSystemType,omitempty"` Ipv6SourceCidrIp *string `json:"Ipv6SourceCidrIp,omitempty" xml:"Ipv6SourceCidrIp,omitempty"` - // The priority of the rule. - // - // If multiple rules are attached to the authorized object, the rule with the highest priority takes effect. - // - // Valid values: 1 to 100. The value 1 indicates the highest priority. - // - // example: - // - // 1 - Priority *int32 `json:"Priority,omitempty" xml:"Priority,omitempty"` - // The access permissions of the authorized object on the file system. - // - // Valid values: - // - // - RDWR (default): the read and write permissions - // - // - RDONLY: the read-only permissions - // - // example: - // - // RDWR - RWAccess *string `json:"RWAccess,omitempty" xml:"RWAccess,omitempty"` - // The region ID. - // - // example: - // - // cn-hangzhou - RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"` - // The IP address or CIDR block of the authorized object. - SourceCidrIp *string `json:"SourceCidrIp,omitempty" xml:"SourceCidrIp,omitempty"` - // The access permissions for different types of users in the authorized object. - // - // Valid values: - // - // - no_squash: allows access from root users to the file system. - // - // - root_squash: grants root users the least permissions as the nobody user. - // - // - all_squash: grants all users the least permissions as the nobody user. - // - // The nobody user has the least permissions in Linux and can access only the public content of the file system. This ensures the security of the file system. - // - // example: - // - // no_squash - UserAccess *string `json:"UserAccess,omitempty" xml:"UserAccess,omitempty"` + Priority *int32 `json:"Priority,omitempty" xml:"Priority,omitempty"` + RWAccess *string `json:"RWAccess,omitempty" xml:"RWAccess,omitempty"` + RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"` + SourceCidrIp *string `json:"SourceCidrIp,omitempty" xml:"SourceCidrIp,omitempty"` + UserAccess *string `json:"UserAccess,omitempty" xml:"UserAccess,omitempty"` } func (s DescribeAccessRulesResponseBodyAccessRulesAccessRule) String() string { diff --git a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_auto_snapshot_policies_response_body_model.go b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_auto_snapshot_policies_response_body_model.go index 985357a26c..6f27029e15 100644 --- a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_auto_snapshot_policies_response_body_model.go +++ b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_auto_snapshot_policies_response_body_model.go @@ -22,7 +22,6 @@ type iDescribeAutoSnapshotPoliciesResponseBody interface { } type DescribeAutoSnapshotPoliciesResponseBody struct { - // The queried automatic snapshot policies. AutoSnapshotPolicies *DescribeAutoSnapshotPoliciesResponseBodyAutoSnapshotPolicies `json:"AutoSnapshotPolicies,omitempty" xml:"AutoSnapshotPolicies,omitempty" type:"Struct"` // The page number. // @@ -147,90 +146,16 @@ func (s *DescribeAutoSnapshotPoliciesResponseBodyAutoSnapshotPolicies) Validate( } type DescribeAutoSnapshotPoliciesResponseBodyAutoSnapshotPoliciesAutoSnapshotPolicy struct { - // The ID of the automatic snapshot policy. - // - // example: - // - // sp-extreme-233e6**** - AutoSnapshotPolicyId *string `json:"AutoSnapshotPolicyId,omitempty" xml:"AutoSnapshotPolicyId,omitempty"` - // The name of the automatic snapshot policy. - // - // example: - // - // FinanceJoshua + AutoSnapshotPolicyId *string `json:"AutoSnapshotPolicyId,omitempty" xml:"AutoSnapshotPolicyId,omitempty"` AutoSnapshotPolicyName *string `json:"AutoSnapshotPolicyName,omitempty" xml:"AutoSnapshotPolicyName,omitempty"` - // The time when the automatic snapshot policy was created. - // - // The time follows the [ISO8601](https://www.iso.org/iso-8601-date-and-time-format.html) standard in the `yyyy-MM-ddTHH:mm:ssZ` format. The time is displayed in UTC. - // - // example: - // - // 2014-04-21T12:08:52Z - CreateTime *string `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"` - // The number of file systems to which the automatic snapshot policy applies. - // - // example: - // - // 2 - FileSystemNums *int32 `json:"FileSystemNums,omitempty" xml:"FileSystemNums,omitempty"` - // The type of the file system. - // - // example: - // - // extreme - FileSystemType *string `json:"FileSystemType,omitempty" xml:"FileSystemType,omitempty"` - // The region ID of the automatic snapshot policy. - // - // example: - // - // cn-hangzhou - RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"` - // The days of a week on which auto snapshots are created. - // - // Auto snapshots are created on a weekly basis. - // - // Valid values: 1 to 7. The values from 1 to 7 indicate 7 days in a week from Monday to Sunday. - // - // example: - // - // 1,5 - RepeatWeekdays *string `json:"RepeatWeekdays,omitempty" xml:"RepeatWeekdays,omitempty"` - // The retention period of auto snapshots. - // - // Unit: days. - // - // Valid values: - // - // - \\-1: Auto snapshots are permanently retained. After the number of auto snapshots exceeds the upper limit, the earliest auto snapshot is automatically deleted. - // - // - 1 to 65536: Auto snapshots are retained for the specified days. After the retention period of auto snapshots expires, the auto snapshots are automatically deleted. - // - // example: - // - // 30 - RetentionDays *int32 `json:"RetentionDays,omitempty" xml:"RetentionDays,omitempty"` - // The status of the automatic snapshot policy. - // - // Valid values: - // - // - Creating: The automatic snapshot policy is being created. - // - // - Available: The automatic snapshot policy is available. - // - // example: - // - // Available - Status *string `json:"Status,omitempty" xml:"Status,omitempty"` - // The points in time at which auto snapshots are created. - // - // Unit: hours. - // - // Valid values: `0 to 23`. The values from 0 to 23 indicate a total of 24 hours from `00:00 to 23:00`. For example, 1 indicates 01:00. A maximum of 24 points in time can be returned. Multiple points in time are separated with commas (,). - // - // example: - // - // 4,19 - TimePoints *string `json:"TimePoints,omitempty" xml:"TimePoints,omitempty"` + CreateTime *string `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"` + FileSystemNums *int32 `json:"FileSystemNums,omitempty" xml:"FileSystemNums,omitempty"` + FileSystemType *string `json:"FileSystemType,omitempty" xml:"FileSystemType,omitempty"` + RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"` + RepeatWeekdays *string `json:"RepeatWeekdays,omitempty" xml:"RepeatWeekdays,omitempty"` + RetentionDays *int32 `json:"RetentionDays,omitempty" xml:"RetentionDays,omitempty"` + Status *string `json:"Status,omitempty" xml:"Status,omitempty"` + TimePoints *string `json:"TimePoints,omitempty" xml:"TimePoints,omitempty"` } func (s DescribeAutoSnapshotPoliciesResponseBodyAutoSnapshotPoliciesAutoSnapshotPolicy) String() string { diff --git a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_auto_snapshot_tasks_response_body_model.go b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_auto_snapshot_tasks_response_body_model.go index 6adf4b18c2..b465bd0d34 100644 --- a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_auto_snapshot_tasks_response_body_model.go +++ b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_auto_snapshot_tasks_response_body_model.go @@ -22,7 +22,6 @@ type iDescribeAutoSnapshotTasksResponseBody interface { } type DescribeAutoSnapshotTasksResponseBody struct { - // The queried automatic snapshot tasks. AutoSnapshotTasks *DescribeAutoSnapshotTasksResponseBodyAutoSnapshotTasks `json:"AutoSnapshotTasks,omitempty" xml:"AutoSnapshotTasks,omitempty" type:"Struct"` // The page number. // @@ -147,18 +146,8 @@ func (s *DescribeAutoSnapshotTasksResponseBodyAutoSnapshotTasks) Validate() erro } type DescribeAutoSnapshotTasksResponseBodyAutoSnapshotTasksAutoSnapshotTask struct { - // The ID of the automatic snapshot policy. - // - // example: - // - // sp-extreme-233e6**** AutoSnapshotPolicyId *string `json:"AutoSnapshotPolicyId,omitempty" xml:"AutoSnapshotPolicyId,omitempty"` - // The ID of the file system. - // - // example: - // - // extreme-233e6**** - SourceFileSystemId *string `json:"SourceFileSystemId,omitempty" xml:"SourceFileSystemId,omitempty"` + SourceFileSystemId *string `json:"SourceFileSystemId,omitempty" xml:"SourceFileSystemId,omitempty"` } func (s DescribeAutoSnapshotTasksResponseBodyAutoSnapshotTasksAutoSnapshotTask) String() string { diff --git a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_data_flow_sub_tasks_response_body_model.go b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_data_flow_sub_tasks_response_body_model.go index d3ed14bcb3..4c36fee2ba 100644 --- a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_data_flow_sub_tasks_response_body_model.go +++ b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_data_flow_sub_tasks_response_body_model.go @@ -18,7 +18,6 @@ type iDescribeDataFlowSubTasksResponseBody interface { } type DescribeDataFlowSubTasksResponseBody struct { - // The details about data streaming tasks. DataFlowSubTask *DescribeDataFlowSubTasksResponseBodyDataFlowSubTask `json:"DataFlowSubTask,omitempty" xml:"DataFlowSubTask,omitempty" type:"Struct"` // The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request. You must specify the token that is obtained from the previous query as the value of NextToken. // @@ -113,108 +112,20 @@ func (s *DescribeDataFlowSubTasksResponseBodyDataFlowSubTask) Validate() error { } type DescribeDataFlowSubTasksResponseBodyDataFlowSubTaskDataFlowSubTask struct { - // The time when the data streaming task was created. - // - // example: - // - // 2024-07-01 19:59:29 - CreateTime *string `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"` - // The ID of the data flow. - // - // example: - // - // df-194433a5be31**** - DataFlowId *string `json:"DataFlowId,omitempty" xml:"DataFlowId,omitempty"` - // The ID of the data streaming task. - // - // example: - // - // subTaskId-370kyfmyknxcyzw**** - DataFlowSubTaskId *string `json:"DataFlowSubTaskId,omitempty" xml:"DataFlowSubTaskId,omitempty"` - // The ID of the data flow task. - // - // example: - // - // task-38aa8e890f45**** - DataFlowTaskId *string `json:"DataFlowTaskId,omitempty" xml:"DataFlowTaskId,omitempty"` - // The path of the destination file. Limits: - // - // - The path must be 1 to 1,023 characters in length. - // - // - The path must be encoded in UTF-8. - // - // - The path must start with a forward slash (/). - // - // - The path must end with the file name. - // - // example: - // - // /mnt/file.png - DstFilePath *string `json:"DstFilePath,omitempty" xml:"DstFilePath,omitempty"` - // The time when the data streaming task ended. - // - // example: - // - // 2024-07-04 11:14:22 - EndTime *string `json:"EndTime,omitempty" xml:"EndTime,omitempty"` - // The error message returned when the task failed. - ErrorMsg *string `json:"ErrorMsg,omitempty" xml:"ErrorMsg,omitempty"` - // The file information. - FileDetail *DescribeDataFlowSubTasksResponseBodyDataFlowSubTaskDataFlowSubTaskFileDetail `json:"FileDetail,omitempty" xml:"FileDetail,omitempty" type:"Struct"` - // The ID of the file system. - // - // example: - // - // bmcpfs-370lx1ev9ss27o0**** - FileSystemId *string `json:"FileSystemId,omitempty" xml:"FileSystemId,omitempty"` - // The progress of the data streaming task. Valid values: 0 to 10000. - // - // example: - // - // 10000 - Progress *int32 `json:"Progress,omitempty" xml:"Progress,omitempty"` - // The progress information about data streaming tasks. - ProgressStats *DescribeDataFlowSubTasksResponseBodyDataFlowSubTaskDataFlowSubTaskProgressStats `json:"ProgressStats,omitempty" xml:"ProgressStats,omitempty" type:"Struct"` - // The path of the source file. Limits: - // - // - The path must be 1 to 1,023 characters in length. - // - // - The path must be encoded in UTF-8. - // - // - The path must start with a forward slash (/). - // - // - The path must end with the file name. - // - // example: - // - // /test/file.png - SrcFilePath *string `json:"SrcFilePath,omitempty" xml:"SrcFilePath,omitempty"` - // The time when the data streaming task started. - // - // example: - // - // 2024-07-03 10:43:16 - StartTime *string `json:"StartTime,omitempty" xml:"StartTime,omitempty"` - // The status of the data streaming task. Valid values: - // - // - EXPIRED: The task is terminated. - // - // - CREATED: The task is created. - // - // - RUNNING: The task is running. - // - // - COMPLETE: The task is complete. - // - // - CANCELING: The task is being canceled. - // - // - FAILED: The task failed to be executed. - // - // - CANCELED: The task is canceled. - // - // example: - // - // COMPLETE - Status *string `json:"Status,omitempty" xml:"Status,omitempty"` + CreateTime *string `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"` + DataFlowId *string `json:"DataFlowId,omitempty" xml:"DataFlowId,omitempty"` + DataFlowSubTaskId *string `json:"DataFlowSubTaskId,omitempty" xml:"DataFlowSubTaskId,omitempty"` + DataFlowTaskId *string `json:"DataFlowTaskId,omitempty" xml:"DataFlowTaskId,omitempty"` + DstFilePath *string `json:"DstFilePath,omitempty" xml:"DstFilePath,omitempty"` + EndTime *string `json:"EndTime,omitempty" xml:"EndTime,omitempty"` + ErrorMsg *string `json:"ErrorMsg,omitempty" xml:"ErrorMsg,omitempty"` + FileDetail *DescribeDataFlowSubTasksResponseBodyDataFlowSubTaskDataFlowSubTaskFileDetail `json:"FileDetail,omitempty" xml:"FileDetail,omitempty" type:"Struct"` + FileSystemId *string `json:"FileSystemId,omitempty" xml:"FileSystemId,omitempty"` + Progress *int32 `json:"Progress,omitempty" xml:"Progress,omitempty"` + ProgressStats *DescribeDataFlowSubTasksResponseBodyDataFlowSubTaskDataFlowSubTaskProgressStats `json:"ProgressStats,omitempty" xml:"ProgressStats,omitempty" type:"Struct"` + SrcFilePath *string `json:"SrcFilePath,omitempty" xml:"SrcFilePath,omitempty"` + StartTime *string `json:"StartTime,omitempty" xml:"StartTime,omitempty"` + Status *string `json:"Status,omitempty" xml:"Status,omitempty"` } func (s DescribeDataFlowSubTasksResponseBodyDataFlowSubTaskDataFlowSubTask) String() string { @@ -366,24 +277,9 @@ func (s *DescribeDataFlowSubTasksResponseBodyDataFlowSubTaskDataFlowSubTask) Val } type DescribeDataFlowSubTasksResponseBodyDataFlowSubTaskDataFlowSubTaskFileDetail struct { - // The checksum. Format example: crc64:123456. - // - // example: - // - // crc64:850309505450944**** - Checksum *string `json:"Checksum,omitempty" xml:"Checksum,omitempty"` - // The time when the file was modified. The value is a UNIX timestamp. Unit: ns. - // - // example: - // - // 1721167603 - ModifyTime *int64 `json:"ModifyTime,omitempty" xml:"ModifyTime,omitempty"` - // The file size. Unit: bytes. - // - // example: - // - // 68 - Size *int64 `json:"Size,omitempty" xml:"Size,omitempty"` + Checksum *string `json:"Checksum,omitempty" xml:"Checksum,omitempty"` + ModifyTime *int64 `json:"ModifyTime,omitempty" xml:"ModifyTime,omitempty"` + Size *int64 `json:"Size,omitempty" xml:"Size,omitempty"` } func (s DescribeDataFlowSubTasksResponseBodyDataFlowSubTaskDataFlowSubTaskFileDetail) String() string { @@ -426,30 +322,10 @@ func (s *DescribeDataFlowSubTasksResponseBodyDataFlowSubTaskDataFlowSubTaskFileD } type DescribeDataFlowSubTasksResponseBodyDataFlowSubTaskDataFlowSubTaskProgressStats struct { - // The actual amount of data for which the data flow task is complete. Unit: bytes. - // - // example: - // - // 68 - ActualBytes *int64 `json:"ActualBytes,omitempty" xml:"ActualBytes,omitempty"` - // The average flow velocity. Unit: bytes/s. - // - // example: - // - // 34 + ActualBytes *int64 `json:"ActualBytes,omitempty" xml:"ActualBytes,omitempty"` AverageSpeed *int64 `json:"AverageSpeed,omitempty" xml:"AverageSpeed,omitempty"` - // The amount of data (including skipped data) for which the data flow task is complete. Unit: bytes. - // - // example: - // - // 68 - BytesDone *int64 `json:"BytesDone,omitempty" xml:"BytesDone,omitempty"` - // The amount of data scanned on the source. Unit: bytes. - // - // example: - // - // 68 - BytesTotal *int64 `json:"BytesTotal,omitempty" xml:"BytesTotal,omitempty"` + BytesDone *int64 `json:"BytesDone,omitempty" xml:"BytesDone,omitempty"` + BytesTotal *int64 `json:"BytesTotal,omitempty" xml:"BytesTotal,omitempty"` } func (s DescribeDataFlowSubTasksResponseBodyDataFlowSubTaskDataFlowSubTaskProgressStats) String() string { diff --git a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_data_flow_tasks_response_body_model.go b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_data_flow_tasks_response_body_model.go index 4cb47121df..9298b3099c 100644 --- a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_data_flow_tasks_response_body_model.go +++ b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_data_flow_tasks_response_body_model.go @@ -29,9 +29,8 @@ type DescribeDataFlowTasksResponseBody struct { // example: // // 2D69A58F-345C-4FDE-88E4-BF518948**** - RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` - // The information about dataflow tasks. - TaskInfo *DescribeDataFlowTasksResponseBodyTaskInfo `json:"TaskInfo,omitempty" xml:"TaskInfo,omitempty" type:"Struct"` + RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` + TaskInfo *DescribeDataFlowTasksResponseBodyTaskInfo `json:"TaskInfo,omitempty" xml:"TaskInfo,omitempty" type:"Struct"` } func (s DescribeDataFlowTasksResponseBody) String() string { @@ -113,230 +112,33 @@ func (s *DescribeDataFlowTasksResponseBodyTaskInfo) Validate() error { } type DescribeDataFlowTasksResponseBodyTaskInfoTask struct { - // The conflict policy for files with the same name. Valid values: - // - // - SKIP_THE_FILE: skips files with the same name. - // - // - KEEP_LATEST: compares the update time and keeps the latest version. - // - // - OVERWRITE_EXISTING: forcibly overwrites the existing file. - // // example: // // KEEP_LATEST - ConflictPolicy *string `json:"ConflictPolicy,omitempty" xml:"ConflictPolicy,omitempty"` - // The time when the task was created. - // - // example: - // - // 2021-08-04 18:27:35 - CreateTime *string `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"` - // The ID of the dataflow. - // - // example: - // - // dfid-194433a5be3**** - DataFlowId *string `json:"DataFlowId,omitempty" xml:"DataFlowId,omitempty"` - // The type of data on which operations are performed by the dataflow task. The following information is displayed: - // - // - Metadata: the metadata of a file, including the timestamp, ownership, and permission information of the file. If you select Metadata, only the metadata of the file is imported. You can only query the file. When you access the file data, the file is loaded from the source storage as required. - // - // - Data: the data blocks of the file. - // - // - MetaAndData: the metadata and data blocks of the file. - // - // > CPFS for Lingjun supports only the MetaAndData type. - // - // example: - // - // Metadata - DataType *string `json:"DataType,omitempty" xml:"DataType,omitempty"` - // The directory in which the dataflow task is executed. - // - // example: - // - // /path_in_cpfs/ - Directory *string `json:"Directory,omitempty" xml:"Directory,omitempty"` - // The directory mapped to the dataflow task. - // - // example: - // - // /path_in_cpfs/ - DstDirectory *string `json:"DstDirectory,omitempty" xml:"DstDirectory,omitempty"` - // The end time of the task. - // - // example: - // - // 2021-08-04 18:27:35 - EndTime *string `json:"EndTime,omitempty" xml:"EndTime,omitempty"` - // The cause of the task exception. - // - // > If this parameter is not returned or the return value is empty, no error occurs. - ErrorMsg *string `json:"ErrorMsg,omitempty" xml:"ErrorMsg,omitempty"` - // The directory of the fileset in the CPFS file system. - // - // Limits: - // - // - The directory must be 2 to 1024 characters in length. - // - // - The directory must be encoded in UTF-8. - // - // - The directory must start and end with a forward slash (/). - // - // - The directory must be a fileset directory in the CPFS file system. - // - // > Only CPFS supports this parameter. - // - // example: - // - // /a/b/c/ - FileSystemPath *string `json:"FileSystemPath,omitempty" xml:"FileSystemPath,omitempty"` - // The ID of the file system. - // - // example: - // - // cpfs-099394bd928c**** - FilesystemId *string `json:"FilesystemId,omitempty" xml:"FilesystemId,omitempty"` - // The path of the smart directory. - // - // example: - // - // /aa/ - FsPath *string `json:"FsPath,omitempty" xml:"FsPath,omitempty"` - // Filters subdirectories and transfers their contents. - // - // > Only CPFS for Lingjun supports this operation. - // - // example: - // - // ["/test/","/test1/"] - Includes *string `json:"Includes,omitempty" xml:"Includes,omitempty"` - // The initiator of the dataflow task. The following information is displayed: - // - // - User: The task is initiated by a user. - // - // - System: The task is automatically initiated by CPFS based on the automatic update interval. - // - // > Only CPFS supports this parameter. - // - // example: - // - // User - Originator *string `json:"Originator,omitempty" xml:"Originator,omitempty"` - // The progress of the dataflow task. The number of operations that have been performed by the dataflow task. - // - // example: - // - // 240 - Progress *int64 `json:"Progress,omitempty" xml:"Progress,omitempty"` - // The progress of the dataflow task. - ProgressStats *DescribeDataFlowTasksResponseBodyTaskInfoTaskProgressStats `json:"ProgressStats,omitempty" xml:"ProgressStats,omitempty" type:"Struct"` + ConflictPolicy *string `json:"ConflictPolicy,omitempty" xml:"ConflictPolicy,omitempty"` + CreateTime *string `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"` + DataFlowId *string `json:"DataFlowId,omitempty" xml:"DataFlowId,omitempty"` + DataType *string `json:"DataType,omitempty" xml:"DataType,omitempty"` + Directory *string `json:"Directory,omitempty" xml:"Directory,omitempty"` + DstDirectory *string `json:"DstDirectory,omitempty" xml:"DstDirectory,omitempty"` + EndTime *string `json:"EndTime,omitempty" xml:"EndTime,omitempty"` + ErrorMsg *string `json:"ErrorMsg,omitempty" xml:"ErrorMsg,omitempty"` + FileSystemPath *string `json:"FileSystemPath,omitempty" xml:"FileSystemPath,omitempty"` + FilesystemId *string `json:"FilesystemId,omitempty" xml:"FilesystemId,omitempty"` + FsPath *string `json:"FsPath,omitempty" xml:"FsPath,omitempty"` + Includes *string `json:"Includes,omitempty" xml:"Includes,omitempty"` + Originator *string `json:"Originator,omitempty" xml:"Originator,omitempty"` + Progress *int64 `json:"Progress,omitempty" xml:"Progress,omitempty"` + ProgressStats *DescribeDataFlowTasksResponseBodyTaskInfoTaskProgressStats `json:"ProgressStats,omitempty" xml:"ProgressStats,omitempty" type:"Struct"` // Deprecated - // - // The save path of dataflow task reports in the CPFS file system. - // - // - The task reports for a CPFS file system are generated in the `.dataflow_report` directory of the CPFS file system. - // - // - CPFS for Lingjun returns an OSS download link for you to download the task reports. - // - // example: - // - // /path_in_cpfs/reportfile.cvs - ReportPath *string `json:"ReportPath,omitempty" xml:"ReportPath,omitempty"` - // The reports. - // - // > - // - // - Streaming tasks do not support reports. - // - // - If the WithReport parameter is set to True, the CPFS for Lingjun report data is returned. - // - // - Only CPFS for Lingjun supports the WithReport parameter. - Reports *DescribeDataFlowTasksResponseBodyTaskInfoTaskReports `json:"Reports,omitempty" xml:"Reports,omitempty" type:"Struct"` - // The access path of the source storage. Format: `://[:]`. - // - // Among them: - // - // - storage type: Only Object Storage Service (OSS) is supported. - // - // - account id: the UID of the account of the source storage. - // - // - path: the name of the OSS bucket. Limits: - // - // - The name can contain only lowercase letters, digits, and hyphens (-). The name must start and end with a lowercase letter or digit. - // - // - The name can be up to 128 characters in length. - // - // - The name must be encoded in UTF-8. - // - // > - // - // - The OSS bucket must be an existing bucket in the region. - // - // - Only CPFS for Lingjun V2.6.0 and later support the account id parameter. - // - // example: - // - // oss://bucket1 - SourceStorage *string `json:"SourceStorage,omitempty" xml:"SourceStorage,omitempty"` - // The start time of the task. - // - // example: - // - // 2021-08-04 18:27:35 - StartTime *string `json:"StartTime,omitempty" xml:"StartTime,omitempty"` - // The status of the dataflow task. The following information is displayed: - // - // - Pending: The dataflow task has been created and has not started. - // - // - Executing: The dataflow task is being executed. - // - // - Failed: The dataflow task failed to be executed. You can view the cause of the failure in the dataflow task report. - // - // - Completed: The dataflow task is completed. You can check that all the files have been correctly transferred in the dataflow task report. - // - // - Canceled: The dataflow task is canceled and is not completed. - // - // - Canceling: The dataflow task is being canceled. - // - // example: - // - // Executing - Status *string `json:"Status,omitempty" xml:"Status,omitempty"` - // The type of the dataflow task. The following information is displayed: - // - // - Import: imports data stored in the source storage to a CPFS file system. - // - // - Export: exports specified data from a CPFS file system to the source storage. - // - // - StreamImport: imports the specified data from the source storage to a CPFS file system in streaming mode. - // - // - StreamExport: exports specified data from a CPFS file system to the source storage in streaming mode. - // - // - Evict: releases the data blocks of a file in a CPFS file system. After the eviction, only the metadata of the file is retained in the CPFS file system. You can still query the file. However, the data blocks of the file are cleared and do not occupy the storage space in the CPFS file system. When you access the file data, the file is loaded from the source storage as required. - // - // - Inventory: obtains the inventory list managed by a dataflow from the CPFS file system, providing the cache status of inventories in the dataflow. - // - // > Only CPFS for Lingjun V2.6.0 and later support StreamImport and StreamExport. - // - // example: - // - // Import - TaskAction *string `json:"TaskAction,omitempty" xml:"TaskAction,omitempty"` - // The ID of the dataflow task. - // - // example: - // - // taskId-12345678 - TaskId *string `json:"TaskId,omitempty" xml:"TaskId,omitempty"` - // Specify the OSS directory and synchronize data based on the content of the CSV file in the OSS directory. - // - // > Only CPFS for Lingjun supports this operation. - // - // example: - // - // /path_in_cpfs/ - TransferFileListPath *string `json:"TransferFileListPath,omitempty" xml:"TransferFileListPath,omitempty"` + ReportPath *string `json:"ReportPath,omitempty" xml:"ReportPath,omitempty"` + Reports *DescribeDataFlowTasksResponseBodyTaskInfoTaskReports `json:"Reports,omitempty" xml:"Reports,omitempty" type:"Struct"` + SourceStorage *string `json:"SourceStorage,omitempty" xml:"SourceStorage,omitempty"` + StartTime *string `json:"StartTime,omitempty" xml:"StartTime,omitempty"` + Status *string `json:"Status,omitempty" xml:"Status,omitempty"` + TaskAction *string `json:"TaskAction,omitempty" xml:"TaskAction,omitempty"` + TaskId *string `json:"TaskId,omitempty" xml:"TaskId,omitempty"` + TransferFileListPath *string `json:"TransferFileListPath,omitempty" xml:"TransferFileListPath,omitempty"` } func (s DescribeDataFlowTasksResponseBodyTaskInfoTask) String() string { @@ -569,54 +371,14 @@ func (s *DescribeDataFlowTasksResponseBodyTaskInfoTask) Validate() error { } type DescribeDataFlowTasksResponseBodyTaskInfoTaskProgressStats struct { - // The actual amount of data for which the dataflow task is complete. Unit: bytes. - // - // example: - // - // 131092971520 - ActualBytes *int64 `json:"ActualBytes,omitempty" xml:"ActualBytes,omitempty"` - // The actual number of files for which the dataflow task is complete. - // - // example: - // - // 3 - ActualFiles *int64 `json:"ActualFiles,omitempty" xml:"ActualFiles,omitempty"` - // The average flow velocity. Unit: bytes/s. - // - // example: - // - // 342279299 + ActualBytes *int64 `json:"ActualBytes,omitempty" xml:"ActualBytes,omitempty"` + ActualFiles *int64 `json:"ActualFiles,omitempty" xml:"ActualFiles,omitempty"` AverageSpeed *int64 `json:"AverageSpeed,omitempty" xml:"AverageSpeed,omitempty"` - // The amount of data (including skipped data) for which the dataflow task is complete. Unit: bytes. - // - // example: - // - // 131092971520 - BytesDone *int64 `json:"BytesDone,omitempty" xml:"BytesDone,omitempty"` - // The amount of data scanned on the source. Unit: bytes. - // - // example: - // - // 131092971520 - BytesTotal *int64 `json:"BytesTotal,omitempty" xml:"BytesTotal,omitempty"` - // The number of files (including skipped files) for which the dataflow task is complete. - // - // example: - // - // 3 - FilesDone *int64 `json:"FilesDone,omitempty" xml:"FilesDone,omitempty"` - // The number of files scanned on the source. - // - // example: - // - // 3 - FilesTotal *int64 `json:"FilesTotal,omitempty" xml:"FilesTotal,omitempty"` - // The estimated remaining execution time. Unit: seconds. - // - // example: - // - // 437 - RemainTime *int64 `json:"RemainTime,omitempty" xml:"RemainTime,omitempty"` + BytesDone *int64 `json:"BytesDone,omitempty" xml:"BytesDone,omitempty"` + BytesTotal *int64 `json:"BytesTotal,omitempty" xml:"BytesTotal,omitempty"` + FilesDone *int64 `json:"FilesDone,omitempty" xml:"FilesDone,omitempty"` + FilesTotal *int64 `json:"FilesTotal,omitempty" xml:"FilesTotal,omitempty"` + RemainTime *int64 `json:"RemainTime,omitempty" xml:"RemainTime,omitempty"` } func (s DescribeDataFlowTasksResponseBodyTaskInfoTaskProgressStats) String() string { @@ -738,25 +500,7 @@ func (s *DescribeDataFlowTasksResponseBodyTaskInfoTaskReports) Validate() error } type DescribeDataFlowTasksResponseBodyTaskInfoTaskReportsReport struct { - // The name of the report. - // - // - CPFS: - // - // TotalFilesReport: task reports. - // - // - CPFS for Lingjun: - // - // - FailedFilesReport: failed file reports. - // - // - SkippedFilesReport: skipped file reports. - // - // - SuccessFilesReport: successful file reports. - // - // example: - // - // TotalFilesReport Name *string `json:"Name,omitempty" xml:"Name,omitempty"` - // The report URL. Path *string `json:"Path,omitempty" xml:"Path,omitempty"` } diff --git a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_data_flows_response_body_model.go b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_data_flows_response_body_model.go index 9aee982676..673918baf5 100644 --- a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_data_flows_response_body_model.go +++ b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_data_flows_response_body_model.go @@ -18,7 +18,6 @@ type iDescribeDataFlowsResponseBody interface { } type DescribeDataFlowsResponseBody struct { - // The dataflow details. DataFlowInfo *DescribeDataFlowsResponseBodyDataFlowInfo `json:"DataFlowInfo,omitempty" xml:"DataFlowInfo,omitempty" type:"Struct"` // A pagination token. It can be used in the next request to retrieve a new page of results. // @@ -113,208 +112,24 @@ func (s *DescribeDataFlowsResponseBodyDataFlowInfo) Validate() error { } type DescribeDataFlowsResponseBodyDataFlowInfoDataFlow struct { - // The details about automatic update policies. - // - // > Only CPFS supports this parameter. - AutoRefresh *DescribeDataFlowsResponseBodyDataFlowInfoDataFlowAutoRefresh `json:"AutoRefresh,omitempty" xml:"AutoRefresh,omitempty" type:"Struct"` - // The automatic update interval. CPFS checks whether data is updated in the directory at the interval specified by this parameter. If data is updated, CPFS starts an automatic update task. Unit: minutes. - // - // Valid values: 5 to 526600. Default value: 10. - // - // > Only CPFS supports this parameter. - // - // example: - // - // 10 - AutoRefreshInterval *int64 `json:"AutoRefreshInterval,omitempty" xml:"AutoRefreshInterval,omitempty"` - // The automatic update policy. The updated data in the source storage is imported into the CPFS file system based on the policy. The following information is displayed: - // - // - None: Updated data in the source storage is not automatically imported into the CPFS file system. You can run a dataflow task to import the updated data from the source storage. - // - // - ImportChanged: Updated data in the source storage is automatically imported into the CPFS file system. - // - // > Only CPFS is supported. - // - // example: - // - // None - AutoRefreshPolicy *string `json:"AutoRefreshPolicy,omitempty" xml:"AutoRefreshPolicy,omitempty"` - // The time when the fileset was created. - // - // The time follows the ISO 8601 standard in the `yyyy-MM-ddTHH:mm:ssZ` format. - // - // > Only CPFS supports this parameter. - // - // example: - // - // 2021-09-30T10:08:08Z - CreateTime *string `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"` - // The ID of the dataflow. - // - // example: - // - // df-194433a5be31**** - DataFlowId *string `json:"DataFlowId,omitempty" xml:"DataFlowId,omitempty"` - // The description of the dataflow. - // - // Limits: - // - // - The name must be 2 to 128 characters in length and - // - // - start with a letter but cannot start with `http://` or `https://`. - // - // - The name can contain digits, letters, colons (:), underscores (_), and hyphens (-). - // - // example: - // - // test - Description *string `json:"Description,omitempty" xml:"Description,omitempty"` - // The error message. Valid values: - // - // - None (default): The dataflow status is normal. - // - // - SourceStorageUnreachable: The access path of the source storage is not found. - // - // - ThroughputTooLow: The dataflow throughput is low. - // - // example: - // - // SourceStorageUnreachable - ErrorMessage *string `json:"ErrorMessage,omitempty" xml:"ErrorMessage,omitempty"` - // The ID of the file system. - // - // example: - // - // cpfs-099394bd928c**** - FileSystemId *string `json:"FileSystemId,omitempty" xml:"FileSystemId,omitempty"` - // The directory of the fileset in the CPFS file system. - // - // Limits: - // - // - The directory must be 2 to 1024 characters in length. - // - // - The directory must be encoded in UTF-8. - // - // - The directory must start and end with a forward slash (/). - // - // - The directory must be a fileset directory in the CPFS file system. - // - // > Only CPFS is supported. - // - // example: - // - // /a/b/c/ - FileSystemPath *string `json:"FileSystemPath,omitempty" xml:"FileSystemPath,omitempty"` - // The description of the automatic update. - // - // > Only CPFS supports this parameter. - // - // example: - // - // FsetTest - FsetDescription *string `json:"FsetDescription,omitempty" xml:"FsetDescription,omitempty"` - // The fileset ID. - // - // > Only CPFS supports this parameter. - // - // example: - // - // fset-1902718ea0ae**** - FsetId *string `json:"FsetId,omitempty" xml:"FsetId,omitempty"` - // The type of security mechanism for the source storage. This parameter must be specified if the source storage is accessed with a security mechanism. Valid value: - // - // - Null (default): The OSS bucket can be accessed without a security mechanism. - // - // - SSL: The source storage must be accessed with an SSL certificate. - // - // example: - // - // SSL - SourceSecurityType *string `json:"SourceSecurityType,omitempty" xml:"SourceSecurityType,omitempty"` - // The access path of the source storage. Format: `://[:]`. - // - // Among them: - // - // - storage type: Only OSS is supported. - // - // - account id: The UID of the account of the source storage. - // - // - path: The name of the OSS bucket. - // - // - The name can contain only lowercase letters, digits, and hyphens (-). The name must start and end with a lowercase letter or digit. - // - // - The name must be 8 to 128 characters in length. - // - // - Must be encoded in UTF-8. - // - // - The name cannot start with http:// or https://. - // - // > - // - // - The OSS bucket must be an existing bucket in the region. - // - // - Only CPFS for Lingjun V2.6.0 and later support the account id parameter. - // - // example: - // - // oss://bucket1 - SourceStorage *string `json:"SourceStorage,omitempty" xml:"SourceStorage,omitempty"` - // The access path in the bucket of the source storage. - // - // > Only CPFS for Lingjun supports this parameter. - // - // example: - // - // /prefix/ + AutoRefresh *DescribeDataFlowsResponseBodyDataFlowInfoDataFlowAutoRefresh `json:"AutoRefresh,omitempty" xml:"AutoRefresh,omitempty" type:"Struct"` + AutoRefreshInterval *int64 `json:"AutoRefreshInterval,omitempty" xml:"AutoRefreshInterval,omitempty"` + AutoRefreshPolicy *string `json:"AutoRefreshPolicy,omitempty" xml:"AutoRefreshPolicy,omitempty"` + CreateTime *string `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"` + DataFlowId *string `json:"DataFlowId,omitempty" xml:"DataFlowId,omitempty"` + Description *string `json:"Description,omitempty" xml:"Description,omitempty"` + ErrorMessage *string `json:"ErrorMessage,omitempty" xml:"ErrorMessage,omitempty"` + FileSystemId *string `json:"FileSystemId,omitempty" xml:"FileSystemId,omitempty"` + FileSystemPath *string `json:"FileSystemPath,omitempty" xml:"FileSystemPath,omitempty"` + FsetDescription *string `json:"FsetDescription,omitempty" xml:"FsetDescription,omitempty"` + FsetId *string `json:"FsetId,omitempty" xml:"FsetId,omitempty"` + SourceSecurityType *string `json:"SourceSecurityType,omitempty" xml:"SourceSecurityType,omitempty"` + SourceStorage *string `json:"SourceStorage,omitempty" xml:"SourceStorage,omitempty"` + // 源端存储内的访问路径。 SourceStoragePath *string `json:"SourceStoragePath,omitempty" xml:"SourceStoragePath,omitempty"` - // The dataflow status. The following information is displayed: - // - // - Starting: The dataflow is being created or enabled. - // - // - Running: The dataflow has been created and is running properly. - // - // - Updating: The dataflow is being modified. For example, the dataflow throughput is increased and the automatic update interval is modified. - // - // - Deleting: The dataflow is being deleted. - // - // - Stopping: The dataflow is being disabled. - // - // - Stopped: The dataflow has been disabled. - // - // - Misconfigured: The dataflow configuration is abnormal. For example, the source storage is inaccessible, and the automatic update cannot be completed due to low dataflow throughput. - // - // example: - // - // Running - Status *string `json:"Status,omitempty" xml:"Status,omitempty"` - // The maximum dataflow throughput. Unit: MB/s. Valid value: - // - // - 600 - // - // - 1200 - // - // - 1500 - // - // > - // - // - The dataflow throughput must be less than the I/O throughput of the file system. - // - // - Only CPFS supports this parameter. - // - // example: - // - // 600 - Throughput *int64 `json:"Throughput,omitempty" xml:"Throughput,omitempty"` - // The time when the fileset was last updated. - // - // The time follows the ISO 8601 standard in the `yyyy-MM-ddTHH:mm:ssZ` format. - // - // > Only CPFS supports this parameter. - // - // example: - // - // 2021-09-30T10:08:08Z - UpdateTime *string `json:"UpdateTime,omitempty" xml:"UpdateTime,omitempty"` + Status *string `json:"Status,omitempty" xml:"Status,omitempty"` + Throughput *int64 `json:"Throughput,omitempty" xml:"Throughput,omitempty"` + UpdateTime *string `json:"UpdateTime,omitempty" xml:"UpdateTime,omitempty"` } func (s DescribeDataFlowsResponseBodyDataFlowInfoDataFlow) String() string { @@ -522,21 +337,6 @@ func (s *DescribeDataFlowsResponseBodyDataFlowInfoDataFlowAutoRefresh) Validate( } type DescribeDataFlowsResponseBodyDataFlowInfoDataFlowAutoRefreshAutoRefresh struct { - // The automatic update directory. CPFS automatically checks whether the source data only in the directory is updated and imports the updated data. - // - // Limits: - // - // - The directory must be 2 to 1,024 characters in length. - // - // - The directory must be encoded in UTF-8. - // - // - The directory must start and end with a forward slash (/). - // - // > The directory must be an existing directory in the CPFS file system and must be in a fileset where the dataflow is enabled. - // - // example: - // - // /prefix1/prefix2/ RefreshPath *string `json:"RefreshPath,omitempty" xml:"RefreshPath,omitempty"` } diff --git a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_file_system_statistics_response_body_model.go b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_file_system_statistics_response_body_model.go index 8245c45efb..c4f97a71cf 100644 --- a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_file_system_statistics_response_body_model.go +++ b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_file_system_statistics_response_body_model.go @@ -24,10 +24,8 @@ type iDescribeFileSystemStatisticsResponseBody interface { } type DescribeFileSystemStatisticsResponseBody struct { - // The statistics of file systems. FileSystemStatistics *DescribeFileSystemStatisticsResponseBodyFileSystemStatistics `json:"FileSystemStatistics,omitempty" xml:"FileSystemStatistics,omitempty" type:"Struct"` - // The queried file systems. - FileSystems *DescribeFileSystemStatisticsResponseBodyFileSystems `json:"FileSystems,omitempty" xml:"FileSystems,omitempty" type:"Struct"` + FileSystems *DescribeFileSystemStatisticsResponseBodyFileSystems `json:"FileSystems,omitempty" xml:"FileSystems,omitempty" type:"Struct"` // The page number. // // example: @@ -165,42 +163,11 @@ func (s *DescribeFileSystemStatisticsResponseBodyFileSystemStatistics) Validate( } type DescribeFileSystemStatisticsResponseBodyFileSystemStatisticsFileSystemStatistic struct { - // The number of expired file systems. - // - // example: - // - // 1 - ExpiredCount *int32 `json:"ExpiredCount,omitempty" xml:"ExpiredCount,omitempty"` - // The number of expiring file systems. - // - // File systems whose expiration time is less than or equal to seven days away from the current time are counted. - // - // example: - // - // 1 - ExpiringCount *int32 `json:"ExpiringCount,omitempty" xml:"ExpiringCount,omitempty"` - // The type of the file system. - // - // example: - // - // standard + ExpiredCount *int32 `json:"ExpiredCount,omitempty" xml:"ExpiredCount,omitempty"` + ExpiringCount *int32 `json:"ExpiringCount,omitempty" xml:"ExpiringCount,omitempty"` FileSystemType *string `json:"FileSystemType,omitempty" xml:"FileSystemType,omitempty"` - // The storage usage of the file system. - // - // The value of this parameter is the maximum storage usage of the file system over the last hour. - // - // Unit: bytes. - // - // example: - // - // 1611 - MeteredSize *int64 `json:"MeteredSize,omitempty" xml:"MeteredSize,omitempty"` - // The number of file systems of the current type. - // - // example: - // - // 10 - TotalCount *int32 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"` + MeteredSize *int64 `json:"MeteredSize,omitempty" xml:"MeteredSize,omitempty"` + TotalCount *int32 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"` } func (s DescribeFileSystemStatisticsResponseBodyFileSystemStatisticsFileSystemStatistic) String() string { @@ -295,144 +262,21 @@ func (s *DescribeFileSystemStatisticsResponseBodyFileSystems) Validate() error { } type DescribeFileSystemStatisticsResponseBodyFileSystemsFileSystem struct { - // The capacity of the file system. - // - // Unit: GiB. - // - // example: - // - // 1 - Capacity *int64 `json:"Capacity,omitempty" xml:"Capacity,omitempty"` - // The billing method. - // - // Valid values: - // - // - Subscription: The subscription billing method is used. - // - // - PayAsYouGo: The pay-as-you-go billing method is used. - // - // - Package: A storage plan is attached to the file system. - // - // example: - // - // PayAsYouGo - ChargeType *string `json:"ChargeType,omitempty" xml:"ChargeType,omitempty"` - // The time when the NAS file system was created. - // - // example: - // - // 2017-05-27T15:43:06CST - CreateTime *string `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"` - // The description of the file system. - // - // example: - // - // 31a8e48eda - Description *string `json:"Description,omitempty" xml:"Description,omitempty"` - // The time when the file system expires. - // - // example: - // - // 2017-08-27T15:43:06CST - ExpiredTime *string `json:"ExpiredTime,omitempty" xml:"ExpiredTime,omitempty"` - // The ID of the file system. - // - // example: - // - // 109c04**** - FileSystemId *string `json:"FileSystemId,omitempty" xml:"FileSystemId,omitempty"` - // The type of the file system. - // - // Valid values: - // - // - standard: General-purpose NAS file system - // - // - extreme: Extreme NAS file system - // - // - cpfs: CPFS file system - // - // example: - // - // standard - FileSystemType *string `json:"FileSystemType,omitempty" xml:"FileSystemType,omitempty"` - // The storage usage of the Infrequent Access (IA) storage medium. - // - // Unit: bytes. - // - // example: - // - // 362832 - MeteredIASize *int64 `json:"MeteredIASize,omitempty" xml:"MeteredIASize,omitempty"` - // The storage usage of the file system. - // - // The value of this parameter is the maximum storage usage of the file system over the last hour. Unit: bytes. - // - // example: - // - // 1611661312 - MeteredSize *int64 `json:"MeteredSize,omitempty" xml:"MeteredSize,omitempty"` - // The information about storage plans. - Packages *DescribeFileSystemStatisticsResponseBodyFileSystemsFileSystemPackages `json:"Packages,omitempty" xml:"Packages,omitempty" type:"Struct"` - // The protocol type of the file system. - // - // Valid values: - // - // - NFS: Network File System (NFS) - // - // - SMB: Server Message Block (SMB) - // - // - cpfs: the protocol type supported by the CPFS file system - // - // example: - // - // NFS - ProtocolType *string `json:"ProtocolType,omitempty" xml:"ProtocolType,omitempty"` - // The region ID. - // - // example: - // - // cn-hangzhou - RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"` - // The status of the file system. - // - // This parameter is returned for Extreme NAS file systems and Cloud Parallel File Storage (CPFS) file systems. Valid values: - // - // - Pending: The file system is being created or modified. - // - // - Running: The file system is available. Before you create a mount target for the file system, make sure that the file system is in the Running state. - // - // - Stopped: The file system is unavailable. - // - // - Extending: The file system is being scaled out. - // - // - Stopping: The file system is being disabled. - // - // - Deleting: The file system is being deleted. - // - // example: - // - // Pending - Status *string `json:"Status,omitempty" xml:"Status,omitempty"` - // The storage type. - // - // Valid values: - // - // - Valid values for General-purpose NAS file systems: Capacity and Performance. - // - // - Valid values for Extreme NAS file systems: standard and advance. - // - // - Valid values for CPFS file systems: advance_100 (100 MB/s/TiB baseline) and advance_200 (200 MB/s/TiB baseline). - // - // example: - // - // Performance - StorageType *string `json:"StorageType,omitempty" xml:"StorageType,omitempty"` - // The zone ID. - // - // example: - // - // cn-hangzhou-b - ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"` + Capacity *int64 `json:"Capacity,omitempty" xml:"Capacity,omitempty"` + ChargeType *string `json:"ChargeType,omitempty" xml:"ChargeType,omitempty"` + CreateTime *string `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"` + Description *string `json:"Description,omitempty" xml:"Description,omitempty"` + ExpiredTime *string `json:"ExpiredTime,omitempty" xml:"ExpiredTime,omitempty"` + FileSystemId *string `json:"FileSystemId,omitempty" xml:"FileSystemId,omitempty"` + FileSystemType *string `json:"FileSystemType,omitempty" xml:"FileSystemType,omitempty"` + MeteredIASize *int64 `json:"MeteredIASize,omitempty" xml:"MeteredIASize,omitempty"` + MeteredSize *int64 `json:"MeteredSize,omitempty" xml:"MeteredSize,omitempty"` + Packages *DescribeFileSystemStatisticsResponseBodyFileSystemsFileSystemPackages `json:"Packages,omitempty" xml:"Packages,omitempty" type:"Struct"` + ProtocolType *string `json:"ProtocolType,omitempty" xml:"ProtocolType,omitempty"` + RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"` + Status *string `json:"Status,omitempty" xml:"Status,omitempty"` + StorageType *string `json:"StorageType,omitempty" xml:"StorageType,omitempty"` + ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"` } func (s DescribeFileSystemStatisticsResponseBodyFileSystemsFileSystem) String() string { @@ -622,30 +466,10 @@ func (s *DescribeFileSystemStatisticsResponseBodyFileSystemsFileSystemPackages) } type DescribeFileSystemStatisticsResponseBodyFileSystemsFileSystemPackagesPackage struct { - // The end time of the validity period for the storage plan. - // - // example: - // - // 2020-01-05T16:00:00Z ExpiredTime *string `json:"ExpiredTime,omitempty" xml:"ExpiredTime,omitempty"` - // The ID of the storage plan. - // - // example: - // - // naspackage-0be9c4b624-37**** - PackageId *string `json:"PackageId,omitempty" xml:"PackageId,omitempty"` - // The capacity of the storage plan. - // - // example: - // - // 107374182400 - Size *int64 `json:"Size,omitempty" xml:"Size,omitempty"` - // The start time of the validity period for the storage plan. - // - // example: - // - // 2019-12-05T01:40:56Z - StartTime *string `json:"StartTime,omitempty" xml:"StartTime,omitempty"` + PackageId *string `json:"PackageId,omitempty" xml:"PackageId,omitempty"` + Size *int64 `json:"Size,omitempty" xml:"Size,omitempty"` + StartTime *string `json:"StartTime,omitempty" xml:"StartTime,omitempty"` } func (s DescribeFileSystemStatisticsResponseBodyFileSystemsFileSystemPackagesPackage) String() string { diff --git a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_file_systems_request_model.go b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_file_systems_request_model.go index 4ec6af8f26..77e739d9f9 100644 --- a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_file_systems_request_model.go +++ b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_file_systems_request_model.go @@ -34,6 +34,8 @@ type DescribeFileSystemsRequest struct { // // - The IDs of CPFS file systems must start with cpfs-. Example: cpfs-125487\\*\\*\\*\\*. // + // - The IDs of CPFS SE file systems must start with cpfsse-. Example: cpfsse-022c71b134\\*\\*\\*\\*. + // // example: // // 31a8e4**** @@ -44,11 +46,13 @@ type DescribeFileSystemsRequest struct { // // - all (default): All types. // - // - standard: General-purpose NAS file system. + // - standard: General-purpose NAS + // + // - extreme: Extreme NAS // - // - extreme: Extreme NAS file system. + // - cpfs: CPFS (locally redundant storage) // - // - cpfs: CPFS file system. + // - cpfsse: CPFS SE (zone-redundant storage) // // > Separate multiple data types with commas (,). // diff --git a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_file_systems_response_body_model.go b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_file_systems_response_body_model.go index 506b51bc5d..4e5ebd4943 100644 --- a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_file_systems_response_body_model.go +++ b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_file_systems_response_body_model.go @@ -22,7 +22,6 @@ type iDescribeFileSystemsResponseBody interface { } type DescribeFileSystemsResponseBody struct { - // The file system list. FileSystems *DescribeFileSystemsResponseBodyFileSystems `json:"FileSystems,omitempty" xml:"FileSystems,omitempty" type:"Struct"` // The page number. // @@ -147,241 +146,43 @@ func (s *DescribeFileSystemsResponseBodyFileSystems) Validate() error { } type DescribeFileSystemsResponseBodyFileSystemsFileSystem struct { - // Number of access points. - // - // example: - // - // 1 - AccessPointCount *string `json:"AccessPointCount,omitempty" xml:"AccessPointCount,omitempty"` - // The ID of the automatic snapshot policy. - // - // example: - // - // sp-extreme-233e6**** - AutoSnapshotPolicyId *string `json:"AutoSnapshotPolicyId,omitempty" xml:"AutoSnapshotPolicyId,omitempty"` - // The bandwidth of the file system. - // - // Unit: MB/s. This parameter is unavailable for General-purpose NAS file systems. - // - // example: - // - // 150 - Bandwidth *int64 `json:"Bandwidth,omitempty" xml:"Bandwidth,omitempty"` - // The capacity of the file system. - // - // Unit: GiB. - // - // example: - // - // 100 - Capacity *int64 `json:"Capacity,omitempty" xml:"Capacity,omitempty"` - // The billing method. - // - // Valid values: - // - // - Subscription - // - // - PayAsYouGo - // - // - Package: storage plan - // - // example: - // - // PayAsYouGo - ChargeType *string `json:"ChargeType,omitempty" xml:"ChargeType,omitempty"` - // The time when the file system was created. - // - // example: - // - // 2020-01-05T16:00:00Z - CreateTime *string `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"` - // The description of the file system. - // - // example: - // - // test - Description *string `json:"Description,omitempty" xml:"Description,omitempty"` - // Indicates whether the data in the file system is encrypted. - // - // Valid values: - // - // - 0: The data in the file system is not encrypted. - // - // - 1: A NAS-managed key is used to encrypt the data in the file system. - // - // - 2: A KMS-managed key is used to encrypt the data in the file system. - // - // example: - // - // 1 - EncryptType *int32 `json:"EncryptType,omitempty" xml:"EncryptType,omitempty"` - // The time when the file system expires. - // - // example: - // - // 2020-01-05T16:00:00Z - ExpiredTime *string `json:"ExpiredTime,omitempty" xml:"ExpiredTime,omitempty"` - // The ID of the file system. - // - // example: - // - // 109c04**** - FileSystemId *string `json:"FileSystemId,omitempty" xml:"FileSystemId,omitempty"` - // The file system type. - // - // The following information is displayed: - // - // - standard: General-purpose NAS file system. - // - // - extreme: Extreme NAS file system. - // - // - cpfs: CPFS file system. - // - // example: - // - // standard - FileSystemType *string `json:"FileSystemType,omitempty" xml:"FileSystemType,omitempty"` - // The ID of the key that is managed by Key Management Service (KMS). - // - // example: - // - // 0e478b7a-4262-4802-b8cb-00d3fb40**** - KMSKeyId *string `json:"KMSKeyId,omitempty" xml:"KMSKeyId,omitempty"` - // The Lightweight Directory Access Protocol (LDAP) configurations. - // - // This parameter is available only for CPFS file systems. - Ldap *DescribeFileSystemsResponseBodyFileSystemsFileSystemLdap `json:"Ldap,omitempty" xml:"Ldap,omitempty" type:"Struct"` - // Archive storage usage. - // - // Unit: Byte. - // - // example: - // - // 1611661312 - MeteredArchiveSize *int64 `json:"MeteredArchiveSize,omitempty" xml:"MeteredArchiveSize,omitempty"` - // The storage usage of the Infrequent Access (IA) storage medium. - // - // Unit: bytes. - // - // example: - // - // 362832 - MeteredIASize *int64 `json:"MeteredIASize,omitempty" xml:"MeteredIASize,omitempty"` - // The storage usage of the file system. - // - // The value of this parameter is the maximum storage usage of the file system over the last hour. Unit: bytes. - // - // example: - // - // 1611661312 - MeteredSize *int64 `json:"MeteredSize,omitempty" xml:"MeteredSize,omitempty"` - // The queried mount targets. - MountTargets *DescribeFileSystemsResponseBodyFileSystemsFileSystemMountTargets `json:"MountTargets,omitempty" xml:"MountTargets,omitempty" type:"Struct"` - // The options. - Options *DescribeFileSystemsResponseBodyFileSystemsFileSystemOptions `json:"Options,omitempty" xml:"Options,omitempty" type:"Struct"` - // The information about storage plans. - Packages *DescribeFileSystemsResponseBodyFileSystemsFileSystemPackages `json:"Packages,omitempty" xml:"Packages,omitempty" type:"Struct"` - // The protocol type of the file system. - // - // The following information is displayed: - // - // - NFS: Network File System. - // - // - SMB: Server Message Block. - // - // - cpfs: The protocol type supported by the CPFS file system. - // - // example: - // - // NFS - ProtocolType *string `json:"ProtocolType,omitempty" xml:"ProtocolType,omitempty"` - // The vSwitch ID. - // - // example: - // - // vsw-2ze37k6jh8ums2fw2**** - QuorumVswId *string `json:"QuorumVswId,omitempty" xml:"QuorumVswId,omitempty"` + AccessPointCount *string `json:"AccessPointCount,omitempty" xml:"AccessPointCount,omitempty"` + AutoSnapshotPolicyId *string `json:"AutoSnapshotPolicyId,omitempty" xml:"AutoSnapshotPolicyId,omitempty"` + Bandwidth *int64 `json:"Bandwidth,omitempty" xml:"Bandwidth,omitempty"` + Capacity *int64 `json:"Capacity,omitempty" xml:"Capacity,omitempty"` + ChargeType *string `json:"ChargeType,omitempty" xml:"ChargeType,omitempty"` + CreateTime *string `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"` + Description *string `json:"Description,omitempty" xml:"Description,omitempty"` + EncryptType *int32 `json:"EncryptType,omitempty" xml:"EncryptType,omitempty"` + ExpiredTime *string `json:"ExpiredTime,omitempty" xml:"ExpiredTime,omitempty"` + FileSystemId *string `json:"FileSystemId,omitempty" xml:"FileSystemId,omitempty"` + FileSystemType *string `json:"FileSystemType,omitempty" xml:"FileSystemType,omitempty"` + KMSKeyId *string `json:"KMSKeyId,omitempty" xml:"KMSKeyId,omitempty"` + Ldap *DescribeFileSystemsResponseBodyFileSystemsFileSystemLdap `json:"Ldap,omitempty" xml:"Ldap,omitempty" type:"Struct"` + MeteredArchiveSize *int64 `json:"MeteredArchiveSize,omitempty" xml:"MeteredArchiveSize,omitempty"` + MeteredIASize *int64 `json:"MeteredIASize,omitempty" xml:"MeteredIASize,omitempty"` + MeteredSize *int64 `json:"MeteredSize,omitempty" xml:"MeteredSize,omitempty"` + MountTargets *DescribeFileSystemsResponseBodyFileSystemsFileSystemMountTargets `json:"MountTargets,omitempty" xml:"MountTargets,omitempty" type:"Struct"` + Options *DescribeFileSystemsResponseBodyFileSystemsFileSystemOptions `json:"Options,omitempty" xml:"Options,omitempty" type:"Struct"` + Packages *DescribeFileSystemsResponseBodyFileSystemsFileSystemPackages `json:"Packages,omitempty" xml:"Packages,omitempty" type:"Struct"` + ProtocolType *string `json:"ProtocolType,omitempty" xml:"ProtocolType,omitempty"` + QuorumVswId *string `json:"QuorumVswId,omitempty" xml:"QuorumVswId,omitempty"` // example: // // LRS RedundancyType *string `json:"RedundancyType,omitempty" xml:"RedundancyType,omitempty"` RedundancyVSwitchIds *DescribeFileSystemsResponseBodyFileSystemsFileSystemRedundancyVSwitchIds `json:"RedundancyVSwitchIds,omitempty" xml:"RedundancyVSwitchIds,omitempty" type:"Struct"` - // The region ID. - // - // example: - // - // cn-hangzhou - RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"` - // The resource group ID. - // - // example: - // - // rg-acfmwavnfdf**** - ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"` - // The status of the file system. Valid values: - // - // - Pending: The file system is being created or modified. - // - // - Running: The file system is available. Before you create a mount target for the file system, make sure that the file system is in the Running state. - // - // - Stopped: The file system is unavailable. - // - // - Extending: The file system is being scaled up. - // - // - Stopping: The file system is being stopped. - // - // - Deleting: The file system is being deleted. - // - // example: - // - // Pending - Status *string `json:"Status,omitempty" xml:"Status,omitempty"` - // The type of the storage. - // - // The following information is displayed: - // - // - Valid values for General-purpose NAS file systems: Capacity, Performance, and Premium - // - // - Valid values for Extreme NAS file systems: standard and advance - // - // - Valid values for Cloud Parallel File Storage (CPFS) file systems: advance_100 (100 MB/s/TiB baseline) and advance_200 (200 MB/s/TiB baseline) - // - // example: - // - // Performance - StorageType *string `json:"StorageType,omitempty" xml:"StorageType,omitempty"` - // The features that are supported by the file system. - SupportedFeatures *DescribeFileSystemsResponseBodyFileSystemsFileSystemSupportedFeatures `json:"SupportedFeatures,omitempty" xml:"SupportedFeatures,omitempty" type:"Struct"` - // The tags that are attached to the file system. - Tags *DescribeFileSystemsResponseBodyFileSystemsFileSystemTags `json:"Tags,omitempty" xml:"Tags,omitempty" type:"Struct"` - // The version number of the file system. - // - // This parameter is available only for Extreme NAS file systems and CPFS file systems. - // - // example: - // - // 2.3.4 - Version *string `json:"Version,omitempty" xml:"Version,omitempty"` - // The ID of the virtual private cloud (VPC). - // - // example: - // - // vpc-bp1cbv1ljve4j5hlw**** - VpcId *string `json:"VpcId,omitempty" xml:"VpcId,omitempty"` - // > This parameter is not publicly available. - // - // example: - // - // cpfs-370y1tv921vpuj4****-000001.cn-wulanchabu.cpfs.aliyuncs.com - VscTarget *string `json:"VscTarget,omitempty" xml:"VscTarget,omitempty"` - // The information about vSwitch. - VswIds *DescribeFileSystemsResponseBodyFileSystemsFileSystemVswIds `json:"VswIds,omitempty" xml:"VswIds,omitempty" type:"Struct"` - // The ID of the zone where the file system resides. - // - // example: - // - // cn-hangzhou-b - ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"` + RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"` + ResourceGroupId *string `json:"ResourceGroupId,omitempty" xml:"ResourceGroupId,omitempty"` + Status *string `json:"Status,omitempty" xml:"Status,omitempty"` + StorageType *string `json:"StorageType,omitempty" xml:"StorageType,omitempty"` + SupportedFeatures *DescribeFileSystemsResponseBodyFileSystemsFileSystemSupportedFeatures `json:"SupportedFeatures,omitempty" xml:"SupportedFeatures,omitempty" type:"Struct"` + Tags *DescribeFileSystemsResponseBodyFileSystemsFileSystemTags `json:"Tags,omitempty" xml:"Tags,omitempty" type:"Struct"` + Version *string `json:"Version,omitempty" xml:"Version,omitempty"` + VpcId *string `json:"VpcId,omitempty" xml:"VpcId,omitempty"` + VscTarget *string `json:"VscTarget,omitempty" xml:"VscTarget,omitempty"` + VswIds *DescribeFileSystemsResponseBodyFileSystemsFileSystemVswIds `json:"VswIds,omitempty" xml:"VswIds,omitempty" type:"Struct"` + ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"` } func (s DescribeFileSystemsResponseBodyFileSystemsFileSystem) String() string { @@ -743,24 +544,9 @@ func (s *DescribeFileSystemsResponseBodyFileSystemsFileSystem) Validate() error } type DescribeFileSystemsResponseBodyFileSystemsFileSystemLdap struct { - // An LDAP entry. - // - // example: - // - // cn=alibaba,dc=com - BindDN *string `json:"BindDN,omitempty" xml:"BindDN,omitempty"` - // An LDAP search base. - // - // example: - // - // dc=example + BindDN *string `json:"BindDN,omitempty" xml:"BindDN,omitempty"` SearchBase *string `json:"SearchBase,omitempty" xml:"SearchBase,omitempty"` - // An LDAP URI. - // - // example: - // - // ldap://ldap.example.example - URI *string `json:"URI,omitempty" xml:"URI,omitempty"` + URI *string `json:"URI,omitempty" xml:"URI,omitempty"` } func (s DescribeFileSystemsResponseBodyFileSystemsFileSystemLdap) String() string { @@ -837,70 +623,15 @@ func (s *DescribeFileSystemsResponseBodyFileSystemsFileSystemMountTargets) Valid } type DescribeFileSystemsResponseBodyFileSystemsFileSystemMountTargetsMountTarget struct { - // The name of the permission group that is attached to the mount target. - // - // example: - // - // test-001 - AccessGroupName *string `json:"AccessGroupName,omitempty" xml:"AccessGroupName,omitempty"` - // The information about client management nodes. - // - // This parameter is available only for CPFS file systems. - ClientMasterNodes *DescribeFileSystemsResponseBodyFileSystemsFileSystemMountTargetsMountTargetClientMasterNodes `json:"ClientMasterNodes,omitempty" xml:"ClientMasterNodes,omitempty" type:"Struct"` - // The dual-stack (IPv4 and IPv6) domain name of the mount target. - // - // > Only Extreme NAS file systems that reside in the Chinese mainland support IPv6. - // - // example: - // - // 174494b666-x****.dualstack.cn-hangzhou.nas.aliyuncs.com - DualStackMountTargetDomain *string `json:"DualStackMountTargetDomain,omitempty" xml:"DualStackMountTargetDomain,omitempty"` - // The domain name of the mount target. - // - // example: - // - // 109c042666-w****.cn-hangzhou.nas.aliyuncs.com - MountTargetDomain *string `json:"MountTargetDomain,omitempty" xml:"MountTargetDomain,omitempty"` - // The network type. Valid value: vpc. - // - // example: - // - // vpc - NetworkType *string `json:"NetworkType,omitempty" xml:"NetworkType,omitempty"` - // The status of the mount target. - // - // Valid values: - // - // - Active - // - // - Inactive - // - // - Pending - // - // - Deleting - // - // - Hibernating - // - // - Hibernated - // - // example: - // - // Active - Status *string `json:"Status,omitempty" xml:"Status,omitempty"` - // The tags that are attached to the mount target. - Tags *DescribeFileSystemsResponseBodyFileSystemsFileSystemMountTargetsMountTargetTags `json:"Tags,omitempty" xml:"Tags,omitempty" type:"Struct"` - // The ID of the VPC. - // - // example: - // - // vpc-bp1sevsgtqvk5gxbl**** - VpcId *string `json:"VpcId,omitempty" xml:"VpcId,omitempty"` - // The ID of the vSwitch. - // - // example: - // - // vsw-bp1omfzsszekkvaxn**** - VswId *string `json:"VswId,omitempty" xml:"VswId,omitempty"` + AccessGroupName *string `json:"AccessGroupName,omitempty" xml:"AccessGroupName,omitempty"` + ClientMasterNodes *DescribeFileSystemsResponseBodyFileSystemsFileSystemMountTargetsMountTargetClientMasterNodes `json:"ClientMasterNodes,omitempty" xml:"ClientMasterNodes,omitempty" type:"Struct"` + DualStackMountTargetDomain *string `json:"DualStackMountTargetDomain,omitempty" xml:"DualStackMountTargetDomain,omitempty"` + MountTargetDomain *string `json:"MountTargetDomain,omitempty" xml:"MountTargetDomain,omitempty"` + NetworkType *string `json:"NetworkType,omitempty" xml:"NetworkType,omitempty"` + Status *string `json:"Status,omitempty" xml:"Status,omitempty"` + Tags *DescribeFileSystemsResponseBodyFileSystemsFileSystemMountTargetsMountTargetTags `json:"Tags,omitempty" xml:"Tags,omitempty" type:"Struct"` + VpcId *string `json:"VpcId,omitempty" xml:"VpcId,omitempty"` + VswId *string `json:"VswId,omitempty" xml:"VswId,omitempty"` } func (s DescribeFileSystemsResponseBodyFileSystemsFileSystemMountTargetsMountTarget) String() string { @@ -1041,24 +772,9 @@ func (s *DescribeFileSystemsResponseBodyFileSystemsFileSystemMountTargetsMountTa } type DescribeFileSystemsResponseBodyFileSystemsFileSystemMountTargetsMountTargetClientMasterNodesClientMasterNode struct { - // The default logon password of the ECS instance on the client management node. - // - // example: - // - // 123456 DefaultPasswd *string `json:"DefaultPasswd,omitempty" xml:"DefaultPasswd,omitempty"` - // The ID of the ECS instance on the client management node. - // - // example: - // - // i-hp3i3odi5ory1buo**** - EcsId *string `json:"EcsId,omitempty" xml:"EcsId,omitempty"` - // The IP address of the ECS instance on the client management node. - // - // example: - // - // 192.168.1.0 - EcsIp *string `json:"EcsIp,omitempty" xml:"EcsIp,omitempty"` + EcsId *string `json:"EcsId,omitempty" xml:"EcsId,omitempty"` + EcsIp *string `json:"EcsIp,omitempty" xml:"EcsIp,omitempty"` } func (s DescribeFileSystemsResponseBodyFileSystemsFileSystemMountTargetsMountTargetClientMasterNodesClientMasterNode) String() string { @@ -1135,17 +851,7 @@ func (s *DescribeFileSystemsResponseBodyFileSystemsFileSystemMountTargetsMountTa } type DescribeFileSystemsResponseBodyFileSystemsFileSystemMountTargetsMountTargetTagsTag struct { - // The tag key. - // - // example: - // - // test - Key *string `json:"Key,omitempty" xml:"Key,omitempty"` - // The tag value. - // - // example: - // - // test-value + Key *string `json:"Key,omitempty" xml:"Key,omitempty"` Value *string `json:"Value,omitempty" xml:"Value,omitempty"` } @@ -1180,17 +886,7 @@ func (s *DescribeFileSystemsResponseBodyFileSystemsFileSystemMountTargetsMountTa } type DescribeFileSystemsResponseBodyFileSystemsFileSystemOptions struct { - // Specifies whether to enable the oplock feature. Valid values: - // - // - true: enables the feature. - // - // - false: disables the feature. - // - // > Only Server Message Block (SMB) file systems support this feature. - // - // example: - // - // true + EnableABE *bool `json:"EnableABE,omitempty" xml:"EnableABE,omitempty"` EnableOplock *bool `json:"EnableOplock,omitempty" xml:"EnableOplock,omitempty"` } @@ -1202,10 +898,19 @@ func (s DescribeFileSystemsResponseBodyFileSystemsFileSystemOptions) GoString() return s.String() } +func (s *DescribeFileSystemsResponseBodyFileSystemsFileSystemOptions) GetEnableABE() *bool { + return s.EnableABE +} + func (s *DescribeFileSystemsResponseBodyFileSystemsFileSystemOptions) GetEnableOplock() *bool { return s.EnableOplock } +func (s *DescribeFileSystemsResponseBodyFileSystemsFileSystemOptions) SetEnableABE(v bool) *DescribeFileSystemsResponseBodyFileSystemsFileSystemOptions { + s.EnableABE = &v + return s +} + func (s *DescribeFileSystemsResponseBodyFileSystemsFileSystemOptions) SetEnableOplock(v bool) *DescribeFileSystemsResponseBodyFileSystemsFileSystemOptions { s.EnableOplock = &v return s @@ -1250,42 +955,11 @@ func (s *DescribeFileSystemsResponseBodyFileSystemsFileSystemPackages) Validate( } type DescribeFileSystemsResponseBodyFileSystemsFileSystemPackagesPackage struct { - // The end time of the validity period for the storage plan. - // - // example: - // - // 2020-01-05T16:00:00Z ExpiredTime *string `json:"ExpiredTime,omitempty" xml:"ExpiredTime,omitempty"` - // The ID of the storage plan. - // - // example: - // - // naspackage-0be9c4b624-37**** - PackageId *string `json:"PackageId,omitempty" xml:"PackageId,omitempty"` - // The type of the storage plan. - // - // Valid values: - // - // - ssd: The storage plan for Performance NAS file systems. - // - // - hybrid: The storage plan for Capacity NAS file systems. - // - // example: - // - // hybrid + PackageId *string `json:"PackageId,omitempty" xml:"PackageId,omitempty"` PackageType *string `json:"PackageType,omitempty" xml:"PackageType,omitempty"` - // The capacity of the storage plan. Unit: bytes. - // - // example: - // - // 107374182400 - Size *int64 `json:"Size,omitempty" xml:"Size,omitempty"` - // The start time of the validity period for the storage plan. - // - // example: - // - // 2019-12-05T01:40:56Z - StartTime *string `json:"StartTime,omitempty" xml:"StartTime,omitempty"` + Size *int64 `json:"Size,omitempty" xml:"Size,omitempty"` + StartTime *string `json:"StartTime,omitempty" xml:"StartTime,omitempty"` } func (s DescribeFileSystemsResponseBodyFileSystemsFileSystemPackagesPackage) String() string { @@ -1430,17 +1104,7 @@ func (s *DescribeFileSystemsResponseBodyFileSystemsFileSystemTags) Validate() er } type DescribeFileSystemsResponseBodyFileSystemsFileSystemTagsTag struct { - // The tag key. - // - // example: - // - // test - Key *string `json:"Key,omitempty" xml:"Key,omitempty"` - // The tag value. - // - // example: - // - // test-value + Key *string `json:"Key,omitempty" xml:"Key,omitempty"` Value *string `json:"Value,omitempty" xml:"Value,omitempty"` } diff --git a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_filesets_response_body_model.go b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_filesets_response_body_model.go index 6d84f81d81..4010d8e16a 100644 --- a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_filesets_response_body_model.go +++ b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_filesets_response_body_model.go @@ -20,7 +20,6 @@ type iDescribeFilesetsResponseBody interface { } type DescribeFilesetsResponseBody struct { - // The fileset information. Entries *DescribeFilesetsResponseBodyEntries `json:"Entries,omitempty" xml:"Entries,omitempty" type:"Struct"` // Deprecated // @@ -136,96 +135,17 @@ func (s *DescribeFilesetsResponseBodyEntries) Validate() error { } type DescribeFilesetsResponseBodyEntriesEntrie struct { - // The time when the fileset was created. - // - // The time follows the ISO 8601 standard in the `yyyy-MM-ddTHH:mm:ssZ` format. - // - // example: - // - // 2021-09-30T10:08:08Z - CreateTime *string `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"` - // Specifies whether to enable deletion protection to allow you to release the fileset by using the console or by calling the [DeleteFileset](https://help.aliyun.com/document_detail/2402263.html) operation. Valid values: - // - // - true: enables release protection. - // - // - false: disables release protection. - // - // > This parameter can protect filesets only against manual releases, but not against automatic releases. - // - // example: - // - // true - DeletionProtection *bool `json:"DeletionProtection,omitempty" xml:"DeletionProtection,omitempty"` - // The fileset description. - // - // example: - // - // test - Description *string `json:"Description,omitempty" xml:"Description,omitempty"` - // The usage of the file quantity. - // - // > Only CPFS for LINGJUN V2.7.0 and later support this parameter. - // - // example: - // - // 1024 - FileCountUsage *int64 `json:"FileCountUsage,omitempty" xml:"FileCountUsage,omitempty"` - // The ID of the file system. - // - // - The IDs of CPFS file systems must start with `cpfs-`. Example: cpfs-099394bd928c\\*\\*\\*\\*. - // - // - The IDs of CPFS for LINGJUN file systems must start with `bmcpfs-`. Example: bmcpfs-290w65p03ok64ya\\*\\*\\*\\*. - // - // example: - // - // bmcpfs-290w65p03ok64ya**** - FileSystemId *string `json:"FileSystemId,omitempty" xml:"FileSystemId,omitempty"` - // The fileset path. - // - // example: - // - // pathtoroot/fset - FileSystemPath *string `json:"FileSystemPath,omitempty" xml:"FileSystemPath,omitempty"` - // The fileset ID. - // - // example: - // - // fset-1902718ea0ae**** - FsetId *string `json:"FsetId,omitempty" xml:"FsetId,omitempty"` - // The quota information. - // - // > Only CPFS for Lingjun V2.7.0 and later support this parameter. - Quota *DescribeFilesetsResponseBodyEntriesEntrieQuota `json:"Quota,omitempty" xml:"Quota,omitempty" type:"Struct"` - // The capacity usage. Unit: bytes. - // - // > Only CPFS for LINGJUN V2.7.0 and later support this parameter. - // - // example: - // - // 1024 - SpaceUsage *int64 `json:"SpaceUsage,omitempty" xml:"SpaceUsage,omitempty"` - // The fileset status. Valid values: - // - // - CREATING: The fileset is being created. - // - // - CREATED: The fileset has been created and is running properly. - // - // - RELEASING: The fileset is being released. - // - // - RELEASED: The fileset has been deleted. - // - // example: - // - // CREATED - Status *string `json:"Status,omitempty" xml:"Status,omitempty"` - // The time when the fileset was last updated. - // - // The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. - // - // example: - // - // 2021-09-30T10:08:08Z - UpdateTime *string `json:"UpdateTime,omitempty" xml:"UpdateTime,omitempty"` + CreateTime *string `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"` + DeletionProtection *bool `json:"DeletionProtection,omitempty" xml:"DeletionProtection,omitempty"` + Description *string `json:"Description,omitempty" xml:"Description,omitempty"` + FileCountUsage *int64 `json:"FileCountUsage,omitempty" xml:"FileCountUsage,omitempty"` + FileSystemId *string `json:"FileSystemId,omitempty" xml:"FileSystemId,omitempty"` + FileSystemPath *string `json:"FileSystemPath,omitempty" xml:"FileSystemPath,omitempty"` + FsetId *string `json:"FsetId,omitempty" xml:"FsetId,omitempty"` + Quota *DescribeFilesetsResponseBodyEntriesEntrieQuota `json:"Quota,omitempty" xml:"Quota,omitempty" type:"Struct"` + SpaceUsage *int64 `json:"SpaceUsage,omitempty" xml:"SpaceUsage,omitempty"` + Status *string `json:"Status,omitempty" xml:"Status,omitempty"` + UpdateTime *string `json:"UpdateTime,omitempty" xml:"UpdateTime,omitempty"` } func (s DescribeFilesetsResponseBodyEntriesEntrie) String() string { @@ -345,26 +265,8 @@ func (s *DescribeFilesetsResponseBodyEntriesEntrie) Validate() error { } type DescribeFilesetsResponseBodyEntriesEntrieQuota struct { - // The file quantity quota. Valid values: - // - // - Minimum value: 10000. - // - // - Maximum value: 10000000000. - // - // example: - // - // 10000 FileCountLimit *int64 `json:"FileCountLimit,omitempty" xml:"FileCountLimit,omitempty"` - // The capacity quota. Unit: bytes. - // - // - Minimum value: 10737418240 (10 GiB). - // - // - Step size: 1073741824 (1 GiB). - // - // example: - // - // 10737418240 - SizeLimit *int64 `json:"SizeLimit,omitempty" xml:"SizeLimit,omitempty"` + SizeLimit *int64 `json:"SizeLimit,omitempty" xml:"SizeLimit,omitempty"` } func (s DescribeFilesetsResponseBodyEntriesEntrieQuota) String() string { diff --git a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_filesystems_associated_hpn_zones_request_model.go b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_filesystems_associated_hpn_zones_request_model.go new file mode 100644 index 0000000000..da9d63049d --- /dev/null +++ b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_filesystems_associated_hpn_zones_request_model.go @@ -0,0 +1,100 @@ +// This file is auto-generated, don't edit it. Thanks. +package client + +import ( + "github.com/alibabacloud-go/tea/dara" +) + +type iDescribeFilesystemsAssociatedHpnZonesRequest interface { + dara.Model + String() string + GoString() string + SetFilesystems(v []*DescribeFilesystemsAssociatedHpnZonesRequestFilesystems) *DescribeFilesystemsAssociatedHpnZonesRequest + GetFilesystems() []*DescribeFilesystemsAssociatedHpnZonesRequestFilesystems + SetRegionId(v string) *DescribeFilesystemsAssociatedHpnZonesRequest + GetRegionId() *string +} + +type DescribeFilesystemsAssociatedHpnZonesRequest struct { + // The collection of file system IDs. + // + // > The maximum number of elements in the set must be less than or equal to 20. + Filesystems []*DescribeFilesystemsAssociatedHpnZonesRequestFilesystems `json:"Filesystems,omitempty" xml:"Filesystems,omitempty" type:"Repeated"` + // The ID of the region where the file system resides. + // + // This parameter is required. + // + // example: + // + // cn-hangzhou + RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"` +} + +func (s DescribeFilesystemsAssociatedHpnZonesRequest) String() string { + return dara.Prettify(s) +} + +func (s DescribeFilesystemsAssociatedHpnZonesRequest) GoString() string { + return s.String() +} + +func (s *DescribeFilesystemsAssociatedHpnZonesRequest) GetFilesystems() []*DescribeFilesystemsAssociatedHpnZonesRequestFilesystems { + return s.Filesystems +} + +func (s *DescribeFilesystemsAssociatedHpnZonesRequest) GetRegionId() *string { + return s.RegionId +} + +func (s *DescribeFilesystemsAssociatedHpnZonesRequest) SetFilesystems(v []*DescribeFilesystemsAssociatedHpnZonesRequestFilesystems) *DescribeFilesystemsAssociatedHpnZonesRequest { + s.Filesystems = v + return s +} + +func (s *DescribeFilesystemsAssociatedHpnZonesRequest) SetRegionId(v string) *DescribeFilesystemsAssociatedHpnZonesRequest { + s.RegionId = &v + return s +} + +func (s *DescribeFilesystemsAssociatedHpnZonesRequest) Validate() error { + if s.Filesystems != nil { + for _, item := range s.Filesystems { + if item != nil { + if err := item.Validate(); err != nil { + return err + } + } + } + } + return nil +} + +type DescribeFilesystemsAssociatedHpnZonesRequestFilesystems struct { + // The ID of the CPFS for Lingjun file system. Must start with `bmcpfs-`. Example: bmcpfs-290w65p03ok64ya\\*\\*\\*\\*. + // + // example: + // + // bmcpfs-290t15yn4uo8lid**** + FileSystemId *string `json:"FileSystemId,omitempty" xml:"FileSystemId,omitempty"` +} + +func (s DescribeFilesystemsAssociatedHpnZonesRequestFilesystems) String() string { + return dara.Prettify(s) +} + +func (s DescribeFilesystemsAssociatedHpnZonesRequestFilesystems) GoString() string { + return s.String() +} + +func (s *DescribeFilesystemsAssociatedHpnZonesRequestFilesystems) GetFileSystemId() *string { + return s.FileSystemId +} + +func (s *DescribeFilesystemsAssociatedHpnZonesRequestFilesystems) SetFileSystemId(v string) *DescribeFilesystemsAssociatedHpnZonesRequestFilesystems { + s.FileSystemId = &v + return s +} + +func (s *DescribeFilesystemsAssociatedHpnZonesRequestFilesystems) Validate() error { + return dara.Validate(s) +} diff --git a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_filesystems_associated_hpn_zones_response_body_model.go b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_filesystems_associated_hpn_zones_response_body_model.go new file mode 100644 index 0000000000..addffc9b4b --- /dev/null +++ b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_filesystems_associated_hpn_zones_response_body_model.go @@ -0,0 +1,122 @@ +// This file is auto-generated, don't edit it. Thanks. +package client + +import ( + "github.com/alibabacloud-go/tea/dara" +) + +type iDescribeFilesystemsAssociatedHpnZonesResponseBody interface { + dara.Model + String() string + GoString() string + SetFilesystems(v []*DescribeFilesystemsAssociatedHpnZonesResponseBodyFilesystems) *DescribeFilesystemsAssociatedHpnZonesResponseBody + GetFilesystems() []*DescribeFilesystemsAssociatedHpnZonesResponseBodyFilesystems + SetRequestId(v string) *DescribeFilesystemsAssociatedHpnZonesResponseBody + GetRequestId() *string +} + +type DescribeFilesystemsAssociatedHpnZonesResponseBody struct { + // The list of HpnZones associated with the file system. + Filesystems []*DescribeFilesystemsAssociatedHpnZonesResponseBodyFilesystems `json:"Filesystems,omitempty" xml:"Filesystems,omitempty" type:"Repeated"` + // Request ID. + // + // example: + // + // 98696EF0-1607-4E9D-B01D-F20930B6**** + RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` +} + +func (s DescribeFilesystemsAssociatedHpnZonesResponseBody) String() string { + return dara.Prettify(s) +} + +func (s DescribeFilesystemsAssociatedHpnZonesResponseBody) GoString() string { + return s.String() +} + +func (s *DescribeFilesystemsAssociatedHpnZonesResponseBody) GetFilesystems() []*DescribeFilesystemsAssociatedHpnZonesResponseBodyFilesystems { + return s.Filesystems +} + +func (s *DescribeFilesystemsAssociatedHpnZonesResponseBody) GetRequestId() *string { + return s.RequestId +} + +func (s *DescribeFilesystemsAssociatedHpnZonesResponseBody) SetFilesystems(v []*DescribeFilesystemsAssociatedHpnZonesResponseBodyFilesystems) *DescribeFilesystemsAssociatedHpnZonesResponseBody { + s.Filesystems = v + return s +} + +func (s *DescribeFilesystemsAssociatedHpnZonesResponseBody) SetRequestId(v string) *DescribeFilesystemsAssociatedHpnZonesResponseBody { + s.RequestId = &v + return s +} + +func (s *DescribeFilesystemsAssociatedHpnZonesResponseBody) Validate() error { + if s.Filesystems != nil { + for _, item := range s.Filesystems { + if item != nil { + if err := item.Validate(); err != nil { + return err + } + } + } + } + return nil +} + +type DescribeFilesystemsAssociatedHpnZonesResponseBodyFilesystems struct { + // The list of HpnZones supported by the file system. + AssociatedHpnZones []*string `json:"AssociatedHpnZones,omitempty" xml:"AssociatedHpnZones,omitempty" type:"Repeated"` + // The ID of the CPFS for Lingjun file system. + // + // example: + // + // bmcpfs-290t15yn4uo8lid**** + FileSystemId *string `json:"FileSystemId,omitempty" xml:"FileSystemId,omitempty"` + // The zone ID. + // + // example: + // + // cn-hangzhou-k + ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"` +} + +func (s DescribeFilesystemsAssociatedHpnZonesResponseBodyFilesystems) String() string { + return dara.Prettify(s) +} + +func (s DescribeFilesystemsAssociatedHpnZonesResponseBodyFilesystems) GoString() string { + return s.String() +} + +func (s *DescribeFilesystemsAssociatedHpnZonesResponseBodyFilesystems) GetAssociatedHpnZones() []*string { + return s.AssociatedHpnZones +} + +func (s *DescribeFilesystemsAssociatedHpnZonesResponseBodyFilesystems) GetFileSystemId() *string { + return s.FileSystemId +} + +func (s *DescribeFilesystemsAssociatedHpnZonesResponseBodyFilesystems) GetZoneId() *string { + return s.ZoneId +} + +func (s *DescribeFilesystemsAssociatedHpnZonesResponseBodyFilesystems) SetAssociatedHpnZones(v []*string) *DescribeFilesystemsAssociatedHpnZonesResponseBodyFilesystems { + s.AssociatedHpnZones = v + return s +} + +func (s *DescribeFilesystemsAssociatedHpnZonesResponseBodyFilesystems) SetFileSystemId(v string) *DescribeFilesystemsAssociatedHpnZonesResponseBodyFilesystems { + s.FileSystemId = &v + return s +} + +func (s *DescribeFilesystemsAssociatedHpnZonesResponseBodyFilesystems) SetZoneId(v string) *DescribeFilesystemsAssociatedHpnZonesResponseBodyFilesystems { + s.ZoneId = &v + return s +} + +func (s *DescribeFilesystemsAssociatedHpnZonesResponseBodyFilesystems) Validate() error { + return dara.Validate(s) +} diff --git a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_filesystems_associated_hpn_zones_response_model.go b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_filesystems_associated_hpn_zones_response_model.go new file mode 100644 index 0000000000..b49d61d8d3 --- /dev/null +++ b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_filesystems_associated_hpn_zones_response_model.go @@ -0,0 +1,68 @@ +// This file is auto-generated, don't edit it. Thanks. +package client + +import ( + "github.com/alibabacloud-go/tea/dara" +) + +type iDescribeFilesystemsAssociatedHpnZonesResponse interface { + dara.Model + String() string + GoString() string + SetHeaders(v map[string]*string) *DescribeFilesystemsAssociatedHpnZonesResponse + GetHeaders() map[string]*string + SetStatusCode(v int32) *DescribeFilesystemsAssociatedHpnZonesResponse + GetStatusCode() *int32 + SetBody(v *DescribeFilesystemsAssociatedHpnZonesResponseBody) *DescribeFilesystemsAssociatedHpnZonesResponse + GetBody() *DescribeFilesystemsAssociatedHpnZonesResponseBody +} + +type DescribeFilesystemsAssociatedHpnZonesResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` + Body *DescribeFilesystemsAssociatedHpnZonesResponseBody `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s DescribeFilesystemsAssociatedHpnZonesResponse) String() string { + return dara.Prettify(s) +} + +func (s DescribeFilesystemsAssociatedHpnZonesResponse) GoString() string { + return s.String() +} + +func (s *DescribeFilesystemsAssociatedHpnZonesResponse) GetHeaders() map[string]*string { + return s.Headers +} + +func (s *DescribeFilesystemsAssociatedHpnZonesResponse) GetStatusCode() *int32 { + return s.StatusCode +} + +func (s *DescribeFilesystemsAssociatedHpnZonesResponse) GetBody() *DescribeFilesystemsAssociatedHpnZonesResponseBody { + return s.Body +} + +func (s *DescribeFilesystemsAssociatedHpnZonesResponse) SetHeaders(v map[string]*string) *DescribeFilesystemsAssociatedHpnZonesResponse { + s.Headers = v + return s +} + +func (s *DescribeFilesystemsAssociatedHpnZonesResponse) SetStatusCode(v int32) *DescribeFilesystemsAssociatedHpnZonesResponse { + s.StatusCode = &v + return s +} + +func (s *DescribeFilesystemsAssociatedHpnZonesResponse) SetBody(v *DescribeFilesystemsAssociatedHpnZonesResponseBody) *DescribeFilesystemsAssociatedHpnZonesResponse { + s.Body = v + return s +} + +func (s *DescribeFilesystemsAssociatedHpnZonesResponse) Validate() error { + if s.Body != nil { + if err := s.Body.Validate(); err != nil { + return err + } + } + return nil +} diff --git a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_filesystems_associated_hpn_zones_shrink_request_model.go b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_filesystems_associated_hpn_zones_shrink_request_model.go new file mode 100644 index 0000000000..593ea61a57 --- /dev/null +++ b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_filesystems_associated_hpn_zones_shrink_request_model.go @@ -0,0 +1,61 @@ +// This file is auto-generated, don't edit it. Thanks. +package client + +import ( + "github.com/alibabacloud-go/tea/dara" +) + +type iDescribeFilesystemsAssociatedHpnZonesShrinkRequest interface { + dara.Model + String() string + GoString() string + SetFilesystemsShrink(v string) *DescribeFilesystemsAssociatedHpnZonesShrinkRequest + GetFilesystemsShrink() *string + SetRegionId(v string) *DescribeFilesystemsAssociatedHpnZonesShrinkRequest + GetRegionId() *string +} + +type DescribeFilesystemsAssociatedHpnZonesShrinkRequest struct { + // The collection of file system IDs. + // + // > The maximum number of elements in the set must be less than or equal to 20. + FilesystemsShrink *string `json:"Filesystems,omitempty" xml:"Filesystems,omitempty"` + // The ID of the region where the file system resides. + // + // This parameter is required. + // + // example: + // + // cn-hangzhou + RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"` +} + +func (s DescribeFilesystemsAssociatedHpnZonesShrinkRequest) String() string { + return dara.Prettify(s) +} + +func (s DescribeFilesystemsAssociatedHpnZonesShrinkRequest) GoString() string { + return s.String() +} + +func (s *DescribeFilesystemsAssociatedHpnZonesShrinkRequest) GetFilesystemsShrink() *string { + return s.FilesystemsShrink +} + +func (s *DescribeFilesystemsAssociatedHpnZonesShrinkRequest) GetRegionId() *string { + return s.RegionId +} + +func (s *DescribeFilesystemsAssociatedHpnZonesShrinkRequest) SetFilesystemsShrink(v string) *DescribeFilesystemsAssociatedHpnZonesShrinkRequest { + s.FilesystemsShrink = &v + return s +} + +func (s *DescribeFilesystemsAssociatedHpnZonesShrinkRequest) SetRegionId(v string) *DescribeFilesystemsAssociatedHpnZonesShrinkRequest { + s.RegionId = &v + return s +} + +func (s *DescribeFilesystemsAssociatedHpnZonesShrinkRequest) Validate() error { + return dara.Validate(s) +} diff --git a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_filesystems_vsc_attach_info_response_body_model.go b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_filesystems_vsc_attach_info_response_body_model.go index 3d23835fc0..a6a4e1c46b 100644 --- a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_filesystems_vsc_attach_info_response_body_model.go +++ b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_filesystems_vsc_attach_info_response_body_model.go @@ -49,8 +49,7 @@ type DescribeFilesystemsVscAttachInfoResponseBody struct { // example: // // 1 - TotalCount *int32 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"` - // A collection of file system and virtual channel association data. + TotalCount *int32 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"` VscAttachInfo *DescribeFilesystemsVscAttachInfoResponseBodyVscAttachInfo `json:"VscAttachInfo,omitempty" xml:"VscAttachInfo,omitempty" type:"Struct"` } @@ -151,34 +150,9 @@ func (s *DescribeFilesystemsVscAttachInfoResponseBodyVscAttachInfo) Validate() e } type DescribeFilesystemsVscAttachInfoResponseBodyVscAttachInfoVscAttachInfo struct { - // The ID of the file system. - // - // example: - // - // bmcpfs-290t15yn4uo8lid**** FileSystemId *string `json:"FileSystemId,omitempty" xml:"FileSystemId,omitempty"` - // The association status of the file system and virtual channel. Valid values: - // - // - Attaching: The association is being made. - // - // - Attached: The association is complete. - // - // - Detaching: The association is being canceled. - // - // - Detached: The association is canceled. - // - // - Failed: The association failed. - // - // example: - // - // Attached - Status *string `json:"Status,omitempty" xml:"Status,omitempty"` - // The ID of the virtual storage channel. - // - // example: - // - // vsc-8vb864o3ppwfvh**** - VscId *string `json:"VscId,omitempty" xml:"VscId,omitempty"` + Status *string `json:"Status,omitempty" xml:"Status,omitempty"` + VscId *string `json:"VscId,omitempty" xml:"VscId,omitempty"` } func (s DescribeFilesystemsVscAttachInfoResponseBodyVscAttachInfoVscAttachInfo) String() string { diff --git a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_lifecycle_policies_request_model.go b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_lifecycle_policies_request_model.go index 99398abdd3..b7676e7fa8 100644 --- a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_lifecycle_policies_request_model.go +++ b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_lifecycle_policies_request_model.go @@ -9,33 +9,71 @@ type iDescribeLifecyclePoliciesRequest interface { dara.Model String() string GoString() string + SetDescription(v string) *DescribeLifecyclePoliciesRequest + GetDescription() *string SetFileSystemId(v string) *DescribeLifecyclePoliciesRequest GetFileSystemId() *string + SetLifecyclePolicyId(v string) *DescribeLifecyclePoliciesRequest + GetLifecyclePolicyId() *string SetLifecyclePolicyName(v string) *DescribeLifecyclePoliciesRequest GetLifecyclePolicyName() *string + SetLifecyclePolicyType(v string) *DescribeLifecyclePoliciesRequest + GetLifecyclePolicyType() *string SetPageNumber(v int32) *DescribeLifecyclePoliciesRequest GetPageNumber() *int32 SetPageSize(v int32) *DescribeLifecyclePoliciesRequest GetPageSize() *int32 + SetPath(v string) *DescribeLifecyclePoliciesRequest + GetPath() *string SetStorageType(v string) *DescribeLifecyclePoliciesRequest GetStorageType() *string } type DescribeLifecyclePoliciesRequest struct { + // The description of the policy. + // + // > Only CPFS for Lingjun supports this parameter. + // + // example: + // + // Description + Description *string `json:"Description,omitempty" xml:"Description,omitempty"` // The ID of the file system. // // example: // // 31a8e4**** FileSystemId *string `json:"FileSystemId,omitempty" xml:"FileSystemId,omitempty"` - // The name of the lifecycle policy. The name must meet the following conventions: + // The ID of the lifecycle policy. + // + // example: + // + // lc-xxx + LifecyclePolicyId *string `json:"LifecyclePolicyId,omitempty" xml:"LifecyclePolicyId,omitempty"` + // The name of the lifecycle policy. The naming rules are as follows: // // The name must be 3 to 64 characters in length and must start with a letter. It can contain letters, digits, underscores (_), and hyphens (-). // + // > Optional for General-purpose NAS file systems. If this parameter is provided, it takes precedence over LifecyclePolicyId. If left empty, LifecyclePolicyId is used. + // // example: // // lifecyclepolicy_01 LifecyclePolicyName *string `json:"LifecyclePolicyName,omitempty" xml:"LifecyclePolicyName,omitempty"` + // The type of the lifecycle policy. + // + // Valid values: + // + // - Auto: The job is automatically triggered. + // + // - OnDemand: On-demand execution. + // + // > Only CPFS for Lingjun supports this parameter. + // + // example: + // + // Auto + LifecyclePolicyType *string `json:"LifecyclePolicyType,omitempty" xml:"LifecyclePolicyType,omitempty"` // The page number. // // Pages start from page 1. Default value: 1. @@ -54,13 +92,21 @@ type DescribeLifecyclePoliciesRequest struct { // // 10 PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"` + // Filter by path. + // + // > Only CPFS for Lingjun supports this parameter. + // + // example: + // + // /abc/ + Path *string `json:"Path,omitempty" xml:"Path,omitempty"` // The storage class. // // - InfrequentAccess: the Infrequent Access (IA) storage class. // // - Archive: the Archive storage class. // - // > If the StorageType parameter is not specified, data retrieval tasks of all types are returned. + // > If StorageType is not specified, all lifecycle policies are returned. // // if can be null: // true @@ -79,14 +125,26 @@ func (s DescribeLifecyclePoliciesRequest) GoString() string { return s.String() } +func (s *DescribeLifecyclePoliciesRequest) GetDescription() *string { + return s.Description +} + func (s *DescribeLifecyclePoliciesRequest) GetFileSystemId() *string { return s.FileSystemId } +func (s *DescribeLifecyclePoliciesRequest) GetLifecyclePolicyId() *string { + return s.LifecyclePolicyId +} + func (s *DescribeLifecyclePoliciesRequest) GetLifecyclePolicyName() *string { return s.LifecyclePolicyName } +func (s *DescribeLifecyclePoliciesRequest) GetLifecyclePolicyType() *string { + return s.LifecyclePolicyType +} + func (s *DescribeLifecyclePoliciesRequest) GetPageNumber() *int32 { return s.PageNumber } @@ -95,20 +153,39 @@ func (s *DescribeLifecyclePoliciesRequest) GetPageSize() *int32 { return s.PageSize } +func (s *DescribeLifecyclePoliciesRequest) GetPath() *string { + return s.Path +} + func (s *DescribeLifecyclePoliciesRequest) GetStorageType() *string { return s.StorageType } +func (s *DescribeLifecyclePoliciesRequest) SetDescription(v string) *DescribeLifecyclePoliciesRequest { + s.Description = &v + return s +} + func (s *DescribeLifecyclePoliciesRequest) SetFileSystemId(v string) *DescribeLifecyclePoliciesRequest { s.FileSystemId = &v return s } +func (s *DescribeLifecyclePoliciesRequest) SetLifecyclePolicyId(v string) *DescribeLifecyclePoliciesRequest { + s.LifecyclePolicyId = &v + return s +} + func (s *DescribeLifecyclePoliciesRequest) SetLifecyclePolicyName(v string) *DescribeLifecyclePoliciesRequest { s.LifecyclePolicyName = &v return s } +func (s *DescribeLifecyclePoliciesRequest) SetLifecyclePolicyType(v string) *DescribeLifecyclePoliciesRequest { + s.LifecyclePolicyType = &v + return s +} + func (s *DescribeLifecyclePoliciesRequest) SetPageNumber(v int32) *DescribeLifecyclePoliciesRequest { s.PageNumber = &v return s @@ -119,6 +196,11 @@ func (s *DescribeLifecyclePoliciesRequest) SetPageSize(v int32) *DescribeLifecyc return s } +func (s *DescribeLifecyclePoliciesRequest) SetPath(v string) *DescribeLifecyclePoliciesRequest { + s.Path = &v + return s +} + func (s *DescribeLifecyclePoliciesRequest) SetStorageType(v string) *DescribeLifecyclePoliciesRequest { s.StorageType = &v return s diff --git a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_lifecycle_policies_response_body_model.go b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_lifecycle_policies_response_body_model.go index b1c7d2518f..de133590af 100644 --- a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_lifecycle_policies_response_body_model.go +++ b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_lifecycle_policies_response_body_model.go @@ -125,29 +125,47 @@ type DescribeLifecyclePoliciesResponseBodyLifecyclePolicies struct { // // 2019-10-30T10:08:08Z CreateTime *string `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"` + // Description + // + // example: + // + // Description + Description *string `json:"Description,omitempty" xml:"Description,omitempty"` // The ID of the file system. // // example: // // 31a8e4**** FileSystemId *string `json:"FileSystemId,omitempty" xml:"FileSystemId,omitempty"` + // The ID of the lifecycle policy. + // + // example: + // + // lc-xxx + LifecyclePolicyId *string `json:"LifecyclePolicyId,omitempty" xml:"LifecyclePolicyId,omitempty"` // The name of the lifecycle policy. // // example: // // lifecyclepolicy_01 LifecyclePolicyName *string `json:"LifecyclePolicyName,omitempty" xml:"LifecyclePolicyName,omitempty"` + // The type of the lifecycle policy. + // + // example: + // + // Auto + LifecyclePolicyType *string `json:"LifecyclePolicyType,omitempty" xml:"LifecyclePolicyType,omitempty"` // The management rule that is associated with the lifecycle policy. // // Valid values: // - // - DEFAULT_ATIME_14: Files that are not accessed in the last 14 days are dumped to the IA storage medium. + // - DEFAULT_ATIME_14: Files that are not accessed in the last 14 days. // - // - DEFAULT_ATIME_30: Files that are not accessed in the last 30 days are dumped to the IA storage medium. + // - DEFAULT_ATIME_30: Files that are not accessed in the last 30 days. // - // - DEFAULT_ATIME_60: Files that are not accessed in the last 60 days are dumped to the IA storage medium. + // - DEFAULT_ATIME_60: Files that are not accessed in the last 60 days. // - // - DEFAULT_ATIME_90: Files that are not accessed in the last 90 days are dumped to the IA storage medium. + // - DEFAULT_ATIME_90: Files that are not accessed in the last 90 days. // // example: // @@ -159,16 +177,22 @@ type DescribeLifecyclePoliciesResponseBodyLifecyclePolicies struct { // // /pathway/to/folder Path *string `json:"Path,omitempty" xml:"Path,omitempty"` - // The absolute paths to multiple directories associated with the lifecycle policy. + // The absolute paths of directories with which the lifecycle policy is associated. Paths []*string `json:"Paths,omitempty" xml:"Paths,omitempty" type:"Repeated"` - // The storage type of the data that is dumped to the IA storage medium. + // File data retrieval rules. + RetrieveRules []*DescribeLifecyclePoliciesResponseBodyLifecyclePoliciesRetrieveRules `json:"RetrieveRules,omitempty" xml:"RetrieveRules,omitempty" type:"Repeated"` + // The storage class. + // + // - InfrequentAccess: the IA storage class. // - // Default value: InfrequentAccess (IA). + // - Archive: the Archive storage class. // // example: // // InfrequentAccess StorageType *string `json:"StorageType,omitempty" xml:"StorageType,omitempty"` + // Data transition rules. + TransitRules []*DescribeLifecyclePoliciesResponseBodyLifecyclePoliciesTransitRules `json:"TransitRules,omitempty" xml:"TransitRules,omitempty" type:"Repeated"` } func (s DescribeLifecyclePoliciesResponseBodyLifecyclePolicies) String() string { @@ -183,14 +207,26 @@ func (s *DescribeLifecyclePoliciesResponseBodyLifecyclePolicies) GetCreateTime() return s.CreateTime } +func (s *DescribeLifecyclePoliciesResponseBodyLifecyclePolicies) GetDescription() *string { + return s.Description +} + func (s *DescribeLifecyclePoliciesResponseBodyLifecyclePolicies) GetFileSystemId() *string { return s.FileSystemId } +func (s *DescribeLifecyclePoliciesResponseBodyLifecyclePolicies) GetLifecyclePolicyId() *string { + return s.LifecyclePolicyId +} + func (s *DescribeLifecyclePoliciesResponseBodyLifecyclePolicies) GetLifecyclePolicyName() *string { return s.LifecyclePolicyName } +func (s *DescribeLifecyclePoliciesResponseBodyLifecyclePolicies) GetLifecyclePolicyType() *string { + return s.LifecyclePolicyType +} + func (s *DescribeLifecyclePoliciesResponseBodyLifecyclePolicies) GetLifecycleRuleName() *string { return s.LifecycleRuleName } @@ -203,25 +239,48 @@ func (s *DescribeLifecyclePoliciesResponseBodyLifecyclePolicies) GetPaths() []*s return s.Paths } +func (s *DescribeLifecyclePoliciesResponseBodyLifecyclePolicies) GetRetrieveRules() []*DescribeLifecyclePoliciesResponseBodyLifecyclePoliciesRetrieveRules { + return s.RetrieveRules +} + func (s *DescribeLifecyclePoliciesResponseBodyLifecyclePolicies) GetStorageType() *string { return s.StorageType } +func (s *DescribeLifecyclePoliciesResponseBodyLifecyclePolicies) GetTransitRules() []*DescribeLifecyclePoliciesResponseBodyLifecyclePoliciesTransitRules { + return s.TransitRules +} + func (s *DescribeLifecyclePoliciesResponseBodyLifecyclePolicies) SetCreateTime(v string) *DescribeLifecyclePoliciesResponseBodyLifecyclePolicies { s.CreateTime = &v return s } +func (s *DescribeLifecyclePoliciesResponseBodyLifecyclePolicies) SetDescription(v string) *DescribeLifecyclePoliciesResponseBodyLifecyclePolicies { + s.Description = &v + return s +} + func (s *DescribeLifecyclePoliciesResponseBodyLifecyclePolicies) SetFileSystemId(v string) *DescribeLifecyclePoliciesResponseBodyLifecyclePolicies { s.FileSystemId = &v return s } +func (s *DescribeLifecyclePoliciesResponseBodyLifecyclePolicies) SetLifecyclePolicyId(v string) *DescribeLifecyclePoliciesResponseBodyLifecyclePolicies { + s.LifecyclePolicyId = &v + return s +} + func (s *DescribeLifecyclePoliciesResponseBodyLifecyclePolicies) SetLifecyclePolicyName(v string) *DescribeLifecyclePoliciesResponseBodyLifecyclePolicies { s.LifecyclePolicyName = &v return s } +func (s *DescribeLifecyclePoliciesResponseBodyLifecyclePolicies) SetLifecyclePolicyType(v string) *DescribeLifecyclePoliciesResponseBodyLifecyclePolicies { + s.LifecyclePolicyType = &v + return s +} + func (s *DescribeLifecyclePoliciesResponseBodyLifecyclePolicies) SetLifecycleRuleName(v string) *DescribeLifecyclePoliciesResponseBodyLifecyclePolicies { s.LifecycleRuleName = &v return s @@ -237,11 +296,129 @@ func (s *DescribeLifecyclePoliciesResponseBodyLifecyclePolicies) SetPaths(v []*s return s } +func (s *DescribeLifecyclePoliciesResponseBodyLifecyclePolicies) SetRetrieveRules(v []*DescribeLifecyclePoliciesResponseBodyLifecyclePoliciesRetrieveRules) *DescribeLifecyclePoliciesResponseBodyLifecyclePolicies { + s.RetrieveRules = v + return s +} + func (s *DescribeLifecyclePoliciesResponseBodyLifecyclePolicies) SetStorageType(v string) *DescribeLifecyclePoliciesResponseBodyLifecyclePolicies { s.StorageType = &v return s } +func (s *DescribeLifecyclePoliciesResponseBodyLifecyclePolicies) SetTransitRules(v []*DescribeLifecyclePoliciesResponseBodyLifecyclePoliciesTransitRules) *DescribeLifecyclePoliciesResponseBodyLifecyclePolicies { + s.TransitRules = v + return s +} + func (s *DescribeLifecyclePoliciesResponseBodyLifecyclePolicies) Validate() error { + if s.RetrieveRules != nil { + for _, item := range s.RetrieveRules { + if item != nil { + if err := item.Validate(); err != nil { + return err + } + } + } + } + if s.TransitRules != nil { + for _, item := range s.TransitRules { + if item != nil { + if err := item.Validate(); err != nil { + return err + } + } + } + } + return nil +} + +type DescribeLifecyclePoliciesResponseBodyLifecyclePoliciesRetrieveRules struct { + // Attribute of the rule. + // + // example: + // + // RetrieveType + Attribute *string `json:"Attribute,omitempty" xml:"Attribute,omitempty"` + // Threshold for the rule. + // + // example: + // + // All + Threshold *string `json:"Threshold,omitempty" xml:"Threshold,omitempty"` +} + +func (s DescribeLifecyclePoliciesResponseBodyLifecyclePoliciesRetrieveRules) String() string { + return dara.Prettify(s) +} + +func (s DescribeLifecyclePoliciesResponseBodyLifecyclePoliciesRetrieveRules) GoString() string { + return s.String() +} + +func (s *DescribeLifecyclePoliciesResponseBodyLifecyclePoliciesRetrieveRules) GetAttribute() *string { + return s.Attribute +} + +func (s *DescribeLifecyclePoliciesResponseBodyLifecyclePoliciesRetrieveRules) GetThreshold() *string { + return s.Threshold +} + +func (s *DescribeLifecyclePoliciesResponseBodyLifecyclePoliciesRetrieveRules) SetAttribute(v string) *DescribeLifecyclePoliciesResponseBodyLifecyclePoliciesRetrieveRules { + s.Attribute = &v + return s +} + +func (s *DescribeLifecyclePoliciesResponseBodyLifecyclePoliciesRetrieveRules) SetThreshold(v string) *DescribeLifecyclePoliciesResponseBodyLifecyclePoliciesRetrieveRules { + s.Threshold = &v + return s +} + +func (s *DescribeLifecyclePoliciesResponseBodyLifecyclePoliciesRetrieveRules) Validate() error { + return dara.Validate(s) +} + +type DescribeLifecyclePoliciesResponseBodyLifecyclePoliciesTransitRules struct { + // Attribute of the rule. + // + // example: + // + // Atime + Attribute *string `json:"Attribute,omitempty" xml:"Attribute,omitempty"` + // Threshold for the rule. + // + // example: + // + // 3 + Threshold *string `json:"Threshold,omitempty" xml:"Threshold,omitempty"` +} + +func (s DescribeLifecyclePoliciesResponseBodyLifecyclePoliciesTransitRules) String() string { + return dara.Prettify(s) +} + +func (s DescribeLifecyclePoliciesResponseBodyLifecyclePoliciesTransitRules) GoString() string { + return s.String() +} + +func (s *DescribeLifecyclePoliciesResponseBodyLifecyclePoliciesTransitRules) GetAttribute() *string { + return s.Attribute +} + +func (s *DescribeLifecyclePoliciesResponseBodyLifecyclePoliciesTransitRules) GetThreshold() *string { + return s.Threshold +} + +func (s *DescribeLifecyclePoliciesResponseBodyLifecyclePoliciesTransitRules) SetAttribute(v string) *DescribeLifecyclePoliciesResponseBodyLifecyclePoliciesTransitRules { + s.Attribute = &v + return s +} + +func (s *DescribeLifecyclePoliciesResponseBodyLifecyclePoliciesTransitRules) SetThreshold(v string) *DescribeLifecyclePoliciesResponseBodyLifecyclePoliciesTransitRules { + s.Threshold = &v + return s +} + +func (s *DescribeLifecyclePoliciesResponseBodyLifecyclePoliciesTransitRules) Validate() error { return dara.Validate(s) } diff --git a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_lifecycle_policy_logs_request_model.go b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_lifecycle_policy_logs_request_model.go new file mode 100644 index 0000000000..e693967869 --- /dev/null +++ b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_lifecycle_policy_logs_request_model.go @@ -0,0 +1,91 @@ +// This file is auto-generated, don't edit it. Thanks. +package client + +import ( + "github.com/alibabacloud-go/tea/dara" +) + +type iDescribeLifecyclePolicyLogsRequest interface { + dara.Model + String() string + GoString() string + SetFileSystemId(v string) *DescribeLifecyclePolicyLogsRequest + GetFileSystemId() *string + SetLifecyclePolicyId(v string) *DescribeLifecyclePolicyLogsRequest + GetLifecyclePolicyId() *string + SetPageNumber(v int32) *DescribeLifecyclePolicyLogsRequest + GetPageNumber() *int32 + SetPageSize(v int32) *DescribeLifecyclePolicyLogsRequest + GetPageSize() *int32 +} + +type DescribeLifecyclePolicyLogsRequest struct { + // This parameter is required. + // + // example: + // + // bmcpfs-030wldnqm8evtpy**** + FileSystemId *string `json:"FileSystemId,omitempty" xml:"FileSystemId,omitempty"` + // This parameter is required. + // + // example: + // + // lc-xxx + LifecyclePolicyId *string `json:"LifecyclePolicyId,omitempty" xml:"LifecyclePolicyId,omitempty"` + // example: + // + // 1 + PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"` + // example: + // + // 10 + PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"` +} + +func (s DescribeLifecyclePolicyLogsRequest) String() string { + return dara.Prettify(s) +} + +func (s DescribeLifecyclePolicyLogsRequest) GoString() string { + return s.String() +} + +func (s *DescribeLifecyclePolicyLogsRequest) GetFileSystemId() *string { + return s.FileSystemId +} + +func (s *DescribeLifecyclePolicyLogsRequest) GetLifecyclePolicyId() *string { + return s.LifecyclePolicyId +} + +func (s *DescribeLifecyclePolicyLogsRequest) GetPageNumber() *int32 { + return s.PageNumber +} + +func (s *DescribeLifecyclePolicyLogsRequest) GetPageSize() *int32 { + return s.PageSize +} + +func (s *DescribeLifecyclePolicyLogsRequest) SetFileSystemId(v string) *DescribeLifecyclePolicyLogsRequest { + s.FileSystemId = &v + return s +} + +func (s *DescribeLifecyclePolicyLogsRequest) SetLifecyclePolicyId(v string) *DescribeLifecyclePolicyLogsRequest { + s.LifecyclePolicyId = &v + return s +} + +func (s *DescribeLifecyclePolicyLogsRequest) SetPageNumber(v int32) *DescribeLifecyclePolicyLogsRequest { + s.PageNumber = &v + return s +} + +func (s *DescribeLifecyclePolicyLogsRequest) SetPageSize(v int32) *DescribeLifecyclePolicyLogsRequest { + s.PageSize = &v + return s +} + +func (s *DescribeLifecyclePolicyLogsRequest) Validate() error { + return dara.Validate(s) +} diff --git a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_lifecycle_policy_logs_response_body_model.go b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_lifecycle_policy_logs_response_body_model.go new file mode 100644 index 0000000000..0fbc63352d --- /dev/null +++ b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_lifecycle_policy_logs_response_body_model.go @@ -0,0 +1,317 @@ +// This file is auto-generated, don't edit it. Thanks. +package client + +import ( + "github.com/alibabacloud-go/tea/dara" +) + +type iDescribeLifecyclePolicyLogsResponseBody interface { + dara.Model + String() string + GoString() string + SetLifecyclePolicyLogs(v []*DescribeLifecyclePolicyLogsResponseBodyLifecyclePolicyLogs) *DescribeLifecyclePolicyLogsResponseBody + GetLifecyclePolicyLogs() []*DescribeLifecyclePolicyLogsResponseBodyLifecyclePolicyLogs + SetPageNumber(v int32) *DescribeLifecyclePolicyLogsResponseBody + GetPageNumber() *int32 + SetPageSize(v int32) *DescribeLifecyclePolicyLogsResponseBody + GetPageSize() *int32 + SetRequestId(v string) *DescribeLifecyclePolicyLogsResponseBody + GetRequestId() *string + SetSuccess(v bool) *DescribeLifecyclePolicyLogsResponseBody + GetSuccess() *bool + SetTotalCount(v int32) *DescribeLifecyclePolicyLogsResponseBody + GetTotalCount() *int32 +} + +type DescribeLifecyclePolicyLogsResponseBody struct { + LifecyclePolicyLogs []*DescribeLifecyclePolicyLogsResponseBodyLifecyclePolicyLogs `json:"LifecyclePolicyLogs,omitempty" xml:"LifecyclePolicyLogs,omitempty" type:"Repeated"` + // example: + // + // 1 + PageNumber *int32 `json:"PageNumber,omitempty" xml:"PageNumber,omitempty"` + // example: + // + // 10 + PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"` + // example: + // + // BC7C825C-5F65-4B56-BEF6-98C56C7C**** + RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` + // example: + // + // true + Success *bool `json:"Success,omitempty" xml:"Success,omitempty"` + // example: + // + // 36 + TotalCount *int32 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"` +} + +func (s DescribeLifecyclePolicyLogsResponseBody) String() string { + return dara.Prettify(s) +} + +func (s DescribeLifecyclePolicyLogsResponseBody) GoString() string { + return s.String() +} + +func (s *DescribeLifecyclePolicyLogsResponseBody) GetLifecyclePolicyLogs() []*DescribeLifecyclePolicyLogsResponseBodyLifecyclePolicyLogs { + return s.LifecyclePolicyLogs +} + +func (s *DescribeLifecyclePolicyLogsResponseBody) GetPageNumber() *int32 { + return s.PageNumber +} + +func (s *DescribeLifecyclePolicyLogsResponseBody) GetPageSize() *int32 { + return s.PageSize +} + +func (s *DescribeLifecyclePolicyLogsResponseBody) GetRequestId() *string { + return s.RequestId +} + +func (s *DescribeLifecyclePolicyLogsResponseBody) GetSuccess() *bool { + return s.Success +} + +func (s *DescribeLifecyclePolicyLogsResponseBody) GetTotalCount() *int32 { + return s.TotalCount +} + +func (s *DescribeLifecyclePolicyLogsResponseBody) SetLifecyclePolicyLogs(v []*DescribeLifecyclePolicyLogsResponseBodyLifecyclePolicyLogs) *DescribeLifecyclePolicyLogsResponseBody { + s.LifecyclePolicyLogs = v + return s +} + +func (s *DescribeLifecyclePolicyLogsResponseBody) SetPageNumber(v int32) *DescribeLifecyclePolicyLogsResponseBody { + s.PageNumber = &v + return s +} + +func (s *DescribeLifecyclePolicyLogsResponseBody) SetPageSize(v int32) *DescribeLifecyclePolicyLogsResponseBody { + s.PageSize = &v + return s +} + +func (s *DescribeLifecyclePolicyLogsResponseBody) SetRequestId(v string) *DescribeLifecyclePolicyLogsResponseBody { + s.RequestId = &v + return s +} + +func (s *DescribeLifecyclePolicyLogsResponseBody) SetSuccess(v bool) *DescribeLifecyclePolicyLogsResponseBody { + s.Success = &v + return s +} + +func (s *DescribeLifecyclePolicyLogsResponseBody) SetTotalCount(v int32) *DescribeLifecyclePolicyLogsResponseBody { + s.TotalCount = &v + return s +} + +func (s *DescribeLifecyclePolicyLogsResponseBody) Validate() error { + if s.LifecyclePolicyLogs != nil { + for _, item := range s.LifecyclePolicyLogs { + if item != nil { + if err := item.Validate(); err != nil { + return err + } + } + } + } + return nil +} + +type DescribeLifecyclePolicyLogsResponseBodyLifecyclePolicyLogs struct { + // example: + // + // 2025-10-20T02:25:07Z + CreateTime *string `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"` + Paths []*string `json:"Paths,omitempty" xml:"Paths,omitempty" type:"Repeated"` + RetrieveRules []*DescribeLifecyclePolicyLogsResponseBodyLifecyclePolicyLogsRetrieveRules `json:"RetrieveRules,omitempty" xml:"RetrieveRules,omitempty" type:"Repeated"` + // example: + // + // RUNNING + Status *string `json:"Status,omitempty" xml:"Status,omitempty"` + // example: + // + // InfrequentAccess + StorageType *string `json:"StorageType,omitempty" xml:"StorageType,omitempty"` + Summary *string `json:"Summary,omitempty" xml:"Summary,omitempty"` + TransitRules []*DescribeLifecyclePolicyLogsResponseBodyLifecyclePolicyLogsTransitRules `json:"TransitRules,omitempty" xml:"TransitRules,omitempty" type:"Repeated"` +} + +func (s DescribeLifecyclePolicyLogsResponseBodyLifecyclePolicyLogs) String() string { + return dara.Prettify(s) +} + +func (s DescribeLifecyclePolicyLogsResponseBodyLifecyclePolicyLogs) GoString() string { + return s.String() +} + +func (s *DescribeLifecyclePolicyLogsResponseBodyLifecyclePolicyLogs) GetCreateTime() *string { + return s.CreateTime +} + +func (s *DescribeLifecyclePolicyLogsResponseBodyLifecyclePolicyLogs) GetPaths() []*string { + return s.Paths +} + +func (s *DescribeLifecyclePolicyLogsResponseBodyLifecyclePolicyLogs) GetRetrieveRules() []*DescribeLifecyclePolicyLogsResponseBodyLifecyclePolicyLogsRetrieveRules { + return s.RetrieveRules +} + +func (s *DescribeLifecyclePolicyLogsResponseBodyLifecyclePolicyLogs) GetStatus() *string { + return s.Status +} + +func (s *DescribeLifecyclePolicyLogsResponseBodyLifecyclePolicyLogs) GetStorageType() *string { + return s.StorageType +} + +func (s *DescribeLifecyclePolicyLogsResponseBodyLifecyclePolicyLogs) GetSummary() *string { + return s.Summary +} + +func (s *DescribeLifecyclePolicyLogsResponseBodyLifecyclePolicyLogs) GetTransitRules() []*DescribeLifecyclePolicyLogsResponseBodyLifecyclePolicyLogsTransitRules { + return s.TransitRules +} + +func (s *DescribeLifecyclePolicyLogsResponseBodyLifecyclePolicyLogs) SetCreateTime(v string) *DescribeLifecyclePolicyLogsResponseBodyLifecyclePolicyLogs { + s.CreateTime = &v + return s +} + +func (s *DescribeLifecyclePolicyLogsResponseBodyLifecyclePolicyLogs) SetPaths(v []*string) *DescribeLifecyclePolicyLogsResponseBodyLifecyclePolicyLogs { + s.Paths = v + return s +} + +func (s *DescribeLifecyclePolicyLogsResponseBodyLifecyclePolicyLogs) SetRetrieveRules(v []*DescribeLifecyclePolicyLogsResponseBodyLifecyclePolicyLogsRetrieveRules) *DescribeLifecyclePolicyLogsResponseBodyLifecyclePolicyLogs { + s.RetrieveRules = v + return s +} + +func (s *DescribeLifecyclePolicyLogsResponseBodyLifecyclePolicyLogs) SetStatus(v string) *DescribeLifecyclePolicyLogsResponseBodyLifecyclePolicyLogs { + s.Status = &v + return s +} + +func (s *DescribeLifecyclePolicyLogsResponseBodyLifecyclePolicyLogs) SetStorageType(v string) *DescribeLifecyclePolicyLogsResponseBodyLifecyclePolicyLogs { + s.StorageType = &v + return s +} + +func (s *DescribeLifecyclePolicyLogsResponseBodyLifecyclePolicyLogs) SetSummary(v string) *DescribeLifecyclePolicyLogsResponseBodyLifecyclePolicyLogs { + s.Summary = &v + return s +} + +func (s *DescribeLifecyclePolicyLogsResponseBodyLifecyclePolicyLogs) SetTransitRules(v []*DescribeLifecyclePolicyLogsResponseBodyLifecyclePolicyLogsTransitRules) *DescribeLifecyclePolicyLogsResponseBodyLifecyclePolicyLogs { + s.TransitRules = v + return s +} + +func (s *DescribeLifecyclePolicyLogsResponseBodyLifecyclePolicyLogs) Validate() error { + if s.RetrieveRules != nil { + for _, item := range s.RetrieveRules { + if item != nil { + if err := item.Validate(); err != nil { + return err + } + } + } + } + if s.TransitRules != nil { + for _, item := range s.TransitRules { + if item != nil { + if err := item.Validate(); err != nil { + return err + } + } + } + } + return nil +} + +type DescribeLifecyclePolicyLogsResponseBodyLifecyclePolicyLogsRetrieveRules struct { + // example: + // + // RetrieveType + Attribute *string `json:"Attribute,omitempty" xml:"Attribute,omitempty"` + // example: + // + // All + Threshold *string `json:"Threshold,omitempty" xml:"Threshold,omitempty"` +} + +func (s DescribeLifecyclePolicyLogsResponseBodyLifecyclePolicyLogsRetrieveRules) String() string { + return dara.Prettify(s) +} + +func (s DescribeLifecyclePolicyLogsResponseBodyLifecyclePolicyLogsRetrieveRules) GoString() string { + return s.String() +} + +func (s *DescribeLifecyclePolicyLogsResponseBodyLifecyclePolicyLogsRetrieveRules) GetAttribute() *string { + return s.Attribute +} + +func (s *DescribeLifecyclePolicyLogsResponseBodyLifecyclePolicyLogsRetrieveRules) GetThreshold() *string { + return s.Threshold +} + +func (s *DescribeLifecyclePolicyLogsResponseBodyLifecyclePolicyLogsRetrieveRules) SetAttribute(v string) *DescribeLifecyclePolicyLogsResponseBodyLifecyclePolicyLogsRetrieveRules { + s.Attribute = &v + return s +} + +func (s *DescribeLifecyclePolicyLogsResponseBodyLifecyclePolicyLogsRetrieveRules) SetThreshold(v string) *DescribeLifecyclePolicyLogsResponseBodyLifecyclePolicyLogsRetrieveRules { + s.Threshold = &v + return s +} + +func (s *DescribeLifecyclePolicyLogsResponseBodyLifecyclePolicyLogsRetrieveRules) Validate() error { + return dara.Validate(s) +} + +type DescribeLifecyclePolicyLogsResponseBodyLifecyclePolicyLogsTransitRules struct { + // example: + // + // Atime + Attribute *string `json:"Attribute,omitempty" xml:"Attribute,omitempty"` + // example: + // + // 3 + Threshold *string `json:"Threshold,omitempty" xml:"Threshold,omitempty"` +} + +func (s DescribeLifecyclePolicyLogsResponseBodyLifecyclePolicyLogsTransitRules) String() string { + return dara.Prettify(s) +} + +func (s DescribeLifecyclePolicyLogsResponseBodyLifecyclePolicyLogsTransitRules) GoString() string { + return s.String() +} + +func (s *DescribeLifecyclePolicyLogsResponseBodyLifecyclePolicyLogsTransitRules) GetAttribute() *string { + return s.Attribute +} + +func (s *DescribeLifecyclePolicyLogsResponseBodyLifecyclePolicyLogsTransitRules) GetThreshold() *string { + return s.Threshold +} + +func (s *DescribeLifecyclePolicyLogsResponseBodyLifecyclePolicyLogsTransitRules) SetAttribute(v string) *DescribeLifecyclePolicyLogsResponseBodyLifecyclePolicyLogsTransitRules { + s.Attribute = &v + return s +} + +func (s *DescribeLifecyclePolicyLogsResponseBodyLifecyclePolicyLogsTransitRules) SetThreshold(v string) *DescribeLifecyclePolicyLogsResponseBodyLifecyclePolicyLogsTransitRules { + s.Threshold = &v + return s +} + +func (s *DescribeLifecyclePolicyLogsResponseBodyLifecyclePolicyLogsTransitRules) Validate() error { + return dara.Validate(s) +} diff --git a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_lifecycle_policy_logs_response_model.go b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_lifecycle_policy_logs_response_model.go new file mode 100644 index 0000000000..6a66291e82 --- /dev/null +++ b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_lifecycle_policy_logs_response_model.go @@ -0,0 +1,68 @@ +// This file is auto-generated, don't edit it. Thanks. +package client + +import ( + "github.com/alibabacloud-go/tea/dara" +) + +type iDescribeLifecyclePolicyLogsResponse interface { + dara.Model + String() string + GoString() string + SetHeaders(v map[string]*string) *DescribeLifecyclePolicyLogsResponse + GetHeaders() map[string]*string + SetStatusCode(v int32) *DescribeLifecyclePolicyLogsResponse + GetStatusCode() *int32 + SetBody(v *DescribeLifecyclePolicyLogsResponseBody) *DescribeLifecyclePolicyLogsResponse + GetBody() *DescribeLifecyclePolicyLogsResponseBody +} + +type DescribeLifecyclePolicyLogsResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` + Body *DescribeLifecyclePolicyLogsResponseBody `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s DescribeLifecyclePolicyLogsResponse) String() string { + return dara.Prettify(s) +} + +func (s DescribeLifecyclePolicyLogsResponse) GoString() string { + return s.String() +} + +func (s *DescribeLifecyclePolicyLogsResponse) GetHeaders() map[string]*string { + return s.Headers +} + +func (s *DescribeLifecyclePolicyLogsResponse) GetStatusCode() *int32 { + return s.StatusCode +} + +func (s *DescribeLifecyclePolicyLogsResponse) GetBody() *DescribeLifecyclePolicyLogsResponseBody { + return s.Body +} + +func (s *DescribeLifecyclePolicyLogsResponse) SetHeaders(v map[string]*string) *DescribeLifecyclePolicyLogsResponse { + s.Headers = v + return s +} + +func (s *DescribeLifecyclePolicyLogsResponse) SetStatusCode(v int32) *DescribeLifecyclePolicyLogsResponse { + s.StatusCode = &v + return s +} + +func (s *DescribeLifecyclePolicyLogsResponse) SetBody(v *DescribeLifecyclePolicyLogsResponseBody) *DescribeLifecyclePolicyLogsResponse { + s.Body = v + return s +} + +func (s *DescribeLifecyclePolicyLogsResponse) Validate() error { + if s.Body != nil { + if err := s.Body.Validate(); err != nil { + return err + } + } + return nil +} diff --git a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_log_analysis_response_body_model.go b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_log_analysis_response_body_model.go index 8c49e9e6ee..3e0cac5685 100644 --- a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_log_analysis_response_body_model.go +++ b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_log_analysis_response_body_model.go @@ -24,7 +24,6 @@ type iDescribeLogAnalysisResponseBody interface { } type DescribeLogAnalysisResponseBody struct { - // The collection of log dump information. Analyses *DescribeLogAnalysisResponseBodyAnalyses `json:"Analyses,omitempty" xml:"Analyses,omitempty" type:"Struct"` // The HTTP status code. // @@ -164,13 +163,7 @@ func (s *DescribeLogAnalysisResponseBodyAnalyses) Validate() error { } type DescribeLogAnalysisResponseBodyAnalysesAnalysis struct { - // The ID of the file system. - // - // example: - // - // 0c7154xxxx - MetaKey *string `json:"MetaKey,omitempty" xml:"MetaKey,omitempty"` - // The log dump information of the file system. + MetaKey *string `json:"MetaKey,omitempty" xml:"MetaKey,omitempty"` MetaValue *DescribeLogAnalysisResponseBodyAnalysesAnalysisMetaValue `json:"MetaValue,omitempty" xml:"MetaValue,omitempty" type:"Struct"` } @@ -210,30 +203,10 @@ func (s *DescribeLogAnalysisResponseBodyAnalysesAnalysis) Validate() error { } type DescribeLogAnalysisResponseBodyAnalysesAnalysisMetaValue struct { - // The name of the dedicated Logstore that is used to store NAS operation logs. - // - // example: - // - // nas-nfs Logstore *string `json:"Logstore,omitempty" xml:"Logstore,omitempty"` - // The name of the project where the dedicated Logstore resides. - // - // example: - // - // nas-1746495857602745-cn-hangzhou - Project *string `json:"Project,omitempty" xml:"Project,omitempty"` - // The region where the dedicated Logstore resides. - // - // example: - // - // cn-hangzhou - Region *string `json:"Region,omitempty" xml:"Region,omitempty"` - // The role that is used by NAS to access Simple Log Service. - // - // example: - // - // acs:ram::162165525211xxxx:role/aliyunnaslogarchiverole - RoleArn *string `json:"RoleArn,omitempty" xml:"RoleArn,omitempty"` + Project *string `json:"Project,omitempty" xml:"Project,omitempty"` + Region *string `json:"Region,omitempty" xml:"Region,omitempty"` + RoleArn *string `json:"RoleArn,omitempty" xml:"RoleArn,omitempty"` } func (s DescribeLogAnalysisResponseBodyAnalysesAnalysisMetaValue) String() string { diff --git a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_mount_targets_response_body_model.go b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_mount_targets_response_body_model.go index de54681ddb..f49fbc8586 100644 --- a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_mount_targets_response_body_model.go +++ b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_mount_targets_response_body_model.go @@ -22,7 +22,6 @@ type iDescribeMountTargetsResponseBody interface { } type DescribeMountTargetsResponseBody struct { - // The queried mount targets. MountTargets *DescribeMountTargetsResponseBodyMountTargets `json:"MountTargets,omitempty" xml:"MountTargets,omitempty" type:"Struct"` // The page number. // @@ -147,78 +146,16 @@ func (s *DescribeMountTargetsResponseBodyMountTargets) Validate() error { } type DescribeMountTargetsResponseBodyMountTargetsMountTarget struct { - // The name of the permission group that is attached to the mount target. - // - // example: - // - // DEFAULT_VPC_GROUP_NAME - AccessGroup *string `json:"AccessGroup,omitempty" xml:"AccessGroup,omitempty"` - // The information about client management nodes. - ClientMasterNodes *DescribeMountTargetsResponseBodyMountTargetsMountTargetClientMasterNodes `json:"ClientMasterNodes,omitempty" xml:"ClientMasterNodes,omitempty" type:"Struct"` - // The dual-stack (IPv4 and IPv6) domain name of the mount target. - // - // example: - // - // 1ca404****-x****.dualstack.cn-hangzhou.nas.aliyuncs.com - DualStackMountTargetDomain *string `json:"DualStackMountTargetDomain,omitempty" xml:"DualStackMountTargetDomain,omitempty"` - // The type of the mount target. - // - // - IPv4: an IPv4 mount target - // - // - DualStack: a dual-stack mount target - // - // example: - // - // IPv4 - IPVersion *string `json:"IPVersion,omitempty" xml:"IPVersion,omitempty"` - // The IPv4 domain name of the mount target. - // - // example: - // - // 1ca404****-w****.cn-hangzhou.nas.aliyuncs.com - MountTargetDomain *string `json:"MountTargetDomain,omitempty" xml:"MountTargetDomain,omitempty"` - // The network type. Valid value: **Vpc**. - // - // example: - // - // Vpc - NetworkType *string `json:"NetworkType,omitempty" xml:"NetworkType,omitempty"` - // The status of the mount target. - // - // Valid values: - // - // - Active: The mount target is available. - // - // - Inactive: The mount target is unavailable. - // - // - Pending: The mount target is being created or modified. - // - // - Deleting: The mount target is being deleted. - // - // - Hibernating: The mount target is being hibernated. - // - // - Hibernated: The mount target is hibernated. - // - // > You can mount a file system only when the mount target of the file system is in the Active state. - // - // example: - // - // Active - Status *string `json:"Status,omitempty" xml:"Status,omitempty"` - // An array of tags. The array may contain up to 20 tags. If the array contains multiple tags, each tag key is unique. - Tags *DescribeMountTargetsResponseBodyMountTargetsMountTargetTags `json:"Tags,omitempty" xml:"Tags,omitempty" type:"Struct"` - // The ID of the virtual private cloud (VPC). - // - // example: - // - // vpc-2zesj9afh3y518k9o**** - VpcId *string `json:"VpcId,omitempty" xml:"VpcId,omitempty"` - // The ID of the vSwitch. - // - // example: - // - // vsw-2zevmwkwyztjuoffg**** - VswId *string `json:"VswId,omitempty" xml:"VswId,omitempty"` + AccessGroup *string `json:"AccessGroup,omitempty" xml:"AccessGroup,omitempty"` + ClientMasterNodes *DescribeMountTargetsResponseBodyMountTargetsMountTargetClientMasterNodes `json:"ClientMasterNodes,omitempty" xml:"ClientMasterNodes,omitempty" type:"Struct"` + DualStackMountTargetDomain *string `json:"DualStackMountTargetDomain,omitempty" xml:"DualStackMountTargetDomain,omitempty"` + IPVersion *string `json:"IPVersion,omitempty" xml:"IPVersion,omitempty"` + MountTargetDomain *string `json:"MountTargetDomain,omitempty" xml:"MountTargetDomain,omitempty"` + NetworkType *string `json:"NetworkType,omitempty" xml:"NetworkType,omitempty"` + Status *string `json:"Status,omitempty" xml:"Status,omitempty"` + Tags *DescribeMountTargetsResponseBodyMountTargetsMountTargetTags `json:"Tags,omitempty" xml:"Tags,omitempty" type:"Struct"` + VpcId *string `json:"VpcId,omitempty" xml:"VpcId,omitempty"` + VswId *string `json:"VswId,omitempty" xml:"VswId,omitempty"` } func (s DescribeMountTargetsResponseBodyMountTargetsMountTarget) String() string { @@ -368,24 +305,9 @@ func (s *DescribeMountTargetsResponseBodyMountTargetsMountTargetClientMasterNode } type DescribeMountTargetsResponseBodyMountTargetsMountTargetClientMasterNodesClientMasterNode struct { - // The default logon password of the ECS instance. - // - // example: - // - // 12**** DefaultPasswd *string `json:"DefaultPasswd,omitempty" xml:"DefaultPasswd,omitempty"` - // The ID of the ECS instance on the client management node. - // - // example: - // - // i-hp3i3odi5ory1buo**** - EcsId *string `json:"EcsId,omitempty" xml:"EcsId,omitempty"` - // The IP address of the ECS instance on the client management node. - // - // example: - // - // 192.168.1.0 - EcsIp *string `json:"EcsIp,omitempty" xml:"EcsIp,omitempty"` + EcsId *string `json:"EcsId,omitempty" xml:"EcsId,omitempty"` + EcsIp *string `json:"EcsIp,omitempty" xml:"EcsIp,omitempty"` } func (s DescribeMountTargetsResponseBodyMountTargetsMountTargetClientMasterNodesClientMasterNode) String() string { @@ -462,31 +384,7 @@ func (s *DescribeMountTargetsResponseBodyMountTargetsMountTargetTags) Validate() } type DescribeMountTargetsResponseBodyMountTargetsMountTargetTagsTag struct { - // The tag key. Limits: - // - // - The tag key cannot be null or an empty string. - // - // - The tag key can be up to 128 characters in length. - // - // - The key value cannot start with aliyun or acs:. - // - // - The key value cannot contain http:// or https://. - // - // example: - // - // nastest - Key *string `json:"Key,omitempty" xml:"Key,omitempty"` - // The tag value. - // - // Limits: - // - // - The tag value can be up to 128 characters in length. - // - // - The tag value cannot contain http:// or https://. - // - // example: - // - // mounttargettest + Key *string `json:"Key,omitempty" xml:"Key,omitempty"` Value *string `json:"Value,omitempty" xml:"Value,omitempty"` } diff --git a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_mounted_clients_response_body_model.go b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_mounted_clients_response_body_model.go index 9a430ee866..fd005e389a 100644 --- a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_mounted_clients_response_body_model.go +++ b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_mounted_clients_response_body_model.go @@ -22,7 +22,6 @@ type iDescribeMountedClientsResponseBody interface { } type DescribeMountedClientsResponseBody struct { - // The queried clients. Clients *DescribeMountedClientsResponseBodyClients `json:"Clients,omitempty" xml:"Clients,omitempty" type:"Struct"` // The page number. // @@ -147,11 +146,6 @@ func (s *DescribeMountedClientsResponseBodyClients) Validate() error { } type DescribeMountedClientsResponseBodyClientsClient struct { - // The IP address of the client. - // - // example: - // - // 10.10.10.1 ClientIP *string `json:"ClientIP,omitempty" xml:"ClientIP,omitempty"` } diff --git a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_protocol_mount_target_request_model.go b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_protocol_mount_target_request_model.go index d326cfffd5..10c9bead3d 100644 --- a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_protocol_mount_target_request_model.go +++ b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_protocol_mount_target_request_model.go @@ -60,6 +60,8 @@ type DescribeProtocolMountTargetRequest struct { // // aBcdg== NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"` + // Protocol service ID list + // // example: // // ptc-123xxx @@ -144,19 +146,17 @@ func (s *DescribeProtocolMountTargetRequest) Validate() error { type DescribeProtocolMountTargetRequestFilters struct { // The filter name. // - // - ProtocolServiceIds: filters export directories by protocol service ID. - // - // - ExportIds: filters export directories by export directory ID. + // - ProtocolServiceIds: Filters export directories by protocol service ID. // - // - VpcIds: filters export directories by virtual private cloud (VPC) ID. + // - ExportIds: Filters export directories by export directory ID. // - // - VSwitchIds: filters export directories by vSwitch ID. + // - VpcIds: Filters export directories by VPC ID. // - // - FsetIds: filters export directories by fileset ID. + // - FsetIds: Filters export directories by fileset ID. // - // - Paths: filters export directories based on the path of the file system corresponding to the mount target. + // - Paths: Filters export directories based on the path of the file system corresponding to the mount target. // - // - AccessGroupNames: filters export directories by permission group name. + // - AccessGroupNames: Filters export directories by permission group name. // // example: // diff --git a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_protocol_mount_target_response_body_model.go b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_protocol_mount_target_response_body_model.go index cf29714ea2..13f07042d8 100644 --- a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_protocol_mount_target_response_body_model.go +++ b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_protocol_mount_target_response_body_model.go @@ -148,7 +148,8 @@ type DescribeProtocolMountTargetResponseBodyProtocolMountTargets struct { // example: // // vsw-2vc3c2lybvdllxyq4**** - VSwitchId *string `json:"VSwitchId,omitempty" xml:"VSwitchId,omitempty"` + VSwitchId *string `json:"VSwitchId,omitempty" xml:"VSwitchId,omitempty"` + // A list of IDs for the zone-redundant vSwitches. VSwitchIds []*string `json:"VSwitchIds,omitempty" xml:"VSwitchIds,omitempty" type:"Repeated"` // The VPC ID of the export directory for the protocol service. // diff --git a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_protocol_service_response_body_model.go b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_protocol_service_response_body_model.go index eb5dadaad0..b3b205af25 100644 --- a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_protocol_service_response_body_model.go +++ b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_protocol_service_response_body_model.go @@ -24,7 +24,7 @@ type DescribeProtocolServiceResponseBody struct { // // aBcdeg== NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"` - // The information about protocol services. + // The information about protocol service list. ProtocolServices []*DescribeProtocolServiceResponseBodyProtocolServices `json:"ProtocolServices,omitempty" xml:"ProtocolServices,omitempty" type:"Repeated"` // The request ID. // @@ -193,10 +193,14 @@ type DescribeProtocolServiceResponseBodyProtocolServices struct { // // Running Status *string `json:"Status,omitempty" xml:"Status,omitempty"` + // The VSW ID associated with the protocol service. + // // example: // // vsw-123xxx VSwitchId *string `json:"VSwitchId,omitempty" xml:"VSwitchId,omitempty"` + // The VPC ID associated with the protocol service. + // // example: // // vpc-123xxx diff --git a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_regions_response_body_model.go b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_regions_response_body_model.go index cd2376ba9e..4754b31917 100644 --- a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_regions_response_body_model.go +++ b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_regions_response_body_model.go @@ -33,9 +33,8 @@ type DescribeRegionsResponseBody struct { // example: // // 10 - PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"` - // The queried regions. - Regions *DescribeRegionsResponseBodyRegions `json:"Regions,omitempty" xml:"Regions,omitempty" type:"Struct"` + PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"` + Regions *DescribeRegionsResponseBodyRegions `json:"Regions,omitempty" xml:"Regions,omitempty" type:"Struct"` // The request ID. // // example: @@ -147,24 +146,9 @@ func (s *DescribeRegionsResponseBodyRegions) Validate() error { } type DescribeRegionsResponseBodyRegionsRegion struct { - // The region name. - // - // example: - // - // East China 1 - LocalName *string `json:"LocalName,omitempty" xml:"LocalName,omitempty"` - // The endpoint for the region. - // - // example: - // - // nas.cn-hangzhou.aliyuncs.com + LocalName *string `json:"LocalName,omitempty" xml:"LocalName,omitempty"` RegionEndpoint *string `json:"RegionEndpoint,omitempty" xml:"RegionEndpoint,omitempty"` - // The region ID. - // - // example: - // - // cn-hangzhou - RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"` + RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"` } func (s DescribeRegionsResponseBodyRegionsRegion) String() string { diff --git a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_snapshots_response_body_model.go b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_snapshots_response_body_model.go index d814cf50e8..4a5282fcbf 100644 --- a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_snapshots_response_body_model.go +++ b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_snapshots_response_body_model.go @@ -39,8 +39,7 @@ type DescribeSnapshotsResponseBody struct { // example: // // 473469C7-AA6F-4DC5-B3DB-A3DC0DE3**** - RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` - // The details about snapshots. + RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` Snapshots *DescribeSnapshotsResponseBodySnapshots `json:"Snapshots,omitempty" xml:"Snapshots,omitempty" type:"Struct"` // The total number of snapshots returned. // @@ -147,136 +146,21 @@ func (s *DescribeSnapshotsResponseBodySnapshots) Validate() error { } type DescribeSnapshotsResponseBodySnapshotsSnapshot struct { - // The time when snapshot creation was complete. - // - // The time follows the [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) standard in UTC. The time is displayed in the `yyyy-MM-ddThh:mmZ` format. - // - // > This parameter is valid only when the snapshot is created. During snapshot creation, the value of this parameter is the same as that of CreateTime. - // - // example: - // - // 2014-07-24T13:10:52Z - CompletedTime *string `json:"CompletedTime,omitempty" xml:"CompletedTime,omitempty"` - // The time when the snapshot was created. - // - // The time follows the [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) standard in UTC. The time is displayed in the `yyyy-MM-ddThh:mmZ` format. - // - // example: - // - // 2014-07-24T13:00:52Z - CreateTime *string `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"` - // The description of the snapshot. - // - // example: - // - // FinanceDept - Description *string `json:"Description,omitempty" xml:"Description,omitempty"` - // Indicates whether the snapshot is encrypted. - // - // Valid values: - // - // - 0: The snapshot is not encrypted. - // - // - 1: The snapshot is encrypted. - // - // example: - // - // 1 - EncryptType *int32 `json:"EncryptType,omitempty" xml:"EncryptType,omitempty"` - // The type of the file system. - // - // example: - // - // extreme - FileSystemType *string `json:"FileSystemType,omitempty" xml:"FileSystemType,omitempty"` - // The progress of the snapshot creation. The value of this parameter is expressed as a percentage. - // - // example: - // - // 100 - Progress *string `json:"Progress,omitempty" xml:"Progress,omitempty"` - // The remaining time that is required to create the snapshot. - // - // Unit: seconds. - // - // example: - // - // 38 - RemainTime *int32 `json:"RemainTime,omitempty" xml:"RemainTime,omitempty"` - // The retention period of the auto snapshot. - // - // Unit: days. - // - // Valid values: - // - // - \\-1: Auto snapshots are permanently retained. After the number of auto snapshots exceeds the upper limit, the earliest auto snapshot is automatically deleted. - // - // - 1 to 65536: Auto snapshots are retained for the specified days. After the retention period of auto snapshots expires, the auto snapshots are automatically deleted. - // - // example: - // - // 30 - RetentionDays *int32 `json:"RetentionDays,omitempty" xml:"RetentionDays,omitempty"` - // The snapshot ID. - // - // example: - // - // s-extreme-snapsho**** - SnapshotId *string `json:"SnapshotId,omitempty" xml:"SnapshotId,omitempty"` - // The snapshot name. - // - // If you specify a name to create a snapshot, the name of the snapshot is returned. Otherwise, no value is returned for this parameter. - // - // example: - // - // FinanceJoshua - SnapshotName *string `json:"SnapshotName,omitempty" xml:"SnapshotName,omitempty"` - // The snapshot type. Valid values: - // - // - auto: automatically created snapshots - // - // - user: manually created snapshots - // - // example: - // - // user - SnapshotType *string `json:"SnapshotType,omitempty" xml:"SnapshotType,omitempty"` - // The ID of the source file system. - // - // This parameter is retained even if the source file system of the snapshot is deleted. - // - // example: - // - // extreme-012**** - SourceFileSystemId *string `json:"SourceFileSystemId,omitempty" xml:"SourceFileSystemId,omitempty"` - // The capacity of the source file system. - // - // Unit: GiB. - // - // example: - // - // 2000 - SourceFileSystemSize *int64 `json:"SourceFileSystemSize,omitempty" xml:"SourceFileSystemSize,omitempty"` - // The version of the source file system. - // - // example: - // - // 1 + CompletedTime *string `json:"CompletedTime,omitempty" xml:"CompletedTime,omitempty"` + CreateTime *string `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"` + Description *string `json:"Description,omitempty" xml:"Description,omitempty"` + EncryptType *int32 `json:"EncryptType,omitempty" xml:"EncryptType,omitempty"` + FileSystemType *string `json:"FileSystemType,omitempty" xml:"FileSystemType,omitempty"` + Progress *string `json:"Progress,omitempty" xml:"Progress,omitempty"` + RemainTime *int32 `json:"RemainTime,omitempty" xml:"RemainTime,omitempty"` + RetentionDays *int32 `json:"RetentionDays,omitempty" xml:"RetentionDays,omitempty"` + SnapshotId *string `json:"SnapshotId,omitempty" xml:"SnapshotId,omitempty"` + SnapshotName *string `json:"SnapshotName,omitempty" xml:"SnapshotName,omitempty"` + SnapshotType *string `json:"SnapshotType,omitempty" xml:"SnapshotType,omitempty"` + SourceFileSystemId *string `json:"SourceFileSystemId,omitempty" xml:"SourceFileSystemId,omitempty"` + SourceFileSystemSize *int64 `json:"SourceFileSystemSize,omitempty" xml:"SourceFileSystemSize,omitempty"` SourceFileSystemVersion *string `json:"SourceFileSystemVersion,omitempty" xml:"SourceFileSystemVersion,omitempty"` - // The status of the snapshot. - // - // Valid values: - // - // - progressing: The snapshot is being created. - // - // - accomplished: The snapshot is created. - // - // - failed: The snapshot fails to be created. - // - // example: - // - // accomplished - Status *string `json:"Status,omitempty" xml:"Status,omitempty"` + Status *string `json:"Status,omitempty" xml:"Status,omitempty"` } func (s DescribeSnapshotsResponseBodySnapshotsSnapshot) String() string { diff --git a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_storage_packages_response_body_model.go b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_storage_packages_response_body_model.go index e7ff01f09a..cab05ddc2c 100644 --- a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_storage_packages_response_body_model.go +++ b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_storage_packages_response_body_model.go @@ -22,7 +22,6 @@ type iDescribeStoragePackagesResponseBody interface { } type DescribeStoragePackagesResponseBody struct { - // The list of storage plans. Packages *DescribeStoragePackagesResponseBodyPackages `json:"Packages,omitempty" xml:"Packages,omitempty" type:"Struct"` // The page number of the returned page. // @@ -147,62 +146,13 @@ func (s *DescribeStoragePackagesResponseBodyPackages) Validate() error { } type DescribeStoragePackagesResponseBodyPackagesPackage struct { - // The end time of the validity period for the storage plan. - // - // example: - // - // 2020-01-05T16:00:00Z - ExpiredTime *string `json:"ExpiredTime,omitempty" xml:"ExpiredTime,omitempty"` - // The ID of the file system that is bound to the storage plan. - // - // example: - // - // 109c****66 + ExpiredTime *string `json:"ExpiredTime,omitempty" xml:"ExpiredTime,omitempty"` FileSystemId *string `json:"FileSystemId,omitempty" xml:"FileSystemId,omitempty"` - // The ID of the storage plan. - // - // example: - // - // naspackage-@string(\\"*****\\", *)-@string(\\"*****\\", *) - PackageId *string `json:"PackageId,omitempty" xml:"PackageId,omitempty"` - // The capacity of the storage plan. - // - // Unit: bytes. - // - // example: - // - // 10 - Size *int64 `json:"Size,omitempty" xml:"Size,omitempty"` - // The start time of the validity period for the storage plan. - // - // example: - // - // 2019-12-05T01:40:56Z - StartTime *string `json:"StartTime,omitempty" xml:"StartTime,omitempty"` - // The status of the storage plan. - // - // Valid values: - // - // - free: The storage plan is not bound to a file system. You can bind the storage plan to a file system of the same storage type. - // - // - bound: The storage plan is bound to a file system. - // - // example: - // - // free - Status *string `json:"Status,omitempty" xml:"Status,omitempty"` - // The type of the storage plan. - // - // Valid values: - // - // - Performance - // - // - Capacity - // - // example: - // - // Capacity - StorageType *string `json:"StorageType,omitempty" xml:"StorageType,omitempty"` + PackageId *string `json:"PackageId,omitempty" xml:"PackageId,omitempty"` + Size *int64 `json:"Size,omitempty" xml:"Size,omitempty"` + StartTime *string `json:"StartTime,omitempty" xml:"StartTime,omitempty"` + Status *string `json:"Status,omitempty" xml:"Status,omitempty"` + StorageType *string `json:"StorageType,omitempty" xml:"StorageType,omitempty"` } func (s DescribeStoragePackagesResponseBodyPackagesPackage) String() string { diff --git a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_zones_response_body_model.go b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_zones_response_body_model.go index 106392fb20..392d44ee44 100644 --- a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_zones_response_body_model.go +++ b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/describe_zones_response_body_model.go @@ -21,9 +21,8 @@ type DescribeZonesResponseBody struct { // example: // // A70BEE5D-76D3-49FB-B58F-1F398211**** - RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` - // The queried zones. - Zones *DescribeZonesResponseBodyZones `json:"Zones,omitempty" xml:"Zones,omitempty" type:"Struct"` + RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` + Zones *DescribeZonesResponseBodyZones `json:"Zones,omitempty" xml:"Zones,omitempty" type:"Struct"` } func (s DescribeZonesResponseBody) String() string { @@ -96,18 +95,10 @@ func (s *DescribeZonesResponseBodyZones) Validate() error { } type DescribeZonesResponseBodyZonesZone struct { - // This parameter is reserved. You can ignore this parameter. - Capacity *DescribeZonesResponseBodyZonesZoneCapacity `json:"Capacity,omitempty" xml:"Capacity,omitempty" type:"Struct"` - // The details about file system types. + Capacity *DescribeZonesResponseBodyZonesZoneCapacity `json:"Capacity,omitempty" xml:"Capacity,omitempty" type:"Struct"` InstanceTypes *DescribeZonesResponseBodyZonesZoneInstanceTypes `json:"InstanceTypes,omitempty" xml:"InstanceTypes,omitempty" type:"Struct"` - // This parameter is reserved. You can ignore this parameter. - Performance *DescribeZonesResponseBodyZonesZonePerformance `json:"Performance,omitempty" xml:"Performance,omitempty" type:"Struct"` - // The zone ID. - // - // example: - // - // cn-hangzhou-b - ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"` + Performance *DescribeZonesResponseBodyZonesZonePerformance `json:"Performance,omitempty" xml:"Performance,omitempty" type:"Struct"` + ZoneId *string `json:"ZoneId,omitempty" xml:"ZoneId,omitempty"` } func (s DescribeZonesResponseBodyZonesZone) String() string { @@ -233,30 +224,8 @@ func (s *DescribeZonesResponseBodyZonesZoneInstanceTypes) Validate() error { } type DescribeZonesResponseBodyZonesZoneInstanceTypesInstanceType struct { - // The protocol type. - // - // - If the FileSystemType parameter is set to standard, the protocol type is nfs or smb. - // - // - If the FileSystemType parameter is set to extreme, the protocol type is nfs. - // - // - If the FileSystemType parameter is set to cpfs, the protocol type is cpfs. - // - // example: - // - // nfs ProtocolType *string `json:"ProtocolType,omitempty" xml:"ProtocolType,omitempty"` - // The storage type. - // - // - If the FileSystemType parameter is set to standard, the storage type is Performance or Capacity. - // - // - If the FileSystemType parameter is set to extreme, the storage type is standard or advance. - // - // - If the FileSystemType parameter is set to cpfs, the storage type is advance_100 (100 MB/s/TiB baseline) or advance_200 (200 MB/s/TiB baseline). - // - // example: - // - // Capacity - StorageType *string `json:"StorageType,omitempty" xml:"StorageType,omitempty"` + StorageType *string `json:"StorageType,omitempty" xml:"StorageType,omitempty"` } func (s DescribeZonesResponseBodyZonesZoneInstanceTypesInstanceType) String() string { diff --git a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/get_directory_or_file_properties_response_body_model.go b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/get_directory_or_file_properties_response_body_model.go index c325d950b1..5754895f38 100644 --- a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/get_directory_or_file_properties_response_body_model.go +++ b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/get_directory_or_file_properties_response_body_model.go @@ -131,7 +131,9 @@ type GetDirectoryOrFilePropertiesResponseBodyEntry struct { // example: // // file.txt - Name *string `json:"Name,omitempty" xml:"Name,omitempty"` + Name *string `json:"Name,omitempty" xml:"Name,omitempty"` + OfflineDuration *int64 `json:"OfflineDuration,omitempty" xml:"OfflineDuration,omitempty"` + OfflineUnchangedDuration *int64 `json:"OfflineUnchangedDuration,omitempty" xml:"OfflineUnchangedDuration,omitempty"` // The time when the last data retrieval task was run. // // The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. @@ -216,6 +218,14 @@ func (s *GetDirectoryOrFilePropertiesResponseBodyEntry) GetName() *string { return s.Name } +func (s *GetDirectoryOrFilePropertiesResponseBodyEntry) GetOfflineDuration() *int64 { + return s.OfflineDuration +} + +func (s *GetDirectoryOrFilePropertiesResponseBodyEntry) GetOfflineUnchangedDuration() *int64 { + return s.OfflineUnchangedDuration +} + func (s *GetDirectoryOrFilePropertiesResponseBodyEntry) GetRetrieveTime() *string { return s.RetrieveTime } @@ -267,6 +277,16 @@ func (s *GetDirectoryOrFilePropertiesResponseBodyEntry) SetName(v string) *GetDi return s } +func (s *GetDirectoryOrFilePropertiesResponseBodyEntry) SetOfflineDuration(v int64) *GetDirectoryOrFilePropertiesResponseBodyEntry { + s.OfflineDuration = &v + return s +} + +func (s *GetDirectoryOrFilePropertiesResponseBodyEntry) SetOfflineUnchangedDuration(v int64) *GetDirectoryOrFilePropertiesResponseBodyEntry { + s.OfflineUnchangedDuration = &v + return s +} + func (s *GetDirectoryOrFilePropertiesResponseBodyEntry) SetRetrieveTime(v string) *GetDirectoryOrFilePropertiesResponseBodyEntry { s.RetrieveTime = &v return s diff --git a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/get_fileset_request_model.go b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/get_fileset_request_model.go index 549990f0b9..4933b441d3 100644 --- a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/get_fileset_request_model.go +++ b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/get_fileset_request_model.go @@ -16,12 +16,22 @@ type iGetFilesetRequest interface { } type GetFilesetRequest struct { + // The ID of the file system. + // + // - The IDs of CPFS file systems must start with `cpfs-`. Example: cpfs-125487\\*\\*\\*\\*. + // + // - The IDs of CPFS for Lingjun file systems must start with `bmcpfs-`. Example: bmcpfs-0015\\*\\*\\*\\*. + // // This parameter is required. // // example: // // cpfs-099394bd928c**** FileSystemId *string `json:"FileSystemId,omitempty" xml:"FileSystemId,omitempty"` + // The fileset ID. + // + // > This parameter is required for CPFS file systems. + // // This parameter is required. // // example: diff --git a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/get_fileset_response_body_model.go b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/get_fileset_response_body_model.go index 24f18d68d4..2d5de2c95f 100644 --- a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/get_fileset_response_body_model.go +++ b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/get_fileset_response_body_model.go @@ -16,7 +16,10 @@ type iGetFilesetResponseBody interface { } type GetFilesetResponseBody struct { + // The response parameters. Data *GetFilesetResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"` + // The request ID. + // // example: // // BC7C825C-5F65-4B56-BEF6-98C56C7C**** @@ -59,43 +62,94 @@ func (s *GetFilesetResponseBody) Validate() error { } type GetFilesetResponseBodyData struct { + // The time when the fileset was created. + // + // Return format: `yyyy-MM-dd HH:mm:ss` + // // example: // // 2025-11-21 12:49:25 CreateTime *string `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"` + // Specifies whether the fileset is protected from being released through the console or the [DeleteFileset](https://help.aliyun.com/document_detail/2402263.html) operation. + // + // - true: Enables release protection. The fileset cannot be released. + // + // - false (default): Disables release protection. The fileset can be released. + // + // > This parameter can protect filesets only against manual releases, but not against automatic releases. + // // example: // // false DeletionProtection *bool `json:"DeletionProtection,omitempty" xml:"DeletionProtection,omitempty"` + // The description of the fileset. + // // example: // // Description Description *string `json:"Description,omitempty" xml:"Description,omitempty"` + // The usage of the file quantity. + // + // > Only CPFS for LINGJUN V2.7.0 and later support this parameter. + // // example: // // 1024 FileCountUsage *int64 `json:"FileCountUsage,omitempty" xml:"FileCountUsage,omitempty"` + // The ID of the file system. + // + // - The IDs of CPFS file systems must start with `cpfs-`. Example: cpfs-125487\\*\\*\\*\\*. + // + // - The IDs of CPFS for Lingjun file systems must start with `bmcpfs-`. Example: bmcpfs-0015\\*\\*\\*\\*. + // // example: // // cpfs-0244729a8ef8**** FileSystemId *string `json:"FileSystemId,omitempty" xml:"FileSystemId,omitempty"` + // The directory of the fileset in the CPFS file system. + // // example: // // pathtoroot/fset/ FileSystemPath *string `json:"FileSystemPath,omitempty" xml:"FileSystemPath,omitempty"` + // The fileset ID. + // + // > This parameter is required for CPFS file systems. + // // example: // // fset-03250e8fe78d**** - FsetId *string `json:"FsetId,omitempty" xml:"FsetId,omitempty"` - Quota *GetFilesetResponseBodyDataQuota `json:"Quota,omitempty" xml:"Quota,omitempty" type:"Struct"` + FsetId *string `json:"FsetId,omitempty" xml:"FsetId,omitempty"` + // The quota information. + // + // > Only CPFS for Lingjun V2.7.0 and later support this parameter. + Quota *GetFilesetResponseBodyDataQuota `json:"Quota,omitempty" xml:"Quota,omitempty" type:"Struct"` + // The capacity usage. Unit: bytes. + // + // > Only CPFS for Lingjun V2.7.0 and later support this parameter. + // // example: // // 1024 SpaceUsage *int64 `json:"SpaceUsage,omitempty" xml:"SpaceUsage,omitempty"` + // The fileset status. Valid values: + // + // - CREATING: The fileset is being created. + // + // - CREATED: The fileset has been created and is running properly. + // + // - RELEASING: The fileset is being released. + // + // - RELEASED: The fileset has been deleted. + // // example: // // CREATED Status *string `json:"Status,omitempty" xml:"Status,omitempty"` + // The time when the fileset was last updated. + // + // Return format: `yyyy-MM-dd HH:mm:ss` + // // example: // // 2025-11-22 12:49:25 @@ -219,10 +273,24 @@ func (s *GetFilesetResponseBodyData) Validate() error { } type GetFilesetResponseBodyDataQuota struct { + // The file quantity quota. Valid values: + // + // - Minimum value: 10,000. + // + // - Maximum value: 10,000,000,000. + // // example: // // 10001 FileCountLimit *int64 `json:"FileCountLimit,omitempty" xml:"FileCountLimit,omitempty"` + // The total quota capacity limit. Unit: bytes. + // + // Valid values: + // + // - Minimum value: 10,737,418,240 (10 GiB). + // + // - Step size: 1,073,741,824 (1 GiB). + // // example: // // 10,737,418,240 diff --git a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/get_protocol_mount_target_request_model.go b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/get_protocol_mount_target_request_model.go index 61adde6a2a..7a306200c7 100644 --- a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/get_protocol_mount_target_request_model.go +++ b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/get_protocol_mount_target_request_model.go @@ -24,30 +24,54 @@ type iGetProtocolMountTargetRequest interface { } type GetProtocolMountTargetRequest struct { + // A client-generated, case-sensitive token that you can use to ensure the idempotency of the request. The token must be unique for each request. + // + // It must be an ASCII string with a maximum length of 64 characters. For more information, see [How to ensure idempotence](https://help.aliyun.com/document_detail/25693.html). + // + // > If you do not specify this parameter, the system automatically uses the request ID as the client token. The request ID may be different for each request. + // // example: // // 123e4567-e89b-12d3-a456-42665544**** ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"` + // The ID of the export directory for the protocol service. + // // This parameter is required. // // example: // // exp-19abf5beab8d**** ExportId *string `json:"ExportId,omitempty" xml:"ExportId,omitempty"` + // The ID of the file system. + // + // - The IDs of CPFS file systems must start with `cpfs-`. Example: cpfs-125487\\*\\*\\*\\*. + // + // - The IDs of CPFS for Lingjun file systems must start with `bmcpfs-`. Example: bmcpfs-0015\\*\\*\\*\\*. + // + // - The IDs of CPFS SE file systems must start with `cpfsse-`. Example: cpfsse-022c71b134\\*\\*\\*\\*. + // // This parameter is required. // // example: // // cpfs-099394bd928c**** FileSystemId *string `json:"FileSystemId,omitempty" xml:"FileSystemId,omitempty"` + // The number of results for each query. + // + // Valid values: 10 to 100. Default value: 20. + // // example: // // 20 MaxResults *int64 `json:"MaxResults,omitempty" xml:"MaxResults,omitempty"` + // A pagination token. It can be used in the next request to retrieve a new page of results. + // // example: // // M18xMA== NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"` + // The ID of the protocol service. + // // This parameter is required. // // example: diff --git a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/get_protocol_mount_target_response_body_model.go b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/get_protocol_mount_target_response_body_model.go index b5c95584a9..32503f6f79 100644 --- a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/get_protocol_mount_target_response_body_model.go +++ b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/get_protocol_mount_target_response_body_model.go @@ -18,11 +18,16 @@ type iGetProtocolMountTargetResponseBody interface { } type GetProtocolMountTargetResponseBody struct { + // A pagination token. It can be used in the next request to retrieve a new page of results. + // // example: // // M18xMA== - NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"` + NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"` + // Information of the export directory for the protocol service ProtocolMountTarget *GetProtocolMountTargetResponseBodyProtocolMountTarget `json:"ProtocolMountTarget,omitempty" xml:"ProtocolMountTarget,omitempty" type:"Struct"` + // The request ID. + // // example: // // 6299428C-3861-435D-AE54-9B330A00**** @@ -74,46 +79,98 @@ func (s *GetProtocolMountTargetResponseBody) Validate() error { } type GetProtocolMountTargetResponseBodyProtocolMountTarget struct { + // The name of the permission group. + // + // Default permission group: DEFAULT\\\_VPC\\\_GROUP\\\_NAME + // // example: // // DEFAULT_VPC_GROUP_NAME AccessGroupName *string `json:"AccessGroupName,omitempty" xml:"AccessGroupName,omitempty"` + // The time when the export directory was created. Return format: yyyy-MM-dd HH:mm:ss + // // example: // // 2025-12-22 17:49:25 - CreateTime *string `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"` + CreateTime *string `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"` + // The description of the export directory. + // + // example: + // + // The description of the export directory. Description *string `json:"Description,omitempty" xml:"Description,omitempty"` + // The ID of the export directory. + // // example: // // exp-19abf5beab8d**** ExportId *string `json:"ExportId,omitempty" xml:"ExportId,omitempty"` - // Fileset ID。 + // The fileset ID. // // example: // // fset-299b4ca04de8**** FsetId *string `json:"FsetId,omitempty" xml:"FsetId,omitempty"` + // The path of the CPFS directory that was queried. + // + // Format: + // + // - Must be 1 to 1,024 characters in length. + // + // - Must be encoded in UTF-8. + // + // - Must start and end with a forward slash (/). The root directory is `/`. + // // example: // // / Path *string `json:"Path,omitempty" xml:"Path,omitempty"` + // The domain name of the export directory for the protocol service. + // // example: // // cpfs-0229cb80bcc0****-x******.cn-*****.cpfs.aliyuncs.com ProtocolMountTargetDomain *string `json:"ProtocolMountTargetDomain,omitempty" xml:"ProtocolMountTargetDomain,omitempty"` + // The protocol type of the file system. + // + // Valid values: + // + // - NFS: Network File System (NFS) + // + // - SMB: Server Message Block (SMB) + // + // - cpfs: The protocol type supported by the CPFS file system. + // // example: // // NFS ProtocolType *string `json:"ProtocolType,omitempty" xml:"ProtocolType,omitempty"` + // The status of the export directory. Valid values: + // + // - CREATING: The export directory is being created. + // + // - AVAILABLE : The export directory is available. + // + // - MODIFYING: The export directory is being modified. + // + // - DELETING: The export directory is being deleted. + // + // - STOPPING: The export directory is being stopped. + // // example: // // AVAILABLE Status *string `json:"Status,omitempty" xml:"Status,omitempty"` + // The vSwitch ID of the export directory. + // // example: // // vsw-8vb2qjnxs6hiobzve**** - VSwitchId *string `json:"VSwitchId,omitempty" xml:"VSwitchId,omitempty"` + VSwitchId *string `json:"VSwitchId,omitempty" xml:"VSwitchId,omitempty"` + // The vSwitch ID list of the export directory. VSwitchIds []*string `json:"VSwitchIds,omitempty" xml:"VSwitchIds,omitempty" type:"Repeated"` + // The VPC ID of the export directory. + // // example: // // vpc-bp1h5mxoqfuo3xurf**** diff --git a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/list_directories_and_files_response_body_model.go b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/list_directories_and_files_response_body_model.go index 6222e558ef..5302964dab 100644 --- a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/list_directories_and_files_response_body_model.go +++ b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/list_directories_and_files_response_body_model.go @@ -158,7 +158,9 @@ type ListDirectoriesAndFilesResponseBodyEntries struct { // example: // // file.txt - Name *string `json:"Name,omitempty" xml:"Name,omitempty"` + Name *string `json:"Name,omitempty" xml:"Name,omitempty"` + OfflineDuration *int64 `json:"OfflineDuration,omitempty" xml:"OfflineDuration,omitempty"` + OfflineUnchangedDuration *int64 `json:"OfflineUnchangedDuration,omitempty" xml:"OfflineUnchangedDuration,omitempty"` // The ID of the portable account. This parameter is returned and valid only if the value of the ProtocolType parameter is SMB and RAM-based access control is enabled. // // example: @@ -253,6 +255,14 @@ func (s *ListDirectoriesAndFilesResponseBodyEntries) GetName() *string { return s.Name } +func (s *ListDirectoriesAndFilesResponseBodyEntries) GetOfflineDuration() *int64 { + return s.OfflineDuration +} + +func (s *ListDirectoriesAndFilesResponseBodyEntries) GetOfflineUnchangedDuration() *int64 { + return s.OfflineUnchangedDuration +} + func (s *ListDirectoriesAndFilesResponseBodyEntries) GetOwner() *string { return s.Owner } @@ -313,6 +323,16 @@ func (s *ListDirectoriesAndFilesResponseBodyEntries) SetName(v string) *ListDire return s } +func (s *ListDirectoriesAndFilesResponseBodyEntries) SetOfflineDuration(v int64) *ListDirectoriesAndFilesResponseBodyEntries { + s.OfflineDuration = &v + return s +} + +func (s *ListDirectoriesAndFilesResponseBodyEntries) SetOfflineUnchangedDuration(v int64) *ListDirectoriesAndFilesResponseBodyEntries { + s.OfflineUnchangedDuration = &v + return s +} + func (s *ListDirectoriesAndFilesResponseBodyEntries) SetOwner(v string) *ListDirectoriesAndFilesResponseBodyEntries { s.Owner = &v return s diff --git a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/list_tag_resources_response_body_model.go b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/list_tag_resources_response_body_model.go index bf5adc18a6..a8f285af81 100644 --- a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/list_tag_resources_response_body_model.go +++ b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/list_tag_resources_response_body_model.go @@ -29,8 +29,7 @@ type ListTagResourcesResponseBody struct { // example: // // 2D69A58F-345C-4FDE-88E4-BF518948**** - RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` - // The list of resources. + RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` TagResources *ListTagResourcesResponseBodyTagResources `json:"TagResources,omitempty" xml:"TagResources,omitempty" type:"Struct"` } @@ -113,30 +112,10 @@ func (s *ListTagResourcesResponseBodyTagResources) Validate() error { } type ListTagResourcesResponseBodyTagResourcesTagResource struct { - // The resource ID. - // - // example: - // - // i-2zebd226fxed6h4iadhe - ResourceId *string `json:"ResourceId,omitempty" xml:"ResourceId,omitempty"` - // The resource type. - // - // example: - // - // filesystem + ResourceId *string `json:"ResourceId,omitempty" xml:"ResourceId,omitempty"` ResourceType *string `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"` - // The tag key. - // - // example: - // - // test1 - TagKey *string `json:"TagKey,omitempty" xml:"TagKey,omitempty"` - // The tag value. - // - // example: - // - // test - TagValue *string `json:"TagValue,omitempty" xml:"TagValue,omitempty"` + TagKey *string `json:"TagKey,omitempty" xml:"TagKey,omitempty"` + TagValue *string `json:"TagValue,omitempty" xml:"TagValue,omitempty"` } func (s ListTagResourcesResponseBodyTagResourcesTagResource) String() string { diff --git a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/modify_file_system_request_model.go b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/modify_file_system_request_model.go index ac73746d0c..7b63f3270f 100644 --- a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/modify_file_system_request_model.go +++ b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/modify_file_system_request_model.go @@ -95,6 +95,7 @@ func (s *ModifyFileSystemRequest) Validate() error { } type ModifyFileSystemRequestOptions struct { + EnableABE *bool `json:"EnableABE,omitempty" xml:"EnableABE,omitempty"` // Specifies whether to enable the oplock feature. Valid values: // // - true: enables the feature. @@ -117,10 +118,19 @@ func (s ModifyFileSystemRequestOptions) GoString() string { return s.String() } +func (s *ModifyFileSystemRequestOptions) GetEnableABE() *bool { + return s.EnableABE +} + func (s *ModifyFileSystemRequestOptions) GetEnableOplock() *bool { return s.EnableOplock } +func (s *ModifyFileSystemRequestOptions) SetEnableABE(v bool) *ModifyFileSystemRequestOptions { + s.EnableABE = &v + return s +} + func (s *ModifyFileSystemRequestOptions) SetEnableOplock(v bool) *ModifyFileSystemRequestOptions { s.EnableOplock = &v return s diff --git a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/modify_lifecycle_policy_request_model.go b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/modify_lifecycle_policy_request_model.go index 6c4985c6d5..0a36af4548 100644 --- a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/modify_lifecycle_policy_request_model.go +++ b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/modify_lifecycle_policy_request_model.go @@ -11,6 +11,8 @@ type iModifyLifecyclePolicyRequest interface { GoString() string SetFileSystemId(v string) *ModifyLifecyclePolicyRequest GetFileSystemId() *string + SetLifecyclePolicyId(v string) *ModifyLifecyclePolicyRequest + GetLifecyclePolicyId() *string SetLifecyclePolicyName(v string) *ModifyLifecyclePolicyRequest GetLifecyclePolicyName() *string SetLifecycleRuleName(v string) *ModifyLifecyclePolicyRequest @@ -30,12 +32,16 @@ type ModifyLifecyclePolicyRequest struct { // // 31a8e4**** FileSystemId *string `json:"FileSystemId,omitempty" xml:"FileSystemId,omitempty"` + // The ID of the lifecycle policy. + // + // example: + // + // lc-xxx + LifecyclePolicyId *string `json:"LifecyclePolicyId,omitempty" xml:"LifecyclePolicyId,omitempty"` // The name of the lifecycle policy. // // The name must be 3 to 64 characters in length and can contain letters, digits, underscores (_), and hyphens (-). The name must start with a letter. // - // This parameter is required. - // // example: // // lifecyclepolicy_01 @@ -44,13 +50,17 @@ type ModifyLifecyclePolicyRequest struct { // // Valid values: // - // - DEFAULT_ATIME_14: Files that are not accessed in the last 14 days are dumped to the IA storage medium. + // - DEFAULT_ATIME_14: Files not accessed for 14 days. + // + // - DEFAULT_ATIME_30: Files not accessed for 30 days. + // + // - DEFAULT_ATIME_60: Files not accessed for 60 days. // - // - DEFAULT_ATIME_30: Files that are not accessed in the last 30 days are dumped to the IA storage medium. + // - DEFAULT_ATIME_90: Files not accessed for 90 days. // - // - DEFAULT_ATIME_60: Files that are not accessed in the last 60 days are dumped to the IA storage medium. + // - DEFAULT_ATIME_180: Files not accessed for 180 days. DEFAULT_ATIME_180 is supported only when the StorageType parameter is set to Archive. // - // - DEFAULT_ATIME_90: Files that are not accessed in the last 90 days are dumped to the IA storage medium. + // > If an IA policy has already been set for the directory, any subsequent archival policy must have a longer duration than the IA policy. // // example: // @@ -64,9 +74,11 @@ type ModifyLifecyclePolicyRequest struct { // // /pathway/to/folder Path *string `json:"Path,omitempty" xml:"Path,omitempty"` - // The storage type of the data that is dumped to the IA storage medium. + // The storage class. // - // Default value: InfrequentAccess (IA). + // - InfrequentAccess: the Infrequent Access (IA) storage class. + // + // - Archive: the Archive storage class. // // example: // @@ -86,6 +98,10 @@ func (s *ModifyLifecyclePolicyRequest) GetFileSystemId() *string { return s.FileSystemId } +func (s *ModifyLifecyclePolicyRequest) GetLifecyclePolicyId() *string { + return s.LifecyclePolicyId +} + func (s *ModifyLifecyclePolicyRequest) GetLifecyclePolicyName() *string { return s.LifecyclePolicyName } @@ -107,6 +123,11 @@ func (s *ModifyLifecyclePolicyRequest) SetFileSystemId(v string) *ModifyLifecycl return s } +func (s *ModifyLifecyclePolicyRequest) SetLifecyclePolicyId(v string) *ModifyLifecyclePolicyRequest { + s.LifecyclePolicyId = &v + return s +} + func (s *ModifyLifecyclePolicyRequest) SetLifecyclePolicyName(v string) *ModifyLifecyclePolicyRequest { s.LifecyclePolicyName = &v return s diff --git a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/start_lifecycle_policy_execution_request_model.go b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/start_lifecycle_policy_execution_request_model.go new file mode 100644 index 0000000000..591771889e --- /dev/null +++ b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/start_lifecycle_policy_execution_request_model.go @@ -0,0 +1,61 @@ +// This file is auto-generated, don't edit it. Thanks. +package client + +import ( + "github.com/alibabacloud-go/tea/dara" +) + +type iStartLifecyclePolicyExecutionRequest interface { + dara.Model + String() string + GoString() string + SetFileSystemId(v string) *StartLifecyclePolicyExecutionRequest + GetFileSystemId() *string + SetLifecyclePolicyId(v string) *StartLifecyclePolicyExecutionRequest + GetLifecyclePolicyId() *string +} + +type StartLifecyclePolicyExecutionRequest struct { + // This parameter is required. + // + // example: + // + // bmcpfs-0015**** + FileSystemId *string `json:"FileSystemId,omitempty" xml:"FileSystemId,omitempty"` + // This parameter is required. + // + // example: + // + // lc-xxx + LifecyclePolicyId *string `json:"LifecyclePolicyId,omitempty" xml:"LifecyclePolicyId,omitempty"` +} + +func (s StartLifecyclePolicyExecutionRequest) String() string { + return dara.Prettify(s) +} + +func (s StartLifecyclePolicyExecutionRequest) GoString() string { + return s.String() +} + +func (s *StartLifecyclePolicyExecutionRequest) GetFileSystemId() *string { + return s.FileSystemId +} + +func (s *StartLifecyclePolicyExecutionRequest) GetLifecyclePolicyId() *string { + return s.LifecyclePolicyId +} + +func (s *StartLifecyclePolicyExecutionRequest) SetFileSystemId(v string) *StartLifecyclePolicyExecutionRequest { + s.FileSystemId = &v + return s +} + +func (s *StartLifecyclePolicyExecutionRequest) SetLifecyclePolicyId(v string) *StartLifecyclePolicyExecutionRequest { + s.LifecyclePolicyId = &v + return s +} + +func (s *StartLifecyclePolicyExecutionRequest) Validate() error { + return dara.Validate(s) +} diff --git a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/start_lifecycle_policy_execution_response_body_model.go b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/start_lifecycle_policy_execution_response_body_model.go new file mode 100644 index 0000000000..9f753115ad --- /dev/null +++ b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/start_lifecycle_policy_execution_response_body_model.go @@ -0,0 +1,57 @@ +// This file is auto-generated, don't edit it. Thanks. +package client + +import ( + "github.com/alibabacloud-go/tea/dara" +) + +type iStartLifecyclePolicyExecutionResponseBody interface { + dara.Model + String() string + GoString() string + SetRequestId(v string) *StartLifecyclePolicyExecutionResponseBody + GetRequestId() *string + SetSuccess(v bool) *StartLifecyclePolicyExecutionResponseBody + GetSuccess() *bool +} + +type StartLifecyclePolicyExecutionResponseBody struct { + // example: + // + // 70EACC9C-D07A-4A34-ADA4-77506C42**** + RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` + // example: + // + // true + Success *bool `json:"Success,omitempty" xml:"Success,omitempty"` +} + +func (s StartLifecyclePolicyExecutionResponseBody) String() string { + return dara.Prettify(s) +} + +func (s StartLifecyclePolicyExecutionResponseBody) GoString() string { + return s.String() +} + +func (s *StartLifecyclePolicyExecutionResponseBody) GetRequestId() *string { + return s.RequestId +} + +func (s *StartLifecyclePolicyExecutionResponseBody) GetSuccess() *bool { + return s.Success +} + +func (s *StartLifecyclePolicyExecutionResponseBody) SetRequestId(v string) *StartLifecyclePolicyExecutionResponseBody { + s.RequestId = &v + return s +} + +func (s *StartLifecyclePolicyExecutionResponseBody) SetSuccess(v bool) *StartLifecyclePolicyExecutionResponseBody { + s.Success = &v + return s +} + +func (s *StartLifecyclePolicyExecutionResponseBody) Validate() error { + return dara.Validate(s) +} diff --git a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/start_lifecycle_policy_execution_response_model.go b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/start_lifecycle_policy_execution_response_model.go new file mode 100644 index 0000000000..98c8a3e8d7 --- /dev/null +++ b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/start_lifecycle_policy_execution_response_model.go @@ -0,0 +1,68 @@ +// This file is auto-generated, don't edit it. Thanks. +package client + +import ( + "github.com/alibabacloud-go/tea/dara" +) + +type iStartLifecyclePolicyExecutionResponse interface { + dara.Model + String() string + GoString() string + SetHeaders(v map[string]*string) *StartLifecyclePolicyExecutionResponse + GetHeaders() map[string]*string + SetStatusCode(v int32) *StartLifecyclePolicyExecutionResponse + GetStatusCode() *int32 + SetBody(v *StartLifecyclePolicyExecutionResponseBody) *StartLifecyclePolicyExecutionResponse + GetBody() *StartLifecyclePolicyExecutionResponseBody +} + +type StartLifecyclePolicyExecutionResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` + Body *StartLifecyclePolicyExecutionResponseBody `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s StartLifecyclePolicyExecutionResponse) String() string { + return dara.Prettify(s) +} + +func (s StartLifecyclePolicyExecutionResponse) GoString() string { + return s.String() +} + +func (s *StartLifecyclePolicyExecutionResponse) GetHeaders() map[string]*string { + return s.Headers +} + +func (s *StartLifecyclePolicyExecutionResponse) GetStatusCode() *int32 { + return s.StatusCode +} + +func (s *StartLifecyclePolicyExecutionResponse) GetBody() *StartLifecyclePolicyExecutionResponseBody { + return s.Body +} + +func (s *StartLifecyclePolicyExecutionResponse) SetHeaders(v map[string]*string) *StartLifecyclePolicyExecutionResponse { + s.Headers = v + return s +} + +func (s *StartLifecyclePolicyExecutionResponse) SetStatusCode(v int32) *StartLifecyclePolicyExecutionResponse { + s.StatusCode = &v + return s +} + +func (s *StartLifecyclePolicyExecutionResponse) SetBody(v *StartLifecyclePolicyExecutionResponseBody) *StartLifecyclePolicyExecutionResponse { + s.Body = v + return s +} + +func (s *StartLifecyclePolicyExecutionResponse) Validate() error { + if s.Body != nil { + if err := s.Body.Validate(); err != nil { + return err + } + } + return nil +} diff --git a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/stop_lifecycle_policy_execution_request_model.go b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/stop_lifecycle_policy_execution_request_model.go new file mode 100644 index 0000000000..c6c39c2a0b --- /dev/null +++ b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/stop_lifecycle_policy_execution_request_model.go @@ -0,0 +1,61 @@ +// This file is auto-generated, don't edit it. Thanks. +package client + +import ( + "github.com/alibabacloud-go/tea/dara" +) + +type iStopLifecyclePolicyExecutionRequest interface { + dara.Model + String() string + GoString() string + SetFileSystemId(v string) *StopLifecyclePolicyExecutionRequest + GetFileSystemId() *string + SetLifecyclePolicyId(v string) *StopLifecyclePolicyExecutionRequest + GetLifecyclePolicyId() *string +} + +type StopLifecyclePolicyExecutionRequest struct { + // This parameter is required. + // + // example: + // + // bmcpfs-290w65p03ok64ya**** + FileSystemId *string `json:"FileSystemId,omitempty" xml:"FileSystemId,omitempty"` + // This parameter is required. + // + // example: + // + // lc-xxx + LifecyclePolicyId *string `json:"LifecyclePolicyId,omitempty" xml:"LifecyclePolicyId,omitempty"` +} + +func (s StopLifecyclePolicyExecutionRequest) String() string { + return dara.Prettify(s) +} + +func (s StopLifecyclePolicyExecutionRequest) GoString() string { + return s.String() +} + +func (s *StopLifecyclePolicyExecutionRequest) GetFileSystemId() *string { + return s.FileSystemId +} + +func (s *StopLifecyclePolicyExecutionRequest) GetLifecyclePolicyId() *string { + return s.LifecyclePolicyId +} + +func (s *StopLifecyclePolicyExecutionRequest) SetFileSystemId(v string) *StopLifecyclePolicyExecutionRequest { + s.FileSystemId = &v + return s +} + +func (s *StopLifecyclePolicyExecutionRequest) SetLifecyclePolicyId(v string) *StopLifecyclePolicyExecutionRequest { + s.LifecyclePolicyId = &v + return s +} + +func (s *StopLifecyclePolicyExecutionRequest) Validate() error { + return dara.Validate(s) +} diff --git a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/stop_lifecycle_policy_execution_response_body_model.go b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/stop_lifecycle_policy_execution_response_body_model.go new file mode 100644 index 0000000000..3bf5c283d6 --- /dev/null +++ b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/stop_lifecycle_policy_execution_response_body_model.go @@ -0,0 +1,57 @@ +// This file is auto-generated, don't edit it. Thanks. +package client + +import ( + "github.com/alibabacloud-go/tea/dara" +) + +type iStopLifecyclePolicyExecutionResponseBody interface { + dara.Model + String() string + GoString() string + SetRequestId(v string) *StopLifecyclePolicyExecutionResponseBody + GetRequestId() *string + SetSuccess(v bool) *StopLifecyclePolicyExecutionResponseBody + GetSuccess() *bool +} + +type StopLifecyclePolicyExecutionResponseBody struct { + // example: + // + // 98696EF0-1607-4E9D-B01D-F20930B6**** + RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` + // example: + // + // true + Success *bool `json:"Success,omitempty" xml:"Success,omitempty"` +} + +func (s StopLifecyclePolicyExecutionResponseBody) String() string { + return dara.Prettify(s) +} + +func (s StopLifecyclePolicyExecutionResponseBody) GoString() string { + return s.String() +} + +func (s *StopLifecyclePolicyExecutionResponseBody) GetRequestId() *string { + return s.RequestId +} + +func (s *StopLifecyclePolicyExecutionResponseBody) GetSuccess() *bool { + return s.Success +} + +func (s *StopLifecyclePolicyExecutionResponseBody) SetRequestId(v string) *StopLifecyclePolicyExecutionResponseBody { + s.RequestId = &v + return s +} + +func (s *StopLifecyclePolicyExecutionResponseBody) SetSuccess(v bool) *StopLifecyclePolicyExecutionResponseBody { + s.Success = &v + return s +} + +func (s *StopLifecyclePolicyExecutionResponseBody) Validate() error { + return dara.Validate(s) +} diff --git a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/stop_lifecycle_policy_execution_response_model.go b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/stop_lifecycle_policy_execution_response_model.go new file mode 100644 index 0000000000..ba9a0cf3b3 --- /dev/null +++ b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/stop_lifecycle_policy_execution_response_model.go @@ -0,0 +1,68 @@ +// This file is auto-generated, don't edit it. Thanks. +package client + +import ( + "github.com/alibabacloud-go/tea/dara" +) + +type iStopLifecyclePolicyExecutionResponse interface { + dara.Model + String() string + GoString() string + SetHeaders(v map[string]*string) *StopLifecyclePolicyExecutionResponse + GetHeaders() map[string]*string + SetStatusCode(v int32) *StopLifecyclePolicyExecutionResponse + GetStatusCode() *int32 + SetBody(v *StopLifecyclePolicyExecutionResponseBody) *StopLifecyclePolicyExecutionResponse + GetBody() *StopLifecyclePolicyExecutionResponseBody +} + +type StopLifecyclePolicyExecutionResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` + Body *StopLifecyclePolicyExecutionResponseBody `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s StopLifecyclePolicyExecutionResponse) String() string { + return dara.Prettify(s) +} + +func (s StopLifecyclePolicyExecutionResponse) GoString() string { + return s.String() +} + +func (s *StopLifecyclePolicyExecutionResponse) GetHeaders() map[string]*string { + return s.Headers +} + +func (s *StopLifecyclePolicyExecutionResponse) GetStatusCode() *int32 { + return s.StatusCode +} + +func (s *StopLifecyclePolicyExecutionResponse) GetBody() *StopLifecyclePolicyExecutionResponseBody { + return s.Body +} + +func (s *StopLifecyclePolicyExecutionResponse) SetHeaders(v map[string]*string) *StopLifecyclePolicyExecutionResponse { + s.Headers = v + return s +} + +func (s *StopLifecyclePolicyExecutionResponse) SetStatusCode(v int32) *StopLifecyclePolicyExecutionResponse { + s.StatusCode = &v + return s +} + +func (s *StopLifecyclePolicyExecutionResponse) SetBody(v *StopLifecyclePolicyExecutionResponseBody) *StopLifecyclePolicyExecutionResponse { + s.Body = v + return s +} + +func (s *StopLifecyclePolicyExecutionResponse) Validate() error { + if s.Body != nil { + if err := s.Body.Validate(); err != nil { + return err + } + } + return nil +} diff --git a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/update_lifecycle_policy_request_model.go b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/update_lifecycle_policy_request_model.go new file mode 100644 index 0000000000..f2c891474f --- /dev/null +++ b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/update_lifecycle_policy_request_model.go @@ -0,0 +1,227 @@ +// This file is auto-generated, don't edit it. Thanks. +package client + +import ( + "github.com/alibabacloud-go/tea/dara" +) + +type iUpdateLifecyclePolicyRequest interface { + dara.Model + String() string + GoString() string + SetDescription(v string) *UpdateLifecyclePolicyRequest + GetDescription() *string + SetFileSystemId(v string) *UpdateLifecyclePolicyRequest + GetFileSystemId() *string + SetLifecyclePolicyId(v string) *UpdateLifecyclePolicyRequest + GetLifecyclePolicyId() *string + SetPaths(v []*string) *UpdateLifecyclePolicyRequest + GetPaths() []*string + SetRetrieveRules(v []*UpdateLifecyclePolicyRequestRetrieveRules) *UpdateLifecyclePolicyRequest + GetRetrieveRules() []*UpdateLifecyclePolicyRequestRetrieveRules + SetStorageType(v string) *UpdateLifecyclePolicyRequest + GetStorageType() *string + SetTransitRules(v []*UpdateLifecyclePolicyRequestTransitRules) *UpdateLifecyclePolicyRequest + GetTransitRules() []*UpdateLifecyclePolicyRequestTransitRules +} + +type UpdateLifecyclePolicyRequest struct { + // example: + // + // Lifecycle policy description + Description *string `json:"Description,omitempty" xml:"Description,omitempty"` + // This parameter is required. + // + // example: + // + // bmcpfs-290w65p03ok64y***** + FileSystemId *string `json:"FileSystemId,omitempty" xml:"FileSystemId,omitempty"` + // This parameter is required. + // + // example: + // + // lsp-bp1234567890ab**** + LifecyclePolicyId *string `json:"LifecyclePolicyId,omitempty" xml:"LifecyclePolicyId,omitempty"` + Paths []*string `json:"Paths,omitempty" xml:"Paths,omitempty" type:"Repeated"` + RetrieveRules []*UpdateLifecyclePolicyRequestRetrieveRules `json:"RetrieveRules,omitempty" xml:"RetrieveRules,omitempty" type:"Repeated"` + // example: + // + // InfrequentAccess + StorageType *string `json:"StorageType,omitempty" xml:"StorageType,omitempty"` + TransitRules []*UpdateLifecyclePolicyRequestTransitRules `json:"TransitRules,omitempty" xml:"TransitRules,omitempty" type:"Repeated"` +} + +func (s UpdateLifecyclePolicyRequest) String() string { + return dara.Prettify(s) +} + +func (s UpdateLifecyclePolicyRequest) GoString() string { + return s.String() +} + +func (s *UpdateLifecyclePolicyRequest) GetDescription() *string { + return s.Description +} + +func (s *UpdateLifecyclePolicyRequest) GetFileSystemId() *string { + return s.FileSystemId +} + +func (s *UpdateLifecyclePolicyRequest) GetLifecyclePolicyId() *string { + return s.LifecyclePolicyId +} + +func (s *UpdateLifecyclePolicyRequest) GetPaths() []*string { + return s.Paths +} + +func (s *UpdateLifecyclePolicyRequest) GetRetrieveRules() []*UpdateLifecyclePolicyRequestRetrieveRules { + return s.RetrieveRules +} + +func (s *UpdateLifecyclePolicyRequest) GetStorageType() *string { + return s.StorageType +} + +func (s *UpdateLifecyclePolicyRequest) GetTransitRules() []*UpdateLifecyclePolicyRequestTransitRules { + return s.TransitRules +} + +func (s *UpdateLifecyclePolicyRequest) SetDescription(v string) *UpdateLifecyclePolicyRequest { + s.Description = &v + return s +} + +func (s *UpdateLifecyclePolicyRequest) SetFileSystemId(v string) *UpdateLifecyclePolicyRequest { + s.FileSystemId = &v + return s +} + +func (s *UpdateLifecyclePolicyRequest) SetLifecyclePolicyId(v string) *UpdateLifecyclePolicyRequest { + s.LifecyclePolicyId = &v + return s +} + +func (s *UpdateLifecyclePolicyRequest) SetPaths(v []*string) *UpdateLifecyclePolicyRequest { + s.Paths = v + return s +} + +func (s *UpdateLifecyclePolicyRequest) SetRetrieveRules(v []*UpdateLifecyclePolicyRequestRetrieveRules) *UpdateLifecyclePolicyRequest { + s.RetrieveRules = v + return s +} + +func (s *UpdateLifecyclePolicyRequest) SetStorageType(v string) *UpdateLifecyclePolicyRequest { + s.StorageType = &v + return s +} + +func (s *UpdateLifecyclePolicyRequest) SetTransitRules(v []*UpdateLifecyclePolicyRequestTransitRules) *UpdateLifecyclePolicyRequest { + s.TransitRules = v + return s +} + +func (s *UpdateLifecyclePolicyRequest) Validate() error { + if s.RetrieveRules != nil { + for _, item := range s.RetrieveRules { + if item != nil { + if err := item.Validate(); err != nil { + return err + } + } + } + } + if s.TransitRules != nil { + for _, item := range s.TransitRules { + if item != nil { + if err := item.Validate(); err != nil { + return err + } + } + } + } + return nil +} + +type UpdateLifecyclePolicyRequestRetrieveRules struct { + // example: + // + // RetrieveType + Attribute *string `json:"Attribute,omitempty" xml:"Attribute,omitempty"` + // example: + // + // All + Threshold *string `json:"Threshold,omitempty" xml:"Threshold,omitempty"` +} + +func (s UpdateLifecyclePolicyRequestRetrieveRules) String() string { + return dara.Prettify(s) +} + +func (s UpdateLifecyclePolicyRequestRetrieveRules) GoString() string { + return s.String() +} + +func (s *UpdateLifecyclePolicyRequestRetrieveRules) GetAttribute() *string { + return s.Attribute +} + +func (s *UpdateLifecyclePolicyRequestRetrieveRules) GetThreshold() *string { + return s.Threshold +} + +func (s *UpdateLifecyclePolicyRequestRetrieveRules) SetAttribute(v string) *UpdateLifecyclePolicyRequestRetrieveRules { + s.Attribute = &v + return s +} + +func (s *UpdateLifecyclePolicyRequestRetrieveRules) SetThreshold(v string) *UpdateLifecyclePolicyRequestRetrieveRules { + s.Threshold = &v + return s +} + +func (s *UpdateLifecyclePolicyRequestRetrieveRules) Validate() error { + return dara.Validate(s) +} + +type UpdateLifecyclePolicyRequestTransitRules struct { + // example: + // + // Atime + Attribute *string `json:"Attribute,omitempty" xml:"Attribute,omitempty"` + // example: + // + // 3 + Threshold *string `json:"Threshold,omitempty" xml:"Threshold,omitempty"` +} + +func (s UpdateLifecyclePolicyRequestTransitRules) String() string { + return dara.Prettify(s) +} + +func (s UpdateLifecyclePolicyRequestTransitRules) GoString() string { + return s.String() +} + +func (s *UpdateLifecyclePolicyRequestTransitRules) GetAttribute() *string { + return s.Attribute +} + +func (s *UpdateLifecyclePolicyRequestTransitRules) GetThreshold() *string { + return s.Threshold +} + +func (s *UpdateLifecyclePolicyRequestTransitRules) SetAttribute(v string) *UpdateLifecyclePolicyRequestTransitRules { + s.Attribute = &v + return s +} + +func (s *UpdateLifecyclePolicyRequestTransitRules) SetThreshold(v string) *UpdateLifecyclePolicyRequestTransitRules { + s.Threshold = &v + return s +} + +func (s *UpdateLifecyclePolicyRequestTransitRules) Validate() error { + return dara.Validate(s) +} diff --git a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/update_lifecycle_policy_response_body_model.go b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/update_lifecycle_policy_response_body_model.go new file mode 100644 index 0000000000..71b8a95b12 --- /dev/null +++ b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/update_lifecycle_policy_response_body_model.go @@ -0,0 +1,57 @@ +// This file is auto-generated, don't edit it. Thanks. +package client + +import ( + "github.com/alibabacloud-go/tea/dara" +) + +type iUpdateLifecyclePolicyResponseBody interface { + dara.Model + String() string + GoString() string + SetRequestId(v string) *UpdateLifecyclePolicyResponseBody + GetRequestId() *string + SetSuccess(v bool) *UpdateLifecyclePolicyResponseBody + GetSuccess() *bool +} + +type UpdateLifecyclePolicyResponseBody struct { + // example: + // + // 98696EF0-1607-4E9D-B01D-F20930B6**** + RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` + // example: + // + // true + Success *bool `json:"Success,omitempty" xml:"Success,omitempty"` +} + +func (s UpdateLifecyclePolicyResponseBody) String() string { + return dara.Prettify(s) +} + +func (s UpdateLifecyclePolicyResponseBody) GoString() string { + return s.String() +} + +func (s *UpdateLifecyclePolicyResponseBody) GetRequestId() *string { + return s.RequestId +} + +func (s *UpdateLifecyclePolicyResponseBody) GetSuccess() *bool { + return s.Success +} + +func (s *UpdateLifecyclePolicyResponseBody) SetRequestId(v string) *UpdateLifecyclePolicyResponseBody { + s.RequestId = &v + return s +} + +func (s *UpdateLifecyclePolicyResponseBody) SetSuccess(v bool) *UpdateLifecyclePolicyResponseBody { + s.Success = &v + return s +} + +func (s *UpdateLifecyclePolicyResponseBody) Validate() error { + return dara.Validate(s) +} diff --git a/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/update_lifecycle_policy_response_model.go b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/update_lifecycle_policy_response_model.go new file mode 100644 index 0000000000..05e354fbad --- /dev/null +++ b/vendor/github.com/alibabacloud-go/nas-20170626/v4/client/update_lifecycle_policy_response_model.go @@ -0,0 +1,68 @@ +// This file is auto-generated, don't edit it. Thanks. +package client + +import ( + "github.com/alibabacloud-go/tea/dara" +) + +type iUpdateLifecyclePolicyResponse interface { + dara.Model + String() string + GoString() string + SetHeaders(v map[string]*string) *UpdateLifecyclePolicyResponse + GetHeaders() map[string]*string + SetStatusCode(v int32) *UpdateLifecyclePolicyResponse + GetStatusCode() *int32 + SetBody(v *UpdateLifecyclePolicyResponseBody) *UpdateLifecyclePolicyResponse + GetBody() *UpdateLifecyclePolicyResponseBody +} + +type UpdateLifecyclePolicyResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` + Body *UpdateLifecyclePolicyResponseBody `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s UpdateLifecyclePolicyResponse) String() string { + return dara.Prettify(s) +} + +func (s UpdateLifecyclePolicyResponse) GoString() string { + return s.String() +} + +func (s *UpdateLifecyclePolicyResponse) GetHeaders() map[string]*string { + return s.Headers +} + +func (s *UpdateLifecyclePolicyResponse) GetStatusCode() *int32 { + return s.StatusCode +} + +func (s *UpdateLifecyclePolicyResponse) GetBody() *UpdateLifecyclePolicyResponseBody { + return s.Body +} + +func (s *UpdateLifecyclePolicyResponse) SetHeaders(v map[string]*string) *UpdateLifecyclePolicyResponse { + s.Headers = v + return s +} + +func (s *UpdateLifecyclePolicyResponse) SetStatusCode(v int32) *UpdateLifecyclePolicyResponse { + s.StatusCode = &v + return s +} + +func (s *UpdateLifecyclePolicyResponse) SetBody(v *UpdateLifecyclePolicyResponseBody) *UpdateLifecyclePolicyResponse { + s.Body = v + return s +} + +func (s *UpdateLifecyclePolicyResponse) Validate() error { + if s.Body != nil { + if err := s.Body.Validate(); err != nil { + return err + } + } + return nil +} diff --git a/vendor/modules.txt b/vendor/modules.txt index 02e56baef9..2898ac5a5c 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -4,7 +4,7 @@ github.com/alibabacloud-go/alibabacloud-gateway-spi/client # github.com/alibabacloud-go/darabonba-openapi v0.1.16 ## explicit; go 1.14 github.com/alibabacloud-go/darabonba-openapi/client -# github.com/alibabacloud-go/darabonba-openapi/v2 v2.1.13 +# github.com/alibabacloud-go/darabonba-openapi/v2 v2.1.14 ## explicit; go 1.14 github.com/alibabacloud-go/darabonba-openapi/v2/client github.com/alibabacloud-go/darabonba-openapi/v2/models @@ -24,7 +24,7 @@ github.com/alibabacloud-go/endpoint-util/service # github.com/alibabacloud-go/ens-20171110/v3 v3.0.2 ## explicit; go 1.15 github.com/alibabacloud-go/ens-20171110/v3/client -# github.com/alibabacloud-go/nas-20170626/v4 v4.2.0 +# github.com/alibabacloud-go/nas-20170626/v4 v4.4.0 ## explicit; go 1.14 github.com/alibabacloud-go/nas-20170626/v4/client # github.com/alibabacloud-go/openapi-util v0.1.1