tencentcloud.SubdomainValidateTxtValueOperation
Explore with Pulumi AI
Provides a resource to create a dnspod subdomain_validate_txt_value_operation
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const subdomainValidateTxtValueOperation = new tencentcloud.SubdomainValidateTxtValueOperation("subdomainValidateTxtValueOperation", {domainZone: "www.iac-tf.cloud"});
import pulumi
import pulumi_tencentcloud as tencentcloud
subdomain_validate_txt_value_operation = tencentcloud.SubdomainValidateTxtValueOperation("subdomainValidateTxtValueOperation", domain_zone="www.iac-tf.cloud")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := tencentcloud.NewSubdomainValidateTxtValueOperation(ctx, "subdomainValidateTxtValueOperation", &tencentcloud.SubdomainValidateTxtValueOperationArgs{
DomainZone: pulumi.String("www.iac-tf.cloud"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var subdomainValidateTxtValueOperation = new Tencentcloud.SubdomainValidateTxtValueOperation("subdomainValidateTxtValueOperation", new()
{
DomainZone = "www.iac-tf.cloud",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.SubdomainValidateTxtValueOperation;
import com.pulumi.tencentcloud.SubdomainValidateTxtValueOperationArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var subdomainValidateTxtValueOperation = new SubdomainValidateTxtValueOperation("subdomainValidateTxtValueOperation", SubdomainValidateTxtValueOperationArgs.builder()
.domainZone("www.iac-tf.cloud")
.build());
}
}
resources:
subdomainValidateTxtValueOperation:
type: tencentcloud:SubdomainValidateTxtValueOperation
properties:
domainZone: www.iac-tf.cloud
Create SubdomainValidateTxtValueOperation Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SubdomainValidateTxtValueOperation(name: string, args: SubdomainValidateTxtValueOperationArgs, opts?: CustomResourceOptions);
@overload
def SubdomainValidateTxtValueOperation(resource_name: str,
args: SubdomainValidateTxtValueOperationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SubdomainValidateTxtValueOperation(resource_name: str,
opts: Optional[ResourceOptions] = None,
domain_zone: Optional[str] = None,
subdomain_validate_txt_value_operation_id: Optional[str] = None)
func NewSubdomainValidateTxtValueOperation(ctx *Context, name string, args SubdomainValidateTxtValueOperationArgs, opts ...ResourceOption) (*SubdomainValidateTxtValueOperation, error)
public SubdomainValidateTxtValueOperation(string name, SubdomainValidateTxtValueOperationArgs args, CustomResourceOptions? opts = null)
public SubdomainValidateTxtValueOperation(String name, SubdomainValidateTxtValueOperationArgs args)
public SubdomainValidateTxtValueOperation(String name, SubdomainValidateTxtValueOperationArgs args, CustomResourceOptions options)
type: tencentcloud:SubdomainValidateTxtValueOperation
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 SubdomainValidateTxtValueOperationArgs
- 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 SubdomainValidateTxtValueOperationArgs
- 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 SubdomainValidateTxtValueOperationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SubdomainValidateTxtValueOperationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SubdomainValidateTxtValueOperationArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
SubdomainValidateTxtValueOperation 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 SubdomainValidateTxtValueOperation resource accepts the following input properties:
- Domain
Zone string - The subdomain to add Zone domain.
- Subdomain
Validate stringTxt Value Operation Id - ID of the resource.
- Domain
Zone string - The subdomain to add Zone domain.
- Subdomain
Validate stringTxt Value Operation Id - ID of the resource.
- domain
Zone String - The subdomain to add Zone domain.
- subdomain
Validate StringTxt Value Operation Id - ID of the resource.
- domain
Zone string - The subdomain to add Zone domain.
- subdomain
Validate stringTxt Value Operation Id - ID of the resource.
- domain_
zone str - The subdomain to add Zone domain.
- subdomain_
validate_ strtxt_ value_ operation_ id - ID of the resource.
- domain
Zone String - The subdomain to add Zone domain.
- subdomain
Validate StringTxt Value Operation Id - ID of the resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the SubdomainValidateTxtValueOperation resource produces the following output properties:
- Domain string
- The domain name for which TXT records need to be added.
- Id string
- The provider-assigned unique ID for this managed resource.
- Record
Type string - Record types need to be added.
- Subdomain string
- Host records that need to be added to TXT records.
- Value string
- The record value of the TXT record needs to be added.
- Domain string
- The domain name for which TXT records need to be added.
- Id string
- The provider-assigned unique ID for this managed resource.
- Record
Type string - Record types need to be added.
- Subdomain string
- Host records that need to be added to TXT records.
- Value string
- The record value of the TXT record needs to be added.
- domain String
- The domain name for which TXT records need to be added.
- id String
- The provider-assigned unique ID for this managed resource.
- record
Type String - Record types need to be added.
- subdomain String
- Host records that need to be added to TXT records.
- value String
- The record value of the TXT record needs to be added.
- domain string
- The domain name for which TXT records need to be added.
- id string
- The provider-assigned unique ID for this managed resource.
- record
Type string - Record types need to be added.
- subdomain string
- Host records that need to be added to TXT records.
- value string
- The record value of the TXT record needs to be added.
- domain str
- The domain name for which TXT records need to be added.
- id str
- The provider-assigned unique ID for this managed resource.
- record_
type str - Record types need to be added.
- subdomain str
- Host records that need to be added to TXT records.
- value str
- The record value of the TXT record needs to be added.
- domain String
- The domain name for which TXT records need to be added.
- id String
- The provider-assigned unique ID for this managed resource.
- record
Type String - Record types need to be added.
- subdomain String
- Host records that need to be added to TXT records.
- value String
- The record value of the TXT record needs to be added.
Look up Existing SubdomainValidateTxtValueOperation Resource
Get an existing SubdomainValidateTxtValueOperation 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?: SubdomainValidateTxtValueOperationState, opts?: CustomResourceOptions): SubdomainValidateTxtValueOperation
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
domain: Optional[str] = None,
domain_zone: Optional[str] = None,
record_type: Optional[str] = None,
subdomain: Optional[str] = None,
subdomain_validate_txt_value_operation_id: Optional[str] = None,
value: Optional[str] = None) -> SubdomainValidateTxtValueOperation
func GetSubdomainValidateTxtValueOperation(ctx *Context, name string, id IDInput, state *SubdomainValidateTxtValueOperationState, opts ...ResourceOption) (*SubdomainValidateTxtValueOperation, error)
public static SubdomainValidateTxtValueOperation Get(string name, Input<string> id, SubdomainValidateTxtValueOperationState? state, CustomResourceOptions? opts = null)
public static SubdomainValidateTxtValueOperation get(String name, Output<String> id, SubdomainValidateTxtValueOperationState state, CustomResourceOptions options)
resources: _: type: tencentcloud:SubdomainValidateTxtValueOperation get: id: ${id}
- 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.
- Domain string
- The domain name for which TXT records need to be added.
- Domain
Zone string - The subdomain to add Zone domain.
- Record
Type string - Record types need to be added.
- Subdomain string
- Host records that need to be added to TXT records.
- Subdomain
Validate stringTxt Value Operation Id - ID of the resource.
- Value string
- The record value of the TXT record needs to be added.
- Domain string
- The domain name for which TXT records need to be added.
- Domain
Zone string - The subdomain to add Zone domain.
- Record
Type string - Record types need to be added.
- Subdomain string
- Host records that need to be added to TXT records.
- Subdomain
Validate stringTxt Value Operation Id - ID of the resource.
- Value string
- The record value of the TXT record needs to be added.
- domain String
- The domain name for which TXT records need to be added.
- domain
Zone String - The subdomain to add Zone domain.
- record
Type String - Record types need to be added.
- subdomain String
- Host records that need to be added to TXT records.
- subdomain
Validate StringTxt Value Operation Id - ID of the resource.
- value String
- The record value of the TXT record needs to be added.
- domain string
- The domain name for which TXT records need to be added.
- domain
Zone string - The subdomain to add Zone domain.
- record
Type string - Record types need to be added.
- subdomain string
- Host records that need to be added to TXT records.
- subdomain
Validate stringTxt Value Operation Id - ID of the resource.
- value string
- The record value of the TXT record needs to be added.
- domain str
- The domain name for which TXT records need to be added.
- domain_
zone str - The subdomain to add Zone domain.
- record_
type str - Record types need to be added.
- subdomain str
- Host records that need to be added to TXT records.
- subdomain_
validate_ strtxt_ value_ operation_ id - ID of the resource.
- value str
- The record value of the TXT record needs to be added.
- domain String
- The domain name for which TXT records need to be added.
- domain
Zone String - The subdomain to add Zone domain.
- record
Type String - Record types need to be added.
- subdomain String
- Host records that need to be added to TXT records.
- subdomain
Validate StringTxt Value Operation Id - ID of the resource.
- value String
- The record value of the TXT record needs to be added.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloud
Terraform Provider.