def METHOD_NAME(self, resource_group):
    email = self.cmd('account show').get_output_in_json()['user']['name']
    self.kwargs.update({
        'monitor': self.create_random_name('monitor', 20),
        'email': email
    })
    self.cmd('elastic monitor create -n {monitor} -g {rg} --user-info {{firstName:Alice,lastName:bob,companyName:Micosoft,emailAddress:{email}}} --sku {{name:ess-monthly-consumption_Monthly}}', checks=[
        self.check('name', '{monitor}'),
        self.check('resourceGroup', '{rg}'),
        self.check('sku.name', 'ess-monthly-consumption_Monthly'),
    ])
    self.cmd('elastic monitor tag-rule create -n default -g {rg} --monitor-name {monitor} --log-rules {{filteringTags:[{{name:Environment,value:Prod,action:Include}}]}}', checks=[
        self.check('name', 'default'),
        self.check('resourceGroup', '{rg}'),
        self.check('properties.logRules.filteringTags[0].action', 'Include'),
        self.check('properties.logRules.filteringTags[0].name', 'Environment'),
        self.check('properties.logRules.filteringTags[0].value', 'Prod'),
        self.check('properties.logRules.sendAadLogs', False),
        self.check('properties.logRules.sendActivityLogs', False),
        self.check('properties.logRules.sendSubscriptionLogs', False)
    ])
    self.cmd('elastic monitor tag-rule update -n default -g {rg} --monitor-name {monitor} --log-rules {{filteringTags:[{{name:Environment2,value:Prod,action:Include}}]}}', checks=[
        self.check('name', 'default'),
        self.check('resourceGroup', '{rg}'),
        self.check('properties.logRules.filteringTags[0].action', 'Include'),
        self.check('properties.logRules.filteringTags[0].name', 'Environment2'),
        self.check('properties.logRules.filteringTags[0].value', 'Prod'),
        self.check('properties.logRules.sendAadLogs', False),
        self.check('properties.logRules.sendActivityLogs', False),
        self.check('properties.logRules.sendSubscriptionLogs', False)
    ])
    self.cmd('elastic monitor tag-rule list -g {rg} --monitor-name {monitor}', checks=[
        self.check('[0].name', 'default'),
        self.check('[0].resourceGroup', '{rg}'),
        self.check('[0].properties.logRules.filteringTags[0].action', 'Include'),
        self.check('[0].properties.logRules.filteringTags[0].name', 'Environment2'),
        self.check('[0].properties.logRules.filteringTags[0].value', 'Prod'),
        self.check('[0].properties.logRules.sendAadLogs', False),
        self.check('[0].properties.logRules.sendActivityLogs', False),
        self.check('[0].properties.logRules.sendSubscriptionLogs', False)
    ])
    self.cmd('elastic monitor tag-rule show -n default -g {rg} --monitor-name {monitor}', checks=[
        self.check('name', 'default'),
        self.check('resourceGroup', '{rg}'),
        self.check('properties.logRules.filteringTags[0].action', 'Include'),
        self.check('properties.logRules.filteringTags[0].name', 'Environment2'),
        self.check('properties.logRules.filteringTags[0].value', 'Prod'),
        self.check('properties.logRules.sendAadLogs', False),
        self.check('properties.logRules.sendActivityLogs', False),
        self.check('properties.logRules.sendSubscriptionLogs', False)
    ])