AuthDetails

class oci.data_integration.models.AuthDetails(**kwargs)

Bases: object

Authentication type to be used for Generic REST invocation.

Attributes

MODEL_TYPE_NO_AUTH_DETAILS A constant which can be used with the model_type property of a AuthDetails.
MODEL_TYPE_RESOURCE_PRINCIPAL_AUTH_DETAILS A constant which can be used with the model_type property of a AuthDetails.
key Gets the key of this AuthDetails.
model_type Gets the model_type of this AuthDetails.
model_version Gets the model_version of this AuthDetails.
parent_ref Gets the parent_ref of this AuthDetails.

Methods

__init__(**kwargs) Initializes a new AuthDetails object with values from keyword arguments.
MODEL_TYPE_NO_AUTH_DETAILS = 'NO_AUTH_DETAILS'

A constant which can be used with the model_type property of a AuthDetails. This constant has a value of “NO_AUTH_DETAILS”

MODEL_TYPE_RESOURCE_PRINCIPAL_AUTH_DETAILS = 'RESOURCE_PRINCIPAL_AUTH_DETAILS'

A constant which can be used with the model_type property of a AuthDetails. This constant has a value of “RESOURCE_PRINCIPAL_AUTH_DETAILS”

__init__(**kwargs)

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

Parameters:
  • key (str) – The value to assign to the key property of this AuthDetails.
  • model_version (str) – The value to assign to the model_version property of this AuthDetails.
  • parent_ref (oci.data_integration.models.ParentReference) – The value to assign to the parent_ref property of this AuthDetails.
  • model_type (str) – The value to assign to the model_type property of this AuthDetails. Allowed values for this property are: “NO_AUTH_DETAILS”, “RESOURCE_PRINCIPAL_AUTH_DETAILS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
key

Gets the key of this AuthDetails. Generated key that can be used in API calls to identify data flow. On scenarios where reference to the data flow is needed, a value can be passed in create.

Returns:The key of this AuthDetails.
Return type:str
model_type

Gets the model_type of this AuthDetails. The authentication mode to be used for Generic REST invocation.

Allowed values for this property are: “NO_AUTH_DETAILS”, “RESOURCE_PRINCIPAL_AUTH_DETAILS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The model_type of this AuthDetails.
Return type:str
model_version

Gets the model_version of this AuthDetails. The model version of an object.

Returns:The model_version of this AuthDetails.
Return type:str
parent_ref

Gets the parent_ref of this AuthDetails.

Returns:The parent_ref of this AuthDetails.
Return type:oci.data_integration.models.ParentReference