Class: TencentCloud::Scf::V20180416::NamespaceUsage

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

Overview

名称空间已使用信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(functions = nil, namespace = nil, functionscount = nil, totalconcurrencymem = nil, totalallocatedconcurrencymem = nil, totalallocatedprovisionedmem = nil) ⇒ NamespaceUsage

Returns a new instance of NamespaceUsage.



3936
3937
3938
3939
3940
3941
3942
3943
# File 'lib/v20180416/models.rb', line 3936

def initialize(functions=nil, namespace=nil, functionscount=nil, totalconcurrencymem=nil, totalallocatedconcurrencymem=nil, totalallocatedprovisionedmem=nil)
  @Functions = functions
  @Namespace = namespace
  @FunctionsCount = functionscount
  @TotalConcurrencyMem = totalconcurrencymem
  @TotalAllocatedConcurrencyMem = totalallocatedconcurrencymem
  @TotalAllocatedProvisionedMem = totalallocatedprovisionedmem
end

Instance Attribute Details

#Functions ⇒ Object

Parameters:

  • Functions: —

    函数数组

  • Namespace: —

    命名空间名称

  • FunctionsCount: —

    命名空间函数个数

  • TotalConcurrencyMem: —

    命名空间配额总量

  • TotalAllocatedConcurrencyMem: —

    命名空间并发使用量

  • TotalAllocatedProvisionedMem: —

    命名空间预置使用量



3934
3935
3936
# File 'lib/v20180416/models.rb', line 3934

def Functions
  @Functions
end

#FunctionsCount ⇒ Object

Parameters:

  • Functions: —

    函数数组

  • Namespace: —

    命名空间名称

  • FunctionsCount: —

    命名空间函数个数

  • TotalConcurrencyMem: —

    命名空间配额总量

  • TotalAllocatedConcurrencyMem: —

    命名空间并发使用量

  • TotalAllocatedProvisionedMem: —

    命名空间预置使用量



3934
3935
3936
# File 'lib/v20180416/models.rb', line 3934

def FunctionsCount
  @FunctionsCount
end

#Namespace ⇒ Object

Parameters:

  • Functions: —

    函数数组

  • Namespace: —

    命名空间名称

  • FunctionsCount: —

    命名空间函数个数

  • TotalConcurrencyMem: —

    命名空间配额总量

  • TotalAllocatedConcurrencyMem: —

    命名空间并发使用量

  • TotalAllocatedProvisionedMem: —

    命名空间预置使用量



3934
3935
3936
# File 'lib/v20180416/models.rb', line 3934

def Namespace
  @Namespace
end

#TotalAllocatedConcurrencyMem ⇒ Object

Parameters:

  • Functions: —

    函数数组

  • Namespace: —

    命名空间名称

  • FunctionsCount: —

    命名空间函数个数

  • TotalConcurrencyMem: —

    命名空间配额总量

  • TotalAllocatedConcurrencyMem: —

    命名空间并发使用量

  • TotalAllocatedProvisionedMem: —

    命名空间预置使用量



3934
3935
3936
# File 'lib/v20180416/models.rb', line 3934

def TotalAllocatedConcurrencyMem
  @TotalAllocatedConcurrencyMem
end

#TotalAllocatedProvisionedMem ⇒ Object

Parameters:

  • Functions: —

    函数数组

  • Namespace: —

    命名空间名称

  • FunctionsCount: —

    命名空间函数个数

  • TotalConcurrencyMem: —

    命名空间配额总量

  • TotalAllocatedConcurrencyMem: —

    命名空间并发使用量

  • TotalAllocatedProvisionedMem: —

    命名空间预置使用量



3934
3935
3936
# File 'lib/v20180416/models.rb', line 3934

def TotalAllocatedProvisionedMem
  @TotalAllocatedProvisionedMem
end

#TotalConcurrencyMem ⇒ Object

Parameters:

  • Functions: —

    函数数组

  • Namespace: —

    命名空间名称

  • FunctionsCount: —

    命名空间函数个数

  • TotalConcurrencyMem: —

    命名空间配额总量

  • TotalAllocatedConcurrencyMem: —

    命名空间并发使用量

  • TotalAllocatedProvisionedMem: —

    命名空间预置使用量



3934
3935
3936
# File 'lib/v20180416/models.rb', line 3934

def TotalConcurrencyMem
  @TotalConcurrencyMem
end

Instance Method Details

#deserialize(params) ⇒ Object



3945
3946
3947
3948
3949
3950
3951
3952
# File 'lib/v20180416/models.rb', line 3945

def deserialize(params)
  @Functions = params['Functions']
  @Namespace = params['Namespace']
  @FunctionsCount = params['FunctionsCount']
  @TotalConcurrencyMem = params['TotalConcurrencyMem']
  @TotalAllocatedConcurrencyMem = params['TotalAllocatedConcurrencyMem']
  @TotalAllocatedProvisionedMem = params['TotalAllocatedProvisionedMem']
end