1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. DnspodModifyDomainOwnerOperation
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

tencentcloud.DnspodModifyDomainOwnerOperation

Explore with Pulumi AI

tencentcloud logo
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

    Provides a resource to create a dnspod modify_domain_owner

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const modifyDomainOwner = new tencentcloud.DnspodModifyDomainOwnerOperation("modifyDomainOwner", {
        account: "xxxxxxxxx",
        domain: "dnspod.cn",
        domainId: 123,
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    modify_domain_owner = tencentcloud.DnspodModifyDomainOwnerOperation("modifyDomainOwner",
        account="xxxxxxxxx",
        domain="dnspod.cn",
        domain_id=123)
    
    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.NewDnspodModifyDomainOwnerOperation(ctx, "modifyDomainOwner", &tencentcloud.DnspodModifyDomainOwnerOperationArgs{
    			Account:  pulumi.String("xxxxxxxxx"),
    			Domain:   pulumi.String("dnspod.cn"),
    			DomainId: pulumi.Float64(123),
    		})
    		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 modifyDomainOwner = new Tencentcloud.DnspodModifyDomainOwnerOperation("modifyDomainOwner", new()
        {
            Account = "xxxxxxxxx",
            Domain = "dnspod.cn",
            DomainId = 123,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.DnspodModifyDomainOwnerOperation;
    import com.pulumi.tencentcloud.DnspodModifyDomainOwnerOperationArgs;
    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 modifyDomainOwner = new DnspodModifyDomainOwnerOperation("modifyDomainOwner", DnspodModifyDomainOwnerOperationArgs.builder()
                .account("xxxxxxxxx")
                .domain("dnspod.cn")
                .domainId(123)
                .build());
    
        }
    }
    
    resources:
      modifyDomainOwner:
        type: tencentcloud:DnspodModifyDomainOwnerOperation
        properties:
          account: xxxxxxxxx
          domain: dnspod.cn
          domainId: 123
    

    Create DnspodModifyDomainOwnerOperation Resource

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

    Constructor syntax

    new DnspodModifyDomainOwnerOperation(name: string, args: DnspodModifyDomainOwnerOperationArgs, opts?: CustomResourceOptions);
    @overload
    def DnspodModifyDomainOwnerOperation(resource_name: str,
                                         args: DnspodModifyDomainOwnerOperationArgs,
                                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def DnspodModifyDomainOwnerOperation(resource_name: str,
                                         opts: Optional[ResourceOptions] = None,
                                         account: Optional[str] = None,
                                         domain: Optional[str] = None,
                                         dnspod_modify_domain_owner_operation_id: Optional[str] = None,
                                         domain_id: Optional[float] = None)
    func NewDnspodModifyDomainOwnerOperation(ctx *Context, name string, args DnspodModifyDomainOwnerOperationArgs, opts ...ResourceOption) (*DnspodModifyDomainOwnerOperation, error)
    public DnspodModifyDomainOwnerOperation(string name, DnspodModifyDomainOwnerOperationArgs args, CustomResourceOptions? opts = null)
    public DnspodModifyDomainOwnerOperation(String name, DnspodModifyDomainOwnerOperationArgs args)
    public DnspodModifyDomainOwnerOperation(String name, DnspodModifyDomainOwnerOperationArgs args, CustomResourceOptions options)
    
    type: tencentcloud:DnspodModifyDomainOwnerOperation
    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 DnspodModifyDomainOwnerOperationArgs
    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 DnspodModifyDomainOwnerOperationArgs
    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 DnspodModifyDomainOwnerOperationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DnspodModifyDomainOwnerOperationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DnspodModifyDomainOwnerOperationArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

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

    Account string
    The account to which the domain needs to be transferred, supporting Uin or email format.
    Domain string
    Domain.
    DnspodModifyDomainOwnerOperationId string
    ID of the resource.
    DomainId double
    Domain ID. The parameter DomainId has a higher priority than the parameter Domain. If the parameter DomainId is passed, the parameter Domain will be ignored. You can find all Domains and DomainIds through the DescribeDomainList interface.
    Account string
    The account to which the domain needs to be transferred, supporting Uin or email format.
    Domain string
    Domain.
    DnspodModifyDomainOwnerOperationId string
    ID of the resource.
    DomainId float64
    Domain ID. The parameter DomainId has a higher priority than the parameter Domain. If the parameter DomainId is passed, the parameter Domain will be ignored. You can find all Domains and DomainIds through the DescribeDomainList interface.
    account String
    The account to which the domain needs to be transferred, supporting Uin or email format.
    domain String
    Domain.
    dnspodModifyDomainOwnerOperationId String
    ID of the resource.
    domainId Double
    Domain ID. The parameter DomainId has a higher priority than the parameter Domain. If the parameter DomainId is passed, the parameter Domain will be ignored. You can find all Domains and DomainIds through the DescribeDomainList interface.
    account string
    The account to which the domain needs to be transferred, supporting Uin or email format.
    domain string
    Domain.
    dnspodModifyDomainOwnerOperationId string
    ID of the resource.
    domainId number
    Domain ID. The parameter DomainId has a higher priority than the parameter Domain. If the parameter DomainId is passed, the parameter Domain will be ignored. You can find all Domains and DomainIds through the DescribeDomainList interface.
    account str
    The account to which the domain needs to be transferred, supporting Uin or email format.
    domain str
    Domain.
    dnspod_modify_domain_owner_operation_id str
    ID of the resource.
    domain_id float
    Domain ID. The parameter DomainId has a higher priority than the parameter Domain. If the parameter DomainId is passed, the parameter Domain will be ignored. You can find all Domains and DomainIds through the DescribeDomainList interface.
    account String
    The account to which the domain needs to be transferred, supporting Uin or email format.
    domain String
    Domain.
    dnspodModifyDomainOwnerOperationId String
    ID of the resource.
    domainId Number
    Domain ID. The parameter DomainId has a higher priority than the parameter Domain. If the parameter DomainId is passed, the parameter Domain will be ignored. You can find all Domains and DomainIds through the DescribeDomainList interface.

    Outputs

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

    Get an existing DnspodModifyDomainOwnerOperation 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?: DnspodModifyDomainOwnerOperationState, opts?: CustomResourceOptions): DnspodModifyDomainOwnerOperation
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            account: Optional[str] = None,
            dnspod_modify_domain_owner_operation_id: Optional[str] = None,
            domain: Optional[str] = None,
            domain_id: Optional[float] = None) -> DnspodModifyDomainOwnerOperation
    func GetDnspodModifyDomainOwnerOperation(ctx *Context, name string, id IDInput, state *DnspodModifyDomainOwnerOperationState, opts ...ResourceOption) (*DnspodModifyDomainOwnerOperation, error)
    public static DnspodModifyDomainOwnerOperation Get(string name, Input<string> id, DnspodModifyDomainOwnerOperationState? state, CustomResourceOptions? opts = null)
    public static DnspodModifyDomainOwnerOperation get(String name, Output<String> id, DnspodModifyDomainOwnerOperationState state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:DnspodModifyDomainOwnerOperation    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.
    The following state arguments are supported:
    Account string
    The account to which the domain needs to be transferred, supporting Uin or email format.
    DnspodModifyDomainOwnerOperationId string
    ID of the resource.
    Domain string
    Domain.
    DomainId double
    Domain ID. The parameter DomainId has a higher priority than the parameter Domain. If the parameter DomainId is passed, the parameter Domain will be ignored. You can find all Domains and DomainIds through the DescribeDomainList interface.
    Account string
    The account to which the domain needs to be transferred, supporting Uin or email format.
    DnspodModifyDomainOwnerOperationId string
    ID of the resource.
    Domain string
    Domain.
    DomainId float64
    Domain ID. The parameter DomainId has a higher priority than the parameter Domain. If the parameter DomainId is passed, the parameter Domain will be ignored. You can find all Domains and DomainIds through the DescribeDomainList interface.
    account String
    The account to which the domain needs to be transferred, supporting Uin or email format.
    dnspodModifyDomainOwnerOperationId String
    ID of the resource.
    domain String
    Domain.
    domainId Double
    Domain ID. The parameter DomainId has a higher priority than the parameter Domain. If the parameter DomainId is passed, the parameter Domain will be ignored. You can find all Domains and DomainIds through the DescribeDomainList interface.
    account string
    The account to which the domain needs to be transferred, supporting Uin or email format.
    dnspodModifyDomainOwnerOperationId string
    ID of the resource.
    domain string
    Domain.
    domainId number
    Domain ID. The parameter DomainId has a higher priority than the parameter Domain. If the parameter DomainId is passed, the parameter Domain will be ignored. You can find all Domains and DomainIds through the DescribeDomainList interface.
    account str
    The account to which the domain needs to be transferred, supporting Uin or email format.
    dnspod_modify_domain_owner_operation_id str
    ID of the resource.
    domain str
    Domain.
    domain_id float
    Domain ID. The parameter DomainId has a higher priority than the parameter Domain. If the parameter DomainId is passed, the parameter Domain will be ignored. You can find all Domains and DomainIds through the DescribeDomainList interface.
    account String
    The account to which the domain needs to be transferred, supporting Uin or email format.
    dnspodModifyDomainOwnerOperationId String
    ID of the resource.
    domain String
    Domain.
    domainId Number
    Domain ID. The parameter DomainId has a higher priority than the parameter Domain. If the parameter DomainId is passed, the parameter Domain will be ignored. You can find all Domains and DomainIds through the DescribeDomainList interface.

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    tencentcloud logo
    tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack