Class: TencentCloud::Thpc::V20230321::TerminateWorkspacesRequest

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20230321/models.rb

Overview

TerminateWorkspaces请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(spaceids = nil, releaseprepaiddatadisks = nil) ⇒ TerminateWorkspacesRequest

Returns a new instance of TerminateWorkspacesRequest.



3095
3096
3097
3098
# File 'lib/v20230321/models.rb', line 3095

def initialize(spaceids=nil, releaseprepaiddatadisks=nil)
  @SpaceIds = spaceids
  @ReleasePrepaidDataDisks = releaseprepaiddatadisks
end

Instance Attribute Details

#ReleasePrepaidDataDisksObject

Parameters:

  • SpaceIds:

    工作空间ID

  • ReleasePrepaidDataDisks:

    释放空间挂载的包年包月数据盘。true表示销毁空间同时释放包年包月数据盘,false表示只销毁空间。



3093
3094
3095
# File 'lib/v20230321/models.rb', line 3093

def ReleasePrepaidDataDisks
  @ReleasePrepaidDataDisks
end

#SpaceIdsObject

Parameters:

  • SpaceIds:

    工作空间ID

  • ReleasePrepaidDataDisks:

    释放空间挂载的包年包月数据盘。true表示销毁空间同时释放包年包月数据盘,false表示只销毁空间。



3093
3094
3095
# File 'lib/v20230321/models.rb', line 3093

def SpaceIds
  @SpaceIds
end

Instance Method Details

#deserialize(params) ⇒ Object



3100
3101
3102
3103
# File 'lib/v20230321/models.rb', line 3100

def deserialize(params)
  @SpaceIds = params['SpaceIds']
  @ReleasePrepaidDataDisks = params['ReleasePrepaidDataDisks']
end