Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
发布日志: 1, Add APIs: CreateAlias, UpdateAlias, DeleteAlias, ListAliases, ListAliasesByKeyId. 2, Add APIs: GetParametersForImport, ImportKeyMaterial, DeleteKeyMaterial. 3, Update KeyMetadata for CreateKey and DescribeKey.
- Loading branch information
1 parent
3f00fcb
commit 4787b97
Showing
60 changed files
with
2,063 additions
and
154 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
2018-03-29 Version: 2.5.0 | ||
1, Add APIs: CreateAlias, UpdateAlias, DeleteAlias, ListAliases, ListAliasesByKeyId. | ||
2, Add APIs: GetParametersForImport, ImportKeyMaterial, DeleteKeyMaterial. | ||
3, Update KeyMetadata for CreateKey and DescribeKey. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
87 changes: 87 additions & 0 deletions
87
aliyun-net-sdk-kms/Kms/Model/V20160120/CreateAliasRequest.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
/* | ||
* 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 Aliyun.Acs.Core; | ||
using Aliyun.Acs.Core.Http; | ||
using Aliyun.Acs.Core.Transform; | ||
using Aliyun.Acs.Core.Utils; | ||
using Aliyun.Acs.Kms.Transform; | ||
using Aliyun.Acs.Kms.Transform.V20160120; | ||
using System.Collections.Generic; | ||
|
||
namespace Aliyun.Acs.Kms.Model.V20160120 | ||
{ | ||
public class CreateAliasRequest : RpcAcsRequest<CreateAliasResponse> | ||
{ | ||
public CreateAliasRequest() | ||
: base("Kms", "2016-01-20", "CreateAlias", "kms", "openAPI") | ||
{ | ||
Protocol = ProtocolType.HTTPS; | ||
} | ||
|
||
private string aliasName; | ||
|
||
private string keyId; | ||
|
||
private string sTSToken; | ||
|
||
public string AliasName | ||
{ | ||
get | ||
{ | ||
return aliasName; | ||
} | ||
set | ||
{ | ||
aliasName = value; | ||
DictionaryUtil.Add(QueryParameters, "AliasName", value); | ||
} | ||
} | ||
|
||
public string KeyId | ||
{ | ||
get | ||
{ | ||
return keyId; | ||
} | ||
set | ||
{ | ||
keyId = value; | ||
DictionaryUtil.Add(QueryParameters, "KeyId", value); | ||
} | ||
} | ||
|
||
public string STSToken | ||
{ | ||
get | ||
{ | ||
return sTSToken; | ||
} | ||
set | ||
{ | ||
sTSToken = value; | ||
DictionaryUtil.Add(QueryParameters, "STSToken", value); | ||
} | ||
} | ||
|
||
public override CreateAliasResponse GetResponse(Core.Transform.UnmarshallerContext unmarshallerContext) | ||
{ | ||
return CreateAliasResponseUnmarshaller.Unmarshall(unmarshallerContext); | ||
} | ||
} | ||
} |
41 changes: 41 additions & 0 deletions
41
aliyun-net-sdk-kms/Kms/Model/V20160120/CreateAliasResponse.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
/* | ||
* 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 Aliyun.Acs.Core; | ||
using System.Collections.Generic; | ||
|
||
namespace Aliyun.Acs.Kms.Model.V20160120 | ||
{ | ||
public class CreateAliasResponse : AcsResponse | ||
{ | ||
|
||
private string requestId; | ||
|
||
public string RequestId | ||
{ | ||
get | ||
{ | ||
return requestId; | ||
} | ||
set | ||
{ | ||
requestId = value; | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.