ServiceCategory¶
-
class
oci.cims.models.ServiceCategory(**kwargs)¶ Bases:
objectInformation about the support request classifier.
Attributes
SCOPE_ADA constant which can be used with the scope property of a ServiceCategory. SCOPE_NONEA constant which can be used with the scope property of a ServiceCategory. SCOPE_REGIONA constant which can be used with the scope property of a ServiceCategory. SCOPE_TENANCYA constant which can be used with the scope property of a ServiceCategory. UNIT_COUNTA constant which can be used with the unit property of a ServiceCategory. UNIT_GBA constant which can be used with the unit property of a ServiceCategory. UNIT_NONEA constant which can be used with the unit property of a ServiceCategory. descriptionGets the description of this ServiceCategory. issue_type_listGets the issue_type_list of this ServiceCategory. keyGets the key of this ServiceCategory. labelGets the label of this ServiceCategory. limit_idGets the limit_id of this ServiceCategory. nameGets the name of this ServiceCategory. scopeGets the scope of this ServiceCategory. supported_subscriptionsGets the supported_subscriptions of this ServiceCategory. unitGets the unit of this ServiceCategory. Methods
__init__(**kwargs)Initializes a new ServiceCategory object with values from keyword arguments. -
SCOPE_AD= 'AD'¶ A constant which can be used with the scope property of a ServiceCategory. This constant has a value of “AD”
-
SCOPE_NONE= 'NONE'¶ A constant which can be used with the scope property of a ServiceCategory. This constant has a value of “NONE”
-
SCOPE_REGION= 'REGION'¶ A constant which can be used with the scope property of a ServiceCategory. This constant has a value of “REGION”
-
SCOPE_TENANCY= 'TENANCY'¶ A constant which can be used with the scope property of a ServiceCategory. This constant has a value of “TENANCY”
-
UNIT_COUNT= 'COUNT'¶ A constant which can be used with the unit property of a ServiceCategory. This constant has a value of “COUNT”
-
UNIT_GB= 'GB'¶ A constant which can be used with the unit property of a ServiceCategory. This constant has a value of “GB”
-
UNIT_NONE= 'NONE'¶ A constant which can be used with the unit property of a ServiceCategory. This constant has a value of “NONE”
-
__init__(**kwargs)¶ Initializes a new ServiceCategory object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - key (str) – The value to assign to the key property of this ServiceCategory.
- name (str) – The value to assign to the name property of this ServiceCategory.
- label (str) – The value to assign to the label property of this ServiceCategory.
- description (str) – The value to assign to the description property of this ServiceCategory.
- issue_type_list (list[oci.cims.models.IssueType]) – The value to assign to the issue_type_list property of this ServiceCategory.
- supported_subscriptions (list[str]) – The value to assign to the supported_subscriptions property of this ServiceCategory.
- scope (str) – The value to assign to the scope property of this ServiceCategory. Allowed values for this property are: “AD”, “REGION”, “TENANCY”, “NONE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- unit (str) – The value to assign to the unit property of this ServiceCategory. Allowed values for this property are: “COUNT”, “GB”, “NONE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- limit_id (str) – The value to assign to the limit_id property of this ServiceCategory.
-
description¶ Gets the description of this ServiceCategory. The text describing the classifier.
Returns: The description of this ServiceCategory. Return type: str
-
issue_type_list¶ Gets the issue_type_list of this ServiceCategory. The list of issues.
Returns: The issue_type_list of this ServiceCategory. Return type: list[oci.cims.models.IssueType]
-
key¶ Gets the key of this ServiceCategory. The unique ID that identifies a classifier.
Returns: The key of this ServiceCategory. Return type: str
-
label¶ Gets the label of this ServiceCategory. The label for the classifier.
Returns: The label of this ServiceCategory. Return type: str
-
limit_id¶ Gets the limit_id of this ServiceCategory. The unique ID for the limit.
Returns: The limit_id of this ServiceCategory. Return type: str
-
name¶ Gets the name of this ServiceCategory. The name of the classifier.
Returns: The name of this ServiceCategory. Return type: str
-
scope¶ Gets the scope of this ServiceCategory. The scope of the incident.
Allowed values for this property are: “AD”, “REGION”, “TENANCY”, “NONE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The scope of this ServiceCategory. Return type: str
-
supported_subscriptions¶ Gets the supported_subscriptions of this ServiceCategory. List of supported subscriptions
Returns: The supported_subscriptions of this ServiceCategory. Return type: list[str]
-
unit¶ Gets the unit of this ServiceCategory. The unit to use to measure the service category or resource.
Allowed values for this property are: “COUNT”, “GB”, “NONE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The unit of this ServiceCategory. Return type: str
-