1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. TeoOwnershipVerify
tencentcloud 1.81.182 published on Monday, Apr 14, 2025 by tencentcloudstack

tencentcloud.TeoOwnershipVerify

Explore with Pulumi AI

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"});
Copy
import pulumi
import pulumi_tencentcloud as tencentcloud

ownership_verify = tencentcloud.TeoOwnershipVerify("ownershipVerify", domain="qq.com")
Copy
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
	})
}
Copy
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",
    });

});
Copy
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());

    }
}
Copy
resources:
  ownershipVerify:
    type: tencentcloud:TeoOwnershipVerify
    properties:
      domain: qq.com
Copy

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 This property is required. string
The unique name of the resource.
args This property is required. TeoOwnershipVerifyArgs
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. 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 This property is required. string
The unique name of the resource.
args This property is required. TeoOwnershipVerifyArgs
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. TeoOwnershipVerifyArgs
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. 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 This property is required. string
Verify domain name.
TeoOwnershipVerifyId string
ID of the resource.
Domain This property is required. string
Verify domain name.
TeoOwnershipVerifyId string
ID of the resource.
domain This property is required. String
Verify domain name.
teoOwnershipVerifyId String
ID of the resource.
domain This property is required. string
Verify domain name.
teoOwnershipVerifyId string
ID of the resource.
domain This property is required. str
Verify domain name.
teo_ownership_verify_id str
ID of the resource.
domain This property is required. 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 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:
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.