uas

package
v0.22.97 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 20, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package uas include resources of ucloud uas product

See also

for detail.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CompleteLifecycleActivityRequest

type CompleteLifecycleActivityRequest struct {
	request.CommonBase

	// 生命周期挂钩活动 Id
	LifecycleActivityId *string `required:"true"`

	// 生命周期挂钩 Id
	LifecycleHookId *string `required:"true"`

	// 实例挂起状态结束后执行的策略,如不填则表示遵循所属生命周期挂钩的策略。取值:CONTINUE:继续执行;ABANDON:中止后续操作
	LifecycleHookPolicy *string `required:"false"`
}

CompleteLifecycleActivityRequest is request schema for CompleteLifecycleActivity action

type CompleteLifecycleActivityResponse

type CompleteLifecycleActivityResponse struct {
	response.CommonBase

	// 生命周期挂钩活动 Id
	LifecycleActivityId string
}

CompleteLifecycleActivityResponse is response schema for CompleteLifecycleActivity action

type CompleteUASGLifecycleRequest

type CompleteUASGLifecycleRequest struct {
	request.CommonBase

	// 生命周期挂钩等待状态结束后的下一步动作。
	LifecycleActionResult *string `required:"true"`

	// 伸缩活动的等待状态标识符,从生命周期挂钩指定的SNS队列中获取该值。
	LifecycleActionToken *string `required:"true"`

	// 生命周期挂钩的ID。
	LifecycleHookId *string `required:"true"`
}

CompleteUASGLifecycleRequest is request schema for CompleteUASGLifecycle action

type CompleteUASGLifecycleResponse

type CompleteUASGLifecycleResponse struct {
	response.CommonBase
}

CompleteUASGLifecycleResponse is response schema for CompleteUASGLifecycle action

type UASClient

type UASClient struct {
	*ucloud.Client
}

UASClient is the client of UAS

func NewClient

func NewClient(config *ucloud.Config, credential *auth.Credential) *UASClient

NewClient will return a instance of UASClient

func (*UASClient) CompleteLifecycleActivity

API: CompleteLifecycleActivity

完成生命周期挂钩活动

func (*UASClient) CompleteUASGLifecycle

API: CompleteUASGLifecycle

结束生命周期挂钩

func (*UASClient) NewCompleteLifecycleActivityRequest

func (c *UASClient) NewCompleteLifecycleActivityRequest() *CompleteLifecycleActivityRequest

NewCompleteLifecycleActivityRequest will create request of CompleteLifecycleActivity action.

func (*UASClient) NewCompleteUASGLifecycleRequest

func (c *UASClient) NewCompleteUASGLifecycleRequest() *CompleteUASGLifecycleRequest

NewCompleteUASGLifecycleRequest will create request of CompleteUASGLifecycle action.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL