UpdateImportedPackageDetails

class oci.oda.models.UpdateImportedPackageDetails(**kwargs)

Bases: object

Payload for updating an imported package

Methods:

__init__(**kwargs)

Initializes a new UpdateImportedPackageDetails object with values from keyword arguments.

Attributes:

current_package_id

[Required] Gets the current_package_id of this UpdateImportedPackageDetails.

defined_tags

Gets the defined_tags of this UpdateImportedPackageDetails.

freeform_tags

Gets the freeform_tags of this UpdateImportedPackageDetails.

parameter_values

[Required] Gets the parameter_values of this UpdateImportedPackageDetails.

__init__(**kwargs)

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

Parameters
  • current_package_id (str) – The value to assign to the current_package_id property of this UpdateImportedPackageDetails.

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

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

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

property current_package_id

[Required] Gets the current_package_id of this UpdateImportedPackageDetails. ID of the new package (i.e. version) to import, replacing the old imported package. Leave null if no new package resources are required. The name of the new package must must match the name of the already-imported package.

Returns

The current_package_id of this UpdateImportedPackageDetails.

Return type

str

property defined_tags

Gets the defined_tags of this UpdateImportedPackageDetails. Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: {“foo-namespace”: {“bar-key”: “value”}}

Returns

The defined_tags of this UpdateImportedPackageDetails.

Return type

dict(str, dict(str, object))

property freeform_tags

Gets the freeform_tags of this UpdateImportedPackageDetails. Simple key-value pair that is applied without any predefined name, type, or scope. Example: {“bar-key”: “value”}

Returns

The freeform_tags of this UpdateImportedPackageDetails.

Return type

dict(str, str)

property parameter_values

[Required] Gets the parameter_values of this UpdateImportedPackageDetails. A list of the updated parameter values to apply to this imported package.

Returns

The parameter_values of this UpdateImportedPackageDetails.

Return type

dict(str, str)