CreateManagementAgentInstallKeyDetails

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

Bases: object

The information about new Management Agent install Key.

Methods

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

Attributes

allowed_key_install_count Gets the allowed_key_install_count of this CreateManagementAgentInstallKeyDetails.
compartment_id [Required] Gets the compartment_id of this CreateManagementAgentInstallKeyDetails.
display_name [Required] Gets the display_name of this CreateManagementAgentInstallKeyDetails.
time_expires Gets the time_expires of this CreateManagementAgentInstallKeyDetails.
__init__(**kwargs)

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

Parameters:
  • display_name (str) – The value to assign to the display_name property of this CreateManagementAgentInstallKeyDetails.
  • allowed_key_install_count (int) – The value to assign to the allowed_key_install_count property of this CreateManagementAgentInstallKeyDetails.
  • time_expires (datetime) – The value to assign to the time_expires property of this CreateManagementAgentInstallKeyDetails.
  • compartment_id (str) – The value to assign to the compartment_id property of this CreateManagementAgentInstallKeyDetails.
allowed_key_install_count

Gets the allowed_key_install_count of this CreateManagementAgentInstallKeyDetails. Total number of install for this keys

Returns:The allowed_key_install_count of this CreateManagementAgentInstallKeyDetails.
Return type:int
compartment_id

[Required] Gets the compartment_id of this CreateManagementAgentInstallKeyDetails. Compartment Identifier

Returns:The compartment_id of this CreateManagementAgentInstallKeyDetails.
Return type:str
display_name

[Required] Gets the display_name of this CreateManagementAgentInstallKeyDetails. Management Agent install Key Name

Returns:The display_name of this CreateManagementAgentInstallKeyDetails.
Return type:str
time_expires

Gets the time_expires of this CreateManagementAgentInstallKeyDetails. date after which key would expire after creation

Returns:The time_expires of this CreateManagementAgentInstallKeyDetails.
Return type:datetime