Skip to content

Commit

Permalink
Support Fileset for BmCPFS.
Browse files Browse the repository at this point in the history
  • Loading branch information
sdk-team committed Oct 28, 2024
1 parent ce7d935 commit 47b7f19
Show file tree
Hide file tree
Showing 200 changed files with 5,653 additions and 375 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
2024-10-28 Version: 3.2.6
- Support Fileset for BmCPFS.
- Support Fileset Quota for BmCPFS.

2024-10-24 Version: 1.1.13
- Publish sdk.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626
public class AddClientToBlackListRequest : RpcAcsRequest<AddClientToBlackListResponse>
{
public AddClientToBlackListRequest()
: base("NAS", "2017-06-26", "AddClientToBlackList", "NAS", "openAPI")
: base("NAS", "2017-06-26", "AddClientToBlackList", "nas", "openAPI")
{
if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null)
{
Expand Down
2 changes: 1 addition & 1 deletion aliyun-net-sdk-nas/NAS/Model/V20170626/AddTagsRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626
public class AddTagsRequest : RpcAcsRequest<AddTagsResponse>
{
public AddTagsRequest()
: base("NAS", "2017-06-26", "AddTags", "NAS", "openAPI")
: base("NAS", "2017-06-26", "AddTags", "nas", "openAPI")
{
if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626
public class ApplyAutoSnapshotPolicyRequest : RpcAcsRequest<ApplyAutoSnapshotPolicyResponse>
{
public ApplyAutoSnapshotPolicyRequest()
: base("NAS", "2017-06-26", "ApplyAutoSnapshotPolicy", "NAS", "openAPI")
: base("NAS", "2017-06-26", "ApplyAutoSnapshotPolicy", "nas", "openAPI")
{
if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626
public class ApplyDataFlowAutoRefreshRequest : RpcAcsRequest<ApplyDataFlowAutoRefreshResponse>
{
public ApplyDataFlowAutoRefreshRequest()
: base("NAS", "2017-06-26", "ApplyDataFlowAutoRefresh", "NAS", "openAPI")
: base("NAS", "2017-06-26", "ApplyDataFlowAutoRefresh", "nas", "openAPI")
{
if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626
public class CancelAutoSnapshotPolicyRequest : RpcAcsRequest<CancelAutoSnapshotPolicyResponse>
{
public CancelAutoSnapshotPolicyRequest()
: base("NAS", "2017-06-26", "CancelAutoSnapshotPolicy", "NAS", "openAPI")
: base("NAS", "2017-06-26", "CancelAutoSnapshotPolicy", "nas", "openAPI")
{
if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626
public class CancelDataFlowAutoRefreshRequest : RpcAcsRequest<CancelDataFlowAutoRefreshResponse>
{
public CancelDataFlowAutoRefreshRequest()
: base("NAS", "2017-06-26", "CancelDataFlowAutoRefresh", "NAS", "openAPI")
: base("NAS", "2017-06-26", "CancelDataFlowAutoRefresh", "nas", "openAPI")
{
if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null)
{
Expand Down
138 changes: 138 additions & 0 deletions aliyun-net-sdk-nas/NAS/Model/V20170626/CancelDataFlowSubTaskRequest.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,138 @@
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
using System.Collections.Generic;

using Aliyun.Acs.Core;
using Aliyun.Acs.Core.Http;
using Aliyun.Acs.Core.Transform;
using Aliyun.Acs.Core.Utils;
using Aliyun.Acs.NAS.Transform;
using Aliyun.Acs.NAS.Transform.V20170626;

namespace Aliyun.Acs.NAS.Model.V20170626
{
public class CancelDataFlowSubTaskRequest : RpcAcsRequest<CancelDataFlowSubTaskResponse>
{
public CancelDataFlowSubTaskRequest()
: base("NAS", "2017-06-26", "CancelDataFlowSubTask", "nas", "openAPI")
{
if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null)
{
this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.NAS.Endpoint.endpointMap, null);
this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.NAS.Endpoint.endpointRegionalType, null);
}
Method = MethodType.POST;
}

private string clientToken;

private string dataFlowTaskId;

private string dataFlowSubTaskId;

private string fileSystemId;

private bool? dryRun;

private string dataFlowId;

public string ClientToken
{
get
{
return clientToken;
}
set
{
clientToken = value;
DictionaryUtil.Add(QueryParameters, "ClientToken", value);
}
}

public string DataFlowTaskId
{
get
{
return dataFlowTaskId;
}
set
{
dataFlowTaskId = value;
DictionaryUtil.Add(QueryParameters, "DataFlowTaskId", value);
}
}

public string DataFlowSubTaskId
{
get
{
return dataFlowSubTaskId;
}
set
{
dataFlowSubTaskId = value;
DictionaryUtil.Add(QueryParameters, "DataFlowSubTaskId", value);
}
}

public string FileSystemId
{
get
{
return fileSystemId;
}
set
{
fileSystemId = value;
DictionaryUtil.Add(QueryParameters, "FileSystemId", value);
}
}

public bool? DryRun
{
get
{
return dryRun;
}
set
{
dryRun = value;
DictionaryUtil.Add(QueryParameters, "DryRun", value.ToString());
}
}

public string DataFlowId
{
get
{
return dataFlowId;
}
set
{
dataFlowId = value;
DictionaryUtil.Add(QueryParameters, "DataFlowId", value);
}
}

public override CancelDataFlowSubTaskResponse GetResponse(UnmarshallerContext unmarshallerContext)
{
return CancelDataFlowSubTaskResponseUnmarshaller.Unmarshall(unmarshallerContext);
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
using System.Collections.Generic;
using Newtonsoft.Json;
using Aliyun.Acs.Core;

namespace Aliyun.Acs.NAS.Model.V20170626
{
public class CancelDataFlowSubTaskResponse : AcsResponse
{

private string requestId;

public string RequestId
{
get
{
return requestId;
}
set
{
requestId = value;
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626
public class CancelDataFlowTaskRequest : RpcAcsRequest<CancelDataFlowTaskResponse>
{
public CancelDataFlowTaskRequest()
: base("NAS", "2017-06-26", "CancelDataFlowTask", "NAS", "openAPI")
: base("NAS", "2017-06-26", "CancelDataFlowTask", "nas", "openAPI")
{
if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626
public class CancelDirQuotaRequest : RpcAcsRequest<CancelDirQuotaResponse>
{
public CancelDirQuotaRequest()
: base("NAS", "2017-06-26", "CancelDirQuota", "NAS", "openAPI")
: base("NAS", "2017-06-26", "CancelDirQuota", "nas", "openAPI")
{
if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null)
{
Expand Down
109 changes: 109 additions & 0 deletions aliyun-net-sdk-nas/NAS/Model/V20170626/CancelFilesetQuotaRequest.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
using System.Collections.Generic;

using Aliyun.Acs.Core;
using Aliyun.Acs.Core.Http;
using Aliyun.Acs.Core.Transform;
using Aliyun.Acs.Core.Utils;
using Aliyun.Acs.NAS.Transform;
using Aliyun.Acs.NAS.Transform.V20170626;

namespace Aliyun.Acs.NAS.Model.V20170626
{
public class CancelFilesetQuotaRequest : RpcAcsRequest<CancelFilesetQuotaResponse>
{
public CancelFilesetQuotaRequest()
: base("NAS", "2017-06-26", "CancelFilesetQuota", "nas", "openAPI")
{
if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null)
{
this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.NAS.Endpoint.endpointMap, null);
this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.NAS.Endpoint.endpointRegionalType, null);
}
Protocol = ProtocolType.HTTPS;
Method = MethodType.POST;
}

private string fsetId;

private string clientToken;

private string fileSystemId;

private bool? dryRun;

public string FsetId
{
get
{
return fsetId;
}
set
{
fsetId = value;
DictionaryUtil.Add(QueryParameters, "FsetId", value);
}
}

public string ClientToken
{
get
{
return clientToken;
}
set
{
clientToken = value;
DictionaryUtil.Add(QueryParameters, "ClientToken", value);
}
}

public string FileSystemId
{
get
{
return fileSystemId;
}
set
{
fileSystemId = value;
DictionaryUtil.Add(QueryParameters, "FileSystemId", value);
}
}

public bool? DryRun
{
get
{
return dryRun;
}
set
{
dryRun = value;
DictionaryUtil.Add(QueryParameters, "DryRun", value.ToString());
}
}

public override CancelFilesetQuotaResponse GetResponse(UnmarshallerContext unmarshallerContext)
{
return CancelFilesetQuotaResponseUnmarshaller.Unmarshall(unmarshallerContext);
}
}
}
Loading

0 comments on commit 47b7f19

Please sign in to comment.