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

constellix.HinfoRecord

Explore with Pulumi AI

Create HinfoRecord Resource

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

Constructor syntax

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

@overload
def HinfoRecord(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                domain_id: Optional[str] = None,
                roundrobins: Optional[Sequence[HinfoRecordRoundrobinArgs]] = None,
                source_type: Optional[str] = None,
                ttl: Optional[float] = None,
                gtd_region: Optional[float] = None,
                hinfo_record_id: Optional[str] = None,
                name: Optional[str] = None,
                noanswer: Optional[bool] = None,
                note: Optional[str] = None,
                type: Optional[str] = None)
func NewHinfoRecord(ctx *Context, name string, args HinfoRecordArgs, opts ...ResourceOption) (*HinfoRecord, error)
public HinfoRecord(string name, HinfoRecordArgs args, CustomResourceOptions? opts = null)
public HinfoRecord(String name, HinfoRecordArgs args)
public HinfoRecord(String name, HinfoRecordArgs args, CustomResourceOptions options)
type: constellix:HinfoRecord
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. HinfoRecordArgs
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. HinfoRecordArgs
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. HinfoRecordArgs
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. HinfoRecordArgs
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. HinfoRecordArgs
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 hinfoRecordResource = new Constellix.HinfoRecord("hinfoRecordResource", new()
{
    DomainId = "string",
    Roundrobins = new[]
    {
        new Constellix.Inputs.HinfoRecordRoundrobinArgs
        {
            Cpu = "string",
            Os = "string",
            DisableFlag = "string",
        },
    },
    SourceType = "string",
    Ttl = 0,
    GtdRegion = 0,
    HinfoRecordId = "string",
    Name = "string",
    Noanswer = false,
    Note = "string",
    Type = "string",
});
Copy
example, err := constellix.NewHinfoRecord(ctx, "hinfoRecordResource", &constellix.HinfoRecordArgs{
DomainId: pulumi.String("string"),
Roundrobins: .HinfoRecordRoundrobinArray{
&.HinfoRecordRoundrobinArgs{
Cpu: pulumi.String("string"),
Os: pulumi.String("string"),
DisableFlag: pulumi.String("string"),
},
},
SourceType: pulumi.String("string"),
Ttl: pulumi.Float64(0),
GtdRegion: pulumi.Float64(0),
HinfoRecordId: pulumi.String("string"),
Name: pulumi.String("string"),
Noanswer: pulumi.Bool(false),
Note: pulumi.String("string"),
Type: pulumi.String("string"),
})
Copy
var hinfoRecordResource = new HinfoRecord("hinfoRecordResource", HinfoRecordArgs.builder()
    .domainId("string")
    .roundrobins(HinfoRecordRoundrobinArgs.builder()
        .cpu("string")
        .os("string")
        .disableFlag("string")
        .build())
    .sourceType("string")
    .ttl(0)
    .gtdRegion(0)
    .hinfoRecordId("string")
    .name("string")
    .noanswer(false)
    .note("string")
    .type("string")
    .build());
Copy
hinfo_record_resource = constellix.HinfoRecord("hinfoRecordResource",
    domain_id="string",
    roundrobins=[{
        "cpu": "string",
        "os": "string",
        "disable_flag": "string",
    }],
    source_type="string",
    ttl=0,
    gtd_region=0,
    hinfo_record_id="string",
    name="string",
    noanswer=False,
    note="string",
    type="string")
Copy
const hinfoRecordResource = new constellix.HinfoRecord("hinfoRecordResource", {
    domainId: "string",
    roundrobins: [{
        cpu: "string",
        os: "string",
        disableFlag: "string",
    }],
    sourceType: "string",
    ttl: 0,
    gtdRegion: 0,
    hinfoRecordId: "string",
    name: "string",
    noanswer: false,
    note: "string",
    type: "string",
});
Copy
type: constellix:HinfoRecord
properties:
    domainId: string
    gtdRegion: 0
    hinfoRecordId: string
    name: string
    noanswer: false
    note: string
    roundrobins:
        - cpu: string
          disableFlag: string
          os: string
    sourceType: string
    ttl: 0
    type: string
Copy

HinfoRecord 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 HinfoRecord resource accepts the following input properties:

DomainId This property is required. string
Roundrobins This property is required. List<HinfoRecordRoundrobin>
SourceType This property is required. string
Ttl This property is required. double
GtdRegion double
HinfoRecordId string
Name string
Noanswer bool
Note string
Type string
DomainId This property is required. string
Roundrobins This property is required. []HinfoRecordRoundrobinArgs
SourceType This property is required. string
Ttl This property is required. float64
GtdRegion float64
HinfoRecordId string
Name string
Noanswer bool
Note string
Type string
domainId This property is required. String
roundrobins This property is required. List<HinfoRecordRoundrobin>
sourceType This property is required. String
ttl This property is required. Double
gtdRegion Double
hinfoRecordId String
name String
noanswer Boolean
note String
type String
domainId This property is required. string
roundrobins This property is required. HinfoRecordRoundrobin[]
sourceType This property is required. string
ttl This property is required. number
gtdRegion number
hinfoRecordId string
name string
noanswer boolean
note string
type string
domain_id This property is required. str
roundrobins This property is required. Sequence[HinfoRecordRoundrobinArgs]
source_type This property is required. str
ttl This property is required. float
gtd_region float
hinfo_record_id str
name str
noanswer bool
note str
type str
domainId This property is required. String
roundrobins This property is required. List<Property Map>
sourceType This property is required. String
ttl This property is required. Number
gtdRegion Number
hinfoRecordId String
name String
noanswer Boolean
note String
type String

Outputs

All input properties are implicitly available as output properties. Additionally, the HinfoRecord 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 HinfoRecord Resource

Get an existing HinfoRecord 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?: HinfoRecordState, opts?: CustomResourceOptions): HinfoRecord
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        domain_id: Optional[str] = None,
        gtd_region: Optional[float] = None,
        hinfo_record_id: Optional[str] = None,
        name: Optional[str] = None,
        noanswer: Optional[bool] = None,
        note: Optional[str] = None,
        roundrobins: Optional[Sequence[HinfoRecordRoundrobinArgs]] = None,
        source_type: Optional[str] = None,
        ttl: Optional[float] = None,
        type: Optional[str] = None) -> HinfoRecord
func GetHinfoRecord(ctx *Context, name string, id IDInput, state *HinfoRecordState, opts ...ResourceOption) (*HinfoRecord, error)
public static HinfoRecord Get(string name, Input<string> id, HinfoRecordState? state, CustomResourceOptions? opts = null)
public static HinfoRecord get(String name, Output<String> id, HinfoRecordState state, CustomResourceOptions options)
resources:  _:    type: constellix:HinfoRecord    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:
domainId string
gtdRegion number
hinfoRecordId string
name string
noanswer boolean
note string
roundrobins HinfoRecordRoundrobin[]
sourceType string
ttl number
type string
domainId String
gtdRegion Number
hinfoRecordId String
name String
noanswer Boolean
note String
roundrobins List<Property Map>
sourceType String
ttl Number
type String

Supporting Types

HinfoRecordRoundrobin
, HinfoRecordRoundrobinArgs

Cpu This property is required. string
Os This property is required. string
DisableFlag string
Cpu This property is required. string
Os This property is required. string
DisableFlag string
cpu This property is required. String
os This property is required. String
disableFlag String
cpu This property is required. string
os This property is required. string
disableFlag string
cpu This property is required. str
os This property is required. str
disable_flag str
cpu This property is required. String
os This property is required. String
disableFlag String

Package Details

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