TargetCredentialEntitySpecificDetails

class oci.fleet_apps_management.models.TargetCredentialEntitySpecificDetails(**kwargs)

Bases: oci.fleet_apps_management.models.credential_entity_specific_details.CredentialEntitySpecificDetails

Target credential details.

Attributes

CREDENTIAL_LEVEL_FLEET str(object=’’) -> str
CREDENTIAL_LEVEL_RESOURCE str(object=’’) -> str
CREDENTIAL_LEVEL_TARGET str(object=’’) -> str
credential_level [Required] Gets the credential_level of this CredentialEntitySpecificDetails.
resource_id [Required] Gets the resource_id of this TargetCredentialEntitySpecificDetails.
target [Required] Gets the target of this TargetCredentialEntitySpecificDetails.

Methods

__init__(**kwargs) Initializes a new TargetCredentialEntitySpecificDetails object with values from keyword arguments.
get_subtype(object_dictionary) Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
CREDENTIAL_LEVEL_FLEET = 'FLEET'
CREDENTIAL_LEVEL_RESOURCE = 'RESOURCE'
CREDENTIAL_LEVEL_TARGET = 'TARGET'
__init__(**kwargs)

Initializes a new TargetCredentialEntitySpecificDetails object with values from keyword arguments. The default value of the credential_level attribute of this class is TARGET and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • credential_level (str) – The value to assign to the credential_level property of this TargetCredentialEntitySpecificDetails. Allowed values for this property are: “FLEET”, “RESOURCE”, “TARGET”
  • resource_id (str) – The value to assign to the resource_id property of this TargetCredentialEntitySpecificDetails.
  • target (str) – The value to assign to the target property of this TargetCredentialEntitySpecificDetails.
credential_level

[Required] Gets the credential_level of this CredentialEntitySpecificDetails. At what level the credential is provided?

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

Returns:The credential_level of this CredentialEntitySpecificDetails.
Return type:str
static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

resource_id

[Required] Gets the resource_id of this TargetCredentialEntitySpecificDetails. OCID of the resource associated with the target for which the credential is created.

Returns:The resource_id of this TargetCredentialEntitySpecificDetails.
Return type:str
target

[Required] Gets the target of this TargetCredentialEntitySpecificDetails. Target name for which the credential is provided.

Returns:The target of this TargetCredentialEntitySpecificDetails.
Return type:str