tencentcloud.DnspodModifyRecordGroupOperation
Explore with Pulumi AI
Provides a resource to create a dnspod tencentcloud.DnspodModifyRecordGroupOperation
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const modifyRecordGroup = new tencentcloud.DnspodModifyRecordGroupOperation("modifyRecordGroup", {
domain: "dnspod.cn",
domainId: 123,
groupId: 1,
recordId: "234|345",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
modify_record_group = tencentcloud.DnspodModifyRecordGroupOperation("modifyRecordGroup",
domain="dnspod.cn",
domain_id=123,
group_id=1,
record_id="234|345")
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.NewDnspodModifyRecordGroupOperation(ctx, "modifyRecordGroup", &tencentcloud.DnspodModifyRecordGroupOperationArgs{
Domain: pulumi.String("dnspod.cn"),
DomainId: pulumi.Float64(123),
GroupId: pulumi.Float64(1),
RecordId: pulumi.String("234|345"),
})
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 modifyRecordGroup = new Tencentcloud.DnspodModifyRecordGroupOperation("modifyRecordGroup", new()
{
Domain = "dnspod.cn",
DomainId = 123,
GroupId = 1,
RecordId = "234|345",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.DnspodModifyRecordGroupOperation;
import com.pulumi.tencentcloud.DnspodModifyRecordGroupOperationArgs;
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 modifyRecordGroup = new DnspodModifyRecordGroupOperation("modifyRecordGroup", DnspodModifyRecordGroupOperationArgs.builder()
.domain("dnspod.cn")
.domainId(123)
.groupId(1)
.recordId("234|345")
.build());
}
}
resources:
modifyRecordGroup:
type: tencentcloud:DnspodModifyRecordGroupOperation
properties:
domain: dnspod.cn
domainId: 123
groupId: 1
recordId: 234|345
Create DnspodModifyRecordGroupOperation Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DnspodModifyRecordGroupOperation(name: string, args: DnspodModifyRecordGroupOperationArgs, opts?: CustomResourceOptions);
@overload
def DnspodModifyRecordGroupOperation(resource_name: str,
args: DnspodModifyRecordGroupOperationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def DnspodModifyRecordGroupOperation(resource_name: str,
opts: Optional[ResourceOptions] = None,
domain: Optional[str] = None,
group_id: Optional[float] = None,
record_id: Optional[str] = None,
dnspod_modify_record_group_operation_id: Optional[str] = None,
domain_id: Optional[float] = None)
func NewDnspodModifyRecordGroupOperation(ctx *Context, name string, args DnspodModifyRecordGroupOperationArgs, opts ...ResourceOption) (*DnspodModifyRecordGroupOperation, error)
public DnspodModifyRecordGroupOperation(string name, DnspodModifyRecordGroupOperationArgs args, CustomResourceOptions? opts = null)
public DnspodModifyRecordGroupOperation(String name, DnspodModifyRecordGroupOperationArgs args)
public DnspodModifyRecordGroupOperation(String name, DnspodModifyRecordGroupOperationArgs args, CustomResourceOptions options)
type: tencentcloud:DnspodModifyRecordGroupOperation
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 DnspodModifyRecordGroupOperationArgs
- 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 DnspodModifyRecordGroupOperationArgs
- 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 DnspodModifyRecordGroupOperationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DnspodModifyRecordGroupOperationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DnspodModifyRecordGroupOperationArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
DnspodModifyRecordGroupOperation 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 DnspodModifyRecordGroupOperation resource accepts the following input properties:
- Domain string
- Domain.
- Group
Id double - Record Group ID.
- Record
Id string - Record ID, multiple IDs are separated by a vertical line |.
- Dnspod
Modify stringRecord Group Operation Id - ID of the resource.
- Domain
Id 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.
- Domain string
- Domain.
- Group
Id float64 - Record Group ID.
- Record
Id string - Record ID, multiple IDs are separated by a vertical line |.
- Dnspod
Modify stringRecord Group Operation Id - ID of the resource.
- Domain
Id 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.
- domain String
- Domain.
- group
Id Double - Record Group ID.
- record
Id String - Record ID, multiple IDs are separated by a vertical line |.
- dnspod
Modify StringRecord Group Operation Id - ID of the resource.
- domain
Id 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.
- domain string
- Domain.
- group
Id number - Record Group ID.
- record
Id string - Record ID, multiple IDs are separated by a vertical line |.
- dnspod
Modify stringRecord Group Operation Id - ID of the resource.
- domain
Id 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.
- domain str
- Domain.
- group_
id float - Record Group ID.
- record_
id str - Record ID, multiple IDs are separated by a vertical line |.
- dnspod_
modify_ strrecord_ group_ operation_ id - 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.
- domain String
- Domain.
- group
Id Number - Record Group ID.
- record
Id String - Record ID, multiple IDs are separated by a vertical line |.
- dnspod
Modify StringRecord Group Operation Id - ID of the resource.
- domain
Id 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 DnspodModifyRecordGroupOperation 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 DnspodModifyRecordGroupOperation Resource
Get an existing DnspodModifyRecordGroupOperation 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?: DnspodModifyRecordGroupOperationState, opts?: CustomResourceOptions): DnspodModifyRecordGroupOperation
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
dnspod_modify_record_group_operation_id: Optional[str] = None,
domain: Optional[str] = None,
domain_id: Optional[float] = None,
group_id: Optional[float] = None,
record_id: Optional[str] = None) -> DnspodModifyRecordGroupOperation
func GetDnspodModifyRecordGroupOperation(ctx *Context, name string, id IDInput, state *DnspodModifyRecordGroupOperationState, opts ...ResourceOption) (*DnspodModifyRecordGroupOperation, error)
public static DnspodModifyRecordGroupOperation Get(string name, Input<string> id, DnspodModifyRecordGroupOperationState? state, CustomResourceOptions? opts = null)
public static DnspodModifyRecordGroupOperation get(String name, Output<String> id, DnspodModifyRecordGroupOperationState state, CustomResourceOptions options)
resources: _: type: tencentcloud:DnspodModifyRecordGroupOperation 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.
- Dnspod
Modify stringRecord Group Operation Id - ID of the resource.
- Domain string
- Domain.
- Domain
Id 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.
- Group
Id double - Record Group ID.
- Record
Id string - Record ID, multiple IDs are separated by a vertical line |.
- Dnspod
Modify stringRecord Group Operation Id - ID of the resource.
- Domain string
- Domain.
- Domain
Id 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.
- Group
Id float64 - Record Group ID.
- Record
Id string - Record ID, multiple IDs are separated by a vertical line |.
- dnspod
Modify StringRecord Group Operation Id - ID of the resource.
- domain String
- Domain.
- domain
Id 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.
- group
Id Double - Record Group ID.
- record
Id String - Record ID, multiple IDs are separated by a vertical line |.
- dnspod
Modify stringRecord Group Operation Id - ID of the resource.
- domain string
- Domain.
- domain
Id 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.
- group
Id number - Record Group ID.
- record
Id string - Record ID, multiple IDs are separated by a vertical line |.
- dnspod_
modify_ strrecord_ group_ operation_ id - 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.
- group_
id float - Record Group ID.
- record_
id str - Record ID, multiple IDs are separated by a vertical line |.
- dnspod
Modify StringRecord Group Operation Id - ID of the resource.
- domain String
- Domain.
- domain
Id 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.
- group
Id Number - Record Group ID.
- record
Id String - Record ID, multiple IDs are separated by a vertical line |.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloud
Terraform Provider.