CreateComputeTargetDetails

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

Bases: object

Parameters needed to create a new compute target.

Methods:

__init__(**kwargs)

Initializes a new CreateComputeTargetDetails object with values from keyword arguments.

Attributes:

compartment_id

[Required] Gets the compartment_id of this CreateComputeTargetDetails.

compute_configuration_details

[Required] Gets the compute_configuration_details of this CreateComputeTargetDetails.

defined_tags

Gets the defined_tags of this CreateComputeTargetDetails.

description

Gets the description of this CreateComputeTargetDetails.

display_name

Gets the display_name of this CreateComputeTargetDetails.

freeform_tags

Gets the freeform_tags of this CreateComputeTargetDetails.

metadata

Gets the metadata of this CreateComputeTargetDetails.

__init__(**kwargs)

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

Parameters
  • compartment_id (str) – The value to assign to the compartment_id property of this CreateComputeTargetDetails.

  • display_name (str) – The value to assign to the display_name property of this CreateComputeTargetDetails.

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

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

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

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

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

property compartment_id

[Required] Gets the compartment_id of this CreateComputeTargetDetails. The OCID of the compartment where you want to create the compute target.

Returns

The compartment_id of this CreateComputeTargetDetails.

Return type

str

property compute_configuration_details

[Required] Gets the compute_configuration_details of this CreateComputeTargetDetails.

Returns

The compute_configuration_details of this CreateComputeTargetDetails.

Return type

oci.data_science.models.ComputeConfigurationDetails

property defined_tags

Gets the defined_tags of this CreateComputeTargetDetails. 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 CreateComputeTargetDetails.

Return type

dict(str, dict(str, object))

property description

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

Returns

The description of this CreateComputeTargetDetails.

Return type

str

property display_name

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

Returns

The display_name of this CreateComputeTargetDetails.

Return type

str

property freeform_tags

Gets the freeform_tags of this CreateComputeTargetDetails. 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 CreateComputeTargetDetails.

Return type

dict(str, str)

property metadata

Gets the metadata of this CreateComputeTargetDetails. 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 CreateComputeTargetDetails.

Return type

dict(str, str)