TargetCredentialEntitySpecificDetails¶
- class oci.fleet_apps_management.models.TargetCredentialEntitySpecificDetails(**kwargs)¶
Bases:
CredentialEntitySpecificDetailsTarget credential details.
Attributes:
A constant which can be used with the credential_level property of a CredentialEntitySpecificDetails.
A constant which can be used with the credential_level property of a CredentialEntitySpecificDetails.
A constant which can be used with the credential_level property of a CredentialEntitySpecificDetails.
[Required] Gets the credential_level of this CredentialEntitySpecificDetails.
[Required] Gets the resource_id of this TargetCredentialEntitySpecificDetails.
[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'¶
A constant which can be used with the credential_level property of a CredentialEntitySpecificDetails. This constant has a value of “FLEET”
- CREDENTIAL_LEVEL_RESOURCE = 'RESOURCE'¶
A constant which can be used with the credential_level property of a CredentialEntitySpecificDetails. This constant has a value of “RESOURCE”
- CREDENTIAL_LEVEL_TARGET = 'TARGET'¶
A constant which can be used with the credential_level property of a CredentialEntitySpecificDetails. This constant has a value of “TARGET”
- __init__(**kwargs)¶
Initializes a new TargetCredentialEntitySpecificDetails object with values from keyword arguments. The default value of the
credential_levelattribute of this class isTARGETand 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.
- property 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.
- property 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
- property 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