UpdateComputeTargetDetails

class oci.data_science.models.UpdateComputeTargetDetails(**kwargs)

Bases: object

Details for updating a compute target.

Methods:

__init__(**kwargs)

Initializes a new UpdateComputeTargetDetails object with values from keyword arguments.

Attributes:

compute_configuration_details

Gets the compute_configuration_details of this UpdateComputeTargetDetails.

defined_tags

Gets the defined_tags of this UpdateComputeTargetDetails.

description

Gets the description of this UpdateComputeTargetDetails.

display_name

Gets the display_name of this UpdateComputeTargetDetails.

freeform_tags

Gets the freeform_tags of this UpdateComputeTargetDetails.

metadata

Gets the metadata of this UpdateComputeTargetDetails.

__init__(**kwargs)

Initializes a new UpdateComputeTargetDetails 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 UpdateComputeTargetDetails.

  • description (str) – The value to assign to the description property of this UpdateComputeTargetDetails.

  • metadata (dict(str, str)) – The value to assign to the metadata property of this UpdateComputeTargetDetails.

  • compute_configuration_details (oci.data_science.models.UpdateComputeConfigurationDetails) – The value to assign to the compute_configuration_details property of this UpdateComputeTargetDetails.

  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateComputeTargetDetails.

  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateComputeTargetDetails.

property compute_configuration_details

Gets the compute_configuration_details of this UpdateComputeTargetDetails.

Returns

The compute_configuration_details of this UpdateComputeTargetDetails.

Return type

oci.data_science.models.UpdateComputeConfigurationDetails

property defined_tags

Gets the defined_tags of this UpdateComputeTargetDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {“Operations”: {“CostCenter”: “42”}}

Returns

The defined_tags of this UpdateComputeTargetDetails.

Return type

dict(str, dict(str, object))

property description

Gets the description of this UpdateComputeTargetDetails. A short description of the compute target.

Returns

The description of this UpdateComputeTargetDetails.

Return type

str

property display_name

Gets the display_name of this UpdateComputeTargetDetails. A user-friendly display name for the resource.

Returns

The display_name of this UpdateComputeTargetDetails.

Return type

str

property freeform_tags

Gets the freeform_tags of this UpdateComputeTargetDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags. Example: {“Department”: “Finance”}

Returns

The freeform_tags of this UpdateComputeTargetDetails.

Return type

dict(str, str)

property metadata

Gets the metadata of this UpdateComputeTargetDetails. Metadata for the compute target. The size of metadata must be less than 2048 bytes. Key should be under 32 characters. Key should contain only letters, digits and underscore (_) Key should start with a letter. Key should have at least 2 characters. Key should not end with underscore eg. TEST_ Key if added cannot be empty. Value can be empty. No specific size limits on individual Values. But overall metadata is limited to 2048 bytes. Key can’t be reserved Compute Target metadata.

Returns

The metadata of this UpdateComputeTargetDetails.

Return type

dict(str, str)