ChangeNamedCredentialCompartmentDetails

class oci.database_management.models.ChangeNamedCredentialCompartmentDetails(**kwargs)

Bases: object

The details required to change the compartment of a named credential.

Methods

__init__(**kwargs) Initializes a new ChangeNamedCredentialCompartmentDetails object with values from keyword arguments.

Attributes

compartment_id [Required] Gets the compartment_id of this ChangeNamedCredentialCompartmentDetails.
__init__(**kwargs)

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

Parameters:compartment_id (str) – The value to assign to the compartment_id property of this ChangeNamedCredentialCompartmentDetails.
compartment_id

[Required] Gets the compartment_id of this ChangeNamedCredentialCompartmentDetails. The OCID of the compartment to which the named credential should be moved.

Returns:The compartment_id of this ChangeNamedCredentialCompartmentDetails.
Return type:str