dns

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 21, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PkgVersion added in v0.0.1

func PkgVersion() (semver.Version, error)

PkgVersion uses reflection to determine the version of the current package. If a version cannot be determined, v1 will be assumed. The second return value is always nil.

Types

type AccessStrategy

type AccessStrategy struct {
	pulumi.CustomResourceState

	// The primary/secondary switchover policy for address pool groups. Valid values: `AUTO`, `DEFAULT`, `FAILOVER`.
	AccessMode pulumi.StringOutput `pulumi:"accessMode"`
	// The type of the primary address pool. Valid values: `IPV4`, `IPV6`, `DOMAIN`.
	DefaultAddrPoolType pulumi.StringOutput `pulumi:"defaultAddrPoolType"`
	// List of primary address pool collections. See the following `Block defaultAddrPools`.
	DefaultAddrPools AccessStrategyDefaultAddrPoolArrayOutput `pulumi:"defaultAddrPools"`
	// Specifies whether to enable scheduling optimization for latency resolution for the primary address pool group. Valid values: `OPEN`, `CLOSE`.
	DefaultLatencyOptimization pulumi.StringPtrOutput `pulumi:"defaultLatencyOptimization"`
	// The load balancing policy of the primary address pool group. Valid values: `ALL_RR`, `RATIO`. **NOTE:** The `defaultLbaStrategy` is required under the condition that `strategyMode` is `GEO`.
	DefaultLbaStrategy pulumi.StringPtrOutput `pulumi:"defaultLbaStrategy"`
	// The maximum number of addresses returned by the primary address pool set. **NOTE:** The `defaultMaxReturnAddrNum` is required under the condition that `strategyMode` is `LATENCY`.
	DefaultMaxReturnAddrNum pulumi.IntPtrOutput `pulumi:"defaultMaxReturnAddrNum"`
	// The minimum number of available addresses for the primary address pool set.
	DefaultMinAvailableAddrNum pulumi.IntOutput `pulumi:"defaultMinAvailableAddrNum"`
	// The type of the secondary address pool. Valid values: `IPV4`, `IPV6`, `DOMAIN`.
	FailoverAddrPoolType pulumi.StringPtrOutput `pulumi:"failoverAddrPoolType"`
	// List of backup address pool sets. See the following `Block failoverAddrPools`.
	FailoverAddrPools AccessStrategyFailoverAddrPoolArrayOutput `pulumi:"failoverAddrPools"`
	// Specifies whether to enable scheduling optimization for latency resolution for the secondary address pool group. Valid values: `OPEN`, `CLOSE`.
	FailoverLatencyOptimization pulumi.StringPtrOutput `pulumi:"failoverLatencyOptimization"`
	// The load balancing policy of the secondary address pool group. Valid values: `ALL_RR`, `RATIO`.
	FailoverLbaStrategy pulumi.StringPtrOutput `pulumi:"failoverLbaStrategy"`
	// The maximum number of returned addresses in the standby address pool.
	FailoverMaxReturnAddrNum pulumi.IntPtrOutput `pulumi:"failoverMaxReturnAddrNum"`
	// The minimum number of available addresses in the standby address pool.
	FailoverMinAvailableAddrNum pulumi.IntPtrOutput `pulumi:"failoverMinAvailableAddrNum"`
	// The Id of the associated instance.
	InstanceId pulumi.StringOutput `pulumi:"instanceId"`
	// The lang.
	Lang pulumi.StringPtrOutput `pulumi:"lang"`
	// The source regions. See the following `Block lines`. **NOTE:** The `lines` is required under the condition that `strategyMode` is `GEO`.
	Lines AccessStrategyLineArrayOutput `pulumi:"lines"`
	// The type of the access policy. Valid values: `GEO` or `LATENCY`. `GEO`: based on geographic location. `LATENCY`: Based on delay.
	StrategyMode pulumi.StringOutput `pulumi:"strategyMode"`
	// The name of the access policy.
	StrategyName pulumi.StringOutput `pulumi:"strategyName"`
}

Provides a DNS Access Strategy resource.

For information about DNS Access Strategy and how to use it, see [What is Access Strategy](https://www.alibabacloud.com/help/doc-detail/189620.html).

> **NOTE:** Available in v1.152.0+.

## Import

DNS Access Strategy can be imported using the id, e.g.

```sh

$ pulumi import alicloud:dns/accessStrategy:AccessStrategy example <id>

```

func GetAccessStrategy

func GetAccessStrategy(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AccessStrategyState, opts ...pulumi.ResourceOption) (*AccessStrategy, error)

GetAccessStrategy gets an existing AccessStrategy resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewAccessStrategy

func NewAccessStrategy(ctx *pulumi.Context,
	name string, args *AccessStrategyArgs, opts ...pulumi.ResourceOption) (*AccessStrategy, error)

NewAccessStrategy registers a new resource with the given unique name, arguments, and options.

func (*AccessStrategy) ElementType

func (*AccessStrategy) ElementType() reflect.Type

func (*AccessStrategy) ToAccessStrategyOutput

func (i *AccessStrategy) ToAccessStrategyOutput() AccessStrategyOutput

func (*AccessStrategy) ToAccessStrategyOutputWithContext

func (i *AccessStrategy) ToAccessStrategyOutputWithContext(ctx context.Context) AccessStrategyOutput

type AccessStrategyArgs

type AccessStrategyArgs struct {
	// The primary/secondary switchover policy for address pool groups. Valid values: `AUTO`, `DEFAULT`, `FAILOVER`.
	AccessMode pulumi.StringPtrInput
	// The type of the primary address pool. Valid values: `IPV4`, `IPV6`, `DOMAIN`.
	DefaultAddrPoolType pulumi.StringInput
	// List of primary address pool collections. See the following `Block defaultAddrPools`.
	DefaultAddrPools AccessStrategyDefaultAddrPoolArrayInput
	// Specifies whether to enable scheduling optimization for latency resolution for the primary address pool group. Valid values: `OPEN`, `CLOSE`.
	DefaultLatencyOptimization pulumi.StringPtrInput
	// The load balancing policy of the primary address pool group. Valid values: `ALL_RR`, `RATIO`. **NOTE:** The `defaultLbaStrategy` is required under the condition that `strategyMode` is `GEO`.
	DefaultLbaStrategy pulumi.StringPtrInput
	// The maximum number of addresses returned by the primary address pool set. **NOTE:** The `defaultMaxReturnAddrNum` is required under the condition that `strategyMode` is `LATENCY`.
	DefaultMaxReturnAddrNum pulumi.IntPtrInput
	// The minimum number of available addresses for the primary address pool set.
	DefaultMinAvailableAddrNum pulumi.IntInput
	// The type of the secondary address pool. Valid values: `IPV4`, `IPV6`, `DOMAIN`.
	FailoverAddrPoolType pulumi.StringPtrInput
	// List of backup address pool sets. See the following `Block failoverAddrPools`.
	FailoverAddrPools AccessStrategyFailoverAddrPoolArrayInput
	// Specifies whether to enable scheduling optimization for latency resolution for the secondary address pool group. Valid values: `OPEN`, `CLOSE`.
	FailoverLatencyOptimization pulumi.StringPtrInput
	// The load balancing policy of the secondary address pool group. Valid values: `ALL_RR`, `RATIO`.
	FailoverLbaStrategy pulumi.StringPtrInput
	// The maximum number of returned addresses in the standby address pool.
	FailoverMaxReturnAddrNum pulumi.IntPtrInput
	// The minimum number of available addresses in the standby address pool.
	FailoverMinAvailableAddrNum pulumi.IntPtrInput
	// The Id of the associated instance.
	InstanceId pulumi.StringInput
	// The lang.
	Lang pulumi.StringPtrInput
	// The source regions. See the following `Block lines`. **NOTE:** The `lines` is required under the condition that `strategyMode` is `GEO`.
	Lines AccessStrategyLineArrayInput
	// The type of the access policy. Valid values: `GEO` or `LATENCY`. `GEO`: based on geographic location. `LATENCY`: Based on delay.
	StrategyMode pulumi.StringInput
	// The name of the access policy.
	StrategyName pulumi.StringInput
}

The set of arguments for constructing a AccessStrategy resource.

func (AccessStrategyArgs) ElementType

func (AccessStrategyArgs) ElementType() reflect.Type

type AccessStrategyArray

type AccessStrategyArray []AccessStrategyInput

func (AccessStrategyArray) ElementType

func (AccessStrategyArray) ElementType() reflect.Type

func (AccessStrategyArray) ToAccessStrategyArrayOutput

func (i AccessStrategyArray) ToAccessStrategyArrayOutput() AccessStrategyArrayOutput

func (AccessStrategyArray) ToAccessStrategyArrayOutputWithContext

func (i AccessStrategyArray) ToAccessStrategyArrayOutputWithContext(ctx context.Context) AccessStrategyArrayOutput

type AccessStrategyArrayInput

type AccessStrategyArrayInput interface {
	pulumi.Input

	ToAccessStrategyArrayOutput() AccessStrategyArrayOutput
	ToAccessStrategyArrayOutputWithContext(context.Context) AccessStrategyArrayOutput
}

AccessStrategyArrayInput is an input type that accepts AccessStrategyArray and AccessStrategyArrayOutput values. You can construct a concrete instance of `AccessStrategyArrayInput` via:

AccessStrategyArray{ AccessStrategyArgs{...} }

type AccessStrategyArrayOutput

type AccessStrategyArrayOutput struct{ *pulumi.OutputState }

func (AccessStrategyArrayOutput) ElementType

func (AccessStrategyArrayOutput) ElementType() reflect.Type

func (AccessStrategyArrayOutput) Index

func (AccessStrategyArrayOutput) ToAccessStrategyArrayOutput

func (o AccessStrategyArrayOutput) ToAccessStrategyArrayOutput() AccessStrategyArrayOutput

func (AccessStrategyArrayOutput) ToAccessStrategyArrayOutputWithContext

func (o AccessStrategyArrayOutput) ToAccessStrategyArrayOutputWithContext(ctx context.Context) AccessStrategyArrayOutput

type AccessStrategyDefaultAddrPool

type AccessStrategyDefaultAddrPool struct {
	// The ID of the address pool in the primary address pool group.
	AddrPoolId string `pulumi:"addrPoolId"`
	// The weight of the address pool in the primary address pool group.
	LbaWeight *int `pulumi:"lbaWeight"`
}

type AccessStrategyDefaultAddrPoolArgs

type AccessStrategyDefaultAddrPoolArgs struct {
	// The ID of the address pool in the primary address pool group.
	AddrPoolId pulumi.StringInput `pulumi:"addrPoolId"`
	// The weight of the address pool in the primary address pool group.
	LbaWeight pulumi.IntPtrInput `pulumi:"lbaWeight"`
}

func (AccessStrategyDefaultAddrPoolArgs) ElementType

func (AccessStrategyDefaultAddrPoolArgs) ToAccessStrategyDefaultAddrPoolOutput

func (i AccessStrategyDefaultAddrPoolArgs) ToAccessStrategyDefaultAddrPoolOutput() AccessStrategyDefaultAddrPoolOutput

func (AccessStrategyDefaultAddrPoolArgs) ToAccessStrategyDefaultAddrPoolOutputWithContext

func (i AccessStrategyDefaultAddrPoolArgs) ToAccessStrategyDefaultAddrPoolOutputWithContext(ctx context.Context) AccessStrategyDefaultAddrPoolOutput

type AccessStrategyDefaultAddrPoolArray

type AccessStrategyDefaultAddrPoolArray []AccessStrategyDefaultAddrPoolInput

func (AccessStrategyDefaultAddrPoolArray) ElementType

func (AccessStrategyDefaultAddrPoolArray) ToAccessStrategyDefaultAddrPoolArrayOutput

func (i AccessStrategyDefaultAddrPoolArray) ToAccessStrategyDefaultAddrPoolArrayOutput() AccessStrategyDefaultAddrPoolArrayOutput

func (AccessStrategyDefaultAddrPoolArray) ToAccessStrategyDefaultAddrPoolArrayOutputWithContext

func (i AccessStrategyDefaultAddrPoolArray) ToAccessStrategyDefaultAddrPoolArrayOutputWithContext(ctx context.Context) AccessStrategyDefaultAddrPoolArrayOutput

type AccessStrategyDefaultAddrPoolArrayInput

type AccessStrategyDefaultAddrPoolArrayInput interface {
	pulumi.Input

	ToAccessStrategyDefaultAddrPoolArrayOutput() AccessStrategyDefaultAddrPoolArrayOutput
	ToAccessStrategyDefaultAddrPoolArrayOutputWithContext(context.Context) AccessStrategyDefaultAddrPoolArrayOutput
}

AccessStrategyDefaultAddrPoolArrayInput is an input type that accepts AccessStrategyDefaultAddrPoolArray and AccessStrategyDefaultAddrPoolArrayOutput values. You can construct a concrete instance of `AccessStrategyDefaultAddrPoolArrayInput` via:

AccessStrategyDefaultAddrPoolArray{ AccessStrategyDefaultAddrPoolArgs{...} }

type AccessStrategyDefaultAddrPoolArrayOutput

type AccessStrategyDefaultAddrPoolArrayOutput struct{ *pulumi.OutputState }

func (AccessStrategyDefaultAddrPoolArrayOutput) ElementType

func (AccessStrategyDefaultAddrPoolArrayOutput) Index

func (AccessStrategyDefaultAddrPoolArrayOutput) ToAccessStrategyDefaultAddrPoolArrayOutput

func (o AccessStrategyDefaultAddrPoolArrayOutput) ToAccessStrategyDefaultAddrPoolArrayOutput() AccessStrategyDefaultAddrPoolArrayOutput

func (AccessStrategyDefaultAddrPoolArrayOutput) ToAccessStrategyDefaultAddrPoolArrayOutputWithContext

func (o AccessStrategyDefaultAddrPoolArrayOutput) ToAccessStrategyDefaultAddrPoolArrayOutputWithContext(ctx context.Context) AccessStrategyDefaultAddrPoolArrayOutput

type AccessStrategyDefaultAddrPoolInput

type AccessStrategyDefaultAddrPoolInput interface {
	pulumi.Input

	ToAccessStrategyDefaultAddrPoolOutput() AccessStrategyDefaultAddrPoolOutput
	ToAccessStrategyDefaultAddrPoolOutputWithContext(context.Context) AccessStrategyDefaultAddrPoolOutput
}

AccessStrategyDefaultAddrPoolInput is an input type that accepts AccessStrategyDefaultAddrPoolArgs and AccessStrategyDefaultAddrPoolOutput values. You can construct a concrete instance of `AccessStrategyDefaultAddrPoolInput` via:

AccessStrategyDefaultAddrPoolArgs{...}

type AccessStrategyDefaultAddrPoolOutput

type AccessStrategyDefaultAddrPoolOutput struct{ *pulumi.OutputState }

func (AccessStrategyDefaultAddrPoolOutput) AddrPoolId

The ID of the address pool in the primary address pool group.

func (AccessStrategyDefaultAddrPoolOutput) ElementType

func (AccessStrategyDefaultAddrPoolOutput) LbaWeight

The weight of the address pool in the primary address pool group.

func (AccessStrategyDefaultAddrPoolOutput) ToAccessStrategyDefaultAddrPoolOutput

func (o AccessStrategyDefaultAddrPoolOutput) ToAccessStrategyDefaultAddrPoolOutput() AccessStrategyDefaultAddrPoolOutput

func (AccessStrategyDefaultAddrPoolOutput) ToAccessStrategyDefaultAddrPoolOutputWithContext

func (o AccessStrategyDefaultAddrPoolOutput) ToAccessStrategyDefaultAddrPoolOutputWithContext(ctx context.Context) AccessStrategyDefaultAddrPoolOutput

type AccessStrategyFailoverAddrPool

type AccessStrategyFailoverAddrPool struct {
	// The ID of the address pool in the primary address pool group.
	AddrPoolId *string `pulumi:"addrPoolId"`
	// The weight of the address pool in the primary address pool group.
	LbaWeight *int `pulumi:"lbaWeight"`
}

type AccessStrategyFailoverAddrPoolArgs

type AccessStrategyFailoverAddrPoolArgs struct {
	// The ID of the address pool in the primary address pool group.
	AddrPoolId pulumi.StringPtrInput `pulumi:"addrPoolId"`
	// The weight of the address pool in the primary address pool group.
	LbaWeight pulumi.IntPtrInput `pulumi:"lbaWeight"`
}

func (AccessStrategyFailoverAddrPoolArgs) ElementType

func (AccessStrategyFailoverAddrPoolArgs) ToAccessStrategyFailoverAddrPoolOutput

func (i AccessStrategyFailoverAddrPoolArgs) ToAccessStrategyFailoverAddrPoolOutput() AccessStrategyFailoverAddrPoolOutput

func (AccessStrategyFailoverAddrPoolArgs) ToAccessStrategyFailoverAddrPoolOutputWithContext

func (i AccessStrategyFailoverAddrPoolArgs) ToAccessStrategyFailoverAddrPoolOutputWithContext(ctx context.Context) AccessStrategyFailoverAddrPoolOutput

type AccessStrategyFailoverAddrPoolArray

type AccessStrategyFailoverAddrPoolArray []AccessStrategyFailoverAddrPoolInput

func (AccessStrategyFailoverAddrPoolArray) ElementType

func (AccessStrategyFailoverAddrPoolArray) ToAccessStrategyFailoverAddrPoolArrayOutput

func (i AccessStrategyFailoverAddrPoolArray) ToAccessStrategyFailoverAddrPoolArrayOutput() AccessStrategyFailoverAddrPoolArrayOutput

func (AccessStrategyFailoverAddrPoolArray) ToAccessStrategyFailoverAddrPoolArrayOutputWithContext

func (i AccessStrategyFailoverAddrPoolArray) ToAccessStrategyFailoverAddrPoolArrayOutputWithContext(ctx context.Context) AccessStrategyFailoverAddrPoolArrayOutput

type AccessStrategyFailoverAddrPoolArrayInput

type AccessStrategyFailoverAddrPoolArrayInput interface {
	pulumi.Input

	ToAccessStrategyFailoverAddrPoolArrayOutput() AccessStrategyFailoverAddrPoolArrayOutput
	ToAccessStrategyFailoverAddrPoolArrayOutputWithContext(context.Context) AccessStrategyFailoverAddrPoolArrayOutput
}

AccessStrategyFailoverAddrPoolArrayInput is an input type that accepts AccessStrategyFailoverAddrPoolArray and AccessStrategyFailoverAddrPoolArrayOutput values. You can construct a concrete instance of `AccessStrategyFailoverAddrPoolArrayInput` via:

AccessStrategyFailoverAddrPoolArray{ AccessStrategyFailoverAddrPoolArgs{...} }

type AccessStrategyFailoverAddrPoolArrayOutput

type AccessStrategyFailoverAddrPoolArrayOutput struct{ *pulumi.OutputState }

func (AccessStrategyFailoverAddrPoolArrayOutput) ElementType

func (AccessStrategyFailoverAddrPoolArrayOutput) Index

func (AccessStrategyFailoverAddrPoolArrayOutput) ToAccessStrategyFailoverAddrPoolArrayOutput

func (o AccessStrategyFailoverAddrPoolArrayOutput) ToAccessStrategyFailoverAddrPoolArrayOutput() AccessStrategyFailoverAddrPoolArrayOutput

func (AccessStrategyFailoverAddrPoolArrayOutput) ToAccessStrategyFailoverAddrPoolArrayOutputWithContext

func (o AccessStrategyFailoverAddrPoolArrayOutput) ToAccessStrategyFailoverAddrPoolArrayOutputWithContext(ctx context.Context) AccessStrategyFailoverAddrPoolArrayOutput

type AccessStrategyFailoverAddrPoolInput

type AccessStrategyFailoverAddrPoolInput interface {
	pulumi.Input

	ToAccessStrategyFailoverAddrPoolOutput() AccessStrategyFailoverAddrPoolOutput
	ToAccessStrategyFailoverAddrPoolOutputWithContext(context.Context) AccessStrategyFailoverAddrPoolOutput
}

AccessStrategyFailoverAddrPoolInput is an input type that accepts AccessStrategyFailoverAddrPoolArgs and AccessStrategyFailoverAddrPoolOutput values. You can construct a concrete instance of `AccessStrategyFailoverAddrPoolInput` via:

AccessStrategyFailoverAddrPoolArgs{...}

type AccessStrategyFailoverAddrPoolOutput

type AccessStrategyFailoverAddrPoolOutput struct{ *pulumi.OutputState }

func (AccessStrategyFailoverAddrPoolOutput) AddrPoolId

The ID of the address pool in the primary address pool group.

func (AccessStrategyFailoverAddrPoolOutput) ElementType

func (AccessStrategyFailoverAddrPoolOutput) LbaWeight

The weight of the address pool in the primary address pool group.

func (AccessStrategyFailoverAddrPoolOutput) ToAccessStrategyFailoverAddrPoolOutput

func (o AccessStrategyFailoverAddrPoolOutput) ToAccessStrategyFailoverAddrPoolOutput() AccessStrategyFailoverAddrPoolOutput

func (AccessStrategyFailoverAddrPoolOutput) ToAccessStrategyFailoverAddrPoolOutputWithContext

func (o AccessStrategyFailoverAddrPoolOutput) ToAccessStrategyFailoverAddrPoolOutputWithContext(ctx context.Context) AccessStrategyFailoverAddrPoolOutput

type AccessStrategyInput

type AccessStrategyInput interface {
	pulumi.Input

	ToAccessStrategyOutput() AccessStrategyOutput
	ToAccessStrategyOutputWithContext(ctx context.Context) AccessStrategyOutput
}

type AccessStrategyLine

type AccessStrategyLine struct {
	// The line code of the source region.
	LineCode *string `pulumi:"lineCode"`
}

type AccessStrategyLineArgs

type AccessStrategyLineArgs struct {
	// The line code of the source region.
	LineCode pulumi.StringPtrInput `pulumi:"lineCode"`
}

func (AccessStrategyLineArgs) ElementType

func (AccessStrategyLineArgs) ElementType() reflect.Type

func (AccessStrategyLineArgs) ToAccessStrategyLineOutput

func (i AccessStrategyLineArgs) ToAccessStrategyLineOutput() AccessStrategyLineOutput

func (AccessStrategyLineArgs) ToAccessStrategyLineOutputWithContext

func (i AccessStrategyLineArgs) ToAccessStrategyLineOutputWithContext(ctx context.Context) AccessStrategyLineOutput

type AccessStrategyLineArray

type AccessStrategyLineArray []AccessStrategyLineInput

func (AccessStrategyLineArray) ElementType

func (AccessStrategyLineArray) ElementType() reflect.Type

func (AccessStrategyLineArray) ToAccessStrategyLineArrayOutput

func (i AccessStrategyLineArray) ToAccessStrategyLineArrayOutput() AccessStrategyLineArrayOutput

func (AccessStrategyLineArray) ToAccessStrategyLineArrayOutputWithContext

func (i AccessStrategyLineArray) ToAccessStrategyLineArrayOutputWithContext(ctx context.Context) AccessStrategyLineArrayOutput

type AccessStrategyLineArrayInput

type AccessStrategyLineArrayInput interface {
	pulumi.Input

	ToAccessStrategyLineArrayOutput() AccessStrategyLineArrayOutput
	ToAccessStrategyLineArrayOutputWithContext(context.Context) AccessStrategyLineArrayOutput
}

AccessStrategyLineArrayInput is an input type that accepts AccessStrategyLineArray and AccessStrategyLineArrayOutput values. You can construct a concrete instance of `AccessStrategyLineArrayInput` via:

AccessStrategyLineArray{ AccessStrategyLineArgs{...} }

type AccessStrategyLineArrayOutput

type AccessStrategyLineArrayOutput struct{ *pulumi.OutputState }

func (AccessStrategyLineArrayOutput) ElementType

func (AccessStrategyLineArrayOutput) Index

func (AccessStrategyLineArrayOutput) ToAccessStrategyLineArrayOutput

func (o AccessStrategyLineArrayOutput) ToAccessStrategyLineArrayOutput() AccessStrategyLineArrayOutput

func (AccessStrategyLineArrayOutput) ToAccessStrategyLineArrayOutputWithContext

func (o AccessStrategyLineArrayOutput) ToAccessStrategyLineArrayOutputWithContext(ctx context.Context) AccessStrategyLineArrayOutput

type AccessStrategyLineInput

type AccessStrategyLineInput interface {
	pulumi.Input

	ToAccessStrategyLineOutput() AccessStrategyLineOutput
	ToAccessStrategyLineOutputWithContext(context.Context) AccessStrategyLineOutput
}

AccessStrategyLineInput is an input type that accepts AccessStrategyLineArgs and AccessStrategyLineOutput values. You can construct a concrete instance of `AccessStrategyLineInput` via:

AccessStrategyLineArgs{...}

type AccessStrategyLineOutput

type AccessStrategyLineOutput struct{ *pulumi.OutputState }

func (AccessStrategyLineOutput) ElementType

func (AccessStrategyLineOutput) ElementType() reflect.Type

func (AccessStrategyLineOutput) LineCode

The line code of the source region.

func (AccessStrategyLineOutput) ToAccessStrategyLineOutput

func (o AccessStrategyLineOutput) ToAccessStrategyLineOutput() AccessStrategyLineOutput

func (AccessStrategyLineOutput) ToAccessStrategyLineOutputWithContext

func (o AccessStrategyLineOutput) ToAccessStrategyLineOutputWithContext(ctx context.Context) AccessStrategyLineOutput

type AccessStrategyMap

type AccessStrategyMap map[string]AccessStrategyInput

func (AccessStrategyMap) ElementType

func (AccessStrategyMap) ElementType() reflect.Type

func (AccessStrategyMap) ToAccessStrategyMapOutput

func (i AccessStrategyMap) ToAccessStrategyMapOutput() AccessStrategyMapOutput

func (AccessStrategyMap) ToAccessStrategyMapOutputWithContext

func (i AccessStrategyMap) ToAccessStrategyMapOutputWithContext(ctx context.Context) AccessStrategyMapOutput

type AccessStrategyMapInput

type AccessStrategyMapInput interface {
	pulumi.Input

	ToAccessStrategyMapOutput() AccessStrategyMapOutput
	ToAccessStrategyMapOutputWithContext(context.Context) AccessStrategyMapOutput
}

AccessStrategyMapInput is an input type that accepts AccessStrategyMap and AccessStrategyMapOutput values. You can construct a concrete instance of `AccessStrategyMapInput` via:

AccessStrategyMap{ "key": AccessStrategyArgs{...} }

type AccessStrategyMapOutput

type AccessStrategyMapOutput struct{ *pulumi.OutputState }

func (AccessStrategyMapOutput) ElementType

func (AccessStrategyMapOutput) ElementType() reflect.Type

func (AccessStrategyMapOutput) MapIndex

func (AccessStrategyMapOutput) ToAccessStrategyMapOutput

func (o AccessStrategyMapOutput) ToAccessStrategyMapOutput() AccessStrategyMapOutput

func (AccessStrategyMapOutput) ToAccessStrategyMapOutputWithContext

func (o AccessStrategyMapOutput) ToAccessStrategyMapOutputWithContext(ctx context.Context) AccessStrategyMapOutput

type AccessStrategyOutput

type AccessStrategyOutput struct{ *pulumi.OutputState }

func (AccessStrategyOutput) AccessMode

func (o AccessStrategyOutput) AccessMode() pulumi.StringOutput

The primary/secondary switchover policy for address pool groups. Valid values: `AUTO`, `DEFAULT`, `FAILOVER`.

func (AccessStrategyOutput) DefaultAddrPoolType

func (o AccessStrategyOutput) DefaultAddrPoolType() pulumi.StringOutput

The type of the primary address pool. Valid values: `IPV4`, `IPV6`, `DOMAIN`.

func (AccessStrategyOutput) DefaultAddrPools

List of primary address pool collections. See the following `Block defaultAddrPools`.

func (AccessStrategyOutput) DefaultLatencyOptimization

func (o AccessStrategyOutput) DefaultLatencyOptimization() pulumi.StringPtrOutput

Specifies whether to enable scheduling optimization for latency resolution for the primary address pool group. Valid values: `OPEN`, `CLOSE`.

func (AccessStrategyOutput) DefaultLbaStrategy

func (o AccessStrategyOutput) DefaultLbaStrategy() pulumi.StringPtrOutput

The load balancing policy of the primary address pool group. Valid values: `ALL_RR`, `RATIO`. **NOTE:** The `defaultLbaStrategy` is required under the condition that `strategyMode` is `GEO`.

func (AccessStrategyOutput) DefaultMaxReturnAddrNum

func (o AccessStrategyOutput) DefaultMaxReturnAddrNum() pulumi.IntPtrOutput

The maximum number of addresses returned by the primary address pool set. **NOTE:** The `defaultMaxReturnAddrNum` is required under the condition that `strategyMode` is `LATENCY`.

func (AccessStrategyOutput) DefaultMinAvailableAddrNum

func (o AccessStrategyOutput) DefaultMinAvailableAddrNum() pulumi.IntOutput

The minimum number of available addresses for the primary address pool set.

func (AccessStrategyOutput) ElementType

func (AccessStrategyOutput) ElementType() reflect.Type

func (AccessStrategyOutput) FailoverAddrPoolType

func (o AccessStrategyOutput) FailoverAddrPoolType() pulumi.StringPtrOutput

The type of the secondary address pool. Valid values: `IPV4`, `IPV6`, `DOMAIN`.

func (AccessStrategyOutput) FailoverAddrPools

List of backup address pool sets. See the following `Block failoverAddrPools`.

func (AccessStrategyOutput) FailoverLatencyOptimization

func (o AccessStrategyOutput) FailoverLatencyOptimization() pulumi.StringPtrOutput

Specifies whether to enable scheduling optimization for latency resolution for the secondary address pool group. Valid values: `OPEN`, `CLOSE`.

func (AccessStrategyOutput) FailoverLbaStrategy

func (o AccessStrategyOutput) FailoverLbaStrategy() pulumi.StringPtrOutput

The load balancing policy of the secondary address pool group. Valid values: `ALL_RR`, `RATIO`.

func (AccessStrategyOutput) FailoverMaxReturnAddrNum

func (o AccessStrategyOutput) FailoverMaxReturnAddrNum() pulumi.IntPtrOutput

The maximum number of returned addresses in the standby address pool.

func (AccessStrategyOutput) FailoverMinAvailableAddrNum

func (o AccessStrategyOutput) FailoverMinAvailableAddrNum() pulumi.IntPtrOutput

The minimum number of available addresses in the standby address pool.

func (AccessStrategyOutput) InstanceId

func (o AccessStrategyOutput) InstanceId() pulumi.StringOutput

The Id of the associated instance.

func (AccessStrategyOutput) Lang

The lang.

func (AccessStrategyOutput) Lines

The source regions. See the following `Block lines`. **NOTE:** The `lines` is required under the condition that `strategyMode` is `GEO`.

func (AccessStrategyOutput) StrategyMode

func (o AccessStrategyOutput) StrategyMode() pulumi.StringOutput

The type of the access policy. Valid values: `GEO` or `LATENCY`. `GEO`: based on geographic location. `LATENCY`: Based on delay.

func (AccessStrategyOutput) StrategyName

func (o AccessStrategyOutput) StrategyName() pulumi.StringOutput

The name of the access policy.

func (AccessStrategyOutput) ToAccessStrategyOutput

func (o AccessStrategyOutput) ToAccessStrategyOutput() AccessStrategyOutput

func (AccessStrategyOutput) ToAccessStrategyOutputWithContext

func (o AccessStrategyOutput) ToAccessStrategyOutputWithContext(ctx context.Context) AccessStrategyOutput

type AccessStrategyState

type AccessStrategyState struct {
	// The primary/secondary switchover policy for address pool groups. Valid values: `AUTO`, `DEFAULT`, `FAILOVER`.
	AccessMode pulumi.StringPtrInput
	// The type of the primary address pool. Valid values: `IPV4`, `IPV6`, `DOMAIN`.
	DefaultAddrPoolType pulumi.StringPtrInput
	// List of primary address pool collections. See the following `Block defaultAddrPools`.
	DefaultAddrPools AccessStrategyDefaultAddrPoolArrayInput
	// Specifies whether to enable scheduling optimization for latency resolution for the primary address pool group. Valid values: `OPEN`, `CLOSE`.
	DefaultLatencyOptimization pulumi.StringPtrInput
	// The load balancing policy of the primary address pool group. Valid values: `ALL_RR`, `RATIO`. **NOTE:** The `defaultLbaStrategy` is required under the condition that `strategyMode` is `GEO`.
	DefaultLbaStrategy pulumi.StringPtrInput
	// The maximum number of addresses returned by the primary address pool set. **NOTE:** The `defaultMaxReturnAddrNum` is required under the condition that `strategyMode` is `LATENCY`.
	DefaultMaxReturnAddrNum pulumi.IntPtrInput
	// The minimum number of available addresses for the primary address pool set.
	DefaultMinAvailableAddrNum pulumi.IntPtrInput
	// The type of the secondary address pool. Valid values: `IPV4`, `IPV6`, `DOMAIN`.
	FailoverAddrPoolType pulumi.StringPtrInput
	// List of backup address pool sets. See the following `Block failoverAddrPools`.
	FailoverAddrPools AccessStrategyFailoverAddrPoolArrayInput
	// Specifies whether to enable scheduling optimization for latency resolution for the secondary address pool group. Valid values: `OPEN`, `CLOSE`.
	FailoverLatencyOptimization pulumi.StringPtrInput
	// The load balancing policy of the secondary address pool group. Valid values: `ALL_RR`, `RATIO`.
	FailoverLbaStrategy pulumi.StringPtrInput
	// The maximum number of returned addresses in the standby address pool.
	FailoverMaxReturnAddrNum pulumi.IntPtrInput
	// The minimum number of available addresses in the standby address pool.
	FailoverMinAvailableAddrNum pulumi.IntPtrInput
	// The Id of the associated instance.
	InstanceId pulumi.StringPtrInput
	// The lang.
	Lang pulumi.StringPtrInput
	// The source regions. See the following `Block lines`. **NOTE:** The `lines` is required under the condition that `strategyMode` is `GEO`.
	Lines AccessStrategyLineArrayInput
	// The type of the access policy. Valid values: `GEO` or `LATENCY`. `GEO`: based on geographic location. `LATENCY`: Based on delay.
	StrategyMode pulumi.StringPtrInput
	// The name of the access policy.
	StrategyName pulumi.StringPtrInput
}

func (AccessStrategyState) ElementType

func (AccessStrategyState) ElementType() reflect.Type

type AddressPool

type AddressPool struct {
	pulumi.CustomResourceState

	// The name of the address pool.
	AddressPoolName pulumi.StringOutput `pulumi:"addressPoolName"`
	// The address that you want to add to the address pool.
	Addresses AddressPoolAddressArrayOutput `pulumi:"addresses"`
	// The ID of the instance.
	InstanceId pulumi.StringOutput `pulumi:"instanceId"`
	// The load balancing policy of the address pool. Valid values:`ALL_RR` or `RATIO`. `ALL_RR`: returns all addresses. `RATIO`: returns addresses by weight.
	LbaStrategy pulumi.StringOutput `pulumi:"lbaStrategy"`
	// The type of the address pool. Valid values: `IPV4`, `IPV6`, `DOMAIN`.
	Type pulumi.StringOutput `pulumi:"type"`
}

Provides a Alidns Address Pool resource.

For information about Alidns Address Pool and how to use it, see [What is Address Pool](https://www.alibabacloud.com/help/doc-detail/189621.html).

> **NOTE:** Available in v1.152.0+.

## Import

Alidns Address Pool can be imported using the id, e.g.

```sh

$ pulumi import alicloud:dns/addressPool:AddressPool example <id>

```

func GetAddressPool

func GetAddressPool(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AddressPoolState, opts ...pulumi.ResourceOption) (*AddressPool, error)

GetAddressPool gets an existing AddressPool resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewAddressPool

func NewAddressPool(ctx *pulumi.Context,
	name string, args *AddressPoolArgs, opts ...pulumi.ResourceOption) (*AddressPool, error)

NewAddressPool registers a new resource with the given unique name, arguments, and options.

func (*AddressPool) ElementType

func (*AddressPool) ElementType() reflect.Type

func (*AddressPool) ToAddressPoolOutput

func (i *AddressPool) ToAddressPoolOutput() AddressPoolOutput

func (*AddressPool) ToAddressPoolOutputWithContext

func (i *AddressPool) ToAddressPoolOutputWithContext(ctx context.Context) AddressPoolOutput

type AddressPoolAddress

type AddressPoolAddress struct {
	// The address that you want to add to the address pool.
	Address string `pulumi:"address"`
	// The source region of the address. expressed as a JSON string. The structure is as follows:
	// * `LineCodes`: List of home lineCodes.
	// * `lineCodeRectifyType`: The rectification type of the line code. Default value: `AUTO`. Valid values: `NO_NEED`: no need for rectification. `RECTIFIED`: rectified. `AUTO`: automatic rectification.
	AttributeInfo string `pulumi:"attributeInfo"`
	// The weight of the address. **NOTE:** The attribute is valid when the attribute `lbaStrategy` is `RATIO`.
	LbaWeight *int `pulumi:"lbaWeight"`
	// The type of the address. Valid values:`SMART`, `ONLINE` and `OFFLINE`.
	Mode string `pulumi:"mode"`
	// The description of the address.
	Remark *string `pulumi:"remark"`
}

type AddressPoolAddressArgs

type AddressPoolAddressArgs struct {
	// The address that you want to add to the address pool.
	Address pulumi.StringInput `pulumi:"address"`
	// The source region of the address. expressed as a JSON string. The structure is as follows:
	// * `LineCodes`: List of home lineCodes.
	// * `lineCodeRectifyType`: The rectification type of the line code. Default value: `AUTO`. Valid values: `NO_NEED`: no need for rectification. `RECTIFIED`: rectified. `AUTO`: automatic rectification.
	AttributeInfo pulumi.StringInput `pulumi:"attributeInfo"`
	// The weight of the address. **NOTE:** The attribute is valid when the attribute `lbaStrategy` is `RATIO`.
	LbaWeight pulumi.IntPtrInput `pulumi:"lbaWeight"`
	// The type of the address. Valid values:`SMART`, `ONLINE` and `OFFLINE`.
	Mode pulumi.StringInput `pulumi:"mode"`
	// The description of the address.
	Remark pulumi.StringPtrInput `pulumi:"remark"`
}

func (AddressPoolAddressArgs) ElementType

func (AddressPoolAddressArgs) ElementType() reflect.Type

func (AddressPoolAddressArgs) ToAddressPoolAddressOutput

func (i AddressPoolAddressArgs) ToAddressPoolAddressOutput() AddressPoolAddressOutput

func (AddressPoolAddressArgs) ToAddressPoolAddressOutputWithContext

func (i AddressPoolAddressArgs) ToAddressPoolAddressOutputWithContext(ctx context.Context) AddressPoolAddressOutput

type AddressPoolAddressArray

type AddressPoolAddressArray []AddressPoolAddressInput

func (AddressPoolAddressArray) ElementType

func (AddressPoolAddressArray) ElementType() reflect.Type

func (AddressPoolAddressArray) ToAddressPoolAddressArrayOutput

func (i AddressPoolAddressArray) ToAddressPoolAddressArrayOutput() AddressPoolAddressArrayOutput

func (AddressPoolAddressArray) ToAddressPoolAddressArrayOutputWithContext

func (i AddressPoolAddressArray) ToAddressPoolAddressArrayOutputWithContext(ctx context.Context) AddressPoolAddressArrayOutput

type AddressPoolAddressArrayInput

type AddressPoolAddressArrayInput interface {
	pulumi.Input

	ToAddressPoolAddressArrayOutput() AddressPoolAddressArrayOutput
	ToAddressPoolAddressArrayOutputWithContext(context.Context) AddressPoolAddressArrayOutput
}

AddressPoolAddressArrayInput is an input type that accepts AddressPoolAddressArray and AddressPoolAddressArrayOutput values. You can construct a concrete instance of `AddressPoolAddressArrayInput` via:

AddressPoolAddressArray{ AddressPoolAddressArgs{...} }

type AddressPoolAddressArrayOutput

type AddressPoolAddressArrayOutput struct{ *pulumi.OutputState }

func (AddressPoolAddressArrayOutput) ElementType

func (AddressPoolAddressArrayOutput) Index

func (AddressPoolAddressArrayOutput) ToAddressPoolAddressArrayOutput

func (o AddressPoolAddressArrayOutput) ToAddressPoolAddressArrayOutput() AddressPoolAddressArrayOutput

func (AddressPoolAddressArrayOutput) ToAddressPoolAddressArrayOutputWithContext

func (o AddressPoolAddressArrayOutput) ToAddressPoolAddressArrayOutputWithContext(ctx context.Context) AddressPoolAddressArrayOutput

type AddressPoolAddressInput

type AddressPoolAddressInput interface {
	pulumi.Input

	ToAddressPoolAddressOutput() AddressPoolAddressOutput
	ToAddressPoolAddressOutputWithContext(context.Context) AddressPoolAddressOutput
}

AddressPoolAddressInput is an input type that accepts AddressPoolAddressArgs and AddressPoolAddressOutput values. You can construct a concrete instance of `AddressPoolAddressInput` via:

AddressPoolAddressArgs{...}

type AddressPoolAddressOutput

type AddressPoolAddressOutput struct{ *pulumi.OutputState }

func (AddressPoolAddressOutput) Address

The address that you want to add to the address pool.

func (AddressPoolAddressOutput) AttributeInfo

func (o AddressPoolAddressOutput) AttributeInfo() pulumi.StringOutput

The source region of the address. expressed as a JSON string. The structure is as follows: * `LineCodes`: List of home lineCodes. * `lineCodeRectifyType`: The rectification type of the line code. Default value: `AUTO`. Valid values: `NO_NEED`: no need for rectification. `RECTIFIED`: rectified. `AUTO`: automatic rectification.

func (AddressPoolAddressOutput) ElementType

func (AddressPoolAddressOutput) ElementType() reflect.Type

func (AddressPoolAddressOutput) LbaWeight

The weight of the address. **NOTE:** The attribute is valid when the attribute `lbaStrategy` is `RATIO`.

func (AddressPoolAddressOutput) Mode

The type of the address. Valid values:`SMART`, `ONLINE` and `OFFLINE`.

func (AddressPoolAddressOutput) Remark

The description of the address.

func (AddressPoolAddressOutput) ToAddressPoolAddressOutput

func (o AddressPoolAddressOutput) ToAddressPoolAddressOutput() AddressPoolAddressOutput

func (AddressPoolAddressOutput) ToAddressPoolAddressOutputWithContext

func (o AddressPoolAddressOutput) ToAddressPoolAddressOutputWithContext(ctx context.Context) AddressPoolAddressOutput

type AddressPoolArgs

type AddressPoolArgs struct {
	// The name of the address pool.
	AddressPoolName pulumi.StringInput
	// The address that you want to add to the address pool.
	Addresses AddressPoolAddressArrayInput
	// The ID of the instance.
	InstanceId pulumi.StringInput
	// The load balancing policy of the address pool. Valid values:`ALL_RR` or `RATIO`. `ALL_RR`: returns all addresses. `RATIO`: returns addresses by weight.
	LbaStrategy pulumi.StringInput
	// The type of the address pool. Valid values: `IPV4`, `IPV6`, `DOMAIN`.
	Type pulumi.StringInput
}

The set of arguments for constructing a AddressPool resource.

func (AddressPoolArgs) ElementType

func (AddressPoolArgs) ElementType() reflect.Type

type AddressPoolArray

type AddressPoolArray []AddressPoolInput

func (AddressPoolArray) ElementType

func (AddressPoolArray) ElementType() reflect.Type

func (AddressPoolArray) ToAddressPoolArrayOutput

func (i AddressPoolArray) ToAddressPoolArrayOutput() AddressPoolArrayOutput

func (AddressPoolArray) ToAddressPoolArrayOutputWithContext

func (i AddressPoolArray) ToAddressPoolArrayOutputWithContext(ctx context.Context) AddressPoolArrayOutput

type AddressPoolArrayInput

type AddressPoolArrayInput interface {
	pulumi.Input

	ToAddressPoolArrayOutput() AddressPoolArrayOutput
	ToAddressPoolArrayOutputWithContext(context.Context) AddressPoolArrayOutput
}

AddressPoolArrayInput is an input type that accepts AddressPoolArray and AddressPoolArrayOutput values. You can construct a concrete instance of `AddressPoolArrayInput` via:

AddressPoolArray{ AddressPoolArgs{...} }

type AddressPoolArrayOutput

type AddressPoolArrayOutput struct{ *pulumi.OutputState }

func (AddressPoolArrayOutput) ElementType

func (AddressPoolArrayOutput) ElementType() reflect.Type

func (AddressPoolArrayOutput) Index

func (AddressPoolArrayOutput) ToAddressPoolArrayOutput

func (o AddressPoolArrayOutput) ToAddressPoolArrayOutput() AddressPoolArrayOutput

func (AddressPoolArrayOutput) ToAddressPoolArrayOutputWithContext

func (o AddressPoolArrayOutput) ToAddressPoolArrayOutputWithContext(ctx context.Context) AddressPoolArrayOutput

type AddressPoolInput

type AddressPoolInput interface {
	pulumi.Input

	ToAddressPoolOutput() AddressPoolOutput
	ToAddressPoolOutputWithContext(ctx context.Context) AddressPoolOutput
}

type AddressPoolMap

type AddressPoolMap map[string]AddressPoolInput

func (AddressPoolMap) ElementType

func (AddressPoolMap) ElementType() reflect.Type

func (AddressPoolMap) ToAddressPoolMapOutput

func (i AddressPoolMap) ToAddressPoolMapOutput() AddressPoolMapOutput

func (AddressPoolMap) ToAddressPoolMapOutputWithContext

func (i AddressPoolMap) ToAddressPoolMapOutputWithContext(ctx context.Context) AddressPoolMapOutput

type AddressPoolMapInput

type AddressPoolMapInput interface {
	pulumi.Input

	ToAddressPoolMapOutput() AddressPoolMapOutput
	ToAddressPoolMapOutputWithContext(context.Context) AddressPoolMapOutput
}

AddressPoolMapInput is an input type that accepts AddressPoolMap and AddressPoolMapOutput values. You can construct a concrete instance of `AddressPoolMapInput` via:

AddressPoolMap{ "key": AddressPoolArgs{...} }

type AddressPoolMapOutput

type AddressPoolMapOutput struct{ *pulumi.OutputState }

func (AddressPoolMapOutput) ElementType

func (AddressPoolMapOutput) ElementType() reflect.Type

func (AddressPoolMapOutput) MapIndex

func (AddressPoolMapOutput) ToAddressPoolMapOutput

func (o AddressPoolMapOutput) ToAddressPoolMapOutput() AddressPoolMapOutput

func (AddressPoolMapOutput) ToAddressPoolMapOutputWithContext

func (o AddressPoolMapOutput) ToAddressPoolMapOutputWithContext(ctx context.Context) AddressPoolMapOutput

type AddressPoolOutput

type AddressPoolOutput struct{ *pulumi.OutputState }

func (AddressPoolOutput) AddressPoolName

func (o AddressPoolOutput) AddressPoolName() pulumi.StringOutput

The name of the address pool.

func (AddressPoolOutput) Addresses

The address that you want to add to the address pool.

func (AddressPoolOutput) ElementType

func (AddressPoolOutput) ElementType() reflect.Type

func (AddressPoolOutput) InstanceId

func (o AddressPoolOutput) InstanceId() pulumi.StringOutput

The ID of the instance.

func (AddressPoolOutput) LbaStrategy

func (o AddressPoolOutput) LbaStrategy() pulumi.StringOutput

The load balancing policy of the address pool. Valid values:`ALL_RR` or `RATIO`. `ALL_RR`: returns all addresses. `RATIO`: returns addresses by weight.

func (AddressPoolOutput) ToAddressPoolOutput

func (o AddressPoolOutput) ToAddressPoolOutput() AddressPoolOutput

func (AddressPoolOutput) ToAddressPoolOutputWithContext

func (o AddressPoolOutput) ToAddressPoolOutputWithContext(ctx context.Context) AddressPoolOutput

func (AddressPoolOutput) Type

The type of the address pool. Valid values: `IPV4`, `IPV6`, `DOMAIN`.

type AddressPoolState

type AddressPoolState struct {
	// The name of the address pool.
	AddressPoolName pulumi.StringPtrInput
	// The address that you want to add to the address pool.
	Addresses AddressPoolAddressArrayInput
	// The ID of the instance.
	InstanceId pulumi.StringPtrInput
	// The load balancing policy of the address pool. Valid values:`ALL_RR` or `RATIO`. `ALL_RR`: returns all addresses. `RATIO`: returns addresses by weight.
	LbaStrategy pulumi.StringPtrInput
	// The type of the address pool. Valid values: `IPV4`, `IPV6`, `DOMAIN`.
	Type pulumi.StringPtrInput
}

func (AddressPoolState) ElementType

func (AddressPoolState) ElementType() reflect.Type

type AlidnsDomain

type AlidnsDomain struct {
	pulumi.CustomResourceState

	// A list of the dns server name.
	DnsServers pulumi.StringArrayOutput `pulumi:"dnsServers"`
	// The domain ID.
	DomainId pulumi.StringOutput `pulumi:"domainId"`
	// Name of the domain. This name without suffix can have a string of 1 to 63 characters(domain name subject, excluding suffix), must contain only alphanumeric characters or "-", and must not begin or end with "-", and "-" must not in the 3th and 4th character positions at the same time. Suffix `.sh` and `.tel` are not supported.
	DomainName pulumi.StringOutput `pulumi:"domainName"`
	// Id of the group in which the domain will add. If not supplied, then use default group.
	GroupId pulumi.StringPtrOutput `pulumi:"groupId"`
	// Domain name group name.
	GroupName pulumi.StringOutput `pulumi:"groupName"`
	// User language.
	Lang pulumi.StringPtrOutput `pulumi:"lang"`
	// Only return punycode codes for Chinese domain names.
	PunyCode pulumi.StringOutput `pulumi:"punyCode"`
	// Remarks information for your domain name.
	Remark pulumi.StringPtrOutput `pulumi:"remark"`
	// The Id of resource group which the dns domain belongs.
	ResourceGroupId pulumi.StringOutput `pulumi:"resourceGroupId"`
	// A mapping of tags to assign to the resource.
	// - Key: It can be [1, 20] characters in length. It can contain A-Z, a-z, numbers, underscores (_), and hyphens (-). It cannot begin with "aliyun", "acs:", "http://", or "https://". It cannot be a null string.
	// - Value: It can be [1, 20] characters in length. It can contain A-Z, a-z, numbers, underscores (_), and hyphens (-). It cannot begin with "aliyun", "acs:", "http://", or "https://". It can be a null string.
	Tags pulumi.MapOutput `pulumi:"tags"`
}

Provides a Alidns domain resource.

> **NOTE:** The domain name which you want to add must be already registered and had not added by another account. Every domain name can only exist in a unique group.

> **NOTE:** Available in v1.95.0+.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/dns"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := dns.NewAlidnsDomain(ctx, "dns", &dns.AlidnsDomainArgs{
			DomainName: pulumi.String("starmove.com"),
			GroupId:    pulumi.String("85ab8713-4a30-4de4-9d20-155ff830****"),
			Tags: pulumi.AnyMap{
				"Created":     pulumi.Any("Terraform"),
				"Environment": pulumi.Any("test"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Alidns domain can be imported using the id or domain name, e.g.

```sh

$ pulumi import alicloud:dns/alidnsDomain:AlidnsDomain example aliyun.com

```

func GetAlidnsDomain

func GetAlidnsDomain(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AlidnsDomainState, opts ...pulumi.ResourceOption) (*AlidnsDomain, error)

GetAlidnsDomain gets an existing AlidnsDomain resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewAlidnsDomain

func NewAlidnsDomain(ctx *pulumi.Context,
	name string, args *AlidnsDomainArgs, opts ...pulumi.ResourceOption) (*AlidnsDomain, error)

NewAlidnsDomain registers a new resource with the given unique name, arguments, and options.

func (*AlidnsDomain) ElementType

func (*AlidnsDomain) ElementType() reflect.Type

func (*AlidnsDomain) ToAlidnsDomainOutput

func (i *AlidnsDomain) ToAlidnsDomainOutput() AlidnsDomainOutput

func (*AlidnsDomain) ToAlidnsDomainOutputWithContext

func (i *AlidnsDomain) ToAlidnsDomainOutputWithContext(ctx context.Context) AlidnsDomainOutput

type AlidnsDomainArgs

type AlidnsDomainArgs struct {
	// Name of the domain. This name without suffix can have a string of 1 to 63 characters(domain name subject, excluding suffix), must contain only alphanumeric characters or "-", and must not begin or end with "-", and "-" must not in the 3th and 4th character positions at the same time. Suffix `.sh` and `.tel` are not supported.
	DomainName pulumi.StringInput
	// Id of the group in which the domain will add. If not supplied, then use default group.
	GroupId pulumi.StringPtrInput
	// User language.
	Lang pulumi.StringPtrInput
	// Remarks information for your domain name.
	Remark pulumi.StringPtrInput
	// The Id of resource group which the dns domain belongs.
	ResourceGroupId pulumi.StringPtrInput
	// A mapping of tags to assign to the resource.
	// - Key: It can be [1, 20] characters in length. It can contain A-Z, a-z, numbers, underscores (_), and hyphens (-). It cannot begin with "aliyun", "acs:", "http://", or "https://". It cannot be a null string.
	// - Value: It can be [1, 20] characters in length. It can contain A-Z, a-z, numbers, underscores (_), and hyphens (-). It cannot begin with "aliyun", "acs:", "http://", or "https://". It can be a null string.
	Tags pulumi.MapInput
}

The set of arguments for constructing a AlidnsDomain resource.

func (AlidnsDomainArgs) ElementType

func (AlidnsDomainArgs) ElementType() reflect.Type

type AlidnsDomainArray

type AlidnsDomainArray []AlidnsDomainInput

func (AlidnsDomainArray) ElementType

func (AlidnsDomainArray) ElementType() reflect.Type

func (AlidnsDomainArray) ToAlidnsDomainArrayOutput

func (i AlidnsDomainArray) ToAlidnsDomainArrayOutput() AlidnsDomainArrayOutput

func (AlidnsDomainArray) ToAlidnsDomainArrayOutputWithContext

func (i AlidnsDomainArray) ToAlidnsDomainArrayOutputWithContext(ctx context.Context) AlidnsDomainArrayOutput

type AlidnsDomainArrayInput

type AlidnsDomainArrayInput interface {
	pulumi.Input

	ToAlidnsDomainArrayOutput() AlidnsDomainArrayOutput
	ToAlidnsDomainArrayOutputWithContext(context.Context) AlidnsDomainArrayOutput
}

AlidnsDomainArrayInput is an input type that accepts AlidnsDomainArray and AlidnsDomainArrayOutput values. You can construct a concrete instance of `AlidnsDomainArrayInput` via:

AlidnsDomainArray{ AlidnsDomainArgs{...} }

type AlidnsDomainArrayOutput

type AlidnsDomainArrayOutput struct{ *pulumi.OutputState }

func (AlidnsDomainArrayOutput) ElementType

func (AlidnsDomainArrayOutput) ElementType() reflect.Type

func (AlidnsDomainArrayOutput) Index

func (AlidnsDomainArrayOutput) ToAlidnsDomainArrayOutput

func (o AlidnsDomainArrayOutput) ToAlidnsDomainArrayOutput() AlidnsDomainArrayOutput

func (AlidnsDomainArrayOutput) ToAlidnsDomainArrayOutputWithContext

func (o AlidnsDomainArrayOutput) ToAlidnsDomainArrayOutputWithContext(ctx context.Context) AlidnsDomainArrayOutput

type AlidnsDomainAttachment

type AlidnsDomainAttachment struct {
	pulumi.CustomResourceState

	// The domain names bound to the DNS instance.
	DomainNames pulumi.StringArrayOutput `pulumi:"domainNames"`
	// The id of the DNS instance.
	InstanceId pulumi.StringOutput `pulumi:"instanceId"`
}

Provides bind the domain name to the Alidns instance resource.

> **NOTE:** Available in v1.99.0+.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/dns"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := dns.NewAlidnsDomainAttachment(ctx, "dns", &dns.AlidnsDomainAttachmentArgs{
			DomainNames: pulumi.StringArray{
				pulumi.String("test111.abc"),
				pulumi.String("test222.abc"),
			},
			InstanceId: pulumi.String("dns-cn-mp91lyq9xxxx"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

DNS domain attachment can be imported using the id, e.g.

```sh

$ pulumi import alicloud:dns/alidnsDomainAttachment:AlidnsDomainAttachment example dns-cn-v0h1ldjhxxx

```

func GetAlidnsDomainAttachment

func GetAlidnsDomainAttachment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AlidnsDomainAttachmentState, opts ...pulumi.ResourceOption) (*AlidnsDomainAttachment, error)

GetAlidnsDomainAttachment gets an existing AlidnsDomainAttachment resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewAlidnsDomainAttachment

func NewAlidnsDomainAttachment(ctx *pulumi.Context,
	name string, args *AlidnsDomainAttachmentArgs, opts ...pulumi.ResourceOption) (*AlidnsDomainAttachment, error)

NewAlidnsDomainAttachment registers a new resource with the given unique name, arguments, and options.

func (*AlidnsDomainAttachment) ElementType

func (*AlidnsDomainAttachment) ElementType() reflect.Type

func (*AlidnsDomainAttachment) ToAlidnsDomainAttachmentOutput

func (i *AlidnsDomainAttachment) ToAlidnsDomainAttachmentOutput() AlidnsDomainAttachmentOutput

func (*AlidnsDomainAttachment) ToAlidnsDomainAttachmentOutputWithContext

func (i *AlidnsDomainAttachment) ToAlidnsDomainAttachmentOutputWithContext(ctx context.Context) AlidnsDomainAttachmentOutput

type AlidnsDomainAttachmentArgs

type AlidnsDomainAttachmentArgs struct {
	// The domain names bound to the DNS instance.
	DomainNames pulumi.StringArrayInput
	// The id of the DNS instance.
	InstanceId pulumi.StringInput
}

The set of arguments for constructing a AlidnsDomainAttachment resource.

func (AlidnsDomainAttachmentArgs) ElementType

func (AlidnsDomainAttachmentArgs) ElementType() reflect.Type

type AlidnsDomainAttachmentArray

type AlidnsDomainAttachmentArray []AlidnsDomainAttachmentInput

func (AlidnsDomainAttachmentArray) ElementType

func (AlidnsDomainAttachmentArray) ToAlidnsDomainAttachmentArrayOutput

func (i AlidnsDomainAttachmentArray) ToAlidnsDomainAttachmentArrayOutput() AlidnsDomainAttachmentArrayOutput

func (AlidnsDomainAttachmentArray) ToAlidnsDomainAttachmentArrayOutputWithContext

func (i AlidnsDomainAttachmentArray) ToAlidnsDomainAttachmentArrayOutputWithContext(ctx context.Context) AlidnsDomainAttachmentArrayOutput

type AlidnsDomainAttachmentArrayInput

type AlidnsDomainAttachmentArrayInput interface {
	pulumi.Input

	ToAlidnsDomainAttachmentArrayOutput() AlidnsDomainAttachmentArrayOutput
	ToAlidnsDomainAttachmentArrayOutputWithContext(context.Context) AlidnsDomainAttachmentArrayOutput
}

AlidnsDomainAttachmentArrayInput is an input type that accepts AlidnsDomainAttachmentArray and AlidnsDomainAttachmentArrayOutput values. You can construct a concrete instance of `AlidnsDomainAttachmentArrayInput` via:

AlidnsDomainAttachmentArray{ AlidnsDomainAttachmentArgs{...} }

type AlidnsDomainAttachmentArrayOutput

type AlidnsDomainAttachmentArrayOutput struct{ *pulumi.OutputState }

func (AlidnsDomainAttachmentArrayOutput) ElementType

func (AlidnsDomainAttachmentArrayOutput) Index

func (AlidnsDomainAttachmentArrayOutput) ToAlidnsDomainAttachmentArrayOutput

func (o AlidnsDomainAttachmentArrayOutput) ToAlidnsDomainAttachmentArrayOutput() AlidnsDomainAttachmentArrayOutput

func (AlidnsDomainAttachmentArrayOutput) ToAlidnsDomainAttachmentArrayOutputWithContext

func (o AlidnsDomainAttachmentArrayOutput) ToAlidnsDomainAttachmentArrayOutputWithContext(ctx context.Context) AlidnsDomainAttachmentArrayOutput

type AlidnsDomainAttachmentInput

type AlidnsDomainAttachmentInput interface {
	pulumi.Input

	ToAlidnsDomainAttachmentOutput() AlidnsDomainAttachmentOutput
	ToAlidnsDomainAttachmentOutputWithContext(ctx context.Context) AlidnsDomainAttachmentOutput
}

type AlidnsDomainAttachmentMap

type AlidnsDomainAttachmentMap map[string]AlidnsDomainAttachmentInput

func (AlidnsDomainAttachmentMap) ElementType

func (AlidnsDomainAttachmentMap) ElementType() reflect.Type

func (AlidnsDomainAttachmentMap) ToAlidnsDomainAttachmentMapOutput

func (i AlidnsDomainAttachmentMap) ToAlidnsDomainAttachmentMapOutput() AlidnsDomainAttachmentMapOutput

func (AlidnsDomainAttachmentMap) ToAlidnsDomainAttachmentMapOutputWithContext

func (i AlidnsDomainAttachmentMap) ToAlidnsDomainAttachmentMapOutputWithContext(ctx context.Context) AlidnsDomainAttachmentMapOutput

type AlidnsDomainAttachmentMapInput

type AlidnsDomainAttachmentMapInput interface {
	pulumi.Input

	ToAlidnsDomainAttachmentMapOutput() AlidnsDomainAttachmentMapOutput
	ToAlidnsDomainAttachmentMapOutputWithContext(context.Context) AlidnsDomainAttachmentMapOutput
}

AlidnsDomainAttachmentMapInput is an input type that accepts AlidnsDomainAttachmentMap and AlidnsDomainAttachmentMapOutput values. You can construct a concrete instance of `AlidnsDomainAttachmentMapInput` via:

AlidnsDomainAttachmentMap{ "key": AlidnsDomainAttachmentArgs{...} }

type AlidnsDomainAttachmentMapOutput

type AlidnsDomainAttachmentMapOutput struct{ *pulumi.OutputState }

func (AlidnsDomainAttachmentMapOutput) ElementType

func (AlidnsDomainAttachmentMapOutput) MapIndex

func (AlidnsDomainAttachmentMapOutput) ToAlidnsDomainAttachmentMapOutput

func (o AlidnsDomainAttachmentMapOutput) ToAlidnsDomainAttachmentMapOutput() AlidnsDomainAttachmentMapOutput

func (AlidnsDomainAttachmentMapOutput) ToAlidnsDomainAttachmentMapOutputWithContext

func (o AlidnsDomainAttachmentMapOutput) ToAlidnsDomainAttachmentMapOutputWithContext(ctx context.Context) AlidnsDomainAttachmentMapOutput

type AlidnsDomainAttachmentOutput

type AlidnsDomainAttachmentOutput struct{ *pulumi.OutputState }

func (AlidnsDomainAttachmentOutput) DomainNames

The domain names bound to the DNS instance.

func (AlidnsDomainAttachmentOutput) ElementType

func (AlidnsDomainAttachmentOutput) InstanceId

The id of the DNS instance.

func (AlidnsDomainAttachmentOutput) ToAlidnsDomainAttachmentOutput

func (o AlidnsDomainAttachmentOutput) ToAlidnsDomainAttachmentOutput() AlidnsDomainAttachmentOutput

func (AlidnsDomainAttachmentOutput) ToAlidnsDomainAttachmentOutputWithContext

func (o AlidnsDomainAttachmentOutput) ToAlidnsDomainAttachmentOutputWithContext(ctx context.Context) AlidnsDomainAttachmentOutput

type AlidnsDomainAttachmentState

type AlidnsDomainAttachmentState struct {
	// The domain names bound to the DNS instance.
	DomainNames pulumi.StringArrayInput
	// The id of the DNS instance.
	InstanceId pulumi.StringPtrInput
}

func (AlidnsDomainAttachmentState) ElementType

type AlidnsDomainInput

type AlidnsDomainInput interface {
	pulumi.Input

	ToAlidnsDomainOutput() AlidnsDomainOutput
	ToAlidnsDomainOutputWithContext(ctx context.Context) AlidnsDomainOutput
}

type AlidnsDomainMap

type AlidnsDomainMap map[string]AlidnsDomainInput

func (AlidnsDomainMap) ElementType

func (AlidnsDomainMap) ElementType() reflect.Type

func (AlidnsDomainMap) ToAlidnsDomainMapOutput

func (i AlidnsDomainMap) ToAlidnsDomainMapOutput() AlidnsDomainMapOutput

func (AlidnsDomainMap) ToAlidnsDomainMapOutputWithContext

func (i AlidnsDomainMap) ToAlidnsDomainMapOutputWithContext(ctx context.Context) AlidnsDomainMapOutput

type AlidnsDomainMapInput

type AlidnsDomainMapInput interface {
	pulumi.Input

	ToAlidnsDomainMapOutput() AlidnsDomainMapOutput
	ToAlidnsDomainMapOutputWithContext(context.Context) AlidnsDomainMapOutput
}

AlidnsDomainMapInput is an input type that accepts AlidnsDomainMap and AlidnsDomainMapOutput values. You can construct a concrete instance of `AlidnsDomainMapInput` via:

AlidnsDomainMap{ "key": AlidnsDomainArgs{...} }

type AlidnsDomainMapOutput

type AlidnsDomainMapOutput struct{ *pulumi.OutputState }

func (AlidnsDomainMapOutput) ElementType

func (AlidnsDomainMapOutput) ElementType() reflect.Type

func (AlidnsDomainMapOutput) MapIndex

func (AlidnsDomainMapOutput) ToAlidnsDomainMapOutput

func (o AlidnsDomainMapOutput) ToAlidnsDomainMapOutput() AlidnsDomainMapOutput

func (AlidnsDomainMapOutput) ToAlidnsDomainMapOutputWithContext

func (o AlidnsDomainMapOutput) ToAlidnsDomainMapOutputWithContext(ctx context.Context) AlidnsDomainMapOutput

type AlidnsDomainOutput

type AlidnsDomainOutput struct{ *pulumi.OutputState }

func (AlidnsDomainOutput) DnsServers

A list of the dns server name.

func (AlidnsDomainOutput) DomainId

func (o AlidnsDomainOutput) DomainId() pulumi.StringOutput

The domain ID.

func (AlidnsDomainOutput) DomainName

func (o AlidnsDomainOutput) DomainName() pulumi.StringOutput

Name of the domain. This name without suffix can have a string of 1 to 63 characters(domain name subject, excluding suffix), must contain only alphanumeric characters or "-", and must not begin or end with "-", and "-" must not in the 3th and 4th character positions at the same time. Suffix `.sh` and `.tel` are not supported.

func (AlidnsDomainOutput) ElementType

func (AlidnsDomainOutput) ElementType() reflect.Type

func (AlidnsDomainOutput) GroupId

Id of the group in which the domain will add. If not supplied, then use default group.

func (AlidnsDomainOutput) GroupName

func (o AlidnsDomainOutput) GroupName() pulumi.StringOutput

Domain name group name.

func (AlidnsDomainOutput) Lang

User language.

func (AlidnsDomainOutput) PunyCode

func (o AlidnsDomainOutput) PunyCode() pulumi.StringOutput

Only return punycode codes for Chinese domain names.

func (AlidnsDomainOutput) Remark

Remarks information for your domain name.

func (AlidnsDomainOutput) ResourceGroupId

func (o AlidnsDomainOutput) ResourceGroupId() pulumi.StringOutput

The Id of resource group which the dns domain belongs.

func (AlidnsDomainOutput) Tags

A mapping of tags to assign to the resource. - Key: It can be [1, 20] characters in length. It can contain A-Z, a-z, numbers, underscores (_), and hyphens (-). It cannot begin with "aliyun", "acs:", "http://", or "https://". It cannot be a null string. - Value: It can be [1, 20] characters in length. It can contain A-Z, a-z, numbers, underscores (_), and hyphens (-). It cannot begin with "aliyun", "acs:", "http://", or "https://". It can be a null string.

func (AlidnsDomainOutput) ToAlidnsDomainOutput

func (o AlidnsDomainOutput) ToAlidnsDomainOutput() AlidnsDomainOutput

func (AlidnsDomainOutput) ToAlidnsDomainOutputWithContext

func (o AlidnsDomainOutput) ToAlidnsDomainOutputWithContext(ctx context.Context) AlidnsDomainOutput

type AlidnsDomainState

type AlidnsDomainState struct {
	// A list of the dns server name.
	DnsServers pulumi.StringArrayInput
	// The domain ID.
	DomainId pulumi.StringPtrInput
	// Name of the domain. This name without suffix can have a string of 1 to 63 characters(domain name subject, excluding suffix), must contain only alphanumeric characters or "-", and must not begin or end with "-", and "-" must not in the 3th and 4th character positions at the same time. Suffix `.sh` and `.tel` are not supported.
	DomainName pulumi.StringPtrInput
	// Id of the group in which the domain will add. If not supplied, then use default group.
	GroupId pulumi.StringPtrInput
	// Domain name group name.
	GroupName pulumi.StringPtrInput
	// User language.
	Lang pulumi.StringPtrInput
	// Only return punycode codes for Chinese domain names.
	PunyCode pulumi.StringPtrInput
	// Remarks information for your domain name.
	Remark pulumi.StringPtrInput
	// The Id of resource group which the dns domain belongs.
	ResourceGroupId pulumi.StringPtrInput
	// A mapping of tags to assign to the resource.
	// - Key: It can be [1, 20] characters in length. It can contain A-Z, a-z, numbers, underscores (_), and hyphens (-). It cannot begin with "aliyun", "acs:", "http://", or "https://". It cannot be a null string.
	// - Value: It can be [1, 20] characters in length. It can contain A-Z, a-z, numbers, underscores (_), and hyphens (-). It cannot begin with "aliyun", "acs:", "http://", or "https://". It can be a null string.
	Tags pulumi.MapInput
}

func (AlidnsDomainState) ElementType

func (AlidnsDomainState) ElementType() reflect.Type

type AlidnsInstance

type AlidnsInstance struct {
	pulumi.CustomResourceState

	// Alidns security level. Valid values: `no`, `basic`, `advanced`.
	DnsSecurity pulumi.StringOutput `pulumi:"dnsSecurity"`
	// Number of domain names bound.
	DomainNumbers pulumi.StringOutput `pulumi:"domainNumbers"`
	// The billing method of the Alidns instance. Valid values: `Subscription`. Default to `Subscription`.
	PaymentType pulumi.StringPtrOutput `pulumi:"paymentType"`
	// Creating a pre-paid instance, it must be set, the unit is month, please enter an integer multiple of 12 for annually paid products.
	Period pulumi.IntPtrOutput `pulumi:"period"`
	// Automatic renewal period, the unit is month. When setting RenewalStatus to AutoRenewal, it must be set.
	RenewPeriod pulumi.IntPtrOutput `pulumi:"renewPeriod"`
	// Automatic renewal status. Valid values: `AutoRenewal`, `ManualRenewal`, default to `ManualRenewal`.
	RenewalStatus pulumi.StringOutput `pulumi:"renewalStatus"`
	// Paid package version. Valid values: `versionPersonal`, `versionEnterpriseBasic`, `versionEnterpriseAdvanced`.
	VersionCode pulumi.StringOutput `pulumi:"versionCode"`
	// Paid package version name.
	VersionName pulumi.StringOutput `pulumi:"versionName"`
}

Create an Alidns Instance resource.

> **NOTE:** Available in v1.95.0+.

> **NOTE:** The Alidns Instance is not support to be purchase automatically in the international site.

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/dns"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := dns.NewAlidnsInstance(ctx, "example", &dns.AlidnsInstanceArgs{
			DnsSecurity:   pulumi.String("no"),
			DomainNumbers: pulumi.String("2"),
			Period:        pulumi.Int(1),
			RenewPeriod:   pulumi.Int(1),
			RenewalStatus: pulumi.String("ManualRenewal"),
			VersionCode:   pulumi.String("version_personal"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

DNS instance be imported using the id, e.g.

```sh

$ pulumi import alicloud:dns/alidnsInstance:AlidnsInstance example dns-cn-v0h1ldjhfff

```

func GetAlidnsInstance

func GetAlidnsInstance(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AlidnsInstanceState, opts ...pulumi.ResourceOption) (*AlidnsInstance, error)

GetAlidnsInstance gets an existing AlidnsInstance resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewAlidnsInstance

func NewAlidnsInstance(ctx *pulumi.Context,
	name string, args *AlidnsInstanceArgs, opts ...pulumi.ResourceOption) (*AlidnsInstance, error)

NewAlidnsInstance registers a new resource with the given unique name, arguments, and options.

func (*AlidnsInstance) ElementType

func (*AlidnsInstance) ElementType() reflect.Type

func (*AlidnsInstance) ToAlidnsInstanceOutput

func (i *AlidnsInstance) ToAlidnsInstanceOutput() AlidnsInstanceOutput

func (*AlidnsInstance) ToAlidnsInstanceOutputWithContext

func (i *AlidnsInstance) ToAlidnsInstanceOutputWithContext(ctx context.Context) AlidnsInstanceOutput

type AlidnsInstanceArgs

type AlidnsInstanceArgs struct {
	// Alidns security level. Valid values: `no`, `basic`, `advanced`.
	DnsSecurity pulumi.StringInput
	// Number of domain names bound.
	DomainNumbers pulumi.StringInput
	// The billing method of the Alidns instance. Valid values: `Subscription`. Default to `Subscription`.
	PaymentType pulumi.StringPtrInput
	// Creating a pre-paid instance, it must be set, the unit is month, please enter an integer multiple of 12 for annually paid products.
	Period pulumi.IntPtrInput
	// Automatic renewal period, the unit is month. When setting RenewalStatus to AutoRenewal, it must be set.
	RenewPeriod pulumi.IntPtrInput
	// Automatic renewal status. Valid values: `AutoRenewal`, `ManualRenewal`, default to `ManualRenewal`.
	RenewalStatus pulumi.StringPtrInput
	// Paid package version. Valid values: `versionPersonal`, `versionEnterpriseBasic`, `versionEnterpriseAdvanced`.
	VersionCode pulumi.StringInput
}

The set of arguments for constructing a AlidnsInstance resource.

func (AlidnsInstanceArgs) ElementType

func (AlidnsInstanceArgs) ElementType() reflect.Type

type AlidnsInstanceArray

type AlidnsInstanceArray []AlidnsInstanceInput

func (AlidnsInstanceArray) ElementType

func (AlidnsInstanceArray) ElementType() reflect.Type

func (AlidnsInstanceArray) ToAlidnsInstanceArrayOutput

func (i AlidnsInstanceArray) ToAlidnsInstanceArrayOutput() AlidnsInstanceArrayOutput

func (AlidnsInstanceArray) ToAlidnsInstanceArrayOutputWithContext

func (i AlidnsInstanceArray) ToAlidnsInstanceArrayOutputWithContext(ctx context.Context) AlidnsInstanceArrayOutput

type AlidnsInstanceArrayInput

type AlidnsInstanceArrayInput interface {
	pulumi.Input

	ToAlidnsInstanceArrayOutput() AlidnsInstanceArrayOutput
	ToAlidnsInstanceArrayOutputWithContext(context.Context) AlidnsInstanceArrayOutput
}

AlidnsInstanceArrayInput is an input type that accepts AlidnsInstanceArray and AlidnsInstanceArrayOutput values. You can construct a concrete instance of `AlidnsInstanceArrayInput` via:

AlidnsInstanceArray{ AlidnsInstanceArgs{...} }

type AlidnsInstanceArrayOutput

type AlidnsInstanceArrayOutput struct{ *pulumi.OutputState }

func (AlidnsInstanceArrayOutput) ElementType

func (AlidnsInstanceArrayOutput) ElementType() reflect.Type

func (AlidnsInstanceArrayOutput) Index

func (AlidnsInstanceArrayOutput) ToAlidnsInstanceArrayOutput

func (o AlidnsInstanceArrayOutput) ToAlidnsInstanceArrayOutput() AlidnsInstanceArrayOutput

func (AlidnsInstanceArrayOutput) ToAlidnsInstanceArrayOutputWithContext

func (o AlidnsInstanceArrayOutput) ToAlidnsInstanceArrayOutputWithContext(ctx context.Context) AlidnsInstanceArrayOutput

type AlidnsInstanceInput

type AlidnsInstanceInput interface {
	pulumi.Input

	ToAlidnsInstanceOutput() AlidnsInstanceOutput
	ToAlidnsInstanceOutputWithContext(ctx context.Context) AlidnsInstanceOutput
}

type AlidnsInstanceMap

type AlidnsInstanceMap map[string]AlidnsInstanceInput

func (AlidnsInstanceMap) ElementType

func (AlidnsInstanceMap) ElementType() reflect.Type

func (AlidnsInstanceMap) ToAlidnsInstanceMapOutput

func (i AlidnsInstanceMap) ToAlidnsInstanceMapOutput() AlidnsInstanceMapOutput

func (AlidnsInstanceMap) ToAlidnsInstanceMapOutputWithContext

func (i AlidnsInstanceMap) ToAlidnsInstanceMapOutputWithContext(ctx context.Context) AlidnsInstanceMapOutput

type AlidnsInstanceMapInput

type AlidnsInstanceMapInput interface {
	pulumi.Input

	ToAlidnsInstanceMapOutput() AlidnsInstanceMapOutput
	ToAlidnsInstanceMapOutputWithContext(context.Context) AlidnsInstanceMapOutput
}

AlidnsInstanceMapInput is an input type that accepts AlidnsInstanceMap and AlidnsInstanceMapOutput values. You can construct a concrete instance of `AlidnsInstanceMapInput` via:

AlidnsInstanceMap{ "key": AlidnsInstanceArgs{...} }

type AlidnsInstanceMapOutput

type AlidnsInstanceMapOutput struct{ *pulumi.OutputState }

func (AlidnsInstanceMapOutput) ElementType

func (AlidnsInstanceMapOutput) ElementType() reflect.Type

func (AlidnsInstanceMapOutput) MapIndex

func (AlidnsInstanceMapOutput) ToAlidnsInstanceMapOutput

func (o AlidnsInstanceMapOutput) ToAlidnsInstanceMapOutput() AlidnsInstanceMapOutput

func (AlidnsInstanceMapOutput) ToAlidnsInstanceMapOutputWithContext

func (o AlidnsInstanceMapOutput) ToAlidnsInstanceMapOutputWithContext(ctx context.Context) AlidnsInstanceMapOutput

type AlidnsInstanceOutput

type AlidnsInstanceOutput struct{ *pulumi.OutputState }

func (AlidnsInstanceOutput) DnsSecurity

func (o AlidnsInstanceOutput) DnsSecurity() pulumi.StringOutput

Alidns security level. Valid values: `no`, `basic`, `advanced`.

func (AlidnsInstanceOutput) DomainNumbers

func (o AlidnsInstanceOutput) DomainNumbers() pulumi.StringOutput

Number of domain names bound.

func (AlidnsInstanceOutput) ElementType

func (AlidnsInstanceOutput) ElementType() reflect.Type

func (AlidnsInstanceOutput) PaymentType

The billing method of the Alidns instance. Valid values: `Subscription`. Default to `Subscription`.

func (AlidnsInstanceOutput) Period

Creating a pre-paid instance, it must be set, the unit is month, please enter an integer multiple of 12 for annually paid products.

func (AlidnsInstanceOutput) RenewPeriod

func (o AlidnsInstanceOutput) RenewPeriod() pulumi.IntPtrOutput

Automatic renewal period, the unit is month. When setting RenewalStatus to AutoRenewal, it must be set.

func (AlidnsInstanceOutput) RenewalStatus

func (o AlidnsInstanceOutput) RenewalStatus() pulumi.StringOutput

Automatic renewal status. Valid values: `AutoRenewal`, `ManualRenewal`, default to `ManualRenewal`.

func (AlidnsInstanceOutput) ToAlidnsInstanceOutput

func (o AlidnsInstanceOutput) ToAlidnsInstanceOutput() AlidnsInstanceOutput

func (AlidnsInstanceOutput) ToAlidnsInstanceOutputWithContext

func (o AlidnsInstanceOutput) ToAlidnsInstanceOutputWithContext(ctx context.Context) AlidnsInstanceOutput

func (AlidnsInstanceOutput) VersionCode

func (o AlidnsInstanceOutput) VersionCode() pulumi.StringOutput

Paid package version. Valid values: `versionPersonal`, `versionEnterpriseBasic`, `versionEnterpriseAdvanced`.

func (AlidnsInstanceOutput) VersionName

func (o AlidnsInstanceOutput) VersionName() pulumi.StringOutput

Paid package version name.

type AlidnsInstanceState

type AlidnsInstanceState struct {
	// Alidns security level. Valid values: `no`, `basic`, `advanced`.
	DnsSecurity pulumi.StringPtrInput
	// Number of domain names bound.
	DomainNumbers pulumi.StringPtrInput
	// The billing method of the Alidns instance. Valid values: `Subscription`. Default to `Subscription`.
	PaymentType pulumi.StringPtrInput
	// Creating a pre-paid instance, it must be set, the unit is month, please enter an integer multiple of 12 for annually paid products.
	Period pulumi.IntPtrInput
	// Automatic renewal period, the unit is month. When setting RenewalStatus to AutoRenewal, it must be set.
	RenewPeriod pulumi.IntPtrInput
	// Automatic renewal status. Valid values: `AutoRenewal`, `ManualRenewal`, default to `ManualRenewal`.
	RenewalStatus pulumi.StringPtrInput
	// Paid package version. Valid values: `versionPersonal`, `versionEnterpriseBasic`, `versionEnterpriseAdvanced`.
	VersionCode pulumi.StringPtrInput
	// Paid package version name.
	VersionName pulumi.StringPtrInput
}

func (AlidnsInstanceState) ElementType

func (AlidnsInstanceState) ElementType() reflect.Type

type AlidnsRecord

type AlidnsRecord struct {
	pulumi.CustomResourceState

	// Name of the domain. This name without suffix can have a string of 1 to 63 characters, must contain only alphanumeric characters or "-", and must not begin or end with "-", and "-" must not in the 3th and 4th character positions at the same time. Suffix `.sh` and `.tel` are not supported.
	DomainName pulumi.StringOutput `pulumi:"domainName"`
	// User language.
	Lang pulumi.StringPtrOutput `pulumi:"lang"`
	// The resolution line of domain record. When the `type` is `FORWORD_URL`, this parameter must be `default`. Default value is `default`. For checking all resolution lines enumeration please visit [Alibaba Cloud DNS doc](https://www.alibabacloud.com/help/doc-detail/34339.htm) or using dns.getResolutionLines in data source to get the value.
	Line pulumi.StringPtrOutput `pulumi:"line"`
	// The priority of domain record. Valid values: `[1-10]`. When the `type` is `MX`, this parameter is required.
	Priority pulumi.IntPtrOutput `pulumi:"priority"`
	// The remark of the domain record.
	Remark pulumi.StringPtrOutput `pulumi:"remark"`
	// Host record for the domain record. This hostRecord can have at most 253 characters, and each part split with `.` can have at most 63 characters, and must contain only alphanumeric characters or hyphens, such as `-`, `.`, `*`, `@`, and must not begin or end with `-`.
	Rr pulumi.StringOutput `pulumi:"rr"`
	// The status of the domain record. Valid values: `ENABLE`,`DISABLE`.
	Status pulumi.StringPtrOutput `pulumi:"status"`
	// The effective time of domain record. Its scope depends on the edition of the cloud resolution. Free is `[600, 86400]`, Basic is `[120, 86400]`, Standard is `[60, 86400]`, Ultimate is `[10, 86400]`, Exclusive is `[1, 86400]`. Default value is `600`.
	Ttl pulumi.IntPtrOutput `pulumi:"ttl"`
	// The type of domain record. Valid values: `A`,`NS`,`MX`,`TXT`,`CNAME`,`SRV`,`AAAA`,`CAA`, `REDIRECT_URL` and `FORWORD_URL`.
	Type pulumi.StringOutput `pulumi:"type"`
	// The IP address of the client.
	UserClientIp pulumi.StringPtrOutput `pulumi:"userClientIp"`
	// The value of domain record, When the `type` is `MX`,`NS`,`CNAME`,`SRV`, the server will treat the `value` as a fully qualified domain name, so it's no need to add a `.` at the end.
	Value pulumi.StringOutput `pulumi:"value"`
}

Provides a Alidns Record resource. For information about Alidns Domain Record and how to use it, see [What is Resource Alidns Record](https://www.alibabacloud.com/help/en/doc-detail/29772.htm).

> **NOTE:** Available in v1.85.0+.

> **NOTE:** When the site is an international site, the `type` neither supports `REDIRECT_URL` nor `REDIRECT_URL`

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/dns"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := dns.NewAlidnsRecord(ctx, "record", &dns.AlidnsRecordArgs{
			DomainName: pulumi.String("domainname"),
			Remark:     pulumi.String("Test new alidns record."),
			Rr:         pulumi.String("@"),
			Status:     pulumi.String("ENABLE"),
			Type:       pulumi.String("A"),
			Value:      pulumi.String("192.168.99.99"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Alidns Domain Record can be imported using the id, e.g.

```sh

$ pulumi import alicloud:dns/alidnsRecord:AlidnsRecord example abc123456

```

func GetAlidnsRecord

func GetAlidnsRecord(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AlidnsRecordState, opts ...pulumi.ResourceOption) (*AlidnsRecord, error)

GetAlidnsRecord gets an existing AlidnsRecord resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewAlidnsRecord

func NewAlidnsRecord(ctx *pulumi.Context,
	name string, args *AlidnsRecordArgs, opts ...pulumi.ResourceOption) (*AlidnsRecord, error)

NewAlidnsRecord registers a new resource with the given unique name, arguments, and options.

func (*AlidnsRecord) ElementType

func (*AlidnsRecord) ElementType() reflect.Type

func (*AlidnsRecord) ToAlidnsRecordOutput

func (i *AlidnsRecord) ToAlidnsRecordOutput() AlidnsRecordOutput

func (*AlidnsRecord) ToAlidnsRecordOutputWithContext

func (i *AlidnsRecord) ToAlidnsRecordOutputWithContext(ctx context.Context) AlidnsRecordOutput

type AlidnsRecordArgs

type AlidnsRecordArgs struct {
	// Name of the domain. This name without suffix can have a string of 1 to 63 characters, must contain only alphanumeric characters or "-", and must not begin or end with "-", and "-" must not in the 3th and 4th character positions at the same time. Suffix `.sh` and `.tel` are not supported.
	DomainName pulumi.StringInput
	// User language.
	Lang pulumi.StringPtrInput
	// The resolution line of domain record. When the `type` is `FORWORD_URL`, this parameter must be `default`. Default value is `default`. For checking all resolution lines enumeration please visit [Alibaba Cloud DNS doc](https://www.alibabacloud.com/help/doc-detail/34339.htm) or using dns.getResolutionLines in data source to get the value.
	Line pulumi.StringPtrInput
	// The priority of domain record. Valid values: `[1-10]`. When the `type` is `MX`, this parameter is required.
	Priority pulumi.IntPtrInput
	// The remark of the domain record.
	Remark pulumi.StringPtrInput
	// Host record for the domain record. This hostRecord can have at most 253 characters, and each part split with `.` can have at most 63 characters, and must contain only alphanumeric characters or hyphens, such as `-`, `.`, `*`, `@`, and must not begin or end with `-`.
	Rr pulumi.StringInput
	// The status of the domain record. Valid values: `ENABLE`,`DISABLE`.
	Status pulumi.StringPtrInput
	// The effective time of domain record. Its scope depends on the edition of the cloud resolution. Free is `[600, 86400]`, Basic is `[120, 86400]`, Standard is `[60, 86400]`, Ultimate is `[10, 86400]`, Exclusive is `[1, 86400]`. Default value is `600`.
	Ttl pulumi.IntPtrInput
	// The type of domain record. Valid values: `A`,`NS`,`MX`,`TXT`,`CNAME`,`SRV`,`AAAA`,`CAA`, `REDIRECT_URL` and `FORWORD_URL`.
	Type pulumi.StringInput
	// The IP address of the client.
	UserClientIp pulumi.StringPtrInput
	// The value of domain record, When the `type` is `MX`,`NS`,`CNAME`,`SRV`, the server will treat the `value` as a fully qualified domain name, so it's no need to add a `.` at the end.
	Value pulumi.StringInput
}

The set of arguments for constructing a AlidnsRecord resource.

func (AlidnsRecordArgs) ElementType

func (AlidnsRecordArgs) ElementType() reflect.Type

type AlidnsRecordArray

type AlidnsRecordArray []AlidnsRecordInput

func (AlidnsRecordArray) ElementType

func (AlidnsRecordArray) ElementType() reflect.Type

func (AlidnsRecordArray) ToAlidnsRecordArrayOutput

func (i AlidnsRecordArray) ToAlidnsRecordArrayOutput() AlidnsRecordArrayOutput

func (AlidnsRecordArray) ToAlidnsRecordArrayOutputWithContext

func (i AlidnsRecordArray) ToAlidnsRecordArrayOutputWithContext(ctx context.Context) AlidnsRecordArrayOutput

type AlidnsRecordArrayInput

type AlidnsRecordArrayInput interface {
	pulumi.Input

	ToAlidnsRecordArrayOutput() AlidnsRecordArrayOutput
	ToAlidnsRecordArrayOutputWithContext(context.Context) AlidnsRecordArrayOutput
}

AlidnsRecordArrayInput is an input type that accepts AlidnsRecordArray and AlidnsRecordArrayOutput values. You can construct a concrete instance of `AlidnsRecordArrayInput` via:

AlidnsRecordArray{ AlidnsRecordArgs{...} }

type AlidnsRecordArrayOutput

type AlidnsRecordArrayOutput struct{ *pulumi.OutputState }

func (AlidnsRecordArrayOutput) ElementType

func (AlidnsRecordArrayOutput) ElementType() reflect.Type

func (AlidnsRecordArrayOutput) Index

func (AlidnsRecordArrayOutput) ToAlidnsRecordArrayOutput

func (o AlidnsRecordArrayOutput) ToAlidnsRecordArrayOutput() AlidnsRecordArrayOutput

func (AlidnsRecordArrayOutput) ToAlidnsRecordArrayOutputWithContext

func (o AlidnsRecordArrayOutput) ToAlidnsRecordArrayOutputWithContext(ctx context.Context) AlidnsRecordArrayOutput

type AlidnsRecordInput

type AlidnsRecordInput interface {
	pulumi.Input

	ToAlidnsRecordOutput() AlidnsRecordOutput
	ToAlidnsRecordOutputWithContext(ctx context.Context) AlidnsRecordOutput
}

type AlidnsRecordMap

type AlidnsRecordMap map[string]AlidnsRecordInput

func (AlidnsRecordMap) ElementType

func (AlidnsRecordMap) ElementType() reflect.Type

func (AlidnsRecordMap) ToAlidnsRecordMapOutput

func (i AlidnsRecordMap) ToAlidnsRecordMapOutput() AlidnsRecordMapOutput

func (AlidnsRecordMap) ToAlidnsRecordMapOutputWithContext

func (i AlidnsRecordMap) ToAlidnsRecordMapOutputWithContext(ctx context.Context) AlidnsRecordMapOutput

type AlidnsRecordMapInput

type AlidnsRecordMapInput interface {
	pulumi.Input

	ToAlidnsRecordMapOutput() AlidnsRecordMapOutput
	ToAlidnsRecordMapOutputWithContext(context.Context) AlidnsRecordMapOutput
}

AlidnsRecordMapInput is an input type that accepts AlidnsRecordMap and AlidnsRecordMapOutput values. You can construct a concrete instance of `AlidnsRecordMapInput` via:

AlidnsRecordMap{ "key": AlidnsRecordArgs{...} }

type AlidnsRecordMapOutput

type AlidnsRecordMapOutput struct{ *pulumi.OutputState }

func (AlidnsRecordMapOutput) ElementType

func (AlidnsRecordMapOutput) ElementType() reflect.Type

func (AlidnsRecordMapOutput) MapIndex

func (AlidnsRecordMapOutput) ToAlidnsRecordMapOutput

func (o AlidnsRecordMapOutput) ToAlidnsRecordMapOutput() AlidnsRecordMapOutput

func (AlidnsRecordMapOutput) ToAlidnsRecordMapOutputWithContext

func (o AlidnsRecordMapOutput) ToAlidnsRecordMapOutputWithContext(ctx context.Context) AlidnsRecordMapOutput

type AlidnsRecordOutput

type AlidnsRecordOutput struct{ *pulumi.OutputState }

func (AlidnsRecordOutput) DomainName

func (o AlidnsRecordOutput) DomainName() pulumi.StringOutput

Name of the domain. This name without suffix can have a string of 1 to 63 characters, must contain only alphanumeric characters or "-", and must not begin or end with "-", and "-" must not in the 3th and 4th character positions at the same time. Suffix `.sh` and `.tel` are not supported.

func (AlidnsRecordOutput) ElementType

func (AlidnsRecordOutput) ElementType() reflect.Type

func (AlidnsRecordOutput) Lang

User language.

func (AlidnsRecordOutput) Line

The resolution line of domain record. When the `type` is `FORWORD_URL`, this parameter must be `default`. Default value is `default`. For checking all resolution lines enumeration please visit [Alibaba Cloud DNS doc](https://www.alibabacloud.com/help/doc-detail/34339.htm) or using dns.getResolutionLines in data source to get the value.

func (AlidnsRecordOutput) Priority

func (o AlidnsRecordOutput) Priority() pulumi.IntPtrOutput

The priority of domain record. Valid values: `[1-10]`. When the `type` is `MX`, this parameter is required.

func (AlidnsRecordOutput) Remark

The remark of the domain record.

func (AlidnsRecordOutput) Rr

Host record for the domain record. This hostRecord can have at most 253 characters, and each part split with `.` can have at most 63 characters, and must contain only alphanumeric characters or hyphens, such as `-`, `.`, `*`, `@`, and must not begin or end with `-`.

func (AlidnsRecordOutput) Status

The status of the domain record. Valid values: `ENABLE`,`DISABLE`.

func (AlidnsRecordOutput) ToAlidnsRecordOutput

func (o AlidnsRecordOutput) ToAlidnsRecordOutput() AlidnsRecordOutput

func (AlidnsRecordOutput) ToAlidnsRecordOutputWithContext

func (o AlidnsRecordOutput) ToAlidnsRecordOutputWithContext(ctx context.Context) AlidnsRecordOutput

func (AlidnsRecordOutput) Ttl

The effective time of domain record. Its scope depends on the edition of the cloud resolution. Free is `[600, 86400]`, Basic is `[120, 86400]`, Standard is `[60, 86400]`, Ultimate is `[10, 86400]`, Exclusive is `[1, 86400]`. Default value is `600`.

func (AlidnsRecordOutput) Type

The type of domain record. Valid values: `A`,`NS`,`MX`,`TXT`,`CNAME`,`SRV`,`AAAA`,`CAA`, `REDIRECT_URL` and `FORWORD_URL`.

func (AlidnsRecordOutput) UserClientIp

func (o AlidnsRecordOutput) UserClientIp() pulumi.StringPtrOutput

The IP address of the client.

func (AlidnsRecordOutput) Value

The value of domain record, When the `type` is `MX`,`NS`,`CNAME`,`SRV`, the server will treat the `value` as a fully qualified domain name, so it's no need to add a `.` at the end.

type AlidnsRecordState

type AlidnsRecordState struct {
	// Name of the domain. This name without suffix can have a string of 1 to 63 characters, must contain only alphanumeric characters or "-", and must not begin or end with "-", and "-" must not in the 3th and 4th character positions at the same time. Suffix `.sh` and `.tel` are not supported.
	DomainName pulumi.StringPtrInput
	// User language.
	Lang pulumi.StringPtrInput
	// The resolution line of domain record. When the `type` is `FORWORD_URL`, this parameter must be `default`. Default value is `default`. For checking all resolution lines enumeration please visit [Alibaba Cloud DNS doc](https://www.alibabacloud.com/help/doc-detail/34339.htm) or using dns.getResolutionLines in data source to get the value.
	Line pulumi.StringPtrInput
	// The priority of domain record. Valid values: `[1-10]`. When the `type` is `MX`, this parameter is required.
	Priority pulumi.IntPtrInput
	// The remark of the domain record.
	Remark pulumi.StringPtrInput
	// Host record for the domain record. This hostRecord can have at most 253 characters, and each part split with `.` can have at most 63 characters, and must contain only alphanumeric characters or hyphens, such as `-`, `.`, `*`, `@`, and must not begin or end with `-`.
	Rr pulumi.StringPtrInput
	// The status of the domain record. Valid values: `ENABLE`,`DISABLE`.
	Status pulumi.StringPtrInput
	// The effective time of domain record. Its scope depends on the edition of the cloud resolution. Free is `[600, 86400]`, Basic is `[120, 86400]`, Standard is `[60, 86400]`, Ultimate is `[10, 86400]`, Exclusive is `[1, 86400]`. Default value is `600`.
	Ttl pulumi.IntPtrInput
	// The type of domain record. Valid values: `A`,`NS`,`MX`,`TXT`,`CNAME`,`SRV`,`AAAA`,`CAA`, `REDIRECT_URL` and `FORWORD_URL`.
	Type pulumi.StringPtrInput
	// The IP address of the client.
	UserClientIp pulumi.StringPtrInput
	// The value of domain record, When the `type` is `MX`,`NS`,`CNAME`,`SRV`, the server will treat the `value` as a fully qualified domain name, so it's no need to add a `.` at the end.
	Value pulumi.StringPtrInput
}

func (AlidnsRecordState) ElementType

func (AlidnsRecordState) ElementType() reflect.Type

type CustomLine

type CustomLine struct {
	pulumi.CustomResourceState

	// The name of the Custom Line.
	CustomLineName pulumi.StringOutput `pulumi:"customLineName"`
	// The Domain name.
	DomainName pulumi.StringOutput `pulumi:"domainName"`
	// The IP segment list. See the following `Block ipSegmentList`.
	IpSegmentLists CustomLineIpSegmentListArrayOutput `pulumi:"ipSegmentLists"`
	// The lang.
	Lang pulumi.StringPtrOutput `pulumi:"lang"`
}

Provides a Alidns Custom Line resource.

For information about Alidns Custom Line and how to use it, see [What is Custom Line](https://www.alibabacloud.com/help/en/doc-detail/145059.html).

> **NOTE:** Available in v1.151.0+.

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/dns"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/dns"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := dns.NewCustomLine(ctx, "default", &dns.CustomLineArgs{
			CustomLineName: pulumi.String("tf-testacc"),
			DomainName:     pulumi.String("your_domain_name"),
			IpSegmentLists: dns.CustomLineIpSegmentListArray{
				&dns.CustomLineIpSegmentListArgs{
					EndIp:   pulumi.String("192.0.2.125"),
					StartIp: pulumi.String("192.0.2.123"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Alidns Custom Line can be imported using the id, e.g.

```sh

$ pulumi import alicloud:dns/customLine:CustomLine example <id>

```

func GetCustomLine

func GetCustomLine(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CustomLineState, opts ...pulumi.ResourceOption) (*CustomLine, error)

GetCustomLine gets an existing CustomLine resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewCustomLine

func NewCustomLine(ctx *pulumi.Context,
	name string, args *CustomLineArgs, opts ...pulumi.ResourceOption) (*CustomLine, error)

NewCustomLine registers a new resource with the given unique name, arguments, and options.

func (*CustomLine) ElementType

func (*CustomLine) ElementType() reflect.Type

func (*CustomLine) ToCustomLineOutput

func (i *CustomLine) ToCustomLineOutput() CustomLineOutput

func (*CustomLine) ToCustomLineOutputWithContext

func (i *CustomLine) ToCustomLineOutputWithContext(ctx context.Context) CustomLineOutput

type CustomLineArgs

type CustomLineArgs struct {
	// The name of the Custom Line.
	CustomLineName pulumi.StringInput
	// The Domain name.
	DomainName pulumi.StringInput
	// The IP segment list. See the following `Block ipSegmentList`.
	IpSegmentLists CustomLineIpSegmentListArrayInput
	// The lang.
	Lang pulumi.StringPtrInput
}

The set of arguments for constructing a CustomLine resource.

func (CustomLineArgs) ElementType

func (CustomLineArgs) ElementType() reflect.Type

type CustomLineArray

type CustomLineArray []CustomLineInput

func (CustomLineArray) ElementType

func (CustomLineArray) ElementType() reflect.Type

func (CustomLineArray) ToCustomLineArrayOutput

func (i CustomLineArray) ToCustomLineArrayOutput() CustomLineArrayOutput

func (CustomLineArray) ToCustomLineArrayOutputWithContext

func (i CustomLineArray) ToCustomLineArrayOutputWithContext(ctx context.Context) CustomLineArrayOutput

type CustomLineArrayInput

type CustomLineArrayInput interface {
	pulumi.Input

	ToCustomLineArrayOutput() CustomLineArrayOutput
	ToCustomLineArrayOutputWithContext(context.Context) CustomLineArrayOutput
}

CustomLineArrayInput is an input type that accepts CustomLineArray and CustomLineArrayOutput values. You can construct a concrete instance of `CustomLineArrayInput` via:

CustomLineArray{ CustomLineArgs{...} }

type CustomLineArrayOutput

type CustomLineArrayOutput struct{ *pulumi.OutputState }

func (CustomLineArrayOutput) ElementType

func (CustomLineArrayOutput) ElementType() reflect.Type

func (CustomLineArrayOutput) Index

func (CustomLineArrayOutput) ToCustomLineArrayOutput

func (o CustomLineArrayOutput) ToCustomLineArrayOutput() CustomLineArrayOutput

func (CustomLineArrayOutput) ToCustomLineArrayOutputWithContext

func (o CustomLineArrayOutput) ToCustomLineArrayOutputWithContext(ctx context.Context) CustomLineArrayOutput

type CustomLineInput

type CustomLineInput interface {
	pulumi.Input

	ToCustomLineOutput() CustomLineOutput
	ToCustomLineOutputWithContext(ctx context.Context) CustomLineOutput
}

type CustomLineIpSegmentList

type CustomLineIpSegmentList struct {
	// The end IP address of the CIDR block.
	EndIp string `pulumi:"endIp"`
	// The start IP address of the CIDR block.
	StartIp string `pulumi:"startIp"`
}

type CustomLineIpSegmentListArgs

type CustomLineIpSegmentListArgs struct {
	// The end IP address of the CIDR block.
	EndIp pulumi.StringInput `pulumi:"endIp"`
	// The start IP address of the CIDR block.
	StartIp pulumi.StringInput `pulumi:"startIp"`
}

func (CustomLineIpSegmentListArgs) ElementType

func (CustomLineIpSegmentListArgs) ToCustomLineIpSegmentListOutput

func (i CustomLineIpSegmentListArgs) ToCustomLineIpSegmentListOutput() CustomLineIpSegmentListOutput

func (CustomLineIpSegmentListArgs) ToCustomLineIpSegmentListOutputWithContext

func (i CustomLineIpSegmentListArgs) ToCustomLineIpSegmentListOutputWithContext(ctx context.Context) CustomLineIpSegmentListOutput

type CustomLineIpSegmentListArray

type CustomLineIpSegmentListArray []CustomLineIpSegmentListInput

func (CustomLineIpSegmentListArray) ElementType

func (CustomLineIpSegmentListArray) ToCustomLineIpSegmentListArrayOutput

func (i CustomLineIpSegmentListArray) ToCustomLineIpSegmentListArrayOutput() CustomLineIpSegmentListArrayOutput

func (CustomLineIpSegmentListArray) ToCustomLineIpSegmentListArrayOutputWithContext

func (i CustomLineIpSegmentListArray) ToCustomLineIpSegmentListArrayOutputWithContext(ctx context.Context) CustomLineIpSegmentListArrayOutput

type CustomLineIpSegmentListArrayInput

type CustomLineIpSegmentListArrayInput interface {
	pulumi.Input

	ToCustomLineIpSegmentListArrayOutput() CustomLineIpSegmentListArrayOutput
	ToCustomLineIpSegmentListArrayOutputWithContext(context.Context) CustomLineIpSegmentListArrayOutput
}

CustomLineIpSegmentListArrayInput is an input type that accepts CustomLineIpSegmentListArray and CustomLineIpSegmentListArrayOutput values. You can construct a concrete instance of `CustomLineIpSegmentListArrayInput` via:

CustomLineIpSegmentListArray{ CustomLineIpSegmentListArgs{...} }

type CustomLineIpSegmentListArrayOutput

type CustomLineIpSegmentListArrayOutput struct{ *pulumi.OutputState }

func (CustomLineIpSegmentListArrayOutput) ElementType

func (CustomLineIpSegmentListArrayOutput) Index

func (CustomLineIpSegmentListArrayOutput) ToCustomLineIpSegmentListArrayOutput

func (o CustomLineIpSegmentListArrayOutput) ToCustomLineIpSegmentListArrayOutput() CustomLineIpSegmentListArrayOutput

func (CustomLineIpSegmentListArrayOutput) ToCustomLineIpSegmentListArrayOutputWithContext

func (o CustomLineIpSegmentListArrayOutput) ToCustomLineIpSegmentListArrayOutputWithContext(ctx context.Context) CustomLineIpSegmentListArrayOutput

type CustomLineIpSegmentListInput

type CustomLineIpSegmentListInput interface {
	pulumi.Input

	ToCustomLineIpSegmentListOutput() CustomLineIpSegmentListOutput
	ToCustomLineIpSegmentListOutputWithContext(context.Context) CustomLineIpSegmentListOutput
}

CustomLineIpSegmentListInput is an input type that accepts CustomLineIpSegmentListArgs and CustomLineIpSegmentListOutput values. You can construct a concrete instance of `CustomLineIpSegmentListInput` via:

CustomLineIpSegmentListArgs{...}

type CustomLineIpSegmentListOutput

type CustomLineIpSegmentListOutput struct{ *pulumi.OutputState }

func (CustomLineIpSegmentListOutput) ElementType

func (CustomLineIpSegmentListOutput) EndIp

The end IP address of the CIDR block.

func (CustomLineIpSegmentListOutput) StartIp

The start IP address of the CIDR block.

func (CustomLineIpSegmentListOutput) ToCustomLineIpSegmentListOutput

func (o CustomLineIpSegmentListOutput) ToCustomLineIpSegmentListOutput() CustomLineIpSegmentListOutput

func (CustomLineIpSegmentListOutput) ToCustomLineIpSegmentListOutputWithContext

func (o CustomLineIpSegmentListOutput) ToCustomLineIpSegmentListOutputWithContext(ctx context.Context) CustomLineIpSegmentListOutput

type CustomLineMap

type CustomLineMap map[string]CustomLineInput

func (CustomLineMap) ElementType

func (CustomLineMap) ElementType() reflect.Type

func (CustomLineMap) ToCustomLineMapOutput

func (i CustomLineMap) ToCustomLineMapOutput() CustomLineMapOutput

func (CustomLineMap) ToCustomLineMapOutputWithContext

func (i CustomLineMap) ToCustomLineMapOutputWithContext(ctx context.Context) CustomLineMapOutput

type CustomLineMapInput

type CustomLineMapInput interface {
	pulumi.Input

	ToCustomLineMapOutput() CustomLineMapOutput
	ToCustomLineMapOutputWithContext(context.Context) CustomLineMapOutput
}

CustomLineMapInput is an input type that accepts CustomLineMap and CustomLineMapOutput values. You can construct a concrete instance of `CustomLineMapInput` via:

CustomLineMap{ "key": CustomLineArgs{...} }

type CustomLineMapOutput

type CustomLineMapOutput struct{ *pulumi.OutputState }

func (CustomLineMapOutput) ElementType

func (CustomLineMapOutput) ElementType() reflect.Type

func (CustomLineMapOutput) MapIndex

func (CustomLineMapOutput) ToCustomLineMapOutput

func (o CustomLineMapOutput) ToCustomLineMapOutput() CustomLineMapOutput

func (CustomLineMapOutput) ToCustomLineMapOutputWithContext

func (o CustomLineMapOutput) ToCustomLineMapOutputWithContext(ctx context.Context) CustomLineMapOutput

type CustomLineOutput

type CustomLineOutput struct{ *pulumi.OutputState }

func (CustomLineOutput) CustomLineName

func (o CustomLineOutput) CustomLineName() pulumi.StringOutput

The name of the Custom Line.

func (CustomLineOutput) DomainName

func (o CustomLineOutput) DomainName() pulumi.StringOutput

The Domain name.

func (CustomLineOutput) ElementType

func (CustomLineOutput) ElementType() reflect.Type

func (CustomLineOutput) IpSegmentLists

The IP segment list. See the following `Block ipSegmentList`.

func (CustomLineOutput) Lang

The lang.

func (CustomLineOutput) ToCustomLineOutput

func (o CustomLineOutput) ToCustomLineOutput() CustomLineOutput

func (CustomLineOutput) ToCustomLineOutputWithContext

func (o CustomLineOutput) ToCustomLineOutputWithContext(ctx context.Context) CustomLineOutput

type CustomLineState

type CustomLineState struct {
	// The name of the Custom Line.
	CustomLineName pulumi.StringPtrInput
	// The Domain name.
	DomainName pulumi.StringPtrInput
	// The IP segment list. See the following `Block ipSegmentList`.
	IpSegmentLists CustomLineIpSegmentListArrayInput
	// The lang.
	Lang pulumi.StringPtrInput
}

func (CustomLineState) ElementType

func (CustomLineState) ElementType() reflect.Type

type DdosBgpInstance deprecated

type DdosBgpInstance struct {
	pulumi.CustomResourceState

	// Elastic defend bandwidth of the instance. This value must be larger than the base defend bandwidth. Valid values: 51,91,101,201,301. The unit is Gbps.
	Bandwidth pulumi.IntOutput `pulumi:"bandwidth"`
	// Base defend bandwidth of the instance. Valid values: 20. The unit is Gbps. Default to `20`.
	BaseBandwidth pulumi.IntPtrOutput `pulumi:"baseBandwidth"`
	// IP count of the instance. Valid values: 100.
	IpCount pulumi.IntOutput `pulumi:"ipCount"`
	// IP version of the instance. Valid values: IPv4,IPv6.
	IpType pulumi.StringOutput `pulumi:"ipType"`
	// Name of the instance. This name can have a string of 1 to 63 characters.
	Name pulumi.StringOutput `pulumi:"name"`
	// Normal defend bandwidth of the instance. The unit is Gbps.
	NormalBandwidth pulumi.IntOutput `pulumi:"normalBandwidth"`
	// The duration that you will buy Ddosbgp instance (in month). Valid values: [1~9], 12, 24, 36. Default to 12. At present, the provider does not support modify "period".
	Period pulumi.IntPtrOutput `pulumi:"period"`
	// Type of the instance. Valid values: `Enterprise`, `Professional`. Default to `Enterprise`
	Type pulumi.StringPtrOutput `pulumi:"type"`
}

Anti-DDoS Advanced instance resource. "Ddosbgp" is the short term of this product.

> **NOTE:** The endpoint of bssopenapi used only support "business.aliyuncs.com" at present.

> **NOTE:** Available in 1.183.0+ .

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/ddos"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ddos.NewDdosBgpInstance(ctx, "instance", &ddos.DdosBgpInstanceArgs{
			Bandwidth:       -1,
			BaseBandwidth:   pulumi.Int(20),
			IpCount:         pulumi.Int(100),
			IpType:          pulumi.String("IPv4"),
			NormalBandwidth: pulumi.Int(100),
			Type:            pulumi.String("Enterprise"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Ddosbgp instance can be imported using the id, e.g.

```sh

$ pulumi import alicloud:dns/ddosBgpInstance:DdosBgpInstance example ddosbgp-abc123456

```

Deprecated: alicloud.dns.DdosBgpInstance has been deprecated in favor of alicloud.ddos.DdosBgpInstance

func GetDdosBgpInstance

func GetDdosBgpInstance(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DdosBgpInstanceState, opts ...pulumi.ResourceOption) (*DdosBgpInstance, error)

GetDdosBgpInstance gets an existing DdosBgpInstance resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewDdosBgpInstance

func NewDdosBgpInstance(ctx *pulumi.Context,
	name string, args *DdosBgpInstanceArgs, opts ...pulumi.ResourceOption) (*DdosBgpInstance, error)

NewDdosBgpInstance registers a new resource with the given unique name, arguments, and options.

func (*DdosBgpInstance) ElementType

func (*DdosBgpInstance) ElementType() reflect.Type

func (*DdosBgpInstance) ToDdosBgpInstanceOutput

func (i *DdosBgpInstance) ToDdosBgpInstanceOutput() DdosBgpInstanceOutput

func (*DdosBgpInstance) ToDdosBgpInstanceOutputWithContext

func (i *DdosBgpInstance) ToDdosBgpInstanceOutputWithContext(ctx context.Context) DdosBgpInstanceOutput

type DdosBgpInstanceArgs

type DdosBgpInstanceArgs struct {
	// Elastic defend bandwidth of the instance. This value must be larger than the base defend bandwidth. Valid values: 51,91,101,201,301. The unit is Gbps.
	Bandwidth pulumi.IntInput
	// Base defend bandwidth of the instance. Valid values: 20. The unit is Gbps. Default to `20`.
	BaseBandwidth pulumi.IntPtrInput
	// IP count of the instance. Valid values: 100.
	IpCount pulumi.IntInput
	// IP version of the instance. Valid values: IPv4,IPv6.
	IpType pulumi.StringInput
	// Name of the instance. This name can have a string of 1 to 63 characters.
	Name pulumi.StringPtrInput
	// Normal defend bandwidth of the instance. The unit is Gbps.
	NormalBandwidth pulumi.IntInput
	// The duration that you will buy Ddosbgp instance (in month). Valid values: [1~9], 12, 24, 36. Default to 12. At present, the provider does not support modify "period".
	Period pulumi.IntPtrInput
	// Type of the instance. Valid values: `Enterprise`, `Professional`. Default to `Enterprise`
	Type pulumi.StringPtrInput
}

The set of arguments for constructing a DdosBgpInstance resource.

func (DdosBgpInstanceArgs) ElementType

func (DdosBgpInstanceArgs) ElementType() reflect.Type

type DdosBgpInstanceArray

type DdosBgpInstanceArray []DdosBgpInstanceInput

func (DdosBgpInstanceArray) ElementType

func (DdosBgpInstanceArray) ElementType() reflect.Type

func (DdosBgpInstanceArray) ToDdosBgpInstanceArrayOutput

func (i DdosBgpInstanceArray) ToDdosBgpInstanceArrayOutput() DdosBgpInstanceArrayOutput

func (DdosBgpInstanceArray) ToDdosBgpInstanceArrayOutputWithContext

func (i DdosBgpInstanceArray) ToDdosBgpInstanceArrayOutputWithContext(ctx context.Context) DdosBgpInstanceArrayOutput

type DdosBgpInstanceArrayInput

type DdosBgpInstanceArrayInput interface {
	pulumi.Input

	ToDdosBgpInstanceArrayOutput() DdosBgpInstanceArrayOutput
	ToDdosBgpInstanceArrayOutputWithContext(context.Context) DdosBgpInstanceArrayOutput
}

DdosBgpInstanceArrayInput is an input type that accepts DdosBgpInstanceArray and DdosBgpInstanceArrayOutput values. You can construct a concrete instance of `DdosBgpInstanceArrayInput` via:

DdosBgpInstanceArray{ DdosBgpInstanceArgs{...} }

type DdosBgpInstanceArrayOutput

type DdosBgpInstanceArrayOutput struct{ *pulumi.OutputState }

func (DdosBgpInstanceArrayOutput) ElementType

func (DdosBgpInstanceArrayOutput) ElementType() reflect.Type

func (DdosBgpInstanceArrayOutput) Index

func (DdosBgpInstanceArrayOutput) ToDdosBgpInstanceArrayOutput

func (o DdosBgpInstanceArrayOutput) ToDdosBgpInstanceArrayOutput() DdosBgpInstanceArrayOutput

func (DdosBgpInstanceArrayOutput) ToDdosBgpInstanceArrayOutputWithContext

func (o DdosBgpInstanceArrayOutput) ToDdosBgpInstanceArrayOutputWithContext(ctx context.Context) DdosBgpInstanceArrayOutput

type DdosBgpInstanceInput

type DdosBgpInstanceInput interface {
	pulumi.Input

	ToDdosBgpInstanceOutput() DdosBgpInstanceOutput
	ToDdosBgpInstanceOutputWithContext(ctx context.Context) DdosBgpInstanceOutput
}

type DdosBgpInstanceMap

type DdosBgpInstanceMap map[string]DdosBgpInstanceInput

func (DdosBgpInstanceMap) ElementType

func (DdosBgpInstanceMap) ElementType() reflect.Type

func (DdosBgpInstanceMap) ToDdosBgpInstanceMapOutput

func (i DdosBgpInstanceMap) ToDdosBgpInstanceMapOutput() DdosBgpInstanceMapOutput

func (DdosBgpInstanceMap) ToDdosBgpInstanceMapOutputWithContext

func (i DdosBgpInstanceMap) ToDdosBgpInstanceMapOutputWithContext(ctx context.Context) DdosBgpInstanceMapOutput

type DdosBgpInstanceMapInput

type DdosBgpInstanceMapInput interface {
	pulumi.Input

	ToDdosBgpInstanceMapOutput() DdosBgpInstanceMapOutput
	ToDdosBgpInstanceMapOutputWithContext(context.Context) DdosBgpInstanceMapOutput
}

DdosBgpInstanceMapInput is an input type that accepts DdosBgpInstanceMap and DdosBgpInstanceMapOutput values. You can construct a concrete instance of `DdosBgpInstanceMapInput` via:

DdosBgpInstanceMap{ "key": DdosBgpInstanceArgs{...} }

type DdosBgpInstanceMapOutput

type DdosBgpInstanceMapOutput struct{ *pulumi.OutputState }

func (DdosBgpInstanceMapOutput) ElementType

func (DdosBgpInstanceMapOutput) ElementType() reflect.Type

func (DdosBgpInstanceMapOutput) MapIndex

func (DdosBgpInstanceMapOutput) ToDdosBgpInstanceMapOutput

func (o DdosBgpInstanceMapOutput) ToDdosBgpInstanceMapOutput() DdosBgpInstanceMapOutput

func (DdosBgpInstanceMapOutput) ToDdosBgpInstanceMapOutputWithContext

func (o DdosBgpInstanceMapOutput) ToDdosBgpInstanceMapOutputWithContext(ctx context.Context) DdosBgpInstanceMapOutput

type DdosBgpInstanceOutput

type DdosBgpInstanceOutput struct{ *pulumi.OutputState }

func (DdosBgpInstanceOutput) Bandwidth

func (o DdosBgpInstanceOutput) Bandwidth() pulumi.IntOutput

Elastic defend bandwidth of the instance. This value must be larger than the base defend bandwidth. Valid values: 51,91,101,201,301. The unit is Gbps.

func (DdosBgpInstanceOutput) BaseBandwidth

func (o DdosBgpInstanceOutput) BaseBandwidth() pulumi.IntPtrOutput

Base defend bandwidth of the instance. Valid values: 20. The unit is Gbps. Default to `20`.

func (DdosBgpInstanceOutput) ElementType

func (DdosBgpInstanceOutput) ElementType() reflect.Type

func (DdosBgpInstanceOutput) IpCount

IP count of the instance. Valid values: 100.

func (DdosBgpInstanceOutput) IpType

IP version of the instance. Valid values: IPv4,IPv6.

func (DdosBgpInstanceOutput) Name

Name of the instance. This name can have a string of 1 to 63 characters.

func (DdosBgpInstanceOutput) NormalBandwidth

func (o DdosBgpInstanceOutput) NormalBandwidth() pulumi.IntOutput

Normal defend bandwidth of the instance. The unit is Gbps.

func (DdosBgpInstanceOutput) Period

The duration that you will buy Ddosbgp instance (in month). Valid values: [1~9], 12, 24, 36. Default to 12. At present, the provider does not support modify "period".

func (DdosBgpInstanceOutput) ToDdosBgpInstanceOutput

func (o DdosBgpInstanceOutput) ToDdosBgpInstanceOutput() DdosBgpInstanceOutput

func (DdosBgpInstanceOutput) ToDdosBgpInstanceOutputWithContext

func (o DdosBgpInstanceOutput) ToDdosBgpInstanceOutputWithContext(ctx context.Context) DdosBgpInstanceOutput

func (DdosBgpInstanceOutput) Type

Type of the instance. Valid values: `Enterprise`, `Professional`. Default to `Enterprise`

type DdosBgpInstanceState

type DdosBgpInstanceState struct {
	// Elastic defend bandwidth of the instance. This value must be larger than the base defend bandwidth. Valid values: 51,91,101,201,301. The unit is Gbps.
	Bandwidth pulumi.IntPtrInput
	// Base defend bandwidth of the instance. Valid values: 20. The unit is Gbps. Default to `20`.
	BaseBandwidth pulumi.IntPtrInput
	// IP count of the instance. Valid values: 100.
	IpCount pulumi.IntPtrInput
	// IP version of the instance. Valid values: IPv4,IPv6.
	IpType pulumi.StringPtrInput
	// Name of the instance. This name can have a string of 1 to 63 characters.
	Name pulumi.StringPtrInput
	// Normal defend bandwidth of the instance. The unit is Gbps.
	NormalBandwidth pulumi.IntPtrInput
	// The duration that you will buy Ddosbgp instance (in month). Valid values: [1~9], 12, 24, 36. Default to 12. At present, the provider does not support modify "period".
	Period pulumi.IntPtrInput
	// Type of the instance. Valid values: `Enterprise`, `Professional`. Default to `Enterprise`
	Type pulumi.StringPtrInput
}

func (DdosBgpInstanceState) ElementType

func (DdosBgpInstanceState) ElementType() reflect.Type

type DdosCooInstance deprecated

type DdosCooInstance struct {
	pulumi.CustomResourceState

	// Elastic defend bandwidth of the instance. This value must be larger than the base defend bandwidth. Valid values: 30, 60, 100, 300, 400, 500, 600. The unit is Gbps. Only support upgrade.
	Bandwidth pulumi.StringOutput `pulumi:"bandwidth"`
	// Base defend bandwidth of the instance. Valid values: 30, 60, 100, 300, 400, 500, 600. The unit is Gbps. Only support upgrade.
	BaseBandwidth pulumi.StringOutput `pulumi:"baseBandwidth"`
	// Domain retransmission rule count of the instance. At least 50. Increase 5 per step, such as 55, 60, 65. Only support upgrade.
	DomainCount pulumi.StringOutput `pulumi:"domainCount"`
	// Name of the instance. This name can have a string of 1 to 63 characters.
	Name pulumi.StringOutput `pulumi:"name"`
	// The duration that you will buy Ddoscoo instance (in month). Valid values: [1~9], 12, 24, 36. Default to 1. At present, the provider does not support modify "period".
	Period pulumi.IntPtrOutput `pulumi:"period"`
	// Port retransmission rule count of the instance. At least 50. Increase 5 per step, such as 55, 60, 65. Only support upgrade.
	PortCount pulumi.StringOutput `pulumi:"portCount"`
	// The product type for purchasing DDOSCOO instances used to differ different account type. Valid values:
	// - ddoscoo: Only supports domestic account.
	// - ddoscoo_intl: Only supports to international account.
	//   Default to ddoscoo.
	ProductType pulumi.StringPtrOutput `pulumi:"productType"`
	// Business bandwidth of the instance. At leaset 100. Increased 100 per step, such as 100, 200, 300. The unit is Mbps. Only support upgrade.
	ServiceBandwidth pulumi.StringOutput `pulumi:"serviceBandwidth"`
}

BGP-Line Anti-DDoS instance resource. "Ddoscoo" is the short term of this product. See [What is Anti-DDoS Pro](https://www.alibabacloud.com/help/doc-detail/69319.htm).

> **NOTE:** The product region only support cn-hangzhou.

> **NOTE:** The endpoint of bssopenapi used only support "business.aliyuncs.com" at present.

> **NOTE:** Available in 1.37.0+ .

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/ddos"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ddos.NewDdosCooInstance(ctx, "newInstance", &ddos.DdosCooInstanceArgs{
			Bandwidth:        pulumi.String("30"),
			BaseBandwidth:    pulumi.String("30"),
			DomainCount:      pulumi.String("50"),
			Period:           pulumi.Int(1),
			PortCount:        pulumi.String("50"),
			ProductType:      pulumi.String("ddoscoo"),
			ServiceBandwidth: pulumi.String("100"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Ddoscoo instance can be imported using the id, e.g.

```sh

$ pulumi import alicloud:dns/ddosCooInstance:DdosCooInstance example ddoscoo-cn-123456

```

Deprecated: alicloud.dns.DdosCooInstance has been deprecated in favor of alicloud.ddos.DdosCooInstance

func GetDdosCooInstance

func GetDdosCooInstance(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DdosCooInstanceState, opts ...pulumi.ResourceOption) (*DdosCooInstance, error)

GetDdosCooInstance gets an existing DdosCooInstance resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewDdosCooInstance

func NewDdosCooInstance(ctx *pulumi.Context,
	name string, args *DdosCooInstanceArgs, opts ...pulumi.ResourceOption) (*DdosCooInstance, error)

NewDdosCooInstance registers a new resource with the given unique name, arguments, and options.

func (*DdosCooInstance) ElementType

func (*DdosCooInstance) ElementType() reflect.Type

func (*DdosCooInstance) ToDdosCooInstanceOutput

func (i *DdosCooInstance) ToDdosCooInstanceOutput() DdosCooInstanceOutput

func (*DdosCooInstance) ToDdosCooInstanceOutputWithContext

func (i *DdosCooInstance) ToDdosCooInstanceOutputWithContext(ctx context.Context) DdosCooInstanceOutput

type DdosCooInstanceArgs

type DdosCooInstanceArgs struct {
	// Elastic defend bandwidth of the instance. This value must be larger than the base defend bandwidth. Valid values: 30, 60, 100, 300, 400, 500, 600. The unit is Gbps. Only support upgrade.
	Bandwidth pulumi.StringInput
	// Base defend bandwidth of the instance. Valid values: 30, 60, 100, 300, 400, 500, 600. The unit is Gbps. Only support upgrade.
	BaseBandwidth pulumi.StringInput
	// Domain retransmission rule count of the instance. At least 50. Increase 5 per step, such as 55, 60, 65. Only support upgrade.
	DomainCount pulumi.StringInput
	// Name of the instance. This name can have a string of 1 to 63 characters.
	Name pulumi.StringPtrInput
	// The duration that you will buy Ddoscoo instance (in month). Valid values: [1~9], 12, 24, 36. Default to 1. At present, the provider does not support modify "period".
	Period pulumi.IntPtrInput
	// Port retransmission rule count of the instance. At least 50. Increase 5 per step, such as 55, 60, 65. Only support upgrade.
	PortCount pulumi.StringInput
	// The product type for purchasing DDOSCOO instances used to differ different account type. Valid values:
	// - ddoscoo: Only supports domestic account.
	// - ddoscoo_intl: Only supports to international account.
	//   Default to ddoscoo.
	ProductType pulumi.StringPtrInput
	// Business bandwidth of the instance. At leaset 100. Increased 100 per step, such as 100, 200, 300. The unit is Mbps. Only support upgrade.
	ServiceBandwidth pulumi.StringInput
}

The set of arguments for constructing a DdosCooInstance resource.

func (DdosCooInstanceArgs) ElementType

func (DdosCooInstanceArgs) ElementType() reflect.Type

type DdosCooInstanceArray

type DdosCooInstanceArray []DdosCooInstanceInput

func (DdosCooInstanceArray) ElementType

func (DdosCooInstanceArray) ElementType() reflect.Type

func (DdosCooInstanceArray) ToDdosCooInstanceArrayOutput

func (i DdosCooInstanceArray) ToDdosCooInstanceArrayOutput() DdosCooInstanceArrayOutput

func (DdosCooInstanceArray) ToDdosCooInstanceArrayOutputWithContext

func (i DdosCooInstanceArray) ToDdosCooInstanceArrayOutputWithContext(ctx context.Context) DdosCooInstanceArrayOutput

type DdosCooInstanceArrayInput

type DdosCooInstanceArrayInput interface {
	pulumi.Input

	ToDdosCooInstanceArrayOutput() DdosCooInstanceArrayOutput
	ToDdosCooInstanceArrayOutputWithContext(context.Context) DdosCooInstanceArrayOutput
}

DdosCooInstanceArrayInput is an input type that accepts DdosCooInstanceArray and DdosCooInstanceArrayOutput values. You can construct a concrete instance of `DdosCooInstanceArrayInput` via:

DdosCooInstanceArray{ DdosCooInstanceArgs{...} }

type DdosCooInstanceArrayOutput

type DdosCooInstanceArrayOutput struct{ *pulumi.OutputState }

func (DdosCooInstanceArrayOutput) ElementType

func (DdosCooInstanceArrayOutput) ElementType() reflect.Type

func (DdosCooInstanceArrayOutput) Index

func (DdosCooInstanceArrayOutput) ToDdosCooInstanceArrayOutput

func (o DdosCooInstanceArrayOutput) ToDdosCooInstanceArrayOutput() DdosCooInstanceArrayOutput

func (DdosCooInstanceArrayOutput) ToDdosCooInstanceArrayOutputWithContext

func (o DdosCooInstanceArrayOutput) ToDdosCooInstanceArrayOutputWithContext(ctx context.Context) DdosCooInstanceArrayOutput

type DdosCooInstanceInput

type DdosCooInstanceInput interface {
	pulumi.Input

	ToDdosCooInstanceOutput() DdosCooInstanceOutput
	ToDdosCooInstanceOutputWithContext(ctx context.Context) DdosCooInstanceOutput
}

type DdosCooInstanceMap

type DdosCooInstanceMap map[string]DdosCooInstanceInput

func (DdosCooInstanceMap) ElementType

func (DdosCooInstanceMap) ElementType() reflect.Type

func (DdosCooInstanceMap) ToDdosCooInstanceMapOutput

func (i DdosCooInstanceMap) ToDdosCooInstanceMapOutput() DdosCooInstanceMapOutput

func (DdosCooInstanceMap) ToDdosCooInstanceMapOutputWithContext

func (i DdosCooInstanceMap) ToDdosCooInstanceMapOutputWithContext(ctx context.Context) DdosCooInstanceMapOutput

type DdosCooInstanceMapInput

type DdosCooInstanceMapInput interface {
	pulumi.Input

	ToDdosCooInstanceMapOutput() DdosCooInstanceMapOutput
	ToDdosCooInstanceMapOutputWithContext(context.Context) DdosCooInstanceMapOutput
}

DdosCooInstanceMapInput is an input type that accepts DdosCooInstanceMap and DdosCooInstanceMapOutput values. You can construct a concrete instance of `DdosCooInstanceMapInput` via:

DdosCooInstanceMap{ "key": DdosCooInstanceArgs{...} }

type DdosCooInstanceMapOutput

type DdosCooInstanceMapOutput struct{ *pulumi.OutputState }

func (DdosCooInstanceMapOutput) ElementType

func (DdosCooInstanceMapOutput) ElementType() reflect.Type

func (DdosCooInstanceMapOutput) MapIndex

func (DdosCooInstanceMapOutput) ToDdosCooInstanceMapOutput

func (o DdosCooInstanceMapOutput) ToDdosCooInstanceMapOutput() DdosCooInstanceMapOutput

func (DdosCooInstanceMapOutput) ToDdosCooInstanceMapOutputWithContext

func (o DdosCooInstanceMapOutput) ToDdosCooInstanceMapOutputWithContext(ctx context.Context) DdosCooInstanceMapOutput

type DdosCooInstanceOutput

type DdosCooInstanceOutput struct{ *pulumi.OutputState }

func (DdosCooInstanceOutput) Bandwidth

Elastic defend bandwidth of the instance. This value must be larger than the base defend bandwidth. Valid values: 30, 60, 100, 300, 400, 500, 600. The unit is Gbps. Only support upgrade.

func (DdosCooInstanceOutput) BaseBandwidth

func (o DdosCooInstanceOutput) BaseBandwidth() pulumi.StringOutput

Base defend bandwidth of the instance. Valid values: 30, 60, 100, 300, 400, 500, 600. The unit is Gbps. Only support upgrade.

func (DdosCooInstanceOutput) DomainCount

func (o DdosCooInstanceOutput) DomainCount() pulumi.StringOutput

Domain retransmission rule count of the instance. At least 50. Increase 5 per step, such as 55, 60, 65. Only support upgrade.

func (DdosCooInstanceOutput) ElementType

func (DdosCooInstanceOutput) ElementType() reflect.Type

func (DdosCooInstanceOutput) Name

Name of the instance. This name can have a string of 1 to 63 characters.

func (DdosCooInstanceOutput) Period

The duration that you will buy Ddoscoo instance (in month). Valid values: [1~9], 12, 24, 36. Default to 1. At present, the provider does not support modify "period".

func (DdosCooInstanceOutput) PortCount

Port retransmission rule count of the instance. At least 50. Increase 5 per step, such as 55, 60, 65. Only support upgrade.

func (DdosCooInstanceOutput) ProductType

The product type for purchasing DDOSCOO instances used to differ different account type. Valid values:

  • ddoscoo: Only supports domestic account.
  • ddoscoo_intl: Only supports to international account. Default to ddoscoo.

func (DdosCooInstanceOutput) ServiceBandwidth

func (o DdosCooInstanceOutput) ServiceBandwidth() pulumi.StringOutput

Business bandwidth of the instance. At leaset 100. Increased 100 per step, such as 100, 200, 300. The unit is Mbps. Only support upgrade.

func (DdosCooInstanceOutput) ToDdosCooInstanceOutput

func (o DdosCooInstanceOutput) ToDdosCooInstanceOutput() DdosCooInstanceOutput

func (DdosCooInstanceOutput) ToDdosCooInstanceOutputWithContext

func (o DdosCooInstanceOutput) ToDdosCooInstanceOutputWithContext(ctx context.Context) DdosCooInstanceOutput

type DdosCooInstanceState

type DdosCooInstanceState struct {
	// Elastic defend bandwidth of the instance. This value must be larger than the base defend bandwidth. Valid values: 30, 60, 100, 300, 400, 500, 600. The unit is Gbps. Only support upgrade.
	Bandwidth pulumi.StringPtrInput
	// Base defend bandwidth of the instance. Valid values: 30, 60, 100, 300, 400, 500, 600. The unit is Gbps. Only support upgrade.
	BaseBandwidth pulumi.StringPtrInput
	// Domain retransmission rule count of the instance. At least 50. Increase 5 per step, such as 55, 60, 65. Only support upgrade.
	DomainCount pulumi.StringPtrInput
	// Name of the instance. This name can have a string of 1 to 63 characters.
	Name pulumi.StringPtrInput
	// The duration that you will buy Ddoscoo instance (in month). Valid values: [1~9], 12, 24, 36. Default to 1. At present, the provider does not support modify "period".
	Period pulumi.IntPtrInput
	// Port retransmission rule count of the instance. At least 50. Increase 5 per step, such as 55, 60, 65. Only support upgrade.
	PortCount pulumi.StringPtrInput
	// The product type for purchasing DDOSCOO instances used to differ different account type. Valid values:
	// - ddoscoo: Only supports domestic account.
	// - ddoscoo_intl: Only supports to international account.
	//   Default to ddoscoo.
	ProductType pulumi.StringPtrInput
	// Business bandwidth of the instance. At leaset 100. Increased 100 per step, such as 100, 200, 300. The unit is Mbps. Only support upgrade.
	ServiceBandwidth pulumi.StringPtrInput
}

func (DdosCooInstanceState) ElementType

func (DdosCooInstanceState) ElementType() reflect.Type

type DnsDomain

type DnsDomain struct {
	pulumi.CustomResourceState

	DnsServers pulumi.StringArrayOutput `pulumi:"dnsServers"`
	// The domain ID.
	DomainId pulumi.StringOutput `pulumi:"domainId"`
	// Name of the domain. This name without suffix can have a string of 1 to 63 characters(domain name subject, excluding suffix), must contain only alphanumeric characters or "-", and must not begin or end with "-", and "-" must not in the 3th and 4th character positions at the same time. Suffix `.sh` and `.tel` are not supported.
	DomainName pulumi.StringOutput `pulumi:"domainName"`
	// Id of the group in which the domain will add. If not supplied, then use default group.
	GroupId   pulumi.StringPtrOutput `pulumi:"groupId"`
	GroupName pulumi.StringOutput    `pulumi:"groupName"`
	// User language.
	Lang     pulumi.StringPtrOutput `pulumi:"lang"`
	PunyCode pulumi.StringOutput    `pulumi:"punyCode"`
	// Remarks information for your domain name.
	Remark pulumi.StringPtrOutput `pulumi:"remark"`
	// The Id of resource group which the dns domain belongs.
	ResourceGroupId pulumi.StringOutput `pulumi:"resourceGroupId"`
	// A mapping of tags to assign to the resource.
	// - Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It cannot be a null string.
	// - Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It can be a null string.
	Tags pulumi.MapOutput `pulumi:"tags"`
}

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/dns"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := dns.NewDnsDomain(ctx, "dns", &dns.DnsDomainArgs{
			DomainName: pulumi.String("starmove.com"),
			GroupId:    pulumi.String("85ab8713-4a30-4de4-9d20-155ff830****"),
			Tags: pulumi.AnyMap{
				"Created":     pulumi.Any("Terraform"),
				"Environment": pulumi.Any("test"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

DNS domain can be imported using the id or domain name, e.g.

```sh

$ pulumi import alicloud:dns/dnsDomain:DnsDomain example aliyun.com

```

func GetDnsDomain

func GetDnsDomain(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DnsDomainState, opts ...pulumi.ResourceOption) (*DnsDomain, error)

GetDnsDomain gets an existing DnsDomain resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewDnsDomain

func NewDnsDomain(ctx *pulumi.Context,
	name string, args *DnsDomainArgs, opts ...pulumi.ResourceOption) (*DnsDomain, error)

NewDnsDomain registers a new resource with the given unique name, arguments, and options.

func (*DnsDomain) ElementType

func (*DnsDomain) ElementType() reflect.Type

func (*DnsDomain) ToDnsDomainOutput

func (i *DnsDomain) ToDnsDomainOutput() DnsDomainOutput

func (*DnsDomain) ToDnsDomainOutputWithContext

func (i *DnsDomain) ToDnsDomainOutputWithContext(ctx context.Context) DnsDomainOutput

type DnsDomainArgs

type DnsDomainArgs struct {
	// Name of the domain. This name without suffix can have a string of 1 to 63 characters(domain name subject, excluding suffix), must contain only alphanumeric characters or "-", and must not begin or end with "-", and "-" must not in the 3th and 4th character positions at the same time. Suffix `.sh` and `.tel` are not supported.
	DomainName pulumi.StringInput
	// Id of the group in which the domain will add. If not supplied, then use default group.
	GroupId pulumi.StringPtrInput
	// User language.
	Lang pulumi.StringPtrInput
	// Remarks information for your domain name.
	Remark pulumi.StringPtrInput
	// The Id of resource group which the dns domain belongs.
	ResourceGroupId pulumi.StringPtrInput
	// A mapping of tags to assign to the resource.
	// - Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It cannot be a null string.
	// - Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It can be a null string.
	Tags pulumi.MapInput
}

The set of arguments for constructing a DnsDomain resource.

func (DnsDomainArgs) ElementType

func (DnsDomainArgs) ElementType() reflect.Type

type DnsDomainArray

type DnsDomainArray []DnsDomainInput

func (DnsDomainArray) ElementType

func (DnsDomainArray) ElementType() reflect.Type

func (DnsDomainArray) ToDnsDomainArrayOutput

func (i DnsDomainArray) ToDnsDomainArrayOutput() DnsDomainArrayOutput

func (DnsDomainArray) ToDnsDomainArrayOutputWithContext

func (i DnsDomainArray) ToDnsDomainArrayOutputWithContext(ctx context.Context) DnsDomainArrayOutput

type DnsDomainArrayInput

type DnsDomainArrayInput interface {
	pulumi.Input

	ToDnsDomainArrayOutput() DnsDomainArrayOutput
	ToDnsDomainArrayOutputWithContext(context.Context) DnsDomainArrayOutput
}

DnsDomainArrayInput is an input type that accepts DnsDomainArray and DnsDomainArrayOutput values. You can construct a concrete instance of `DnsDomainArrayInput` via:

DnsDomainArray{ DnsDomainArgs{...} }

type DnsDomainArrayOutput

type DnsDomainArrayOutput struct{ *pulumi.OutputState }

func (DnsDomainArrayOutput) ElementType

func (DnsDomainArrayOutput) ElementType() reflect.Type

func (DnsDomainArrayOutput) Index

func (DnsDomainArrayOutput) ToDnsDomainArrayOutput

func (o DnsDomainArrayOutput) ToDnsDomainArrayOutput() DnsDomainArrayOutput

func (DnsDomainArrayOutput) ToDnsDomainArrayOutputWithContext

func (o DnsDomainArrayOutput) ToDnsDomainArrayOutputWithContext(ctx context.Context) DnsDomainArrayOutput

type DnsDomainInput

type DnsDomainInput interface {
	pulumi.Input

	ToDnsDomainOutput() DnsDomainOutput
	ToDnsDomainOutputWithContext(ctx context.Context) DnsDomainOutput
}

type DnsDomainMap

type DnsDomainMap map[string]DnsDomainInput

func (DnsDomainMap) ElementType

func (DnsDomainMap) ElementType() reflect.Type

func (DnsDomainMap) ToDnsDomainMapOutput

func (i DnsDomainMap) ToDnsDomainMapOutput() DnsDomainMapOutput

func (DnsDomainMap) ToDnsDomainMapOutputWithContext

func (i DnsDomainMap) ToDnsDomainMapOutputWithContext(ctx context.Context) DnsDomainMapOutput

type DnsDomainMapInput

type DnsDomainMapInput interface {
	pulumi.Input

	ToDnsDomainMapOutput() DnsDomainMapOutput
	ToDnsDomainMapOutputWithContext(context.Context) DnsDomainMapOutput
}

DnsDomainMapInput is an input type that accepts DnsDomainMap and DnsDomainMapOutput values. You can construct a concrete instance of `DnsDomainMapInput` via:

DnsDomainMap{ "key": DnsDomainArgs{...} }

type DnsDomainMapOutput

type DnsDomainMapOutput struct{ *pulumi.OutputState }

func (DnsDomainMapOutput) ElementType

func (DnsDomainMapOutput) ElementType() reflect.Type

func (DnsDomainMapOutput) MapIndex

func (DnsDomainMapOutput) ToDnsDomainMapOutput

func (o DnsDomainMapOutput) ToDnsDomainMapOutput() DnsDomainMapOutput

func (DnsDomainMapOutput) ToDnsDomainMapOutputWithContext

func (o DnsDomainMapOutput) ToDnsDomainMapOutputWithContext(ctx context.Context) DnsDomainMapOutput

type DnsDomainOutput

type DnsDomainOutput struct{ *pulumi.OutputState }

func (DnsDomainOutput) DnsServers

func (o DnsDomainOutput) DnsServers() pulumi.StringArrayOutput

func (DnsDomainOutput) DomainId

func (o DnsDomainOutput) DomainId() pulumi.StringOutput

The domain ID.

func (DnsDomainOutput) DomainName

func (o DnsDomainOutput) DomainName() pulumi.StringOutput

Name of the domain. This name without suffix can have a string of 1 to 63 characters(domain name subject, excluding suffix), must contain only alphanumeric characters or "-", and must not begin or end with "-", and "-" must not in the 3th and 4th character positions at the same time. Suffix `.sh` and `.tel` are not supported.

func (DnsDomainOutput) ElementType

func (DnsDomainOutput) ElementType() reflect.Type

func (DnsDomainOutput) GroupId

Id of the group in which the domain will add. If not supplied, then use default group.

func (DnsDomainOutput) GroupName

func (o DnsDomainOutput) GroupName() pulumi.StringOutput

func (DnsDomainOutput) Lang

User language.

func (DnsDomainOutput) PunyCode

func (o DnsDomainOutput) PunyCode() pulumi.StringOutput

func (DnsDomainOutput) Remark

Remarks information for your domain name.

func (DnsDomainOutput) ResourceGroupId

func (o DnsDomainOutput) ResourceGroupId() pulumi.StringOutput

The Id of resource group which the dns domain belongs.

func (DnsDomainOutput) Tags

func (o DnsDomainOutput) Tags() pulumi.MapOutput

A mapping of tags to assign to the resource. - Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It cannot be a null string. - Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It can be a null string.

func (DnsDomainOutput) ToDnsDomainOutput

func (o DnsDomainOutput) ToDnsDomainOutput() DnsDomainOutput

func (DnsDomainOutput) ToDnsDomainOutputWithContext

func (o DnsDomainOutput) ToDnsDomainOutputWithContext(ctx context.Context) DnsDomainOutput

type DnsDomainState

type DnsDomainState struct {
	DnsServers pulumi.StringArrayInput
	// The domain ID.
	DomainId pulumi.StringPtrInput
	// Name of the domain. This name without suffix can have a string of 1 to 63 characters(domain name subject, excluding suffix), must contain only alphanumeric characters or "-", and must not begin or end with "-", and "-" must not in the 3th and 4th character positions at the same time. Suffix `.sh` and `.tel` are not supported.
	DomainName pulumi.StringPtrInput
	// Id of the group in which the domain will add. If not supplied, then use default group.
	GroupId   pulumi.StringPtrInput
	GroupName pulumi.StringPtrInput
	// User language.
	Lang     pulumi.StringPtrInput
	PunyCode pulumi.StringPtrInput
	// Remarks information for your domain name.
	Remark pulumi.StringPtrInput
	// The Id of resource group which the dns domain belongs.
	ResourceGroupId pulumi.StringPtrInput
	// A mapping of tags to assign to the resource.
	// - Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It cannot be a null string.
	// - Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It can be a null string.
	Tags pulumi.MapInput
}

func (DnsDomainState) ElementType

func (DnsDomainState) ElementType() reflect.Type

type Domain deprecated

type Domain struct {
	pulumi.CustomResourceState

	// A list of the dns server name.
	DnsServers pulumi.StringArrayOutput `pulumi:"dnsServers"`
	// The domain ID.
	DomainId pulumi.StringOutput `pulumi:"domainId"`
	// Id of the group in which the domain will add. If not supplied, then use default group.
	GroupId pulumi.StringPtrOutput `pulumi:"groupId"`
	// Name of the domain. This name without suffix can have a string of 1 to 63 characters, must contain only alphanumeric characters or "-", and must not begin or end with "-", and "-" must not in the 3th and 4th character positions at the same time. Suffix `.sh` and `.tel` are not supported.
	Name pulumi.StringOutput `pulumi:"name"`
	// The Id of resource group which the dns belongs.
	ResourceGroupId pulumi.StringPtrOutput `pulumi:"resourceGroupId"`
}

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/dns"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := dns.NewDomain(ctx, "dns", &dns.DomainArgs{
			GroupId: pulumi.String("85ab8713-4a30-4de4-9d20-155ff830f651"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

DNS can be imported using the id or domain name, e.g.

```sh

$ pulumi import alicloud:dns/domain:Domain example "aliyun.com"

```

Deprecated: This resource has been deprecated in favour of DnsDomain

func GetDomain

func GetDomain(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DomainState, opts ...pulumi.ResourceOption) (*Domain, error)

GetDomain gets an existing Domain resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewDomain

func NewDomain(ctx *pulumi.Context,
	name string, args *DomainArgs, opts ...pulumi.ResourceOption) (*Domain, error)

NewDomain registers a new resource with the given unique name, arguments, and options.

func (*Domain) ElementType

func (*Domain) ElementType() reflect.Type

func (*Domain) ToDomainOutput

func (i *Domain) ToDomainOutput() DomainOutput

func (*Domain) ToDomainOutputWithContext

func (i *Domain) ToDomainOutputWithContext(ctx context.Context) DomainOutput

type DomainArgs

type DomainArgs struct {
	// Id of the group in which the domain will add. If not supplied, then use default group.
	GroupId pulumi.StringPtrInput
	// Name of the domain. This name without suffix can have a string of 1 to 63 characters, must contain only alphanumeric characters or "-", and must not begin or end with "-", and "-" must not in the 3th and 4th character positions at the same time. Suffix `.sh` and `.tel` are not supported.
	Name pulumi.StringPtrInput
	// The Id of resource group which the dns belongs.
	ResourceGroupId pulumi.StringPtrInput
}

The set of arguments for constructing a Domain resource.

func (DomainArgs) ElementType

func (DomainArgs) ElementType() reflect.Type

type DomainArray

type DomainArray []DomainInput

func (DomainArray) ElementType

func (DomainArray) ElementType() reflect.Type

func (DomainArray) ToDomainArrayOutput

func (i DomainArray) ToDomainArrayOutput() DomainArrayOutput

func (DomainArray) ToDomainArrayOutputWithContext

func (i DomainArray) ToDomainArrayOutputWithContext(ctx context.Context) DomainArrayOutput

type DomainArrayInput

type DomainArrayInput interface {
	pulumi.Input

	ToDomainArrayOutput() DomainArrayOutput
	ToDomainArrayOutputWithContext(context.Context) DomainArrayOutput
}

DomainArrayInput is an input type that accepts DomainArray and DomainArrayOutput values. You can construct a concrete instance of `DomainArrayInput` via:

DomainArray{ DomainArgs{...} }

type DomainArrayOutput

type DomainArrayOutput struct{ *pulumi.OutputState }

func (DomainArrayOutput) ElementType

func (DomainArrayOutput) ElementType() reflect.Type

func (DomainArrayOutput) Index

func (DomainArrayOutput) ToDomainArrayOutput

func (o DomainArrayOutput) ToDomainArrayOutput() DomainArrayOutput

func (DomainArrayOutput) ToDomainArrayOutputWithContext

func (o DomainArrayOutput) ToDomainArrayOutputWithContext(ctx context.Context) DomainArrayOutput

type DomainAttachment

type DomainAttachment struct {
	pulumi.CustomResourceState

	// The domain names bound to the DNS instance.
	DomainNames pulumi.StringArrayOutput `pulumi:"domainNames"`
	// The id of the DNS instance.
	InstanceId pulumi.StringOutput `pulumi:"instanceId"`
}

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/dns"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := dns.NewDomainAttachment(ctx, "dns", &dns.DomainAttachmentArgs{
			DomainNames: pulumi.StringArray{
				pulumi.String("test111.abc"),
				pulumi.String("test222.abc"),
			},
			InstanceId: pulumi.String("dns-cn-mp91lyq9xxxx"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

DNS domain attachment can be imported using the id, e.g.

```sh

$ pulumi import alicloud:dns/domainAttachment:DomainAttachment example dns-cn-v0h1ldjhxxx

```

func GetDomainAttachment

func GetDomainAttachment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DomainAttachmentState, opts ...pulumi.ResourceOption) (*DomainAttachment, error)

GetDomainAttachment gets an existing DomainAttachment resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewDomainAttachment

func NewDomainAttachment(ctx *pulumi.Context,
	name string, args *DomainAttachmentArgs, opts ...pulumi.ResourceOption) (*DomainAttachment, error)

NewDomainAttachment registers a new resource with the given unique name, arguments, and options.

func (*DomainAttachment) ElementType

func (*DomainAttachment) ElementType() reflect.Type

func (*DomainAttachment) ToDomainAttachmentOutput

func (i *DomainAttachment) ToDomainAttachmentOutput() DomainAttachmentOutput

func (*DomainAttachment) ToDomainAttachmentOutputWithContext

func (i *DomainAttachment) ToDomainAttachmentOutputWithContext(ctx context.Context) DomainAttachmentOutput

type DomainAttachmentArgs

type DomainAttachmentArgs struct {
	// The domain names bound to the DNS instance.
	DomainNames pulumi.StringArrayInput
	// The id of the DNS instance.
	InstanceId pulumi.StringInput
}

The set of arguments for constructing a DomainAttachment resource.

func (DomainAttachmentArgs) ElementType

func (DomainAttachmentArgs) ElementType() reflect.Type

type DomainAttachmentArray

type DomainAttachmentArray []DomainAttachmentInput

func (DomainAttachmentArray) ElementType

func (DomainAttachmentArray) ElementType() reflect.Type

func (DomainAttachmentArray) ToDomainAttachmentArrayOutput

func (i DomainAttachmentArray) ToDomainAttachmentArrayOutput() DomainAttachmentArrayOutput

func (DomainAttachmentArray) ToDomainAttachmentArrayOutputWithContext

func (i DomainAttachmentArray) ToDomainAttachmentArrayOutputWithContext(ctx context.Context) DomainAttachmentArrayOutput

type DomainAttachmentArrayInput

type DomainAttachmentArrayInput interface {
	pulumi.Input

	ToDomainAttachmentArrayOutput() DomainAttachmentArrayOutput
	ToDomainAttachmentArrayOutputWithContext(context.Context) DomainAttachmentArrayOutput
}

DomainAttachmentArrayInput is an input type that accepts DomainAttachmentArray and DomainAttachmentArrayOutput values. You can construct a concrete instance of `DomainAttachmentArrayInput` via:

DomainAttachmentArray{ DomainAttachmentArgs{...} }

type DomainAttachmentArrayOutput

type DomainAttachmentArrayOutput struct{ *pulumi.OutputState }

func (DomainAttachmentArrayOutput) ElementType

func (DomainAttachmentArrayOutput) Index

func (DomainAttachmentArrayOutput) ToDomainAttachmentArrayOutput

func (o DomainAttachmentArrayOutput) ToDomainAttachmentArrayOutput() DomainAttachmentArrayOutput

func (DomainAttachmentArrayOutput) ToDomainAttachmentArrayOutputWithContext

func (o DomainAttachmentArrayOutput) ToDomainAttachmentArrayOutputWithContext(ctx context.Context) DomainAttachmentArrayOutput

type DomainAttachmentInput

type DomainAttachmentInput interface {
	pulumi.Input

	ToDomainAttachmentOutput() DomainAttachmentOutput
	ToDomainAttachmentOutputWithContext(ctx context.Context) DomainAttachmentOutput
}

type DomainAttachmentMap

type DomainAttachmentMap map[string]DomainAttachmentInput

func (DomainAttachmentMap) ElementType

func (DomainAttachmentMap) ElementType() reflect.Type

func (DomainAttachmentMap) ToDomainAttachmentMapOutput

func (i DomainAttachmentMap) ToDomainAttachmentMapOutput() DomainAttachmentMapOutput

func (DomainAttachmentMap) ToDomainAttachmentMapOutputWithContext

func (i DomainAttachmentMap) ToDomainAttachmentMapOutputWithContext(ctx context.Context) DomainAttachmentMapOutput

type DomainAttachmentMapInput

type DomainAttachmentMapInput interface {
	pulumi.Input

	ToDomainAttachmentMapOutput() DomainAttachmentMapOutput
	ToDomainAttachmentMapOutputWithContext(context.Context) DomainAttachmentMapOutput
}

DomainAttachmentMapInput is an input type that accepts DomainAttachmentMap and DomainAttachmentMapOutput values. You can construct a concrete instance of `DomainAttachmentMapInput` via:

DomainAttachmentMap{ "key": DomainAttachmentArgs{...} }

type DomainAttachmentMapOutput

type DomainAttachmentMapOutput struct{ *pulumi.OutputState }

func (DomainAttachmentMapOutput) ElementType

func (DomainAttachmentMapOutput) ElementType() reflect.Type

func (DomainAttachmentMapOutput) MapIndex

func (DomainAttachmentMapOutput) ToDomainAttachmentMapOutput

func (o DomainAttachmentMapOutput) ToDomainAttachmentMapOutput() DomainAttachmentMapOutput

func (DomainAttachmentMapOutput) ToDomainAttachmentMapOutputWithContext

func (o DomainAttachmentMapOutput) ToDomainAttachmentMapOutputWithContext(ctx context.Context) DomainAttachmentMapOutput

type DomainAttachmentOutput

type DomainAttachmentOutput struct{ *pulumi.OutputState }

func (DomainAttachmentOutput) DomainNames

The domain names bound to the DNS instance.

func (DomainAttachmentOutput) ElementType

func (DomainAttachmentOutput) ElementType() reflect.Type

func (DomainAttachmentOutput) InstanceId

The id of the DNS instance.

func (DomainAttachmentOutput) ToDomainAttachmentOutput

func (o DomainAttachmentOutput) ToDomainAttachmentOutput() DomainAttachmentOutput

func (DomainAttachmentOutput) ToDomainAttachmentOutputWithContext

func (o DomainAttachmentOutput) ToDomainAttachmentOutputWithContext(ctx context.Context) DomainAttachmentOutput

type DomainAttachmentState

type DomainAttachmentState struct {
	// The domain names bound to the DNS instance.
	DomainNames pulumi.StringArrayInput
	// The id of the DNS instance.
	InstanceId pulumi.StringPtrInput
}

func (DomainAttachmentState) ElementType

func (DomainAttachmentState) ElementType() reflect.Type

type DomainGroup

type DomainGroup struct {
	pulumi.CustomResourceState

	// The Name of the domain group. The `domainGroupName` is required when the value of the `groupName`  is Empty.
	DomainGroupName pulumi.StringOutput `pulumi:"domainGroupName"`
	// The Name of the domain group. The `groupName` has been deprecated from provider version 1.97.0. Please use `domainGroupName` instead.
	//
	// Deprecated: Field 'group_name' has been deprecated from version 1.97.0. Use 'domain_group_name' instead.
	GroupName pulumi.StringOutput `pulumi:"groupName"`
	// User language.
	Lang pulumi.StringPtrOutput `pulumi:"lang"`
}

Provides a Alidns Domain Group resource. For information about Alidns Domain Group and how to use it, see [What is Resource Alidns Domain Group](https://www.alibabacloud.com/help/en/doc-detail/29762.htm).

> **NOTE:** Available in v1.84.0+.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/dns"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := dns.NewDomainGroup(ctx, "example", &dns.DomainGroupArgs{
			DomainGroupName: pulumi.String("tf-testDG"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Alidns domain group can be imported using the id, e.g.

```sh

$ pulumi import alicloud:dns/domainGroup:DomainGroup example 0932eb3ddee7499085c4d13d45*****

```

func GetDomainGroup

func GetDomainGroup(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DomainGroupState, opts ...pulumi.ResourceOption) (*DomainGroup, error)

GetDomainGroup gets an existing DomainGroup resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewDomainGroup

func NewDomainGroup(ctx *pulumi.Context,
	name string, args *DomainGroupArgs, opts ...pulumi.ResourceOption) (*DomainGroup, error)

NewDomainGroup registers a new resource with the given unique name, arguments, and options.

func (*DomainGroup) ElementType

func (*DomainGroup) ElementType() reflect.Type

func (*DomainGroup) ToDomainGroupOutput

func (i *DomainGroup) ToDomainGroupOutput() DomainGroupOutput

func (*DomainGroup) ToDomainGroupOutputWithContext

func (i *DomainGroup) ToDomainGroupOutputWithContext(ctx context.Context) DomainGroupOutput

type DomainGroupArgs

type DomainGroupArgs struct {
	// The Name of the domain group. The `domainGroupName` is required when the value of the `groupName`  is Empty.
	DomainGroupName pulumi.StringPtrInput
	// The Name of the domain group. The `groupName` has been deprecated from provider version 1.97.0. Please use `domainGroupName` instead.
	//
	// Deprecated: Field 'group_name' has been deprecated from version 1.97.0. Use 'domain_group_name' instead.
	GroupName pulumi.StringPtrInput
	// User language.
	Lang pulumi.StringPtrInput
}

The set of arguments for constructing a DomainGroup resource.

func (DomainGroupArgs) ElementType

func (DomainGroupArgs) ElementType() reflect.Type

type DomainGroupArray

type DomainGroupArray []DomainGroupInput

func (DomainGroupArray) ElementType

func (DomainGroupArray) ElementType() reflect.Type

func (DomainGroupArray) ToDomainGroupArrayOutput

func (i DomainGroupArray) ToDomainGroupArrayOutput() DomainGroupArrayOutput

func (DomainGroupArray) ToDomainGroupArrayOutputWithContext

func (i DomainGroupArray) ToDomainGroupArrayOutputWithContext(ctx context.Context) DomainGroupArrayOutput

type DomainGroupArrayInput

type DomainGroupArrayInput interface {
	pulumi.Input

	ToDomainGroupArrayOutput() DomainGroupArrayOutput
	ToDomainGroupArrayOutputWithContext(context.Context) DomainGroupArrayOutput
}

DomainGroupArrayInput is an input type that accepts DomainGroupArray and DomainGroupArrayOutput values. You can construct a concrete instance of `DomainGroupArrayInput` via:

DomainGroupArray{ DomainGroupArgs{...} }

type DomainGroupArrayOutput

type DomainGroupArrayOutput struct{ *pulumi.OutputState }

func (DomainGroupArrayOutput) ElementType

func (DomainGroupArrayOutput) ElementType() reflect.Type

func (DomainGroupArrayOutput) Index

func (DomainGroupArrayOutput) ToDomainGroupArrayOutput

func (o DomainGroupArrayOutput) ToDomainGroupArrayOutput() DomainGroupArrayOutput

func (DomainGroupArrayOutput) ToDomainGroupArrayOutputWithContext

func (o DomainGroupArrayOutput) ToDomainGroupArrayOutputWithContext(ctx context.Context) DomainGroupArrayOutput

type DomainGroupInput

type DomainGroupInput interface {
	pulumi.Input

	ToDomainGroupOutput() DomainGroupOutput
	ToDomainGroupOutputWithContext(ctx context.Context) DomainGroupOutput
}

type DomainGroupMap

type DomainGroupMap map[string]DomainGroupInput

func (DomainGroupMap) ElementType

func (DomainGroupMap) ElementType() reflect.Type

func (DomainGroupMap) ToDomainGroupMapOutput

func (i DomainGroupMap) ToDomainGroupMapOutput() DomainGroupMapOutput

func (DomainGroupMap) ToDomainGroupMapOutputWithContext

func (i DomainGroupMap) ToDomainGroupMapOutputWithContext(ctx context.Context) DomainGroupMapOutput

type DomainGroupMapInput

type DomainGroupMapInput interface {
	pulumi.Input

	ToDomainGroupMapOutput() DomainGroupMapOutput
	ToDomainGroupMapOutputWithContext(context.Context) DomainGroupMapOutput
}

DomainGroupMapInput is an input type that accepts DomainGroupMap and DomainGroupMapOutput values. You can construct a concrete instance of `DomainGroupMapInput` via:

DomainGroupMap{ "key": DomainGroupArgs{...} }

type DomainGroupMapOutput

type DomainGroupMapOutput struct{ *pulumi.OutputState }

func (DomainGroupMapOutput) ElementType

func (DomainGroupMapOutput) ElementType() reflect.Type

func (DomainGroupMapOutput) MapIndex

func (DomainGroupMapOutput) ToDomainGroupMapOutput

func (o DomainGroupMapOutput) ToDomainGroupMapOutput() DomainGroupMapOutput

func (DomainGroupMapOutput) ToDomainGroupMapOutputWithContext

func (o DomainGroupMapOutput) ToDomainGroupMapOutputWithContext(ctx context.Context) DomainGroupMapOutput

type DomainGroupOutput

type DomainGroupOutput struct{ *pulumi.OutputState }

func (DomainGroupOutput) DomainGroupName

func (o DomainGroupOutput) DomainGroupName() pulumi.StringOutput

The Name of the domain group. The `domainGroupName` is required when the value of the `groupName` is Empty.

func (DomainGroupOutput) ElementType

func (DomainGroupOutput) ElementType() reflect.Type

func (DomainGroupOutput) GroupName deprecated

func (o DomainGroupOutput) GroupName() pulumi.StringOutput

The Name of the domain group. The `groupName` has been deprecated from provider version 1.97.0. Please use `domainGroupName` instead.

Deprecated: Field 'group_name' has been deprecated from version 1.97.0. Use 'domain_group_name' instead.

func (DomainGroupOutput) Lang

User language.

func (DomainGroupOutput) ToDomainGroupOutput

func (o DomainGroupOutput) ToDomainGroupOutput() DomainGroupOutput

func (DomainGroupOutput) ToDomainGroupOutputWithContext

func (o DomainGroupOutput) ToDomainGroupOutputWithContext(ctx context.Context) DomainGroupOutput

type DomainGroupState

type DomainGroupState struct {
	// The Name of the domain group. The `domainGroupName` is required when the value of the `groupName`  is Empty.
	DomainGroupName pulumi.StringPtrInput
	// The Name of the domain group. The `groupName` has been deprecated from provider version 1.97.0. Please use `domainGroupName` instead.
	//
	// Deprecated: Field 'group_name' has been deprecated from version 1.97.0. Use 'domain_group_name' instead.
	GroupName pulumi.StringPtrInput
	// User language.
	Lang pulumi.StringPtrInput
}

func (DomainGroupState) ElementType

func (DomainGroupState) ElementType() reflect.Type

type DomainInput

type DomainInput interface {
	pulumi.Input

	ToDomainOutput() DomainOutput
	ToDomainOutputWithContext(ctx context.Context) DomainOutput
}

type DomainMap

type DomainMap map[string]DomainInput

func (DomainMap) ElementType

func (DomainMap) ElementType() reflect.Type

func (DomainMap) ToDomainMapOutput

func (i DomainMap) ToDomainMapOutput() DomainMapOutput

func (DomainMap) ToDomainMapOutputWithContext

func (i DomainMap) ToDomainMapOutputWithContext(ctx context.Context) DomainMapOutput

type DomainMapInput

type DomainMapInput interface {
	pulumi.Input

	ToDomainMapOutput() DomainMapOutput
	ToDomainMapOutputWithContext(context.Context) DomainMapOutput
}

DomainMapInput is an input type that accepts DomainMap and DomainMapOutput values. You can construct a concrete instance of `DomainMapInput` via:

DomainMap{ "key": DomainArgs{...} }

type DomainMapOutput

type DomainMapOutput struct{ *pulumi.OutputState }

func (DomainMapOutput) ElementType

func (DomainMapOutput) ElementType() reflect.Type

func (DomainMapOutput) MapIndex

func (DomainMapOutput) ToDomainMapOutput

func (o DomainMapOutput) ToDomainMapOutput() DomainMapOutput

func (DomainMapOutput) ToDomainMapOutputWithContext

func (o DomainMapOutput) ToDomainMapOutputWithContext(ctx context.Context) DomainMapOutput

type DomainOutput

type DomainOutput struct{ *pulumi.OutputState }

func (DomainOutput) DnsServers

func (o DomainOutput) DnsServers() pulumi.StringArrayOutput

A list of the dns server name.

func (DomainOutput) DomainId

func (o DomainOutput) DomainId() pulumi.StringOutput

The domain ID.

func (DomainOutput) ElementType

func (DomainOutput) ElementType() reflect.Type

func (DomainOutput) GroupId

func (o DomainOutput) GroupId() pulumi.StringPtrOutput

Id of the group in which the domain will add. If not supplied, then use default group.

func (DomainOutput) Name

func (o DomainOutput) Name() pulumi.StringOutput

Name of the domain. This name without suffix can have a string of 1 to 63 characters, must contain only alphanumeric characters or "-", and must not begin or end with "-", and "-" must not in the 3th and 4th character positions at the same time. Suffix `.sh` and `.tel` are not supported.

func (DomainOutput) ResourceGroupId

func (o DomainOutput) ResourceGroupId() pulumi.StringPtrOutput

The Id of resource group which the dns belongs.

func (DomainOutput) ToDomainOutput

func (o DomainOutput) ToDomainOutput() DomainOutput

func (DomainOutput) ToDomainOutputWithContext

func (o DomainOutput) ToDomainOutputWithContext(ctx context.Context) DomainOutput

type DomainState

type DomainState struct {
	// A list of the dns server name.
	DnsServers pulumi.StringArrayInput
	// The domain ID.
	DomainId pulumi.StringPtrInput
	// Id of the group in which the domain will add. If not supplied, then use default group.
	GroupId pulumi.StringPtrInput
	// Name of the domain. This name without suffix can have a string of 1 to 63 characters, must contain only alphanumeric characters or "-", and must not begin or end with "-", and "-" must not in the 3th and 4th character positions at the same time. Suffix `.sh` and `.tel` are not supported.
	Name pulumi.StringPtrInput
	// The Id of resource group which the dns belongs.
	ResourceGroupId pulumi.StringPtrInput
}

func (DomainState) ElementType

func (DomainState) ElementType() reflect.Type

type GetAccessStrategiesArgs

type GetAccessStrategiesArgs struct {
	// Default to `false`. Set it to `true` can output more details about resource attributes.
	EnableDetails *bool `pulumi:"enableDetails"`
	// A list of Access Strategy IDs.
	Ids []string `pulumi:"ids"`
	// The Id of the associated instance.
	InstanceId string `pulumi:"instanceId"`
	// The lang.
	Lang *string `pulumi:"lang"`
	// A regex string to filter results by Access Strategy name.
	NameRegex  *string `pulumi:"nameRegex"`
	OutputFile *string `pulumi:"outputFile"`
	// The type of the access policy.
	StrategyMode string `pulumi:"strategyMode"`
}

A collection of arguments for invoking getAccessStrategies.

type GetAccessStrategiesOutputArgs

type GetAccessStrategiesOutputArgs struct {
	// Default to `false`. Set it to `true` can output more details about resource attributes.
	EnableDetails pulumi.BoolPtrInput `pulumi:"enableDetails"`
	// A list of Access Strategy IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// The Id of the associated instance.
	InstanceId pulumi.StringInput `pulumi:"instanceId"`
	// The lang.
	Lang pulumi.StringPtrInput `pulumi:"lang"`
	// A regex string to filter results by Access Strategy name.
	NameRegex  pulumi.StringPtrInput `pulumi:"nameRegex"`
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// The type of the access policy.
	StrategyMode pulumi.StringInput `pulumi:"strategyMode"`
}

A collection of arguments for invoking getAccessStrategies.

func (GetAccessStrategiesOutputArgs) ElementType

type GetAccessStrategiesResult

type GetAccessStrategiesResult struct {
	EnableDetails *bool `pulumi:"enableDetails"`
	// The provider-assigned unique ID for this managed resource.
	Id           string                        `pulumi:"id"`
	Ids          []string                      `pulumi:"ids"`
	InstanceId   string                        `pulumi:"instanceId"`
	Lang         *string                       `pulumi:"lang"`
	NameRegex    *string                       `pulumi:"nameRegex"`
	Names        []string                      `pulumi:"names"`
	OutputFile   *string                       `pulumi:"outputFile"`
	Strategies   []GetAccessStrategiesStrategy `pulumi:"strategies"`
	StrategyMode string                        `pulumi:"strategyMode"`
}

A collection of values returned by getAccessStrategies.

func GetAccessStrategies

func GetAccessStrategies(ctx *pulumi.Context, args *GetAccessStrategiesArgs, opts ...pulumi.InvokeOption) (*GetAccessStrategiesResult, error)

This data source provides the Alidns Access Strategies of the current Alibaba Cloud user.

> **NOTE:** Available in v1.152.0+.

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/dns"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/dns"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		ids, err := dns.GetAccessStrategies(ctx, &dns.GetAccessStrategiesArgs{
			InstanceId:   "example_value",
			StrategyMode: "example_value",
			Ids: []string{
				"example_value-1",
				"example_value-2",
			},
			NameRegex: pulumi.StringRef("the_resource_name"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("alidnsAccessStrategyId1", ids.Strategies[0].Id)
		return nil
	})
}

```

type GetAccessStrategiesResultOutput

type GetAccessStrategiesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAccessStrategies.

func (GetAccessStrategiesResultOutput) ElementType

func (GetAccessStrategiesResultOutput) EnableDetails

func (GetAccessStrategiesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetAccessStrategiesResultOutput) Ids

func (GetAccessStrategiesResultOutput) InstanceId

func (GetAccessStrategiesResultOutput) Lang

func (GetAccessStrategiesResultOutput) NameRegex

func (GetAccessStrategiesResultOutput) Names

func (GetAccessStrategiesResultOutput) OutputFile

func (GetAccessStrategiesResultOutput) Strategies

func (GetAccessStrategiesResultOutput) StrategyMode

func (GetAccessStrategiesResultOutput) ToGetAccessStrategiesResultOutput

func (o GetAccessStrategiesResultOutput) ToGetAccessStrategiesResultOutput() GetAccessStrategiesResultOutput

func (GetAccessStrategiesResultOutput) ToGetAccessStrategiesResultOutputWithContext

func (o GetAccessStrategiesResultOutput) ToGetAccessStrategiesResultOutputWithContext(ctx context.Context) GetAccessStrategiesResultOutput

type GetAccessStrategiesStrategy

type GetAccessStrategiesStrategy struct {
	// The primary/secondary switchover policy for address pool groups.
	AccessMode string `pulumi:"accessMode"`
	// The first ID of the resource.
	AccessStrategyId string `pulumi:"accessStrategyId"`
	// The time when the access policy was created.
	CreateTime string `pulumi:"createTime"`
	// The timestamp that indicates when the access policy was created.
	CreateTimestamp string `pulumi:"createTimestamp"`
	// The type of the primary address pool.
	DefaultAddrPoolType string `pulumi:"defaultAddrPoolType"`
	// The address pools in the primary address pool group.
	DefaultAddrPools []GetAccessStrategiesStrategyDefaultAddrPool `pulumi:"defaultAddrPools"`
	// The number of addresses currently available in the primary address pool.
	DefaultAvailableAddrNum int `pulumi:"defaultAvailableAddrNum"`
	// Indicates whether scheduling optimization for latency resolution was enabled for the primary address pool group.
	DefaultLatencyOptimization string `pulumi:"defaultLatencyOptimization"`
	// The load balancing policy of the primary address pool group.
	DefaultLbaStrategy string `pulumi:"defaultLbaStrategy"`
	// The maximum number of addresses returned by the primary address pool set.
	DefaultMaxReturnAddrNum int `pulumi:"defaultMaxReturnAddrNum"`
	// The minimum number of available addresses for the primary address pool set.
	DefaultMinAvailableAddrNum int `pulumi:"defaultMinAvailableAddrNum"`
	// The type of the active address pool group.
	EffectiveAddrPoolGroupType string `pulumi:"effectiveAddrPoolGroupType"`
	// The type of the secondary address pool.
	FailoverAddrPoolType string `pulumi:"failoverAddrPoolType"`
	// The address pools in the secondary address pool group.
	FailoverAddrPools []GetAccessStrategiesStrategyFailoverAddrPool `pulumi:"failoverAddrPools"`
	// The number of available addresses in the standby address pool.
	FailoverAvailableAddrNum int `pulumi:"failoverAvailableAddrNum"`
	// Indicates whether scheduling optimization for latency resolution was enabled for the secondary address pool group.
	FailoverLatencyOptimization string `pulumi:"failoverLatencyOptimization"`
	// The load balancing policy of the secondary address pool group.
	FailoverLbaStrategy string `pulumi:"failoverLbaStrategy"`
	// The maximum number of returned addresses in the standby address pool.
	FailoverMaxReturnAddrNum int `pulumi:"failoverMaxReturnAddrNum"`
	// The minimum number of available addresses in the standby address pool.
	FailoverMinAvailableAddrNum int `pulumi:"failoverMinAvailableAddrNum"`
	// The ID of the Access Strategy.
	Id string `pulumi:"id"`
	// The Id of the associated instance.
	InstanceId string `pulumi:"instanceId"`
	// List of source regions.
	Lines []GetAccessStrategiesStrategyLine `pulumi:"lines"`
	// The type of the access policy.
	StrategyMode string `pulumi:"strategyMode"`
	// The name of the access policy.
	StrategyName string `pulumi:"strategyName"`
}

type GetAccessStrategiesStrategyArgs

type GetAccessStrategiesStrategyArgs struct {
	// The primary/secondary switchover policy for address pool groups.
	AccessMode pulumi.StringInput `pulumi:"accessMode"`
	// The first ID of the resource.
	AccessStrategyId pulumi.StringInput `pulumi:"accessStrategyId"`
	// The time when the access policy was created.
	CreateTime pulumi.StringInput `pulumi:"createTime"`
	// The timestamp that indicates when the access policy was created.
	CreateTimestamp pulumi.StringInput `pulumi:"createTimestamp"`
	// The type of the primary address pool.
	DefaultAddrPoolType pulumi.StringInput `pulumi:"defaultAddrPoolType"`
	// The address pools in the primary address pool group.
	DefaultAddrPools GetAccessStrategiesStrategyDefaultAddrPoolArrayInput `pulumi:"defaultAddrPools"`
	// The number of addresses currently available in the primary address pool.
	DefaultAvailableAddrNum pulumi.IntInput `pulumi:"defaultAvailableAddrNum"`
	// Indicates whether scheduling optimization for latency resolution was enabled for the primary address pool group.
	DefaultLatencyOptimization pulumi.StringInput `pulumi:"defaultLatencyOptimization"`
	// The load balancing policy of the primary address pool group.
	DefaultLbaStrategy pulumi.StringInput `pulumi:"defaultLbaStrategy"`
	// The maximum number of addresses returned by the primary address pool set.
	DefaultMaxReturnAddrNum pulumi.IntInput `pulumi:"defaultMaxReturnAddrNum"`
	// The minimum number of available addresses for the primary address pool set.
	DefaultMinAvailableAddrNum pulumi.IntInput `pulumi:"defaultMinAvailableAddrNum"`
	// The type of the active address pool group.
	EffectiveAddrPoolGroupType pulumi.StringInput `pulumi:"effectiveAddrPoolGroupType"`
	// The type of the secondary address pool.
	FailoverAddrPoolType pulumi.StringInput `pulumi:"failoverAddrPoolType"`
	// The address pools in the secondary address pool group.
	FailoverAddrPools GetAccessStrategiesStrategyFailoverAddrPoolArrayInput `pulumi:"failoverAddrPools"`
	// The number of available addresses in the standby address pool.
	FailoverAvailableAddrNum pulumi.IntInput `pulumi:"failoverAvailableAddrNum"`
	// Indicates whether scheduling optimization for latency resolution was enabled for the secondary address pool group.
	FailoverLatencyOptimization pulumi.StringInput `pulumi:"failoverLatencyOptimization"`
	// The load balancing policy of the secondary address pool group.
	FailoverLbaStrategy pulumi.StringInput `pulumi:"failoverLbaStrategy"`
	// The maximum number of returned addresses in the standby address pool.
	FailoverMaxReturnAddrNum pulumi.IntInput `pulumi:"failoverMaxReturnAddrNum"`
	// The minimum number of available addresses in the standby address pool.
	FailoverMinAvailableAddrNum pulumi.IntInput `pulumi:"failoverMinAvailableAddrNum"`
	// The ID of the Access Strategy.
	Id pulumi.StringInput `pulumi:"id"`
	// The Id of the associated instance.
	InstanceId pulumi.StringInput `pulumi:"instanceId"`
	// List of source regions.
	Lines GetAccessStrategiesStrategyLineArrayInput `pulumi:"lines"`
	// The type of the access policy.
	StrategyMode pulumi.StringInput `pulumi:"strategyMode"`
	// The name of the access policy.
	StrategyName pulumi.StringInput `pulumi:"strategyName"`
}

func (GetAccessStrategiesStrategyArgs) ElementType

func (GetAccessStrategiesStrategyArgs) ToGetAccessStrategiesStrategyOutput

func (i GetAccessStrategiesStrategyArgs) ToGetAccessStrategiesStrategyOutput() GetAccessStrategiesStrategyOutput

func (GetAccessStrategiesStrategyArgs) ToGetAccessStrategiesStrategyOutputWithContext

func (i GetAccessStrategiesStrategyArgs) ToGetAccessStrategiesStrategyOutputWithContext(ctx context.Context) GetAccessStrategiesStrategyOutput

type GetAccessStrategiesStrategyArray

type GetAccessStrategiesStrategyArray []GetAccessStrategiesStrategyInput

func (GetAccessStrategiesStrategyArray) ElementType

func (GetAccessStrategiesStrategyArray) ToGetAccessStrategiesStrategyArrayOutput

func (i GetAccessStrategiesStrategyArray) ToGetAccessStrategiesStrategyArrayOutput() GetAccessStrategiesStrategyArrayOutput

func (GetAccessStrategiesStrategyArray) ToGetAccessStrategiesStrategyArrayOutputWithContext

func (i GetAccessStrategiesStrategyArray) ToGetAccessStrategiesStrategyArrayOutputWithContext(ctx context.Context) GetAccessStrategiesStrategyArrayOutput

type GetAccessStrategiesStrategyArrayInput

type GetAccessStrategiesStrategyArrayInput interface {
	pulumi.Input

	ToGetAccessStrategiesStrategyArrayOutput() GetAccessStrategiesStrategyArrayOutput
	ToGetAccessStrategiesStrategyArrayOutputWithContext(context.Context) GetAccessStrategiesStrategyArrayOutput
}

GetAccessStrategiesStrategyArrayInput is an input type that accepts GetAccessStrategiesStrategyArray and GetAccessStrategiesStrategyArrayOutput values. You can construct a concrete instance of `GetAccessStrategiesStrategyArrayInput` via:

GetAccessStrategiesStrategyArray{ GetAccessStrategiesStrategyArgs{...} }

type GetAccessStrategiesStrategyArrayOutput

type GetAccessStrategiesStrategyArrayOutput struct{ *pulumi.OutputState }

func (GetAccessStrategiesStrategyArrayOutput) ElementType

func (GetAccessStrategiesStrategyArrayOutput) Index

func (GetAccessStrategiesStrategyArrayOutput) ToGetAccessStrategiesStrategyArrayOutput

func (o GetAccessStrategiesStrategyArrayOutput) ToGetAccessStrategiesStrategyArrayOutput() GetAccessStrategiesStrategyArrayOutput

func (GetAccessStrategiesStrategyArrayOutput) ToGetAccessStrategiesStrategyArrayOutputWithContext

func (o GetAccessStrategiesStrategyArrayOutput) ToGetAccessStrategiesStrategyArrayOutputWithContext(ctx context.Context) GetAccessStrategiesStrategyArrayOutput

type GetAccessStrategiesStrategyDefaultAddrPool

type GetAccessStrategiesStrategyDefaultAddrPool struct {
	// The number of addresses in the address pool.
	AddrCount int `pulumi:"addrCount"`
	// The ID of the address pool.
	AddrPoolId string `pulumi:"addrPoolId"`
	// The weight of the address pool.
	LbaWeight int `pulumi:"lbaWeight"`
	// The name of the address pool.
	Name string `pulumi:"name"`
}

type GetAccessStrategiesStrategyDefaultAddrPoolArgs

type GetAccessStrategiesStrategyDefaultAddrPoolArgs struct {
	// The number of addresses in the address pool.
	AddrCount pulumi.IntInput `pulumi:"addrCount"`
	// The ID of the address pool.
	AddrPoolId pulumi.StringInput `pulumi:"addrPoolId"`
	// The weight of the address pool.
	LbaWeight pulumi.IntInput `pulumi:"lbaWeight"`
	// The name of the address pool.
	Name pulumi.StringInput `pulumi:"name"`
}

func (GetAccessStrategiesStrategyDefaultAddrPoolArgs) ElementType

func (GetAccessStrategiesStrategyDefaultAddrPoolArgs) ToGetAccessStrategiesStrategyDefaultAddrPoolOutput

func (i GetAccessStrategiesStrategyDefaultAddrPoolArgs) ToGetAccessStrategiesStrategyDefaultAddrPoolOutput() GetAccessStrategiesStrategyDefaultAddrPoolOutput

func (GetAccessStrategiesStrategyDefaultAddrPoolArgs) ToGetAccessStrategiesStrategyDefaultAddrPoolOutputWithContext

func (i GetAccessStrategiesStrategyDefaultAddrPoolArgs) ToGetAccessStrategiesStrategyDefaultAddrPoolOutputWithContext(ctx context.Context) GetAccessStrategiesStrategyDefaultAddrPoolOutput

type GetAccessStrategiesStrategyDefaultAddrPoolArray

type GetAccessStrategiesStrategyDefaultAddrPoolArray []GetAccessStrategiesStrategyDefaultAddrPoolInput

func (GetAccessStrategiesStrategyDefaultAddrPoolArray) ElementType

func (GetAccessStrategiesStrategyDefaultAddrPoolArray) ToGetAccessStrategiesStrategyDefaultAddrPoolArrayOutput

func (i GetAccessStrategiesStrategyDefaultAddrPoolArray) ToGetAccessStrategiesStrategyDefaultAddrPoolArrayOutput() GetAccessStrategiesStrategyDefaultAddrPoolArrayOutput

func (GetAccessStrategiesStrategyDefaultAddrPoolArray) ToGetAccessStrategiesStrategyDefaultAddrPoolArrayOutputWithContext

func (i GetAccessStrategiesStrategyDefaultAddrPoolArray) ToGetAccessStrategiesStrategyDefaultAddrPoolArrayOutputWithContext(ctx context.Context) GetAccessStrategiesStrategyDefaultAddrPoolArrayOutput

type GetAccessStrategiesStrategyDefaultAddrPoolArrayInput

type GetAccessStrategiesStrategyDefaultAddrPoolArrayInput interface {
	pulumi.Input

	ToGetAccessStrategiesStrategyDefaultAddrPoolArrayOutput() GetAccessStrategiesStrategyDefaultAddrPoolArrayOutput
	ToGetAccessStrategiesStrategyDefaultAddrPoolArrayOutputWithContext(context.Context) GetAccessStrategiesStrategyDefaultAddrPoolArrayOutput
}

GetAccessStrategiesStrategyDefaultAddrPoolArrayInput is an input type that accepts GetAccessStrategiesStrategyDefaultAddrPoolArray and GetAccessStrategiesStrategyDefaultAddrPoolArrayOutput values. You can construct a concrete instance of `GetAccessStrategiesStrategyDefaultAddrPoolArrayInput` via:

GetAccessStrategiesStrategyDefaultAddrPoolArray{ GetAccessStrategiesStrategyDefaultAddrPoolArgs{...} }

type GetAccessStrategiesStrategyDefaultAddrPoolArrayOutput

type GetAccessStrategiesStrategyDefaultAddrPoolArrayOutput struct{ *pulumi.OutputState }

func (GetAccessStrategiesStrategyDefaultAddrPoolArrayOutput) ElementType

func (GetAccessStrategiesStrategyDefaultAddrPoolArrayOutput) Index

func (GetAccessStrategiesStrategyDefaultAddrPoolArrayOutput) ToGetAccessStrategiesStrategyDefaultAddrPoolArrayOutput

func (GetAccessStrategiesStrategyDefaultAddrPoolArrayOutput) ToGetAccessStrategiesStrategyDefaultAddrPoolArrayOutputWithContext

func (o GetAccessStrategiesStrategyDefaultAddrPoolArrayOutput) ToGetAccessStrategiesStrategyDefaultAddrPoolArrayOutputWithContext(ctx context.Context) GetAccessStrategiesStrategyDefaultAddrPoolArrayOutput

type GetAccessStrategiesStrategyDefaultAddrPoolInput

type GetAccessStrategiesStrategyDefaultAddrPoolInput interface {
	pulumi.Input

	ToGetAccessStrategiesStrategyDefaultAddrPoolOutput() GetAccessStrategiesStrategyDefaultAddrPoolOutput
	ToGetAccessStrategiesStrategyDefaultAddrPoolOutputWithContext(context.Context) GetAccessStrategiesStrategyDefaultAddrPoolOutput
}

GetAccessStrategiesStrategyDefaultAddrPoolInput is an input type that accepts GetAccessStrategiesStrategyDefaultAddrPoolArgs and GetAccessStrategiesStrategyDefaultAddrPoolOutput values. You can construct a concrete instance of `GetAccessStrategiesStrategyDefaultAddrPoolInput` via:

GetAccessStrategiesStrategyDefaultAddrPoolArgs{...}

type GetAccessStrategiesStrategyDefaultAddrPoolOutput

type GetAccessStrategiesStrategyDefaultAddrPoolOutput struct{ *pulumi.OutputState }

func (GetAccessStrategiesStrategyDefaultAddrPoolOutput) AddrCount

The number of addresses in the address pool.

func (GetAccessStrategiesStrategyDefaultAddrPoolOutput) AddrPoolId

The ID of the address pool.

func (GetAccessStrategiesStrategyDefaultAddrPoolOutput) ElementType

func (GetAccessStrategiesStrategyDefaultAddrPoolOutput) LbaWeight

The weight of the address pool.

func (GetAccessStrategiesStrategyDefaultAddrPoolOutput) Name

The name of the address pool.

func (GetAccessStrategiesStrategyDefaultAddrPoolOutput) ToGetAccessStrategiesStrategyDefaultAddrPoolOutput

func (o GetAccessStrategiesStrategyDefaultAddrPoolOutput) ToGetAccessStrategiesStrategyDefaultAddrPoolOutput() GetAccessStrategiesStrategyDefaultAddrPoolOutput

func (GetAccessStrategiesStrategyDefaultAddrPoolOutput) ToGetAccessStrategiesStrategyDefaultAddrPoolOutputWithContext

func (o GetAccessStrategiesStrategyDefaultAddrPoolOutput) ToGetAccessStrategiesStrategyDefaultAddrPoolOutputWithContext(ctx context.Context) GetAccessStrategiesStrategyDefaultAddrPoolOutput

type GetAccessStrategiesStrategyFailoverAddrPool

type GetAccessStrategiesStrategyFailoverAddrPool struct {
	// The number of addresses in the address pool.
	AddrCount int `pulumi:"addrCount"`
	// The ID of the address pool.
	AddrPoolId string `pulumi:"addrPoolId"`
	// The weight of the address pool.
	LbaWeight int `pulumi:"lbaWeight"`
	// The name of the address pool.
	Name string `pulumi:"name"`
}

type GetAccessStrategiesStrategyFailoverAddrPoolArgs

type GetAccessStrategiesStrategyFailoverAddrPoolArgs struct {
	// The number of addresses in the address pool.
	AddrCount pulumi.IntInput `pulumi:"addrCount"`
	// The ID of the address pool.
	AddrPoolId pulumi.StringInput `pulumi:"addrPoolId"`
	// The weight of the address pool.
	LbaWeight pulumi.IntInput `pulumi:"lbaWeight"`
	// The name of the address pool.
	Name pulumi.StringInput `pulumi:"name"`
}

func (GetAccessStrategiesStrategyFailoverAddrPoolArgs) ElementType

func (GetAccessStrategiesStrategyFailoverAddrPoolArgs) ToGetAccessStrategiesStrategyFailoverAddrPoolOutput

func (i GetAccessStrategiesStrategyFailoverAddrPoolArgs) ToGetAccessStrategiesStrategyFailoverAddrPoolOutput() GetAccessStrategiesStrategyFailoverAddrPoolOutput

func (GetAccessStrategiesStrategyFailoverAddrPoolArgs) ToGetAccessStrategiesStrategyFailoverAddrPoolOutputWithContext

func (i GetAccessStrategiesStrategyFailoverAddrPoolArgs) ToGetAccessStrategiesStrategyFailoverAddrPoolOutputWithContext(ctx context.Context) GetAccessStrategiesStrategyFailoverAddrPoolOutput

type GetAccessStrategiesStrategyFailoverAddrPoolArray

type GetAccessStrategiesStrategyFailoverAddrPoolArray []GetAccessStrategiesStrategyFailoverAddrPoolInput

func (GetAccessStrategiesStrategyFailoverAddrPoolArray) ElementType

func (GetAccessStrategiesStrategyFailoverAddrPoolArray) ToGetAccessStrategiesStrategyFailoverAddrPoolArrayOutput

func (i GetAccessStrategiesStrategyFailoverAddrPoolArray) ToGetAccessStrategiesStrategyFailoverAddrPoolArrayOutput() GetAccessStrategiesStrategyFailoverAddrPoolArrayOutput

func (GetAccessStrategiesStrategyFailoverAddrPoolArray) ToGetAccessStrategiesStrategyFailoverAddrPoolArrayOutputWithContext

func (i GetAccessStrategiesStrategyFailoverAddrPoolArray) ToGetAccessStrategiesStrategyFailoverAddrPoolArrayOutputWithContext(ctx context.Context) GetAccessStrategiesStrategyFailoverAddrPoolArrayOutput

type GetAccessStrategiesStrategyFailoverAddrPoolArrayInput

type GetAccessStrategiesStrategyFailoverAddrPoolArrayInput interface {
	pulumi.Input

	ToGetAccessStrategiesStrategyFailoverAddrPoolArrayOutput() GetAccessStrategiesStrategyFailoverAddrPoolArrayOutput
	ToGetAccessStrategiesStrategyFailoverAddrPoolArrayOutputWithContext(context.Context) GetAccessStrategiesStrategyFailoverAddrPoolArrayOutput
}

GetAccessStrategiesStrategyFailoverAddrPoolArrayInput is an input type that accepts GetAccessStrategiesStrategyFailoverAddrPoolArray and GetAccessStrategiesStrategyFailoverAddrPoolArrayOutput values. You can construct a concrete instance of `GetAccessStrategiesStrategyFailoverAddrPoolArrayInput` via:

GetAccessStrategiesStrategyFailoverAddrPoolArray{ GetAccessStrategiesStrategyFailoverAddrPoolArgs{...} }

type GetAccessStrategiesStrategyFailoverAddrPoolArrayOutput

type GetAccessStrategiesStrategyFailoverAddrPoolArrayOutput struct{ *pulumi.OutputState }

func (GetAccessStrategiesStrategyFailoverAddrPoolArrayOutput) ElementType

func (GetAccessStrategiesStrategyFailoverAddrPoolArrayOutput) Index

func (GetAccessStrategiesStrategyFailoverAddrPoolArrayOutput) ToGetAccessStrategiesStrategyFailoverAddrPoolArrayOutput

func (GetAccessStrategiesStrategyFailoverAddrPoolArrayOutput) ToGetAccessStrategiesStrategyFailoverAddrPoolArrayOutputWithContext

func (o GetAccessStrategiesStrategyFailoverAddrPoolArrayOutput) ToGetAccessStrategiesStrategyFailoverAddrPoolArrayOutputWithContext(ctx context.Context) GetAccessStrategiesStrategyFailoverAddrPoolArrayOutput

type GetAccessStrategiesStrategyFailoverAddrPoolInput

type GetAccessStrategiesStrategyFailoverAddrPoolInput interface {
	pulumi.Input

	ToGetAccessStrategiesStrategyFailoverAddrPoolOutput() GetAccessStrategiesStrategyFailoverAddrPoolOutput
	ToGetAccessStrategiesStrategyFailoverAddrPoolOutputWithContext(context.Context) GetAccessStrategiesStrategyFailoverAddrPoolOutput
}

GetAccessStrategiesStrategyFailoverAddrPoolInput is an input type that accepts GetAccessStrategiesStrategyFailoverAddrPoolArgs and GetAccessStrategiesStrategyFailoverAddrPoolOutput values. You can construct a concrete instance of `GetAccessStrategiesStrategyFailoverAddrPoolInput` via:

GetAccessStrategiesStrategyFailoverAddrPoolArgs{...}

type GetAccessStrategiesStrategyFailoverAddrPoolOutput

type GetAccessStrategiesStrategyFailoverAddrPoolOutput struct{ *pulumi.OutputState }

func (GetAccessStrategiesStrategyFailoverAddrPoolOutput) AddrCount

The number of addresses in the address pool.

func (GetAccessStrategiesStrategyFailoverAddrPoolOutput) AddrPoolId

The ID of the address pool.

func (GetAccessStrategiesStrategyFailoverAddrPoolOutput) ElementType

func (GetAccessStrategiesStrategyFailoverAddrPoolOutput) LbaWeight

The weight of the address pool.

func (GetAccessStrategiesStrategyFailoverAddrPoolOutput) Name

The name of the address pool.

func (GetAccessStrategiesStrategyFailoverAddrPoolOutput) ToGetAccessStrategiesStrategyFailoverAddrPoolOutput

func (o GetAccessStrategiesStrategyFailoverAddrPoolOutput) ToGetAccessStrategiesStrategyFailoverAddrPoolOutput() GetAccessStrategiesStrategyFailoverAddrPoolOutput

func (GetAccessStrategiesStrategyFailoverAddrPoolOutput) ToGetAccessStrategiesStrategyFailoverAddrPoolOutputWithContext

func (o GetAccessStrategiesStrategyFailoverAddrPoolOutput) ToGetAccessStrategiesStrategyFailoverAddrPoolOutputWithContext(ctx context.Context) GetAccessStrategiesStrategyFailoverAddrPoolOutput

type GetAccessStrategiesStrategyInput

type GetAccessStrategiesStrategyInput interface {
	pulumi.Input

	ToGetAccessStrategiesStrategyOutput() GetAccessStrategiesStrategyOutput
	ToGetAccessStrategiesStrategyOutputWithContext(context.Context) GetAccessStrategiesStrategyOutput
}

GetAccessStrategiesStrategyInput is an input type that accepts GetAccessStrategiesStrategyArgs and GetAccessStrategiesStrategyOutput values. You can construct a concrete instance of `GetAccessStrategiesStrategyInput` via:

GetAccessStrategiesStrategyArgs{...}

type GetAccessStrategiesStrategyLine

type GetAccessStrategiesStrategyLine struct {
	// The code of the source region group.
	GroupCode string `pulumi:"groupCode"`
	// The name of the source region group.
	GroupName string `pulumi:"groupName"`
	// The line code of the source region.
	LineCode string `pulumi:"lineCode"`
	// The line name of the source region.
	LineName string `pulumi:"lineName"`
}

type GetAccessStrategiesStrategyLineArgs

type GetAccessStrategiesStrategyLineArgs struct {
	// The code of the source region group.
	GroupCode pulumi.StringInput `pulumi:"groupCode"`
	// The name of the source region group.
	GroupName pulumi.StringInput `pulumi:"groupName"`
	// The line code of the source region.
	LineCode pulumi.StringInput `pulumi:"lineCode"`
	// The line name of the source region.
	LineName pulumi.StringInput `pulumi:"lineName"`
}

func (GetAccessStrategiesStrategyLineArgs) ElementType

func (GetAccessStrategiesStrategyLineArgs) ToGetAccessStrategiesStrategyLineOutput

func (i GetAccessStrategiesStrategyLineArgs) ToGetAccessStrategiesStrategyLineOutput() GetAccessStrategiesStrategyLineOutput

func (GetAccessStrategiesStrategyLineArgs) ToGetAccessStrategiesStrategyLineOutputWithContext

func (i GetAccessStrategiesStrategyLineArgs) ToGetAccessStrategiesStrategyLineOutputWithContext(ctx context.Context) GetAccessStrategiesStrategyLineOutput

type GetAccessStrategiesStrategyLineArray

type GetAccessStrategiesStrategyLineArray []GetAccessStrategiesStrategyLineInput

func (GetAccessStrategiesStrategyLineArray) ElementType

func (GetAccessStrategiesStrategyLineArray) ToGetAccessStrategiesStrategyLineArrayOutput

func (i GetAccessStrategiesStrategyLineArray) ToGetAccessStrategiesStrategyLineArrayOutput() GetAccessStrategiesStrategyLineArrayOutput

func (GetAccessStrategiesStrategyLineArray) ToGetAccessStrategiesStrategyLineArrayOutputWithContext

func (i GetAccessStrategiesStrategyLineArray) ToGetAccessStrategiesStrategyLineArrayOutputWithContext(ctx context.Context) GetAccessStrategiesStrategyLineArrayOutput

type GetAccessStrategiesStrategyLineArrayInput

type GetAccessStrategiesStrategyLineArrayInput interface {
	pulumi.Input

	ToGetAccessStrategiesStrategyLineArrayOutput() GetAccessStrategiesStrategyLineArrayOutput
	ToGetAccessStrategiesStrategyLineArrayOutputWithContext(context.Context) GetAccessStrategiesStrategyLineArrayOutput
}

GetAccessStrategiesStrategyLineArrayInput is an input type that accepts GetAccessStrategiesStrategyLineArray and GetAccessStrategiesStrategyLineArrayOutput values. You can construct a concrete instance of `GetAccessStrategiesStrategyLineArrayInput` via:

GetAccessStrategiesStrategyLineArray{ GetAccessStrategiesStrategyLineArgs{...} }

type GetAccessStrategiesStrategyLineArrayOutput

type GetAccessStrategiesStrategyLineArrayOutput struct{ *pulumi.OutputState }

func (GetAccessStrategiesStrategyLineArrayOutput) ElementType

func (GetAccessStrategiesStrategyLineArrayOutput) Index

func (GetAccessStrategiesStrategyLineArrayOutput) ToGetAccessStrategiesStrategyLineArrayOutput

func (o GetAccessStrategiesStrategyLineArrayOutput) ToGetAccessStrategiesStrategyLineArrayOutput() GetAccessStrategiesStrategyLineArrayOutput

func (GetAccessStrategiesStrategyLineArrayOutput) ToGetAccessStrategiesStrategyLineArrayOutputWithContext

func (o GetAccessStrategiesStrategyLineArrayOutput) ToGetAccessStrategiesStrategyLineArrayOutputWithContext(ctx context.Context) GetAccessStrategiesStrategyLineArrayOutput

type GetAccessStrategiesStrategyLineInput

type GetAccessStrategiesStrategyLineInput interface {
	pulumi.Input

	ToGetAccessStrategiesStrategyLineOutput() GetAccessStrategiesStrategyLineOutput
	ToGetAccessStrategiesStrategyLineOutputWithContext(context.Context) GetAccessStrategiesStrategyLineOutput
}

GetAccessStrategiesStrategyLineInput is an input type that accepts GetAccessStrategiesStrategyLineArgs and GetAccessStrategiesStrategyLineOutput values. You can construct a concrete instance of `GetAccessStrategiesStrategyLineInput` via:

GetAccessStrategiesStrategyLineArgs{...}

type GetAccessStrategiesStrategyLineOutput

type GetAccessStrategiesStrategyLineOutput struct{ *pulumi.OutputState }

func (GetAccessStrategiesStrategyLineOutput) ElementType

func (GetAccessStrategiesStrategyLineOutput) GroupCode

The code of the source region group.

func (GetAccessStrategiesStrategyLineOutput) GroupName

The name of the source region group.

func (GetAccessStrategiesStrategyLineOutput) LineCode

The line code of the source region.

func (GetAccessStrategiesStrategyLineOutput) LineName

The line name of the source region.

func (GetAccessStrategiesStrategyLineOutput) ToGetAccessStrategiesStrategyLineOutput

func (o GetAccessStrategiesStrategyLineOutput) ToGetAccessStrategiesStrategyLineOutput() GetAccessStrategiesStrategyLineOutput

func (GetAccessStrategiesStrategyLineOutput) ToGetAccessStrategiesStrategyLineOutputWithContext

func (o GetAccessStrategiesStrategyLineOutput) ToGetAccessStrategiesStrategyLineOutputWithContext(ctx context.Context) GetAccessStrategiesStrategyLineOutput

type GetAccessStrategiesStrategyOutput

type GetAccessStrategiesStrategyOutput struct{ *pulumi.OutputState }

func (GetAccessStrategiesStrategyOutput) AccessMode

The primary/secondary switchover policy for address pool groups.

func (GetAccessStrategiesStrategyOutput) AccessStrategyId

The first ID of the resource.

func (GetAccessStrategiesStrategyOutput) CreateTime

The time when the access policy was created.

func (GetAccessStrategiesStrategyOutput) CreateTimestamp

The timestamp that indicates when the access policy was created.

func (GetAccessStrategiesStrategyOutput) DefaultAddrPoolType

func (o GetAccessStrategiesStrategyOutput) DefaultAddrPoolType() pulumi.StringOutput

The type of the primary address pool.

func (GetAccessStrategiesStrategyOutput) DefaultAddrPools

The address pools in the primary address pool group.

func (GetAccessStrategiesStrategyOutput) DefaultAvailableAddrNum

func (o GetAccessStrategiesStrategyOutput) DefaultAvailableAddrNum() pulumi.IntOutput

The number of addresses currently available in the primary address pool.

func (GetAccessStrategiesStrategyOutput) DefaultLatencyOptimization

func (o GetAccessStrategiesStrategyOutput) DefaultLatencyOptimization() pulumi.StringOutput

Indicates whether scheduling optimization for latency resolution was enabled for the primary address pool group.

func (GetAccessStrategiesStrategyOutput) DefaultLbaStrategy

func (o GetAccessStrategiesStrategyOutput) DefaultLbaStrategy() pulumi.StringOutput

The load balancing policy of the primary address pool group.

func (GetAccessStrategiesStrategyOutput) DefaultMaxReturnAddrNum

func (o GetAccessStrategiesStrategyOutput) DefaultMaxReturnAddrNum() pulumi.IntOutput

The maximum number of addresses returned by the primary address pool set.

func (GetAccessStrategiesStrategyOutput) DefaultMinAvailableAddrNum

func (o GetAccessStrategiesStrategyOutput) DefaultMinAvailableAddrNum() pulumi.IntOutput

The minimum number of available addresses for the primary address pool set.

func (GetAccessStrategiesStrategyOutput) EffectiveAddrPoolGroupType

func (o GetAccessStrategiesStrategyOutput) EffectiveAddrPoolGroupType() pulumi.StringOutput

The type of the active address pool group.

func (GetAccessStrategiesStrategyOutput) ElementType

func (GetAccessStrategiesStrategyOutput) FailoverAddrPoolType

func (o GetAccessStrategiesStrategyOutput) FailoverAddrPoolType() pulumi.StringOutput

The type of the secondary address pool.

func (GetAccessStrategiesStrategyOutput) FailoverAddrPools

The address pools in the secondary address pool group.

func (GetAccessStrategiesStrategyOutput) FailoverAvailableAddrNum

func (o GetAccessStrategiesStrategyOutput) FailoverAvailableAddrNum() pulumi.IntOutput

The number of available addresses in the standby address pool.

func (GetAccessStrategiesStrategyOutput) FailoverLatencyOptimization

func (o GetAccessStrategiesStrategyOutput) FailoverLatencyOptimization() pulumi.StringOutput

Indicates whether scheduling optimization for latency resolution was enabled for the secondary address pool group.

func (GetAccessStrategiesStrategyOutput) FailoverLbaStrategy

func (o GetAccessStrategiesStrategyOutput) FailoverLbaStrategy() pulumi.StringOutput

The load balancing policy of the secondary address pool group.

func (GetAccessStrategiesStrategyOutput) FailoverMaxReturnAddrNum

func (o GetAccessStrategiesStrategyOutput) FailoverMaxReturnAddrNum() pulumi.IntOutput

The maximum number of returned addresses in the standby address pool.

func (GetAccessStrategiesStrategyOutput) FailoverMinAvailableAddrNum

func (o GetAccessStrategiesStrategyOutput) FailoverMinAvailableAddrNum() pulumi.IntOutput

The minimum number of available addresses in the standby address pool.

func (GetAccessStrategiesStrategyOutput) Id

The ID of the Access Strategy.

func (GetAccessStrategiesStrategyOutput) InstanceId

The Id of the associated instance.

func (GetAccessStrategiesStrategyOutput) Lines

List of source regions.

func (GetAccessStrategiesStrategyOutput) StrategyMode

The type of the access policy.

func (GetAccessStrategiesStrategyOutput) StrategyName

The name of the access policy.

func (GetAccessStrategiesStrategyOutput) ToGetAccessStrategiesStrategyOutput

func (o GetAccessStrategiesStrategyOutput) ToGetAccessStrategiesStrategyOutput() GetAccessStrategiesStrategyOutput

func (GetAccessStrategiesStrategyOutput) ToGetAccessStrategiesStrategyOutputWithContext

func (o GetAccessStrategiesStrategyOutput) ToGetAccessStrategiesStrategyOutputWithContext(ctx context.Context) GetAccessStrategiesStrategyOutput

type GetAddressPoolsArgs

type GetAddressPoolsArgs struct {
	// Default to `false`. Set it to `true` can output more details about resource attributes.
	EnableDetails *bool `pulumi:"enableDetails"`
	// A list of Address Pool IDs.
	Ids []string `pulumi:"ids"`
	// The id of the instance.
	InstanceId string `pulumi:"instanceId"`
	// A regex string to filter results by Address Pool name.
	NameRegex  *string `pulumi:"nameRegex"`
	OutputFile *string `pulumi:"outputFile"`
}

A collection of arguments for invoking getAddressPools.

type GetAddressPoolsOutputArgs

type GetAddressPoolsOutputArgs struct {
	// Default to `false`. Set it to `true` can output more details about resource attributes.
	EnableDetails pulumi.BoolPtrInput `pulumi:"enableDetails"`
	// A list of Address Pool IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// The id of the instance.
	InstanceId pulumi.StringInput `pulumi:"instanceId"`
	// A regex string to filter results by Address Pool name.
	NameRegex  pulumi.StringPtrInput `pulumi:"nameRegex"`
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
}

A collection of arguments for invoking getAddressPools.

func (GetAddressPoolsOutputArgs) ElementType

func (GetAddressPoolsOutputArgs) ElementType() reflect.Type

type GetAddressPoolsPool

type GetAddressPoolsPool struct {
	// The first ID of the resource.
	AddressPoolId string `pulumi:"addressPoolId"`
	// The name of the address pool.
	AddressPoolName string `pulumi:"addressPoolName"`
	// The address that you want to add to the address pool.
	Addresses []GetAddressPoolsPoolAddress `pulumi:"addresses"`
	// The time when the address pool was created.
	CreateTime string `pulumi:"createTime"`
	// The timestamp that indicates when the address pool was created.
	CreateTimestamp string `pulumi:"createTimestamp"`
	// The ID of the Address Pool.
	Id string `pulumi:"id"`
	// The id of the instance.
	InstanceId string `pulumi:"instanceId"`
	// The load balancing policy of the address pool.
	LbaStrategy string `pulumi:"lbaStrategy"`
	// The ID of the health check task.
	MonitorConfigId string `pulumi:"monitorConfigId"`
	// Indicates whether health checks are configured.
	MonitorStatus string `pulumi:"monitorStatus"`
	// The type of the address pool.
	Type string `pulumi:"type"`
	// The time when the address pool was updated.
	UpdateTime string `pulumi:"updateTime"`
	// The timestamp that indicates when the address pool was updated.
	UpdateTimestamp string `pulumi:"updateTimestamp"`
}

type GetAddressPoolsPoolAddress

type GetAddressPoolsPoolAddress struct {
	// The address that you want to add to the address pool.
	Address string `pulumi:"address"`
	// The source region of the address.
	AttributeInfo string `pulumi:"attributeInfo"`
	// The weight of the address.
	LbaWeight int `pulumi:"lbaWeight"`
	// The type of the address.
	Mode string `pulumi:"mode"`
	// The description of the address.
	Remark string `pulumi:"remark"`
}

type GetAddressPoolsPoolAddressArgs

type GetAddressPoolsPoolAddressArgs struct {
	// The address that you want to add to the address pool.
	Address pulumi.StringInput `pulumi:"address"`
	// The source region of the address.
	AttributeInfo pulumi.StringInput `pulumi:"attributeInfo"`
	// The weight of the address.
	LbaWeight pulumi.IntInput `pulumi:"lbaWeight"`
	// The type of the address.
	Mode pulumi.StringInput `pulumi:"mode"`
	// The description of the address.
	Remark pulumi.StringInput `pulumi:"remark"`
}

func (GetAddressPoolsPoolAddressArgs) ElementType

func (GetAddressPoolsPoolAddressArgs) ToGetAddressPoolsPoolAddressOutput

func (i GetAddressPoolsPoolAddressArgs) ToGetAddressPoolsPoolAddressOutput() GetAddressPoolsPoolAddressOutput

func (GetAddressPoolsPoolAddressArgs) ToGetAddressPoolsPoolAddressOutputWithContext

func (i GetAddressPoolsPoolAddressArgs) ToGetAddressPoolsPoolAddressOutputWithContext(ctx context.Context) GetAddressPoolsPoolAddressOutput

type GetAddressPoolsPoolAddressArray

type GetAddressPoolsPoolAddressArray []GetAddressPoolsPoolAddressInput

func (GetAddressPoolsPoolAddressArray) ElementType

func (GetAddressPoolsPoolAddressArray) ToGetAddressPoolsPoolAddressArrayOutput

func (i GetAddressPoolsPoolAddressArray) ToGetAddressPoolsPoolAddressArrayOutput() GetAddressPoolsPoolAddressArrayOutput

func (GetAddressPoolsPoolAddressArray) ToGetAddressPoolsPoolAddressArrayOutputWithContext

func (i GetAddressPoolsPoolAddressArray) ToGetAddressPoolsPoolAddressArrayOutputWithContext(ctx context.Context) GetAddressPoolsPoolAddressArrayOutput

type GetAddressPoolsPoolAddressArrayInput

type GetAddressPoolsPoolAddressArrayInput interface {
	pulumi.Input

	ToGetAddressPoolsPoolAddressArrayOutput() GetAddressPoolsPoolAddressArrayOutput
	ToGetAddressPoolsPoolAddressArrayOutputWithContext(context.Context) GetAddressPoolsPoolAddressArrayOutput
}

GetAddressPoolsPoolAddressArrayInput is an input type that accepts GetAddressPoolsPoolAddressArray and GetAddressPoolsPoolAddressArrayOutput values. You can construct a concrete instance of `GetAddressPoolsPoolAddressArrayInput` via:

GetAddressPoolsPoolAddressArray{ GetAddressPoolsPoolAddressArgs{...} }

type GetAddressPoolsPoolAddressArrayOutput

type GetAddressPoolsPoolAddressArrayOutput struct{ *pulumi.OutputState }

func (GetAddressPoolsPoolAddressArrayOutput) ElementType

func (GetAddressPoolsPoolAddressArrayOutput) Index

func (GetAddressPoolsPoolAddressArrayOutput) ToGetAddressPoolsPoolAddressArrayOutput

func (o GetAddressPoolsPoolAddressArrayOutput) ToGetAddressPoolsPoolAddressArrayOutput() GetAddressPoolsPoolAddressArrayOutput

func (GetAddressPoolsPoolAddressArrayOutput) ToGetAddressPoolsPoolAddressArrayOutputWithContext

func (o GetAddressPoolsPoolAddressArrayOutput) ToGetAddressPoolsPoolAddressArrayOutputWithContext(ctx context.Context) GetAddressPoolsPoolAddressArrayOutput

type GetAddressPoolsPoolAddressInput

type GetAddressPoolsPoolAddressInput interface {
	pulumi.Input

	ToGetAddressPoolsPoolAddressOutput() GetAddressPoolsPoolAddressOutput
	ToGetAddressPoolsPoolAddressOutputWithContext(context.Context) GetAddressPoolsPoolAddressOutput
}

GetAddressPoolsPoolAddressInput is an input type that accepts GetAddressPoolsPoolAddressArgs and GetAddressPoolsPoolAddressOutput values. You can construct a concrete instance of `GetAddressPoolsPoolAddressInput` via:

GetAddressPoolsPoolAddressArgs{...}

type GetAddressPoolsPoolAddressOutput

type GetAddressPoolsPoolAddressOutput struct{ *pulumi.OutputState }

func (GetAddressPoolsPoolAddressOutput) Address

The address that you want to add to the address pool.

func (GetAddressPoolsPoolAddressOutput) AttributeInfo

The source region of the address.

func (GetAddressPoolsPoolAddressOutput) ElementType

func (GetAddressPoolsPoolAddressOutput) LbaWeight

The weight of the address.

func (GetAddressPoolsPoolAddressOutput) Mode

The type of the address.

func (GetAddressPoolsPoolAddressOutput) Remark

The description of the address.

func (GetAddressPoolsPoolAddressOutput) ToGetAddressPoolsPoolAddressOutput

func (o GetAddressPoolsPoolAddressOutput) ToGetAddressPoolsPoolAddressOutput() GetAddressPoolsPoolAddressOutput

func (GetAddressPoolsPoolAddressOutput) ToGetAddressPoolsPoolAddressOutputWithContext

func (o GetAddressPoolsPoolAddressOutput) ToGetAddressPoolsPoolAddressOutputWithContext(ctx context.Context) GetAddressPoolsPoolAddressOutput

type GetAddressPoolsPoolArgs

type GetAddressPoolsPoolArgs struct {
	// The first ID of the resource.
	AddressPoolId pulumi.StringInput `pulumi:"addressPoolId"`
	// The name of the address pool.
	AddressPoolName pulumi.StringInput `pulumi:"addressPoolName"`
	// The address that you want to add to the address pool.
	Addresses GetAddressPoolsPoolAddressArrayInput `pulumi:"addresses"`
	// The time when the address pool was created.
	CreateTime pulumi.StringInput `pulumi:"createTime"`
	// The timestamp that indicates when the address pool was created.
	CreateTimestamp pulumi.StringInput `pulumi:"createTimestamp"`
	// The ID of the Address Pool.
	Id pulumi.StringInput `pulumi:"id"`
	// The id of the instance.
	InstanceId pulumi.StringInput `pulumi:"instanceId"`
	// The load balancing policy of the address pool.
	LbaStrategy pulumi.StringInput `pulumi:"lbaStrategy"`
	// The ID of the health check task.
	MonitorConfigId pulumi.StringInput `pulumi:"monitorConfigId"`
	// Indicates whether health checks are configured.
	MonitorStatus pulumi.StringInput `pulumi:"monitorStatus"`
	// The type of the address pool.
	Type pulumi.StringInput `pulumi:"type"`
	// The time when the address pool was updated.
	UpdateTime pulumi.StringInput `pulumi:"updateTime"`
	// The timestamp that indicates when the address pool was updated.
	UpdateTimestamp pulumi.StringInput `pulumi:"updateTimestamp"`
}

func (GetAddressPoolsPoolArgs) ElementType

func (GetAddressPoolsPoolArgs) ElementType() reflect.Type

func (GetAddressPoolsPoolArgs) ToGetAddressPoolsPoolOutput

func (i GetAddressPoolsPoolArgs) ToGetAddressPoolsPoolOutput() GetAddressPoolsPoolOutput

func (GetAddressPoolsPoolArgs) ToGetAddressPoolsPoolOutputWithContext

func (i GetAddressPoolsPoolArgs) ToGetAddressPoolsPoolOutputWithContext(ctx context.Context) GetAddressPoolsPoolOutput

type GetAddressPoolsPoolArray

type GetAddressPoolsPoolArray []GetAddressPoolsPoolInput

func (GetAddressPoolsPoolArray) ElementType

func (GetAddressPoolsPoolArray) ElementType() reflect.Type

func (GetAddressPoolsPoolArray) ToGetAddressPoolsPoolArrayOutput

func (i GetAddressPoolsPoolArray) ToGetAddressPoolsPoolArrayOutput() GetAddressPoolsPoolArrayOutput

func (GetAddressPoolsPoolArray) ToGetAddressPoolsPoolArrayOutputWithContext

func (i GetAddressPoolsPoolArray) ToGetAddressPoolsPoolArrayOutputWithContext(ctx context.Context) GetAddressPoolsPoolArrayOutput

type GetAddressPoolsPoolArrayInput

type GetAddressPoolsPoolArrayInput interface {
	pulumi.Input

	ToGetAddressPoolsPoolArrayOutput() GetAddressPoolsPoolArrayOutput
	ToGetAddressPoolsPoolArrayOutputWithContext(context.Context) GetAddressPoolsPoolArrayOutput
}

GetAddressPoolsPoolArrayInput is an input type that accepts GetAddressPoolsPoolArray and GetAddressPoolsPoolArrayOutput values. You can construct a concrete instance of `GetAddressPoolsPoolArrayInput` via:

GetAddressPoolsPoolArray{ GetAddressPoolsPoolArgs{...} }

type GetAddressPoolsPoolArrayOutput

type GetAddressPoolsPoolArrayOutput struct{ *pulumi.OutputState }

func (GetAddressPoolsPoolArrayOutput) ElementType

func (GetAddressPoolsPoolArrayOutput) Index

func (GetAddressPoolsPoolArrayOutput) ToGetAddressPoolsPoolArrayOutput

func (o GetAddressPoolsPoolArrayOutput) ToGetAddressPoolsPoolArrayOutput() GetAddressPoolsPoolArrayOutput

func (GetAddressPoolsPoolArrayOutput) ToGetAddressPoolsPoolArrayOutputWithContext

func (o GetAddressPoolsPoolArrayOutput) ToGetAddressPoolsPoolArrayOutputWithContext(ctx context.Context) GetAddressPoolsPoolArrayOutput

type GetAddressPoolsPoolInput

type GetAddressPoolsPoolInput interface {
	pulumi.Input

	ToGetAddressPoolsPoolOutput() GetAddressPoolsPoolOutput
	ToGetAddressPoolsPoolOutputWithContext(context.Context) GetAddressPoolsPoolOutput
}

GetAddressPoolsPoolInput is an input type that accepts GetAddressPoolsPoolArgs and GetAddressPoolsPoolOutput values. You can construct a concrete instance of `GetAddressPoolsPoolInput` via:

GetAddressPoolsPoolArgs{...}

type GetAddressPoolsPoolOutput

type GetAddressPoolsPoolOutput struct{ *pulumi.OutputState }

func (GetAddressPoolsPoolOutput) AddressPoolId

func (o GetAddressPoolsPoolOutput) AddressPoolId() pulumi.StringOutput

The first ID of the resource.

func (GetAddressPoolsPoolOutput) AddressPoolName

func (o GetAddressPoolsPoolOutput) AddressPoolName() pulumi.StringOutput

The name of the address pool.

func (GetAddressPoolsPoolOutput) Addresses

The address that you want to add to the address pool.

func (GetAddressPoolsPoolOutput) CreateTime

The time when the address pool was created.

func (GetAddressPoolsPoolOutput) CreateTimestamp

func (o GetAddressPoolsPoolOutput) CreateTimestamp() pulumi.StringOutput

The timestamp that indicates when the address pool was created.

func (GetAddressPoolsPoolOutput) ElementType

func (GetAddressPoolsPoolOutput) ElementType() reflect.Type

func (GetAddressPoolsPoolOutput) Id

The ID of the Address Pool.

func (GetAddressPoolsPoolOutput) InstanceId

The id of the instance.

func (GetAddressPoolsPoolOutput) LbaStrategy

The load balancing policy of the address pool.

func (GetAddressPoolsPoolOutput) MonitorConfigId

func (o GetAddressPoolsPoolOutput) MonitorConfigId() pulumi.StringOutput

The ID of the health check task.

func (GetAddressPoolsPoolOutput) MonitorStatus

func (o GetAddressPoolsPoolOutput) MonitorStatus() pulumi.StringOutput

Indicates whether health checks are configured.

func (GetAddressPoolsPoolOutput) ToGetAddressPoolsPoolOutput

func (o GetAddressPoolsPoolOutput) ToGetAddressPoolsPoolOutput() GetAddressPoolsPoolOutput

func (GetAddressPoolsPoolOutput) ToGetAddressPoolsPoolOutputWithContext

func (o GetAddressPoolsPoolOutput) ToGetAddressPoolsPoolOutputWithContext(ctx context.Context) GetAddressPoolsPoolOutput

func (GetAddressPoolsPoolOutput) Type

The type of the address pool.

func (GetAddressPoolsPoolOutput) UpdateTime

The time when the address pool was updated.

func (GetAddressPoolsPoolOutput) UpdateTimestamp

func (o GetAddressPoolsPoolOutput) UpdateTimestamp() pulumi.StringOutput

The timestamp that indicates when the address pool was updated.

type GetAddressPoolsResult

type GetAddressPoolsResult struct {
	EnableDetails *bool `pulumi:"enableDetails"`
	// The provider-assigned unique ID for this managed resource.
	Id         string                `pulumi:"id"`
	Ids        []string              `pulumi:"ids"`
	InstanceId string                `pulumi:"instanceId"`
	NameRegex  *string               `pulumi:"nameRegex"`
	Names      []string              `pulumi:"names"`
	OutputFile *string               `pulumi:"outputFile"`
	Pools      []GetAddressPoolsPool `pulumi:"pools"`
}

A collection of values returned by getAddressPools.

func GetAddressPools

func GetAddressPools(ctx *pulumi.Context, args *GetAddressPoolsArgs, opts ...pulumi.InvokeOption) (*GetAddressPoolsResult, error)

This data source provides the Alidns Address Pools of the current Alibaba Cloud user.

> **NOTE:** Available in v1.152.0+.

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/dns"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/dns"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		ids, err := dns.GetAddressPools(ctx, &dns.GetAddressPoolsArgs{
			InstanceId: "example_value",
			Ids: []string{
				"example_value-1",
				"example_value-2",
			},
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("alidnsAddressPoolId1", ids.Pools[0].Id)
		nameRegex, err := dns.GetAddressPools(ctx, &dns.GetAddressPoolsArgs{
			InstanceId: "example_value",
			NameRegex:  pulumi.StringRef("^my-AddressPool"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("alidnsAddressPoolId2", nameRegex.Pools[0].Id)
		return nil
	})
}

```

type GetAddressPoolsResultOutput

type GetAddressPoolsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAddressPools.

func (GetAddressPoolsResultOutput) ElementType

func (GetAddressPoolsResultOutput) EnableDetails

func (GetAddressPoolsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetAddressPoolsResultOutput) Ids

func (GetAddressPoolsResultOutput) InstanceId

func (GetAddressPoolsResultOutput) NameRegex

func (GetAddressPoolsResultOutput) Names

func (GetAddressPoolsResultOutput) OutputFile

func (GetAddressPoolsResultOutput) Pools

func (GetAddressPoolsResultOutput) ToGetAddressPoolsResultOutput

func (o GetAddressPoolsResultOutput) ToGetAddressPoolsResultOutput() GetAddressPoolsResultOutput

func (GetAddressPoolsResultOutput) ToGetAddressPoolsResultOutputWithContext

func (o GetAddressPoolsResultOutput) ToGetAddressPoolsResultOutputWithContext(ctx context.Context) GetAddressPoolsResultOutput

type GetAlidnsDomainGroupsArgs

type GetAlidnsDomainGroupsArgs struct {
	// A list of instance IDs.
	Ids []string `pulumi:"ids"`
	// A regex string to filter results by the domain group name.
	NameRegex  *string `pulumi:"nameRegex"`
	OutputFile *string `pulumi:"outputFile"`
}

A collection of arguments for invoking getAlidnsDomainGroups.

type GetAlidnsDomainGroupsGroup

type GetAlidnsDomainGroupsGroup struct {
	// Number of domain names in the group.
	DomainCount int `pulumi:"domainCount"`
	// Id of the domain group.
	GroupId string `pulumi:"groupId"`
	// The name of the domain group.
	GroupName string `pulumi:"groupName"`
	// Id of the instance.
	Id string `pulumi:"id"`
}

type GetAlidnsDomainGroupsGroupArgs

type GetAlidnsDomainGroupsGroupArgs struct {
	// Number of domain names in the group.
	DomainCount pulumi.IntInput `pulumi:"domainCount"`
	// Id of the domain group.
	GroupId pulumi.StringInput `pulumi:"groupId"`
	// The name of the domain group.
	GroupName pulumi.StringInput `pulumi:"groupName"`
	// Id of the instance.
	Id pulumi.StringInput `pulumi:"id"`
}

func (GetAlidnsDomainGroupsGroupArgs) ElementType

func (GetAlidnsDomainGroupsGroupArgs) ToGetAlidnsDomainGroupsGroupOutput

func (i GetAlidnsDomainGroupsGroupArgs) ToGetAlidnsDomainGroupsGroupOutput() GetAlidnsDomainGroupsGroupOutput

func (GetAlidnsDomainGroupsGroupArgs) ToGetAlidnsDomainGroupsGroupOutputWithContext

func (i GetAlidnsDomainGroupsGroupArgs) ToGetAlidnsDomainGroupsGroupOutputWithContext(ctx context.Context) GetAlidnsDomainGroupsGroupOutput

type GetAlidnsDomainGroupsGroupArray

type GetAlidnsDomainGroupsGroupArray []GetAlidnsDomainGroupsGroupInput

func (GetAlidnsDomainGroupsGroupArray) ElementType

func (GetAlidnsDomainGroupsGroupArray) ToGetAlidnsDomainGroupsGroupArrayOutput

func (i GetAlidnsDomainGroupsGroupArray) ToGetAlidnsDomainGroupsGroupArrayOutput() GetAlidnsDomainGroupsGroupArrayOutput

func (GetAlidnsDomainGroupsGroupArray) ToGetAlidnsDomainGroupsGroupArrayOutputWithContext

func (i GetAlidnsDomainGroupsGroupArray) ToGetAlidnsDomainGroupsGroupArrayOutputWithContext(ctx context.Context) GetAlidnsDomainGroupsGroupArrayOutput

type GetAlidnsDomainGroupsGroupArrayInput

type GetAlidnsDomainGroupsGroupArrayInput interface {
	pulumi.Input

	ToGetAlidnsDomainGroupsGroupArrayOutput() GetAlidnsDomainGroupsGroupArrayOutput
	ToGetAlidnsDomainGroupsGroupArrayOutputWithContext(context.Context) GetAlidnsDomainGroupsGroupArrayOutput
}

GetAlidnsDomainGroupsGroupArrayInput is an input type that accepts GetAlidnsDomainGroupsGroupArray and GetAlidnsDomainGroupsGroupArrayOutput values. You can construct a concrete instance of `GetAlidnsDomainGroupsGroupArrayInput` via:

GetAlidnsDomainGroupsGroupArray{ GetAlidnsDomainGroupsGroupArgs{...} }

type GetAlidnsDomainGroupsGroupArrayOutput

type GetAlidnsDomainGroupsGroupArrayOutput struct{ *pulumi.OutputState }

func (GetAlidnsDomainGroupsGroupArrayOutput) ElementType

func (GetAlidnsDomainGroupsGroupArrayOutput) Index

func (GetAlidnsDomainGroupsGroupArrayOutput) ToGetAlidnsDomainGroupsGroupArrayOutput

func (o GetAlidnsDomainGroupsGroupArrayOutput) ToGetAlidnsDomainGroupsGroupArrayOutput() GetAlidnsDomainGroupsGroupArrayOutput

func (GetAlidnsDomainGroupsGroupArrayOutput) ToGetAlidnsDomainGroupsGroupArrayOutputWithContext

func (o GetAlidnsDomainGroupsGroupArrayOutput) ToGetAlidnsDomainGroupsGroupArrayOutputWithContext(ctx context.Context) GetAlidnsDomainGroupsGroupArrayOutput

type GetAlidnsDomainGroupsGroupInput

type GetAlidnsDomainGroupsGroupInput interface {
	pulumi.Input

	ToGetAlidnsDomainGroupsGroupOutput() GetAlidnsDomainGroupsGroupOutput
	ToGetAlidnsDomainGroupsGroupOutputWithContext(context.Context) GetAlidnsDomainGroupsGroupOutput
}

GetAlidnsDomainGroupsGroupInput is an input type that accepts GetAlidnsDomainGroupsGroupArgs and GetAlidnsDomainGroupsGroupOutput values. You can construct a concrete instance of `GetAlidnsDomainGroupsGroupInput` via:

GetAlidnsDomainGroupsGroupArgs{...}

type GetAlidnsDomainGroupsGroupOutput

type GetAlidnsDomainGroupsGroupOutput struct{ *pulumi.OutputState }

func (GetAlidnsDomainGroupsGroupOutput) DomainCount

Number of domain names in the group.

func (GetAlidnsDomainGroupsGroupOutput) ElementType

func (GetAlidnsDomainGroupsGroupOutput) GroupId

Id of the domain group.

func (GetAlidnsDomainGroupsGroupOutput) GroupName

The name of the domain group.

func (GetAlidnsDomainGroupsGroupOutput) Id

Id of the instance.

func (GetAlidnsDomainGroupsGroupOutput) ToGetAlidnsDomainGroupsGroupOutput

func (o GetAlidnsDomainGroupsGroupOutput) ToGetAlidnsDomainGroupsGroupOutput() GetAlidnsDomainGroupsGroupOutput

func (GetAlidnsDomainGroupsGroupOutput) ToGetAlidnsDomainGroupsGroupOutputWithContext

func (o GetAlidnsDomainGroupsGroupOutput) ToGetAlidnsDomainGroupsGroupOutputWithContext(ctx context.Context) GetAlidnsDomainGroupsGroupOutput

type GetAlidnsDomainGroupsOutputArgs

type GetAlidnsDomainGroupsOutputArgs struct {
	// A list of instance IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// A regex string to filter results by the domain group name.
	NameRegex  pulumi.StringPtrInput `pulumi:"nameRegex"`
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
}

A collection of arguments for invoking getAlidnsDomainGroups.

func (GetAlidnsDomainGroupsOutputArgs) ElementType

type GetAlidnsDomainGroupsResult

type GetAlidnsDomainGroupsResult struct {
	// A list of instances. Each element contains the following attributes:
	Groups []GetAlidnsDomainGroupsGroup `pulumi:"groups"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A list of instance IDs.
	Ids       []string `pulumi:"ids"`
	NameRegex *string  `pulumi:"nameRegex"`
	// A list of domain group names.
	Names      []string `pulumi:"names"`
	OutputFile *string  `pulumi:"outputFile"`
}

A collection of values returned by getAlidnsDomainGroups.

func GetAlidnsDomainGroups

func GetAlidnsDomainGroups(ctx *pulumi.Context, args *GetAlidnsDomainGroupsArgs, opts ...pulumi.InvokeOption) (*GetAlidnsDomainGroupsResult, error)

This data source provides a list of Alidns Domain Groups in an Alibaba Cloud account according to the specified filters.

> **NOTE:** Available in 1.85.0+.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/dns"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/dns"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := dns.GetAlidnsDomainGroups(ctx, &dns.GetAlidnsDomainGroupsArgs{
			Ids: []string{
				"c5ef2bc43064445787adf182af2****",
			},
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("firstDomainGroupId", example.Groups[0].Id)
		return nil
	})
}

```

type GetAlidnsDomainGroupsResultOutput

type GetAlidnsDomainGroupsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAlidnsDomainGroups.

func (GetAlidnsDomainGroupsResultOutput) ElementType

func (GetAlidnsDomainGroupsResultOutput) Groups

A list of instances. Each element contains the following attributes:

func (GetAlidnsDomainGroupsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetAlidnsDomainGroupsResultOutput) Ids

A list of instance IDs.

func (GetAlidnsDomainGroupsResultOutput) NameRegex

func (GetAlidnsDomainGroupsResultOutput) Names

A list of domain group names.

func (GetAlidnsDomainGroupsResultOutput) OutputFile

func (GetAlidnsDomainGroupsResultOutput) ToGetAlidnsDomainGroupsResultOutput

func (o GetAlidnsDomainGroupsResultOutput) ToGetAlidnsDomainGroupsResultOutput() GetAlidnsDomainGroupsResultOutput

func (GetAlidnsDomainGroupsResultOutput) ToGetAlidnsDomainGroupsResultOutputWithContext

func (o GetAlidnsDomainGroupsResultOutput) ToGetAlidnsDomainGroupsResultOutputWithContext(ctx context.Context) GetAlidnsDomainGroupsResultOutput

type GetAlidnsDomainsArgs

type GetAlidnsDomainsArgs struct {
	// Specifies whether the domain is from Alibaba Cloud or not.
	AliDomain *bool `pulumi:"aliDomain"`
	// A regex string to filter results by the domain name.
	DomainNameRegex *string `pulumi:"domainNameRegex"`
	EnableDetails   *bool   `pulumi:"enableDetails"`
	// Domain group ID, if not filled, the default is all groups.
	GroupId *string `pulumi:"groupId"`
	// A regex string to filter results by the group name.
	GroupNameRegex *string `pulumi:"groupNameRegex"`
	// A list of domain IDs.
	Ids []string `pulumi:"ids"`
	// Cloud analysis product ID.
	InstanceId *string `pulumi:"instanceId"`
	// The keywords are searched according to the `%KeyWord%` mode, which is not case sensitive.
	KeyWord *string `pulumi:"keyWord"`
	// User language.
	Lang       *string `pulumi:"lang"`
	OutputFile *string `pulumi:"outputFile"`
	// The Id of resource group which the dns belongs.
	ResourceGroupId *string `pulumi:"resourceGroupId"`
	// Search mode, `LIKE` fuzzy search, `EXACT` exact search.
	SearchMode *string `pulumi:"searchMode"`
	// Whether to query the domain name star.
	Starmark *bool `pulumi:"starmark"`
	// A mapping of tags to assign to the resource.
	Tags map[string]interface{} `pulumi:"tags"`
	// Cloud analysis version code.
	VersionCode *string `pulumi:"versionCode"`
}

A collection of arguments for invoking getAlidnsDomains.

type GetAlidnsDomainsDomain

type GetAlidnsDomainsDomain struct {
	// Specifies whether the domain is from Alibaba Cloud or not.
	AliDomain bool `pulumi:"aliDomain"`
	// List of available TTLs.
	AvailableTtls []int `pulumi:"availableTtls"`
	// DNS list of domain names in the resolution system.
	DnsServers []string `pulumi:"dnsServers"`
	// ID of the domain.
	DomainId string `pulumi:"domainId"`
	// Name of the domain.
	DomainName string `pulumi:"domainName"`
	// Domain group ID, if not filled, the default is all groups.
	GroupId string `pulumi:"groupId"`
	// Name of group that contains the domain.
	GroupName string `pulumi:"groupName"`
	// The Id of resource.
	Id string `pulumi:"id"`
	// Whether it is in black hole.
	InBlackHole bool `pulumi:"inBlackHole"`
	// Whether it is cleaning.
	InClean bool `pulumi:"inClean"`
	// Cloud analysis product ID.
	InstanceId string `pulumi:"instanceId"`
	LineType   string `pulumi:"lineType"`
	// Minimum TTL.
	MinTtl int `pulumi:"minTtl"`
	// Punycode of the Chinese domain.
	PunyCode string `pulumi:"punyCode"`
	// Tree-like analytical line list.
	RecordLineTreeJson string `pulumi:"recordLineTreeJson"`
	// Parse the line data list.
	RecordLines []GetAlidnsDomainsDomainRecordLine `pulumi:"recordLines"`
	// Whether it is a regional route.
	RegionLines bool `pulumi:"regionLines"`
	// The Id of resource group which the dns belongs.
	Remark string `pulumi:"remark"`
	// The Id of resource group which the dns belongs.
	ResourceGroupId string `pulumi:"resourceGroupId"`
	// Whether to allow auxiliary dns.
	SlaveDns bool `pulumi:"slaveDns"`
	// A mapping of tags to assign to the resource.
	Tags map[string]interface{} `pulumi:"tags"`
	// Cloud analysis version code.
	VersionCode string `pulumi:"versionCode"`
	VersionName string `pulumi:"versionName"`
}

type GetAlidnsDomainsDomainArgs

type GetAlidnsDomainsDomainArgs struct {
	// Specifies whether the domain is from Alibaba Cloud or not.
	AliDomain pulumi.BoolInput `pulumi:"aliDomain"`
	// List of available TTLs.
	AvailableTtls pulumi.IntArrayInput `pulumi:"availableTtls"`
	// DNS list of domain names in the resolution system.
	DnsServers pulumi.StringArrayInput `pulumi:"dnsServers"`
	// ID of the domain.
	DomainId pulumi.StringInput `pulumi:"domainId"`
	// Name of the domain.
	DomainName pulumi.StringInput `pulumi:"domainName"`
	// Domain group ID, if not filled, the default is all groups.
	GroupId pulumi.StringInput `pulumi:"groupId"`
	// Name of group that contains the domain.
	GroupName pulumi.StringInput `pulumi:"groupName"`
	// The Id of resource.
	Id pulumi.StringInput `pulumi:"id"`
	// Whether it is in black hole.
	InBlackHole pulumi.BoolInput `pulumi:"inBlackHole"`
	// Whether it is cleaning.
	InClean pulumi.BoolInput `pulumi:"inClean"`
	// Cloud analysis product ID.
	InstanceId pulumi.StringInput `pulumi:"instanceId"`
	LineType   pulumi.StringInput `pulumi:"lineType"`
	// Minimum TTL.
	MinTtl pulumi.IntInput `pulumi:"minTtl"`
	// Punycode of the Chinese domain.
	PunyCode pulumi.StringInput `pulumi:"punyCode"`
	// Tree-like analytical line list.
	RecordLineTreeJson pulumi.StringInput `pulumi:"recordLineTreeJson"`
	// Parse the line data list.
	RecordLines GetAlidnsDomainsDomainRecordLineArrayInput `pulumi:"recordLines"`
	// Whether it is a regional route.
	RegionLines pulumi.BoolInput `pulumi:"regionLines"`
	// The Id of resource group which the dns belongs.
	Remark pulumi.StringInput `pulumi:"remark"`
	// The Id of resource group which the dns belongs.
	ResourceGroupId pulumi.StringInput `pulumi:"resourceGroupId"`
	// Whether to allow auxiliary dns.
	SlaveDns pulumi.BoolInput `pulumi:"slaveDns"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapInput `pulumi:"tags"`
	// Cloud analysis version code.
	VersionCode pulumi.StringInput `pulumi:"versionCode"`
	VersionName pulumi.StringInput `pulumi:"versionName"`
}

func (GetAlidnsDomainsDomainArgs) ElementType

func (GetAlidnsDomainsDomainArgs) ElementType() reflect.Type

func (GetAlidnsDomainsDomainArgs) ToGetAlidnsDomainsDomainOutput

func (i GetAlidnsDomainsDomainArgs) ToGetAlidnsDomainsDomainOutput() GetAlidnsDomainsDomainOutput

func (GetAlidnsDomainsDomainArgs) ToGetAlidnsDomainsDomainOutputWithContext

func (i GetAlidnsDomainsDomainArgs) ToGetAlidnsDomainsDomainOutputWithContext(ctx context.Context) GetAlidnsDomainsDomainOutput

type GetAlidnsDomainsDomainArray

type GetAlidnsDomainsDomainArray []GetAlidnsDomainsDomainInput

func (GetAlidnsDomainsDomainArray) ElementType

func (GetAlidnsDomainsDomainArray) ToGetAlidnsDomainsDomainArrayOutput

func (i GetAlidnsDomainsDomainArray) ToGetAlidnsDomainsDomainArrayOutput() GetAlidnsDomainsDomainArrayOutput

func (GetAlidnsDomainsDomainArray) ToGetAlidnsDomainsDomainArrayOutputWithContext

func (i GetAlidnsDomainsDomainArray) ToGetAlidnsDomainsDomainArrayOutputWithContext(ctx context.Context) GetAlidnsDomainsDomainArrayOutput

type GetAlidnsDomainsDomainArrayInput

type GetAlidnsDomainsDomainArrayInput interface {
	pulumi.Input

	ToGetAlidnsDomainsDomainArrayOutput() GetAlidnsDomainsDomainArrayOutput
	ToGetAlidnsDomainsDomainArrayOutputWithContext(context.Context) GetAlidnsDomainsDomainArrayOutput
}

GetAlidnsDomainsDomainArrayInput is an input type that accepts GetAlidnsDomainsDomainArray and GetAlidnsDomainsDomainArrayOutput values. You can construct a concrete instance of `GetAlidnsDomainsDomainArrayInput` via:

GetAlidnsDomainsDomainArray{ GetAlidnsDomainsDomainArgs{...} }

type GetAlidnsDomainsDomainArrayOutput

type GetAlidnsDomainsDomainArrayOutput struct{ *pulumi.OutputState }

func (GetAlidnsDomainsDomainArrayOutput) ElementType

func (GetAlidnsDomainsDomainArrayOutput) Index

func (GetAlidnsDomainsDomainArrayOutput) ToGetAlidnsDomainsDomainArrayOutput

func (o GetAlidnsDomainsDomainArrayOutput) ToGetAlidnsDomainsDomainArrayOutput() GetAlidnsDomainsDomainArrayOutput

func (GetAlidnsDomainsDomainArrayOutput) ToGetAlidnsDomainsDomainArrayOutputWithContext

func (o GetAlidnsDomainsDomainArrayOutput) ToGetAlidnsDomainsDomainArrayOutputWithContext(ctx context.Context) GetAlidnsDomainsDomainArrayOutput

type GetAlidnsDomainsDomainInput

type GetAlidnsDomainsDomainInput interface {
	pulumi.Input

	ToGetAlidnsDomainsDomainOutput() GetAlidnsDomainsDomainOutput
	ToGetAlidnsDomainsDomainOutputWithContext(context.Context) GetAlidnsDomainsDomainOutput
}

GetAlidnsDomainsDomainInput is an input type that accepts GetAlidnsDomainsDomainArgs and GetAlidnsDomainsDomainOutput values. You can construct a concrete instance of `GetAlidnsDomainsDomainInput` via:

GetAlidnsDomainsDomainArgs{...}

type GetAlidnsDomainsDomainOutput

type GetAlidnsDomainsDomainOutput struct{ *pulumi.OutputState }

func (GetAlidnsDomainsDomainOutput) AliDomain

Specifies whether the domain is from Alibaba Cloud or not.

func (GetAlidnsDomainsDomainOutput) AvailableTtls

List of available TTLs.

func (GetAlidnsDomainsDomainOutput) DnsServers

DNS list of domain names in the resolution system.

func (GetAlidnsDomainsDomainOutput) DomainId

ID of the domain.

func (GetAlidnsDomainsDomainOutput) DomainName

Name of the domain.

func (GetAlidnsDomainsDomainOutput) ElementType

func (GetAlidnsDomainsDomainOutput) GroupId

Domain group ID, if not filled, the default is all groups.

func (GetAlidnsDomainsDomainOutput) GroupName

Name of group that contains the domain.

func (GetAlidnsDomainsDomainOutput) Id

The Id of resource.

func (GetAlidnsDomainsDomainOutput) InBlackHole

Whether it is in black hole.

func (GetAlidnsDomainsDomainOutput) InClean

Whether it is cleaning.

func (GetAlidnsDomainsDomainOutput) InstanceId

Cloud analysis product ID.

func (GetAlidnsDomainsDomainOutput) LineType

func (GetAlidnsDomainsDomainOutput) MinTtl

Minimum TTL.

func (GetAlidnsDomainsDomainOutput) PunyCode

Punycode of the Chinese domain.

func (GetAlidnsDomainsDomainOutput) RecordLineTreeJson

func (o GetAlidnsDomainsDomainOutput) RecordLineTreeJson() pulumi.StringOutput

Tree-like analytical line list.

func (GetAlidnsDomainsDomainOutput) RecordLines

Parse the line data list.

func (GetAlidnsDomainsDomainOutput) RegionLines

Whether it is a regional route.

func (GetAlidnsDomainsDomainOutput) Remark

The Id of resource group which the dns belongs.

func (GetAlidnsDomainsDomainOutput) ResourceGroupId

func (o GetAlidnsDomainsDomainOutput) ResourceGroupId() pulumi.StringOutput

The Id of resource group which the dns belongs.

func (GetAlidnsDomainsDomainOutput) SlaveDns

Whether to allow auxiliary dns.

func (GetAlidnsDomainsDomainOutput) Tags

A mapping of tags to assign to the resource.

func (GetAlidnsDomainsDomainOutput) ToGetAlidnsDomainsDomainOutput

func (o GetAlidnsDomainsDomainOutput) ToGetAlidnsDomainsDomainOutput() GetAlidnsDomainsDomainOutput

func (GetAlidnsDomainsDomainOutput) ToGetAlidnsDomainsDomainOutputWithContext

func (o GetAlidnsDomainsDomainOutput) ToGetAlidnsDomainsDomainOutputWithContext(ctx context.Context) GetAlidnsDomainsDomainOutput

func (GetAlidnsDomainsDomainOutput) VersionCode

Cloud analysis version code.

func (GetAlidnsDomainsDomainOutput) VersionName

type GetAlidnsDomainsDomainRecordLine

type GetAlidnsDomainsDomainRecordLine struct {
	// The code of the parent line, or empty if there is none.
	FatherCode string `pulumi:"fatherCode"`
	// Sub-line Code.
	LineCode string `pulumi:"lineCode"`
	// Parent line display name.
	LineDisplayName string `pulumi:"lineDisplayName"`
	// Sub-line display name.
	LineName string `pulumi:"lineName"`
}

type GetAlidnsDomainsDomainRecordLineArgs

type GetAlidnsDomainsDomainRecordLineArgs struct {
	// The code of the parent line, or empty if there is none.
	FatherCode pulumi.StringInput `pulumi:"fatherCode"`
	// Sub-line Code.
	LineCode pulumi.StringInput `pulumi:"lineCode"`
	// Parent line display name.
	LineDisplayName pulumi.StringInput `pulumi:"lineDisplayName"`
	// Sub-line display name.
	LineName pulumi.StringInput `pulumi:"lineName"`
}

func (GetAlidnsDomainsDomainRecordLineArgs) ElementType

func (GetAlidnsDomainsDomainRecordLineArgs) ToGetAlidnsDomainsDomainRecordLineOutput

func (i GetAlidnsDomainsDomainRecordLineArgs) ToGetAlidnsDomainsDomainRecordLineOutput() GetAlidnsDomainsDomainRecordLineOutput

func (GetAlidnsDomainsDomainRecordLineArgs) ToGetAlidnsDomainsDomainRecordLineOutputWithContext

func (i GetAlidnsDomainsDomainRecordLineArgs) ToGetAlidnsDomainsDomainRecordLineOutputWithContext(ctx context.Context) GetAlidnsDomainsDomainRecordLineOutput

type GetAlidnsDomainsDomainRecordLineArray

type GetAlidnsDomainsDomainRecordLineArray []GetAlidnsDomainsDomainRecordLineInput

func (GetAlidnsDomainsDomainRecordLineArray) ElementType

func (GetAlidnsDomainsDomainRecordLineArray) ToGetAlidnsDomainsDomainRecordLineArrayOutput

func (i GetAlidnsDomainsDomainRecordLineArray) ToGetAlidnsDomainsDomainRecordLineArrayOutput() GetAlidnsDomainsDomainRecordLineArrayOutput

func (GetAlidnsDomainsDomainRecordLineArray) ToGetAlidnsDomainsDomainRecordLineArrayOutputWithContext

func (i GetAlidnsDomainsDomainRecordLineArray) ToGetAlidnsDomainsDomainRecordLineArrayOutputWithContext(ctx context.Context) GetAlidnsDomainsDomainRecordLineArrayOutput

type GetAlidnsDomainsDomainRecordLineArrayInput

type GetAlidnsDomainsDomainRecordLineArrayInput interface {
	pulumi.Input

	ToGetAlidnsDomainsDomainRecordLineArrayOutput() GetAlidnsDomainsDomainRecordLineArrayOutput
	ToGetAlidnsDomainsDomainRecordLineArrayOutputWithContext(context.Context) GetAlidnsDomainsDomainRecordLineArrayOutput
}

GetAlidnsDomainsDomainRecordLineArrayInput is an input type that accepts GetAlidnsDomainsDomainRecordLineArray and GetAlidnsDomainsDomainRecordLineArrayOutput values. You can construct a concrete instance of `GetAlidnsDomainsDomainRecordLineArrayInput` via:

GetAlidnsDomainsDomainRecordLineArray{ GetAlidnsDomainsDomainRecordLineArgs{...} }

type GetAlidnsDomainsDomainRecordLineArrayOutput

type GetAlidnsDomainsDomainRecordLineArrayOutput struct{ *pulumi.OutputState }

func (GetAlidnsDomainsDomainRecordLineArrayOutput) ElementType

func (GetAlidnsDomainsDomainRecordLineArrayOutput) Index

func (GetAlidnsDomainsDomainRecordLineArrayOutput) ToGetAlidnsDomainsDomainRecordLineArrayOutput

func (o GetAlidnsDomainsDomainRecordLineArrayOutput) ToGetAlidnsDomainsDomainRecordLineArrayOutput() GetAlidnsDomainsDomainRecordLineArrayOutput

func (GetAlidnsDomainsDomainRecordLineArrayOutput) ToGetAlidnsDomainsDomainRecordLineArrayOutputWithContext

func (o GetAlidnsDomainsDomainRecordLineArrayOutput) ToGetAlidnsDomainsDomainRecordLineArrayOutputWithContext(ctx context.Context) GetAlidnsDomainsDomainRecordLineArrayOutput

type GetAlidnsDomainsDomainRecordLineInput

type GetAlidnsDomainsDomainRecordLineInput interface {
	pulumi.Input

	ToGetAlidnsDomainsDomainRecordLineOutput() GetAlidnsDomainsDomainRecordLineOutput
	ToGetAlidnsDomainsDomainRecordLineOutputWithContext(context.Context) GetAlidnsDomainsDomainRecordLineOutput
}

GetAlidnsDomainsDomainRecordLineInput is an input type that accepts GetAlidnsDomainsDomainRecordLineArgs and GetAlidnsDomainsDomainRecordLineOutput values. You can construct a concrete instance of `GetAlidnsDomainsDomainRecordLineInput` via:

GetAlidnsDomainsDomainRecordLineArgs{...}

type GetAlidnsDomainsDomainRecordLineOutput

type GetAlidnsDomainsDomainRecordLineOutput struct{ *pulumi.OutputState }

func (GetAlidnsDomainsDomainRecordLineOutput) ElementType

func (GetAlidnsDomainsDomainRecordLineOutput) FatherCode

The code of the parent line, or empty if there is none.

func (GetAlidnsDomainsDomainRecordLineOutput) LineCode

Sub-line Code.

func (GetAlidnsDomainsDomainRecordLineOutput) LineDisplayName

Parent line display name.

func (GetAlidnsDomainsDomainRecordLineOutput) LineName

Sub-line display name.

func (GetAlidnsDomainsDomainRecordLineOutput) ToGetAlidnsDomainsDomainRecordLineOutput

func (o GetAlidnsDomainsDomainRecordLineOutput) ToGetAlidnsDomainsDomainRecordLineOutput() GetAlidnsDomainsDomainRecordLineOutput

func (GetAlidnsDomainsDomainRecordLineOutput) ToGetAlidnsDomainsDomainRecordLineOutputWithContext

func (o GetAlidnsDomainsDomainRecordLineOutput) ToGetAlidnsDomainsDomainRecordLineOutputWithContext(ctx context.Context) GetAlidnsDomainsDomainRecordLineOutput

type GetAlidnsDomainsOutputArgs

type GetAlidnsDomainsOutputArgs struct {
	// Specifies whether the domain is from Alibaba Cloud or not.
	AliDomain pulumi.BoolPtrInput `pulumi:"aliDomain"`
	// A regex string to filter results by the domain name.
	DomainNameRegex pulumi.StringPtrInput `pulumi:"domainNameRegex"`
	EnableDetails   pulumi.BoolPtrInput   `pulumi:"enableDetails"`
	// Domain group ID, if not filled, the default is all groups.
	GroupId pulumi.StringPtrInput `pulumi:"groupId"`
	// A regex string to filter results by the group name.
	GroupNameRegex pulumi.StringPtrInput `pulumi:"groupNameRegex"`
	// A list of domain IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// Cloud analysis product ID.
	InstanceId pulumi.StringPtrInput `pulumi:"instanceId"`
	// The keywords are searched according to the `%KeyWord%` mode, which is not case sensitive.
	KeyWord pulumi.StringPtrInput `pulumi:"keyWord"`
	// User language.
	Lang       pulumi.StringPtrInput `pulumi:"lang"`
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// The Id of resource group which the dns belongs.
	ResourceGroupId pulumi.StringPtrInput `pulumi:"resourceGroupId"`
	// Search mode, `LIKE` fuzzy search, `EXACT` exact search.
	SearchMode pulumi.StringPtrInput `pulumi:"searchMode"`
	// Whether to query the domain name star.
	Starmark pulumi.BoolPtrInput `pulumi:"starmark"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapInput `pulumi:"tags"`
	// Cloud analysis version code.
	VersionCode pulumi.StringPtrInput `pulumi:"versionCode"`
}

A collection of arguments for invoking getAlidnsDomains.

func (GetAlidnsDomainsOutputArgs) ElementType

func (GetAlidnsDomainsOutputArgs) ElementType() reflect.Type

type GetAlidnsDomainsResult

type GetAlidnsDomainsResult struct {
	// Indicates whether the domain is an Alibaba Cloud domain.
	AliDomain       *bool   `pulumi:"aliDomain"`
	DomainNameRegex *string `pulumi:"domainNameRegex"`
	// A list of domains. Each element contains the following attributes:
	Domains       []GetAlidnsDomainsDomain `pulumi:"domains"`
	EnableDetails *bool                    `pulumi:"enableDetails"`
	// Id of group that contains the domain.
	GroupId        *string `pulumi:"groupId"`
	GroupNameRegex *string `pulumi:"groupNameRegex"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A list of domain IDs.
	Ids []string `pulumi:"ids"`
	// Cloud analysis product ID of the domain.
	InstanceId *string `pulumi:"instanceId"`
	KeyWord    *string `pulumi:"keyWord"`
	Lang       *string `pulumi:"lang"`
	// A list of domain names.
	Names      []string `pulumi:"names"`
	OutputFile *string  `pulumi:"outputFile"`
	// The Id of resource group which the dns belongs.
	ResourceGroupId *string                `pulumi:"resourceGroupId"`
	SearchMode      *string                `pulumi:"searchMode"`
	Starmark        *bool                  `pulumi:"starmark"`
	Tags            map[string]interface{} `pulumi:"tags"`
	// Cloud resolution version ID.
	VersionCode *string `pulumi:"versionCode"`
}

A collection of values returned by getAlidnsDomains.

func GetAlidnsDomains

func GetAlidnsDomains(ctx *pulumi.Context, args *GetAlidnsDomainsArgs, opts ...pulumi.InvokeOption) (*GetAlidnsDomainsResult, error)

This data source provides a list of Alidns Domains in an Alibaba Cloud account according to the specified filters.

> **NOTE:** Available in 1.95.0+.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/dns"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/dns"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		domainsDs, err := dns.GetAlidnsDomains(ctx, &dns.GetAlidnsDomainsArgs{
			DomainNameRegex: pulumi.StringRef("^hegu"),
			OutputFile:      pulumi.StringRef("domains.txt"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("firstDomainId", domainsDs.Domains[0].DomainId)
		return nil
	})
}

```

type GetAlidnsDomainsResultOutput

type GetAlidnsDomainsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAlidnsDomains.

func (GetAlidnsDomainsResultOutput) AliDomain

Indicates whether the domain is an Alibaba Cloud domain.

func (GetAlidnsDomainsResultOutput) DomainNameRegex

func (GetAlidnsDomainsResultOutput) Domains

A list of domains. Each element contains the following attributes:

func (GetAlidnsDomainsResultOutput) ElementType

func (GetAlidnsDomainsResultOutput) EnableDetails

func (GetAlidnsDomainsResultOutput) GroupId

Id of group that contains the domain.

func (GetAlidnsDomainsResultOutput) GroupNameRegex

func (GetAlidnsDomainsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetAlidnsDomainsResultOutput) Ids

A list of domain IDs.

func (GetAlidnsDomainsResultOutput) InstanceId

Cloud analysis product ID of the domain.

func (GetAlidnsDomainsResultOutput) KeyWord

func (GetAlidnsDomainsResultOutput) Lang

func (GetAlidnsDomainsResultOutput) Names

A list of domain names.

func (GetAlidnsDomainsResultOutput) OutputFile

func (GetAlidnsDomainsResultOutput) ResourceGroupId

The Id of resource group which the dns belongs.

func (GetAlidnsDomainsResultOutput) SearchMode

func (GetAlidnsDomainsResultOutput) Starmark

func (GetAlidnsDomainsResultOutput) Tags

func (GetAlidnsDomainsResultOutput) ToGetAlidnsDomainsResultOutput

func (o GetAlidnsDomainsResultOutput) ToGetAlidnsDomainsResultOutput() GetAlidnsDomainsResultOutput

func (GetAlidnsDomainsResultOutput) ToGetAlidnsDomainsResultOutputWithContext

func (o GetAlidnsDomainsResultOutput) ToGetAlidnsDomainsResultOutputWithContext(ctx context.Context) GetAlidnsDomainsResultOutput

func (GetAlidnsDomainsResultOutput) VersionCode

Cloud resolution version ID.

type GetAlidnsInstancesArgs

type GetAlidnsInstancesArgs struct {
	// The type of domain.
	DomainType *string `pulumi:"domainType"`
	// A list of instance IDs.
	Ids []string `pulumi:"ids"`
	// Language.
	Lang       *string `pulumi:"lang"`
	OutputFile *string `pulumi:"outputFile"`
	// The IP address of the client.
	UserClientIp *string `pulumi:"userClientIp"`
}

A collection of arguments for invoking getAlidnsInstances.

type GetAlidnsInstancesInstance

type GetAlidnsInstancesInstance struct {
	// DNS security level.
	DnsSecurity string `pulumi:"dnsSecurity"`
	// (Available in 1.124.1+) The domain name.
	Domain string `pulumi:"domain"`
	// Number of domain names bound.
	DomainNumbers string `pulumi:"domainNumbers"`
	// Id of the instance.
	Id string `pulumi:"id"`
	// Id of the instance resource.
	InstanceId string `pulumi:"instanceId"`
	// (Available in 1.124.1+) The payment type of alidns instance.
	PaymentType string `pulumi:"paymentType"`
	// Paid package version.
	VersionCode string `pulumi:"versionCode"`
	// Paid package version name.
	VersionName string `pulumi:"versionName"`
}

type GetAlidnsInstancesInstanceArgs

type GetAlidnsInstancesInstanceArgs struct {
	// DNS security level.
	DnsSecurity pulumi.StringInput `pulumi:"dnsSecurity"`
	// (Available in 1.124.1+) The domain name.
	Domain pulumi.StringInput `pulumi:"domain"`
	// Number of domain names bound.
	DomainNumbers pulumi.StringInput `pulumi:"domainNumbers"`
	// Id of the instance.
	Id pulumi.StringInput `pulumi:"id"`
	// Id of the instance resource.
	InstanceId pulumi.StringInput `pulumi:"instanceId"`
	// (Available in 1.124.1+) The payment type of alidns instance.
	PaymentType pulumi.StringInput `pulumi:"paymentType"`
	// Paid package version.
	VersionCode pulumi.StringInput `pulumi:"versionCode"`
	// Paid package version name.
	VersionName pulumi.StringInput `pulumi:"versionName"`
}

func (GetAlidnsInstancesInstanceArgs) ElementType

func (GetAlidnsInstancesInstanceArgs) ToGetAlidnsInstancesInstanceOutput

func (i GetAlidnsInstancesInstanceArgs) ToGetAlidnsInstancesInstanceOutput() GetAlidnsInstancesInstanceOutput

func (GetAlidnsInstancesInstanceArgs) ToGetAlidnsInstancesInstanceOutputWithContext

func (i GetAlidnsInstancesInstanceArgs) ToGetAlidnsInstancesInstanceOutputWithContext(ctx context.Context) GetAlidnsInstancesInstanceOutput

type GetAlidnsInstancesInstanceArray

type GetAlidnsInstancesInstanceArray []GetAlidnsInstancesInstanceInput

func (GetAlidnsInstancesInstanceArray) ElementType

func (GetAlidnsInstancesInstanceArray) ToGetAlidnsInstancesInstanceArrayOutput

func (i GetAlidnsInstancesInstanceArray) ToGetAlidnsInstancesInstanceArrayOutput() GetAlidnsInstancesInstanceArrayOutput

func (GetAlidnsInstancesInstanceArray) ToGetAlidnsInstancesInstanceArrayOutputWithContext

func (i GetAlidnsInstancesInstanceArray) ToGetAlidnsInstancesInstanceArrayOutputWithContext(ctx context.Context) GetAlidnsInstancesInstanceArrayOutput

type GetAlidnsInstancesInstanceArrayInput

type GetAlidnsInstancesInstanceArrayInput interface {
	pulumi.Input

	ToGetAlidnsInstancesInstanceArrayOutput() GetAlidnsInstancesInstanceArrayOutput
	ToGetAlidnsInstancesInstanceArrayOutputWithContext(context.Context) GetAlidnsInstancesInstanceArrayOutput
}

GetAlidnsInstancesInstanceArrayInput is an input type that accepts GetAlidnsInstancesInstanceArray and GetAlidnsInstancesInstanceArrayOutput values. You can construct a concrete instance of `GetAlidnsInstancesInstanceArrayInput` via:

GetAlidnsInstancesInstanceArray{ GetAlidnsInstancesInstanceArgs{...} }

type GetAlidnsInstancesInstanceArrayOutput

type GetAlidnsInstancesInstanceArrayOutput struct{ *pulumi.OutputState }

func (GetAlidnsInstancesInstanceArrayOutput) ElementType

func (GetAlidnsInstancesInstanceArrayOutput) Index

func (GetAlidnsInstancesInstanceArrayOutput) ToGetAlidnsInstancesInstanceArrayOutput

func (o GetAlidnsInstancesInstanceArrayOutput) ToGetAlidnsInstancesInstanceArrayOutput() GetAlidnsInstancesInstanceArrayOutput

func (GetAlidnsInstancesInstanceArrayOutput) ToGetAlidnsInstancesInstanceArrayOutputWithContext

func (o GetAlidnsInstancesInstanceArrayOutput) ToGetAlidnsInstancesInstanceArrayOutputWithContext(ctx context.Context) GetAlidnsInstancesInstanceArrayOutput

type GetAlidnsInstancesInstanceInput

type GetAlidnsInstancesInstanceInput interface {
	pulumi.Input

	ToGetAlidnsInstancesInstanceOutput() GetAlidnsInstancesInstanceOutput
	ToGetAlidnsInstancesInstanceOutputWithContext(context.Context) GetAlidnsInstancesInstanceOutput
}

GetAlidnsInstancesInstanceInput is an input type that accepts GetAlidnsInstancesInstanceArgs and GetAlidnsInstancesInstanceOutput values. You can construct a concrete instance of `GetAlidnsInstancesInstanceInput` via:

GetAlidnsInstancesInstanceArgs{...}

type GetAlidnsInstancesInstanceOutput

type GetAlidnsInstancesInstanceOutput struct{ *pulumi.OutputState }

func (GetAlidnsInstancesInstanceOutput) DnsSecurity

DNS security level.

func (GetAlidnsInstancesInstanceOutput) Domain

(Available in 1.124.1+) The domain name.

func (GetAlidnsInstancesInstanceOutput) DomainNumbers

Number of domain names bound.

func (GetAlidnsInstancesInstanceOutput) ElementType

func (GetAlidnsInstancesInstanceOutput) Id

Id of the instance.

func (GetAlidnsInstancesInstanceOutput) InstanceId

Id of the instance resource.

func (GetAlidnsInstancesInstanceOutput) PaymentType

(Available in 1.124.1+) The payment type of alidns instance.

func (GetAlidnsInstancesInstanceOutput) ToGetAlidnsInstancesInstanceOutput

func (o GetAlidnsInstancesInstanceOutput) ToGetAlidnsInstancesInstanceOutput() GetAlidnsInstancesInstanceOutput

func (GetAlidnsInstancesInstanceOutput) ToGetAlidnsInstancesInstanceOutputWithContext

func (o GetAlidnsInstancesInstanceOutput) ToGetAlidnsInstancesInstanceOutputWithContext(ctx context.Context) GetAlidnsInstancesInstanceOutput

func (GetAlidnsInstancesInstanceOutput) VersionCode

Paid package version.

func (GetAlidnsInstancesInstanceOutput) VersionName

Paid package version name.

type GetAlidnsInstancesOutputArgs

type GetAlidnsInstancesOutputArgs struct {
	// The type of domain.
	DomainType pulumi.StringPtrInput `pulumi:"domainType"`
	// A list of instance IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// Language.
	Lang       pulumi.StringPtrInput `pulumi:"lang"`
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// The IP address of the client.
	UserClientIp pulumi.StringPtrInput `pulumi:"userClientIp"`
}

A collection of arguments for invoking getAlidnsInstances.

func (GetAlidnsInstancesOutputArgs) ElementType

type GetAlidnsInstancesResult

type GetAlidnsInstancesResult struct {
	DomainType *string `pulumi:"domainType"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A list of instance IDs.
	Ids []string `pulumi:"ids"`
	// A list of instances. Each element contains the following attributes:
	Instances    []GetAlidnsInstancesInstance `pulumi:"instances"`
	Lang         *string                      `pulumi:"lang"`
	OutputFile   *string                      `pulumi:"outputFile"`
	UserClientIp *string                      `pulumi:"userClientIp"`
}

A collection of values returned by getAlidnsInstances.

func GetAlidnsInstances

func GetAlidnsInstances(ctx *pulumi.Context, args *GetAlidnsInstancesArgs, opts ...pulumi.InvokeOption) (*GetAlidnsInstancesResult, error)

This data source provides a list of Alidns instances in an Alibaba Cloud account according to the specified filters.

> **NOTE:** Available in 1.95.0+.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/dns"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/dns"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := dns.GetAlidnsInstances(ctx, &dns.GetAlidnsInstancesArgs{
			Ids: []string{
				"dns-cn-oew1npk****",
			},
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("firstInstanceId", example.Instances[0].Id)
		return nil
	})
}

```

type GetAlidnsInstancesResultOutput

type GetAlidnsInstancesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAlidnsInstances.

func (GetAlidnsInstancesResultOutput) DomainType

func (GetAlidnsInstancesResultOutput) ElementType

func (GetAlidnsInstancesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetAlidnsInstancesResultOutput) Ids

A list of instance IDs.

func (GetAlidnsInstancesResultOutput) Instances

A list of instances. Each element contains the following attributes:

func (GetAlidnsInstancesResultOutput) Lang

func (GetAlidnsInstancesResultOutput) OutputFile

func (GetAlidnsInstancesResultOutput) ToGetAlidnsInstancesResultOutput

func (o GetAlidnsInstancesResultOutput) ToGetAlidnsInstancesResultOutput() GetAlidnsInstancesResultOutput

func (GetAlidnsInstancesResultOutput) ToGetAlidnsInstancesResultOutputWithContext

func (o GetAlidnsInstancesResultOutput) ToGetAlidnsInstancesResultOutputWithContext(ctx context.Context) GetAlidnsInstancesResultOutput

func (GetAlidnsInstancesResultOutput) UserClientIp

type GetAlidnsRecordsArgs

type GetAlidnsRecordsArgs struct {
	// Sorting direction. Valid values: `DESC`,`ASC`. Default to `AESC`.
	Direction *string `pulumi:"direction"`
	// The domain name associated to the records.
	DomainName string `pulumi:"domainName"`
	// Domain name group ID.
	GroupId *int `pulumi:"groupId"`
	// A list of record IDs.
	Ids []string `pulumi:"ids"`
	// Keywords.
	KeyWord *string `pulumi:"keyWord"`
	// User language.
	Lang *string `pulumi:"lang"`
	// ISP line. For checking all resolution lines enumeration please visit [Alibaba Cloud DNS doc](https://www.alibabacloud.com/help/doc-detail/34339.htm)
	Line *string `pulumi:"line"`
	// Sort by. Sort from newest to oldest according to the time added by resolution.
	OrderBy    *string `pulumi:"orderBy"`
	OutputFile *string `pulumi:"outputFile"`
	// The keywords recorded by the host are searched according to the `%RRKeyWord%` mode, and are not case sensitive.
	RrKeyWord *string `pulumi:"rrKeyWord"`
	// Host record regex.
	RrRegex *string `pulumi:"rrRegex"`
	// Search mode, Valid values: `LIKE`, `EXACT`, `ADVANCED`, `LIKE` (fuzzy), `EXACT` (accurate) search supports KeyWord field, `ADVANCED` (advanced) mode supports other fields.
	SearchMode *string `pulumi:"searchMode"`
	// Record status. Valid values: `ENABLE` and `DISABLE`.
	Status *string `pulumi:"status"`
	// Record type. Valid values: `A`, `NS`, `MX`, `TXT`, `CNAME`, `SRV`, `AAAA`, `REDIRECT_URL`, `FORWORD_URL` .
	Type *string `pulumi:"type"`
	// Analyze type keywords, search by full match, not case sensitive.
	TypeKeyWord *string `pulumi:"typeKeyWord"`
	// The keywords of the recorded value are searched according to the `%ValueKeyWord%` mode, and are not case sensitive.
	ValueKeyWord *string `pulumi:"valueKeyWord"`
	// Host record value regex.
	ValueRegex *string `pulumi:"valueRegex"`
}

A collection of arguments for invoking getAlidnsRecords.

type GetAlidnsRecordsOutputArgs

type GetAlidnsRecordsOutputArgs struct {
	// Sorting direction. Valid values: `DESC`,`ASC`. Default to `AESC`.
	Direction pulumi.StringPtrInput `pulumi:"direction"`
	// The domain name associated to the records.
	DomainName pulumi.StringInput `pulumi:"domainName"`
	// Domain name group ID.
	GroupId pulumi.IntPtrInput `pulumi:"groupId"`
	// A list of record IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// Keywords.
	KeyWord pulumi.StringPtrInput `pulumi:"keyWord"`
	// User language.
	Lang pulumi.StringPtrInput `pulumi:"lang"`
	// ISP line. For checking all resolution lines enumeration please visit [Alibaba Cloud DNS doc](https://www.alibabacloud.com/help/doc-detail/34339.htm)
	Line pulumi.StringPtrInput `pulumi:"line"`
	// Sort by. Sort from newest to oldest according to the time added by resolution.
	OrderBy    pulumi.StringPtrInput `pulumi:"orderBy"`
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// The keywords recorded by the host are searched according to the `%RRKeyWord%` mode, and are not case sensitive.
	RrKeyWord pulumi.StringPtrInput `pulumi:"rrKeyWord"`
	// Host record regex.
	RrRegex pulumi.StringPtrInput `pulumi:"rrRegex"`
	// Search mode, Valid values: `LIKE`, `EXACT`, `ADVANCED`, `LIKE` (fuzzy), `EXACT` (accurate) search supports KeyWord field, `ADVANCED` (advanced) mode supports other fields.
	SearchMode pulumi.StringPtrInput `pulumi:"searchMode"`
	// Record status. Valid values: `ENABLE` and `DISABLE`.
	Status pulumi.StringPtrInput `pulumi:"status"`
	// Record type. Valid values: `A`, `NS`, `MX`, `TXT`, `CNAME`, `SRV`, `AAAA`, `REDIRECT_URL`, `FORWORD_URL` .
	Type pulumi.StringPtrInput `pulumi:"type"`
	// Analyze type keywords, search by full match, not case sensitive.
	TypeKeyWord pulumi.StringPtrInput `pulumi:"typeKeyWord"`
	// The keywords of the recorded value are searched according to the `%ValueKeyWord%` mode, and are not case sensitive.
	ValueKeyWord pulumi.StringPtrInput `pulumi:"valueKeyWord"`
	// Host record value regex.
	ValueRegex pulumi.StringPtrInput `pulumi:"valueRegex"`
}

A collection of arguments for invoking getAlidnsRecords.

func (GetAlidnsRecordsOutputArgs) ElementType

func (GetAlidnsRecordsOutputArgs) ElementType() reflect.Type

type GetAlidnsRecordsRecord

type GetAlidnsRecordsRecord struct {
	// The domain name associated to the records.
	DomainName string `pulumi:"domainName"`
	// ID of the resource.
	Id string `pulumi:"id"`
	// ISP line. For checking all resolution lines enumeration please visit [Alibaba Cloud DNS doc](https://www.alibabacloud.com/help/doc-detail/34339.htm)
	Line string `pulumi:"line"`
	// Indicates whether the record is locked.
	Locked bool `pulumi:"locked"`
	// Priority of the `MX` record.
	Priority int `pulumi:"priority"`
	// ID of the record.
	RecordId string `pulumi:"recordId"`
	// The remark of the domain record.  **NOTE:** Available in 1.144.0+.
	Remark string `pulumi:"remark"`
	// Host record of the domain.
	Rr string `pulumi:"rr"`
	// Record status. Valid values: `ENABLE` and `DISABLE`.
	Status string `pulumi:"status"`
	// TTL of the record.
	Ttl int `pulumi:"ttl"`
	// Record type. Valid values: `A`, `NS`, `MX`, `TXT`, `CNAME`, `SRV`, `AAAA`, `REDIRECT_URL`, `FORWORD_URL` .
	Type string `pulumi:"type"`
	// Host record value of the domain.
	Value string `pulumi:"value"`
}

type GetAlidnsRecordsRecordArgs

type GetAlidnsRecordsRecordArgs struct {
	// The domain name associated to the records.
	DomainName pulumi.StringInput `pulumi:"domainName"`
	// ID of the resource.
	Id pulumi.StringInput `pulumi:"id"`
	// ISP line. For checking all resolution lines enumeration please visit [Alibaba Cloud DNS doc](https://www.alibabacloud.com/help/doc-detail/34339.htm)
	Line pulumi.StringInput `pulumi:"line"`
	// Indicates whether the record is locked.
	Locked pulumi.BoolInput `pulumi:"locked"`
	// Priority of the `MX` record.
	Priority pulumi.IntInput `pulumi:"priority"`
	// ID of the record.
	RecordId pulumi.StringInput `pulumi:"recordId"`
	// The remark of the domain record.  **NOTE:** Available in 1.144.0+.
	Remark pulumi.StringInput `pulumi:"remark"`
	// Host record of the domain.
	Rr pulumi.StringInput `pulumi:"rr"`
	// Record status. Valid values: `ENABLE` and `DISABLE`.
	Status pulumi.StringInput `pulumi:"status"`
	// TTL of the record.
	Ttl pulumi.IntInput `pulumi:"ttl"`
	// Record type. Valid values: `A`, `NS`, `MX`, `TXT`, `CNAME`, `SRV`, `AAAA`, `REDIRECT_URL`, `FORWORD_URL` .
	Type pulumi.StringInput `pulumi:"type"`
	// Host record value of the domain.
	Value pulumi.StringInput `pulumi:"value"`
}

func (GetAlidnsRecordsRecordArgs) ElementType

func (GetAlidnsRecordsRecordArgs) ElementType() reflect.Type

func (GetAlidnsRecordsRecordArgs) ToGetAlidnsRecordsRecordOutput

func (i GetAlidnsRecordsRecordArgs) ToGetAlidnsRecordsRecordOutput() GetAlidnsRecordsRecordOutput

func (GetAlidnsRecordsRecordArgs) ToGetAlidnsRecordsRecordOutputWithContext

func (i GetAlidnsRecordsRecordArgs) ToGetAlidnsRecordsRecordOutputWithContext(ctx context.Context) GetAlidnsRecordsRecordOutput

type GetAlidnsRecordsRecordArray

type GetAlidnsRecordsRecordArray []GetAlidnsRecordsRecordInput

func (GetAlidnsRecordsRecordArray) ElementType

func (GetAlidnsRecordsRecordArray) ToGetAlidnsRecordsRecordArrayOutput

func (i GetAlidnsRecordsRecordArray) ToGetAlidnsRecordsRecordArrayOutput() GetAlidnsRecordsRecordArrayOutput

func (GetAlidnsRecordsRecordArray) ToGetAlidnsRecordsRecordArrayOutputWithContext

func (i GetAlidnsRecordsRecordArray) ToGetAlidnsRecordsRecordArrayOutputWithContext(ctx context.Context) GetAlidnsRecordsRecordArrayOutput

type GetAlidnsRecordsRecordArrayInput

type GetAlidnsRecordsRecordArrayInput interface {
	pulumi.Input

	ToGetAlidnsRecordsRecordArrayOutput() GetAlidnsRecordsRecordArrayOutput
	ToGetAlidnsRecordsRecordArrayOutputWithContext(context.Context) GetAlidnsRecordsRecordArrayOutput
}

GetAlidnsRecordsRecordArrayInput is an input type that accepts GetAlidnsRecordsRecordArray and GetAlidnsRecordsRecordArrayOutput values. You can construct a concrete instance of `GetAlidnsRecordsRecordArrayInput` via:

GetAlidnsRecordsRecordArray{ GetAlidnsRecordsRecordArgs{...} }

type GetAlidnsRecordsRecordArrayOutput

type GetAlidnsRecordsRecordArrayOutput struct{ *pulumi.OutputState }

func (GetAlidnsRecordsRecordArrayOutput) ElementType

func (GetAlidnsRecordsRecordArrayOutput) Index

func (GetAlidnsRecordsRecordArrayOutput) ToGetAlidnsRecordsRecordArrayOutput

func (o GetAlidnsRecordsRecordArrayOutput) ToGetAlidnsRecordsRecordArrayOutput() GetAlidnsRecordsRecordArrayOutput

func (GetAlidnsRecordsRecordArrayOutput) ToGetAlidnsRecordsRecordArrayOutputWithContext

func (o GetAlidnsRecordsRecordArrayOutput) ToGetAlidnsRecordsRecordArrayOutputWithContext(ctx context.Context) GetAlidnsRecordsRecordArrayOutput

type GetAlidnsRecordsRecordInput

type GetAlidnsRecordsRecordInput interface {
	pulumi.Input

	ToGetAlidnsRecordsRecordOutput() GetAlidnsRecordsRecordOutput
	ToGetAlidnsRecordsRecordOutputWithContext(context.Context) GetAlidnsRecordsRecordOutput
}

GetAlidnsRecordsRecordInput is an input type that accepts GetAlidnsRecordsRecordArgs and GetAlidnsRecordsRecordOutput values. You can construct a concrete instance of `GetAlidnsRecordsRecordInput` via:

GetAlidnsRecordsRecordArgs{...}

type GetAlidnsRecordsRecordOutput

type GetAlidnsRecordsRecordOutput struct{ *pulumi.OutputState }

func (GetAlidnsRecordsRecordOutput) DomainName

The domain name associated to the records.

func (GetAlidnsRecordsRecordOutput) ElementType

func (GetAlidnsRecordsRecordOutput) Id

ID of the resource.

func (GetAlidnsRecordsRecordOutput) Line

ISP line. For checking all resolution lines enumeration please visit [Alibaba Cloud DNS doc](https://www.alibabacloud.com/help/doc-detail/34339.htm)

func (GetAlidnsRecordsRecordOutput) Locked

Indicates whether the record is locked.

func (GetAlidnsRecordsRecordOutput) Priority

Priority of the `MX` record.

func (GetAlidnsRecordsRecordOutput) RecordId

ID of the record.

func (GetAlidnsRecordsRecordOutput) Remark

The remark of the domain record. **NOTE:** Available in 1.144.0+.

func (GetAlidnsRecordsRecordOutput) Rr

Host record of the domain.

func (GetAlidnsRecordsRecordOutput) Status

Record status. Valid values: `ENABLE` and `DISABLE`.

func (GetAlidnsRecordsRecordOutput) ToGetAlidnsRecordsRecordOutput

func (o GetAlidnsRecordsRecordOutput) ToGetAlidnsRecordsRecordOutput() GetAlidnsRecordsRecordOutput

func (GetAlidnsRecordsRecordOutput) ToGetAlidnsRecordsRecordOutputWithContext

func (o GetAlidnsRecordsRecordOutput) ToGetAlidnsRecordsRecordOutputWithContext(ctx context.Context) GetAlidnsRecordsRecordOutput

func (GetAlidnsRecordsRecordOutput) Ttl

TTL of the record.

func (GetAlidnsRecordsRecordOutput) Type

Record type. Valid values: `A`, `NS`, `MX`, `TXT`, `CNAME`, `SRV`, `AAAA`, `REDIRECT_URL`, `FORWORD_URL` .

func (GetAlidnsRecordsRecordOutput) Value

Host record value of the domain.

type GetAlidnsRecordsResult

type GetAlidnsRecordsResult struct {
	Direction *string `pulumi:"direction"`
	// Name of the domain record belongs to.
	DomainName string `pulumi:"domainName"`
	GroupId    *int   `pulumi:"groupId"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A list of record IDs.
	Ids     []string `pulumi:"ids"`
	KeyWord *string  `pulumi:"keyWord"`
	Lang    *string  `pulumi:"lang"`
	// ISP line of the record.
	Line       *string `pulumi:"line"`
	OrderBy    *string `pulumi:"orderBy"`
	OutputFile *string `pulumi:"outputFile"`
	// A list of records. Each element contains the following attributes:
	Records    []GetAlidnsRecordsRecord `pulumi:"records"`
	RrKeyWord  *string                  `pulumi:"rrKeyWord"`
	RrRegex    *string                  `pulumi:"rrRegex"`
	SearchMode *string                  `pulumi:"searchMode"`
	// Status of the record.
	Status *string `pulumi:"status"`
	// Type of the record.
	Type         *string `pulumi:"type"`
	TypeKeyWord  *string `pulumi:"typeKeyWord"`
	ValueKeyWord *string `pulumi:"valueKeyWord"`
	ValueRegex   *string `pulumi:"valueRegex"`
}

A collection of values returned by getAlidnsRecords.

func GetAlidnsRecords

func GetAlidnsRecords(ctx *pulumi.Context, args *GetAlidnsRecordsArgs, opts ...pulumi.InvokeOption) (*GetAlidnsRecordsResult, error)

This data source provides a list of Alidns Domain Records in an Alibaba Cloud account according to the specified filters.

> **NOTE:** Available in 1.86.0+.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/dns"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/dns"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		recordsDs, err := dns.GetAlidnsRecords(ctx, &dns.GetAlidnsRecordsArgs{
			DomainName: "xiaozhu.top",
			Ids: []string{
				"1978593525779****",
			},
			OutputFile: pulumi.StringRef("records.txt"),
			Type:       pulumi.StringRef("A"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("firstRecordId", recordsDs.Records[0].RecordId)
		return nil
	})
}

```

type GetAlidnsRecordsResultOutput

type GetAlidnsRecordsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAlidnsRecords.

func (GetAlidnsRecordsResultOutput) Direction

func (GetAlidnsRecordsResultOutput) DomainName

Name of the domain record belongs to.

func (GetAlidnsRecordsResultOutput) ElementType

func (GetAlidnsRecordsResultOutput) GroupId

func (GetAlidnsRecordsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetAlidnsRecordsResultOutput) Ids

A list of record IDs.

func (GetAlidnsRecordsResultOutput) KeyWord

func (GetAlidnsRecordsResultOutput) Lang

func (GetAlidnsRecordsResultOutput) Line

ISP line of the record.

func (GetAlidnsRecordsResultOutput) OrderBy

func (GetAlidnsRecordsResultOutput) OutputFile

func (GetAlidnsRecordsResultOutput) Records

A list of records. Each element contains the following attributes:

func (GetAlidnsRecordsResultOutput) RrKeyWord

func (GetAlidnsRecordsResultOutput) RrRegex

func (GetAlidnsRecordsResultOutput) SearchMode

func (GetAlidnsRecordsResultOutput) Status

Status of the record.

func (GetAlidnsRecordsResultOutput) ToGetAlidnsRecordsResultOutput

func (o GetAlidnsRecordsResultOutput) ToGetAlidnsRecordsResultOutput() GetAlidnsRecordsResultOutput

func (GetAlidnsRecordsResultOutput) ToGetAlidnsRecordsResultOutputWithContext

func (o GetAlidnsRecordsResultOutput) ToGetAlidnsRecordsResultOutputWithContext(ctx context.Context) GetAlidnsRecordsResultOutput

func (GetAlidnsRecordsResultOutput) Type

Type of the record.

func (GetAlidnsRecordsResultOutput) TypeKeyWord

func (GetAlidnsRecordsResultOutput) ValueKeyWord

func (GetAlidnsRecordsResultOutput) ValueRegex

type GetCustomLinesArgs

type GetCustomLinesArgs struct {
	// The Domain name.
	DomainName string `pulumi:"domainName"`
	// Default to `false`. Set it to `true` can output more details about resource attributes.
	EnableDetails *bool `pulumi:"enableDetails"`
	// A list of Custom Line IDs.
	Ids []string `pulumi:"ids"`
	// The lang.
	Lang *string `pulumi:"lang"`
	// A regex string to filter results by Custom Line name.
	NameRegex  *string `pulumi:"nameRegex"`
	OutputFile *string `pulumi:"outputFile"`
}

A collection of arguments for invoking getCustomLines.

type GetCustomLinesLine

type GetCustomLinesLine struct {
	// The Custom line Code.
	Code string `pulumi:"code"`
	// The first ID of the resource.
	CustomLineId string `pulumi:"customLineId"`
	// Line name.
	CustomLineName string `pulumi:"customLineName"`
	// The Domain name.
	DomainName string `pulumi:"domainName"`
	// The ID of the Custom Line.
	Id string `pulumi:"id"`
	// The IP segment list.
	IpSegmentLists []GetCustomLinesLineIpSegmentList `pulumi:"ipSegmentLists"`
}

type GetCustomLinesLineArgs

type GetCustomLinesLineArgs struct {
	// The Custom line Code.
	Code pulumi.StringInput `pulumi:"code"`
	// The first ID of the resource.
	CustomLineId pulumi.StringInput `pulumi:"customLineId"`
	// Line name.
	CustomLineName pulumi.StringInput `pulumi:"customLineName"`
	// The Domain name.
	DomainName pulumi.StringInput `pulumi:"domainName"`
	// The ID of the Custom Line.
	Id pulumi.StringInput `pulumi:"id"`
	// The IP segment list.
	IpSegmentLists GetCustomLinesLineIpSegmentListArrayInput `pulumi:"ipSegmentLists"`
}

func (GetCustomLinesLineArgs) ElementType

func (GetCustomLinesLineArgs) ElementType() reflect.Type

func (GetCustomLinesLineArgs) ToGetCustomLinesLineOutput

func (i GetCustomLinesLineArgs) ToGetCustomLinesLineOutput() GetCustomLinesLineOutput

func (GetCustomLinesLineArgs) ToGetCustomLinesLineOutputWithContext

func (i GetCustomLinesLineArgs) ToGetCustomLinesLineOutputWithContext(ctx context.Context) GetCustomLinesLineOutput

type GetCustomLinesLineArray

type GetCustomLinesLineArray []GetCustomLinesLineInput

func (GetCustomLinesLineArray) ElementType

func (GetCustomLinesLineArray) ElementType() reflect.Type

func (GetCustomLinesLineArray) ToGetCustomLinesLineArrayOutput

func (i GetCustomLinesLineArray) ToGetCustomLinesLineArrayOutput() GetCustomLinesLineArrayOutput

func (GetCustomLinesLineArray) ToGetCustomLinesLineArrayOutputWithContext

func (i GetCustomLinesLineArray) ToGetCustomLinesLineArrayOutputWithContext(ctx context.Context) GetCustomLinesLineArrayOutput

type GetCustomLinesLineArrayInput

type GetCustomLinesLineArrayInput interface {
	pulumi.Input

	ToGetCustomLinesLineArrayOutput() GetCustomLinesLineArrayOutput
	ToGetCustomLinesLineArrayOutputWithContext(context.Context) GetCustomLinesLineArrayOutput
}

GetCustomLinesLineArrayInput is an input type that accepts GetCustomLinesLineArray and GetCustomLinesLineArrayOutput values. You can construct a concrete instance of `GetCustomLinesLineArrayInput` via:

GetCustomLinesLineArray{ GetCustomLinesLineArgs{...} }

type GetCustomLinesLineArrayOutput

type GetCustomLinesLineArrayOutput struct{ *pulumi.OutputState }

func (GetCustomLinesLineArrayOutput) ElementType

func (GetCustomLinesLineArrayOutput) Index

func (GetCustomLinesLineArrayOutput) ToGetCustomLinesLineArrayOutput

func (o GetCustomLinesLineArrayOutput) ToGetCustomLinesLineArrayOutput() GetCustomLinesLineArrayOutput

func (GetCustomLinesLineArrayOutput) ToGetCustomLinesLineArrayOutputWithContext

func (o GetCustomLinesLineArrayOutput) ToGetCustomLinesLineArrayOutputWithContext(ctx context.Context) GetCustomLinesLineArrayOutput

type GetCustomLinesLineInput

type GetCustomLinesLineInput interface {
	pulumi.Input

	ToGetCustomLinesLineOutput() GetCustomLinesLineOutput
	ToGetCustomLinesLineOutputWithContext(context.Context) GetCustomLinesLineOutput
}

GetCustomLinesLineInput is an input type that accepts GetCustomLinesLineArgs and GetCustomLinesLineOutput values. You can construct a concrete instance of `GetCustomLinesLineInput` via:

GetCustomLinesLineArgs{...}

type GetCustomLinesLineIpSegmentList

type GetCustomLinesLineIpSegmentList struct {
	// The end IP address of the CIDR block.
	EndIp string `pulumi:"endIp"`
	// The start IP address of the CIDR block.
	StartIp string `pulumi:"startIp"`
}

type GetCustomLinesLineIpSegmentListArgs

type GetCustomLinesLineIpSegmentListArgs struct {
	// The end IP address of the CIDR block.
	EndIp pulumi.StringInput `pulumi:"endIp"`
	// The start IP address of the CIDR block.
	StartIp pulumi.StringInput `pulumi:"startIp"`
}

func (GetCustomLinesLineIpSegmentListArgs) ElementType

func (GetCustomLinesLineIpSegmentListArgs) ToGetCustomLinesLineIpSegmentListOutput

func (i GetCustomLinesLineIpSegmentListArgs) ToGetCustomLinesLineIpSegmentListOutput() GetCustomLinesLineIpSegmentListOutput

func (GetCustomLinesLineIpSegmentListArgs) ToGetCustomLinesLineIpSegmentListOutputWithContext

func (i GetCustomLinesLineIpSegmentListArgs) ToGetCustomLinesLineIpSegmentListOutputWithContext(ctx context.Context) GetCustomLinesLineIpSegmentListOutput

type GetCustomLinesLineIpSegmentListArray

type GetCustomLinesLineIpSegmentListArray []GetCustomLinesLineIpSegmentListInput

func (GetCustomLinesLineIpSegmentListArray) ElementType

func (GetCustomLinesLineIpSegmentListArray) ToGetCustomLinesLineIpSegmentListArrayOutput

func (i GetCustomLinesLineIpSegmentListArray) ToGetCustomLinesLineIpSegmentListArrayOutput() GetCustomLinesLineIpSegmentListArrayOutput

func (GetCustomLinesLineIpSegmentListArray) ToGetCustomLinesLineIpSegmentListArrayOutputWithContext

func (i GetCustomLinesLineIpSegmentListArray) ToGetCustomLinesLineIpSegmentListArrayOutputWithContext(ctx context.Context) GetCustomLinesLineIpSegmentListArrayOutput

type GetCustomLinesLineIpSegmentListArrayInput

type GetCustomLinesLineIpSegmentListArrayInput interface {
	pulumi.Input

	ToGetCustomLinesLineIpSegmentListArrayOutput() GetCustomLinesLineIpSegmentListArrayOutput
	ToGetCustomLinesLineIpSegmentListArrayOutputWithContext(context.Context) GetCustomLinesLineIpSegmentListArrayOutput
}

GetCustomLinesLineIpSegmentListArrayInput is an input type that accepts GetCustomLinesLineIpSegmentListArray and GetCustomLinesLineIpSegmentListArrayOutput values. You can construct a concrete instance of `GetCustomLinesLineIpSegmentListArrayInput` via:

GetCustomLinesLineIpSegmentListArray{ GetCustomLinesLineIpSegmentListArgs{...} }

type GetCustomLinesLineIpSegmentListArrayOutput

type GetCustomLinesLineIpSegmentListArrayOutput struct{ *pulumi.OutputState }

func (GetCustomLinesLineIpSegmentListArrayOutput) ElementType

func (GetCustomLinesLineIpSegmentListArrayOutput) Index

func (GetCustomLinesLineIpSegmentListArrayOutput) ToGetCustomLinesLineIpSegmentListArrayOutput

func (o GetCustomLinesLineIpSegmentListArrayOutput) ToGetCustomLinesLineIpSegmentListArrayOutput() GetCustomLinesLineIpSegmentListArrayOutput

func (GetCustomLinesLineIpSegmentListArrayOutput) ToGetCustomLinesLineIpSegmentListArrayOutputWithContext

func (o GetCustomLinesLineIpSegmentListArrayOutput) ToGetCustomLinesLineIpSegmentListArrayOutputWithContext(ctx context.Context) GetCustomLinesLineIpSegmentListArrayOutput

type GetCustomLinesLineIpSegmentListInput

type GetCustomLinesLineIpSegmentListInput interface {
	pulumi.Input

	ToGetCustomLinesLineIpSegmentListOutput() GetCustomLinesLineIpSegmentListOutput
	ToGetCustomLinesLineIpSegmentListOutputWithContext(context.Context) GetCustomLinesLineIpSegmentListOutput
}

GetCustomLinesLineIpSegmentListInput is an input type that accepts GetCustomLinesLineIpSegmentListArgs and GetCustomLinesLineIpSegmentListOutput values. You can construct a concrete instance of `GetCustomLinesLineIpSegmentListInput` via:

GetCustomLinesLineIpSegmentListArgs{...}

type GetCustomLinesLineIpSegmentListOutput

type GetCustomLinesLineIpSegmentListOutput struct{ *pulumi.OutputState }

func (GetCustomLinesLineIpSegmentListOutput) ElementType

func (GetCustomLinesLineIpSegmentListOutput) EndIp

The end IP address of the CIDR block.

func (GetCustomLinesLineIpSegmentListOutput) StartIp

The start IP address of the CIDR block.

func (GetCustomLinesLineIpSegmentListOutput) ToGetCustomLinesLineIpSegmentListOutput

func (o GetCustomLinesLineIpSegmentListOutput) ToGetCustomLinesLineIpSegmentListOutput() GetCustomLinesLineIpSegmentListOutput

func (GetCustomLinesLineIpSegmentListOutput) ToGetCustomLinesLineIpSegmentListOutputWithContext

func (o GetCustomLinesLineIpSegmentListOutput) ToGetCustomLinesLineIpSegmentListOutputWithContext(ctx context.Context) GetCustomLinesLineIpSegmentListOutput

type GetCustomLinesLineOutput

type GetCustomLinesLineOutput struct{ *pulumi.OutputState }

func (GetCustomLinesLineOutput) Code

The Custom line Code.

func (GetCustomLinesLineOutput) CustomLineId

func (o GetCustomLinesLineOutput) CustomLineId() pulumi.StringOutput

The first ID of the resource.

func (GetCustomLinesLineOutput) CustomLineName

func (o GetCustomLinesLineOutput) CustomLineName() pulumi.StringOutput

Line name.

func (GetCustomLinesLineOutput) DomainName

The Domain name.

func (GetCustomLinesLineOutput) ElementType

func (GetCustomLinesLineOutput) ElementType() reflect.Type

func (GetCustomLinesLineOutput) Id

The ID of the Custom Line.

func (GetCustomLinesLineOutput) IpSegmentLists

The IP segment list.

func (GetCustomLinesLineOutput) ToGetCustomLinesLineOutput

func (o GetCustomLinesLineOutput) ToGetCustomLinesLineOutput() GetCustomLinesLineOutput

func (GetCustomLinesLineOutput) ToGetCustomLinesLineOutputWithContext

func (o GetCustomLinesLineOutput) ToGetCustomLinesLineOutputWithContext(ctx context.Context) GetCustomLinesLineOutput

type GetCustomLinesOutputArgs

type GetCustomLinesOutputArgs struct {
	// The Domain name.
	DomainName pulumi.StringInput `pulumi:"domainName"`
	// Default to `false`. Set it to `true` can output more details about resource attributes.
	EnableDetails pulumi.BoolPtrInput `pulumi:"enableDetails"`
	// A list of Custom Line IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// The lang.
	Lang pulumi.StringPtrInput `pulumi:"lang"`
	// A regex string to filter results by Custom Line name.
	NameRegex  pulumi.StringPtrInput `pulumi:"nameRegex"`
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
}

A collection of arguments for invoking getCustomLines.

func (GetCustomLinesOutputArgs) ElementType

func (GetCustomLinesOutputArgs) ElementType() reflect.Type

type GetCustomLinesResult

type GetCustomLinesResult struct {
	DomainName    string `pulumi:"domainName"`
	EnableDetails *bool  `pulumi:"enableDetails"`
	// The provider-assigned unique ID for this managed resource.
	Id         string               `pulumi:"id"`
	Ids        []string             `pulumi:"ids"`
	Lang       *string              `pulumi:"lang"`
	Lines      []GetCustomLinesLine `pulumi:"lines"`
	NameRegex  *string              `pulumi:"nameRegex"`
	Names      []string             `pulumi:"names"`
	OutputFile *string              `pulumi:"outputFile"`
}

A collection of values returned by getCustomLines.

func GetCustomLines

func GetCustomLines(ctx *pulumi.Context, args *GetCustomLinesArgs, opts ...pulumi.InvokeOption) (*GetCustomLinesResult, error)

This data source provides the Alidns Custom Lines of the current Alibaba Cloud user.

> **NOTE:** Available in v1.151.0+.

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/dns"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/dns"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		ids, err := dns.GetCustomLines(ctx, &dns.GetCustomLinesArgs{
			EnableDetails: pulumi.BoolRef(true),
			DomainName:    "your_domain_name",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("alidnsCustomLineId1", ids.Lines[0].Id)
		return nil
	})
}

```

type GetCustomLinesResultOutput

type GetCustomLinesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getCustomLines.

func (GetCustomLinesResultOutput) DomainName

func (GetCustomLinesResultOutput) ElementType

func (GetCustomLinesResultOutput) ElementType() reflect.Type

func (GetCustomLinesResultOutput) EnableDetails

func (GetCustomLinesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetCustomLinesResultOutput) Ids

func (GetCustomLinesResultOutput) Lang

func (GetCustomLinesResultOutput) Lines

func (GetCustomLinesResultOutput) NameRegex

func (GetCustomLinesResultOutput) Names

func (GetCustomLinesResultOutput) OutputFile

func (GetCustomLinesResultOutput) ToGetCustomLinesResultOutput

func (o GetCustomLinesResultOutput) ToGetCustomLinesResultOutput() GetCustomLinesResultOutput

func (GetCustomLinesResultOutput) ToGetCustomLinesResultOutputWithContext

func (o GetCustomLinesResultOutput) ToGetCustomLinesResultOutputWithContext(ctx context.Context) GetCustomLinesResultOutput

type GetDomainGroupsArgs

type GetDomainGroupsArgs struct {
	Ids        []string `pulumi:"ids"`
	NameRegex  *string  `pulumi:"nameRegex"`
	OutputFile *string  `pulumi:"outputFile"`
}

A collection of arguments for invoking getDomainGroups.

type GetDomainGroupsGroup

type GetDomainGroupsGroup struct {
	GroupId   string `pulumi:"groupId"`
	GroupName string `pulumi:"groupName"`
}

type GetDomainGroupsGroupArgs

type GetDomainGroupsGroupArgs struct {
	GroupId   pulumi.StringInput `pulumi:"groupId"`
	GroupName pulumi.StringInput `pulumi:"groupName"`
}

func (GetDomainGroupsGroupArgs) ElementType

func (GetDomainGroupsGroupArgs) ElementType() reflect.Type

func (GetDomainGroupsGroupArgs) ToGetDomainGroupsGroupOutput

func (i GetDomainGroupsGroupArgs) ToGetDomainGroupsGroupOutput() GetDomainGroupsGroupOutput

func (GetDomainGroupsGroupArgs) ToGetDomainGroupsGroupOutputWithContext

func (i GetDomainGroupsGroupArgs) ToGetDomainGroupsGroupOutputWithContext(ctx context.Context) GetDomainGroupsGroupOutput

type GetDomainGroupsGroupArray

type GetDomainGroupsGroupArray []GetDomainGroupsGroupInput

func (GetDomainGroupsGroupArray) ElementType

func (GetDomainGroupsGroupArray) ElementType() reflect.Type

func (GetDomainGroupsGroupArray) ToGetDomainGroupsGroupArrayOutput

func (i GetDomainGroupsGroupArray) ToGetDomainGroupsGroupArrayOutput() GetDomainGroupsGroupArrayOutput

func (GetDomainGroupsGroupArray) ToGetDomainGroupsGroupArrayOutputWithContext

func (i GetDomainGroupsGroupArray) ToGetDomainGroupsGroupArrayOutputWithContext(ctx context.Context) GetDomainGroupsGroupArrayOutput

type GetDomainGroupsGroupArrayInput

type GetDomainGroupsGroupArrayInput interface {
	pulumi.Input

	ToGetDomainGroupsGroupArrayOutput() GetDomainGroupsGroupArrayOutput
	ToGetDomainGroupsGroupArrayOutputWithContext(context.Context) GetDomainGroupsGroupArrayOutput
}

GetDomainGroupsGroupArrayInput is an input type that accepts GetDomainGroupsGroupArray and GetDomainGroupsGroupArrayOutput values. You can construct a concrete instance of `GetDomainGroupsGroupArrayInput` via:

GetDomainGroupsGroupArray{ GetDomainGroupsGroupArgs{...} }

type GetDomainGroupsGroupArrayOutput

type GetDomainGroupsGroupArrayOutput struct{ *pulumi.OutputState }

func (GetDomainGroupsGroupArrayOutput) ElementType

func (GetDomainGroupsGroupArrayOutput) Index

func (GetDomainGroupsGroupArrayOutput) ToGetDomainGroupsGroupArrayOutput

func (o GetDomainGroupsGroupArrayOutput) ToGetDomainGroupsGroupArrayOutput() GetDomainGroupsGroupArrayOutput

func (GetDomainGroupsGroupArrayOutput) ToGetDomainGroupsGroupArrayOutputWithContext

func (o GetDomainGroupsGroupArrayOutput) ToGetDomainGroupsGroupArrayOutputWithContext(ctx context.Context) GetDomainGroupsGroupArrayOutput

type GetDomainGroupsGroupInput

type GetDomainGroupsGroupInput interface {
	pulumi.Input

	ToGetDomainGroupsGroupOutput() GetDomainGroupsGroupOutput
	ToGetDomainGroupsGroupOutputWithContext(context.Context) GetDomainGroupsGroupOutput
}

GetDomainGroupsGroupInput is an input type that accepts GetDomainGroupsGroupArgs and GetDomainGroupsGroupOutput values. You can construct a concrete instance of `GetDomainGroupsGroupInput` via:

GetDomainGroupsGroupArgs{...}

type GetDomainGroupsGroupOutput

type GetDomainGroupsGroupOutput struct{ *pulumi.OutputState }

func (GetDomainGroupsGroupOutput) ElementType

func (GetDomainGroupsGroupOutput) ElementType() reflect.Type

func (GetDomainGroupsGroupOutput) GroupId

func (GetDomainGroupsGroupOutput) GroupName

func (GetDomainGroupsGroupOutput) ToGetDomainGroupsGroupOutput

func (o GetDomainGroupsGroupOutput) ToGetDomainGroupsGroupOutput() GetDomainGroupsGroupOutput

func (GetDomainGroupsGroupOutput) ToGetDomainGroupsGroupOutputWithContext

func (o GetDomainGroupsGroupOutput) ToGetDomainGroupsGroupOutputWithContext(ctx context.Context) GetDomainGroupsGroupOutput

type GetDomainGroupsOutputArgs

type GetDomainGroupsOutputArgs struct {
	Ids        pulumi.StringArrayInput `pulumi:"ids"`
	NameRegex  pulumi.StringPtrInput   `pulumi:"nameRegex"`
	OutputFile pulumi.StringPtrInput   `pulumi:"outputFile"`
}

A collection of arguments for invoking getDomainGroups.

func (GetDomainGroupsOutputArgs) ElementType

func (GetDomainGroupsOutputArgs) ElementType() reflect.Type

type GetDomainGroupsResult

type GetDomainGroupsResult struct {
	Groups []GetDomainGroupsGroup `pulumi:"groups"`
	// The provider-assigned unique ID for this managed resource.
	Id         string   `pulumi:"id"`
	Ids        []string `pulumi:"ids"`
	NameRegex  *string  `pulumi:"nameRegex"`
	Names      []string `pulumi:"names"`
	OutputFile *string  `pulumi:"outputFile"`
}

A collection of values returned by getDomainGroups.

func GetDomainGroups

func GetDomainGroups(ctx *pulumi.Context, args *GetDomainGroupsArgs, opts ...pulumi.InvokeOption) (*GetDomainGroupsResult, error)

type GetDomainGroupsResultOutput

type GetDomainGroupsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getDomainGroups.

func (GetDomainGroupsResultOutput) ElementType

func (GetDomainGroupsResultOutput) Groups

func (GetDomainGroupsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetDomainGroupsResultOutput) Ids

func (GetDomainGroupsResultOutput) NameRegex

func (GetDomainGroupsResultOutput) Names

func (GetDomainGroupsResultOutput) OutputFile

func (GetDomainGroupsResultOutput) ToGetDomainGroupsResultOutput

func (o GetDomainGroupsResultOutput) ToGetDomainGroupsResultOutput() GetDomainGroupsResultOutput

func (GetDomainGroupsResultOutput) ToGetDomainGroupsResultOutputWithContext

func (o GetDomainGroupsResultOutput) ToGetDomainGroupsResultOutputWithContext(ctx context.Context) GetDomainGroupsResultOutput

type GetDomainRecordsArgs

type GetDomainRecordsArgs struct {
	DomainName      string   `pulumi:"domainName"`
	HostRecordRegex *string  `pulumi:"hostRecordRegex"`
	Ids             []string `pulumi:"ids"`
	IsLocked        *bool    `pulumi:"isLocked"`
	Line            *string  `pulumi:"line"`
	OutputFile      *string  `pulumi:"outputFile"`
	Status          *string  `pulumi:"status"`
	Type            *string  `pulumi:"type"`
	ValueRegex      *string  `pulumi:"valueRegex"`
}

A collection of arguments for invoking getDomainRecords.

type GetDomainRecordsOutputArgs

type GetDomainRecordsOutputArgs struct {
	DomainName      pulumi.StringInput      `pulumi:"domainName"`
	HostRecordRegex pulumi.StringPtrInput   `pulumi:"hostRecordRegex"`
	Ids             pulumi.StringArrayInput `pulumi:"ids"`
	IsLocked        pulumi.BoolPtrInput     `pulumi:"isLocked"`
	Line            pulumi.StringPtrInput   `pulumi:"line"`
	OutputFile      pulumi.StringPtrInput   `pulumi:"outputFile"`
	Status          pulumi.StringPtrInput   `pulumi:"status"`
	Type            pulumi.StringPtrInput   `pulumi:"type"`
	ValueRegex      pulumi.StringPtrInput   `pulumi:"valueRegex"`
}

A collection of arguments for invoking getDomainRecords.

func (GetDomainRecordsOutputArgs) ElementType

func (GetDomainRecordsOutputArgs) ElementType() reflect.Type

type GetDomainRecordsRecord

type GetDomainRecordsRecord struct {
	DomainName string  `pulumi:"domainName"`
	HostRecord string  `pulumi:"hostRecord"`
	Line       string  `pulumi:"line"`
	Locked     bool    `pulumi:"locked"`
	Priority   int     `pulumi:"priority"`
	RecordId   string  `pulumi:"recordId"`
	Status     string  `pulumi:"status"`
	Ttl        float64 `pulumi:"ttl"`
	Type       string  `pulumi:"type"`
	Value      string  `pulumi:"value"`
}

type GetDomainRecordsRecordArgs

type GetDomainRecordsRecordArgs struct {
	DomainName pulumi.StringInput  `pulumi:"domainName"`
	HostRecord pulumi.StringInput  `pulumi:"hostRecord"`
	Line       pulumi.StringInput  `pulumi:"line"`
	Locked     pulumi.BoolInput    `pulumi:"locked"`
	Priority   pulumi.IntInput     `pulumi:"priority"`
	RecordId   pulumi.StringInput  `pulumi:"recordId"`
	Status     pulumi.StringInput  `pulumi:"status"`
	Ttl        pulumi.Float64Input `pulumi:"ttl"`
	Type       pulumi.StringInput  `pulumi:"type"`
	Value      pulumi.StringInput  `pulumi:"value"`
}

func (GetDomainRecordsRecordArgs) ElementType

func (GetDomainRecordsRecordArgs) ElementType() reflect.Type

func (GetDomainRecordsRecordArgs) ToGetDomainRecordsRecordOutput

func (i GetDomainRecordsRecordArgs) ToGetDomainRecordsRecordOutput() GetDomainRecordsRecordOutput

func (GetDomainRecordsRecordArgs) ToGetDomainRecordsRecordOutputWithContext

func (i GetDomainRecordsRecordArgs) ToGetDomainRecordsRecordOutputWithContext(ctx context.Context) GetDomainRecordsRecordOutput

type GetDomainRecordsRecordArray

type GetDomainRecordsRecordArray []GetDomainRecordsRecordInput

func (GetDomainRecordsRecordArray) ElementType

func (GetDomainRecordsRecordArray) ToGetDomainRecordsRecordArrayOutput

func (i GetDomainRecordsRecordArray) ToGetDomainRecordsRecordArrayOutput() GetDomainRecordsRecordArrayOutput

func (GetDomainRecordsRecordArray) ToGetDomainRecordsRecordArrayOutputWithContext

func (i GetDomainRecordsRecordArray) ToGetDomainRecordsRecordArrayOutputWithContext(ctx context.Context) GetDomainRecordsRecordArrayOutput

type GetDomainRecordsRecordArrayInput

type GetDomainRecordsRecordArrayInput interface {
	pulumi.Input

	ToGetDomainRecordsRecordArrayOutput() GetDomainRecordsRecordArrayOutput
	ToGetDomainRecordsRecordArrayOutputWithContext(context.Context) GetDomainRecordsRecordArrayOutput
}

GetDomainRecordsRecordArrayInput is an input type that accepts GetDomainRecordsRecordArray and GetDomainRecordsRecordArrayOutput values. You can construct a concrete instance of `GetDomainRecordsRecordArrayInput` via:

GetDomainRecordsRecordArray{ GetDomainRecordsRecordArgs{...} }

type GetDomainRecordsRecordArrayOutput

type GetDomainRecordsRecordArrayOutput struct{ *pulumi.OutputState }

func (GetDomainRecordsRecordArrayOutput) ElementType

func (GetDomainRecordsRecordArrayOutput) Index

func (GetDomainRecordsRecordArrayOutput) ToGetDomainRecordsRecordArrayOutput

func (o GetDomainRecordsRecordArrayOutput) ToGetDomainRecordsRecordArrayOutput() GetDomainRecordsRecordArrayOutput

func (GetDomainRecordsRecordArrayOutput) ToGetDomainRecordsRecordArrayOutputWithContext

func (o GetDomainRecordsRecordArrayOutput) ToGetDomainRecordsRecordArrayOutputWithContext(ctx context.Context) GetDomainRecordsRecordArrayOutput

type GetDomainRecordsRecordInput

type GetDomainRecordsRecordInput interface {
	pulumi.Input

	ToGetDomainRecordsRecordOutput() GetDomainRecordsRecordOutput
	ToGetDomainRecordsRecordOutputWithContext(context.Context) GetDomainRecordsRecordOutput
}

GetDomainRecordsRecordInput is an input type that accepts GetDomainRecordsRecordArgs and GetDomainRecordsRecordOutput values. You can construct a concrete instance of `GetDomainRecordsRecordInput` via:

GetDomainRecordsRecordArgs{...}

type GetDomainRecordsRecordOutput

type GetDomainRecordsRecordOutput struct{ *pulumi.OutputState }

func (GetDomainRecordsRecordOutput) DomainName

func (GetDomainRecordsRecordOutput) ElementType

func (GetDomainRecordsRecordOutput) HostRecord

func (GetDomainRecordsRecordOutput) Line

func (GetDomainRecordsRecordOutput) Locked

func (GetDomainRecordsRecordOutput) Priority

func (GetDomainRecordsRecordOutput) RecordId

func (GetDomainRecordsRecordOutput) Status

func (GetDomainRecordsRecordOutput) ToGetDomainRecordsRecordOutput

func (o GetDomainRecordsRecordOutput) ToGetDomainRecordsRecordOutput() GetDomainRecordsRecordOutput

func (GetDomainRecordsRecordOutput) ToGetDomainRecordsRecordOutputWithContext

func (o GetDomainRecordsRecordOutput) ToGetDomainRecordsRecordOutputWithContext(ctx context.Context) GetDomainRecordsRecordOutput

func (GetDomainRecordsRecordOutput) Ttl

func (GetDomainRecordsRecordOutput) Type

func (GetDomainRecordsRecordOutput) Value

type GetDomainRecordsResult

type GetDomainRecordsResult struct {
	DomainName      string  `pulumi:"domainName"`
	HostRecordRegex *string `pulumi:"hostRecordRegex"`
	// The provider-assigned unique ID for this managed resource.
	Id         string                   `pulumi:"id"`
	Ids        []string                 `pulumi:"ids"`
	IsLocked   *bool                    `pulumi:"isLocked"`
	Line       *string                  `pulumi:"line"`
	OutputFile *string                  `pulumi:"outputFile"`
	Records    []GetDomainRecordsRecord `pulumi:"records"`
	Status     *string                  `pulumi:"status"`
	Type       *string                  `pulumi:"type"`
	Urls       []string                 `pulumi:"urls"`
	ValueRegex *string                  `pulumi:"valueRegex"`
}

A collection of values returned by getDomainRecords.

type GetDomainRecordsResultOutput

type GetDomainRecordsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getDomainRecords.

func (GetDomainRecordsResultOutput) DomainName

func (GetDomainRecordsResultOutput) ElementType

func (GetDomainRecordsResultOutput) HostRecordRegex

func (GetDomainRecordsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetDomainRecordsResultOutput) Ids

func (GetDomainRecordsResultOutput) IsLocked

func (GetDomainRecordsResultOutput) Line

func (GetDomainRecordsResultOutput) OutputFile

func (GetDomainRecordsResultOutput) Records

func (GetDomainRecordsResultOutput) Status

func (GetDomainRecordsResultOutput) ToGetDomainRecordsResultOutput

func (o GetDomainRecordsResultOutput) ToGetDomainRecordsResultOutput() GetDomainRecordsResultOutput

func (GetDomainRecordsResultOutput) ToGetDomainRecordsResultOutputWithContext

func (o GetDomainRecordsResultOutput) ToGetDomainRecordsResultOutputWithContext(ctx context.Context) GetDomainRecordsResultOutput

func (GetDomainRecordsResultOutput) Type

func (GetDomainRecordsResultOutput) Urls

func (GetDomainRecordsResultOutput) ValueRegex

type GetDomainTxtGuidArgs

type GetDomainTxtGuidArgs struct {
	// Verified domain name.
	DomainName string `pulumi:"domainName"`
	// User language.
	Lang       *string `pulumi:"lang"`
	OutputFile *string `pulumi:"outputFile"`
	// Txt verification function. Value:`ADD_SUB_DOMAIN`, `RETRIEVAL`.
	Type string `pulumi:"type"`
}

A collection of arguments for invoking getDomainTxtGuid.

type GetDomainTxtGuidOutputArgs

type GetDomainTxtGuidOutputArgs struct {
	// Verified domain name.
	DomainName pulumi.StringInput `pulumi:"domainName"`
	// User language.
	Lang       pulumi.StringPtrInput `pulumi:"lang"`
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// Txt verification function. Value:`ADD_SUB_DOMAIN`, `RETRIEVAL`.
	Type pulumi.StringInput `pulumi:"type"`
}

A collection of arguments for invoking getDomainTxtGuid.

func (GetDomainTxtGuidOutputArgs) ElementType

func (GetDomainTxtGuidOutputArgs) ElementType() reflect.Type

type GetDomainTxtGuidResult

type GetDomainTxtGuidResult struct {
	DomainName string `pulumi:"domainName"`
	// The provider-assigned unique ID for this managed resource.
	Id         string  `pulumi:"id"`
	Lang       *string `pulumi:"lang"`
	OutputFile *string `pulumi:"outputFile"`
	// Host record.
	Rr   string `pulumi:"rr"`
	Type string `pulumi:"type"`
	// Record the value.
	Value string `pulumi:"value"`
}

A collection of values returned by getDomainTxtGuid.

func GetDomainTxtGuid

func GetDomainTxtGuid(ctx *pulumi.Context, args *GetDomainTxtGuidArgs, opts ...pulumi.InvokeOption) (*GetDomainTxtGuidResult, error)

Provides the generation of txt records to realize the retrieval and verification of domain names.

> **NOTE:** Available in v1.80.0+.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/dns"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/dns"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		this, err := dns.GetDomainTxtGuid(ctx, &dns.GetDomainTxtGuidArgs{
			DomainName: "test111.abc",
			Type:       "ADD_SUB_DOMAIN",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("rr", this.Rr)
		ctx.Export("value", this.Value)
		return nil
	})
}

```

type GetDomainTxtGuidResultOutput

type GetDomainTxtGuidResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getDomainTxtGuid.

func (GetDomainTxtGuidResultOutput) DomainName

func (GetDomainTxtGuidResultOutput) ElementType

func (GetDomainTxtGuidResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetDomainTxtGuidResultOutput) Lang

func (GetDomainTxtGuidResultOutput) OutputFile

func (GetDomainTxtGuidResultOutput) Rr

Host record.

func (GetDomainTxtGuidResultOutput) ToGetDomainTxtGuidResultOutput

func (o GetDomainTxtGuidResultOutput) ToGetDomainTxtGuidResultOutput() GetDomainTxtGuidResultOutput

func (GetDomainTxtGuidResultOutput) ToGetDomainTxtGuidResultOutputWithContext

func (o GetDomainTxtGuidResultOutput) ToGetDomainTxtGuidResultOutputWithContext(ctx context.Context) GetDomainTxtGuidResultOutput

func (GetDomainTxtGuidResultOutput) Type

func (GetDomainTxtGuidResultOutput) Value

Record the value.

type GetDomainsArgs

type GetDomainsArgs struct {
	// Specifies whether the domain is from Alibaba Cloud or not.
	AliDomain *bool `pulumi:"aliDomain"`
	// A regex string to filter results by the domain name.
	DomainNameRegex *string `pulumi:"domainNameRegex"`
	EnableDetails   *bool   `pulumi:"enableDetails"`
	// Domain group ID, if not filled, the default is all groups.
	GroupId *string `pulumi:"groupId"`
	// A regex string to filter results by the group name.
	GroupNameRegex *string `pulumi:"groupNameRegex"`
	// - A list of domain IDs.
	Ids []string `pulumi:"ids"`
	// Cloud analysis product ID.
	InstanceId *string `pulumi:"instanceId"`
	// The keywords are searched according to the `%KeyWord%` mode, which is not case sensitive.
	KeyWord *string `pulumi:"keyWord"`
	// User language.
	Lang       *string `pulumi:"lang"`
	OutputFile *string `pulumi:"outputFile"`
	// The Id of resource group which the dns belongs.
	ResourceGroupId *string `pulumi:"resourceGroupId"`
	// Search mode, `LIKE` fuzzy search, `EXACT` exact search.
	SearchMode *string `pulumi:"searchMode"`
	// Whether to query the domain name star.
	Starmark *bool `pulumi:"starmark"`
	// A mapping of tags to assign to the resource.
	Tags map[string]interface{} `pulumi:"tags"`
	// Cloud analysis version code.
	VersionCode *string `pulumi:"versionCode"`
}

A collection of arguments for invoking getDomains.

type GetDomainsDomain

type GetDomainsDomain struct {
	// Specifies whether the domain is from Alibaba Cloud or not.
	AliDomain     bool  `pulumi:"aliDomain"`
	AvailableTtls []int `pulumi:"availableTtls"`
	// DNS list of domain names in the resolution system.
	DnsServers []string `pulumi:"dnsServers"`
	// ID of the domain.
	DomainId string `pulumi:"domainId"`
	// Name of the domain.
	DomainName string `pulumi:"domainName"`
	// Domain group ID, if not filled, the default is all groups.
	GroupId string `pulumi:"groupId"`
	// Name of group that contains the domain.
	GroupName string `pulumi:"groupName"`
	// The Id of resource.
	Id string `pulumi:"id"`
	// Whether it is in black hole.
	InBlackHole bool `pulumi:"inBlackHole"`
	// Whether it is cleaning.
	InClean bool `pulumi:"inClean"`
	// Cloud analysis product ID.
	InstanceId string `pulumi:"instanceId"`
	LineType   string `pulumi:"lineType"`
	// Minimum TTL.
	MinTtl int `pulumi:"minTtl"`
	// Punycode of the Chinese domain.
	PunyCode string `pulumi:"punyCode"`
	// Tree-like analytical line list.
	RecordLineTreeJson string                       `pulumi:"recordLineTreeJson"`
	RecordLines        []GetDomainsDomainRecordLine `pulumi:"recordLines"`
	// Whether it is a regional route.
	RegionLines bool `pulumi:"regionLines"`
	// The Id of resource group which the dns belongs.
	Remark string `pulumi:"remark"`
	// The Id of resource group which the dns belongs.
	ResourceGroupId string `pulumi:"resourceGroupId"`
	// Whether to allow auxiliary dns.
	SlaveDns bool `pulumi:"slaveDns"`
	// A mapping of tags to assign to the resource.
	Tags map[string]interface{} `pulumi:"tags"`
	// Cloud analysis version code.
	VersionCode string `pulumi:"versionCode"`
	VersionName string `pulumi:"versionName"`
}

type GetDomainsDomainArgs

type GetDomainsDomainArgs struct {
	// Specifies whether the domain is from Alibaba Cloud or not.
	AliDomain     pulumi.BoolInput     `pulumi:"aliDomain"`
	AvailableTtls pulumi.IntArrayInput `pulumi:"availableTtls"`
	// DNS list of domain names in the resolution system.
	DnsServers pulumi.StringArrayInput `pulumi:"dnsServers"`
	// ID of the domain.
	DomainId pulumi.StringInput `pulumi:"domainId"`
	// Name of the domain.
	DomainName pulumi.StringInput `pulumi:"domainName"`
	// Domain group ID, if not filled, the default is all groups.
	GroupId pulumi.StringInput `pulumi:"groupId"`
	// Name of group that contains the domain.
	GroupName pulumi.StringInput `pulumi:"groupName"`
	// The Id of resource.
	Id pulumi.StringInput `pulumi:"id"`
	// Whether it is in black hole.
	InBlackHole pulumi.BoolInput `pulumi:"inBlackHole"`
	// Whether it is cleaning.
	InClean pulumi.BoolInput `pulumi:"inClean"`
	// Cloud analysis product ID.
	InstanceId pulumi.StringInput `pulumi:"instanceId"`
	LineType   pulumi.StringInput `pulumi:"lineType"`
	// Minimum TTL.
	MinTtl pulumi.IntInput `pulumi:"minTtl"`
	// Punycode of the Chinese domain.
	PunyCode pulumi.StringInput `pulumi:"punyCode"`
	// Tree-like analytical line list.
	RecordLineTreeJson pulumi.StringInput                   `pulumi:"recordLineTreeJson"`
	RecordLines        GetDomainsDomainRecordLineArrayInput `pulumi:"recordLines"`
	// Whether it is a regional route.
	RegionLines pulumi.BoolInput `pulumi:"regionLines"`
	// The Id of resource group which the dns belongs.
	Remark pulumi.StringInput `pulumi:"remark"`
	// The Id of resource group which the dns belongs.
	ResourceGroupId pulumi.StringInput `pulumi:"resourceGroupId"`
	// Whether to allow auxiliary dns.
	SlaveDns pulumi.BoolInput `pulumi:"slaveDns"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapInput `pulumi:"tags"`
	// Cloud analysis version code.
	VersionCode pulumi.StringInput `pulumi:"versionCode"`
	VersionName pulumi.StringInput `pulumi:"versionName"`
}

func (GetDomainsDomainArgs) ElementType

func (GetDomainsDomainArgs) ElementType() reflect.Type

func (GetDomainsDomainArgs) ToGetDomainsDomainOutput

func (i GetDomainsDomainArgs) ToGetDomainsDomainOutput() GetDomainsDomainOutput

func (GetDomainsDomainArgs) ToGetDomainsDomainOutputWithContext

func (i GetDomainsDomainArgs) ToGetDomainsDomainOutputWithContext(ctx context.Context) GetDomainsDomainOutput

type GetDomainsDomainArray

type GetDomainsDomainArray []GetDomainsDomainInput

func (GetDomainsDomainArray) ElementType

func (GetDomainsDomainArray) ElementType() reflect.Type

func (GetDomainsDomainArray) ToGetDomainsDomainArrayOutput

func (i GetDomainsDomainArray) ToGetDomainsDomainArrayOutput() GetDomainsDomainArrayOutput

func (GetDomainsDomainArray) ToGetDomainsDomainArrayOutputWithContext

func (i GetDomainsDomainArray) ToGetDomainsDomainArrayOutputWithContext(ctx context.Context) GetDomainsDomainArrayOutput

type GetDomainsDomainArrayInput

type GetDomainsDomainArrayInput interface {
	pulumi.Input

	ToGetDomainsDomainArrayOutput() GetDomainsDomainArrayOutput
	ToGetDomainsDomainArrayOutputWithContext(context.Context) GetDomainsDomainArrayOutput
}

GetDomainsDomainArrayInput is an input type that accepts GetDomainsDomainArray and GetDomainsDomainArrayOutput values. You can construct a concrete instance of `GetDomainsDomainArrayInput` via:

GetDomainsDomainArray{ GetDomainsDomainArgs{...} }

type GetDomainsDomainArrayOutput

type GetDomainsDomainArrayOutput struct{ *pulumi.OutputState }

func (GetDomainsDomainArrayOutput) ElementType

func (GetDomainsDomainArrayOutput) Index

func (GetDomainsDomainArrayOutput) ToGetDomainsDomainArrayOutput

func (o GetDomainsDomainArrayOutput) ToGetDomainsDomainArrayOutput() GetDomainsDomainArrayOutput

func (GetDomainsDomainArrayOutput) ToGetDomainsDomainArrayOutputWithContext

func (o GetDomainsDomainArrayOutput) ToGetDomainsDomainArrayOutputWithContext(ctx context.Context) GetDomainsDomainArrayOutput

type GetDomainsDomainInput

type GetDomainsDomainInput interface {
	pulumi.Input

	ToGetDomainsDomainOutput() GetDomainsDomainOutput
	ToGetDomainsDomainOutputWithContext(context.Context) GetDomainsDomainOutput
}

GetDomainsDomainInput is an input type that accepts GetDomainsDomainArgs and GetDomainsDomainOutput values. You can construct a concrete instance of `GetDomainsDomainInput` via:

GetDomainsDomainArgs{...}

type GetDomainsDomainOutput

type GetDomainsDomainOutput struct{ *pulumi.OutputState }

func (GetDomainsDomainOutput) AliDomain

Specifies whether the domain is from Alibaba Cloud or not.

func (GetDomainsDomainOutput) AvailableTtls

func (o GetDomainsDomainOutput) AvailableTtls() pulumi.IntArrayOutput

func (GetDomainsDomainOutput) DnsServers

DNS list of domain names in the resolution system.

func (GetDomainsDomainOutput) DomainId

ID of the domain.

func (GetDomainsDomainOutput) DomainName

Name of the domain.

func (GetDomainsDomainOutput) ElementType

func (GetDomainsDomainOutput) ElementType() reflect.Type

func (GetDomainsDomainOutput) GroupId

Domain group ID, if not filled, the default is all groups.

func (GetDomainsDomainOutput) GroupName

Name of group that contains the domain.

func (GetDomainsDomainOutput) Id

The Id of resource.

func (GetDomainsDomainOutput) InBlackHole

func (o GetDomainsDomainOutput) InBlackHole() pulumi.BoolOutput

Whether it is in black hole.

func (GetDomainsDomainOutput) InClean

Whether it is cleaning.

func (GetDomainsDomainOutput) InstanceId

Cloud analysis product ID.

func (GetDomainsDomainOutput) LineType

func (GetDomainsDomainOutput) MinTtl

Minimum TTL.

func (GetDomainsDomainOutput) PunyCode

Punycode of the Chinese domain.

func (GetDomainsDomainOutput) RecordLineTreeJson

func (o GetDomainsDomainOutput) RecordLineTreeJson() pulumi.StringOutput

Tree-like analytical line list.

func (GetDomainsDomainOutput) RecordLines

func (GetDomainsDomainOutput) RegionLines

func (o GetDomainsDomainOutput) RegionLines() pulumi.BoolOutput

Whether it is a regional route.

func (GetDomainsDomainOutput) Remark

The Id of resource group which the dns belongs.

func (GetDomainsDomainOutput) ResourceGroupId

func (o GetDomainsDomainOutput) ResourceGroupId() pulumi.StringOutput

The Id of resource group which the dns belongs.

func (GetDomainsDomainOutput) SlaveDns

Whether to allow auxiliary dns.

func (GetDomainsDomainOutput) Tags

A mapping of tags to assign to the resource.

func (GetDomainsDomainOutput) ToGetDomainsDomainOutput

func (o GetDomainsDomainOutput) ToGetDomainsDomainOutput() GetDomainsDomainOutput

func (GetDomainsDomainOutput) ToGetDomainsDomainOutputWithContext

func (o GetDomainsDomainOutput) ToGetDomainsDomainOutputWithContext(ctx context.Context) GetDomainsDomainOutput

func (GetDomainsDomainOutput) VersionCode

func (o GetDomainsDomainOutput) VersionCode() pulumi.StringOutput

Cloud analysis version code.

func (GetDomainsDomainOutput) VersionName

func (o GetDomainsDomainOutput) VersionName() pulumi.StringOutput

type GetDomainsDomainRecordLine

type GetDomainsDomainRecordLine struct {
	FatherCode      string `pulumi:"fatherCode"`
	LineCode        string `pulumi:"lineCode"`
	LineDisplayName string `pulumi:"lineDisplayName"`
	LineName        string `pulumi:"lineName"`
}

type GetDomainsDomainRecordLineArgs

type GetDomainsDomainRecordLineArgs struct {
	FatherCode      pulumi.StringInput `pulumi:"fatherCode"`
	LineCode        pulumi.StringInput `pulumi:"lineCode"`
	LineDisplayName pulumi.StringInput `pulumi:"lineDisplayName"`
	LineName        pulumi.StringInput `pulumi:"lineName"`
}

func (GetDomainsDomainRecordLineArgs) ElementType

func (GetDomainsDomainRecordLineArgs) ToGetDomainsDomainRecordLineOutput

func (i GetDomainsDomainRecordLineArgs) ToGetDomainsDomainRecordLineOutput() GetDomainsDomainRecordLineOutput

func (GetDomainsDomainRecordLineArgs) ToGetDomainsDomainRecordLineOutputWithContext

func (i GetDomainsDomainRecordLineArgs) ToGetDomainsDomainRecordLineOutputWithContext(ctx context.Context) GetDomainsDomainRecordLineOutput

type GetDomainsDomainRecordLineArray

type GetDomainsDomainRecordLineArray []GetDomainsDomainRecordLineInput

func (GetDomainsDomainRecordLineArray) ElementType

func (GetDomainsDomainRecordLineArray) ToGetDomainsDomainRecordLineArrayOutput

func (i GetDomainsDomainRecordLineArray) ToGetDomainsDomainRecordLineArrayOutput() GetDomainsDomainRecordLineArrayOutput

func (GetDomainsDomainRecordLineArray) ToGetDomainsDomainRecordLineArrayOutputWithContext

func (i GetDomainsDomainRecordLineArray) ToGetDomainsDomainRecordLineArrayOutputWithContext(ctx context.Context) GetDomainsDomainRecordLineArrayOutput

type GetDomainsDomainRecordLineArrayInput

type GetDomainsDomainRecordLineArrayInput interface {
	pulumi.Input

	ToGetDomainsDomainRecordLineArrayOutput() GetDomainsDomainRecordLineArrayOutput
	ToGetDomainsDomainRecordLineArrayOutputWithContext(context.Context) GetDomainsDomainRecordLineArrayOutput
}

GetDomainsDomainRecordLineArrayInput is an input type that accepts GetDomainsDomainRecordLineArray and GetDomainsDomainRecordLineArrayOutput values. You can construct a concrete instance of `GetDomainsDomainRecordLineArrayInput` via:

GetDomainsDomainRecordLineArray{ GetDomainsDomainRecordLineArgs{...} }

type GetDomainsDomainRecordLineArrayOutput

type GetDomainsDomainRecordLineArrayOutput struct{ *pulumi.OutputState }

func (GetDomainsDomainRecordLineArrayOutput) ElementType

func (GetDomainsDomainRecordLineArrayOutput) Index

func (GetDomainsDomainRecordLineArrayOutput) ToGetDomainsDomainRecordLineArrayOutput

func (o GetDomainsDomainRecordLineArrayOutput) ToGetDomainsDomainRecordLineArrayOutput() GetDomainsDomainRecordLineArrayOutput

func (GetDomainsDomainRecordLineArrayOutput) ToGetDomainsDomainRecordLineArrayOutputWithContext

func (o GetDomainsDomainRecordLineArrayOutput) ToGetDomainsDomainRecordLineArrayOutputWithContext(ctx context.Context) GetDomainsDomainRecordLineArrayOutput

type GetDomainsDomainRecordLineInput

type GetDomainsDomainRecordLineInput interface {
	pulumi.Input

	ToGetDomainsDomainRecordLineOutput() GetDomainsDomainRecordLineOutput
	ToGetDomainsDomainRecordLineOutputWithContext(context.Context) GetDomainsDomainRecordLineOutput
}

GetDomainsDomainRecordLineInput is an input type that accepts GetDomainsDomainRecordLineArgs and GetDomainsDomainRecordLineOutput values. You can construct a concrete instance of `GetDomainsDomainRecordLineInput` via:

GetDomainsDomainRecordLineArgs{...}

type GetDomainsDomainRecordLineOutput

type GetDomainsDomainRecordLineOutput struct{ *pulumi.OutputState }

func (GetDomainsDomainRecordLineOutput) ElementType

func (GetDomainsDomainRecordLineOutput) FatherCode

func (GetDomainsDomainRecordLineOutput) LineCode

func (GetDomainsDomainRecordLineOutput) LineDisplayName

func (GetDomainsDomainRecordLineOutput) LineName

func (GetDomainsDomainRecordLineOutput) ToGetDomainsDomainRecordLineOutput

func (o GetDomainsDomainRecordLineOutput) ToGetDomainsDomainRecordLineOutput() GetDomainsDomainRecordLineOutput

func (GetDomainsDomainRecordLineOutput) ToGetDomainsDomainRecordLineOutputWithContext

func (o GetDomainsDomainRecordLineOutput) ToGetDomainsDomainRecordLineOutputWithContext(ctx context.Context) GetDomainsDomainRecordLineOutput

type GetDomainsOutputArgs

type GetDomainsOutputArgs struct {
	// Specifies whether the domain is from Alibaba Cloud or not.
	AliDomain pulumi.BoolPtrInput `pulumi:"aliDomain"`
	// A regex string to filter results by the domain name.
	DomainNameRegex pulumi.StringPtrInput `pulumi:"domainNameRegex"`
	EnableDetails   pulumi.BoolPtrInput   `pulumi:"enableDetails"`
	// Domain group ID, if not filled, the default is all groups.
	GroupId pulumi.StringPtrInput `pulumi:"groupId"`
	// A regex string to filter results by the group name.
	GroupNameRegex pulumi.StringPtrInput `pulumi:"groupNameRegex"`
	// - A list of domain IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// Cloud analysis product ID.
	InstanceId pulumi.StringPtrInput `pulumi:"instanceId"`
	// The keywords are searched according to the `%KeyWord%` mode, which is not case sensitive.
	KeyWord pulumi.StringPtrInput `pulumi:"keyWord"`
	// User language.
	Lang       pulumi.StringPtrInput `pulumi:"lang"`
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// The Id of resource group which the dns belongs.
	ResourceGroupId pulumi.StringPtrInput `pulumi:"resourceGroupId"`
	// Search mode, `LIKE` fuzzy search, `EXACT` exact search.
	SearchMode pulumi.StringPtrInput `pulumi:"searchMode"`
	// Whether to query the domain name star.
	Starmark pulumi.BoolPtrInput `pulumi:"starmark"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapInput `pulumi:"tags"`
	// Cloud analysis version code.
	VersionCode pulumi.StringPtrInput `pulumi:"versionCode"`
}

A collection of arguments for invoking getDomains.

func (GetDomainsOutputArgs) ElementType

func (GetDomainsOutputArgs) ElementType() reflect.Type

type GetDomainsResult

type GetDomainsResult struct {
	// Indicates whether the domain is an Alibaba Cloud domain.
	AliDomain       *bool   `pulumi:"aliDomain"`
	DomainNameRegex *string `pulumi:"domainNameRegex"`
	// A list of domains. Each element contains the following attributes:
	Domains       []GetDomainsDomain `pulumi:"domains"`
	EnableDetails *bool              `pulumi:"enableDetails"`
	// Id of group that contains the domain.
	GroupId        *string `pulumi:"groupId"`
	GroupNameRegex *string `pulumi:"groupNameRegex"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A list of domain IDs.
	Ids []string `pulumi:"ids"`
	// Cloud analysis product ID of the domain.
	InstanceId *string `pulumi:"instanceId"`
	KeyWord    *string `pulumi:"keyWord"`
	Lang       *string `pulumi:"lang"`
	// A list of domain names.
	Names      []string `pulumi:"names"`
	OutputFile *string  `pulumi:"outputFile"`
	// The Id of resource group which the dns belongs.
	ResourceGroupId *string                `pulumi:"resourceGroupId"`
	SearchMode      *string                `pulumi:"searchMode"`
	Starmark        *bool                  `pulumi:"starmark"`
	Tags            map[string]interface{} `pulumi:"tags"`
	// Cloud resolution version ID.
	VersionCode *string `pulumi:"versionCode"`
}

A collection of values returned by getDomains.

func GetDomains

func GetDomains(ctx *pulumi.Context, args *GetDomainsArgs, opts ...pulumi.InvokeOption) (*GetDomainsResult, error)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/dns"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/dns"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		domainsDs, err := dns.GetDomains(ctx, &dns.GetDomainsArgs{
			DomainNameRegex: pulumi.StringRef("^hegu"),
			OutputFile:      pulumi.StringRef("domains.txt"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("firstDomainId", domainsDs.Domains[0].DomainId)
		return nil
	})
}

```

type GetDomainsResultOutput

type GetDomainsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getDomains.

func (GetDomainsResultOutput) AliDomain

Indicates whether the domain is an Alibaba Cloud domain.

func (GetDomainsResultOutput) DomainNameRegex

func (o GetDomainsResultOutput) DomainNameRegex() pulumi.StringPtrOutput

func (GetDomainsResultOutput) Domains

A list of domains. Each element contains the following attributes:

func (GetDomainsResultOutput) ElementType

func (GetDomainsResultOutput) ElementType() reflect.Type

func (GetDomainsResultOutput) EnableDetails

func (o GetDomainsResultOutput) EnableDetails() pulumi.BoolPtrOutput

func (GetDomainsResultOutput) GroupId

Id of group that contains the domain.

func (GetDomainsResultOutput) GroupNameRegex

func (o GetDomainsResultOutput) GroupNameRegex() pulumi.StringPtrOutput

func (GetDomainsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetDomainsResultOutput) Ids

A list of domain IDs.

func (GetDomainsResultOutput) InstanceId

Cloud analysis product ID of the domain.

func (GetDomainsResultOutput) KeyWord

func (GetDomainsResultOutput) Lang

func (GetDomainsResultOutput) Names

A list of domain names.

func (GetDomainsResultOutput) OutputFile

func (GetDomainsResultOutput) ResourceGroupId

func (o GetDomainsResultOutput) ResourceGroupId() pulumi.StringPtrOutput

The Id of resource group which the dns belongs.

func (GetDomainsResultOutput) SearchMode

func (GetDomainsResultOutput) Starmark

func (GetDomainsResultOutput) Tags

func (GetDomainsResultOutput) ToGetDomainsResultOutput

func (o GetDomainsResultOutput) ToGetDomainsResultOutput() GetDomainsResultOutput

func (GetDomainsResultOutput) ToGetDomainsResultOutputWithContext

func (o GetDomainsResultOutput) ToGetDomainsResultOutputWithContext(ctx context.Context) GetDomainsResultOutput

func (GetDomainsResultOutput) VersionCode

Cloud resolution version ID.

type GetGroupsArgs

type GetGroupsArgs struct {
	// A list of group IDs.
	Ids []string `pulumi:"ids"`
	// A regex string to filter results by group name.
	NameRegex  *string `pulumi:"nameRegex"`
	OutputFile *string `pulumi:"outputFile"`
}

A collection of arguments for invoking getGroups.

type GetGroupsGroup

type GetGroupsGroup struct {
	// Id of the group.
	GroupId string `pulumi:"groupId"`
	// Name of the group.
	GroupName string `pulumi:"groupName"`
}

type GetGroupsGroupArgs

type GetGroupsGroupArgs struct {
	// Id of the group.
	GroupId pulumi.StringInput `pulumi:"groupId"`
	// Name of the group.
	GroupName pulumi.StringInput `pulumi:"groupName"`
}

func (GetGroupsGroupArgs) ElementType

func (GetGroupsGroupArgs) ElementType() reflect.Type

func (GetGroupsGroupArgs) ToGetGroupsGroupOutput

func (i GetGroupsGroupArgs) ToGetGroupsGroupOutput() GetGroupsGroupOutput

func (GetGroupsGroupArgs) ToGetGroupsGroupOutputWithContext

func (i GetGroupsGroupArgs) ToGetGroupsGroupOutputWithContext(ctx context.Context) GetGroupsGroupOutput

type GetGroupsGroupArray

type GetGroupsGroupArray []GetGroupsGroupInput

func (GetGroupsGroupArray) ElementType

func (GetGroupsGroupArray) ElementType() reflect.Type

func (GetGroupsGroupArray) ToGetGroupsGroupArrayOutput

func (i GetGroupsGroupArray) ToGetGroupsGroupArrayOutput() GetGroupsGroupArrayOutput

func (GetGroupsGroupArray) ToGetGroupsGroupArrayOutputWithContext

func (i GetGroupsGroupArray) ToGetGroupsGroupArrayOutputWithContext(ctx context.Context) GetGroupsGroupArrayOutput

type GetGroupsGroupArrayInput

type GetGroupsGroupArrayInput interface {
	pulumi.Input

	ToGetGroupsGroupArrayOutput() GetGroupsGroupArrayOutput
	ToGetGroupsGroupArrayOutputWithContext(context.Context) GetGroupsGroupArrayOutput
}

GetGroupsGroupArrayInput is an input type that accepts GetGroupsGroupArray and GetGroupsGroupArrayOutput values. You can construct a concrete instance of `GetGroupsGroupArrayInput` via:

GetGroupsGroupArray{ GetGroupsGroupArgs{...} }

type GetGroupsGroupArrayOutput

type GetGroupsGroupArrayOutput struct{ *pulumi.OutputState }

func (GetGroupsGroupArrayOutput) ElementType

func (GetGroupsGroupArrayOutput) ElementType() reflect.Type

func (GetGroupsGroupArrayOutput) Index

func (GetGroupsGroupArrayOutput) ToGetGroupsGroupArrayOutput

func (o GetGroupsGroupArrayOutput) ToGetGroupsGroupArrayOutput() GetGroupsGroupArrayOutput

func (GetGroupsGroupArrayOutput) ToGetGroupsGroupArrayOutputWithContext

func (o GetGroupsGroupArrayOutput) ToGetGroupsGroupArrayOutputWithContext(ctx context.Context) GetGroupsGroupArrayOutput

type GetGroupsGroupInput

type GetGroupsGroupInput interface {
	pulumi.Input

	ToGetGroupsGroupOutput() GetGroupsGroupOutput
	ToGetGroupsGroupOutputWithContext(context.Context) GetGroupsGroupOutput
}

GetGroupsGroupInput is an input type that accepts GetGroupsGroupArgs and GetGroupsGroupOutput values. You can construct a concrete instance of `GetGroupsGroupInput` via:

GetGroupsGroupArgs{...}

type GetGroupsGroupOutput

type GetGroupsGroupOutput struct{ *pulumi.OutputState }

func (GetGroupsGroupOutput) ElementType

func (GetGroupsGroupOutput) ElementType() reflect.Type

func (GetGroupsGroupOutput) GroupId

Id of the group.

func (GetGroupsGroupOutput) GroupName

Name of the group.

func (GetGroupsGroupOutput) ToGetGroupsGroupOutput

func (o GetGroupsGroupOutput) ToGetGroupsGroupOutput() GetGroupsGroupOutput

func (GetGroupsGroupOutput) ToGetGroupsGroupOutputWithContext

func (o GetGroupsGroupOutput) ToGetGroupsGroupOutputWithContext(ctx context.Context) GetGroupsGroupOutput

type GetGroupsOutputArgs

type GetGroupsOutputArgs struct {
	// A list of group IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// A regex string to filter results by group name.
	NameRegex  pulumi.StringPtrInput `pulumi:"nameRegex"`
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
}

A collection of arguments for invoking getGroups.

func (GetGroupsOutputArgs) ElementType

func (GetGroupsOutputArgs) ElementType() reflect.Type

type GetGroupsResult

type GetGroupsResult struct {
	// A list of groups. Each element contains the following attributes:
	Groups []GetGroupsGroup `pulumi:"groups"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A list of group IDs.
	Ids       []string `pulumi:"ids"`
	NameRegex *string  `pulumi:"nameRegex"`
	// A list of group names.
	Names      []string `pulumi:"names"`
	OutputFile *string  `pulumi:"outputFile"`
}

A collection of values returned by getGroups.

func GetGroups

func GetGroups(ctx *pulumi.Context, args *GetGroupsArgs, opts ...pulumi.InvokeOption) (*GetGroupsResult, error)

This data source provides a list of DNS Domain Groups in an Alibaba Cloud account according to the specified filters.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/dns"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/dns"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		groupsDs, err := dns.GetGroups(ctx, &dns.GetGroupsArgs{
			NameRegex:  pulumi.StringRef("^y[A-Za-z]+"),
			OutputFile: pulumi.StringRef("groups.txt"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("firstGroupName", groupsDs.Groups[0].GroupName)
		return nil
	})
}

```

type GetGroupsResultOutput

type GetGroupsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getGroups.

func (GetGroupsResultOutput) ElementType

func (GetGroupsResultOutput) ElementType() reflect.Type

func (GetGroupsResultOutput) Groups

A list of groups. Each element contains the following attributes:

func (GetGroupsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetGroupsResultOutput) Ids

A list of group IDs.

func (GetGroupsResultOutput) NameRegex

func (GetGroupsResultOutput) Names

A list of group names.

func (GetGroupsResultOutput) OutputFile

func (GetGroupsResultOutput) ToGetGroupsResultOutput

func (o GetGroupsResultOutput) ToGetGroupsResultOutput() GetGroupsResultOutput

func (GetGroupsResultOutput) ToGetGroupsResultOutputWithContext

func (o GetGroupsResultOutput) ToGetGroupsResultOutputWithContext(ctx context.Context) GetGroupsResultOutput

type GetGtmInstancesArgs

type GetGtmInstancesArgs struct {
	// A list of Gtm Instance IDs.
	Ids []string `pulumi:"ids"`
	// The lang.
	Lang *string `pulumi:"lang"`
	// The ID of the resource group.
	ResourceGroupId *string `pulumi:"resourceGroupId"`
}

A collection of arguments for invoking getGtmInstances.

type GetGtmInstancesInstance

type GetGtmInstancesInstance struct {
	// The alert notification methods.
	AlertConfigs []GetGtmInstancesInstanceAlertConfig `pulumi:"alertConfigs"`
	// The alert group.
	AlertGroups []string `pulumi:"alertGroups"`
	// The access type of the CNAME domain name.
	CnameType string `pulumi:"cnameType"`
	// The CreateTime of the Gtm Instance.
	CreateTime string `pulumi:"createTime"`
	// The ExpireTime of the Gtm Instance.
	ExpireTime string `pulumi:"expireTime"`
	// The ID of the Gtm Instance.
	Id string `pulumi:"id"`
	// The ID of the Gtm Instance.
	InstanceId string `pulumi:"instanceId"`
	// The name of the Gtm Instance.
	InstanceName string `pulumi:"instanceName"`
	// The version of the instance.
	PackageEdition string `pulumi:"packageEdition"`
	// The paymentype of the resource.
	PaymentType string `pulumi:"paymentType"`
	// The Public Network domain name access method.
	PublicCnameMode string `pulumi:"publicCnameMode"`
	// The CNAME access domain name.
	PublicRr string `pulumi:"publicRr"`
	// The website domain name that the user uses on the Internet.
	PublicUserDomainName string `pulumi:"publicUserDomainName"`
	// The domain name that is used to access GTM over the Internet.
	PublicZoneName string `pulumi:"publicZoneName"`
	// The ID of the resource group.
	ResourceGroupId string `pulumi:"resourceGroupId"`
	// The type of the access policy.
	StrategyMode string `pulumi:"strategyMode"`
	// The global time to live.
	Ttl int `pulumi:"ttl"`
}

type GetGtmInstancesInstanceAlertConfig

type GetGtmInstancesInstanceAlertConfig struct {
	// Whether to configure DingTalk notifications.
	DingtalkNotice bool `pulumi:"dingtalkNotice"`
	// Whether to configure mail notification.
	EmailNotice bool `pulumi:"emailNotice"`
	// The Alarm Event Type.
	NoticeType string `pulumi:"noticeType"`
	// Whether to configure SMS notification.
	SmsNotice bool `pulumi:"smsNotice"`
}

type GetGtmInstancesInstanceAlertConfigArgs

type GetGtmInstancesInstanceAlertConfigArgs struct {
	// Whether to configure DingTalk notifications.
	DingtalkNotice pulumi.BoolInput `pulumi:"dingtalkNotice"`
	// Whether to configure mail notification.
	EmailNotice pulumi.BoolInput `pulumi:"emailNotice"`
	// The Alarm Event Type.
	NoticeType pulumi.StringInput `pulumi:"noticeType"`
	// Whether to configure SMS notification.
	SmsNotice pulumi.BoolInput `pulumi:"smsNotice"`
}

func (GetGtmInstancesInstanceAlertConfigArgs) ElementType

func (GetGtmInstancesInstanceAlertConfigArgs) ToGetGtmInstancesInstanceAlertConfigOutput

func (i GetGtmInstancesInstanceAlertConfigArgs) ToGetGtmInstancesInstanceAlertConfigOutput() GetGtmInstancesInstanceAlertConfigOutput

func (GetGtmInstancesInstanceAlertConfigArgs) ToGetGtmInstancesInstanceAlertConfigOutputWithContext

func (i GetGtmInstancesInstanceAlertConfigArgs) ToGetGtmInstancesInstanceAlertConfigOutputWithContext(ctx context.Context) GetGtmInstancesInstanceAlertConfigOutput

type GetGtmInstancesInstanceAlertConfigArray

type GetGtmInstancesInstanceAlertConfigArray []GetGtmInstancesInstanceAlertConfigInput

func (GetGtmInstancesInstanceAlertConfigArray) ElementType

func (GetGtmInstancesInstanceAlertConfigArray) ToGetGtmInstancesInstanceAlertConfigArrayOutput

func (i GetGtmInstancesInstanceAlertConfigArray) ToGetGtmInstancesInstanceAlertConfigArrayOutput() GetGtmInstancesInstanceAlertConfigArrayOutput

func (GetGtmInstancesInstanceAlertConfigArray) ToGetGtmInstancesInstanceAlertConfigArrayOutputWithContext

func (i GetGtmInstancesInstanceAlertConfigArray) ToGetGtmInstancesInstanceAlertConfigArrayOutputWithContext(ctx context.Context) GetGtmInstancesInstanceAlertConfigArrayOutput

type GetGtmInstancesInstanceAlertConfigArrayInput

type GetGtmInstancesInstanceAlertConfigArrayInput interface {
	pulumi.Input

	ToGetGtmInstancesInstanceAlertConfigArrayOutput() GetGtmInstancesInstanceAlertConfigArrayOutput
	ToGetGtmInstancesInstanceAlertConfigArrayOutputWithContext(context.Context) GetGtmInstancesInstanceAlertConfigArrayOutput
}

GetGtmInstancesInstanceAlertConfigArrayInput is an input type that accepts GetGtmInstancesInstanceAlertConfigArray and GetGtmInstancesInstanceAlertConfigArrayOutput values. You can construct a concrete instance of `GetGtmInstancesInstanceAlertConfigArrayInput` via:

GetGtmInstancesInstanceAlertConfigArray{ GetGtmInstancesInstanceAlertConfigArgs{...} }

type GetGtmInstancesInstanceAlertConfigArrayOutput

type GetGtmInstancesInstanceAlertConfigArrayOutput struct{ *pulumi.OutputState }

func (GetGtmInstancesInstanceAlertConfigArrayOutput) ElementType

func (GetGtmInstancesInstanceAlertConfigArrayOutput) Index

func (GetGtmInstancesInstanceAlertConfigArrayOutput) ToGetGtmInstancesInstanceAlertConfigArrayOutput

func (o GetGtmInstancesInstanceAlertConfigArrayOutput) ToGetGtmInstancesInstanceAlertConfigArrayOutput() GetGtmInstancesInstanceAlertConfigArrayOutput

func (GetGtmInstancesInstanceAlertConfigArrayOutput) ToGetGtmInstancesInstanceAlertConfigArrayOutputWithContext

func (o GetGtmInstancesInstanceAlertConfigArrayOutput) ToGetGtmInstancesInstanceAlertConfigArrayOutputWithContext(ctx context.Context) GetGtmInstancesInstanceAlertConfigArrayOutput

type GetGtmInstancesInstanceAlertConfigInput

type GetGtmInstancesInstanceAlertConfigInput interface {
	pulumi.Input

	ToGetGtmInstancesInstanceAlertConfigOutput() GetGtmInstancesInstanceAlertConfigOutput
	ToGetGtmInstancesInstanceAlertConfigOutputWithContext(context.Context) GetGtmInstancesInstanceAlertConfigOutput
}

GetGtmInstancesInstanceAlertConfigInput is an input type that accepts GetGtmInstancesInstanceAlertConfigArgs and GetGtmInstancesInstanceAlertConfigOutput values. You can construct a concrete instance of `GetGtmInstancesInstanceAlertConfigInput` via:

GetGtmInstancesInstanceAlertConfigArgs{...}

type GetGtmInstancesInstanceAlertConfigOutput

type GetGtmInstancesInstanceAlertConfigOutput struct{ *pulumi.OutputState }

func (GetGtmInstancesInstanceAlertConfigOutput) DingtalkNotice

Whether to configure DingTalk notifications.

func (GetGtmInstancesInstanceAlertConfigOutput) ElementType

func (GetGtmInstancesInstanceAlertConfigOutput) EmailNotice

Whether to configure mail notification.

func (GetGtmInstancesInstanceAlertConfigOutput) NoticeType

The Alarm Event Type.

func (GetGtmInstancesInstanceAlertConfigOutput) SmsNotice

Whether to configure SMS notification.

func (GetGtmInstancesInstanceAlertConfigOutput) ToGetGtmInstancesInstanceAlertConfigOutput

func (o GetGtmInstancesInstanceAlertConfigOutput) ToGetGtmInstancesInstanceAlertConfigOutput() GetGtmInstancesInstanceAlertConfigOutput

func (GetGtmInstancesInstanceAlertConfigOutput) ToGetGtmInstancesInstanceAlertConfigOutputWithContext

func (o GetGtmInstancesInstanceAlertConfigOutput) ToGetGtmInstancesInstanceAlertConfigOutputWithContext(ctx context.Context) GetGtmInstancesInstanceAlertConfigOutput

type GetGtmInstancesInstanceArgs

type GetGtmInstancesInstanceArgs struct {
	// The alert notification methods.
	AlertConfigs GetGtmInstancesInstanceAlertConfigArrayInput `pulumi:"alertConfigs"`
	// The alert group.
	AlertGroups pulumi.StringArrayInput `pulumi:"alertGroups"`
	// The access type of the CNAME domain name.
	CnameType pulumi.StringInput `pulumi:"cnameType"`
	// The CreateTime of the Gtm Instance.
	CreateTime pulumi.StringInput `pulumi:"createTime"`
	// The ExpireTime of the Gtm Instance.
	ExpireTime pulumi.StringInput `pulumi:"expireTime"`
	// The ID of the Gtm Instance.
	Id pulumi.StringInput `pulumi:"id"`
	// The ID of the Gtm Instance.
	InstanceId pulumi.StringInput `pulumi:"instanceId"`
	// The name of the Gtm Instance.
	InstanceName pulumi.StringInput `pulumi:"instanceName"`
	// The version of the instance.
	PackageEdition pulumi.StringInput `pulumi:"packageEdition"`
	// The paymentype of the resource.
	PaymentType pulumi.StringInput `pulumi:"paymentType"`
	// The Public Network domain name access method.
	PublicCnameMode pulumi.StringInput `pulumi:"publicCnameMode"`
	// The CNAME access domain name.
	PublicRr pulumi.StringInput `pulumi:"publicRr"`
	// The website domain name that the user uses on the Internet.
	PublicUserDomainName pulumi.StringInput `pulumi:"publicUserDomainName"`
	// The domain name that is used to access GTM over the Internet.
	PublicZoneName pulumi.StringInput `pulumi:"publicZoneName"`
	// The ID of the resource group.
	ResourceGroupId pulumi.StringInput `pulumi:"resourceGroupId"`
	// The type of the access policy.
	StrategyMode pulumi.StringInput `pulumi:"strategyMode"`
	// The global time to live.
	Ttl pulumi.IntInput `pulumi:"ttl"`
}

func (GetGtmInstancesInstanceArgs) ElementType

func (GetGtmInstancesInstanceArgs) ToGetGtmInstancesInstanceOutput

func (i GetGtmInstancesInstanceArgs) ToGetGtmInstancesInstanceOutput() GetGtmInstancesInstanceOutput

func (GetGtmInstancesInstanceArgs) ToGetGtmInstancesInstanceOutputWithContext

func (i GetGtmInstancesInstanceArgs) ToGetGtmInstancesInstanceOutputWithContext(ctx context.Context) GetGtmInstancesInstanceOutput

type GetGtmInstancesInstanceArray

type GetGtmInstancesInstanceArray []GetGtmInstancesInstanceInput

func (GetGtmInstancesInstanceArray) ElementType

func (GetGtmInstancesInstanceArray) ToGetGtmInstancesInstanceArrayOutput

func (i GetGtmInstancesInstanceArray) ToGetGtmInstancesInstanceArrayOutput() GetGtmInstancesInstanceArrayOutput

func (GetGtmInstancesInstanceArray) ToGetGtmInstancesInstanceArrayOutputWithContext

func (i GetGtmInstancesInstanceArray) ToGetGtmInstancesInstanceArrayOutputWithContext(ctx context.Context) GetGtmInstancesInstanceArrayOutput

type GetGtmInstancesInstanceArrayInput

type GetGtmInstancesInstanceArrayInput interface {
	pulumi.Input

	ToGetGtmInstancesInstanceArrayOutput() GetGtmInstancesInstanceArrayOutput
	ToGetGtmInstancesInstanceArrayOutputWithContext(context.Context) GetGtmInstancesInstanceArrayOutput
}

GetGtmInstancesInstanceArrayInput is an input type that accepts GetGtmInstancesInstanceArray and GetGtmInstancesInstanceArrayOutput values. You can construct a concrete instance of `GetGtmInstancesInstanceArrayInput` via:

GetGtmInstancesInstanceArray{ GetGtmInstancesInstanceArgs{...} }

type GetGtmInstancesInstanceArrayOutput

type GetGtmInstancesInstanceArrayOutput struct{ *pulumi.OutputState }

func (GetGtmInstancesInstanceArrayOutput) ElementType

func (GetGtmInstancesInstanceArrayOutput) Index

func (GetGtmInstancesInstanceArrayOutput) ToGetGtmInstancesInstanceArrayOutput

func (o GetGtmInstancesInstanceArrayOutput) ToGetGtmInstancesInstanceArrayOutput() GetGtmInstancesInstanceArrayOutput

func (GetGtmInstancesInstanceArrayOutput) ToGetGtmInstancesInstanceArrayOutputWithContext

func (o GetGtmInstancesInstanceArrayOutput) ToGetGtmInstancesInstanceArrayOutputWithContext(ctx context.Context) GetGtmInstancesInstanceArrayOutput

type GetGtmInstancesInstanceInput

type GetGtmInstancesInstanceInput interface {
	pulumi.Input

	ToGetGtmInstancesInstanceOutput() GetGtmInstancesInstanceOutput
	ToGetGtmInstancesInstanceOutputWithContext(context.Context) GetGtmInstancesInstanceOutput
}

GetGtmInstancesInstanceInput is an input type that accepts GetGtmInstancesInstanceArgs and GetGtmInstancesInstanceOutput values. You can construct a concrete instance of `GetGtmInstancesInstanceInput` via:

GetGtmInstancesInstanceArgs{...}

type GetGtmInstancesInstanceOutput

type GetGtmInstancesInstanceOutput struct{ *pulumi.OutputState }

func (GetGtmInstancesInstanceOutput) AlertConfigs

The alert notification methods.

func (GetGtmInstancesInstanceOutput) AlertGroups

The alert group.

func (GetGtmInstancesInstanceOutput) CnameType

The access type of the CNAME domain name.

func (GetGtmInstancesInstanceOutput) CreateTime

The CreateTime of the Gtm Instance.

func (GetGtmInstancesInstanceOutput) ElementType

func (GetGtmInstancesInstanceOutput) ExpireTime

The ExpireTime of the Gtm Instance.

func (GetGtmInstancesInstanceOutput) Id

The ID of the Gtm Instance.

func (GetGtmInstancesInstanceOutput) InstanceId

The ID of the Gtm Instance.

func (GetGtmInstancesInstanceOutput) InstanceName

The name of the Gtm Instance.

func (GetGtmInstancesInstanceOutput) PackageEdition

The version of the instance.

func (GetGtmInstancesInstanceOutput) PaymentType

The paymentype of the resource.

func (GetGtmInstancesInstanceOutput) PublicCnameMode

The Public Network domain name access method.

func (GetGtmInstancesInstanceOutput) PublicRr

The CNAME access domain name.

func (GetGtmInstancesInstanceOutput) PublicUserDomainName

func (o GetGtmInstancesInstanceOutput) PublicUserDomainName() pulumi.StringOutput

The website domain name that the user uses on the Internet.

func (GetGtmInstancesInstanceOutput) PublicZoneName

The domain name that is used to access GTM over the Internet.

func (GetGtmInstancesInstanceOutput) ResourceGroupId

The ID of the resource group.

func (GetGtmInstancesInstanceOutput) StrategyMode

The type of the access policy.

func (GetGtmInstancesInstanceOutput) ToGetGtmInstancesInstanceOutput

func (o GetGtmInstancesInstanceOutput) ToGetGtmInstancesInstanceOutput() GetGtmInstancesInstanceOutput

func (GetGtmInstancesInstanceOutput) ToGetGtmInstancesInstanceOutputWithContext

func (o GetGtmInstancesInstanceOutput) ToGetGtmInstancesInstanceOutputWithContext(ctx context.Context) GetGtmInstancesInstanceOutput

func (GetGtmInstancesInstanceOutput) Ttl

The global time to live.

type GetGtmInstancesOutputArgs

type GetGtmInstancesOutputArgs struct {
	// A list of Gtm Instance IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// The lang.
	Lang pulumi.StringPtrInput `pulumi:"lang"`
	// The ID of the resource group.
	ResourceGroupId pulumi.StringPtrInput `pulumi:"resourceGroupId"`
}

A collection of arguments for invoking getGtmInstances.

func (GetGtmInstancesOutputArgs) ElementType

func (GetGtmInstancesOutputArgs) ElementType() reflect.Type

type GetGtmInstancesResult

type GetGtmInstancesResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id              string                    `pulumi:"id"`
	Ids             []string                  `pulumi:"ids"`
	Instances       []GetGtmInstancesInstance `pulumi:"instances"`
	Lang            *string                   `pulumi:"lang"`
	OutputFile      string                    `pulumi:"outputFile"`
	ResourceGroupId *string                   `pulumi:"resourceGroupId"`
}

A collection of values returned by getGtmInstances.

func GetGtmInstances

func GetGtmInstances(ctx *pulumi.Context, args *GetGtmInstancesArgs, opts ...pulumi.InvokeOption) (*GetGtmInstancesResult, error)

This data source provides the Alidns Gtm Instances of the current Alibaba Cloud user.

> **NOTE:** Available in v1.151.0+.

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/dns"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/dns"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		ids, err := dns.GetGtmInstances(ctx, nil, nil)
		if err != nil {
			return err
		}
		ctx.Export("alidnsGtmInstanceId1", ids.Instances[0].Id)
		return nil
	})
}

```

type GetGtmInstancesResultOutput

type GetGtmInstancesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getGtmInstances.

func (GetGtmInstancesResultOutput) ElementType

func (GetGtmInstancesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetGtmInstancesResultOutput) Ids

func (GetGtmInstancesResultOutput) Instances

func (GetGtmInstancesResultOutput) Lang

func (GetGtmInstancesResultOutput) OutputFile

func (GetGtmInstancesResultOutput) ResourceGroupId

func (GetGtmInstancesResultOutput) ToGetGtmInstancesResultOutput

func (o GetGtmInstancesResultOutput) ToGetGtmInstancesResultOutput() GetGtmInstancesResultOutput

func (GetGtmInstancesResultOutput) ToGetGtmInstancesResultOutputWithContext

func (o GetGtmInstancesResultOutput) ToGetGtmInstancesResultOutputWithContext(ctx context.Context) GetGtmInstancesResultOutput

type GetInstancesArgs

type GetInstancesArgs struct {
	DomainType *string `pulumi:"domainType"`
	// A list of instance IDs.
	Ids          []string `pulumi:"ids"`
	Lang         *string  `pulumi:"lang"`
	OutputFile   *string  `pulumi:"outputFile"`
	UserClientIp *string  `pulumi:"userClientIp"`
}

A collection of arguments for invoking getInstances.

type GetInstancesInstance

type GetInstancesInstance struct {
	// DNS security level.
	DnsSecurity string `pulumi:"dnsSecurity"`
	Domain      string `pulumi:"domain"`
	// Number of domain names bound.
	DomainNumbers string `pulumi:"domainNumbers"`
	// Id of the instance.
	Id string `pulumi:"id"`
	// Id of the instance resource.
	InstanceId  string `pulumi:"instanceId"`
	PaymentType string `pulumi:"paymentType"`
	// Paid package version.
	VersionCode string `pulumi:"versionCode"`
	// Paid package version name.
	VersionName string `pulumi:"versionName"`
}

type GetInstancesInstanceArgs

type GetInstancesInstanceArgs struct {
	// DNS security level.
	DnsSecurity pulumi.StringInput `pulumi:"dnsSecurity"`
	Domain      pulumi.StringInput `pulumi:"domain"`
	// Number of domain names bound.
	DomainNumbers pulumi.StringInput `pulumi:"domainNumbers"`
	// Id of the instance.
	Id pulumi.StringInput `pulumi:"id"`
	// Id of the instance resource.
	InstanceId  pulumi.StringInput `pulumi:"instanceId"`
	PaymentType pulumi.StringInput `pulumi:"paymentType"`
	// Paid package version.
	VersionCode pulumi.StringInput `pulumi:"versionCode"`
	// Paid package version name.
	VersionName pulumi.StringInput `pulumi:"versionName"`
}

func (GetInstancesInstanceArgs) ElementType

func (GetInstancesInstanceArgs) ElementType() reflect.Type

func (GetInstancesInstanceArgs) ToGetInstancesInstanceOutput

func (i GetInstancesInstanceArgs) ToGetInstancesInstanceOutput() GetInstancesInstanceOutput

func (GetInstancesInstanceArgs) ToGetInstancesInstanceOutputWithContext

func (i GetInstancesInstanceArgs) ToGetInstancesInstanceOutputWithContext(ctx context.Context) GetInstancesInstanceOutput

type GetInstancesInstanceArray

type GetInstancesInstanceArray []GetInstancesInstanceInput

func (GetInstancesInstanceArray) ElementType

func (GetInstancesInstanceArray) ElementType() reflect.Type

func (GetInstancesInstanceArray) ToGetInstancesInstanceArrayOutput

func (i GetInstancesInstanceArray) ToGetInstancesInstanceArrayOutput() GetInstancesInstanceArrayOutput

func (GetInstancesInstanceArray) ToGetInstancesInstanceArrayOutputWithContext

func (i GetInstancesInstanceArray) ToGetInstancesInstanceArrayOutputWithContext(ctx context.Context) GetInstancesInstanceArrayOutput

type GetInstancesInstanceArrayInput

type GetInstancesInstanceArrayInput interface {
	pulumi.Input

	ToGetInstancesInstanceArrayOutput() GetInstancesInstanceArrayOutput
	ToGetInstancesInstanceArrayOutputWithContext(context.Context) GetInstancesInstanceArrayOutput
}

GetInstancesInstanceArrayInput is an input type that accepts GetInstancesInstanceArray and GetInstancesInstanceArrayOutput values. You can construct a concrete instance of `GetInstancesInstanceArrayInput` via:

GetInstancesInstanceArray{ GetInstancesInstanceArgs{...} }

type GetInstancesInstanceArrayOutput

type GetInstancesInstanceArrayOutput struct{ *pulumi.OutputState }

func (GetInstancesInstanceArrayOutput) ElementType

func (GetInstancesInstanceArrayOutput) Index

func (GetInstancesInstanceArrayOutput) ToGetInstancesInstanceArrayOutput

func (o GetInstancesInstanceArrayOutput) ToGetInstancesInstanceArrayOutput() GetInstancesInstanceArrayOutput

func (GetInstancesInstanceArrayOutput) ToGetInstancesInstanceArrayOutputWithContext

func (o GetInstancesInstanceArrayOutput) ToGetInstancesInstanceArrayOutputWithContext(ctx context.Context) GetInstancesInstanceArrayOutput

type GetInstancesInstanceInput

type GetInstancesInstanceInput interface {
	pulumi.Input

	ToGetInstancesInstanceOutput() GetInstancesInstanceOutput
	ToGetInstancesInstanceOutputWithContext(context.Context) GetInstancesInstanceOutput
}

GetInstancesInstanceInput is an input type that accepts GetInstancesInstanceArgs and GetInstancesInstanceOutput values. You can construct a concrete instance of `GetInstancesInstanceInput` via:

GetInstancesInstanceArgs{...}

type GetInstancesInstanceOutput

type GetInstancesInstanceOutput struct{ *pulumi.OutputState }

func (GetInstancesInstanceOutput) DnsSecurity

DNS security level.

func (GetInstancesInstanceOutput) Domain

func (GetInstancesInstanceOutput) DomainNumbers

Number of domain names bound.

func (GetInstancesInstanceOutput) ElementType

func (GetInstancesInstanceOutput) ElementType() reflect.Type

func (GetInstancesInstanceOutput) Id

Id of the instance.

func (GetInstancesInstanceOutput) InstanceId

Id of the instance resource.

func (GetInstancesInstanceOutput) PaymentType

func (GetInstancesInstanceOutput) ToGetInstancesInstanceOutput

func (o GetInstancesInstanceOutput) ToGetInstancesInstanceOutput() GetInstancesInstanceOutput

func (GetInstancesInstanceOutput) ToGetInstancesInstanceOutputWithContext

func (o GetInstancesInstanceOutput) ToGetInstancesInstanceOutputWithContext(ctx context.Context) GetInstancesInstanceOutput

func (GetInstancesInstanceOutput) VersionCode

Paid package version.

func (GetInstancesInstanceOutput) VersionName

Paid package version name.

type GetInstancesOutputArgs

type GetInstancesOutputArgs struct {
	DomainType pulumi.StringPtrInput `pulumi:"domainType"`
	// A list of instance IDs.
	Ids          pulumi.StringArrayInput `pulumi:"ids"`
	Lang         pulumi.StringPtrInput   `pulumi:"lang"`
	OutputFile   pulumi.StringPtrInput   `pulumi:"outputFile"`
	UserClientIp pulumi.StringPtrInput   `pulumi:"userClientIp"`
}

A collection of arguments for invoking getInstances.

func (GetInstancesOutputArgs) ElementType

func (GetInstancesOutputArgs) ElementType() reflect.Type

type GetInstancesResult

type GetInstancesResult struct {
	DomainType *string `pulumi:"domainType"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A list of instance IDs.
	Ids []string `pulumi:"ids"`
	// A list of instances. Each element contains the following attributes:
	Instances    []GetInstancesInstance `pulumi:"instances"`
	Lang         *string                `pulumi:"lang"`
	OutputFile   *string                `pulumi:"outputFile"`
	UserClientIp *string                `pulumi:"userClientIp"`
}

A collection of values returned by getInstances.

func GetInstances

func GetInstances(ctx *pulumi.Context, args *GetInstancesArgs, opts ...pulumi.InvokeOption) (*GetInstancesResult, error)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/dns"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/dns"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := dns.GetInstances(ctx, &dns.GetInstancesArgs{
			Ids: []string{
				"dns-cn-oew1npk****",
			},
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("firstInstanceId", example.Instances[0].Id)
		return nil
	})
}

```

type GetInstancesResultOutput

type GetInstancesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getInstances.

func (GetInstancesResultOutput) DomainType

func (GetInstancesResultOutput) ElementType

func (GetInstancesResultOutput) ElementType() reflect.Type

func (GetInstancesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetInstancesResultOutput) Ids

A list of instance IDs.

func (GetInstancesResultOutput) Instances

A list of instances. Each element contains the following attributes:

func (GetInstancesResultOutput) Lang

func (GetInstancesResultOutput) OutputFile

func (GetInstancesResultOutput) ToGetInstancesResultOutput

func (o GetInstancesResultOutput) ToGetInstancesResultOutput() GetInstancesResultOutput

func (GetInstancesResultOutput) ToGetInstancesResultOutputWithContext

func (o GetInstancesResultOutput) ToGetInstancesResultOutputWithContext(ctx context.Context) GetInstancesResultOutput

func (GetInstancesResultOutput) UserClientIp

type GetRecordsArgs

type GetRecordsArgs struct {
	// The domain name associated to the records.
	DomainName string `pulumi:"domainName"`
	// Host record regex.
	HostRecordRegex *string `pulumi:"hostRecordRegex"`
	// A list of record IDs.
	Ids []string `pulumi:"ids"`
	// Whether the record is locked or not.
	IsLocked *bool `pulumi:"isLocked"`
	// ISP line. Valid items are `default`, `telecom`, `unicom`, `mobile`, `oversea`, `edu`, `drpeng`, `btvn`, .etc. For checking all resolution lines enumeration please visit [Alibaba Cloud DNS doc](https://www.alibabacloud.com/help/doc-detail/34339.htm)
	Line       *string `pulumi:"line"`
	OutputFile *string `pulumi:"outputFile"`
	// Record status. Valid items are `ENABLE` and `DISABLE`.
	Status *string `pulumi:"status"`
	// Record type. Valid items are `A`, `NS`, `MX`, `TXT`, `CNAME`, `SRV`, `AAAA`, `REDIRECT_URL`, `FORWORD_URL` .
	Type *string `pulumi:"type"`
	// Host record value regex.
	ValueRegex *string `pulumi:"valueRegex"`
}

A collection of arguments for invoking getRecords.

type GetRecordsOutputArgs

type GetRecordsOutputArgs struct {
	// The domain name associated to the records.
	DomainName pulumi.StringInput `pulumi:"domainName"`
	// Host record regex.
	HostRecordRegex pulumi.StringPtrInput `pulumi:"hostRecordRegex"`
	// A list of record IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// Whether the record is locked or not.
	IsLocked pulumi.BoolPtrInput `pulumi:"isLocked"`
	// ISP line. Valid items are `default`, `telecom`, `unicom`, `mobile`, `oversea`, `edu`, `drpeng`, `btvn`, .etc. For checking all resolution lines enumeration please visit [Alibaba Cloud DNS doc](https://www.alibabacloud.com/help/doc-detail/34339.htm)
	Line       pulumi.StringPtrInput `pulumi:"line"`
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// Record status. Valid items are `ENABLE` and `DISABLE`.
	Status pulumi.StringPtrInput `pulumi:"status"`
	// Record type. Valid items are `A`, `NS`, `MX`, `TXT`, `CNAME`, `SRV`, `AAAA`, `REDIRECT_URL`, `FORWORD_URL` .
	Type pulumi.StringPtrInput `pulumi:"type"`
	// Host record value regex.
	ValueRegex pulumi.StringPtrInput `pulumi:"valueRegex"`
}

A collection of arguments for invoking getRecords.

func (GetRecordsOutputArgs) ElementType

func (GetRecordsOutputArgs) ElementType() reflect.Type

type GetRecordsRecord

type GetRecordsRecord struct {
	// The domain name associated to the records.
	DomainName string `pulumi:"domainName"`
	// Host record of the domain.
	HostRecord string `pulumi:"hostRecord"`
	// ISP line. Valid items are `default`, `telecom`, `unicom`, `mobile`, `oversea`, `edu`, `drpeng`, `btvn`, .etc. For checking all resolution lines enumeration please visit [Alibaba Cloud DNS doc](https://www.alibabacloud.com/help/doc-detail/34339.htm)
	Line string `pulumi:"line"`
	// Indicates whether the record is locked.
	Locked bool `pulumi:"locked"`
	// Priority of the `MX` record.
	Priority int `pulumi:"priority"`
	// ID of the record.
	RecordId string `pulumi:"recordId"`
	// Record status. Valid items are `ENABLE` and `DISABLE`.
	Status string `pulumi:"status"`
	// TTL of the record.
	Ttl float64 `pulumi:"ttl"`
	// Record type. Valid items are `A`, `NS`, `MX`, `TXT`, `CNAME`, `SRV`, `AAAA`, `REDIRECT_URL`, `FORWORD_URL` .
	Type string `pulumi:"type"`
	// Host record value of the domain.
	Value string `pulumi:"value"`
}

type GetRecordsRecordArgs

type GetRecordsRecordArgs struct {
	// The domain name associated to the records.
	DomainName pulumi.StringInput `pulumi:"domainName"`
	// Host record of the domain.
	HostRecord pulumi.StringInput `pulumi:"hostRecord"`
	// ISP line. Valid items are `default`, `telecom`, `unicom`, `mobile`, `oversea`, `edu`, `drpeng`, `btvn`, .etc. For checking all resolution lines enumeration please visit [Alibaba Cloud DNS doc](https://www.alibabacloud.com/help/doc-detail/34339.htm)
	Line pulumi.StringInput `pulumi:"line"`
	// Indicates whether the record is locked.
	Locked pulumi.BoolInput `pulumi:"locked"`
	// Priority of the `MX` record.
	Priority pulumi.IntInput `pulumi:"priority"`
	// ID of the record.
	RecordId pulumi.StringInput `pulumi:"recordId"`
	// Record status. Valid items are `ENABLE` and `DISABLE`.
	Status pulumi.StringInput `pulumi:"status"`
	// TTL of the record.
	Ttl pulumi.Float64Input `pulumi:"ttl"`
	// Record type. Valid items are `A`, `NS`, `MX`, `TXT`, `CNAME`, `SRV`, `AAAA`, `REDIRECT_URL`, `FORWORD_URL` .
	Type pulumi.StringInput `pulumi:"type"`
	// Host record value of the domain.
	Value pulumi.StringInput `pulumi:"value"`
}

func (GetRecordsRecordArgs) ElementType

func (GetRecordsRecordArgs) ElementType() reflect.Type

func (GetRecordsRecordArgs) ToGetRecordsRecordOutput

func (i GetRecordsRecordArgs) ToGetRecordsRecordOutput() GetRecordsRecordOutput

func (GetRecordsRecordArgs) ToGetRecordsRecordOutputWithContext

func (i GetRecordsRecordArgs) ToGetRecordsRecordOutputWithContext(ctx context.Context) GetRecordsRecordOutput

type GetRecordsRecordArray

type GetRecordsRecordArray []GetRecordsRecordInput

func (GetRecordsRecordArray) ElementType

func (GetRecordsRecordArray) ElementType() reflect.Type

func (GetRecordsRecordArray) ToGetRecordsRecordArrayOutput

func (i GetRecordsRecordArray) ToGetRecordsRecordArrayOutput() GetRecordsRecordArrayOutput

func (GetRecordsRecordArray) ToGetRecordsRecordArrayOutputWithContext

func (i GetRecordsRecordArray) ToGetRecordsRecordArrayOutputWithContext(ctx context.Context) GetRecordsRecordArrayOutput

type GetRecordsRecordArrayInput

type GetRecordsRecordArrayInput interface {
	pulumi.Input

	ToGetRecordsRecordArrayOutput() GetRecordsRecordArrayOutput
	ToGetRecordsRecordArrayOutputWithContext(context.Context) GetRecordsRecordArrayOutput
}

GetRecordsRecordArrayInput is an input type that accepts GetRecordsRecordArray and GetRecordsRecordArrayOutput values. You can construct a concrete instance of `GetRecordsRecordArrayInput` via:

GetRecordsRecordArray{ GetRecordsRecordArgs{...} }

type GetRecordsRecordArrayOutput

type GetRecordsRecordArrayOutput struct{ *pulumi.OutputState }

func (GetRecordsRecordArrayOutput) ElementType

func (GetRecordsRecordArrayOutput) Index

func (GetRecordsRecordArrayOutput) ToGetRecordsRecordArrayOutput

func (o GetRecordsRecordArrayOutput) ToGetRecordsRecordArrayOutput() GetRecordsRecordArrayOutput

func (GetRecordsRecordArrayOutput) ToGetRecordsRecordArrayOutputWithContext

func (o GetRecordsRecordArrayOutput) ToGetRecordsRecordArrayOutputWithContext(ctx context.Context) GetRecordsRecordArrayOutput

type GetRecordsRecordInput

type GetRecordsRecordInput interface {
	pulumi.Input

	ToGetRecordsRecordOutput() GetRecordsRecordOutput
	ToGetRecordsRecordOutputWithContext(context.Context) GetRecordsRecordOutput
}

GetRecordsRecordInput is an input type that accepts GetRecordsRecordArgs and GetRecordsRecordOutput values. You can construct a concrete instance of `GetRecordsRecordInput` via:

GetRecordsRecordArgs{...}

type GetRecordsRecordOutput

type GetRecordsRecordOutput struct{ *pulumi.OutputState }

func (GetRecordsRecordOutput) DomainName

The domain name associated to the records.

func (GetRecordsRecordOutput) ElementType

func (GetRecordsRecordOutput) ElementType() reflect.Type

func (GetRecordsRecordOutput) HostRecord

Host record of the domain.

func (GetRecordsRecordOutput) Line

ISP line. Valid items are `default`, `telecom`, `unicom`, `mobile`, `oversea`, `edu`, `drpeng`, `btvn`, .etc. For checking all resolution lines enumeration please visit [Alibaba Cloud DNS doc](https://www.alibabacloud.com/help/doc-detail/34339.htm)

func (GetRecordsRecordOutput) Locked

Indicates whether the record is locked.

func (GetRecordsRecordOutput) Priority

Priority of the `MX` record.

func (GetRecordsRecordOutput) RecordId

ID of the record.

func (GetRecordsRecordOutput) Status

Record status. Valid items are `ENABLE` and `DISABLE`.

func (GetRecordsRecordOutput) ToGetRecordsRecordOutput

func (o GetRecordsRecordOutput) ToGetRecordsRecordOutput() GetRecordsRecordOutput

func (GetRecordsRecordOutput) ToGetRecordsRecordOutputWithContext

func (o GetRecordsRecordOutput) ToGetRecordsRecordOutputWithContext(ctx context.Context) GetRecordsRecordOutput

func (GetRecordsRecordOutput) Ttl

TTL of the record.

func (GetRecordsRecordOutput) Type

Record type. Valid items are `A`, `NS`, `MX`, `TXT`, `CNAME`, `SRV`, `AAAA`, `REDIRECT_URL`, `FORWORD_URL` .

func (GetRecordsRecordOutput) Value

Host record value of the domain.

type GetRecordsResult

type GetRecordsResult struct {
	// Name of the domain the record belongs to.
	DomainName      string  `pulumi:"domainName"`
	HostRecordRegex *string `pulumi:"hostRecordRegex"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A list of record IDs.
	Ids      []string `pulumi:"ids"`
	IsLocked *bool    `pulumi:"isLocked"`
	// ISP line of the record.
	Line       *string `pulumi:"line"`
	OutputFile *string `pulumi:"outputFile"`
	// A list of records. Each element contains the following attributes:
	Records []GetRecordsRecord `pulumi:"records"`
	// Status of the record.
	Status *string `pulumi:"status"`
	// Type of the record.
	Type *string `pulumi:"type"`
	// A list of entire URLs. Each item format as `<host_record>.<domain_name>`.
	Urls       []string `pulumi:"urls"`
	ValueRegex *string  `pulumi:"valueRegex"`
}

A collection of values returned by getRecords.

func GetRecords

func GetRecords(ctx *pulumi.Context, args *GetRecordsArgs, opts ...pulumi.InvokeOption) (*GetRecordsResult, error)

This data source provides a list of DNS Domain Records in an Alibaba Cloud account according to the specified filters.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/dns"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/dns"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		recordsDs, err := dns.GetRecords(ctx, &dns.GetRecordsArgs{
			DomainName:      "xiaozhu.top",
			HostRecordRegex: pulumi.StringRef("^@"),
			IsLocked:        pulumi.BoolRef(false),
			OutputFile:      pulumi.StringRef("records.txt"),
			Type:            pulumi.StringRef("A"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("firstRecordId", recordsDs.Records[0].RecordId)
		return nil
	})
}

```

type GetRecordsResultOutput

type GetRecordsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getRecords.

func (GetRecordsResultOutput) DomainName

Name of the domain the record belongs to.

func (GetRecordsResultOutput) ElementType

func (GetRecordsResultOutput) ElementType() reflect.Type

func (GetRecordsResultOutput) HostRecordRegex

func (o GetRecordsResultOutput) HostRecordRegex() pulumi.StringPtrOutput

func (GetRecordsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetRecordsResultOutput) Ids

A list of record IDs.

func (GetRecordsResultOutput) IsLocked

func (GetRecordsResultOutput) Line

ISP line of the record.

func (GetRecordsResultOutput) OutputFile

func (GetRecordsResultOutput) Records

A list of records. Each element contains the following attributes:

func (GetRecordsResultOutput) Status

Status of the record.

func (GetRecordsResultOutput) ToGetRecordsResultOutput

func (o GetRecordsResultOutput) ToGetRecordsResultOutput() GetRecordsResultOutput

func (GetRecordsResultOutput) ToGetRecordsResultOutputWithContext

func (o GetRecordsResultOutput) ToGetRecordsResultOutputWithContext(ctx context.Context) GetRecordsResultOutput

func (GetRecordsResultOutput) Type

Type of the record.

func (GetRecordsResultOutput) Urls

A list of entire URLs. Each item format as `<host_record>.<domain_name>`.

func (GetRecordsResultOutput) ValueRegex

type GetResolutionLinesArgs

type GetResolutionLinesArgs struct {
	// Domain Name.
	DomainName *string `pulumi:"domainName"`
	// language.
	Lang *string `pulumi:"lang"`
	// A list of lines codes.
	LineCodes []string `pulumi:"lineCodes"`
	// A list of line display names.
	LineDisplayNames []string `pulumi:"lineDisplayNames"`
	LineNames        []string `pulumi:"lineNames"`
	OutputFile       *string  `pulumi:"outputFile"`
	// The ip of user client.
	UserClientIp *string `pulumi:"userClientIp"`
}

A collection of arguments for invoking getResolutionLines.

type GetResolutionLinesLine

type GetResolutionLinesLine struct {
	LineCode string `pulumi:"lineCode"`
	// Line display name.
	LineDisplayName string `pulumi:"lineDisplayName"`
	// Line name.
	LineName string `pulumi:"lineName"`
}

type GetResolutionLinesLineArgs

type GetResolutionLinesLineArgs struct {
	LineCode pulumi.StringInput `pulumi:"lineCode"`
	// Line display name.
	LineDisplayName pulumi.StringInput `pulumi:"lineDisplayName"`
	// Line name.
	LineName pulumi.StringInput `pulumi:"lineName"`
}

func (GetResolutionLinesLineArgs) ElementType

func (GetResolutionLinesLineArgs) ElementType() reflect.Type

func (GetResolutionLinesLineArgs) ToGetResolutionLinesLineOutput

func (i GetResolutionLinesLineArgs) ToGetResolutionLinesLineOutput() GetResolutionLinesLineOutput

func (GetResolutionLinesLineArgs) ToGetResolutionLinesLineOutputWithContext

func (i GetResolutionLinesLineArgs) ToGetResolutionLinesLineOutputWithContext(ctx context.Context) GetResolutionLinesLineOutput

type GetResolutionLinesLineArray

type GetResolutionLinesLineArray []GetResolutionLinesLineInput

func (GetResolutionLinesLineArray) ElementType

func (GetResolutionLinesLineArray) ToGetResolutionLinesLineArrayOutput

func (i GetResolutionLinesLineArray) ToGetResolutionLinesLineArrayOutput() GetResolutionLinesLineArrayOutput

func (GetResolutionLinesLineArray) ToGetResolutionLinesLineArrayOutputWithContext

func (i GetResolutionLinesLineArray) ToGetResolutionLinesLineArrayOutputWithContext(ctx context.Context) GetResolutionLinesLineArrayOutput

type GetResolutionLinesLineArrayInput

type GetResolutionLinesLineArrayInput interface {
	pulumi.Input

	ToGetResolutionLinesLineArrayOutput() GetResolutionLinesLineArrayOutput
	ToGetResolutionLinesLineArrayOutputWithContext(context.Context) GetResolutionLinesLineArrayOutput
}

GetResolutionLinesLineArrayInput is an input type that accepts GetResolutionLinesLineArray and GetResolutionLinesLineArrayOutput values. You can construct a concrete instance of `GetResolutionLinesLineArrayInput` via:

GetResolutionLinesLineArray{ GetResolutionLinesLineArgs{...} }

type GetResolutionLinesLineArrayOutput

type GetResolutionLinesLineArrayOutput struct{ *pulumi.OutputState }

func (GetResolutionLinesLineArrayOutput) ElementType

func (GetResolutionLinesLineArrayOutput) Index

func (GetResolutionLinesLineArrayOutput) ToGetResolutionLinesLineArrayOutput

func (o GetResolutionLinesLineArrayOutput) ToGetResolutionLinesLineArrayOutput() GetResolutionLinesLineArrayOutput

func (GetResolutionLinesLineArrayOutput) ToGetResolutionLinesLineArrayOutputWithContext

func (o GetResolutionLinesLineArrayOutput) ToGetResolutionLinesLineArrayOutputWithContext(ctx context.Context) GetResolutionLinesLineArrayOutput

type GetResolutionLinesLineInput

type GetResolutionLinesLineInput interface {
	pulumi.Input

	ToGetResolutionLinesLineOutput() GetResolutionLinesLineOutput
	ToGetResolutionLinesLineOutputWithContext(context.Context) GetResolutionLinesLineOutput
}

GetResolutionLinesLineInput is an input type that accepts GetResolutionLinesLineArgs and GetResolutionLinesLineOutput values. You can construct a concrete instance of `GetResolutionLinesLineInput` via:

GetResolutionLinesLineArgs{...}

type GetResolutionLinesLineOutput

type GetResolutionLinesLineOutput struct{ *pulumi.OutputState }

func (GetResolutionLinesLineOutput) ElementType

func (GetResolutionLinesLineOutput) LineCode

func (GetResolutionLinesLineOutput) LineDisplayName

func (o GetResolutionLinesLineOutput) LineDisplayName() pulumi.StringOutput

Line display name.

func (GetResolutionLinesLineOutput) LineName

Line name.

func (GetResolutionLinesLineOutput) ToGetResolutionLinesLineOutput

func (o GetResolutionLinesLineOutput) ToGetResolutionLinesLineOutput() GetResolutionLinesLineOutput

func (GetResolutionLinesLineOutput) ToGetResolutionLinesLineOutputWithContext

func (o GetResolutionLinesLineOutput) ToGetResolutionLinesLineOutputWithContext(ctx context.Context) GetResolutionLinesLineOutput

type GetResolutionLinesOutputArgs

type GetResolutionLinesOutputArgs struct {
	// Domain Name.
	DomainName pulumi.StringPtrInput `pulumi:"domainName"`
	// language.
	Lang pulumi.StringPtrInput `pulumi:"lang"`
	// A list of lines codes.
	LineCodes pulumi.StringArrayInput `pulumi:"lineCodes"`
	// A list of line display names.
	LineDisplayNames pulumi.StringArrayInput `pulumi:"lineDisplayNames"`
	LineNames        pulumi.StringArrayInput `pulumi:"lineNames"`
	OutputFile       pulumi.StringPtrInput   `pulumi:"outputFile"`
	// The ip of user client.
	UserClientIp pulumi.StringPtrInput `pulumi:"userClientIp"`
}

A collection of arguments for invoking getResolutionLines.

func (GetResolutionLinesOutputArgs) ElementType

type GetResolutionLinesResult

type GetResolutionLinesResult struct {
	DomainName *string `pulumi:"domainName"`
	// The provider-assigned unique ID for this managed resource.
	Id   string  `pulumi:"id"`
	Lang *string `pulumi:"lang"`
	// Line code.
	LineCodes []string `pulumi:"lineCodes"`
	// A list of line display names.
	LineDisplayNames []string `pulumi:"lineDisplayNames"`
	LineNames        []string `pulumi:"lineNames"`
	// A list of cloud resolution line. Each element contains the following attributes:
	Lines        []GetResolutionLinesLine `pulumi:"lines"`
	OutputFile   *string                  `pulumi:"outputFile"`
	UserClientIp *string                  `pulumi:"userClientIp"`
}

A collection of values returned by getResolutionLines.

func GetResolutionLines

func GetResolutionLines(ctx *pulumi.Context, args *GetResolutionLinesArgs, opts ...pulumi.InvokeOption) (*GetResolutionLinesResult, error)

This data source provides a list of DNS Resolution Lines in an Alibaba Cloud account according to the specified filters.

> **NOTE:** Available in 1.60.0.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/dns"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/dns"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		resolutionLinesDs, err := dns.GetResolutionLines(ctx, &dns.GetResolutionLinesArgs{
			LineCodes: []string{
				"cn_unicom_shanxi",
			},
			OutputFile: pulumi.StringRef("support_lines.txt"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("firstLineCode", resolutionLinesDs.Lines[0].LineCode)
		return nil
	})
}

```

type GetResolutionLinesResultOutput

type GetResolutionLinesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getResolutionLines.

func (GetResolutionLinesResultOutput) DomainName

func (GetResolutionLinesResultOutput) ElementType

func (GetResolutionLinesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetResolutionLinesResultOutput) Lang

func (GetResolutionLinesResultOutput) LineCodes

Line code.

func (GetResolutionLinesResultOutput) LineDisplayNames

A list of line display names.

func (GetResolutionLinesResultOutput) LineNames

func (GetResolutionLinesResultOutput) Lines

A list of cloud resolution line. Each element contains the following attributes:

func (GetResolutionLinesResultOutput) OutputFile

func (GetResolutionLinesResultOutput) ToGetResolutionLinesResultOutput

func (o GetResolutionLinesResultOutput) ToGetResolutionLinesResultOutput() GetResolutionLinesResultOutput

func (GetResolutionLinesResultOutput) ToGetResolutionLinesResultOutputWithContext

func (o GetResolutionLinesResultOutput) ToGetResolutionLinesResultOutputWithContext(ctx context.Context) GetResolutionLinesResultOutput

func (GetResolutionLinesResultOutput) UserClientIp

type Group

type Group struct {
	pulumi.CustomResourceState

	// Name of the domain group.
	Name pulumi.StringOutput `pulumi:"name"`
}

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/dns"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := dns.NewGroup(ctx, "group", nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetGroup

func GetGroup(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *GroupState, opts ...pulumi.ResourceOption) (*Group, error)

GetGroup gets an existing Group resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewGroup

func NewGroup(ctx *pulumi.Context,
	name string, args *GroupArgs, opts ...pulumi.ResourceOption) (*Group, error)

NewGroup registers a new resource with the given unique name, arguments, and options.

func (*Group) ElementType

func (*Group) ElementType() reflect.Type

func (*Group) ToGroupOutput

func (i *Group) ToGroupOutput() GroupOutput

func (*Group) ToGroupOutputWithContext

func (i *Group) ToGroupOutputWithContext(ctx context.Context) GroupOutput

type GroupArgs

type GroupArgs struct {
	// Name of the domain group.
	Name pulumi.StringPtrInput
}

The set of arguments for constructing a Group resource.

func (GroupArgs) ElementType

func (GroupArgs) ElementType() reflect.Type

type GroupArray

type GroupArray []GroupInput

func (GroupArray) ElementType

func (GroupArray) ElementType() reflect.Type

func (GroupArray) ToGroupArrayOutput

func (i GroupArray) ToGroupArrayOutput() GroupArrayOutput

func (GroupArray) ToGroupArrayOutputWithContext

func (i GroupArray) ToGroupArrayOutputWithContext(ctx context.Context) GroupArrayOutput

type GroupArrayInput

type GroupArrayInput interface {
	pulumi.Input

	ToGroupArrayOutput() GroupArrayOutput
	ToGroupArrayOutputWithContext(context.Context) GroupArrayOutput
}

GroupArrayInput is an input type that accepts GroupArray and GroupArrayOutput values. You can construct a concrete instance of `GroupArrayInput` via:

GroupArray{ GroupArgs{...} }

type GroupArrayOutput

type GroupArrayOutput struct{ *pulumi.OutputState }

func (GroupArrayOutput) ElementType

func (GroupArrayOutput) ElementType() reflect.Type

func (GroupArrayOutput) Index

func (GroupArrayOutput) ToGroupArrayOutput

func (o GroupArrayOutput) ToGroupArrayOutput() GroupArrayOutput

func (GroupArrayOutput) ToGroupArrayOutputWithContext

func (o GroupArrayOutput) ToGroupArrayOutputWithContext(ctx context.Context) GroupArrayOutput

type GroupInput

type GroupInput interface {
	pulumi.Input

	ToGroupOutput() GroupOutput
	ToGroupOutputWithContext(ctx context.Context) GroupOutput
}

type GroupMap

type GroupMap map[string]GroupInput

func (GroupMap) ElementType

func (GroupMap) ElementType() reflect.Type

func (GroupMap) ToGroupMapOutput

func (i GroupMap) ToGroupMapOutput() GroupMapOutput

func (GroupMap) ToGroupMapOutputWithContext

func (i GroupMap) ToGroupMapOutputWithContext(ctx context.Context) GroupMapOutput

type GroupMapInput

type GroupMapInput interface {
	pulumi.Input

	ToGroupMapOutput() GroupMapOutput
	ToGroupMapOutputWithContext(context.Context) GroupMapOutput
}

GroupMapInput is an input type that accepts GroupMap and GroupMapOutput values. You can construct a concrete instance of `GroupMapInput` via:

GroupMap{ "key": GroupArgs{...} }

type GroupMapOutput

type GroupMapOutput struct{ *pulumi.OutputState }

func (GroupMapOutput) ElementType

func (GroupMapOutput) ElementType() reflect.Type

func (GroupMapOutput) MapIndex

func (GroupMapOutput) ToGroupMapOutput

func (o GroupMapOutput) ToGroupMapOutput() GroupMapOutput

func (GroupMapOutput) ToGroupMapOutputWithContext

func (o GroupMapOutput) ToGroupMapOutputWithContext(ctx context.Context) GroupMapOutput

type GroupOutput

type GroupOutput struct{ *pulumi.OutputState }

func (GroupOutput) ElementType

func (GroupOutput) ElementType() reflect.Type

func (GroupOutput) Name

func (o GroupOutput) Name() pulumi.StringOutput

Name of the domain group.

func (GroupOutput) ToGroupOutput

func (o GroupOutput) ToGroupOutput() GroupOutput

func (GroupOutput) ToGroupOutputWithContext

func (o GroupOutput) ToGroupOutputWithContext(ctx context.Context) GroupOutput

type GroupState

type GroupState struct {
	// Name of the domain group.
	Name pulumi.StringPtrInput
}

func (GroupState) ElementType

func (GroupState) ElementType() reflect.Type

type GtmInstance

type GtmInstance struct {
	pulumi.CustomResourceState

	// The alert notification methods. See the following `Block alertConfig`.
	AlertConfigs GtmInstanceAlertConfigArrayOutput `pulumi:"alertConfigs"`
	// The alert group.
	AlertGroups pulumi.StringArrayOutput `pulumi:"alertGroups"`
	// The access type of the CNAME domain name. Valid value: `PUBLIC`.
	CnameType pulumi.StringOutput `pulumi:"cnameType"`
	// The force update.
	ForceUpdate pulumi.BoolPtrOutput `pulumi:"forceUpdate"`
	// The quota of detection tasks.
	HealthCheckTaskCount pulumi.IntOutput `pulumi:"healthCheckTaskCount"`
	// The name of the instance.
	InstanceName pulumi.StringOutput `pulumi:"instanceName"`
	// The lang.
	Lang pulumi.StringPtrOutput `pulumi:"lang"`
	// Paid package version. Valid values: `ultimate`, `standard`.
	PackageEdition pulumi.StringOutput `pulumi:"packageEdition"`
	// The Payment Type of the resource. Valid value: `Subscription`.
	PaymentType pulumi.StringOutput `pulumi:"paymentType"`
	// Creating a pre-paid instance, it must be set, the unit is month, please enter an integer multiple of 12 for annually paid products.
	Period pulumi.IntOutput `pulumi:"period"`
	// The Public Network domain name access method. Valid values: `CUSTOM`, `SYSTEM_ASSIGN`.
	PublicCnameMode pulumi.StringOutput `pulumi:"publicCnameMode"`
	// The CNAME access domain name.
	PublicRr pulumi.StringOutput `pulumi:"publicRr"`
	// The website domain name that the user uses on the Internet.
	PublicUserDomainName pulumi.StringOutput `pulumi:"publicUserDomainName"`
	// The domain name that is used to access GTM over the Internet.
	PublicZoneName pulumi.StringOutput `pulumi:"publicZoneName"`
	// Automatic renewal period, the unit is month. When setting `renewalStatus` to AutoRenewal, it must be set.
	RenewPeriod pulumi.IntPtrOutput `pulumi:"renewPeriod"`
	// Automatic renewal status. Valid values: `AutoRenewal`, `ManualRenewal`.
	RenewalStatus pulumi.StringOutput `pulumi:"renewalStatus"`
	// The ID of the resource group.
	ResourceGroupId pulumi.StringPtrOutput `pulumi:"resourceGroupId"`
	// The quota of SMS notifications.
	SmsNotificationCount pulumi.IntOutput `pulumi:"smsNotificationCount"`
	// The type of the access policy. Valid values: `GEO`, `LATENCY`.
	StrategyMode pulumi.StringOutput `pulumi:"strategyMode"`
	// The global time to live. Valid values: `60`, `120`, `300`, `600`. Unit: second.
	Ttl pulumi.IntPtrOutput `pulumi:"ttl"`
}

Provides a Alidns Gtm Instance resource.

For information about Alidns Gtm Instance and how to use it, see [What is Gtm Instance](https://www.alibabacloud.com/help/en/doc-detail/204852.html).

> **NOTE:** Available in v1.151.0+.

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/dns"
"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/resourcemanager"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/cms"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/dns"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/resourcemanager"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		defaultResourceGroups, err := resourcemanager.GetResourceGroups(ctx, nil, nil)
		if err != nil {
			return err
		}
		defaultAlarmContactGroup, err := cms.NewAlarmContactGroup(ctx, "defaultAlarmContactGroup", &cms.AlarmContactGroupArgs{
			AlarmContactGroupName: pulumi.Any(_var.Name),
		})
		if err != nil {
			return err
		}
		_, err = dns.NewGtmInstance(ctx, "defaultGtmInstance", &dns.GtmInstanceArgs{
			InstanceName:         pulumi.Any(_var.Name),
			PaymentType:          pulumi.String("Subscription"),
			Period:               pulumi.Int(1),
			RenewalStatus:        pulumi.String("ManualRenewal"),
			PackageEdition:       pulumi.String("standard"),
			HealthCheckTaskCount: pulumi.Int(100),
			SmsNotificationCount: pulumi.Int(1000),
			PublicCnameMode:      pulumi.String("SYSTEM_ASSIGN"),
			Ttl:                  pulumi.Int(60),
			CnameType:            pulumi.String("PUBLIC"),
			ResourceGroupId:      pulumi.String(defaultResourceGroups.Groups[0].Id),
			AlertGroups: pulumi.StringArray{
				defaultAlarmContactGroup.AlarmContactGroupName,
			},
			PublicUserDomainName: pulumi.Any(_var.Domain_name),
			AlertConfigs: dns.GtmInstanceAlertConfigArray{
				&dns.GtmInstanceAlertConfigArgs{
					SmsNotice:      pulumi.Bool(true),
					NoticeType:     pulumi.String("ADDR_ALERT"),
					EmailNotice:    pulumi.Bool(true),
					DingtalkNotice: pulumi.Bool(true),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Alidns Gtm Instance can be imported using the id, e.g.

```sh

$ pulumi import alicloud:dns/gtmInstance:GtmInstance example <id>

```

func GetGtmInstance

func GetGtmInstance(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *GtmInstanceState, opts ...pulumi.ResourceOption) (*GtmInstance, error)

GetGtmInstance gets an existing GtmInstance resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewGtmInstance

func NewGtmInstance(ctx *pulumi.Context,
	name string, args *GtmInstanceArgs, opts ...pulumi.ResourceOption) (*GtmInstance, error)

NewGtmInstance registers a new resource with the given unique name, arguments, and options.

func (*GtmInstance) ElementType

func (*GtmInstance) ElementType() reflect.Type

func (*GtmInstance) ToGtmInstanceOutput

func (i *GtmInstance) ToGtmInstanceOutput() GtmInstanceOutput

func (*GtmInstance) ToGtmInstanceOutputWithContext

func (i *GtmInstance) ToGtmInstanceOutputWithContext(ctx context.Context) GtmInstanceOutput

type GtmInstanceAlertConfig

type GtmInstanceAlertConfig struct {
	// Whether to configure DingTalk notifications. Valid values: `true`, `false`.
	DingtalkNotice *bool `pulumi:"dingtalkNotice"`
	// Whether to configure mail notification. Valid values: `true`, `false`.
	EmailNotice *bool `pulumi:"emailNotice"`
	// The Alarm Event Type.
	// - `ADDR_ALERT`: Address not available.
	// - `ADDR_RESUME`: Address Recovery available.
	// - `ADDR_POOL_GROUP_UNAVAILABLE`: Address pool collection not available.
	// - `ADDR_POOL_GROUP_AVAILABLE`: Address pool collection recovery available.
	// - `ACCESS_STRATEGY_POOL_GROUP_SWITCH`: Primary/standby address pool switch.
	// - `MONITOR_NODE_IP_CHANGE`: Monitoring node IP address changes.
	NoticeType *string `pulumi:"noticeType"`
	// Whether to configure SMS notification. Valid values: `true`, `false`.
	SmsNotice *bool `pulumi:"smsNotice"`
}

type GtmInstanceAlertConfigArgs

type GtmInstanceAlertConfigArgs struct {
	// Whether to configure DingTalk notifications. Valid values: `true`, `false`.
	DingtalkNotice pulumi.BoolPtrInput `pulumi:"dingtalkNotice"`
	// Whether to configure mail notification. Valid values: `true`, `false`.
	EmailNotice pulumi.BoolPtrInput `pulumi:"emailNotice"`
	// The Alarm Event Type.
	// - `ADDR_ALERT`: Address not available.
	// - `ADDR_RESUME`: Address Recovery available.
	// - `ADDR_POOL_GROUP_UNAVAILABLE`: Address pool collection not available.
	// - `ADDR_POOL_GROUP_AVAILABLE`: Address pool collection recovery available.
	// - `ACCESS_STRATEGY_POOL_GROUP_SWITCH`: Primary/standby address pool switch.
	// - `MONITOR_NODE_IP_CHANGE`: Monitoring node IP address changes.
	NoticeType pulumi.StringPtrInput `pulumi:"noticeType"`
	// Whether to configure SMS notification. Valid values: `true`, `false`.
	SmsNotice pulumi.BoolPtrInput `pulumi:"smsNotice"`
}

func (GtmInstanceAlertConfigArgs) ElementType

func (GtmInstanceAlertConfigArgs) ElementType() reflect.Type

func (GtmInstanceAlertConfigArgs) ToGtmInstanceAlertConfigOutput

func (i GtmInstanceAlertConfigArgs) ToGtmInstanceAlertConfigOutput() GtmInstanceAlertConfigOutput

func (GtmInstanceAlertConfigArgs) ToGtmInstanceAlertConfigOutputWithContext

func (i GtmInstanceAlertConfigArgs) ToGtmInstanceAlertConfigOutputWithContext(ctx context.Context) GtmInstanceAlertConfigOutput

type GtmInstanceAlertConfigArray

type GtmInstanceAlertConfigArray []GtmInstanceAlertConfigInput

func (GtmInstanceAlertConfigArray) ElementType

func (GtmInstanceAlertConfigArray) ToGtmInstanceAlertConfigArrayOutput

func (i GtmInstanceAlertConfigArray) ToGtmInstanceAlertConfigArrayOutput() GtmInstanceAlertConfigArrayOutput

func (GtmInstanceAlertConfigArray) ToGtmInstanceAlertConfigArrayOutputWithContext

func (i GtmInstanceAlertConfigArray) ToGtmInstanceAlertConfigArrayOutputWithContext(ctx context.Context) GtmInstanceAlertConfigArrayOutput

type GtmInstanceAlertConfigArrayInput

type GtmInstanceAlertConfigArrayInput interface {
	pulumi.Input

	ToGtmInstanceAlertConfigArrayOutput() GtmInstanceAlertConfigArrayOutput
	ToGtmInstanceAlertConfigArrayOutputWithContext(context.Context) GtmInstanceAlertConfigArrayOutput
}

GtmInstanceAlertConfigArrayInput is an input type that accepts GtmInstanceAlertConfigArray and GtmInstanceAlertConfigArrayOutput values. You can construct a concrete instance of `GtmInstanceAlertConfigArrayInput` via:

GtmInstanceAlertConfigArray{ GtmInstanceAlertConfigArgs{...} }

type GtmInstanceAlertConfigArrayOutput

type GtmInstanceAlertConfigArrayOutput struct{ *pulumi.OutputState }

func (GtmInstanceAlertConfigArrayOutput) ElementType

func (GtmInstanceAlertConfigArrayOutput) Index

func (GtmInstanceAlertConfigArrayOutput) ToGtmInstanceAlertConfigArrayOutput

func (o GtmInstanceAlertConfigArrayOutput) ToGtmInstanceAlertConfigArrayOutput() GtmInstanceAlertConfigArrayOutput

func (GtmInstanceAlertConfigArrayOutput) ToGtmInstanceAlertConfigArrayOutputWithContext

func (o GtmInstanceAlertConfigArrayOutput) ToGtmInstanceAlertConfigArrayOutputWithContext(ctx context.Context) GtmInstanceAlertConfigArrayOutput

type GtmInstanceAlertConfigInput

type GtmInstanceAlertConfigInput interface {
	pulumi.Input

	ToGtmInstanceAlertConfigOutput() GtmInstanceAlertConfigOutput
	ToGtmInstanceAlertConfigOutputWithContext(context.Context) GtmInstanceAlertConfigOutput
}

GtmInstanceAlertConfigInput is an input type that accepts GtmInstanceAlertConfigArgs and GtmInstanceAlertConfigOutput values. You can construct a concrete instance of `GtmInstanceAlertConfigInput` via:

GtmInstanceAlertConfigArgs{...}

type GtmInstanceAlertConfigOutput

type GtmInstanceAlertConfigOutput struct{ *pulumi.OutputState }

func (GtmInstanceAlertConfigOutput) DingtalkNotice

Whether to configure DingTalk notifications. Valid values: `true`, `false`.

func (GtmInstanceAlertConfigOutput) ElementType

func (GtmInstanceAlertConfigOutput) EmailNotice

Whether to configure mail notification. Valid values: `true`, `false`.

func (GtmInstanceAlertConfigOutput) NoticeType

The Alarm Event Type. - `ADDR_ALERT`: Address not available. - `ADDR_RESUME`: Address Recovery available. - `ADDR_POOL_GROUP_UNAVAILABLE`: Address pool collection not available. - `ADDR_POOL_GROUP_AVAILABLE`: Address pool collection recovery available. - `ACCESS_STRATEGY_POOL_GROUP_SWITCH`: Primary/standby address pool switch. - `MONITOR_NODE_IP_CHANGE`: Monitoring node IP address changes.

func (GtmInstanceAlertConfigOutput) SmsNotice

Whether to configure SMS notification. Valid values: `true`, `false`.

func (GtmInstanceAlertConfigOutput) ToGtmInstanceAlertConfigOutput

func (o GtmInstanceAlertConfigOutput) ToGtmInstanceAlertConfigOutput() GtmInstanceAlertConfigOutput

func (GtmInstanceAlertConfigOutput) ToGtmInstanceAlertConfigOutputWithContext

func (o GtmInstanceAlertConfigOutput) ToGtmInstanceAlertConfigOutputWithContext(ctx context.Context) GtmInstanceAlertConfigOutput

type GtmInstanceArgs

type GtmInstanceArgs struct {
	// The alert notification methods. See the following `Block alertConfig`.
	AlertConfigs GtmInstanceAlertConfigArrayInput
	// The alert group.
	AlertGroups pulumi.StringArrayInput
	// The access type of the CNAME domain name. Valid value: `PUBLIC`.
	CnameType pulumi.StringPtrInput
	// The force update.
	ForceUpdate pulumi.BoolPtrInput
	// The quota of detection tasks.
	HealthCheckTaskCount pulumi.IntInput
	// The name of the instance.
	InstanceName pulumi.StringInput
	// The lang.
	Lang pulumi.StringPtrInput
	// Paid package version. Valid values: `ultimate`, `standard`.
	PackageEdition pulumi.StringInput
	// The Payment Type of the resource. Valid value: `Subscription`.
	PaymentType pulumi.StringInput
	// Creating a pre-paid instance, it must be set, the unit is month, please enter an integer multiple of 12 for annually paid products.
	Period pulumi.IntInput
	// The Public Network domain name access method. Valid values: `CUSTOM`, `SYSTEM_ASSIGN`.
	PublicCnameMode pulumi.StringPtrInput
	// The CNAME access domain name.
	PublicRr pulumi.StringPtrInput
	// The website domain name that the user uses on the Internet.
	PublicUserDomainName pulumi.StringPtrInput
	// The domain name that is used to access GTM over the Internet.
	PublicZoneName pulumi.StringPtrInput
	// Automatic renewal period, the unit is month. When setting `renewalStatus` to AutoRenewal, it must be set.
	RenewPeriod pulumi.IntPtrInput
	// Automatic renewal status. Valid values: `AutoRenewal`, `ManualRenewal`.
	RenewalStatus pulumi.StringPtrInput
	// The ID of the resource group.
	ResourceGroupId pulumi.StringPtrInput
	// The quota of SMS notifications.
	SmsNotificationCount pulumi.IntInput
	// The type of the access policy. Valid values: `GEO`, `LATENCY`.
	StrategyMode pulumi.StringPtrInput
	// The global time to live. Valid values: `60`, `120`, `300`, `600`. Unit: second.
	Ttl pulumi.IntPtrInput
}

The set of arguments for constructing a GtmInstance resource.

func (GtmInstanceArgs) ElementType

func (GtmInstanceArgs) ElementType() reflect.Type

type GtmInstanceArray

type GtmInstanceArray []GtmInstanceInput

func (GtmInstanceArray) ElementType

func (GtmInstanceArray) ElementType() reflect.Type

func (GtmInstanceArray) ToGtmInstanceArrayOutput

func (i GtmInstanceArray) ToGtmInstanceArrayOutput() GtmInstanceArrayOutput

func (GtmInstanceArray) ToGtmInstanceArrayOutputWithContext

func (i GtmInstanceArray) ToGtmInstanceArrayOutputWithContext(ctx context.Context) GtmInstanceArrayOutput

type GtmInstanceArrayInput

type GtmInstanceArrayInput interface {
	pulumi.Input

	ToGtmInstanceArrayOutput() GtmInstanceArrayOutput
	ToGtmInstanceArrayOutputWithContext(context.Context) GtmInstanceArrayOutput
}

GtmInstanceArrayInput is an input type that accepts GtmInstanceArray and GtmInstanceArrayOutput values. You can construct a concrete instance of `GtmInstanceArrayInput` via:

GtmInstanceArray{ GtmInstanceArgs{...} }

type GtmInstanceArrayOutput

type GtmInstanceArrayOutput struct{ *pulumi.OutputState }

func (GtmInstanceArrayOutput) ElementType

func (GtmInstanceArrayOutput) ElementType() reflect.Type

func (GtmInstanceArrayOutput) Index

func (GtmInstanceArrayOutput) ToGtmInstanceArrayOutput

func (o GtmInstanceArrayOutput) ToGtmInstanceArrayOutput() GtmInstanceArrayOutput

func (GtmInstanceArrayOutput) ToGtmInstanceArrayOutputWithContext

func (o GtmInstanceArrayOutput) ToGtmInstanceArrayOutputWithContext(ctx context.Context) GtmInstanceArrayOutput

type GtmInstanceInput

type GtmInstanceInput interface {
	pulumi.Input

	ToGtmInstanceOutput() GtmInstanceOutput
	ToGtmInstanceOutputWithContext(ctx context.Context) GtmInstanceOutput
}

type GtmInstanceMap

type GtmInstanceMap map[string]GtmInstanceInput

func (GtmInstanceMap) ElementType

func (GtmInstanceMap) ElementType() reflect.Type

func (GtmInstanceMap) ToGtmInstanceMapOutput

func (i GtmInstanceMap) ToGtmInstanceMapOutput() GtmInstanceMapOutput

func (GtmInstanceMap) ToGtmInstanceMapOutputWithContext

func (i GtmInstanceMap) ToGtmInstanceMapOutputWithContext(ctx context.Context) GtmInstanceMapOutput

type GtmInstanceMapInput

type GtmInstanceMapInput interface {
	pulumi.Input

	ToGtmInstanceMapOutput() GtmInstanceMapOutput
	ToGtmInstanceMapOutputWithContext(context.Context) GtmInstanceMapOutput
}

GtmInstanceMapInput is an input type that accepts GtmInstanceMap and GtmInstanceMapOutput values. You can construct a concrete instance of `GtmInstanceMapInput` via:

GtmInstanceMap{ "key": GtmInstanceArgs{...} }

type GtmInstanceMapOutput

type GtmInstanceMapOutput struct{ *pulumi.OutputState }

func (GtmInstanceMapOutput) ElementType

func (GtmInstanceMapOutput) ElementType() reflect.Type

func (GtmInstanceMapOutput) MapIndex

func (GtmInstanceMapOutput) ToGtmInstanceMapOutput

func (o GtmInstanceMapOutput) ToGtmInstanceMapOutput() GtmInstanceMapOutput

func (GtmInstanceMapOutput) ToGtmInstanceMapOutputWithContext

func (o GtmInstanceMapOutput) ToGtmInstanceMapOutputWithContext(ctx context.Context) GtmInstanceMapOutput

type GtmInstanceOutput

type GtmInstanceOutput struct{ *pulumi.OutputState }

func (GtmInstanceOutput) AlertConfigs

The alert notification methods. See the following `Block alertConfig`.

func (GtmInstanceOutput) AlertGroups

func (o GtmInstanceOutput) AlertGroups() pulumi.StringArrayOutput

The alert group.

func (GtmInstanceOutput) CnameType

func (o GtmInstanceOutput) CnameType() pulumi.StringOutput

The access type of the CNAME domain name. Valid value: `PUBLIC`.

func (GtmInstanceOutput) ElementType

func (GtmInstanceOutput) ElementType() reflect.Type

func (GtmInstanceOutput) ForceUpdate

func (o GtmInstanceOutput) ForceUpdate() pulumi.BoolPtrOutput

The force update.

func (GtmInstanceOutput) HealthCheckTaskCount

func (o GtmInstanceOutput) HealthCheckTaskCount() pulumi.IntOutput

The quota of detection tasks.

func (GtmInstanceOutput) InstanceName

func (o GtmInstanceOutput) InstanceName() pulumi.StringOutput

The name of the instance.

func (GtmInstanceOutput) Lang

The lang.

func (GtmInstanceOutput) PackageEdition

func (o GtmInstanceOutput) PackageEdition() pulumi.StringOutput

Paid package version. Valid values: `ultimate`, `standard`.

func (GtmInstanceOutput) PaymentType

func (o GtmInstanceOutput) PaymentType() pulumi.StringOutput

The Payment Type of the resource. Valid value: `Subscription`.

func (GtmInstanceOutput) Period

func (o GtmInstanceOutput) Period() pulumi.IntOutput

Creating a pre-paid instance, it must be set, the unit is month, please enter an integer multiple of 12 for annually paid products.

func (GtmInstanceOutput) PublicCnameMode

func (o GtmInstanceOutput) PublicCnameMode() pulumi.StringOutput

The Public Network domain name access method. Valid values: `CUSTOM`, `SYSTEM_ASSIGN`.

func (GtmInstanceOutput) PublicRr

func (o GtmInstanceOutput) PublicRr() pulumi.StringOutput

The CNAME access domain name.

func (GtmInstanceOutput) PublicUserDomainName

func (o GtmInstanceOutput) PublicUserDomainName() pulumi.StringOutput

The website domain name that the user uses on the Internet.

func (GtmInstanceOutput) PublicZoneName

func (o GtmInstanceOutput) PublicZoneName() pulumi.StringOutput

The domain name that is used to access GTM over the Internet.

func (GtmInstanceOutput) RenewPeriod

func (o GtmInstanceOutput) RenewPeriod() pulumi.IntPtrOutput

Automatic renewal period, the unit is month. When setting `renewalStatus` to AutoRenewal, it must be set.

func (GtmInstanceOutput) RenewalStatus

func (o GtmInstanceOutput) RenewalStatus() pulumi.StringOutput

Automatic renewal status. Valid values: `AutoRenewal`, `ManualRenewal`.

func (GtmInstanceOutput) ResourceGroupId

func (o GtmInstanceOutput) ResourceGroupId() pulumi.StringPtrOutput

The ID of the resource group.

func (GtmInstanceOutput) SmsNotificationCount

func (o GtmInstanceOutput) SmsNotificationCount() pulumi.IntOutput

The quota of SMS notifications.

func (GtmInstanceOutput) StrategyMode

func (o GtmInstanceOutput) StrategyMode() pulumi.StringOutput

The type of the access policy. Valid values: `GEO`, `LATENCY`.

func (GtmInstanceOutput) ToGtmInstanceOutput

func (o GtmInstanceOutput) ToGtmInstanceOutput() GtmInstanceOutput

func (GtmInstanceOutput) ToGtmInstanceOutputWithContext

func (o GtmInstanceOutput) ToGtmInstanceOutputWithContext(ctx context.Context) GtmInstanceOutput

func (GtmInstanceOutput) Ttl

The global time to live. Valid values: `60`, `120`, `300`, `600`. Unit: second.

type GtmInstanceState

type GtmInstanceState struct {
	// The alert notification methods. See the following `Block alertConfig`.
	AlertConfigs GtmInstanceAlertConfigArrayInput
	// The alert group.
	AlertGroups pulumi.StringArrayInput
	// The access type of the CNAME domain name. Valid value: `PUBLIC`.
	CnameType pulumi.StringPtrInput
	// The force update.
	ForceUpdate pulumi.BoolPtrInput
	// The quota of detection tasks.
	HealthCheckTaskCount pulumi.IntPtrInput
	// The name of the instance.
	InstanceName pulumi.StringPtrInput
	// The lang.
	Lang pulumi.StringPtrInput
	// Paid package version. Valid values: `ultimate`, `standard`.
	PackageEdition pulumi.StringPtrInput
	// The Payment Type of the resource. Valid value: `Subscription`.
	PaymentType pulumi.StringPtrInput
	// Creating a pre-paid instance, it must be set, the unit is month, please enter an integer multiple of 12 for annually paid products.
	Period pulumi.IntPtrInput
	// The Public Network domain name access method. Valid values: `CUSTOM`, `SYSTEM_ASSIGN`.
	PublicCnameMode pulumi.StringPtrInput
	// The CNAME access domain name.
	PublicRr pulumi.StringPtrInput
	// The website domain name that the user uses on the Internet.
	PublicUserDomainName pulumi.StringPtrInput
	// The domain name that is used to access GTM over the Internet.
	PublicZoneName pulumi.StringPtrInput
	// Automatic renewal period, the unit is month. When setting `renewalStatus` to AutoRenewal, it must be set.
	RenewPeriod pulumi.IntPtrInput
	// Automatic renewal status. Valid values: `AutoRenewal`, `ManualRenewal`.
	RenewalStatus pulumi.StringPtrInput
	// The ID of the resource group.
	ResourceGroupId pulumi.StringPtrInput
	// The quota of SMS notifications.
	SmsNotificationCount pulumi.IntPtrInput
	// The type of the access policy. Valid values: `GEO`, `LATENCY`.
	StrategyMode pulumi.StringPtrInput
	// The global time to live. Valid values: `60`, `120`, `300`, `600`. Unit: second.
	Ttl pulumi.IntPtrInput
}

func (GtmInstanceState) ElementType

func (GtmInstanceState) ElementType() reflect.Type

type Instance

type Instance struct {
	pulumi.CustomResourceState

	// DNS security level. Valid values: `no`, `basic`, `advanced`.
	DnsSecurity pulumi.StringOutput `pulumi:"dnsSecurity"`
	// Number of domain names bound.
	DomainNumbers pulumi.StringOutput    `pulumi:"domainNumbers"`
	PaymentType   pulumi.StringPtrOutput `pulumi:"paymentType"`
	// Creating a pre-paid instance, it must be set, the unit is month, please enter an integer multiple of 12 for annually paid products.
	Period pulumi.IntPtrOutput `pulumi:"period"`
	// Automatic renewal period, the unit is month. When setting RenewalStatus to AutoRenewal, it must be set.
	RenewPeriod pulumi.IntPtrOutput `pulumi:"renewPeriod"`
	// Automatic renewal status. Valid values: `AutoRenewal`, `ManualRenewal`, default to `ManualRenewal`.
	RenewalStatus pulumi.StringOutput `pulumi:"renewalStatus"`
	// Paid package version. Valid values: `versionPersonal`, `versionEnterpriseBasic`, `versionEnterpriseAdvanced`.
	VersionCode pulumi.StringOutput `pulumi:"versionCode"`
	// Paid package version name.
	VersionName pulumi.StringOutput `pulumi:"versionName"`
}

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/dns"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := dns.NewInstance(ctx, "this", &dns.InstanceArgs{
			DnsSecurity:   pulumi.String("no"),
			DomainNumbers: pulumi.String("2"),
			Period:        pulumi.Int(1),
			RenewPeriod:   pulumi.Int(1),
			RenewalStatus: pulumi.String("ManualRenewal"),
			VersionCode:   pulumi.String("version_personal"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

DNS instance be imported using the id, e.g.

```sh

$ pulumi import alicloud:dns/instance:Instance example dns-cn-v0h1ldjhfff

```

func GetInstance

func GetInstance(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *InstanceState, opts ...pulumi.ResourceOption) (*Instance, error)

GetInstance gets an existing Instance resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewInstance

func NewInstance(ctx *pulumi.Context,
	name string, args *InstanceArgs, opts ...pulumi.ResourceOption) (*Instance, error)

NewInstance registers a new resource with the given unique name, arguments, and options.

func (*Instance) ElementType

func (*Instance) ElementType() reflect.Type

func (*Instance) ToInstanceOutput

func (i *Instance) ToInstanceOutput() InstanceOutput

func (*Instance) ToInstanceOutputWithContext

func (i *Instance) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput

type InstanceArgs

type InstanceArgs struct {
	// DNS security level. Valid values: `no`, `basic`, `advanced`.
	DnsSecurity pulumi.StringInput
	// Number of domain names bound.
	DomainNumbers pulumi.StringInput
	PaymentType   pulumi.StringPtrInput
	// Creating a pre-paid instance, it must be set, the unit is month, please enter an integer multiple of 12 for annually paid products.
	Period pulumi.IntPtrInput
	// Automatic renewal period, the unit is month. When setting RenewalStatus to AutoRenewal, it must be set.
	RenewPeriod pulumi.IntPtrInput
	// Automatic renewal status. Valid values: `AutoRenewal`, `ManualRenewal`, default to `ManualRenewal`.
	RenewalStatus pulumi.StringPtrInput
	// Paid package version. Valid values: `versionPersonal`, `versionEnterpriseBasic`, `versionEnterpriseAdvanced`.
	VersionCode pulumi.StringInput
}

The set of arguments for constructing a Instance resource.

func (InstanceArgs) ElementType

func (InstanceArgs) ElementType() reflect.Type

type InstanceArray

type InstanceArray []InstanceInput

func (InstanceArray) ElementType

func (InstanceArray) ElementType() reflect.Type

func (InstanceArray) ToInstanceArrayOutput

func (i InstanceArray) ToInstanceArrayOutput() InstanceArrayOutput

func (InstanceArray) ToInstanceArrayOutputWithContext

func (i InstanceArray) ToInstanceArrayOutputWithContext(ctx context.Context) InstanceArrayOutput

type InstanceArrayInput

type InstanceArrayInput interface {
	pulumi.Input

	ToInstanceArrayOutput() InstanceArrayOutput
	ToInstanceArrayOutputWithContext(context.Context) InstanceArrayOutput
}

InstanceArrayInput is an input type that accepts InstanceArray and InstanceArrayOutput values. You can construct a concrete instance of `InstanceArrayInput` via:

InstanceArray{ InstanceArgs{...} }

type InstanceArrayOutput

type InstanceArrayOutput struct{ *pulumi.OutputState }

func (InstanceArrayOutput) ElementType

func (InstanceArrayOutput) ElementType() reflect.Type

func (InstanceArrayOutput) Index

func (InstanceArrayOutput) ToInstanceArrayOutput

func (o InstanceArrayOutput) ToInstanceArrayOutput() InstanceArrayOutput

func (InstanceArrayOutput) ToInstanceArrayOutputWithContext

func (o InstanceArrayOutput) ToInstanceArrayOutputWithContext(ctx context.Context) InstanceArrayOutput

type InstanceInput

type InstanceInput interface {
	pulumi.Input

	ToInstanceOutput() InstanceOutput
	ToInstanceOutputWithContext(ctx context.Context) InstanceOutput
}

type InstanceMap

type InstanceMap map[string]InstanceInput

func (InstanceMap) ElementType

func (InstanceMap) ElementType() reflect.Type

func (InstanceMap) ToInstanceMapOutput

func (i InstanceMap) ToInstanceMapOutput() InstanceMapOutput

func (InstanceMap) ToInstanceMapOutputWithContext

func (i InstanceMap) ToInstanceMapOutputWithContext(ctx context.Context) InstanceMapOutput

type InstanceMapInput

type InstanceMapInput interface {
	pulumi.Input

	ToInstanceMapOutput() InstanceMapOutput
	ToInstanceMapOutputWithContext(context.Context) InstanceMapOutput
}

InstanceMapInput is an input type that accepts InstanceMap and InstanceMapOutput values. You can construct a concrete instance of `InstanceMapInput` via:

InstanceMap{ "key": InstanceArgs{...} }

type InstanceMapOutput

type InstanceMapOutput struct{ *pulumi.OutputState }

func (InstanceMapOutput) ElementType

func (InstanceMapOutput) ElementType() reflect.Type

func (InstanceMapOutput) MapIndex

func (InstanceMapOutput) ToInstanceMapOutput

func (o InstanceMapOutput) ToInstanceMapOutput() InstanceMapOutput

func (InstanceMapOutput) ToInstanceMapOutputWithContext

func (o InstanceMapOutput) ToInstanceMapOutputWithContext(ctx context.Context) InstanceMapOutput

type InstanceOutput

type InstanceOutput struct{ *pulumi.OutputState }

func (InstanceOutput) DnsSecurity

func (o InstanceOutput) DnsSecurity() pulumi.StringOutput

DNS security level. Valid values: `no`, `basic`, `advanced`.

func (InstanceOutput) DomainNumbers

func (o InstanceOutput) DomainNumbers() pulumi.StringOutput

Number of domain names bound.

func (InstanceOutput) ElementType

func (InstanceOutput) ElementType() reflect.Type

func (InstanceOutput) PaymentType

func (o InstanceOutput) PaymentType() pulumi.StringPtrOutput

func (InstanceOutput) Period

func (o InstanceOutput) Period() pulumi.IntPtrOutput

Creating a pre-paid instance, it must be set, the unit is month, please enter an integer multiple of 12 for annually paid products.

func (InstanceOutput) RenewPeriod

func (o InstanceOutput) RenewPeriod() pulumi.IntPtrOutput

Automatic renewal period, the unit is month. When setting RenewalStatus to AutoRenewal, it must be set.

func (InstanceOutput) RenewalStatus

func (o InstanceOutput) RenewalStatus() pulumi.StringOutput

Automatic renewal status. Valid values: `AutoRenewal`, `ManualRenewal`, default to `ManualRenewal`.

func (InstanceOutput) ToInstanceOutput

func (o InstanceOutput) ToInstanceOutput() InstanceOutput

func (InstanceOutput) ToInstanceOutputWithContext

func (o InstanceOutput) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput

func (InstanceOutput) VersionCode

func (o InstanceOutput) VersionCode() pulumi.StringOutput

Paid package version. Valid values: `versionPersonal`, `versionEnterpriseBasic`, `versionEnterpriseAdvanced`.

func (InstanceOutput) VersionName

func (o InstanceOutput) VersionName() pulumi.StringOutput

Paid package version name.

type InstanceState

type InstanceState struct {
	// DNS security level. Valid values: `no`, `basic`, `advanced`.
	DnsSecurity pulumi.StringPtrInput
	// Number of domain names bound.
	DomainNumbers pulumi.StringPtrInput
	PaymentType   pulumi.StringPtrInput
	// Creating a pre-paid instance, it must be set, the unit is month, please enter an integer multiple of 12 for annually paid products.
	Period pulumi.IntPtrInput
	// Automatic renewal period, the unit is month. When setting RenewalStatus to AutoRenewal, it must be set.
	RenewPeriod pulumi.IntPtrInput
	// Automatic renewal status. Valid values: `AutoRenewal`, `ManualRenewal`, default to `ManualRenewal`.
	RenewalStatus pulumi.StringPtrInput
	// Paid package version. Valid values: `versionPersonal`, `versionEnterpriseBasic`, `versionEnterpriseAdvanced`.
	VersionCode pulumi.StringPtrInput
	// Paid package version name.
	VersionName pulumi.StringPtrInput
}

func (InstanceState) ElementType

func (InstanceState) ElementType() reflect.Type

type MonitorConfig

type MonitorConfig struct {
	pulumi.CustomResourceState

	// The ID of the address pool.
	AddrPoolId pulumi.StringOutput `pulumi:"addrPoolId"`
	// The number of consecutive times of failed health check attempts. Valid values: `1`, `2`, `3`.
	EvaluationCount pulumi.IntOutput `pulumi:"evaluationCount"`
	// The health check interval. Unit: seconds. Valid values: `60`.
	Interval pulumi.IntOutput `pulumi:"interval"`
	// The Monitoring node. See the following `Block ispCityNode`.
	IspCityNodes MonitorConfigIspCityNodeArrayOutput `pulumi:"ispCityNodes"`
	// The lang.
	Lang pulumi.StringPtrOutput `pulumi:"lang"`
	// The extended information. This value follows the json format. For more details, see the [description of MonitorExtendInfo in the Request parameters table for details](https://www.alibabacloud.com/help/en/doc-detail/198064.html).
	MonitorExtendInfo pulumi.StringOutput `pulumi:"monitorExtendInfo"`
	// The health check protocol. Valid values: `HTTP`, `HTTPS`, `PING`, `TCP`.
	ProtocolType pulumi.StringOutput `pulumi:"protocolType"`
	// The timeout period. Unit: milliseconds. Valid values: `2000`, `3000`, `5000`, `10000`.
	Timeout pulumi.IntOutput `pulumi:"timeout"`
}

Provides a DNS Monitor Config resource.

For information about DNS Monitor Config and how to use it, see [What is Monitor Config](https://www.alibabacloud.com/help/en/doc-detail/198064.html).

> **NOTE:** Available in v1.153.0+.

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/dns"
"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/resourcemanager"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/cms"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/dns"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/resourcemanager"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		name := "tf-testacc"
		if param := cfg.Get("name"); param != "" {
			name = param
		}
		domainName := "your_domain_name"
		if param := cfg.Get("domainName"); param != "" {
			domainName = param
		}
		defaultResourceGroups, err := resourcemanager.GetResourceGroups(ctx, nil, nil)
		if err != nil {
			return err
		}
		defaultAlarmContactGroup, err := cms.NewAlarmContactGroup(ctx, "defaultAlarmContactGroup", &cms.AlarmContactGroupArgs{
			AlarmContactGroupName: pulumi.String(name),
		})
		if err != nil {
			return err
		}
		defaultGtmInstance, err := dns.NewGtmInstance(ctx, "defaultGtmInstance", &dns.GtmInstanceArgs{
			InstanceName:         pulumi.String(name),
			PaymentType:          pulumi.String("Subscription"),
			Period:               pulumi.Int(1),
			RenewalStatus:        pulumi.String("ManualRenewal"),
			PackageEdition:       pulumi.String("ultimate"),
			HealthCheckTaskCount: pulumi.Int(100),
			SmsNotificationCount: pulumi.Int(1000),
			PublicCnameMode:      pulumi.String("SYSTEM_ASSIGN"),
			Ttl:                  pulumi.Int(60),
			CnameType:            pulumi.String("PUBLIC"),
			ResourceGroupId:      pulumi.String(defaultResourceGroups.Groups[0].Id),
			AlertGroups: pulumi.StringArray{
				defaultAlarmContactGroup.AlarmContactGroupName,
			},
			PublicUserDomainName: pulumi.String(domainName),
			AlertConfigs: dns.GtmInstanceAlertConfigArray{
				&dns.GtmInstanceAlertConfigArgs{
					SmsNotice:      pulumi.Bool(true),
					NoticeType:     pulumi.String("ADDR_ALERT"),
					EmailNotice:    pulumi.Bool(true),
					DingtalkNotice: pulumi.Bool(true),
				},
			},
		})
		if err != nil {
			return err
		}
		defaultAddressPool, err := dns.NewAddressPool(ctx, "defaultAddressPool", &dns.AddressPoolArgs{
			AddressPoolName: pulumi.String(name),
			InstanceId:      defaultGtmInstance.ID(),
			LbaStrategy:     pulumi.String("RATIO"),
			Type:            pulumi.String("IPV4"),
			Addresses: dns.AddressPoolAddressArray{
				&dns.AddressPoolAddressArgs{
					AttributeInfo: pulumi.String("{\"lineCodeRectifyType\":\"RECTIFIED\",\"lineCodes\":[\"os_namerica_us\"]}"),
					Remark:        pulumi.String("address_remark"),
					Address:       pulumi.String("1.1.1.1"),
					Mode:          pulumi.String("SMART"),
					LbaWeight:     pulumi.Int(1),
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = dns.NewMonitorConfig(ctx, "defaultMonitorConfig", &dns.MonitorConfigArgs{
			AddrPoolId:        defaultAddressPool.ID(),
			EvaluationCount:   pulumi.Int(1),
			Interval:          pulumi.Int(60),
			Timeout:           pulumi.Int(5000),
			ProtocolType:      pulumi.String("TCP"),
			MonitorExtendInfo: pulumi.String("{\"failureRate\"=50,\"port\"=80}"),
			IspCityNodes: dns.MonitorConfigIspCityNodeArray{
				CityCode: "503",
				IspCode:  "465",
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

DNS Monitor Config can be imported using the id, e.g.

```sh

$ pulumi import alicloud:dns/monitorConfig:MonitorConfig example <id>

```

func GetMonitorConfig

func GetMonitorConfig(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *MonitorConfigState, opts ...pulumi.ResourceOption) (*MonitorConfig, error)

GetMonitorConfig gets an existing MonitorConfig resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewMonitorConfig

func NewMonitorConfig(ctx *pulumi.Context,
	name string, args *MonitorConfigArgs, opts ...pulumi.ResourceOption) (*MonitorConfig, error)

NewMonitorConfig registers a new resource with the given unique name, arguments, and options.

func (*MonitorConfig) ElementType

func (*MonitorConfig) ElementType() reflect.Type

func (*MonitorConfig) ToMonitorConfigOutput

func (i *MonitorConfig) ToMonitorConfigOutput() MonitorConfigOutput

func (*MonitorConfig) ToMonitorConfigOutputWithContext

func (i *MonitorConfig) ToMonitorConfigOutputWithContext(ctx context.Context) MonitorConfigOutput

type MonitorConfigArgs

type MonitorConfigArgs struct {
	// The ID of the address pool.
	AddrPoolId pulumi.StringInput
	// The number of consecutive times of failed health check attempts. Valid values: `1`, `2`, `3`.
	EvaluationCount pulumi.IntInput
	// The health check interval. Unit: seconds. Valid values: `60`.
	Interval pulumi.IntInput
	// The Monitoring node. See the following `Block ispCityNode`.
	IspCityNodes MonitorConfigIspCityNodeArrayInput
	// The lang.
	Lang pulumi.StringPtrInput
	// The extended information. This value follows the json format. For more details, see the [description of MonitorExtendInfo in the Request parameters table for details](https://www.alibabacloud.com/help/en/doc-detail/198064.html).
	MonitorExtendInfo pulumi.StringInput
	// The health check protocol. Valid values: `HTTP`, `HTTPS`, `PING`, `TCP`.
	ProtocolType pulumi.StringInput
	// The timeout period. Unit: milliseconds. Valid values: `2000`, `3000`, `5000`, `10000`.
	Timeout pulumi.IntInput
}

The set of arguments for constructing a MonitorConfig resource.

func (MonitorConfigArgs) ElementType

func (MonitorConfigArgs) ElementType() reflect.Type

type MonitorConfigArray

type MonitorConfigArray []MonitorConfigInput

func (MonitorConfigArray) ElementType

func (MonitorConfigArray) ElementType() reflect.Type

func (MonitorConfigArray) ToMonitorConfigArrayOutput

func (i MonitorConfigArray) ToMonitorConfigArrayOutput() MonitorConfigArrayOutput

func (MonitorConfigArray) ToMonitorConfigArrayOutputWithContext

func (i MonitorConfigArray) ToMonitorConfigArrayOutputWithContext(ctx context.Context) MonitorConfigArrayOutput

type MonitorConfigArrayInput

type MonitorConfigArrayInput interface {
	pulumi.Input

	ToMonitorConfigArrayOutput() MonitorConfigArrayOutput
	ToMonitorConfigArrayOutputWithContext(context.Context) MonitorConfigArrayOutput
}

MonitorConfigArrayInput is an input type that accepts MonitorConfigArray and MonitorConfigArrayOutput values. You can construct a concrete instance of `MonitorConfigArrayInput` via:

MonitorConfigArray{ MonitorConfigArgs{...} }

type MonitorConfigArrayOutput

type MonitorConfigArrayOutput struct{ *pulumi.OutputState }

func (MonitorConfigArrayOutput) ElementType

func (MonitorConfigArrayOutput) ElementType() reflect.Type

func (MonitorConfigArrayOutput) Index

func (MonitorConfigArrayOutput) ToMonitorConfigArrayOutput

func (o MonitorConfigArrayOutput) ToMonitorConfigArrayOutput() MonitorConfigArrayOutput

func (MonitorConfigArrayOutput) ToMonitorConfigArrayOutputWithContext

func (o MonitorConfigArrayOutput) ToMonitorConfigArrayOutputWithContext(ctx context.Context) MonitorConfigArrayOutput

type MonitorConfigInput

type MonitorConfigInput interface {
	pulumi.Input

	ToMonitorConfigOutput() MonitorConfigOutput
	ToMonitorConfigOutputWithContext(ctx context.Context) MonitorConfigOutput
}

type MonitorConfigIspCityNode

type MonitorConfigIspCityNode struct {
	// The code of the city node to monitor.
	CityCode string `pulumi:"cityCode"`
	// The code of the Internet provider service (ISP) node to monitor.
	IspCode string `pulumi:"ispCode"`
}

type MonitorConfigIspCityNodeArgs

type MonitorConfigIspCityNodeArgs struct {
	// The code of the city node to monitor.
	CityCode pulumi.StringInput `pulumi:"cityCode"`
	// The code of the Internet provider service (ISP) node to monitor.
	IspCode pulumi.StringInput `pulumi:"ispCode"`
}

func (MonitorConfigIspCityNodeArgs) ElementType

func (MonitorConfigIspCityNodeArgs) ToMonitorConfigIspCityNodeOutput

func (i MonitorConfigIspCityNodeArgs) ToMonitorConfigIspCityNodeOutput() MonitorConfigIspCityNodeOutput

func (MonitorConfigIspCityNodeArgs) ToMonitorConfigIspCityNodeOutputWithContext

func (i MonitorConfigIspCityNodeArgs) ToMonitorConfigIspCityNodeOutputWithContext(ctx context.Context) MonitorConfigIspCityNodeOutput

type MonitorConfigIspCityNodeArray

type MonitorConfigIspCityNodeArray []MonitorConfigIspCityNodeInput

func (MonitorConfigIspCityNodeArray) ElementType

func (MonitorConfigIspCityNodeArray) ToMonitorConfigIspCityNodeArrayOutput

func (i MonitorConfigIspCityNodeArray) ToMonitorConfigIspCityNodeArrayOutput() MonitorConfigIspCityNodeArrayOutput

func (MonitorConfigIspCityNodeArray) ToMonitorConfigIspCityNodeArrayOutputWithContext

func (i MonitorConfigIspCityNodeArray) ToMonitorConfigIspCityNodeArrayOutputWithContext(ctx context.Context) MonitorConfigIspCityNodeArrayOutput

type MonitorConfigIspCityNodeArrayInput

type MonitorConfigIspCityNodeArrayInput interface {
	pulumi.Input

	ToMonitorConfigIspCityNodeArrayOutput() MonitorConfigIspCityNodeArrayOutput
	ToMonitorConfigIspCityNodeArrayOutputWithContext(context.Context) MonitorConfigIspCityNodeArrayOutput
}

MonitorConfigIspCityNodeArrayInput is an input type that accepts MonitorConfigIspCityNodeArray and MonitorConfigIspCityNodeArrayOutput values. You can construct a concrete instance of `MonitorConfigIspCityNodeArrayInput` via:

MonitorConfigIspCityNodeArray{ MonitorConfigIspCityNodeArgs{...} }

type MonitorConfigIspCityNodeArrayOutput

type MonitorConfigIspCityNodeArrayOutput struct{ *pulumi.OutputState }

func (MonitorConfigIspCityNodeArrayOutput) ElementType

func (MonitorConfigIspCityNodeArrayOutput) Index

func (MonitorConfigIspCityNodeArrayOutput) ToMonitorConfigIspCityNodeArrayOutput

func (o MonitorConfigIspCityNodeArrayOutput) ToMonitorConfigIspCityNodeArrayOutput() MonitorConfigIspCityNodeArrayOutput

func (MonitorConfigIspCityNodeArrayOutput) ToMonitorConfigIspCityNodeArrayOutputWithContext

func (o MonitorConfigIspCityNodeArrayOutput) ToMonitorConfigIspCityNodeArrayOutputWithContext(ctx context.Context) MonitorConfigIspCityNodeArrayOutput

type MonitorConfigIspCityNodeInput

type MonitorConfigIspCityNodeInput interface {
	pulumi.Input

	ToMonitorConfigIspCityNodeOutput() MonitorConfigIspCityNodeOutput
	ToMonitorConfigIspCityNodeOutputWithContext(context.Context) MonitorConfigIspCityNodeOutput
}

MonitorConfigIspCityNodeInput is an input type that accepts MonitorConfigIspCityNodeArgs and MonitorConfigIspCityNodeOutput values. You can construct a concrete instance of `MonitorConfigIspCityNodeInput` via:

MonitorConfigIspCityNodeArgs{...}

type MonitorConfigIspCityNodeOutput

type MonitorConfigIspCityNodeOutput struct{ *pulumi.OutputState }

func (MonitorConfigIspCityNodeOutput) CityCode

The code of the city node to monitor.

func (MonitorConfigIspCityNodeOutput) ElementType

func (MonitorConfigIspCityNodeOutput) IspCode

The code of the Internet provider service (ISP) node to monitor.

func (MonitorConfigIspCityNodeOutput) ToMonitorConfigIspCityNodeOutput

func (o MonitorConfigIspCityNodeOutput) ToMonitorConfigIspCityNodeOutput() MonitorConfigIspCityNodeOutput

func (MonitorConfigIspCityNodeOutput) ToMonitorConfigIspCityNodeOutputWithContext

func (o MonitorConfigIspCityNodeOutput) ToMonitorConfigIspCityNodeOutputWithContext(ctx context.Context) MonitorConfigIspCityNodeOutput

type MonitorConfigMap

type MonitorConfigMap map[string]MonitorConfigInput

func (MonitorConfigMap) ElementType

func (MonitorConfigMap) ElementType() reflect.Type

func (MonitorConfigMap) ToMonitorConfigMapOutput

func (i MonitorConfigMap) ToMonitorConfigMapOutput() MonitorConfigMapOutput

func (MonitorConfigMap) ToMonitorConfigMapOutputWithContext

func (i MonitorConfigMap) ToMonitorConfigMapOutputWithContext(ctx context.Context) MonitorConfigMapOutput

type MonitorConfigMapInput

type MonitorConfigMapInput interface {
	pulumi.Input

	ToMonitorConfigMapOutput() MonitorConfigMapOutput
	ToMonitorConfigMapOutputWithContext(context.Context) MonitorConfigMapOutput
}

MonitorConfigMapInput is an input type that accepts MonitorConfigMap and MonitorConfigMapOutput values. You can construct a concrete instance of `MonitorConfigMapInput` via:

MonitorConfigMap{ "key": MonitorConfigArgs{...} }

type MonitorConfigMapOutput

type MonitorConfigMapOutput struct{ *pulumi.OutputState }

func (MonitorConfigMapOutput) ElementType

func (MonitorConfigMapOutput) ElementType() reflect.Type

func (MonitorConfigMapOutput) MapIndex

func (MonitorConfigMapOutput) ToMonitorConfigMapOutput

func (o MonitorConfigMapOutput) ToMonitorConfigMapOutput() MonitorConfigMapOutput

func (MonitorConfigMapOutput) ToMonitorConfigMapOutputWithContext

func (o MonitorConfigMapOutput) ToMonitorConfigMapOutputWithContext(ctx context.Context) MonitorConfigMapOutput

type MonitorConfigOutput

type MonitorConfigOutput struct{ *pulumi.OutputState }

func (MonitorConfigOutput) AddrPoolId

func (o MonitorConfigOutput) AddrPoolId() pulumi.StringOutput

The ID of the address pool.

func (MonitorConfigOutput) ElementType

func (MonitorConfigOutput) ElementType() reflect.Type

func (MonitorConfigOutput) EvaluationCount

func (o MonitorConfigOutput) EvaluationCount() pulumi.IntOutput

The number of consecutive times of failed health check attempts. Valid values: `1`, `2`, `3`.

func (MonitorConfigOutput) Interval

func (o MonitorConfigOutput) Interval() pulumi.IntOutput

The health check interval. Unit: seconds. Valid values: `60`.

func (MonitorConfigOutput) IspCityNodes

The Monitoring node. See the following `Block ispCityNode`.

func (MonitorConfigOutput) Lang

The lang.

func (MonitorConfigOutput) MonitorExtendInfo

func (o MonitorConfigOutput) MonitorExtendInfo() pulumi.StringOutput

The extended information. This value follows the json format. For more details, see the [description of MonitorExtendInfo in the Request parameters table for details](https://www.alibabacloud.com/help/en/doc-detail/198064.html).

func (MonitorConfigOutput) ProtocolType

func (o MonitorConfigOutput) ProtocolType() pulumi.StringOutput

The health check protocol. Valid values: `HTTP`, `HTTPS`, `PING`, `TCP`.

func (MonitorConfigOutput) Timeout

func (o MonitorConfigOutput) Timeout() pulumi.IntOutput

The timeout period. Unit: milliseconds. Valid values: `2000`, `3000`, `5000`, `10000`.

func (MonitorConfigOutput) ToMonitorConfigOutput

func (o MonitorConfigOutput) ToMonitorConfigOutput() MonitorConfigOutput

func (MonitorConfigOutput) ToMonitorConfigOutputWithContext

func (o MonitorConfigOutput) ToMonitorConfigOutputWithContext(ctx context.Context) MonitorConfigOutput

type MonitorConfigState

type MonitorConfigState struct {
	// The ID of the address pool.
	AddrPoolId pulumi.StringPtrInput
	// The number of consecutive times of failed health check attempts. Valid values: `1`, `2`, `3`.
	EvaluationCount pulumi.IntPtrInput
	// The health check interval. Unit: seconds. Valid values: `60`.
	Interval pulumi.IntPtrInput
	// The Monitoring node. See the following `Block ispCityNode`.
	IspCityNodes MonitorConfigIspCityNodeArrayInput
	// The lang.
	Lang pulumi.StringPtrInput
	// The extended information. This value follows the json format. For more details, see the [description of MonitorExtendInfo in the Request parameters table for details](https://www.alibabacloud.com/help/en/doc-detail/198064.html).
	MonitorExtendInfo pulumi.StringPtrInput
	// The health check protocol. Valid values: `HTTP`, `HTTPS`, `PING`, `TCP`.
	ProtocolType pulumi.StringPtrInput
	// The timeout period. Unit: milliseconds. Valid values: `2000`, `3000`, `5000`, `10000`.
	Timeout pulumi.IntPtrInput
}

func (MonitorConfigState) ElementType

func (MonitorConfigState) ElementType() reflect.Type

type Record

type Record struct {
	pulumi.CustomResourceState

	// Host record for the domain record. This hostRecord can have at most 253 characters, and each part split with "." can have at most 63 characters, and must contain only alphanumeric characters or hyphens, such as "-",".","*","@",  and must not begin or end with "-".
	HostRecord pulumi.StringOutput `pulumi:"hostRecord"`
	Locked     pulumi.BoolOutput   `pulumi:"locked"`
	// Name of the domain. This name without suffix can have a string of 1 to 63 characters, must contain only alphanumeric characters or "-", and must not begin or end with "-", and "-" must not in the 3th and 4th character positions at the same time. Suffix `.sh` and `.tel` are not supported.
	Name pulumi.StringOutput `pulumi:"name"`
	// The priority of domain record. Valid values are `[1-10]`. When the `type` is `MX`, this parameter is required.
	Priority pulumi.IntPtrOutput `pulumi:"priority"`
	// The resolution line of domain record. Valid values are `default`, `telecom`, `unicom`, `mobile`, `oversea`, `edu`, `drpeng`, `btvn`, .etc. When the `type` is `FORWORD_URL`, this parameter must be `default`. Default value is `default`. For checking all resolution lines enumeration please visit [Alibaba Cloud DNS doc](https://www.alibabacloud.com/help/doc-detail/34339.htm) or using dns.getResolutionLines in data source to get the value.
	Routing pulumi.StringPtrOutput `pulumi:"routing"`
	// The record status. `Enable` or `Disable`.
	Status pulumi.StringOutput `pulumi:"status"`
	// The effective time of domain record. Its scope depends on the edition of the cloud resolution. Free is `[600, 86400]`, Basic is `[120, 86400]`, Standard is `[60, 86400]`, Ultimate is `[10, 86400]`, Exclusive is `[1, 86400]`. Default value is `600`.
	Ttl pulumi.IntPtrOutput `pulumi:"ttl"`
	// The type of domain record. Valid values are `A`,`NS`,`MX`,`TXT`,`CNAME`,`SRV`,`AAAA`,`CAA`, `REDIRECT_URL` and `FORWORD_URL`.
	Type pulumi.StringOutput `pulumi:"type"`
	// The value of domain record, When the `type` is `MX`,`NS`,`CNAME`,`SRV`, the server will treat the `value` as a fully qualified domain name, so it's no need to add a `.` at the end.
	Value pulumi.StringOutput `pulumi:"value"`
}

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/dns"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := dns.NewRecord(ctx, "record", &dns.RecordArgs{
			HostRecord: pulumi.String("@"),
			Type:       pulumi.String("A"),
			Value:      pulumi.String("192.168.99.99"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

RDS record can be imported using the id, e.g.

```sh

$ pulumi import alicloud:dns/record:Record example abc123456

```

func GetRecord

func GetRecord(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RecordState, opts ...pulumi.ResourceOption) (*Record, error)

GetRecord gets an existing Record resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewRecord

func NewRecord(ctx *pulumi.Context,
	name string, args *RecordArgs, opts ...pulumi.ResourceOption) (*Record, error)

NewRecord registers a new resource with the given unique name, arguments, and options.

func (*Record) ElementType

func (*Record) ElementType() reflect.Type

func (*Record) ToRecordOutput

func (i *Record) ToRecordOutput() RecordOutput

func (*Record) ToRecordOutputWithContext

func (i *Record) ToRecordOutputWithContext(ctx context.Context) RecordOutput

type RecordArgs

type RecordArgs struct {
	// Host record for the domain record. This hostRecord can have at most 253 characters, and each part split with "." can have at most 63 characters, and must contain only alphanumeric characters or hyphens, such as "-",".","*","@",  and must not begin or end with "-".
	HostRecord pulumi.StringInput
	// Name of the domain. This name without suffix can have a string of 1 to 63 characters, must contain only alphanumeric characters or "-", and must not begin or end with "-", and "-" must not in the 3th and 4th character positions at the same time. Suffix `.sh` and `.tel` are not supported.
	Name pulumi.StringPtrInput
	// The priority of domain record. Valid values are `[1-10]`. When the `type` is `MX`, this parameter is required.
	Priority pulumi.IntPtrInput
	// The resolution line of domain record. Valid values are `default`, `telecom`, `unicom`, `mobile`, `oversea`, `edu`, `drpeng`, `btvn`, .etc. When the `type` is `FORWORD_URL`, this parameter must be `default`. Default value is `default`. For checking all resolution lines enumeration please visit [Alibaba Cloud DNS doc](https://www.alibabacloud.com/help/doc-detail/34339.htm) or using dns.getResolutionLines in data source to get the value.
	Routing pulumi.StringPtrInput
	// The effective time of domain record. Its scope depends on the edition of the cloud resolution. Free is `[600, 86400]`, Basic is `[120, 86400]`, Standard is `[60, 86400]`, Ultimate is `[10, 86400]`, Exclusive is `[1, 86400]`. Default value is `600`.
	Ttl pulumi.IntPtrInput
	// The type of domain record. Valid values are `A`,`NS`,`MX`,`TXT`,`CNAME`,`SRV`,`AAAA`,`CAA`, `REDIRECT_URL` and `FORWORD_URL`.
	Type pulumi.StringInput
	// The value of domain record, When the `type` is `MX`,`NS`,`CNAME`,`SRV`, the server will treat the `value` as a fully qualified domain name, so it's no need to add a `.` at the end.
	Value pulumi.StringInput
}

The set of arguments for constructing a Record resource.

func (RecordArgs) ElementType

func (RecordArgs) ElementType() reflect.Type

type RecordArray

type RecordArray []RecordInput

func (RecordArray) ElementType

func (RecordArray) ElementType() reflect.Type

func (RecordArray) ToRecordArrayOutput

func (i RecordArray) ToRecordArrayOutput() RecordArrayOutput

func (RecordArray) ToRecordArrayOutputWithContext

func (i RecordArray) ToRecordArrayOutputWithContext(ctx context.Context) RecordArrayOutput

type RecordArrayInput

type RecordArrayInput interface {
	pulumi.Input

	ToRecordArrayOutput() RecordArrayOutput
	ToRecordArrayOutputWithContext(context.Context) RecordArrayOutput
}

RecordArrayInput is an input type that accepts RecordArray and RecordArrayOutput values. You can construct a concrete instance of `RecordArrayInput` via:

RecordArray{ RecordArgs{...} }

type RecordArrayOutput

type RecordArrayOutput struct{ *pulumi.OutputState }

func (RecordArrayOutput) ElementType

func (RecordArrayOutput) ElementType() reflect.Type

func (RecordArrayOutput) Index

func (RecordArrayOutput) ToRecordArrayOutput

func (o RecordArrayOutput) ToRecordArrayOutput() RecordArrayOutput

func (RecordArrayOutput) ToRecordArrayOutputWithContext

func (o RecordArrayOutput) ToRecordArrayOutputWithContext(ctx context.Context) RecordArrayOutput

type RecordInput

type RecordInput interface {
	pulumi.Input

	ToRecordOutput() RecordOutput
	ToRecordOutputWithContext(ctx context.Context) RecordOutput
}

type RecordMap

type RecordMap map[string]RecordInput

func (RecordMap) ElementType

func (RecordMap) ElementType() reflect.Type

func (RecordMap) ToRecordMapOutput

func (i RecordMap) ToRecordMapOutput() RecordMapOutput

func (RecordMap) ToRecordMapOutputWithContext

func (i RecordMap) ToRecordMapOutputWithContext(ctx context.Context) RecordMapOutput

type RecordMapInput

type RecordMapInput interface {
	pulumi.Input

	ToRecordMapOutput() RecordMapOutput
	ToRecordMapOutputWithContext(context.Context) RecordMapOutput
}

RecordMapInput is an input type that accepts RecordMap and RecordMapOutput values. You can construct a concrete instance of `RecordMapInput` via:

RecordMap{ "key": RecordArgs{...} }

type RecordMapOutput

type RecordMapOutput struct{ *pulumi.OutputState }

func (RecordMapOutput) ElementType

func (RecordMapOutput) ElementType() reflect.Type

func (RecordMapOutput) MapIndex

func (RecordMapOutput) ToRecordMapOutput

func (o RecordMapOutput) ToRecordMapOutput() RecordMapOutput

func (RecordMapOutput) ToRecordMapOutputWithContext

func (o RecordMapOutput) ToRecordMapOutputWithContext(ctx context.Context) RecordMapOutput

type RecordOutput

type RecordOutput struct{ *pulumi.OutputState }

func (RecordOutput) ElementType

func (RecordOutput) ElementType() reflect.Type

func (RecordOutput) HostRecord

func (o RecordOutput) HostRecord() pulumi.StringOutput

Host record for the domain record. This hostRecord can have at most 253 characters, and each part split with "." can have at most 63 characters, and must contain only alphanumeric characters or hyphens, such as "-",".","*","@", and must not begin or end with "-".

func (RecordOutput) Locked

func (o RecordOutput) Locked() pulumi.BoolOutput

func (RecordOutput) Name

func (o RecordOutput) Name() pulumi.StringOutput

Name of the domain. This name without suffix can have a string of 1 to 63 characters, must contain only alphanumeric characters or "-", and must not begin or end with "-", and "-" must not in the 3th and 4th character positions at the same time. Suffix `.sh` and `.tel` are not supported.

func (RecordOutput) Priority

func (o RecordOutput) Priority() pulumi.IntPtrOutput

The priority of domain record. Valid values are `[1-10]`. When the `type` is `MX`, this parameter is required.

func (RecordOutput) Routing

func (o RecordOutput) Routing() pulumi.StringPtrOutput

The resolution line of domain record. Valid values are `default`, `telecom`, `unicom`, `mobile`, `oversea`, `edu`, `drpeng`, `btvn`, .etc. When the `type` is `FORWORD_URL`, this parameter must be `default`. Default value is `default`. For checking all resolution lines enumeration please visit [Alibaba Cloud DNS doc](https://www.alibabacloud.com/help/doc-detail/34339.htm) or using dns.getResolutionLines in data source to get the value.

func (RecordOutput) Status

func (o RecordOutput) Status() pulumi.StringOutput

The record status. `Enable` or `Disable`.

func (RecordOutput) ToRecordOutput

func (o RecordOutput) ToRecordOutput() RecordOutput

func (RecordOutput) ToRecordOutputWithContext

func (o RecordOutput) ToRecordOutputWithContext(ctx context.Context) RecordOutput

func (RecordOutput) Ttl

The effective time of domain record. Its scope depends on the edition of the cloud resolution. Free is `[600, 86400]`, Basic is `[120, 86400]`, Standard is `[60, 86400]`, Ultimate is `[10, 86400]`, Exclusive is `[1, 86400]`. Default value is `600`.

func (RecordOutput) Type

func (o RecordOutput) Type() pulumi.StringOutput

The type of domain record. Valid values are `A`,`NS`,`MX`,`TXT`,`CNAME`,`SRV`,`AAAA`,`CAA`, `REDIRECT_URL` and `FORWORD_URL`.

func (RecordOutput) Value

func (o RecordOutput) Value() pulumi.StringOutput

The value of domain record, When the `type` is `MX`,`NS`,`CNAME`,`SRV`, the server will treat the `value` as a fully qualified domain name, so it's no need to add a `.` at the end.

type RecordState

type RecordState struct {
	// Host record for the domain record. This hostRecord can have at most 253 characters, and each part split with "." can have at most 63 characters, and must contain only alphanumeric characters or hyphens, such as "-",".","*","@",  and must not begin or end with "-".
	HostRecord pulumi.StringPtrInput
	Locked     pulumi.BoolPtrInput
	// Name of the domain. This name without suffix can have a string of 1 to 63 characters, must contain only alphanumeric characters or "-", and must not begin or end with "-", and "-" must not in the 3th and 4th character positions at the same time. Suffix `.sh` and `.tel` are not supported.
	Name pulumi.StringPtrInput
	// The priority of domain record. Valid values are `[1-10]`. When the `type` is `MX`, this parameter is required.
	Priority pulumi.IntPtrInput
	// The resolution line of domain record. Valid values are `default`, `telecom`, `unicom`, `mobile`, `oversea`, `edu`, `drpeng`, `btvn`, .etc. When the `type` is `FORWORD_URL`, this parameter must be `default`. Default value is `default`. For checking all resolution lines enumeration please visit [Alibaba Cloud DNS doc](https://www.alibabacloud.com/help/doc-detail/34339.htm) or using dns.getResolutionLines in data source to get the value.
	Routing pulumi.StringPtrInput
	// The record status. `Enable` or `Disable`.
	Status pulumi.StringPtrInput
	// The effective time of domain record. Its scope depends on the edition of the cloud resolution. Free is `[600, 86400]`, Basic is `[120, 86400]`, Standard is `[60, 86400]`, Ultimate is `[10, 86400]`, Exclusive is `[1, 86400]`. Default value is `600`.
	Ttl pulumi.IntPtrInput
	// The type of domain record. Valid values are `A`,`NS`,`MX`,`TXT`,`CNAME`,`SRV`,`AAAA`,`CAA`, `REDIRECT_URL` and `FORWORD_URL`.
	Type pulumi.StringPtrInput
	// The value of domain record, When the `type` is `MX`,`NS`,`CNAME`,`SRV`, the server will treat the `value` as a fully qualified domain name, so it's no need to add a `.` at the end.
	Value pulumi.StringPtrInput
}

func (RecordState) ElementType

func (RecordState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL