AffectedResource

class oci.announcements_service.models.AffectedResource(**kwargs)

Bases: object

The resource affected by the event described in the announcement.

Methods

__init__(**kwargs) Initializes a new AffectedResource object with values from keyword arguments.

Attributes

region [Required] Gets the region of this AffectedResource.
resource_id [Required] Gets the resource_id of this AffectedResource.
resource_name [Required] Gets the resource_name of this AffectedResource.
__init__(**kwargs)

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

Parameters:
  • resource_id (str) – The value to assign to the resource_id property of this AffectedResource.
  • resource_name (str) – The value to assign to the resource_name property of this AffectedResource.
  • region (str) – The value to assign to the region property of this AffectedResource.
region

[Required] Gets the region of this AffectedResource. The region where the affected resource exists.

Returns:The region of this AffectedResource.
Return type:str
resource_id

[Required] Gets the resource_id of this AffectedResource. The OCID of the affected resource.

Returns:The resource_id of this AffectedResource.
Return type:str
resource_name

[Required] Gets the resource_name of this AffectedResource. The friendly name of the resource.

Returns:The resource_name of this AffectedResource.
Return type:str