The gnocchiclient.v1.archive_policy_rule Module

class gnocchiclient.v1.archive_policy_rule.ArchivePolicyRuleManager(client)

Bases: Manager

create(archive_policy_rule)

Create an archive policy rule.

delete(name)

Delete an archive policy rule.

Parameters:

name (str) – Name of the archive policy rule

get(name)

Get an archive policy rules.

Parameters:

name (str) – Name of the archive policy rule

list()

List archive policy rules.

update(name, new_name)

Update an archive policy rule.

Parameters:
  • name (str) – the name of archive policy rule

  • new_name (str) – the new name of archive policy rule

url = 'v1/archive_policy_rule/'