CreateNamedCredentialDetails

class oci.management_agent.models.CreateNamedCredentialDetails(**kwargs)

Bases: object

A representation of a named credential subresource for the Management Agent resource.

Methods

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

Attributes

defined_tags Gets the defined_tags of this CreateNamedCredentialDetails.
description Gets the description of this CreateNamedCredentialDetails.
freeform_tags Gets the freeform_tags of this CreateNamedCredentialDetails.
management_agent_id [Required] Gets the management_agent_id of this CreateNamedCredentialDetails.
name [Required] Gets the name of this CreateNamedCredentialDetails.
properties [Required] Gets the properties of this CreateNamedCredentialDetails.
type [Required] Gets the type of this CreateNamedCredentialDetails.
__init__(**kwargs)

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

Parameters:
  • name (str) – The value to assign to the name property of this CreateNamedCredentialDetails.
  • type (str) – The value to assign to the type property of this CreateNamedCredentialDetails.
  • management_agent_id (str) – The value to assign to the management_agent_id property of this CreateNamedCredentialDetails.
  • description (str) – The value to assign to the description property of this CreateNamedCredentialDetails.
  • properties (list[oci.management_agent.models.NamedCredentialProperty]) – The value to assign to the properties property of this CreateNamedCredentialDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateNamedCredentialDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateNamedCredentialDetails.
defined_tags

Gets the defined_tags of this CreateNamedCredentialDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}

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

Gets the description of this CreateNamedCredentialDetails. Description of the Named Credential.

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

Gets the freeform_tags of this CreateNamedCredentialDetails. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}

Returns:The freeform_tags of this CreateNamedCredentialDetails.
Return type:dict(str, str)
management_agent_id

[Required] Gets the management_agent_id of this CreateNamedCredentialDetails. The Management Agent parent resource to associate this named credential with. This is the ManagementAgent resource OCID.

Returns:The management_agent_id of this CreateNamedCredentialDetails.
Return type:str
name

[Required] Gets the name of this CreateNamedCredentialDetails. Identifier for Named Credential. This is unique for the Management Agent.

Returns:The name of this CreateNamedCredentialDetails.
Return type:str
properties

[Required] Gets the properties of this CreateNamedCredentialDetails. Properties for the named credential

Returns:The properties of this CreateNamedCredentialDetails.
Return type:list[oci.management_agent.models.NamedCredentialProperty]
type

[Required] Gets the type of this CreateNamedCredentialDetails. The type of the Named Credential.

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