1. Packages
  2. Constellix Provider
  3. API Docs
  4. HttpRedirectionRecord
constellix 0.4.6 published on Friday, Mar 7, 2025 by constellix

constellix.HttpRedirectionRecord

Explore with Pulumi AI

Create HttpRedirectionRecord Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new HttpRedirectionRecord(name: string, args: HttpRedirectionRecordArgs, opts?: CustomResourceOptions);
@overload
def HttpRedirectionRecord(resource_name: str,
                          args: HttpRedirectionRecordArgs,
                          opts: Optional[ResourceOptions] = None)

@overload
def HttpRedirectionRecord(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          redirect_type_id: Optional[float] = None,
                          domain_id: Optional[str] = None,
                          url: Optional[str] = None,
                          ttl: Optional[float] = None,
                          source_type: Optional[str] = None,
                          note: Optional[str] = None,
                          name: Optional[str] = None,
                          noanswer: Optional[bool] = None,
                          description: Optional[str] = None,
                          parent: Optional[str] = None,
                          parentid: Optional[float] = None,
                          keywords: Optional[str] = None,
                          source: Optional[str] = None,
                          http_redirection_record_id: Optional[str] = None,
                          title: Optional[str] = None,
                          hardlink_flag: Optional[bool] = None,
                          type: Optional[str] = None,
                          gtd_region: Optional[float] = None)
func NewHttpRedirectionRecord(ctx *Context, name string, args HttpRedirectionRecordArgs, opts ...ResourceOption) (*HttpRedirectionRecord, error)
public HttpRedirectionRecord(string name, HttpRedirectionRecordArgs args, CustomResourceOptions? opts = null)
public HttpRedirectionRecord(String name, HttpRedirectionRecordArgs args)
public HttpRedirectionRecord(String name, HttpRedirectionRecordArgs args, CustomResourceOptions options)
type: constellix:HttpRedirectionRecord
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. HttpRedirectionRecordArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. HttpRedirectionRecordArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. HttpRedirectionRecordArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. HttpRedirectionRecordArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. HttpRedirectionRecordArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var httpRedirectionRecordResource = new Constellix.HttpRedirectionRecord("httpRedirectionRecordResource", new()
{
    RedirectTypeId = 0,
    DomainId = "string",
    Url = "string",
    Ttl = 0,
    SourceType = "string",
    Note = "string",
    Name = "string",
    Noanswer = false,
    Description = "string",
    Parent = "string",
    Parentid = 0,
    Keywords = "string",
    Source = "string",
    HttpRedirectionRecordId = "string",
    Title = "string",
    HardlinkFlag = false,
    Type = "string",
    GtdRegion = 0,
});
Copy
example, err := constellix.NewHttpRedirectionRecord(ctx, "httpRedirectionRecordResource", &constellix.HttpRedirectionRecordArgs{
	RedirectTypeId:          pulumi.Float64(0),
	DomainId:                pulumi.String("string"),
	Url:                     pulumi.String("string"),
	Ttl:                     pulumi.Float64(0),
	SourceType:              pulumi.String("string"),
	Note:                    pulumi.String("string"),
	Name:                    pulumi.String("string"),
	Noanswer:                pulumi.Bool(false),
	Description:             pulumi.String("string"),
	Parent:                  pulumi.String("string"),
	Parentid:                pulumi.Float64(0),
	Keywords:                pulumi.String("string"),
	Source:                  pulumi.String("string"),
	HttpRedirectionRecordId: pulumi.String("string"),
	Title:                   pulumi.String("string"),
	HardlinkFlag:            pulumi.Bool(false),
	Type:                    pulumi.String("string"),
	GtdRegion:               pulumi.Float64(0),
})
Copy
var httpRedirectionRecordResource = new HttpRedirectionRecord("httpRedirectionRecordResource", HttpRedirectionRecordArgs.builder()
    .redirectTypeId(0)
    .domainId("string")
    .url("string")
    .ttl(0)
    .sourceType("string")
    .note("string")
    .name("string")
    .noanswer(false)
    .description("string")
    .parent("string")
    .parentid(0)
    .keywords("string")
    .source("string")
    .httpRedirectionRecordId("string")
    .title("string")
    .hardlinkFlag(false)
    .type("string")
    .gtdRegion(0)
    .build());
Copy
http_redirection_record_resource = constellix.HttpRedirectionRecord("httpRedirectionRecordResource",
    redirect_type_id=0,
    domain_id="string",
    url="string",
    ttl=0,
    source_type="string",
    note="string",
    name="string",
    noanswer=False,
    description="string",
    parent="string",
    parentid=0,
    keywords="string",
    source="string",
    http_redirection_record_id="string",
    title="string",
    hardlink_flag=False,
    type="string",
    gtd_region=0)
Copy
const httpRedirectionRecordResource = new constellix.HttpRedirectionRecord("httpRedirectionRecordResource", {
    redirectTypeId: 0,
    domainId: "string",
    url: "string",
    ttl: 0,
    sourceType: "string",
    note: "string",
    name: "string",
    noanswer: false,
    description: "string",
    parent: "string",
    parentid: 0,
    keywords: "string",
    source: "string",
    httpRedirectionRecordId: "string",
    title: "string",
    hardlinkFlag: false,
    type: "string",
    gtdRegion: 0,
});
Copy
type: constellix:HttpRedirectionRecord
properties:
    description: string
    domainId: string
    gtdRegion: 0
    hardlinkFlag: false
    httpRedirectionRecordId: string
    keywords: string
    name: string
    noanswer: false
    note: string
    parent: string
    parentid: 0
    redirectTypeId: 0
    source: string
    sourceType: string
    title: string
    ttl: 0
    type: string
    url: string
Copy

HttpRedirectionRecord Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The HttpRedirectionRecord resource accepts the following input properties:

DomainId This property is required. string
RedirectTypeId This property is required. double
SourceType This property is required. string
Ttl This property is required. double
Url This property is required. string
Description string
GtdRegion double
HardlinkFlag bool
HttpRedirectionRecordId string
Keywords string
Name string
Noanswer bool
Note string
Parent string
Parentid double
Source string
Title string
Type string
DomainId This property is required. string
RedirectTypeId This property is required. float64
SourceType This property is required. string
Ttl This property is required. float64
Url This property is required. string
Description string
GtdRegion float64
HardlinkFlag bool
HttpRedirectionRecordId string
Keywords string
Name string
Noanswer bool
Note string
Parent string
Parentid float64
Source string
Title string
Type string
domainId This property is required. String
redirectTypeId This property is required. Double
sourceType This property is required. String
ttl This property is required. Double
url This property is required. String
description String
gtdRegion Double
hardlinkFlag Boolean
httpRedirectionRecordId String
keywords String
name String
noanswer Boolean
note String
parent String
parentid Double
source String
title String
type String
domainId This property is required. string
redirectTypeId This property is required. number
sourceType This property is required. string
ttl This property is required. number
url This property is required. string
description string
gtdRegion number
hardlinkFlag boolean
httpRedirectionRecordId string
keywords string
name string
noanswer boolean
note string
parent string
parentid number
source string
title string
type string
domain_id This property is required. str
redirect_type_id This property is required. float
source_type This property is required. str
ttl This property is required. float
url This property is required. str
description str
gtd_region float
hardlink_flag bool
http_redirection_record_id str
keywords str
name str
noanswer bool
note str
parent str
parentid float
source str
title str
type str
domainId This property is required. String
redirectTypeId This property is required. Number
sourceType This property is required. String
ttl This property is required. Number
url This property is required. String
description String
gtdRegion Number
hardlinkFlag Boolean
httpRedirectionRecordId String
keywords String
name String
noanswer Boolean
note String
parent String
parentid Number
source String
title String
type String

Outputs

All input properties are implicitly available as output properties. Additionally, the HttpRedirectionRecord resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.

Look up Existing HttpRedirectionRecord Resource

Get an existing HttpRedirectionRecord resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: HttpRedirectionRecordState, opts?: CustomResourceOptions): HttpRedirectionRecord
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        description: Optional[str] = None,
        domain_id: Optional[str] = None,
        gtd_region: Optional[float] = None,
        hardlink_flag: Optional[bool] = None,
        http_redirection_record_id: Optional[str] = None,
        keywords: Optional[str] = None,
        name: Optional[str] = None,
        noanswer: Optional[bool] = None,
        note: Optional[str] = None,
        parent: Optional[str] = None,
        parentid: Optional[float] = None,
        redirect_type_id: Optional[float] = None,
        source: Optional[str] = None,
        source_type: Optional[str] = None,
        title: Optional[str] = None,
        ttl: Optional[float] = None,
        type: Optional[str] = None,
        url: Optional[str] = None) -> HttpRedirectionRecord
func GetHttpRedirectionRecord(ctx *Context, name string, id IDInput, state *HttpRedirectionRecordState, opts ...ResourceOption) (*HttpRedirectionRecord, error)
public static HttpRedirectionRecord Get(string name, Input<string> id, HttpRedirectionRecordState? state, CustomResourceOptions? opts = null)
public static HttpRedirectionRecord get(String name, Output<String> id, HttpRedirectionRecordState state, CustomResourceOptions options)
resources:  _:    type: constellix:HttpRedirectionRecord    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
Description string
DomainId string
GtdRegion double
HardlinkFlag bool
HttpRedirectionRecordId string
Keywords string
Name string
Noanswer bool
Note string
Parent string
Parentid double
RedirectTypeId double
Source string
SourceType string
Title string
Ttl double
Type string
Url string
Description string
DomainId string
GtdRegion float64
HardlinkFlag bool
HttpRedirectionRecordId string
Keywords string
Name string
Noanswer bool
Note string
Parent string
Parentid float64
RedirectTypeId float64
Source string
SourceType string
Title string
Ttl float64
Type string
Url string
description String
domainId String
gtdRegion Double
hardlinkFlag Boolean
httpRedirectionRecordId String
keywords String
name String
noanswer Boolean
note String
parent String
parentid Double
redirectTypeId Double
source String
sourceType String
title String
ttl Double
type String
url String
description string
domainId string
gtdRegion number
hardlinkFlag boolean
httpRedirectionRecordId string
keywords string
name string
noanswer boolean
note string
parent string
parentid number
redirectTypeId number
source string
sourceType string
title string
ttl number
type string
url string
description String
domainId String
gtdRegion Number
hardlinkFlag Boolean
httpRedirectionRecordId String
keywords String
name String
noanswer Boolean
note String
parent String
parentid Number
redirectTypeId Number
source String
sourceType String
title String
ttl Number
type String
url String

Package Details

Repository
constellix constellix/terraform-provider-constellix
License
Notes
This Pulumi package is based on the constellix Terraform Provider.