Class: TencentCloud::Tcr::V20190924::CreateApplicationTriggerPersonalRequest

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

Overview

CreateApplicationTriggerPersonal请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(reponame = nil, triggername = nil, invokemethod = nil, clusterid = nil, namespace = nil, workloadtype = nil, workloadname = nil, containername = nil, clusterregion = nil, invokeexpr = nil) ⇒ CreateApplicationTriggerPersonalRequest

Returns a new instance of CreateApplicationTriggerPersonalRequest.



300
301
302
303
304
305
306
307
308
309
310
311
# File 'lib/v20190924/models.rb', line 300

def initialize(reponame=nil, triggername=nil, invokemethod=nil, clusterid=nil, namespace=nil, workloadtype=nil, workloadname=nil, containername=nil, clusterregion=nil, invokeexpr=nil)
  @RepoName = reponame
  @TriggerName = triggername
  @InvokeMethod = invokemethod
  @ClusterId = clusterid
  @Namespace = namespace
  @WorkloadType = workloadtype
  @WorkloadName = workloadname
  @ContainerName = containername
  @ClusterRegion = clusterregion
  @InvokeExpr = invokeexpr
end

Instance Attribute Details

#ClusterId ⇒ Object

Parameters:

  • RepoName: —

    触发器关联的镜像仓库,library/test格式

  • TriggerName: —

    触发器名称

  • InvokeMethod: —

    触发方式,"all"全部触发,"taglist"指定tag触发,"regex"正则触发

  • ClusterId: —

    应用所在TKE集群ID

  • Namespace: —

    应用所在TKE集群命名空间

  • WorkloadType: —

    应用所在TKE集群工作负载类型,支持Deployment、StatefulSet、DaemonSet、CronJob、Job。

  • WorkloadName: —

    应用所在TKE集群工作负载名称

  • ContainerName: —

    应用所在TKE集群工作负载下容器名称

  • ClusterRegion: —

    应用所在TKE集群地域

  • InvokeExpr: —

    触发方式对应的表达式



298
299
300
# File 'lib/v20190924/models.rb', line 298

def ClusterId
  @ClusterId
end

#ClusterRegion ⇒ Object

Parameters:

  • RepoName: —

    触发器关联的镜像仓库,library/test格式

  • TriggerName: —

    触发器名称

  • InvokeMethod: —

    触发方式,"all"全部触发,"taglist"指定tag触发,"regex"正则触发

  • ClusterId: —

    应用所在TKE集群ID

  • Namespace: —

    应用所在TKE集群命名空间

  • WorkloadType: —

    应用所在TKE集群工作负载类型,支持Deployment、StatefulSet、DaemonSet、CronJob、Job。

  • WorkloadName: —

    应用所在TKE集群工作负载名称

  • ContainerName: —

    应用所在TKE集群工作负载下容器名称

  • ClusterRegion: —

    应用所在TKE集群地域

  • InvokeExpr: —

    触发方式对应的表达式



298
299
300
# File 'lib/v20190924/models.rb', line 298

def ClusterRegion
  @ClusterRegion
end

#ContainerName ⇒ Object

Parameters:

  • RepoName: —

    触发器关联的镜像仓库,library/test格式

  • TriggerName: —

    触发器名称

  • InvokeMethod: —

    触发方式,"all"全部触发,"taglist"指定tag触发,"regex"正则触发

  • ClusterId: —

    应用所在TKE集群ID

  • Namespace: —

    应用所在TKE集群命名空间

  • WorkloadType: —

    应用所在TKE集群工作负载类型,支持Deployment、StatefulSet、DaemonSet、CronJob、Job。

  • WorkloadName: —

    应用所在TKE集群工作负载名称

  • ContainerName: —

    应用所在TKE集群工作负载下容器名称

  • ClusterRegion: —

    应用所在TKE集群地域

  • InvokeExpr: —

    触发方式对应的表达式



298
299
300
# File 'lib/v20190924/models.rb', line 298

def ContainerName
  @ContainerName
end

#InvokeExpr ⇒ Object

Parameters:

  • RepoName: —

    触发器关联的镜像仓库,library/test格式

  • TriggerName: —

    触发器名称

  • InvokeMethod: —

    触发方式,"all"全部触发,"taglist"指定tag触发,"regex"正则触发

  • ClusterId: —

    应用所在TKE集群ID

  • Namespace: —

    应用所在TKE集群命名空间

  • WorkloadType: —

    应用所在TKE集群工作负载类型,支持Deployment、StatefulSet、DaemonSet、CronJob、Job。

  • WorkloadName: —

    应用所在TKE集群工作负载名称

  • ContainerName: —

    应用所在TKE集群工作负载下容器名称

  • ClusterRegion: —

    应用所在TKE集群地域

  • InvokeExpr: —

    触发方式对应的表达式



298
299
300
# File 'lib/v20190924/models.rb', line 298

def InvokeExpr
  @InvokeExpr
end

#InvokeMethod ⇒ Object

Parameters:

  • RepoName: —

    触发器关联的镜像仓库,library/test格式

  • TriggerName: —

    触发器名称

  • InvokeMethod: —

    触发方式,"all"全部触发,"taglist"指定tag触发,"regex"正则触发

  • ClusterId: —

    应用所在TKE集群ID

  • Namespace: —

    应用所在TKE集群命名空间

  • WorkloadType: —

    应用所在TKE集群工作负载类型,支持Deployment、StatefulSet、DaemonSet、CronJob、Job。

  • WorkloadName: —

    应用所在TKE集群工作负载名称

  • ContainerName: —

    应用所在TKE集群工作负载下容器名称

  • ClusterRegion: —

    应用所在TKE集群地域

  • InvokeExpr: —

    触发方式对应的表达式



298
299
300
# File 'lib/v20190924/models.rb', line 298

def InvokeMethod
  @InvokeMethod
end

#Namespace ⇒ Object

Parameters:

  • RepoName: —

    触发器关联的镜像仓库,library/test格式

  • TriggerName: —

    触发器名称

  • InvokeMethod: —

    触发方式,"all"全部触发,"taglist"指定tag触发,"regex"正则触发

  • ClusterId: —

    应用所在TKE集群ID

  • Namespace: —

    应用所在TKE集群命名空间

  • WorkloadType: —

    应用所在TKE集群工作负载类型,支持Deployment、StatefulSet、DaemonSet、CronJob、Job。

  • WorkloadName: —

    应用所在TKE集群工作负载名称

  • ContainerName: —

    应用所在TKE集群工作负载下容器名称

  • ClusterRegion: —

    应用所在TKE集群地域

  • InvokeExpr: —

    触发方式对应的表达式



298
299
300
# File 'lib/v20190924/models.rb', line 298

def Namespace
  @Namespace
end

#RepoName ⇒ Object

Parameters:

  • RepoName: —

    触发器关联的镜像仓库,library/test格式

  • TriggerName: —

    触发器名称

  • InvokeMethod: —

    触发方式,"all"全部触发,"taglist"指定tag触发,"regex"正则触发

  • ClusterId: —

    应用所在TKE集群ID

  • Namespace: —

    应用所在TKE集群命名空间

  • WorkloadType: —

    应用所在TKE集群工作负载类型,支持Deployment、StatefulSet、DaemonSet、CronJob、Job。

  • WorkloadName: —

    应用所在TKE集群工作负载名称

  • ContainerName: —

    应用所在TKE集群工作负载下容器名称

  • ClusterRegion: —

    应用所在TKE集群地域

  • InvokeExpr: —

    触发方式对应的表达式



298
299
300
# File 'lib/v20190924/models.rb', line 298

def RepoName
  @RepoName
end

#TriggerName ⇒ Object

Parameters:

  • RepoName: —

    触发器关联的镜像仓库,library/test格式

  • TriggerName: —

    触发器名称

  • InvokeMethod: —

    触发方式,"all"全部触发,"taglist"指定tag触发,"regex"正则触发

  • ClusterId: —

    应用所在TKE集群ID

  • Namespace: —

    应用所在TKE集群命名空间

  • WorkloadType: —

    应用所在TKE集群工作负载类型,支持Deployment、StatefulSet、DaemonSet、CronJob、Job。

  • WorkloadName: —

    应用所在TKE集群工作负载名称

  • ContainerName: —

    应用所在TKE集群工作负载下容器名称

  • ClusterRegion: —

    应用所在TKE集群地域

  • InvokeExpr: —

    触发方式对应的表达式



298
299
300
# File 'lib/v20190924/models.rb', line 298

def TriggerName
  @TriggerName
end

#WorkloadName ⇒ Object

Parameters:

  • RepoName: —

    触发器关联的镜像仓库,library/test格式

  • TriggerName: —

    触发器名称

  • InvokeMethod: —

    触发方式,"all"全部触发,"taglist"指定tag触发,"regex"正则触发

  • ClusterId: —

    应用所在TKE集群ID

  • Namespace: —

    应用所在TKE集群命名空间

  • WorkloadType: —

    应用所在TKE集群工作负载类型,支持Deployment、StatefulSet、DaemonSet、CronJob、Job。

  • WorkloadName: —

    应用所在TKE集群工作负载名称

  • ContainerName: —

    应用所在TKE集群工作负载下容器名称

  • ClusterRegion: —

    应用所在TKE集群地域

  • InvokeExpr: —

    触发方式对应的表达式



298
299
300
# File 'lib/v20190924/models.rb', line 298

def WorkloadName
  @WorkloadName
end

#WorkloadType ⇒ Object

Parameters:

  • RepoName: —

    触发器关联的镜像仓库,library/test格式

  • TriggerName: —

    触发器名称

  • InvokeMethod: —

    触发方式,"all"全部触发,"taglist"指定tag触发,"regex"正则触发

  • ClusterId: —

    应用所在TKE集群ID

  • Namespace: —

    应用所在TKE集群命名空间

  • WorkloadType: —

    应用所在TKE集群工作负载类型,支持Deployment、StatefulSet、DaemonSet、CronJob、Job。

  • WorkloadName: —

    应用所在TKE集群工作负载名称

  • ContainerName: —

    应用所在TKE集群工作负载下容器名称

  • ClusterRegion: —

    应用所在TKE集群地域

  • InvokeExpr: —

    触发方式对应的表达式



298
299
300
# File 'lib/v20190924/models.rb', line 298

def WorkloadType
  @WorkloadType
end

Instance Method Details

#deserialize(params) ⇒ Object



313
314
315
316
317
318
319
320
321
322
323
324
# File 'lib/v20190924/models.rb', line 313

def deserialize(params)
  @RepoName = params['RepoName']
  @TriggerName = params['TriggerName']
  @InvokeMethod = params['InvokeMethod']
  @ClusterId = params['ClusterId']
  @Namespace = params['Namespace']
  @WorkloadType = params['WorkloadType']
  @WorkloadName = params['WorkloadName']
  @ContainerName = params['ContainerName']
  @ClusterRegion = params['ClusterRegion']
  @InvokeExpr = params['InvokeExpr']
end