Closed zeshan1977 closed 3 years ago
You can use get_scope_resource
method which is available in scopes resource.
oneview_client = OneViewClient(config)
scopes = oneview_client.scopes
profile_uri = "/rest/server-profiles/xxxxxxx"
sp_scopes = scopes.get_scope_resource(profile_uri)
pprint(sp_scopes.data['scopeUris'])
I see thanks, I will test it out .For Now Closing the issue. Thank You