EndpointProxy¶
-
class
oci.log_analytics.models.
EndpointProxy
(**kwargs)¶ Bases:
object
An object containing the endpoint proxy details.
Attributes
CREDENTIAL_TYPE_BASIC_AUTH
A constant which can be used with the credential_type property of a EndpointProxy. CREDENTIAL_TYPE_NONE
A constant which can be used with the credential_type property of a EndpointProxy. CREDENTIAL_TYPE_TOKEN
A constant which can be used with the credential_type property of a EndpointProxy. credential_name
Gets the credential_name of this EndpointProxy. credential_type
Gets the credential_type of this EndpointProxy. url
[Required] Gets the url of this EndpointProxy. Methods
__init__
(**kwargs)Initializes a new EndpointProxy object with values from keyword arguments. -
CREDENTIAL_TYPE_BASIC_AUTH
= 'BASIC_AUTH'¶ A constant which can be used with the credential_type property of a EndpointProxy. This constant has a value of “BASIC_AUTH”
-
CREDENTIAL_TYPE_NONE
= 'NONE'¶ A constant which can be used with the credential_type property of a EndpointProxy. This constant has a value of “NONE”
-
CREDENTIAL_TYPE_TOKEN
= 'TOKEN'¶ A constant which can be used with the credential_type property of a EndpointProxy. This constant has a value of “TOKEN”
-
__init__
(**kwargs)¶ Initializes a new EndpointProxy object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - url (str) – The value to assign to the url property of this EndpointProxy.
- credential_name (str) – The value to assign to the credential_name property of this EndpointProxy.
- credential_type (str) – The value to assign to the credential_type property of this EndpointProxy. Allowed values for this property are: “NONE”, “BASIC_AUTH”, “TOKEN”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
-
credential_name
¶ Gets the credential_name of this EndpointProxy. The named credential name on the management agent, containing the proxy credentials.
Returns: The credential_name of this EndpointProxy. Return type: str
-
credential_type
¶ Gets the credential_type of this EndpointProxy. The credential type. NONE indicates credentials are not needed to access the proxy. BASIC_AUTH represents a username and password based model. TOKEN represents a token based model.
Allowed values for this property are: “NONE”, “BASIC_AUTH”, “TOKEN”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The credential_type of this EndpointProxy. Return type: str
-
url
¶ [Required] Gets the url of this EndpointProxy. The proxy URL.
Returns: The url of this EndpointProxy. Return type: str
-