-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7f9d2cc
commit 7ea34b2
Showing
286 changed files
with
11,999 additions
and
522 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
---|---|---|
@@ -1 +1 @@ | ||
0.1.57 | ||
0.1.58 |
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
28 changes: 28 additions & 0 deletions
28
services/aos/v1/model/model_delete_stack_enhanced_request.go
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,28 @@ | ||
package model | ||
|
||
import ( | ||
"github.com/huaweicloud/huaweicloud-sdk-go-v3/core/utils" | ||
|
||
"strings" | ||
) | ||
|
||
// DeleteStackEnhancedRequest Request Object | ||
type DeleteStackEnhancedRequest struct { | ||
|
||
// 用户指定的,对于此请求的唯一ID,用于定位某个请求,推荐使用UUID | ||
ClientRequestId string `json:"Client-Request-Id"` | ||
|
||
// 资源栈的名称。此名字在domain_id+区域+project_id下应唯一,可以使用中文、大小写英文、数字、下划线、中划线。首字符需为中文或者英文,区分大小写。 | ||
StackName string `json:"stack_name"` | ||
|
||
Body *DeleteStackEnhancedRequestBody `json:"body,omitempty"` | ||
} | ||
|
||
func (o DeleteStackEnhancedRequest) String() string { | ||
data, err := utils.Marshal(o) | ||
if err != nil { | ||
return "DeleteStackEnhancedRequest struct{}" | ||
} | ||
|
||
return strings.Join([]string{"DeleteStackEnhancedRequest", string(data)}, " ") | ||
} |
25 changes: 25 additions & 0 deletions
25
services/aos/v1/model/model_delete_stack_enhanced_request_body.go
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,25 @@ | ||
package model | ||
|
||
import ( | ||
"github.com/huaweicloud/huaweicloud-sdk-go-v3/core/utils" | ||
|
||
"strings" | ||
) | ||
|
||
type DeleteStackEnhancedRequestBody struct { | ||
|
||
// 资源栈(stack)的唯一Id。 此Id由资源编排服务在生成资源栈的时候生成,为UUID。 由于资源栈名仅仅在同一时间下唯一,即用户允许先生成一个叫HelloWorld的资源栈,删除,再重新创建一个同名资源栈。 对于团队并行开发,用户可能希望确保,当前我操作的资源栈就是我认为的那个,而不是其他队友删除后创建的同名资源栈。因此,使用ID就可以做到强匹配。 资源编排服务保证每次创建的资源栈所对应的ID都不相同,更新不会影响ID。如果给与的stack_id和当前资源栈的ID不一致,则返回400 | ||
StackId *string `json:"stack_id,omitempty"` | ||
|
||
// 删除资源栈是否保留资源的标志位,如果不传默认为false,即默认不保留资源(删除资源栈后会删除资源栈中的资源) * DeleteStackEnhanced API中,若该参数未在RequestBody中给予,则删除时不会保留资源栈中的资源* | ||
RetainAllResources *bool `json:"retain_all_resources,omitempty"` | ||
} | ||
|
||
func (o DeleteStackEnhancedRequestBody) String() string { | ||
data, err := utils.Marshal(o) | ||
if err != nil { | ||
return "DeleteStackEnhancedRequestBody struct{}" | ||
} | ||
|
||
return strings.Join([]string{"DeleteStackEnhancedRequestBody", string(data)}, " ") | ||
} |
21 changes: 21 additions & 0 deletions
21
services/aos/v1/model/model_delete_stack_enhanced_response.go
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,21 @@ | ||
package model | ||
|
||
import ( | ||
"github.com/huaweicloud/huaweicloud-sdk-go-v3/core/utils" | ||
|
||
"strings" | ||
) | ||
|
||
// DeleteStackEnhancedResponse Response Object | ||
type DeleteStackEnhancedResponse struct { | ||
HttpStatusCode int `json:"-"` | ||
} | ||
|
||
func (o DeleteStackEnhancedResponse) String() string { | ||
data, err := utils.Marshal(o) | ||
if err != nil { | ||
return "DeleteStackEnhancedResponse struct{}" | ||
} | ||
|
||
return strings.Join([]string{"DeleteStackEnhancedResponse", string(data)}, " ") | ||
} |
22 changes: 22 additions & 0 deletions
22
services/aos/v1/model/model_retain_all_resources_type_holder.go
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,22 @@ | ||
package model | ||
|
||
import ( | ||
"github.com/huaweicloud/huaweicloud-sdk-go-v3/core/utils" | ||
|
||
"strings" | ||
) | ||
|
||
type RetainAllResourcesTypeHolder struct { | ||
|
||
// 删除资源栈是否保留资源的标志位,如果不传默认为false,即默认不保留资源(删除资源栈后会删除资源栈中的资源) * DeleteStackEnhanced API中,若该参数未在RequestBody中给予,则删除时不会保留资源栈中的资源* | ||
RetainAllResources *bool `json:"retain_all_resources,omitempty"` | ||
} | ||
|
||
func (o RetainAllResourcesTypeHolder) String() string { | ||
data, err := utils.Marshal(o) | ||
if err != nil { | ||
return "RetainAllResourcesTypeHolder struct{}" | ||
} | ||
|
||
return strings.Join([]string{"RetainAllResourcesTypeHolder", string(data)}, " ") | ||
} |
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.