UpdateHttpRedirectDetails

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

Bases: object

The details of a HTTP Redirect configured to redirect traffic from one hostname to another.

Warning: Oracle recommends that you avoid using any confidential information when you supply string values using the API.

Methods

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

Attributes

defined_tags Gets the defined_tags of this UpdateHttpRedirectDetails.
display_name Gets the display_name of this UpdateHttpRedirectDetails.
freeform_tags Gets the freeform_tags of this UpdateHttpRedirectDetails.
response_code Gets the response_code of this UpdateHttpRedirectDetails.
target Gets the target of this UpdateHttpRedirectDetails.
__init__(**kwargs)

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

Parameters:
  • display_name (str) – The value to assign to the display_name property of this UpdateHttpRedirectDetails.
  • target (HttpRedirectTarget) – The value to assign to the target property of this UpdateHttpRedirectDetails.
  • response_code (int) – The value to assign to the response_code property of this UpdateHttpRedirectDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateHttpRedirectDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateHttpRedirectDetails.
defined_tags

Gets the defined_tags of this UpdateHttpRedirectDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

Example: {“Operations”: {“CostCenter”: “42”}}

Returns:The defined_tags of this UpdateHttpRedirectDetails.
Return type:dict(str, dict(str, object))
display_name

Gets the display_name of this UpdateHttpRedirectDetails. The user-friendly name of the HTTP Redirect. The name can be changed and does not need to be unique.

Returns:The display_name of this UpdateHttpRedirectDetails.
Return type:str
freeform_tags

Gets the freeform_tags of this UpdateHttpRedirectDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.

Example: {“Department”: “Finance”}

Returns:The freeform_tags of this UpdateHttpRedirectDetails.
Return type:dict(str, str)
response_code

Gets the response_code of this UpdateHttpRedirectDetails. The response code returned for the redirect to the client. reference - https://tools.ietf.org/html/rfc7231#section-6.4

Returns:The response_code of this UpdateHttpRedirectDetails.
Return type:int
target

Gets the target of this UpdateHttpRedirectDetails. The redirect target object including all the redirect data.

Returns:The target of this UpdateHttpRedirectDetails.
Return type:HttpRedirectTarget