AffectedResource¶
- class oci.announcements_service.models.AffectedResource(**kwargs)¶
Bases:
objectThe resource affected by the event described in the announcement.
Methods:
__init__(**kwargs)Initializes a new AffectedResource object with values from keyword arguments.
Attributes:
Gets the additional_properties of this AffectedResource.
[Required] Gets the region of this AffectedResource.
[Required] Gets the resource_id of this AffectedResource.
[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.
additional_properties (list[oci.announcements_service.models.ModelProperty]) – The value to assign to the additional_properties property of this AffectedResource.
- property additional_properties¶
Gets the additional_properties of this AffectedResource. Additional properties associated with the resource.
- Returns
The additional_properties of this AffectedResource.
- Return type
- property region¶
[Required] Gets the region of this AffectedResource. The region where the affected resource exists.
- Returns
The region of this AffectedResource.
- Return type
str
- property 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
- property 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