UpdateNamedCredentialDetails

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

Bases: object

The details required to update a named credential.

Attributes

SCOPE_GLOBAL A constant which can be used with the scope property of a UpdateNamedCredentialDetails.
SCOPE_RESOURCE A constant which can be used with the scope property of a UpdateNamedCredentialDetails.
associated_resource Gets the associated_resource of this UpdateNamedCredentialDetails.
content Gets the content of this UpdateNamedCredentialDetails.
defined_tags Gets the defined_tags of this UpdateNamedCredentialDetails.
description Gets the description of this UpdateNamedCredentialDetails.
freeform_tags Gets the freeform_tags of this UpdateNamedCredentialDetails.
scope Gets the scope of this UpdateNamedCredentialDetails.

Methods

__init__(**kwargs) Initializes a new UpdateNamedCredentialDetails object with values from keyword arguments.
SCOPE_GLOBAL = 'GLOBAL'

A constant which can be used with the scope property of a UpdateNamedCredentialDetails. This constant has a value of “GLOBAL”

SCOPE_RESOURCE = 'RESOURCE'

A constant which can be used with the scope property of a UpdateNamedCredentialDetails. This constant has a value of “RESOURCE”

__init__(**kwargs)

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

Parameters:
  • description (str) – The value to assign to the description property of this UpdateNamedCredentialDetails.
  • scope (str) – The value to assign to the scope property of this UpdateNamedCredentialDetails. Allowed values for this property are: “RESOURCE”, “GLOBAL”
  • content (oci.database_management.models.NamedCredentialContent) – The value to assign to the content property of this UpdateNamedCredentialDetails.
  • associated_resource (str) – The value to assign to the associated_resource property of this UpdateNamedCredentialDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateNamedCredentialDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateNamedCredentialDetails.
associated_resource

Gets the associated_resource of this UpdateNamedCredentialDetails. The OCID of the resource that is associated to the named credential.

Returns:The associated_resource of this UpdateNamedCredentialDetails.
Return type:str
content

Gets the content of this UpdateNamedCredentialDetails.

Returns:The content of this UpdateNamedCredentialDetails.
Return type:oci.database_management.models.NamedCredentialContent
defined_tags

Gets the defined_tags of this UpdateNamedCredentialDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {“Operations”: {“CostCenter”: “42”}}

Returns:The defined_tags of this UpdateNamedCredentialDetails.
Return type:dict(str, dict(str, object))
description

Gets the description of this UpdateNamedCredentialDetails. The information specified by the user about the named credential.

Returns:The description of this UpdateNamedCredentialDetails.
Return type:str
freeform_tags

Gets the freeform_tags of this UpdateNamedCredentialDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {“Department”: “Finance”}

Returns:The freeform_tags of this UpdateNamedCredentialDetails.
Return type:dict(str, str)
scope

Gets the scope of this UpdateNamedCredentialDetails. The scope of the named credential.

Allowed values for this property are: “RESOURCE”, “GLOBAL”

Returns:The scope of this UpdateNamedCredentialDetails.
Return type:str