Show / Hide Table of Contents

Class CreateHttpRedirectDetails

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.

Inheritance
object
CreateHttpRedirectDetails
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.WaasService.Models
Assembly: OCI.DotNetSDK.Waas.dll
Syntax
public class CreateHttpRedirectDetails

Properties

CompartmentId

Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type Description
string

The OCID of the HTTP Redirects compartment.

Remarks

Required

DefinedTags

Declaration
[JsonProperty(PropertyName = "definedTags")]
public Dictionary<string, Dictionary<string, object>> DefinedTags { get; set; }
Property Value
Type Description
Dictionary<string, Dictionary<string, object>>

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Example: {"Operations": {"CostCenter": "42"}}

DisplayName

Declaration
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type Description
string

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

Domain

Declaration
[Required(ErrorMessage = "Domain is required.")]
[JsonProperty(PropertyName = "domain")]
public string Domain { get; set; }
Property Value
Type Description
string

The domain from which traffic will be redirected.

Remarks

Required

FreeformTags

Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
Type Description
Dictionary<string, string>

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"}

ResponseCode

Declaration
[JsonProperty(PropertyName = "responseCode")]
public int? ResponseCode { get; set; }
Property Value
Type Description
int?

The response code returned for the redirect to the client. For more information, see RFC 7231.

Target

Declaration
[Required(ErrorMessage = "Target is required.")]
[JsonProperty(PropertyName = "target")]
public HttpRedirectTarget Target { get; set; }
Property Value
Type Description
HttpRedirectTarget

The redirect target object including all the redirect data.

Remarks

Required

In this article
Back to top