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

tencentcloud.TeoOwnershipVerify

Explore with Pulumi AI

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

    Provides a resource to create a teo ownership_verify

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const ownershipVerify = new tencentcloud.TeoOwnershipVerify("ownershipVerify", {domain: "qq.com"});
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    ownership_verify = tencentcloud.TeoOwnershipVerify("ownershipVerify", domain="qq.com")
    
    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.NewTeoOwnershipVerify(ctx, "ownershipVerify", &tencentcloud.TeoOwnershipVerifyArgs{
    			Domain: pulumi.String("qq.com"),
    		})
    		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 ownershipVerify = new Tencentcloud.TeoOwnershipVerify("ownershipVerify", new()
        {
            Domain = "qq.com",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.TeoOwnershipVerify;
    import com.pulumi.tencentcloud.TeoOwnershipVerifyArgs;
    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 ownershipVerify = new TeoOwnershipVerify("ownershipVerify", TeoOwnershipVerifyArgs.builder()
                .domain("qq.com")
                .build());
    
        }
    }
    
    resources:
      ownershipVerify:
        type: tencentcloud:TeoOwnershipVerify
        properties:
          domain: qq.com
    

    Create TeoOwnershipVerify Resource

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

    Constructor syntax

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

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

    Domain string
    Verify domain name.
    TeoOwnershipVerifyId string
    ID of the resource.
    Domain string
    Verify domain name.
    TeoOwnershipVerifyId string
    ID of the resource.
    domain String
    Verify domain name.
    teoOwnershipVerifyId String
    ID of the resource.
    domain string
    Verify domain name.
    teoOwnershipVerifyId string
    ID of the resource.
    domain str
    Verify domain name.
    teo_ownership_verify_id str
    ID of the resource.
    domain String
    Verify domain name.
    teoOwnershipVerifyId String
    ID of the resource.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Result string
    When the verification result is failed, this field will return the reason.
    Status string
    Ownership verification results. success: verification successful; fail: verification failed.
    Id string
    The provider-assigned unique ID for this managed resource.
    Result string
    When the verification result is failed, this field will return the reason.
    Status string
    Ownership verification results. success: verification successful; fail: verification failed.
    id String
    The provider-assigned unique ID for this managed resource.
    result String
    When the verification result is failed, this field will return the reason.
    status String
    Ownership verification results. success: verification successful; fail: verification failed.
    id string
    The provider-assigned unique ID for this managed resource.
    result string
    When the verification result is failed, this field will return the reason.
    status string
    Ownership verification results. success: verification successful; fail: verification failed.
    id str
    The provider-assigned unique ID for this managed resource.
    result str
    When the verification result is failed, this field will return the reason.
    status str
    Ownership verification results. success: verification successful; fail: verification failed.
    id String
    The provider-assigned unique ID for this managed resource.
    result String
    When the verification result is failed, this field will return the reason.
    status String
    Ownership verification results. success: verification successful; fail: verification failed.

    Look up Existing TeoOwnershipVerify Resource

    Get an existing TeoOwnershipVerify 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?: TeoOwnershipVerifyState, opts?: CustomResourceOptions): TeoOwnershipVerify
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            domain: Optional[str] = None,
            result: Optional[str] = None,
            status: Optional[str] = None,
            teo_ownership_verify_id: Optional[str] = None) -> TeoOwnershipVerify
    func GetTeoOwnershipVerify(ctx *Context, name string, id IDInput, state *TeoOwnershipVerifyState, opts ...ResourceOption) (*TeoOwnershipVerify, error)
    public static TeoOwnershipVerify Get(string name, Input<string> id, TeoOwnershipVerifyState? state, CustomResourceOptions? opts = null)
    public static TeoOwnershipVerify get(String name, Output<String> id, TeoOwnershipVerifyState state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:TeoOwnershipVerify    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:
    Domain string
    Verify domain name.
    Result string
    When the verification result is failed, this field will return the reason.
    Status string
    Ownership verification results. success: verification successful; fail: verification failed.
    TeoOwnershipVerifyId string
    ID of the resource.
    Domain string
    Verify domain name.
    Result string
    When the verification result is failed, this field will return the reason.
    Status string
    Ownership verification results. success: verification successful; fail: verification failed.
    TeoOwnershipVerifyId string
    ID of the resource.
    domain String
    Verify domain name.
    result String
    When the verification result is failed, this field will return the reason.
    status String
    Ownership verification results. success: verification successful; fail: verification failed.
    teoOwnershipVerifyId String
    ID of the resource.
    domain string
    Verify domain name.
    result string
    When the verification result is failed, this field will return the reason.
    status string
    Ownership verification results. success: verification successful; fail: verification failed.
    teoOwnershipVerifyId string
    ID of the resource.
    domain str
    Verify domain name.
    result str
    When the verification result is failed, this field will return the reason.
    status str
    Ownership verification results. success: verification successful; fail: verification failed.
    teo_ownership_verify_id str
    ID of the resource.
    domain String
    Verify domain name.
    result String
    When the verification result is failed, this field will return the reason.
    status String
    Ownership verification results. success: verification successful; fail: verification failed.
    teoOwnershipVerifyId String
    ID of the resource.

    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