Compartir a través de


EndpointSettingsOperations Class

EndpointSettingsOperations operations.

Inheritance
builtins.object
EndpointSettingsOperations

Constructor

EndpointSettingsOperations(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

get_settings

Gets endpoint settings for an endpoint.

update_settings

Updates endpoint settings for an endpoint.

get_settings

Gets endpoint settings for an endpoint.

get_settings(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>

EndpointSettingsDTO or ClientRawResponse if raw=true

Exceptions

Type Description

update_settings

Updates endpoint settings for an endpoint.

update_settings(active_learning=None, custom_headers=None, raw=False, **operation_config)

Parameters

Name Description
active_learning

Active Learning settings of the endpoint.

Default value: None
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
None,
<xref:msrest.pipeline.ClientRawResponse>

None or ClientRawResponse if raw=true

Exceptions

Type Description

Attributes

models

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