gandi.domains.GlueRecord
Explore with Pulumi AI
Create GlueRecord Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new GlueRecord(name: string, args: GlueRecordArgs, opts?: CustomResourceOptions);
@overload
def GlueRecord(resource_name: str,
args: GlueRecordArgs,
opts: Optional[ResourceOptions] = None)
@overload
def GlueRecord(resource_name: str,
opts: Optional[ResourceOptions] = None,
ips: Optional[Sequence[str]] = None,
zone: Optional[str] = None,
name: Optional[str] = None)
func NewGlueRecord(ctx *Context, name string, args GlueRecordArgs, opts ...ResourceOption) (*GlueRecord, error)
public GlueRecord(string name, GlueRecordArgs args, CustomResourceOptions? opts = null)
public GlueRecord(String name, GlueRecordArgs args)
public GlueRecord(String name, GlueRecordArgs args, CustomResourceOptions options)
type: gandi:domains:GlueRecord
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args GlueRecordArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args GlueRecordArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args GlueRecordArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args GlueRecordArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args GlueRecordArgs
- 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 glueRecordResource = new Gandi.Domains.GlueRecord("glueRecordResource", new()
{
Ips = new[]
{
"string",
},
Zone = "string",
Name = "string",
});
example, err := domains.NewGlueRecord(ctx, "glueRecordResource", &domains.GlueRecordArgs{
Ips: pulumi.StringArray{
pulumi.String("string"),
},
Zone: pulumi.String("string"),
Name: pulumi.String("string"),
})
var glueRecordResource = new GlueRecord("glueRecordResource", GlueRecordArgs.builder()
.ips("string")
.zone("string")
.name("string")
.build());
glue_record_resource = gandi.domains.GlueRecord("glueRecordResource",
ips=["string"],
zone="string",
name="string")
const glueRecordResource = new gandi.domains.GlueRecord("glueRecordResource", {
ips: ["string"],
zone: "string",
name: "string",
});
type: gandi:domains:GlueRecord
properties:
ips:
- string
name: string
zone: string
GlueRecord 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 GlueRecord resource accepts the following input properties:
Outputs
All input properties are implicitly available as output properties. Additionally, the GlueRecord resource produces the following output properties:
- Fqdn string
- The fqdn of the record
- Fqdn
Unicode string - The fqdn unicode of the record
- Href string
- The href of the record
- Id string
- The provider-assigned unique ID for this managed resource.
- Fqdn string
- The fqdn of the record
- Fqdn
Unicode string - The fqdn unicode of the record
- Href string
- The href of the record
- Id string
- The provider-assigned unique ID for this managed resource.
- fqdn String
- The fqdn of the record
- fqdn
Unicode String - The fqdn unicode of the record
- href String
- The href of the record
- id String
- The provider-assigned unique ID for this managed resource.
- fqdn string
- The fqdn of the record
- fqdn
Unicode string - The fqdn unicode of the record
- href string
- The href of the record
- id string
- The provider-assigned unique ID for this managed resource.
- fqdn str
- The fqdn of the record
- fqdn_
unicode str - The fqdn unicode of the record
- href str
- The href of the record
- id str
- The provider-assigned unique ID for this managed resource.
- fqdn String
- The fqdn of the record
- fqdn
Unicode String - The fqdn unicode of the record
- href String
- The href of the record
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing GlueRecord Resource
Get an existing GlueRecord 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?: GlueRecordState, opts?: CustomResourceOptions): GlueRecord
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
fqdn: Optional[str] = None,
fqdn_unicode: Optional[str] = None,
href: Optional[str] = None,
ips: Optional[Sequence[str]] = None,
name: Optional[str] = None,
zone: Optional[str] = None) -> GlueRecord
func GetGlueRecord(ctx *Context, name string, id IDInput, state *GlueRecordState, opts ...ResourceOption) (*GlueRecord, error)
public static GlueRecord Get(string name, Input<string> id, GlueRecordState? state, CustomResourceOptions? opts = null)
public static GlueRecord get(String name, Output<String> id, GlueRecordState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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.
Package Details
- Repository
- gandi pulumiverse/pulumi-gandi
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
gandi
Terraform Provider.