Skip to content

Commit

Permalink
Support RDS Custom.
Browse files Browse the repository at this point in the history
  • Loading branch information
sdk-team committed Aug 13, 2024
1 parent 009091c commit 333998a
Show file tree
Hide file tree
Showing 22 changed files with 55 additions and 999 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
2024-08-13 Version: 3.0.9
- Support RDS Custom.

2024-08-13 Version: 2.15.4
- Support DryRun parameter OpenAPI.

Expand Down
153 changes: 0 additions & 153 deletions aliyun-net-sdk-rds/Rds/Model/V20140815/CancelImportRequest.cs

This file was deleted.

42 changes: 0 additions & 42 deletions aliyun-net-sdk-rds/Rds/Model/V20140815/CancelImportResponse.cs

This file was deleted.

16 changes: 16 additions & 0 deletions aliyun-net-sdk-rds/Rds/Model/V20140815/CloneDBInstanceRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ public CloneDBInstanceRequest()

private string instanceNetworkType;

private string clientToken;

private string zoneIdSlave1;

private string zoneIdSlave2;
Expand Down Expand Up @@ -253,6 +255,20 @@ public string InstanceNetworkType
}
}

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

[JsonProperty(PropertyName = "ZoneIdSlave1")]
public string ZoneIdSlave1
{
Expand Down
16 changes: 0 additions & 16 deletions aliyun-net-sdk-rds/Rds/Model/V20140815/CreateBackupRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@ public CreateBackupRequest()

private long? resourceOwnerId;

private string resourceGroupId;

private string backupStrategy;

private string dBInstanceId;
Expand All @@ -69,20 +67,6 @@ public long? ResourceOwnerId
}
}

[JsonProperty(PropertyName = "ResourceGroupId")]
public string ResourceGroupId
{
get
{
return resourceGroupId;
}
set
{
resourceGroupId = value;
DictionaryUtil.Add(QueryParameters, "ResourceGroupId", value);
}
}

[JsonProperty(PropertyName = "BackupStrategy")]
public string BackupStrategy
{
Expand Down
16 changes: 16 additions & 0 deletions aliyun-net-sdk-rds/Rds/Model/V20140815/CreateDBInstanceRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ public CreateDBInstanceRequest()

private string connectionString;

private bool? autoCreateProxy;

private string engineVersion;

private bool? deletionProtection;
Expand Down Expand Up @@ -235,6 +237,20 @@ public string ConnectionString
}
}

[JsonProperty(PropertyName = "AutoCreateProxy")]
public bool? AutoCreateProxy
{
get
{
return autoCreateProxy;
}
set
{
autoCreateProxy = value;
DictionaryUtil.Add(QueryParameters, "AutoCreateProxy", value.ToString());
}
}

[JsonProperty(PropertyName = "EngineVersion")]
public string EngineVersion
{
Expand Down
16 changes: 0 additions & 16 deletions aliyun-net-sdk-rds/Rds/Model/V20140815/CreateDatabaseRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@ public CreateDatabaseRequest()

private long? resourceOwnerId;

private string resourceGroupId;

private string dBInstanceId;

private string dBDescription;
Expand Down Expand Up @@ -73,20 +71,6 @@ public long? ResourceOwnerId
}
}

[JsonProperty(PropertyName = "ResourceGroupId")]
public string ResourceGroupId
{
get
{
return resourceGroupId;
}
set
{
resourceGroupId = value;
DictionaryUtil.Add(QueryParameters, "ResourceGroupId", value);
}
}

[JsonProperty(PropertyName = "DBInstanceId")]
public string DBInstanceId
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ public CreateReadOnlyDBInstanceRequest()

private int? dBInstanceStorage;

private bool? autoCreateProxy;

private string engineVersion;

private bool? deletionProtection;
Expand Down Expand Up @@ -137,6 +139,20 @@ public int? DBInstanceStorage
}
}

[JsonProperty(PropertyName = "AutoCreateProxy")]
public bool? AutoCreateProxy
{
get
{
return autoCreateProxy;
}
set
{
autoCreateProxy = value;
DictionaryUtil.Add(QueryParameters, "AutoCreateProxy", value.ToString());
}
}

[JsonProperty(PropertyName = "EngineVersion")]
public string EngineVersion
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public CreateYouhuiForOrderRequest()
Method = MethodType.POST;
}

private string resourceOwnerId;
private long? resourceOwnerId;

private string resourceOwnerAccount;

Expand All @@ -52,7 +52,7 @@ public CreateYouhuiForOrderRequest()
private long? activityId;

[JsonProperty(PropertyName = "ResourceOwnerId")]
public string ResourceOwnerId
public long? ResourceOwnerId
{
get
{
Expand All @@ -61,7 +61,7 @@ public string ResourceOwnerId
set
{
resourceOwnerId = value;
DictionaryUtil.Add(QueryParameters, "ResourceOwnerId", value);
DictionaryUtil.Add(QueryParameters, "ResourceOwnerId", value.ToString());
}
}

Expand Down
Loading

0 comments on commit 333998a

Please sign in to comment.