Skip to content

Latest commit

 

History

History
51 lines (42 loc) · 4.33 KB

File metadata and controls

51 lines (42 loc) · 4.33 KB

UpdateResourceInfo

UpdateResourceInfo Object ### Description The UpdateResourceInfo object is used as an input to the UpdateResource API.

Properties

Name Type Description Notes
resource_id UUID The ID of the resource.
name str The name of the resource. [optional]
description str A description of the resource. [optional]
admin_owner_id UUID The ID of the owner of the resource. [optional]
max_duration int The maximum duration for which the resource can be requested (in minutes). Use -1 to set to indefinite. Deprecated in favor of `request_configurations`. [optional]
recommended_duration int The recommended duration for which the resource should be requested (in minutes). Will be the default value in a request. Use -1 to set to indefinite and 0 to unset. Deprecated in favor of `request_configurations`. [optional]
require_manager_approval bool A bool representing whether or not access requests to the resource require manager approval. [optional]
require_support_ticket bool A bool representing whether or not access requests to the resource require an access ticket. Deprecated in favor of `request_configurations`. [optional]
folder_id UUID The ID of the folder that the resource is located in. [optional]
require_mfa_to_approve bool A bool representing whether or not to require MFA for reviewers to approve requests for this resource. [optional]
require_mfa_to_request bool A bool representing whether or not to require MFA for requesting access to this resource. Deprecated in favor of `request_configurations`. [optional]
require_mfa_to_connect bool A bool representing whether or not to require MFA to connect to this resource. [optional]
auto_approval bool A bool representing whether or not to automatically approve requests to this resource. Deprecated in favor of `request_configurations`. [optional]
ticket_propagation TicketPropagationConfiguration [optional]
custom_request_notification str Custom request notification sent upon request approval. [optional]
risk_sensitivity_override RiskSensitivityEnum [optional]
configuration_template_id UUID The ID of the associated configuration template. [optional]
request_template_id UUID The ID of the associated request template. Deprecated in favor of `request_configurations`. [optional]
is_requestable bool A bool representing whether or not to allow access requests to this resource. Deprecated in favor of `request_configurations`. [optional]
extensions_duration_in_minutes int The duration for which access can be extended (in minutes). Deprecated, set the extension duration in the request_configuration you want it to apply to. [optional]
request_configurations List[RequestConfiguration] A list of configurations for requests to this resource. If not provided, the default request configuration will be used. [optional]
request_configuration_list CreateRequestConfigurationInfoList A list of configurations for requests to this resource. If not provided, the default request configuration will be used. Deprecated in favor of `request_configurations`. [optional]

Example

from opal_security.models.update_resource_info import UpdateResourceInfo

# TODO update the JSON string below
json = "{}"
# create an instance of UpdateResourceInfo from a JSON string
update_resource_info_instance = UpdateResourceInfo.from_json(json)
# print the JSON string representation of the object
print(UpdateResourceInfo.to_json())

# convert the object into a dict
update_resource_info_dict = update_resource_info_instance.to_dict()
# create an instance of UpdateResourceInfo from a dict
update_resource_info_from_dict = UpdateResourceInfo.from_dict(update_resource_info_dict)

[Back to Model list] [Back to API list] [Back to README]