InferenceHttpEndpoint

class oci.data_science.models.InferenceHttpEndpoint(**kwargs)

Bases: object

Represents a custom HTTP endpoint detail for inferencing.

Methods:

__init__(**kwargs)

Initializes a new InferenceHttpEndpoint object with values from keyword arguments.

Attributes:

endpoint_uri_suffix

[Required] Gets the endpoint_uri_suffix of this InferenceHttpEndpoint.

http_methods

[Required] Gets the http_methods of this InferenceHttpEndpoint.

__init__(**kwargs)

Initializes a new InferenceHttpEndpoint object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • endpoint_uri_suffix (str) – The value to assign to the endpoint_uri_suffix property of this InferenceHttpEndpoint.

  • http_methods (list[oci.data_science.models.HttpMethod]) – The value to assign to the http_methods property of this InferenceHttpEndpoint.

property endpoint_uri_suffix

[Required] Gets the endpoint_uri_suffix of this InferenceHttpEndpoint. The suffix part of the endpoint that will be allowed for invocation.

Returns

The endpoint_uri_suffix of this InferenceHttpEndpoint.

Return type

str

property http_methods

[Required] Gets the http_methods of this InferenceHttpEndpoint. List of HTTP methods acceptable by the URI.

Returns

The http_methods of this InferenceHttpEndpoint.

Return type

list[oci.data_science.models.HttpMethod]