Service¶
- 
class oci.vn_monitoring.models.Service(**kwargs)¶
- Bases: - object- An object that represents one or multiple Oracle services that you can enable for a - ServiceGateway. In the User Guide topic Access to Oracle Services: Service Gateway, the term service CIDR label is used to refer to the string that represents the regional public IP address ranges of the Oracle service or services covered by a given Service object. That unique string is the value of the Service object’s cidrBlock attribute.- Methods - __init__(**kwargs)- Initializes a new Service object with values from keyword arguments. - Attributes - cidr_block- [Required] Gets the cidr_block of this Service. - description- [Required] Gets the description of this Service. - id- [Required] Gets the id of this Service. - name- [Required] Gets the name of this Service. - 
__init__(**kwargs)¶
- Initializes a new Service object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): - Parameters: - cidr_block (str) – The value to assign to the cidr_block property of this Service.
- description (str) – The value to assign to the description property of this Service.
- id (str) – The value to assign to the id property of this Service.
- name (str) – The value to assign to the name property of this Service.
 
 - 
cidr_block¶
- [Required] Gets the cidr_block of this Service. A string that represents the regional public IP address ranges for the Oracle service or services covered by this Service object. Also known as the Service object’s service CIDR label. - When you set up a route rule to route traffic to the service gateway, use this value as the rule’s destination. See - RouteTable. Also, when you set up a security list rule to cover traffic with the service gateway, use the cidrBlock value as the rule’s destination (for an egress rule) or the source (for an ingress rule). See- SecurityList.- Example: oci-phx-objectstorage - Returns: - The cidr_block of this Service. - Return type: - str 
 - 
description¶
- [Required] Gets the description of this Service. Description of the Oracle service or services covered by this Service object. - Example: OCI PHX Object Storage - Returns: - The description of this Service. - Return type: - str 
 - 
id¶
- [Required] Gets the id of this Service. The Service object’s OCID. - Returns: - The id of this Service. - Return type: - str 
 - 
name¶
- [Required] Gets the name of this Service. Name of the Service object. This name can change and is not guaranteed to be unique. - Example: OCI PHX Object Storage - Returns: - The name of this Service. - Return type: - str 
 
-