ListManagementTermListsOperations Class
ListManagementTermListsOperations operations.
- Inheritance
-
builtins.objectListManagementTermListsOperations
Constructor
ListManagementTermListsOperations(client, config, serializer, deserializer)
Parameters
- client
Client for service requests.
- config
Configuration of service client.
- serializer
An object model serializer.
- deserializer
An object model deserializer.
Methods
| create |
Creates a Term List. |
| delete |
Deletes term list with the list Id equal to list Id passed. |
| get_all_term_lists |
gets all the Term Lists. |
| get_details |
Returns list Id details of the term list with list Id equal to list Id passed. |
| refresh_index_method |
Refreshes the index of the list with list Id equal to list ID passed. |
| update |
Updates an Term List. |
create
Creates a Term List.
create(content_type, body, custom_headers=None, raw=False, **operation_config)
Parameters
- operation_config
Operation configuration overrides.
Returns
TermList or ClientRawResponse if raw=true
Return type
Exceptions
delete
Deletes term list with the list Id equal to list Id passed.
delete(list_id, custom_headers=None, raw=False, **operation_config)
Parameters
- operation_config
Operation configuration overrides.
Returns
str or ClientRawResponse if raw=true
Return type
Exceptions
get_all_term_lists
gets all the Term Lists.
get_all_term_lists(custom_headers=None, raw=False, **operation_config)
Parameters
- operation_config
Operation configuration overrides.
Returns
list or ClientRawResponse if raw=true
Return type
Exceptions
get_details
Returns list Id details of the term list with list Id equal to list Id passed.
get_details(list_id, custom_headers=None, raw=False, **operation_config)
Parameters
- operation_config
Operation configuration overrides.
Returns
TermList or ClientRawResponse if raw=true
Return type
Exceptions
refresh_index_method
Refreshes the index of the list with list Id equal to list ID passed.
refresh_index_method(list_id, language, custom_headers=None, raw=False, **operation_config)
Parameters
- operation_config
Operation configuration overrides.
Returns
RefreshIndex or ClientRawResponse if raw=true
Return type
Exceptions
update
Updates an Term List.
update(list_id, content_type, body, custom_headers=None, raw=False, **operation_config)
Parameters
- operation_config
Operation configuration overrides.
Returns
TermList or ClientRawResponse if raw=true
Return type
Exceptions
Attributes
models
models = <module 'azure.cognitiveservices.vision.contentmoderator.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.9.12\\x64\\lib\\site-packages\\azure\\cognitiveservices\\vision\\contentmoderator\\models\\__init__.py'>
الملاحظات
إرسال الملاحظات وعرضها المتعلقة بـ