Я пытаюсь фильтровать только те объекты, которые подпадают под данный критерий даты.Но я не могу этого сделать!
consumption = ConsumptionManagementClient(credentials, subscription_id, base_url=None)
for obj in list(consumption.usage_details.list(filter=date_filter))
print(obj.usage_start)
Я пытался:
date_filter = 'usage_start ge 2019-02-11T23:59:59Z'
date_filter = 'properties/usage_start ge 2019-02-11T23:59:59Z'
date_filter = 'usageStart ge 2019-02-11T23:59:59Z'
date_filter = 'properties/usageStart ge 2019-02-11T23:59:59Z'
date_filter = 'properties/UsageStart ge 2019-02-11T23:59:59Z'
date_filter = 'UsageStart ge 2019-02-11'
date_filter = 'usage_start ge 2019-02-11'
date_filter = 'properties/usage_start ge 2019-02-11'
date_filter = 'usageStart ge 2019-02-11'
date_filter = 'properties/usageStart ge 2019-02-11'
date_filter = 'properties/UsageStart ge 2019-02-11'
date_filter = 'UsageStart ge 2019-02-11'