Class HttpRedirectSummary
The details of a HTTP Redirect configuration to allow redirecting HTTP traffic from a request domain to a new target.
Warning: Oracle recommends that you avoid using any confidential information when you supply string values using the API.
Inherited Members
Namespace: Oci.WaasService.Models
Assembly: OCI.DotNetSDK.Waas.dll
Syntax
public class HttpRedirectSummary
Properties
CompartmentId
Declaration
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the HTTP Redirect's compartment. |
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.
|
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
[JsonProperty(PropertyName = "domain")]
public string Domain { get; set; }
Property Value
Type | Description |
---|---|
string | The domain from which traffic will be redirected. |
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.
|
Id
Declaration
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the HTTP Redirect. |
LifecycleState
Declaration
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public LifecycleStates? LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
LifecycleStates? | The current lifecycle state of the HTTP Redirect. |
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
[JsonProperty(PropertyName = "target")]
public HttpRedirectTarget Target { get; set; }
Property Value
Type | Description |
---|---|
HttpRedirectTarget | The redirect target object including all the redirect data. |
TimeCreated
Declaration
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The date and time the policy was created, expressed in RFC 3339 timestamp format. |