MemberReference¶
-
class
oci.stack_monitoring.models.
MemberReference
(**kwargs)¶ Bases:
object
The Member Reference details
Attributes
TYPE_RESOURCE_GROUP
A constant which can be used with the type property of a MemberReference. TYPE_RESOURCE_INSTANCE
A constant which can be used with the type property of a MemberReference. TYPE_RESOURCE_TYPE
A constant which can be used with the type property of a MemberReference. composite_type
Gets the composite_type of this MemberReference. id
[Required] Gets the id of this MemberReference. type
[Required] Gets the type of this MemberReference. Methods
__init__
(**kwargs)Initializes a new MemberReference object with values from keyword arguments. -
TYPE_RESOURCE_GROUP
= 'RESOURCE_GROUP'¶ A constant which can be used with the type property of a MemberReference. This constant has a value of “RESOURCE_GROUP”
-
TYPE_RESOURCE_INSTANCE
= 'RESOURCE_INSTANCE'¶ A constant which can be used with the type property of a MemberReference. This constant has a value of “RESOURCE_INSTANCE”
-
TYPE_RESOURCE_TYPE
= 'RESOURCE_TYPE'¶ A constant which can be used with the type property of a MemberReference. This constant has a value of “RESOURCE_TYPE”
-
__init__
(**kwargs)¶ Initializes a new MemberReference object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - id (str) – The value to assign to the id property of this MemberReference.
- type (str) – The value to assign to the type property of this MemberReference. Allowed values for this property are: “RESOURCE_INSTANCE”, “RESOURCE_TYPE”, “RESOURCE_GROUP”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- composite_type (str) – The value to assign to the composite_type property of this MemberReference.
-
composite_type
¶ Gets the composite_type of this MemberReference. The OCID of the composite resource type like EBS or Peoplesoft.
Returns: The composite_type of this MemberReference. Return type: str
-
id
¶ [Required] Gets the id of this MemberReference. The OCID of the resourceInstance/resourceType/resourceGroup
Returns: The id of this MemberReference. Return type: str
-
type
¶ [Required] Gets the type of this MemberReference. Type of the member reference RESOURCE_INSTANCE, RESOURCE_TYPE, RESOURCE_GROUP
Allowed values for this property are: “RESOURCE_INSTANCE”, “RESOURCE_TYPE”, “RESOURCE_GROUP”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The type of this MemberReference. Return type: str
-