UpdateServiceGatewayDetails¶
- class oci.vn_monitoring.models.UpdateServiceGatewayDetails(**kwargs)¶
Bases:
objectUpdateServiceGatewayDetails model.
Methods:
__init__(**kwargs)Initializes a new UpdateServiceGatewayDetails object with values from keyword arguments.
Attributes:
Gets the block_traffic of this UpdateServiceGatewayDetails.
Gets the defined_tags of this UpdateServiceGatewayDetails.
Gets the display_name of this UpdateServiceGatewayDetails.
Gets the freeform_tags of this UpdateServiceGatewayDetails.
Gets the services of this UpdateServiceGatewayDetails.
- __init__(**kwargs)¶
Initializes a new UpdateServiceGatewayDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
block_traffic (bool) – The value to assign to the block_traffic property of this UpdateServiceGatewayDetails.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateServiceGatewayDetails.
display_name (str) – The value to assign to the display_name property of this UpdateServiceGatewayDetails.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateServiceGatewayDetails.
services (list[oci.vn_monitoring.models.ServiceIdRequestDetails]) – The value to assign to the services property of this UpdateServiceGatewayDetails.
- property block_traffic¶
Gets the block_traffic of this UpdateServiceGatewayDetails. Whether the service gateway blocks all traffic through it. The default is false. When this is true, traffic is not routed to any services, regardless of route rules.
Example: true
- Returns
The block_traffic of this UpdateServiceGatewayDetails.
- Return type
bool
- property defined_tags¶
Gets the defined_tags of this UpdateServiceGatewayDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
- Returns
The defined_tags of this UpdateServiceGatewayDetails.
- Return type
dict(str, dict(str, object))
- property display_name¶
Gets the display_name of this UpdateServiceGatewayDetails. A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
- Returns
The display_name of this UpdateServiceGatewayDetails.
- Return type
str
- property freeform_tags¶
Gets the freeform_tags of this UpdateServiceGatewayDetails. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}
- Returns
The freeform_tags of this UpdateServiceGatewayDetails.
- Return type
dict(str, str)
- property services¶
Gets the services of this UpdateServiceGatewayDetails. List of all the Service objects you want enabled on this service gateway. Sending an empty list means you want to disable all services. Omitting this parameter entirely keeps the existing list of services intact.
You can also enable or disable a particular Service by using
attach_service_id()ordetach_service_id().For each enabled Service, make sure there’s a route rule with the Service object’s cidrBlock as the rule’s destination and the service gateway as the rule’s target. See
RouteTable.- Returns
The services of this UpdateServiceGatewayDetails.
- Return type