UpdateCryptoAssessmentDetails¶
-
class
oci.data_safe.models.UpdateCryptoAssessmentDetails(**kwargs)¶ Bases:
objectUpdates one or more attributes of the specified crypto assessment.
Methods
__init__(**kwargs)Initializes a new UpdateCryptoAssessmentDetails object with values from keyword arguments. Attributes
defined_tagsGets the defined_tags of this UpdateCryptoAssessmentDetails. display_nameGets the display_name of this UpdateCryptoAssessmentDetails. freeform_tagsGets the freeform_tags of this UpdateCryptoAssessmentDetails. is_assessment_scheduledGets the is_assessment_scheduled of this UpdateCryptoAssessmentDetails. scheduleGets the schedule of this UpdateCryptoAssessmentDetails. -
__init__(**kwargs)¶ Initializes a new UpdateCryptoAssessmentDetails 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 UpdateCryptoAssessmentDetails.
- schedule (str) – The value to assign to the schedule property of this UpdateCryptoAssessmentDetails.
- is_assessment_scheduled (bool) – The value to assign to the is_assessment_scheduled property of this UpdateCryptoAssessmentDetails.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateCryptoAssessmentDetails.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateCryptoAssessmentDetails.
Gets the defined_tags of this UpdateCryptoAssessmentDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {“Operations”: {“CostCenter”: “42”}}
Returns: The defined_tags of this UpdateCryptoAssessmentDetails. Return type: dict(str, dict(str, object))
-
display_name¶ Gets the display_name of this UpdateCryptoAssessmentDetails. The display name of the crypto assessment.
Returns: The display_name of this UpdateCryptoAssessmentDetails. Return type: str
Gets the freeform_tags of this UpdateCryptoAssessmentDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags
Example: {“Department”: “Finance”}
Returns: The freeform_tags of this UpdateCryptoAssessmentDetails. Return type: dict(str, str)
-
is_assessment_scheduled¶ Gets the is_assessment_scheduled of this UpdateCryptoAssessmentDetails. Indicates whether scheduled execution is active for this latest crypto assessment. When set to true, the existing schedule is used unless a new schedule is provided. When set to false, the schedule value is retained but scheduled execution is paused. Schedule state updates are supported only for assessments of type LATEST.
Returns: The is_assessment_scheduled of this UpdateCryptoAssessmentDetails. Return type: bool
-
schedule¶ Gets the schedule of this UpdateCryptoAssessmentDetails. Updates the schedule associated with this latest crypto assessment. The schedule uses the format: <version-string>;<version-specific-schedule>
For v1, the version-specific schedule format is: <ss> <mm> <hh> <day-of-week> <day-of-month>
Specify either day-of-week for weekly schedules or day-of-month for monthly schedules. Do not specify both. For monthly schedules, day-of-month must be between 1 and 28. If the service generates a default monthly schedule for an assessment created on day 29, 30, or 31 of a month, it uses day 28. Schedule updates are supported only for assessments of type LATEST.
Returns: The schedule of this UpdateCryptoAssessmentDetails. Return type: str
-