OriginGroupOrigins

class oci.waas.models.OriginGroupOrigins(**kwargs)

Bases: object

OriginGroupOrigins model.

Methods

__init__(**kwargs) Initializes a new OriginGroupOrigins object with values from keyword arguments.

Attributes

origin Gets the origin of this OriginGroupOrigins.
weight Gets the weight of this OriginGroupOrigins.
__init__(**kwargs)

Initializes a new OriginGroupOrigins object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • origin (str) – The value to assign to the origin property of this OriginGroupOrigins.
  • weight (int) – The value to assign to the weight property of this OriginGroupOrigins.
origin

Gets the origin of this OriginGroupOrigins. The IP address or CIDR notation of the origin server.

Returns:The origin of this OriginGroupOrigins.
Return type:str
weight

Gets the weight of this OriginGroupOrigins. The weight of the origin used in load balancing. Origins with higher weights will receive larger proportions of client requests.

Returns:The weight of this OriginGroupOrigins.
Return type:int