ListManagementImageListsOperations Class

ListManagementImageListsOperations operations.

Inheritance
builtins.object
ListManagementImageListsOperations

Constructor

ListManagementImageListsOperations(client, config, serializer, deserializer)

Parameters

client
Required

Client for service requests.

config
Required

Configuration of service client.

serializer
Required

An object model serializer.

deserializer
Required

An object model deserializer.

Methods

create

Creates an image list.

delete

Deletes image list with the list Id equal to list Id passed.

get_all_image_lists

Gets all the Image Lists.

get_details

Returns the details of the image 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 image list with list Id equal to list Id passed.

create

Creates an image list.

create(content_type, body, custom_headers=None, raw=False, **operation_config)

Parameters

content_type
str
Required

The content type.

body
Body
Required

Schema of the body.

custom_headers
dict
default value: None

headers that will be added to the request

raw
bool
default value: False

returns the direct response alongside the deserialized response

operation_config
Required

Operation configuration overrides.

Returns

ImageList or ClientRawResponse if raw=true

Return type

Exceptions

delete

Deletes image list with the list Id equal to list Id passed.

delete(list_id, custom_headers=None, raw=False, **operation_config)

Parameters

list_id
str
Required

List Id of the image list.

custom_headers
dict
default value: None

headers that will be added to the request

raw
bool
default value: False

returns the direct response alongside the deserialized response

operation_config
Required

Operation configuration overrides.

Returns

str or ClientRawResponse if raw=true

Return type

str,

Exceptions

get_all_image_lists

Gets all the Image Lists.

get_all_image_lists(custom_headers=None, raw=False, **operation_config)

Parameters

custom_headers
dict
default value: None

headers that will be added to the request

raw
bool
default value: False

returns the direct response alongside the deserialized response

operation_config
Required

Operation configuration overrides.

Returns

list or ClientRawResponse if raw=true

Return type

Exceptions

get_details

Returns the details of the image list with list Id equal to list Id passed.

get_details(list_id, custom_headers=None, raw=False, **operation_config)

Parameters

list_id
str
Required

List Id of the image list.

custom_headers
dict
default value: None

headers that will be added to the request

raw
bool
default value: False

returns the direct response alongside the deserialized response

operation_config
Required

Operation configuration overrides.

Returns

ImageList 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, custom_headers=None, raw=False, **operation_config)

Parameters

list_id
str
Required

List Id of the image list.

custom_headers
dict
default value: None

headers that will be added to the request

raw
bool
default value: False

returns the direct response alongside the deserialized response

operation_config
Required

Operation configuration overrides.

Returns

RefreshIndex or ClientRawResponse if raw=true

Return type

Exceptions

update

Updates an image list with list Id equal to list Id passed.

update(list_id, content_type, body, custom_headers=None, raw=False, **operation_config)

Parameters

list_id
str
Required

List Id of the image list.

content_type
str
Required

The content type.

body
Body
Required

Schema of the body.

custom_headers
dict
default value: None

headers that will be added to the request

raw
bool
default value: False

returns the direct response alongside the deserialized response

operation_config
Required

Operation configuration overrides.

Returns

ImageList 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'>