다음을 통해 공유


ListManagementImageListsOperations Class

ListManagementImageListsOperations operations.

Inheritance
builtins.object
ListManagementImageListsOperations

Constructor

ListManagementImageListsOperations(client, config, serializer, deserializer)

Parameters

Name Description
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

Name Description
content_type
Required
str

The content type.

body
Required

Schema of the body.

custom_headers

headers that will be added to the request

Default value: None
raw

returns the direct response alongside the deserialized response

Default value: False
operation_config
Required

Operation configuration overrides.

Returns

Type Description
<xref:msrest.pipeline.ClientRawResponse>

ImageList or ClientRawResponse if raw=true

Exceptions

Type Description

delete

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

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

Parameters

Name Description
list_id
Required
str

List Id of the image list.

custom_headers

headers that will be added to the request

Default value: None
raw

returns the direct response alongside the deserialized response

Default value: False
operation_config
Required

Operation configuration overrides.

Returns

Type Description
str,
<xref:msrest.pipeline.ClientRawResponse>

str or ClientRawResponse if raw=true

Exceptions

Type Description

get_all_image_lists

Gets all the Image Lists.

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

Parameters

Name Description
custom_headers

headers that will be added to the request

Default value: None
raw

returns the direct response alongside the deserialized response

Default value: False
operation_config
Required

Operation configuration overrides.

Returns

Type Description
<xref:msrest.pipeline.ClientRawResponse>

list or ClientRawResponse if raw=true

Exceptions

Type Description

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

Name Description
list_id
Required
str

List Id of the image list.

custom_headers

headers that will be added to the request

Default value: None
raw

returns the direct response alongside the deserialized response

Default value: False
operation_config
Required

Operation configuration overrides.

Returns

Type Description
<xref:msrest.pipeline.ClientRawResponse>

ImageList or ClientRawResponse if raw=true

Exceptions

Type Description

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

Name Description
list_id
Required
str

List Id of the image list.

custom_headers

headers that will be added to the request

Default value: None
raw

returns the direct response alongside the deserialized response

Default value: False
operation_config
Required

Operation configuration overrides.

Returns

Type Description
<xref:msrest.pipeline.ClientRawResponse>

RefreshIndex or ClientRawResponse if raw=true

Exceptions

Type Description

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

Name Description
list_id
Required
str

List Id of the image list.

content_type
Required
str

The content type.

body
Required

Schema of the body.

custom_headers

headers that will be added to the request

Default value: None
raw

returns the direct response alongside the deserialized response

Default value: False
operation_config
Required

Operation configuration overrides.

Returns

Type Description
<xref:msrest.pipeline.ClientRawResponse>

ImageList or ClientRawResponse if raw=true

Exceptions

Type Description

Attributes

models

models = <module 'azure.cognitiveservices.vision.contentmoderator.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\cognitiveservices\\vision\\contentmoderator\\models\\__init__.py'>