UpdateNamedCredentialDetails¶
- class oci.database_management.models.UpdateNamedCredentialDetails(**kwargs)¶
Bases:
objectThe details required to update a named credential.
Attributes:
A constant which can be used with the scope property of a UpdateNamedCredentialDetails.
A constant which can be used with the scope property of a UpdateNamedCredentialDetails.
Gets the associated_resource of this UpdateNamedCredentialDetails.
Gets the content of this UpdateNamedCredentialDetails.
Gets the defined_tags of this UpdateNamedCredentialDetails.
Gets the description of this UpdateNamedCredentialDetails.
Gets the freeform_tags of this UpdateNamedCredentialDetails.
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.
- property 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
- property content¶
Gets the content of this UpdateNamedCredentialDetails.
- Returns
The content of this UpdateNamedCredentialDetails.
- Return type
- property 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))
- property 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
- property 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)
- property 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