ObjectFilter in SoftLayer doesn't work

前端 未结 2 1256
感动是毒
感动是毒 2021-01-23 15:46

I find ObjectFilter doesn\'t work in SoftLayer.

I even tried the example provided in the SoftLayer webpage here:

https://sldn.softlayer.com/article/object-filter

2条回答
  •  半阙折子戏
    2021-01-23 16:27

    Maybe you can try adding virtualGuestsin the filter, something like this:

    objectFilter={ "virtualGuests": { "datacenter": { "longName": { "operation": "Dallas 6" } } } }
    

    or please see the first examples of https://sldn.softlayer.com/article/object-filters, like this:

    object_filter = {
        'virtualGuests': {
            'datacenter': {
                'name': {'operation': 'dal05'}
            }
        }
    }
    

提交回复
热议问题