RoleSummary¶
- class oci.database_management.models.RoleSummary(**kwargs)¶
Bases:
objectA summary of each role.
Attributes:
A constant which can be used with the admin_option property of a RoleSummary.
A constant which can be used with the admin_option property of a RoleSummary.
A constant which can be used with the common property of a RoleSummary.
A constant which can be used with the common property of a RoleSummary.
A constant which can be used with the default_role property of a RoleSummary.
A constant which can be used with the default_role property of a RoleSummary.
A constant which can be used with the delegate_option property of a RoleSummary.
A constant which can be used with the delegate_option property of a RoleSummary.
A constant which can be used with the inherited property of a RoleSummary.
A constant which can be used with the inherited property of a RoleSummary.
Gets the admin_option of this RoleSummary.
Gets the common of this RoleSummary.
Gets the default_role of this RoleSummary.
Gets the delegate_option of this RoleSummary.
Gets the inherited of this RoleSummary.
Gets the name of this RoleSummary.
Methods:
__init__(**kwargs)Initializes a new RoleSummary object with values from keyword arguments.
- ADMIN_OPTION_NO = 'NO'¶
A constant which can be used with the admin_option property of a RoleSummary. This constant has a value of “NO”
- ADMIN_OPTION_YES = 'YES'¶
A constant which can be used with the admin_option property of a RoleSummary. This constant has a value of “YES”
- COMMON_NO = 'NO'¶
A constant which can be used with the common property of a RoleSummary. This constant has a value of “NO”
- COMMON_YES = 'YES'¶
A constant which can be used with the common property of a RoleSummary. This constant has a value of “YES”
- DEFAULT_ROLE_NO = 'NO'¶
A constant which can be used with the default_role property of a RoleSummary. This constant has a value of “NO”
- DEFAULT_ROLE_YES = 'YES'¶
A constant which can be used with the default_role property of a RoleSummary. This constant has a value of “YES”
- DELEGATE_OPTION_NO = 'NO'¶
A constant which can be used with the delegate_option property of a RoleSummary. This constant has a value of “NO”
- DELEGATE_OPTION_YES = 'YES'¶
A constant which can be used with the delegate_option property of a RoleSummary. This constant has a value of “YES”
- INHERITED_NO = 'NO'¶
A constant which can be used with the inherited property of a RoleSummary. This constant has a value of “NO”
- INHERITED_YES = 'YES'¶
A constant which can be used with the inherited property of a RoleSummary. This constant has a value of “YES”
- __init__(**kwargs)¶
Initializes a new RoleSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
name (str) – The value to assign to the name property of this RoleSummary.
admin_option (str) – The value to assign to the admin_option property of this RoleSummary. Allowed values for this property are: “YES”, “NO”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
delegate_option (str) – The value to assign to the delegate_option property of this RoleSummary. Allowed values for this property are: “YES”, “NO”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
default_role (str) – The value to assign to the default_role property of this RoleSummary. Allowed values for this property are: “YES”, “NO”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
common (str) – The value to assign to the common property of this RoleSummary. Allowed values for this property are: “YES”, “NO”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
inherited (str) – The value to assign to the inherited property of this RoleSummary. Allowed values for this property are: “YES”, “NO”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- property admin_option¶
Gets the admin_option of this RoleSummary. Indicates whether the role is granted with the ADMIN OPTION (YES) or not (NO).
Allowed values for this property are: “YES”, “NO”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The admin_option of this RoleSummary.
- Return type
str
- property common¶
Gets the common of this RoleSummary. Indicates how the role was granted. Possible values: YES if the role is granted commonly (CONTAINER=ALL is used) NO if the role is granted locally (CONTAINER=ALL is not used)
Allowed values for this property are: “YES”, “NO”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The common of this RoleSummary.
- Return type
str
- property default_role¶
Gets the default_role of this RoleSummary. Indicates whether the role is designated as a DEFAULT ROLE for the user (YES) or not (NO).
Allowed values for this property are: “YES”, “NO”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The default_role of this RoleSummary.
- Return type
str
- property delegate_option¶
Gets the delegate_option of this RoleSummary. Indicates whether the role is granted with the DELEGATE OPTION (YES) or not (NO).
Allowed values for this property are: “YES”, “NO”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The delegate_option of this RoleSummary.
- Return type
str
- property inherited¶
Gets the inherited of this RoleSummary. Indicates whether the granted role is inherited from another container (YES) or not (NO).
Allowed values for this property are: “YES”, “NO”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The inherited of this RoleSummary.
- Return type
str
- property name¶
Gets the name of this RoleSummary. The name of the role granted to the user.
- Returns
The name of this RoleSummary.
- Return type
str