ResourceCredentialEntitySpecificDetails¶
-
class
oci.fleet_apps_management.models.ResourceCredentialEntitySpecificDetails(**kwargs)¶ Bases:
oci.fleet_apps_management.models.credential_entity_specific_details.CredentialEntitySpecificDetailsResource credential details.
Attributes
CREDENTIAL_LEVEL_FLEETstr(object=’’) -> str CREDENTIAL_LEVEL_RESOURCEstr(object=’’) -> str CREDENTIAL_LEVEL_TARGETstr(object=’’) -> str credential_level[Required] Gets the credential_level of this CredentialEntitySpecificDetails. resource_id[Required] Gets the resource_id of this ResourceCredentialEntitySpecificDetails. Methods
__init__(**kwargs)Initializes a new ResourceCredentialEntitySpecificDetails 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 ResourceCredentialEntitySpecificDetails object with values from keyword arguments. The default value of the
credential_levelattribute of this class isRESOURCEand 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 ResourceCredentialEntitySpecificDetails. Allowed values for this property are: “FLEET”, “RESOURCE”, “TARGET”
- resource_id (str) – The value to assign to the resource_id property of this ResourceCredentialEntitySpecificDetails.
-
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 ResourceCredentialEntitySpecificDetails. OCID of the resource for which the credential is created.
Returns: The resource_id of this ResourceCredentialEntitySpecificDetails. Return type: str
-