PlatformSpecificArtifact

class oci.fleet_apps_management.models.PlatformSpecificArtifact(**kwargs)

Bases: object

Patch artifact metadata Details which is platform specific.

Attributes:

ARCHITECTURE_ARM_64

A constant which can be used with the architecture property of a PlatformSpecificArtifact.

ARCHITECTURE_X64

A constant which can be used with the architecture property of a PlatformSpecificArtifact.

OS_TYPE_LINUX

A constant which can be used with the os_type property of a PlatformSpecificArtifact.

OS_TYPE_WINDOWS

A constant which can be used with the os_type property of a PlatformSpecificArtifact.

architecture

[Required] Gets the architecture of this PlatformSpecificArtifact.

content

[Required] Gets the content of this PlatformSpecificArtifact.

os_type

[Required] Gets the os_type of this PlatformSpecificArtifact.

Methods:

__init__(**kwargs)

Initializes a new PlatformSpecificArtifact object with values from keyword arguments.

ARCHITECTURE_ARM_64 = 'ARM_64'

A constant which can be used with the architecture property of a PlatformSpecificArtifact. This constant has a value of “ARM_64”

ARCHITECTURE_X64 = 'X64'

A constant which can be used with the architecture property of a PlatformSpecificArtifact. This constant has a value of “X64”

OS_TYPE_LINUX = 'LINUX'

A constant which can be used with the os_type property of a PlatformSpecificArtifact. This constant has a value of “LINUX”

OS_TYPE_WINDOWS = 'WINDOWS'

A constant which can be used with the os_type property of a PlatformSpecificArtifact. This constant has a value of “WINDOWS”

__init__(**kwargs)

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

Parameters
  • content (oci.fleet_apps_management.models.PatchFileContentDetails) – The value to assign to the content property of this PlatformSpecificArtifact.

  • os_type (str) – The value to assign to the os_type property of this PlatformSpecificArtifact. Allowed values for this property are: “WINDOWS”, “LINUX”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • architecture (str) – The value to assign to the architecture property of this PlatformSpecificArtifact. Allowed values for this property are: “ARM_64”, “X64”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

property architecture

[Required] Gets the architecture of this PlatformSpecificArtifact. System architecture.

Allowed values for this property are: “ARM_64”, “X64”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The architecture of this PlatformSpecificArtifact.

Return type

str

property content

[Required] Gets the content of this PlatformSpecificArtifact.

Returns

The content of this PlatformSpecificArtifact.

Return type

oci.fleet_apps_management.models.PatchFileContentDetails

property os_type

[Required] Gets the os_type of this PlatformSpecificArtifact. The OS type the patch is applicable for.

Allowed values for this property are: “WINDOWS”, “LINUX”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The os_type of this PlatformSpecificArtifact.

Return type

str