Service¶
-
class
oci.announcements_service.models.
Service
(**kwargs)¶ Bases:
oci.announcements_service.models.base_service.BaseService
Summary of the service object.
Attributes
COMMS_MANAGER_NAME_AS
str(object=’’) -> str COMMS_MANAGER_NAME_CN
str(object=’’) -> str COMMS_MANAGER_NAME_ERF
str(object=’’) -> str COMMS_MANAGER_NAME_FUSION
str(object=’’) -> str LIFECYCLE_STATE_ACTIVE
str(object=’’) -> str LIFECYCLE_STATE_DELETED
str(object=’’) -> str PLATFORM_TYPE_IAAS
str(object=’’) -> str PLATFORM_TYPE_PAAS
str(object=’’) -> str PLATFORM_TYPE_SAAS
str(object=’’) -> str comms_manager_name
[Required] Gets the comms_manager_name of this BaseService. excluded_realms
[Required] Gets the excluded_realms of this BaseService. id
[Required] Gets the id of this BaseService. lifecycle_state
Gets the lifecycle_state of this BaseService. platform_type
[Required] Gets the platform_type of this BaseService. previous_service_names
[Required] Gets the previous_service_names of this BaseService. service_name
[Required] Gets the service_name of this BaseService. short_name
[Required] Gets the short_name of this BaseService. team_name
[Required] Gets the team_name of this BaseService. time_created
Gets the time_created of this BaseService. time_updated
Gets the time_updated of this BaseService. type
[Required] Gets the type of this BaseService. Methods
__init__
(**kwargs)Initializes a new Service object with values from keyword arguments. get_subtype
(object_dictionary)Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. -
COMMS_MANAGER_NAME_AS
= 'AS'¶
-
COMMS_MANAGER_NAME_CN
= 'CN'¶
-
COMMS_MANAGER_NAME_ERF
= 'ERF'¶
-
COMMS_MANAGER_NAME_FUSION
= 'FUSION'¶
-
LIFECYCLE_STATE_ACTIVE
= 'ACTIVE'¶
-
LIFECYCLE_STATE_DELETED
= 'DELETED'¶
-
PLATFORM_TYPE_IAAS
= 'IAAS'¶
-
PLATFORM_TYPE_PAAS
= 'PAAS'¶
-
PLATFORM_TYPE_SAAS
= 'SAAS'¶
-
__init__
(**kwargs)¶ Initializes a new Service object with values from keyword arguments. The default value of the
type
attribute of this class isService
and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):Parameters: - type (str) – The value to assign to the type property of this Service.
- id (str) – The value to assign to the id property of this Service.
- service_name (str) – The value to assign to the service_name property of this Service.
- short_name (str) – The value to assign to the short_name property of this Service.
- team_name (str) – The value to assign to the team_name property of this Service.
- platform_type (str) – The value to assign to the platform_type property of this Service. Allowed values for this property are: “IAAS”, “SAAS”, “PAAS”
- comms_manager_name (str) – The value to assign to the comms_manager_name property of this Service. Allowed values for this property are: “CN”, “FUSION”, “AS”, “ERF”
- excluded_realms (list[str]) – The value to assign to the excluded_realms property of this Service.
- previous_service_names (list[str]) – The value to assign to the previous_service_names property of this Service.
- time_created (datetime) – The value to assign to the time_created property of this Service.
- time_updated (datetime) – The value to assign to the time_updated property of this Service.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this Service. Allowed values for this property are: “ACTIVE”, “DELETED”
-
comms_manager_name
¶ [Required] Gets the comms_manager_name of this BaseService. Name of the comms manager team that manages Notifications to this service.
Allowed values for this property are: “CN”, “FUSION”, “AS”, “ERF”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The comms_manager_name of this BaseService. Return type: str
-
excluded_realms
¶ [Required] Gets the excluded_realms of this BaseService. The list of realms where this service is not available to be used.
Returns: The excluded_realms of this BaseService. Return type: list[str]
-
static
get_subtype
(object_dictionary)¶ Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
-
id
¶ [Required] Gets the id of this BaseService. ID of the service object.
Returns: The id of this BaseService. Return type: str
-
lifecycle_state
¶ Gets the lifecycle_state of this BaseService. Current state of the service object.
Allowed values for this property are: “ACTIVE”, “DELETED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The lifecycle_state of this BaseService. Return type: str
-
platform_type
¶ [Required] Gets the platform_type of this BaseService. The platform type this service object is related to.
Allowed values for this property are: “IAAS”, “SAAS”, “PAAS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The platform_type of this BaseService. Return type: str
-
previous_service_names
¶ [Required] Gets the previous_service_names of this BaseService. The list of previously used names for this service object.
Returns: The previous_service_names of this BaseService. Return type: list[str]
-
service_name
¶ [Required] Gets the service_name of this BaseService. Name of the service represented by this object.
Returns: The service_name of this BaseService. Return type: str
-
short_name
¶ [Required] Gets the short_name of this BaseService. Short name of the team to whom this service object is related.
Returns: The short_name of this BaseService. Return type: str
-
team_name
¶ [Required] Gets the team_name of this BaseService. Team name to which this service object is related.
Returns: The team_name of this BaseService. Return type: str
-
time_created
¶ Gets the time_created of this BaseService. The date and time when the service object was created.
Returns: The time_created of this BaseService. Return type: datetime
-
time_updated
¶ Gets the time_updated of this BaseService. The date and time when the service object was updated.
Returns: The time_updated of this BaseService. Return type: datetime
-
type
¶ [Required] Gets the type of this BaseService. The discriminator property.
Returns: The type of this BaseService. Return type: str
-