RoleSummary¶
-
class
oci.database_management.models.RoleSummary(**kwargs)¶ Bases:
objectA summary of each role.
Attributes
ADMIN_OPTION_NOA constant which can be used with the admin_option property of a RoleSummary. ADMIN_OPTION_YESA constant which can be used with the admin_option property of a RoleSummary. COMMON_NOA constant which can be used with the common property of a RoleSummary. COMMON_YESA constant which can be used with the common property of a RoleSummary. DEFAULT_ROLE_NOA constant which can be used with the default_role property of a RoleSummary. DEFAULT_ROLE_YESA constant which can be used with the default_role property of a RoleSummary. DELEGATE_OPTION_NOA constant which can be used with the delegate_option property of a RoleSummary. DELEGATE_OPTION_YESA constant which can be used with the delegate_option property of a RoleSummary. INHERITED_NOA constant which can be used with the inherited property of a RoleSummary. INHERITED_YESA constant which can be used with the inherited property of a RoleSummary. admin_optionGets the admin_option of this RoleSummary. commonGets the common of this RoleSummary. default_roleGets the default_role of this RoleSummary. delegate_optionGets the delegate_option of this RoleSummary. inheritedGets the inherited of this RoleSummary. nameGets 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’.
-
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
-
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
-
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
-
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
-
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
-
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
-