def METHOD_NAME(self):
    self.kwargs.update({
        'loc': LOCATION,
        'acc_name': self.create_random_name(prefix='cli-acc-', length=24),
        'pool_name': self.create_random_name(prefix='cli-pool-', length=24),
        'vol_name': self.create_random_name(prefix='cli-vol-', length=24),
        'qr_name': self.create_random_name(prefix='cli-qr-', length=24),
        'size': 100006,
        'size2': 1000016,
        'type': "DefaultGroupQuota",
        'target': "" ,
        'vnet': self.create_random_name(prefix='cli-vnet-', length=24),
        'subnet': self.create_random_name(prefix='cli-subnet-', length=24),
        'vnet_loc': VNET_LOCATION
    })
    self.create_volume()
    self.cmd("az netappfiles volume quota-rule list -g {rg} -a {acc_name} -p {pool_name} -v {vol_name}", checks=[
        self.check("length(@)", 0)
    ])
    # Create quota rule
    self.cmd("az netappfiles volume quota-rule create -g {rg} -a {acc_name} -p {pool_name} -l {loc} -v {vol_name} --quota-rule-name {qr_name} --quota-size {size} --quota-type {type} --quota-target '' " )
    # List quota rules
    self.cmd("az netappfiles volume quota-rule list -g {rg} -a {acc_name} -p {pool_name} -v {vol_name}", checks=[
        self.check("length(@)", 1)
    ])
    # Get quota rule
    self.cmd("az netappfiles volume quota-rule show -g {rg} -a {acc_name} -p {pool_name} -v {vol_name} --quota-rule-name {qr_name}", checks=[            
        self.check('quotaSizeInKiBs', '{size}')
    ])
    # Update quota rule
    self.cmd("az netappfiles volume quota-rule update -g {rg} -a {acc_name} -p {pool_name} -v {vol_name} --quota-rule-name {qr_name} --quota-size {size2} --quota-type {type}")
    # Get quota rule
    self.cmd("az netappfiles volume quota-rule show -g {rg} -a {acc_name} -p {pool_name} -v {vol_name} --quota-rule-name {qr_name}", checks=[            
        self.check('quotaSizeInKiBs', '{size2}'),
        self.check('quotaType', '{type}')
    ])
    # Delete quota rule
    self.cmd("az netappfiles volume quota-rule delete -g {rg} -a {acc_name} -p {pool_name} -v {vol_name} --quota-rule-name {qr_name} -y")
    # List quota rule - make sure it was deleted
    self.cmd("az netappfiles volume quota-rule list -g {rg} -a {acc_name} -p {pool_name} -v {vol_name} ", checks=[
        self.check("length(@)", 0)
    ])