Skip to content

Commit 4e8762f

Browse files
committed
Support API CreateAndroidInstanceGroup.
1 parent 241c4fd commit 4e8762f

File tree

5 files changed

+16
-5
lines changed

5 files changed

+16
-5
lines changed

AlibabacloudEdsAic20230930.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Pod::Spec.new do |spec|
22

33
spec.name = "AlibabacloudEdsAic20230930"
4-
spec.version = "1.7.0"
4+
spec.version = "1.8.0"
55
spec.license = "Apache 2.0"
66
spec.summary = "Alibaba Cloud eds-aic (20230930) SDK Library for Swift"
77
spec.homepage = "https://github.com/alibabacloud-sdk-swift/eds-aic-20230930"

README-CN.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
要使用 [Carthage](https://github.com/Carthage/Carthage)`AlibabacloudEdsAic20230930` 集成到你的 Xcode 项目中,需要在 `Cartfile` 中定义以下内容:
1818

1919
```ogdl
20-
github "alibabacloud-sdk-swift/eds-aic-20230930" "1.7.0"
20+
github "alibabacloud-sdk-swift/eds-aic-20230930" "1.8.0"
2121
```
2222

2323
### Swift 包管理工具
@@ -26,7 +26,7 @@ github "alibabacloud-sdk-swift/eds-aic-20230930" "1.7.0"
2626

2727
```swift
2828
dependencies: [
29-
.package(url: "https://github.com/alibabacloud-sdk-swift/eds-aic-20230930.git", from: "1.7.0")
29+
.package(url: "https://github.com/alibabacloud-sdk-swift/eds-aic-20230930.git", from: "1.8.0")
3030
]
3131
```
3232

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ English | [简体中文](README-CN.md)
1717
To integrate `AlibabacloudEdsAic20230930` into your Xcode project using [Carthage](https://github.com/Carthage/Carthage), specify it in your `Cartfile`:
1818

1919
```ogdl
20-
github "alibabacloud-sdk-swift/eds-aic-20230930" "1.7.0"
20+
github "alibabacloud-sdk-swift/eds-aic-20230930" "1.8.0"
2121
```
2222

2323
### Swift Package Manager
@@ -26,7 +26,7 @@ To integrate `AlibabacloudEdsAic20230930` into your Xcode project using [Swift P
2626

2727
```swift
2828
dependencies: [
29-
.package(url: "https://github.com/alibabacloud-sdk-swift/eds-aic-20230930.git", from: "1.7.0")
29+
.package(url: "https://github.com/alibabacloud-sdk-swift/eds-aic-20230930.git", from: "1.8.0")
3030
]
3131
```
3232

Sources/AlibabacloudEdsAic20230930/Client.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,9 @@ open class Client : AlibabacloudOpenApi.Client {
151151
if (!TeaUtils.Client.isUnset(request.bizRegionId)) {
152152
query["BizRegionId"] = request.bizRegionId ?? "";
153153
}
154+
if (!TeaUtils.Client.isUnset(request.gpuAcceleration)) {
155+
query["GpuAcceleration"] = request.gpuAcceleration!;
156+
}
154157
if (!TeaUtils.Client.isUnset(request.zoneId)) {
155158
query["ZoneId"] = request.zoneId ?? "";
156159
}

Sources/AlibabacloudEdsAic20230930/Models.swift

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -511,6 +511,8 @@ public class CheckResourceStockRequest : Tea.TeaModel {
511511

512512
public var bizRegionId: String?
513513

514+
public var gpuAcceleration: Bool?
515+
514516
public var zoneId: String?
515517

516518
public override init() {
@@ -533,6 +535,9 @@ public class CheckResourceStockRequest : Tea.TeaModel {
533535
if self.bizRegionId != nil {
534536
map["BizRegionId"] = self.bizRegionId!
535537
}
538+
if self.gpuAcceleration != nil {
539+
map["GpuAcceleration"] = self.gpuAcceleration!
540+
}
536541
if self.zoneId != nil {
537542
map["ZoneId"] = self.zoneId!
538543
}
@@ -546,6 +551,9 @@ public class CheckResourceStockRequest : Tea.TeaModel {
546551
if dict.keys.contains("BizRegionId") {
547552
self.bizRegionId = dict["BizRegionId"] as! String
548553
}
554+
if dict.keys.contains("GpuAcceleration") {
555+
self.gpuAcceleration = dict["GpuAcceleration"] as! Bool
556+
}
549557
if dict.keys.contains("ZoneId") {
550558
self.zoneId = dict["ZoneId"] as! String
551559
}

0 commit comments

Comments
 (0)