CredentialRelatedResource

class oci.database_tools_runtime.models.CredentialRelatedResource(**kwargs)

Bases: object

A related resource for a credential.

Attributes

TYPE_DATABASE_TOOLS_IDENTITY A constant which can be used with the type property of a CredentialRelatedResource.
identifier [Required] Gets the identifier of this CredentialRelatedResource.
type [Required] Gets the type of this CredentialRelatedResource.

Methods

__init__(**kwargs) Initializes a new CredentialRelatedResource object with values from keyword arguments.
TYPE_DATABASE_TOOLS_IDENTITY = 'DATABASE_TOOLS_IDENTITY'

A constant which can be used with the type property of a CredentialRelatedResource. This constant has a value of “DATABASE_TOOLS_IDENTITY”

__init__(**kwargs)

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

Parameters:
  • type (str) – The value to assign to the type property of this CredentialRelatedResource. Allowed values for this property are: “DATABASE_TOOLS_IDENTITY”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • identifier (str) – The value to assign to the identifier property of this CredentialRelatedResource.
identifier

[Required] Gets the identifier of this CredentialRelatedResource. The OCID of the related resource.

Returns:The identifier of this CredentialRelatedResource.
Return type:str
type

[Required] Gets the type of this CredentialRelatedResource. The related resource type.

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

Returns:The type of this CredentialRelatedResource.
Return type:str