Class: TencentCloud::Tcr::V20190924::ImmutableTagRule

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

Overview

镜像 tag 不可变规则

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(repositorypattern = nil, tagpattern = nil, repositorydecoration = nil, tagdecoration = nil, disabled = nil, ruleid = nil, nsname = nil) ⇒ ImmutableTagRule

Returns a new instance of ImmutableTagRule.



4897
4898
4899
4900
4901
4902
4903
4904
4905
# File 'lib/v20190924/models.rb', line 4897

def initialize(repositorypattern=nil, tagpattern=nil, repositorydecoration=nil, tagdecoration=nil, disabled=nil, ruleid=nil, nsname=nil)
  @RepositoryPattern = repositorypattern
  @TagPattern = tagpattern
  @RepositoryDecoration = repositorydecoration
  @TagDecoration = tagdecoration
  @Disabled = disabled
  @RuleId = ruleid
  @NsName = nsname
end

Instance Attribute Details

#Disabled ⇒ Object

Parameters:

  • RepositoryPattern: —

    仓库匹配规则

  • TagPattern: —

    Tag 匹配规则

  • RepositoryDecoration: —

    repoMatches或repoExcludes

  • TagDecoration: —

    matches或excludes

  • Disabled: —

    禁用规则

  • RuleId: —

    规则 Id

  • NsName: —

    命名空间



4895
4896
4897
# File 'lib/v20190924/models.rb', line 4895

def Disabled
  @Disabled
end

#NsName ⇒ Object

Parameters:

  • RepositoryPattern: —

    仓库匹配规则

  • TagPattern: —

    Tag 匹配规则

  • RepositoryDecoration: —

    repoMatches或repoExcludes

  • TagDecoration: —

    matches或excludes

  • Disabled: —

    禁用规则

  • RuleId: —

    规则 Id

  • NsName: —

    命名空间



4895
4896
4897
# File 'lib/v20190924/models.rb', line 4895

def NsName
  @NsName
end

#RepositoryDecoration ⇒ Object

Parameters:

  • RepositoryPattern: —

    仓库匹配规则

  • TagPattern: —

    Tag 匹配规则

  • RepositoryDecoration: —

    repoMatches或repoExcludes

  • TagDecoration: —

    matches或excludes

  • Disabled: —

    禁用规则

  • RuleId: —

    规则 Id

  • NsName: —

    命名空间



4895
4896
4897
# File 'lib/v20190924/models.rb', line 4895

def RepositoryDecoration
  @RepositoryDecoration
end

#RepositoryPattern ⇒ Object

Parameters:

  • RepositoryPattern: —

    仓库匹配规则

  • TagPattern: —

    Tag 匹配规则

  • RepositoryDecoration: —

    repoMatches或repoExcludes

  • TagDecoration: —

    matches或excludes

  • Disabled: —

    禁用规则

  • RuleId: —

    规则 Id

  • NsName: —

    命名空间



4895
4896
4897
# File 'lib/v20190924/models.rb', line 4895

def RepositoryPattern
  @RepositoryPattern
end

#RuleId ⇒ Object

Parameters:

  • RepositoryPattern: —

    仓库匹配规则

  • TagPattern: —

    Tag 匹配规则

  • RepositoryDecoration: —

    repoMatches或repoExcludes

  • TagDecoration: —

    matches或excludes

  • Disabled: —

    禁用规则

  • RuleId: —

    规则 Id

  • NsName: —

    命名空间



4895
4896
4897
# File 'lib/v20190924/models.rb', line 4895

def RuleId
  @RuleId
end

#TagDecoration ⇒ Object

Parameters:

  • RepositoryPattern: —

    仓库匹配规则

  • TagPattern: —

    Tag 匹配规则

  • RepositoryDecoration: —

    repoMatches或repoExcludes

  • TagDecoration: —

    matches或excludes

  • Disabled: —

    禁用规则

  • RuleId: —

    规则 Id

  • NsName: —

    命名空间



4895
4896
4897
# File 'lib/v20190924/models.rb', line 4895

def TagDecoration
  @TagDecoration
end

#TagPattern ⇒ Object

Parameters:

  • RepositoryPattern: —

    仓库匹配规则

  • TagPattern: —

    Tag 匹配规则

  • RepositoryDecoration: —

    repoMatches或repoExcludes

  • TagDecoration: —

    matches或excludes

  • Disabled: —

    禁用规则

  • RuleId: —

    规则 Id

  • NsName: —

    命名空间



4895
4896
4897
# File 'lib/v20190924/models.rb', line 4895

def TagPattern
  @TagPattern
end

Instance Method Details

#deserialize(params) ⇒ Object



4907
4908
4909
4910
4911
4912
4913
4914
4915
# File 'lib/v20190924/models.rb', line 4907

def deserialize(params)
  @RepositoryPattern = params['RepositoryPattern']
  @TagPattern = params['TagPattern']
  @RepositoryDecoration = params['RepositoryDecoration']
  @TagDecoration = params['TagDecoration']
  @Disabled = params['Disabled']
  @RuleId = params['RuleId']
  @NsName = params['NsName']
end