pvtz

package
v3.54.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Endpoint added in v3.10.0

type Endpoint struct {
	pulumi.CustomResourceState

	// The name of the resource.
	EndpointName pulumi.StringOutput `pulumi:"endpointName"`
	// The Ip Configs. See `ipConfigs` below. **NOTE:** In order to ensure high availability, add at least 2 and up to 6.
	IpConfigs EndpointIpConfigArrayOutput `pulumi:"ipConfigs"`
	// The ID of the Security Group.
	SecurityGroupId pulumi.StringOutput `pulumi:"securityGroupId"`
	// The status of the resource. Valid values: `CHANGE_FAILED`, `CHANGE_INIT`, `EXCEPTION`, `FAILED`, `INIT`, `SUCCESS`.
	Status pulumi.StringOutput `pulumi:"status"`
	// The VPC ID.
	VpcId pulumi.StringOutput `pulumi:"vpcId"`
	// The Region of the VPC.
	VpcRegionId pulumi.StringOutput `pulumi:"vpcRegionId"`
}

Provides a Private Zone Endpoint resource.

For information about Private Zone Endpoint and how to use it, see [What is Endpoint](https://www.alibabacloud.com/help/en/privatezone/latest/add-endpoint).

> **NOTE:** Available since v1.143.0.

## Import

Private Zone Endpoint can be imported using the id, e.g.

```sh $ pulumi import alicloud:pvtz/endpoint:Endpoint example <id> ```

func GetEndpoint added in v3.10.0

func GetEndpoint(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *EndpointState, opts ...pulumi.ResourceOption) (*Endpoint, error)

GetEndpoint gets an existing Endpoint 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 NewEndpoint added in v3.10.0

func NewEndpoint(ctx *pulumi.Context,
	name string, args *EndpointArgs, opts ...pulumi.ResourceOption) (*Endpoint, error)

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

func (*Endpoint) ElementType added in v3.10.0

func (*Endpoint) ElementType() reflect.Type

func (*Endpoint) ToEndpointOutput added in v3.10.0

func (i *Endpoint) ToEndpointOutput() EndpointOutput

func (*Endpoint) ToEndpointOutputWithContext added in v3.10.0

func (i *Endpoint) ToEndpointOutputWithContext(ctx context.Context) EndpointOutput

type EndpointArgs added in v3.10.0

type EndpointArgs struct {
	// The name of the resource.
	EndpointName pulumi.StringInput
	// The Ip Configs. See `ipConfigs` below. **NOTE:** In order to ensure high availability, add at least 2 and up to 6.
	IpConfigs EndpointIpConfigArrayInput
	// The ID of the Security Group.
	SecurityGroupId pulumi.StringInput
	// The VPC ID.
	VpcId pulumi.StringInput
	// The Region of the VPC.
	VpcRegionId pulumi.StringInput
}

The set of arguments for constructing a Endpoint resource.

func (EndpointArgs) ElementType added in v3.10.0

func (EndpointArgs) ElementType() reflect.Type

type EndpointArray added in v3.10.0

type EndpointArray []EndpointInput

func (EndpointArray) ElementType added in v3.10.0

func (EndpointArray) ElementType() reflect.Type

func (EndpointArray) ToEndpointArrayOutput added in v3.10.0

func (i EndpointArray) ToEndpointArrayOutput() EndpointArrayOutput

func (EndpointArray) ToEndpointArrayOutputWithContext added in v3.10.0

func (i EndpointArray) ToEndpointArrayOutputWithContext(ctx context.Context) EndpointArrayOutput

type EndpointArrayInput added in v3.10.0

type EndpointArrayInput interface {
	pulumi.Input

	ToEndpointArrayOutput() EndpointArrayOutput
	ToEndpointArrayOutputWithContext(context.Context) EndpointArrayOutput
}

EndpointArrayInput is an input type that accepts EndpointArray and EndpointArrayOutput values. You can construct a concrete instance of `EndpointArrayInput` via:

EndpointArray{ EndpointArgs{...} }

type EndpointArrayOutput added in v3.10.0

type EndpointArrayOutput struct{ *pulumi.OutputState }

func (EndpointArrayOutput) ElementType added in v3.10.0

func (EndpointArrayOutput) ElementType() reflect.Type

func (EndpointArrayOutput) Index added in v3.10.0

func (EndpointArrayOutput) ToEndpointArrayOutput added in v3.10.0

func (o EndpointArrayOutput) ToEndpointArrayOutput() EndpointArrayOutput

func (EndpointArrayOutput) ToEndpointArrayOutputWithContext added in v3.10.0

func (o EndpointArrayOutput) ToEndpointArrayOutputWithContext(ctx context.Context) EndpointArrayOutput

type EndpointInput added in v3.10.0

type EndpointInput interface {
	pulumi.Input

	ToEndpointOutput() EndpointOutput
	ToEndpointOutputWithContext(ctx context.Context) EndpointOutput
}

type EndpointIpConfig added in v3.10.0

type EndpointIpConfig struct {
	// The Subnet mask.
	CidrBlock string `pulumi:"cidrBlock"`
	// The IP address within the parameter range of the subnet mask.  It is recommended to use the IP address assigned by the system.
	Ip *string `pulumi:"ip"`
	// The Vswitch id.
	VswitchId string `pulumi:"vswitchId"`
	// The Zone ID.
	ZoneId string `pulumi:"zoneId"`
}

type EndpointIpConfigArgs added in v3.10.0

type EndpointIpConfigArgs struct {
	// The Subnet mask.
	CidrBlock pulumi.StringInput `pulumi:"cidrBlock"`
	// The IP address within the parameter range of the subnet mask.  It is recommended to use the IP address assigned by the system.
	Ip pulumi.StringPtrInput `pulumi:"ip"`
	// The Vswitch id.
	VswitchId pulumi.StringInput `pulumi:"vswitchId"`
	// The Zone ID.
	ZoneId pulumi.StringInput `pulumi:"zoneId"`
}

func (EndpointIpConfigArgs) ElementType added in v3.10.0

func (EndpointIpConfigArgs) ElementType() reflect.Type

func (EndpointIpConfigArgs) ToEndpointIpConfigOutput added in v3.10.0

func (i EndpointIpConfigArgs) ToEndpointIpConfigOutput() EndpointIpConfigOutput

func (EndpointIpConfigArgs) ToEndpointIpConfigOutputWithContext added in v3.10.0

func (i EndpointIpConfigArgs) ToEndpointIpConfigOutputWithContext(ctx context.Context) EndpointIpConfigOutput

type EndpointIpConfigArray added in v3.10.0

type EndpointIpConfigArray []EndpointIpConfigInput

func (EndpointIpConfigArray) ElementType added in v3.10.0

func (EndpointIpConfigArray) ElementType() reflect.Type

func (EndpointIpConfigArray) ToEndpointIpConfigArrayOutput added in v3.10.0

func (i EndpointIpConfigArray) ToEndpointIpConfigArrayOutput() EndpointIpConfigArrayOutput

func (EndpointIpConfigArray) ToEndpointIpConfigArrayOutputWithContext added in v3.10.0

func (i EndpointIpConfigArray) ToEndpointIpConfigArrayOutputWithContext(ctx context.Context) EndpointIpConfigArrayOutput

type EndpointIpConfigArrayInput added in v3.10.0

type EndpointIpConfigArrayInput interface {
	pulumi.Input

	ToEndpointIpConfigArrayOutput() EndpointIpConfigArrayOutput
	ToEndpointIpConfigArrayOutputWithContext(context.Context) EndpointIpConfigArrayOutput
}

EndpointIpConfigArrayInput is an input type that accepts EndpointIpConfigArray and EndpointIpConfigArrayOutput values. You can construct a concrete instance of `EndpointIpConfigArrayInput` via:

EndpointIpConfigArray{ EndpointIpConfigArgs{...} }

type EndpointIpConfigArrayOutput added in v3.10.0

type EndpointIpConfigArrayOutput struct{ *pulumi.OutputState }

func (EndpointIpConfigArrayOutput) ElementType added in v3.10.0

func (EndpointIpConfigArrayOutput) Index added in v3.10.0

func (EndpointIpConfigArrayOutput) ToEndpointIpConfigArrayOutput added in v3.10.0

func (o EndpointIpConfigArrayOutput) ToEndpointIpConfigArrayOutput() EndpointIpConfigArrayOutput

func (EndpointIpConfigArrayOutput) ToEndpointIpConfigArrayOutputWithContext added in v3.10.0

func (o EndpointIpConfigArrayOutput) ToEndpointIpConfigArrayOutputWithContext(ctx context.Context) EndpointIpConfigArrayOutput

type EndpointIpConfigInput added in v3.10.0

type EndpointIpConfigInput interface {
	pulumi.Input

	ToEndpointIpConfigOutput() EndpointIpConfigOutput
	ToEndpointIpConfigOutputWithContext(context.Context) EndpointIpConfigOutput
}

EndpointIpConfigInput is an input type that accepts EndpointIpConfigArgs and EndpointIpConfigOutput values. You can construct a concrete instance of `EndpointIpConfigInput` via:

EndpointIpConfigArgs{...}

type EndpointIpConfigOutput added in v3.10.0

type EndpointIpConfigOutput struct{ *pulumi.OutputState }

func (EndpointIpConfigOutput) CidrBlock added in v3.10.0

The Subnet mask.

func (EndpointIpConfigOutput) ElementType added in v3.10.0

func (EndpointIpConfigOutput) ElementType() reflect.Type

func (EndpointIpConfigOutput) Ip added in v3.10.0

The IP address within the parameter range of the subnet mask. It is recommended to use the IP address assigned by the system.

func (EndpointIpConfigOutput) ToEndpointIpConfigOutput added in v3.10.0

func (o EndpointIpConfigOutput) ToEndpointIpConfigOutput() EndpointIpConfigOutput

func (EndpointIpConfigOutput) ToEndpointIpConfigOutputWithContext added in v3.10.0

func (o EndpointIpConfigOutput) ToEndpointIpConfigOutputWithContext(ctx context.Context) EndpointIpConfigOutput

func (EndpointIpConfigOutput) VswitchId added in v3.10.0

The Vswitch id.

func (EndpointIpConfigOutput) ZoneId added in v3.10.0

The Zone ID.

type EndpointMap added in v3.10.0

type EndpointMap map[string]EndpointInput

func (EndpointMap) ElementType added in v3.10.0

func (EndpointMap) ElementType() reflect.Type

func (EndpointMap) ToEndpointMapOutput added in v3.10.0

func (i EndpointMap) ToEndpointMapOutput() EndpointMapOutput

func (EndpointMap) ToEndpointMapOutputWithContext added in v3.10.0

func (i EndpointMap) ToEndpointMapOutputWithContext(ctx context.Context) EndpointMapOutput

type EndpointMapInput added in v3.10.0

type EndpointMapInput interface {
	pulumi.Input

	ToEndpointMapOutput() EndpointMapOutput
	ToEndpointMapOutputWithContext(context.Context) EndpointMapOutput
}

EndpointMapInput is an input type that accepts EndpointMap and EndpointMapOutput values. You can construct a concrete instance of `EndpointMapInput` via:

EndpointMap{ "key": EndpointArgs{...} }

type EndpointMapOutput added in v3.10.0

type EndpointMapOutput struct{ *pulumi.OutputState }

func (EndpointMapOutput) ElementType added in v3.10.0

func (EndpointMapOutput) ElementType() reflect.Type

func (EndpointMapOutput) MapIndex added in v3.10.0

func (EndpointMapOutput) ToEndpointMapOutput added in v3.10.0

func (o EndpointMapOutput) ToEndpointMapOutput() EndpointMapOutput

func (EndpointMapOutput) ToEndpointMapOutputWithContext added in v3.10.0

func (o EndpointMapOutput) ToEndpointMapOutputWithContext(ctx context.Context) EndpointMapOutput

type EndpointOutput added in v3.10.0

type EndpointOutput struct{ *pulumi.OutputState }

func (EndpointOutput) ElementType added in v3.10.0

func (EndpointOutput) ElementType() reflect.Type

func (EndpointOutput) EndpointName added in v3.27.0

func (o EndpointOutput) EndpointName() pulumi.StringOutput

The name of the resource.

func (EndpointOutput) IpConfigs added in v3.27.0

The Ip Configs. See `ipConfigs` below. **NOTE:** In order to ensure high availability, add at least 2 and up to 6.

func (EndpointOutput) SecurityGroupId added in v3.27.0

func (o EndpointOutput) SecurityGroupId() pulumi.StringOutput

The ID of the Security Group.

func (EndpointOutput) Status added in v3.27.0

func (o EndpointOutput) Status() pulumi.StringOutput

The status of the resource. Valid values: `CHANGE_FAILED`, `CHANGE_INIT`, `EXCEPTION`, `FAILED`, `INIT`, `SUCCESS`.

func (EndpointOutput) ToEndpointOutput added in v3.10.0

func (o EndpointOutput) ToEndpointOutput() EndpointOutput

func (EndpointOutput) ToEndpointOutputWithContext added in v3.10.0

func (o EndpointOutput) ToEndpointOutputWithContext(ctx context.Context) EndpointOutput

func (EndpointOutput) VpcId added in v3.27.0

The VPC ID.

func (EndpointOutput) VpcRegionId added in v3.27.0

func (o EndpointOutput) VpcRegionId() pulumi.StringOutput

The Region of the VPC.

type EndpointState added in v3.10.0

type EndpointState struct {
	// The name of the resource.
	EndpointName pulumi.StringPtrInput
	// The Ip Configs. See `ipConfigs` below. **NOTE:** In order to ensure high availability, add at least 2 and up to 6.
	IpConfigs EndpointIpConfigArrayInput
	// The ID of the Security Group.
	SecurityGroupId pulumi.StringPtrInput
	// The status of the resource. Valid values: `CHANGE_FAILED`, `CHANGE_INIT`, `EXCEPTION`, `FAILED`, `INIT`, `SUCCESS`.
	Status pulumi.StringPtrInput
	// The VPC ID.
	VpcId pulumi.StringPtrInput
	// The Region of the VPC.
	VpcRegionId pulumi.StringPtrInput
}

func (EndpointState) ElementType added in v3.10.0

func (EndpointState) ElementType() reflect.Type

type GetEndpointsArgs added in v3.10.0

type GetEndpointsArgs struct {
	// A list of Endpoint IDs.
	Ids []string `pulumi:"ids"`
	// A regex string to filter results by Endpoint name.
	NameRegex *string `pulumi:"nameRegex"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile *string `pulumi:"outputFile"`
	// The status of the resource. Valid values: `CHANGE_FAILED`, `CHANGE_INIT`, `EXCEPTION`, `FAILED`, `INIT`, `SUCCESS`.
	Status *string `pulumi:"status"`
}

A collection of arguments for invoking getEndpoints.

type GetEndpointsEndpoint added in v3.10.0

type GetEndpointsEndpoint struct {
	// The creation time of the resource.
	CreateTime string `pulumi:"createTime"`
	// The name of the resource.
	EndpointName string `pulumi:"endpointName"`
	Id           string `pulumi:"id"`
	// The Ip Configs.
	IpConfigs []GetEndpointsEndpointIpConfig `pulumi:"ipConfigs"`
	// The ID of the Security Group.
	SecurityGroupId string `pulumi:"securityGroupId"`
	// The status of the resource. Valid values: `CHANGE_FAILED`, `CHANGE_INIT`, `EXCEPTION`, `FAILED`, `INIT`, `SUCCESS`.
	Status string `pulumi:"status"`
	// The VPC ID.
	VpcId string `pulumi:"vpcId"`
	// The name of the VPC.
	VpcName string `pulumi:"vpcName"`
	// The Region of the VPC.
	VpcRegionId string `pulumi:"vpcRegionId"`
}

type GetEndpointsEndpointArgs added in v3.10.0

type GetEndpointsEndpointArgs struct {
	// The creation time of the resource.
	CreateTime pulumi.StringInput `pulumi:"createTime"`
	// The name of the resource.
	EndpointName pulumi.StringInput `pulumi:"endpointName"`
	Id           pulumi.StringInput `pulumi:"id"`
	// The Ip Configs.
	IpConfigs GetEndpointsEndpointIpConfigArrayInput `pulumi:"ipConfigs"`
	// The ID of the Security Group.
	SecurityGroupId pulumi.StringInput `pulumi:"securityGroupId"`
	// The status of the resource. Valid values: `CHANGE_FAILED`, `CHANGE_INIT`, `EXCEPTION`, `FAILED`, `INIT`, `SUCCESS`.
	Status pulumi.StringInput `pulumi:"status"`
	// The VPC ID.
	VpcId pulumi.StringInput `pulumi:"vpcId"`
	// The name of the VPC.
	VpcName pulumi.StringInput `pulumi:"vpcName"`
	// The Region of the VPC.
	VpcRegionId pulumi.StringInput `pulumi:"vpcRegionId"`
}

func (GetEndpointsEndpointArgs) ElementType added in v3.10.0

func (GetEndpointsEndpointArgs) ElementType() reflect.Type

func (GetEndpointsEndpointArgs) ToGetEndpointsEndpointOutput added in v3.10.0

func (i GetEndpointsEndpointArgs) ToGetEndpointsEndpointOutput() GetEndpointsEndpointOutput

func (GetEndpointsEndpointArgs) ToGetEndpointsEndpointOutputWithContext added in v3.10.0

func (i GetEndpointsEndpointArgs) ToGetEndpointsEndpointOutputWithContext(ctx context.Context) GetEndpointsEndpointOutput

type GetEndpointsEndpointArray added in v3.10.0

type GetEndpointsEndpointArray []GetEndpointsEndpointInput

func (GetEndpointsEndpointArray) ElementType added in v3.10.0

func (GetEndpointsEndpointArray) ElementType() reflect.Type

func (GetEndpointsEndpointArray) ToGetEndpointsEndpointArrayOutput added in v3.10.0

func (i GetEndpointsEndpointArray) ToGetEndpointsEndpointArrayOutput() GetEndpointsEndpointArrayOutput

func (GetEndpointsEndpointArray) ToGetEndpointsEndpointArrayOutputWithContext added in v3.10.0

func (i GetEndpointsEndpointArray) ToGetEndpointsEndpointArrayOutputWithContext(ctx context.Context) GetEndpointsEndpointArrayOutput

type GetEndpointsEndpointArrayInput added in v3.10.0

type GetEndpointsEndpointArrayInput interface {
	pulumi.Input

	ToGetEndpointsEndpointArrayOutput() GetEndpointsEndpointArrayOutput
	ToGetEndpointsEndpointArrayOutputWithContext(context.Context) GetEndpointsEndpointArrayOutput
}

GetEndpointsEndpointArrayInput is an input type that accepts GetEndpointsEndpointArray and GetEndpointsEndpointArrayOutput values. You can construct a concrete instance of `GetEndpointsEndpointArrayInput` via:

GetEndpointsEndpointArray{ GetEndpointsEndpointArgs{...} }

type GetEndpointsEndpointArrayOutput added in v3.10.0

type GetEndpointsEndpointArrayOutput struct{ *pulumi.OutputState }

func (GetEndpointsEndpointArrayOutput) ElementType added in v3.10.0

func (GetEndpointsEndpointArrayOutput) Index added in v3.10.0

func (GetEndpointsEndpointArrayOutput) ToGetEndpointsEndpointArrayOutput added in v3.10.0

func (o GetEndpointsEndpointArrayOutput) ToGetEndpointsEndpointArrayOutput() GetEndpointsEndpointArrayOutput

func (GetEndpointsEndpointArrayOutput) ToGetEndpointsEndpointArrayOutputWithContext added in v3.10.0

func (o GetEndpointsEndpointArrayOutput) ToGetEndpointsEndpointArrayOutputWithContext(ctx context.Context) GetEndpointsEndpointArrayOutput

type GetEndpointsEndpointInput added in v3.10.0

type GetEndpointsEndpointInput interface {
	pulumi.Input

	ToGetEndpointsEndpointOutput() GetEndpointsEndpointOutput
	ToGetEndpointsEndpointOutputWithContext(context.Context) GetEndpointsEndpointOutput
}

GetEndpointsEndpointInput is an input type that accepts GetEndpointsEndpointArgs and GetEndpointsEndpointOutput values. You can construct a concrete instance of `GetEndpointsEndpointInput` via:

GetEndpointsEndpointArgs{...}

type GetEndpointsEndpointIpConfig added in v3.10.0

type GetEndpointsEndpointIpConfig struct {
	// The Subnet mask.
	CidrBlock string `pulumi:"cidrBlock"`
	// The IP address within the parameter range of the subnet mask. **NOTE:** It is recommended to use the IP address assigned by the system.
	Ip string `pulumi:"ip"`
	// The Vswitch id.
	VswitchId string `pulumi:"vswitchId"`
	// The Zone ID.
	ZoneId string `pulumi:"zoneId"`
}

type GetEndpointsEndpointIpConfigArgs added in v3.10.0

type GetEndpointsEndpointIpConfigArgs struct {
	// The Subnet mask.
	CidrBlock pulumi.StringInput `pulumi:"cidrBlock"`
	// The IP address within the parameter range of the subnet mask. **NOTE:** It is recommended to use the IP address assigned by the system.
	Ip pulumi.StringInput `pulumi:"ip"`
	// The Vswitch id.
	VswitchId pulumi.StringInput `pulumi:"vswitchId"`
	// The Zone ID.
	ZoneId pulumi.StringInput `pulumi:"zoneId"`
}

func (GetEndpointsEndpointIpConfigArgs) ElementType added in v3.10.0

func (GetEndpointsEndpointIpConfigArgs) ToGetEndpointsEndpointIpConfigOutput added in v3.10.0

func (i GetEndpointsEndpointIpConfigArgs) ToGetEndpointsEndpointIpConfigOutput() GetEndpointsEndpointIpConfigOutput

func (GetEndpointsEndpointIpConfigArgs) ToGetEndpointsEndpointIpConfigOutputWithContext added in v3.10.0

func (i GetEndpointsEndpointIpConfigArgs) ToGetEndpointsEndpointIpConfigOutputWithContext(ctx context.Context) GetEndpointsEndpointIpConfigOutput

type GetEndpointsEndpointIpConfigArray added in v3.10.0

type GetEndpointsEndpointIpConfigArray []GetEndpointsEndpointIpConfigInput

func (GetEndpointsEndpointIpConfigArray) ElementType added in v3.10.0

func (GetEndpointsEndpointIpConfigArray) ToGetEndpointsEndpointIpConfigArrayOutput added in v3.10.0

func (i GetEndpointsEndpointIpConfigArray) ToGetEndpointsEndpointIpConfigArrayOutput() GetEndpointsEndpointIpConfigArrayOutput

func (GetEndpointsEndpointIpConfigArray) ToGetEndpointsEndpointIpConfigArrayOutputWithContext added in v3.10.0

func (i GetEndpointsEndpointIpConfigArray) ToGetEndpointsEndpointIpConfigArrayOutputWithContext(ctx context.Context) GetEndpointsEndpointIpConfigArrayOutput

type GetEndpointsEndpointIpConfigArrayInput added in v3.10.0

type GetEndpointsEndpointIpConfigArrayInput interface {
	pulumi.Input

	ToGetEndpointsEndpointIpConfigArrayOutput() GetEndpointsEndpointIpConfigArrayOutput
	ToGetEndpointsEndpointIpConfigArrayOutputWithContext(context.Context) GetEndpointsEndpointIpConfigArrayOutput
}

GetEndpointsEndpointIpConfigArrayInput is an input type that accepts GetEndpointsEndpointIpConfigArray and GetEndpointsEndpointIpConfigArrayOutput values. You can construct a concrete instance of `GetEndpointsEndpointIpConfigArrayInput` via:

GetEndpointsEndpointIpConfigArray{ GetEndpointsEndpointIpConfigArgs{...} }

type GetEndpointsEndpointIpConfigArrayOutput added in v3.10.0

type GetEndpointsEndpointIpConfigArrayOutput struct{ *pulumi.OutputState }

func (GetEndpointsEndpointIpConfigArrayOutput) ElementType added in v3.10.0

func (GetEndpointsEndpointIpConfigArrayOutput) Index added in v3.10.0

func (GetEndpointsEndpointIpConfigArrayOutput) ToGetEndpointsEndpointIpConfigArrayOutput added in v3.10.0

func (o GetEndpointsEndpointIpConfigArrayOutput) ToGetEndpointsEndpointIpConfigArrayOutput() GetEndpointsEndpointIpConfigArrayOutput

func (GetEndpointsEndpointIpConfigArrayOutput) ToGetEndpointsEndpointIpConfigArrayOutputWithContext added in v3.10.0

func (o GetEndpointsEndpointIpConfigArrayOutput) ToGetEndpointsEndpointIpConfigArrayOutputWithContext(ctx context.Context) GetEndpointsEndpointIpConfigArrayOutput

type GetEndpointsEndpointIpConfigInput added in v3.10.0

type GetEndpointsEndpointIpConfigInput interface {
	pulumi.Input

	ToGetEndpointsEndpointIpConfigOutput() GetEndpointsEndpointIpConfigOutput
	ToGetEndpointsEndpointIpConfigOutputWithContext(context.Context) GetEndpointsEndpointIpConfigOutput
}

GetEndpointsEndpointIpConfigInput is an input type that accepts GetEndpointsEndpointIpConfigArgs and GetEndpointsEndpointIpConfigOutput values. You can construct a concrete instance of `GetEndpointsEndpointIpConfigInput` via:

GetEndpointsEndpointIpConfigArgs{...}

type GetEndpointsEndpointIpConfigOutput added in v3.10.0

type GetEndpointsEndpointIpConfigOutput struct{ *pulumi.OutputState }

func (GetEndpointsEndpointIpConfigOutput) CidrBlock added in v3.10.0

The Subnet mask.

func (GetEndpointsEndpointIpConfigOutput) ElementType added in v3.10.0

func (GetEndpointsEndpointIpConfigOutput) Ip added in v3.10.0

The IP address within the parameter range of the subnet mask. **NOTE:** It is recommended to use the IP address assigned by the system.

func (GetEndpointsEndpointIpConfigOutput) ToGetEndpointsEndpointIpConfigOutput added in v3.10.0

func (o GetEndpointsEndpointIpConfigOutput) ToGetEndpointsEndpointIpConfigOutput() GetEndpointsEndpointIpConfigOutput

func (GetEndpointsEndpointIpConfigOutput) ToGetEndpointsEndpointIpConfigOutputWithContext added in v3.10.0

func (o GetEndpointsEndpointIpConfigOutput) ToGetEndpointsEndpointIpConfigOutputWithContext(ctx context.Context) GetEndpointsEndpointIpConfigOutput

func (GetEndpointsEndpointIpConfigOutput) VswitchId added in v3.10.0

The Vswitch id.

func (GetEndpointsEndpointIpConfigOutput) ZoneId added in v3.10.0

The Zone ID.

type GetEndpointsEndpointOutput added in v3.10.0

type GetEndpointsEndpointOutput struct{ *pulumi.OutputState }

func (GetEndpointsEndpointOutput) CreateTime added in v3.10.0

The creation time of the resource.

func (GetEndpointsEndpointOutput) ElementType added in v3.10.0

func (GetEndpointsEndpointOutput) ElementType() reflect.Type

func (GetEndpointsEndpointOutput) EndpointName added in v3.10.0

The name of the resource.

func (GetEndpointsEndpointOutput) Id added in v3.10.0

func (GetEndpointsEndpointOutput) IpConfigs added in v3.10.0

The Ip Configs.

func (GetEndpointsEndpointOutput) SecurityGroupId added in v3.10.0

func (o GetEndpointsEndpointOutput) SecurityGroupId() pulumi.StringOutput

The ID of the Security Group.

func (GetEndpointsEndpointOutput) Status added in v3.10.0

The status of the resource. Valid values: `CHANGE_FAILED`, `CHANGE_INIT`, `EXCEPTION`, `FAILED`, `INIT`, `SUCCESS`.

func (GetEndpointsEndpointOutput) ToGetEndpointsEndpointOutput added in v3.10.0

func (o GetEndpointsEndpointOutput) ToGetEndpointsEndpointOutput() GetEndpointsEndpointOutput

func (GetEndpointsEndpointOutput) ToGetEndpointsEndpointOutputWithContext added in v3.10.0

func (o GetEndpointsEndpointOutput) ToGetEndpointsEndpointOutputWithContext(ctx context.Context) GetEndpointsEndpointOutput

func (GetEndpointsEndpointOutput) VpcId added in v3.10.0

The VPC ID.

func (GetEndpointsEndpointOutput) VpcName added in v3.10.0

The name of the VPC.

func (GetEndpointsEndpointOutput) VpcRegionId added in v3.10.0

The Region of the VPC.

type GetEndpointsOutputArgs added in v3.10.0

type GetEndpointsOutputArgs struct {
	// A list of Endpoint IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// A regex string to filter results by Endpoint name.
	NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// The status of the resource. Valid values: `CHANGE_FAILED`, `CHANGE_INIT`, `EXCEPTION`, `FAILED`, `INIT`, `SUCCESS`.
	Status pulumi.StringPtrInput `pulumi:"status"`
}

A collection of arguments for invoking getEndpoints.

func (GetEndpointsOutputArgs) ElementType added in v3.10.0

func (GetEndpointsOutputArgs) ElementType() reflect.Type

type GetEndpointsResult added in v3.10.0

type GetEndpointsResult struct {
	Endpoints []GetEndpointsEndpoint `pulumi:"endpoints"`
	// 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"`
	Status     *string  `pulumi:"status"`
}

A collection of values returned by getEndpoints.

func GetEndpoints added in v3.10.0

func GetEndpoints(ctx *pulumi.Context, args *GetEndpointsArgs, opts ...pulumi.InvokeOption) (*GetEndpointsResult, error)

This data source provides the Pvtz Endpoints of the current Alibaba Cloud user.

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

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/pvtz"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		ids, err := pvtz.GetEndpoints(ctx, &pvtz.GetEndpointsArgs{
			Ids: []string{
				"example_id",
			},
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("pvtzEndpointId1", ids.Endpoints[0].Id)
		nameRegex, err := pvtz.GetEndpoints(ctx, &pvtz.GetEndpointsArgs{
			NameRegex: pulumi.StringRef("^my-Endpoint"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("pvtzEndpointId2", nameRegex.Endpoints[0].Id)
		return nil
	})
}

```

type GetEndpointsResultOutput added in v3.10.0

type GetEndpointsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getEndpoints.

func GetEndpointsOutput added in v3.10.0

func GetEndpointsOutput(ctx *pulumi.Context, args GetEndpointsOutputArgs, opts ...pulumi.InvokeOption) GetEndpointsResultOutput

func (GetEndpointsResultOutput) ElementType added in v3.10.0

func (GetEndpointsResultOutput) ElementType() reflect.Type

func (GetEndpointsResultOutput) Endpoints added in v3.10.0

func (GetEndpointsResultOutput) Id added in v3.10.0

The provider-assigned unique ID for this managed resource.

func (GetEndpointsResultOutput) Ids added in v3.10.0

func (GetEndpointsResultOutput) NameRegex added in v3.10.0

func (GetEndpointsResultOutput) Names added in v3.10.0

func (GetEndpointsResultOutput) OutputFile added in v3.10.0

func (GetEndpointsResultOutput) Status added in v3.10.0

func (GetEndpointsResultOutput) ToGetEndpointsResultOutput added in v3.10.0

func (o GetEndpointsResultOutput) ToGetEndpointsResultOutput() GetEndpointsResultOutput

func (GetEndpointsResultOutput) ToGetEndpointsResultOutputWithContext added in v3.10.0

func (o GetEndpointsResultOutput) ToGetEndpointsResultOutputWithContext(ctx context.Context) GetEndpointsResultOutput

type GetResolverZonesArgs added in v3.10.0

type GetResolverZonesArgs struct {
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile *string `pulumi:"outputFile"`
	// The status of the Zone.
	Status *string `pulumi:"status"`
}

A collection of arguments for invoking getResolverZones.

type GetResolverZonesOutputArgs added in v3.10.0

type GetResolverZonesOutputArgs struct {
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// The status of the Zone.
	Status pulumi.StringPtrInput `pulumi:"status"`
}

A collection of arguments for invoking getResolverZones.

func (GetResolverZonesOutputArgs) ElementType added in v3.10.0

func (GetResolverZonesOutputArgs) ElementType() reflect.Type

type GetResolverZonesResult added in v3.10.0

type GetResolverZonesResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id         string                 `pulumi:"id"`
	OutputFile *string                `pulumi:"outputFile"`
	Status     *string                `pulumi:"status"`
	Zones      []GetResolverZonesZone `pulumi:"zones"`
}

A collection of values returned by getResolverZones.

func GetResolverZones added in v3.10.0

func GetResolverZones(ctx *pulumi.Context, args *GetResolverZonesArgs, opts ...pulumi.InvokeOption) (*GetResolverZonesResult, error)

This data source provides the available zones with the Private Zone Resolver of the current Alibaba Cloud user.

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

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/pvtz"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_default, err := pvtz.GetResolverZones(ctx, &pvtz.GetResolverZonesArgs{
			Status: pulumi.StringRef("NORMAL"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("firstZonesId", _default.Zones[0].ZoneId)
		return nil
	})
}

```

type GetResolverZonesResultOutput added in v3.10.0

type GetResolverZonesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getResolverZones.

func GetResolverZonesOutput added in v3.10.0

func (GetResolverZonesResultOutput) ElementType added in v3.10.0

func (GetResolverZonesResultOutput) Id added in v3.10.0

The provider-assigned unique ID for this managed resource.

func (GetResolverZonesResultOutput) OutputFile added in v3.10.0

func (GetResolverZonesResultOutput) Status added in v3.10.0

func (GetResolverZonesResultOutput) ToGetResolverZonesResultOutput added in v3.10.0

func (o GetResolverZonesResultOutput) ToGetResolverZonesResultOutput() GetResolverZonesResultOutput

func (GetResolverZonesResultOutput) ToGetResolverZonesResultOutputWithContext added in v3.10.0

func (o GetResolverZonesResultOutput) ToGetResolverZonesResultOutputWithContext(ctx context.Context) GetResolverZonesResultOutput

func (GetResolverZonesResultOutput) Zones added in v3.10.0

type GetResolverZonesZone added in v3.10.0

type GetResolverZonesZone struct {
	// The status of the Zone.
	Status string `pulumi:"status"`
	// The zone ID.
	ZoneId string `pulumi:"zoneId"`
}

type GetResolverZonesZoneArgs added in v3.10.0

type GetResolverZonesZoneArgs struct {
	// The status of the Zone.
	Status pulumi.StringInput `pulumi:"status"`
	// The zone ID.
	ZoneId pulumi.StringInput `pulumi:"zoneId"`
}

func (GetResolverZonesZoneArgs) ElementType added in v3.10.0

func (GetResolverZonesZoneArgs) ElementType() reflect.Type

func (GetResolverZonesZoneArgs) ToGetResolverZonesZoneOutput added in v3.10.0

func (i GetResolverZonesZoneArgs) ToGetResolverZonesZoneOutput() GetResolverZonesZoneOutput

func (GetResolverZonesZoneArgs) ToGetResolverZonesZoneOutputWithContext added in v3.10.0

func (i GetResolverZonesZoneArgs) ToGetResolverZonesZoneOutputWithContext(ctx context.Context) GetResolverZonesZoneOutput

type GetResolverZonesZoneArray added in v3.10.0

type GetResolverZonesZoneArray []GetResolverZonesZoneInput

func (GetResolverZonesZoneArray) ElementType added in v3.10.0

func (GetResolverZonesZoneArray) ElementType() reflect.Type

func (GetResolverZonesZoneArray) ToGetResolverZonesZoneArrayOutput added in v3.10.0

func (i GetResolverZonesZoneArray) ToGetResolverZonesZoneArrayOutput() GetResolverZonesZoneArrayOutput

func (GetResolverZonesZoneArray) ToGetResolverZonesZoneArrayOutputWithContext added in v3.10.0

func (i GetResolverZonesZoneArray) ToGetResolverZonesZoneArrayOutputWithContext(ctx context.Context) GetResolverZonesZoneArrayOutput

type GetResolverZonesZoneArrayInput added in v3.10.0

type GetResolverZonesZoneArrayInput interface {
	pulumi.Input

	ToGetResolverZonesZoneArrayOutput() GetResolverZonesZoneArrayOutput
	ToGetResolverZonesZoneArrayOutputWithContext(context.Context) GetResolverZonesZoneArrayOutput
}

GetResolverZonesZoneArrayInput is an input type that accepts GetResolverZonesZoneArray and GetResolverZonesZoneArrayOutput values. You can construct a concrete instance of `GetResolverZonesZoneArrayInput` via:

GetResolverZonesZoneArray{ GetResolverZonesZoneArgs{...} }

type GetResolverZonesZoneArrayOutput added in v3.10.0

type GetResolverZonesZoneArrayOutput struct{ *pulumi.OutputState }

func (GetResolverZonesZoneArrayOutput) ElementType added in v3.10.0

func (GetResolverZonesZoneArrayOutput) Index added in v3.10.0

func (GetResolverZonesZoneArrayOutput) ToGetResolverZonesZoneArrayOutput added in v3.10.0

func (o GetResolverZonesZoneArrayOutput) ToGetResolverZonesZoneArrayOutput() GetResolverZonesZoneArrayOutput

func (GetResolverZonesZoneArrayOutput) ToGetResolverZonesZoneArrayOutputWithContext added in v3.10.0

func (o GetResolverZonesZoneArrayOutput) ToGetResolverZonesZoneArrayOutputWithContext(ctx context.Context) GetResolverZonesZoneArrayOutput

type GetResolverZonesZoneInput added in v3.10.0

type GetResolverZonesZoneInput interface {
	pulumi.Input

	ToGetResolverZonesZoneOutput() GetResolverZonesZoneOutput
	ToGetResolverZonesZoneOutputWithContext(context.Context) GetResolverZonesZoneOutput
}

GetResolverZonesZoneInput is an input type that accepts GetResolverZonesZoneArgs and GetResolverZonesZoneOutput values. You can construct a concrete instance of `GetResolverZonesZoneInput` via:

GetResolverZonesZoneArgs{...}

type GetResolverZonesZoneOutput added in v3.10.0

type GetResolverZonesZoneOutput struct{ *pulumi.OutputState }

func (GetResolverZonesZoneOutput) ElementType added in v3.10.0

func (GetResolverZonesZoneOutput) ElementType() reflect.Type

func (GetResolverZonesZoneOutput) Status added in v3.10.0

The status of the Zone.

func (GetResolverZonesZoneOutput) ToGetResolverZonesZoneOutput added in v3.10.0

func (o GetResolverZonesZoneOutput) ToGetResolverZonesZoneOutput() GetResolverZonesZoneOutput

func (GetResolverZonesZoneOutput) ToGetResolverZonesZoneOutputWithContext added in v3.10.0

func (o GetResolverZonesZoneOutput) ToGetResolverZonesZoneOutputWithContext(ctx context.Context) GetResolverZonesZoneOutput

func (GetResolverZonesZoneOutput) ZoneId added in v3.10.0

The zone ID.

type GetRulesArgs added in v3.10.0

type GetRulesArgs struct {
	// The ID of the Endpoint.
	EndpointId *string `pulumi:"endpointId"`
	// A list of Rule IDs.
	Ids []string `pulumi:"ids"`
	// A regex string to filter results by Rule name.
	NameRegex *string `pulumi:"nameRegex"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile *string `pulumi:"outputFile"`
}

A collection of arguments for invoking getRules.

type GetRulesOutputArgs added in v3.10.0

type GetRulesOutputArgs struct {
	// The ID of the Endpoint.
	EndpointId pulumi.StringPtrInput `pulumi:"endpointId"`
	// A list of Rule IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// A regex string to filter results by Rule name.
	NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
}

A collection of arguments for invoking getRules.

func (GetRulesOutputArgs) ElementType added in v3.10.0

func (GetRulesOutputArgs) ElementType() reflect.Type

type GetRulesResult added in v3.10.0

type GetRulesResult struct {
	EndpointId *string `pulumi:"endpointId"`
	// 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"`
	Rules      []GetRulesRule `pulumi:"rules"`
}

A collection of values returned by getRules.

func GetRules added in v3.10.0

func GetRules(ctx *pulumi.Context, args *GetRulesArgs, opts ...pulumi.InvokeOption) (*GetRulesResult, error)

This data source provides the PrivateZone Rules of the current Alibaba Cloud user.

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

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/pvtz"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		ids, err := pvtz.GetRules(ctx, nil, nil)
		if err != nil {
			return err
		}
		ctx.Export("pvtzRuleId1", ids.Rules[0].Id)
		nameRegex, err := pvtz.GetRules(ctx, &pvtz.GetRulesArgs{
			NameRegex: pulumi.StringRef("^my-Rule"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("pvtzRuleId2", nameRegex.Rules[0].Id)
		return nil
	})
}

```

type GetRulesResultOutput added in v3.10.0

type GetRulesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getRules.

func GetRulesOutput added in v3.10.0

func GetRulesOutput(ctx *pulumi.Context, args GetRulesOutputArgs, opts ...pulumi.InvokeOption) GetRulesResultOutput

func (GetRulesResultOutput) ElementType added in v3.10.0

func (GetRulesResultOutput) ElementType() reflect.Type

func (GetRulesResultOutput) EndpointId added in v3.10.0

func (GetRulesResultOutput) Id added in v3.10.0

The provider-assigned unique ID for this managed resource.

func (GetRulesResultOutput) Ids added in v3.10.0

func (GetRulesResultOutput) NameRegex added in v3.10.0

func (GetRulesResultOutput) Names added in v3.10.0

func (GetRulesResultOutput) OutputFile added in v3.10.0

func (GetRulesResultOutput) Rules added in v3.10.0

func (GetRulesResultOutput) ToGetRulesResultOutput added in v3.10.0

func (o GetRulesResultOutput) ToGetRulesResultOutput() GetRulesResultOutput

func (GetRulesResultOutput) ToGetRulesResultOutputWithContext added in v3.10.0

func (o GetRulesResultOutput) ToGetRulesResultOutputWithContext(ctx context.Context) GetRulesResultOutput

type GetRulesRule added in v3.10.0

type GetRulesRule struct {
	// The List of the VPC. See the following `Block bindVpcs`. **NOTE:** Available in v1.158.0+.
	BindVpcs []GetRulesRuleBindVpc `pulumi:"bindVpcs"`
	// The creation time of the resource.
	CreateTime string `pulumi:"createTime"`
	// The ID of the Endpoint.
	EndpointId string `pulumi:"endpointId"`
	// The Name of the Endpoint.
	EndpointName string                  `pulumi:"endpointName"`
	ForwardIps   []GetRulesRuleForwardIp `pulumi:"forwardIps"`
	// The ID of the Rule.
	Id string `pulumi:"id"`
	// The first ID of the resource.
	RuleId string `pulumi:"ruleId"`
	// The name of the resource.
	RuleName string `pulumi:"ruleName"`
	// The type of the rule.
	Type string `pulumi:"type"`
	// The name of the forwarding zone.
	ZoneName string `pulumi:"zoneName"`
}

type GetRulesRuleArgs added in v3.10.0

type GetRulesRuleArgs struct {
	// The List of the VPC. See the following `Block bindVpcs`. **NOTE:** Available in v1.158.0+.
	BindVpcs GetRulesRuleBindVpcArrayInput `pulumi:"bindVpcs"`
	// The creation time of the resource.
	CreateTime pulumi.StringInput `pulumi:"createTime"`
	// The ID of the Endpoint.
	EndpointId pulumi.StringInput `pulumi:"endpointId"`
	// The Name of the Endpoint.
	EndpointName pulumi.StringInput              `pulumi:"endpointName"`
	ForwardIps   GetRulesRuleForwardIpArrayInput `pulumi:"forwardIps"`
	// The ID of the Rule.
	Id pulumi.StringInput `pulumi:"id"`
	// The first ID of the resource.
	RuleId pulumi.StringInput `pulumi:"ruleId"`
	// The name of the resource.
	RuleName pulumi.StringInput `pulumi:"ruleName"`
	// The type of the rule.
	Type pulumi.StringInput `pulumi:"type"`
	// The name of the forwarding zone.
	ZoneName pulumi.StringInput `pulumi:"zoneName"`
}

func (GetRulesRuleArgs) ElementType added in v3.10.0

func (GetRulesRuleArgs) ElementType() reflect.Type

func (GetRulesRuleArgs) ToGetRulesRuleOutput added in v3.10.0

func (i GetRulesRuleArgs) ToGetRulesRuleOutput() GetRulesRuleOutput

func (GetRulesRuleArgs) ToGetRulesRuleOutputWithContext added in v3.10.0

func (i GetRulesRuleArgs) ToGetRulesRuleOutputWithContext(ctx context.Context) GetRulesRuleOutput

type GetRulesRuleArray added in v3.10.0

type GetRulesRuleArray []GetRulesRuleInput

func (GetRulesRuleArray) ElementType added in v3.10.0

func (GetRulesRuleArray) ElementType() reflect.Type

func (GetRulesRuleArray) ToGetRulesRuleArrayOutput added in v3.10.0

func (i GetRulesRuleArray) ToGetRulesRuleArrayOutput() GetRulesRuleArrayOutput

func (GetRulesRuleArray) ToGetRulesRuleArrayOutputWithContext added in v3.10.0

func (i GetRulesRuleArray) ToGetRulesRuleArrayOutputWithContext(ctx context.Context) GetRulesRuleArrayOutput

type GetRulesRuleArrayInput added in v3.10.0

type GetRulesRuleArrayInput interface {
	pulumi.Input

	ToGetRulesRuleArrayOutput() GetRulesRuleArrayOutput
	ToGetRulesRuleArrayOutputWithContext(context.Context) GetRulesRuleArrayOutput
}

GetRulesRuleArrayInput is an input type that accepts GetRulesRuleArray and GetRulesRuleArrayOutput values. You can construct a concrete instance of `GetRulesRuleArrayInput` via:

GetRulesRuleArray{ GetRulesRuleArgs{...} }

type GetRulesRuleArrayOutput added in v3.10.0

type GetRulesRuleArrayOutput struct{ *pulumi.OutputState }

func (GetRulesRuleArrayOutput) ElementType added in v3.10.0

func (GetRulesRuleArrayOutput) ElementType() reflect.Type

func (GetRulesRuleArrayOutput) Index added in v3.10.0

func (GetRulesRuleArrayOutput) ToGetRulesRuleArrayOutput added in v3.10.0

func (o GetRulesRuleArrayOutput) ToGetRulesRuleArrayOutput() GetRulesRuleArrayOutput

func (GetRulesRuleArrayOutput) ToGetRulesRuleArrayOutputWithContext added in v3.10.0

func (o GetRulesRuleArrayOutput) ToGetRulesRuleArrayOutputWithContext(ctx context.Context) GetRulesRuleArrayOutput

type GetRulesRuleBindVpc added in v3.18.0

type GetRulesRuleBindVpc struct {
	RegionId   string `pulumi:"regionId"`
	RegionName string `pulumi:"regionName"`
	VpcId      string `pulumi:"vpcId"`
	VpcName    string `pulumi:"vpcName"`
}

type GetRulesRuleBindVpcArgs added in v3.18.0

type GetRulesRuleBindVpcArgs struct {
	RegionId   pulumi.StringInput `pulumi:"regionId"`
	RegionName pulumi.StringInput `pulumi:"regionName"`
	VpcId      pulumi.StringInput `pulumi:"vpcId"`
	VpcName    pulumi.StringInput `pulumi:"vpcName"`
}

func (GetRulesRuleBindVpcArgs) ElementType added in v3.18.0

func (GetRulesRuleBindVpcArgs) ElementType() reflect.Type

func (GetRulesRuleBindVpcArgs) ToGetRulesRuleBindVpcOutput added in v3.18.0

func (i GetRulesRuleBindVpcArgs) ToGetRulesRuleBindVpcOutput() GetRulesRuleBindVpcOutput

func (GetRulesRuleBindVpcArgs) ToGetRulesRuleBindVpcOutputWithContext added in v3.18.0

func (i GetRulesRuleBindVpcArgs) ToGetRulesRuleBindVpcOutputWithContext(ctx context.Context) GetRulesRuleBindVpcOutput

type GetRulesRuleBindVpcArray added in v3.18.0

type GetRulesRuleBindVpcArray []GetRulesRuleBindVpcInput

func (GetRulesRuleBindVpcArray) ElementType added in v3.18.0

func (GetRulesRuleBindVpcArray) ElementType() reflect.Type

func (GetRulesRuleBindVpcArray) ToGetRulesRuleBindVpcArrayOutput added in v3.18.0

func (i GetRulesRuleBindVpcArray) ToGetRulesRuleBindVpcArrayOutput() GetRulesRuleBindVpcArrayOutput

func (GetRulesRuleBindVpcArray) ToGetRulesRuleBindVpcArrayOutputWithContext added in v3.18.0

func (i GetRulesRuleBindVpcArray) ToGetRulesRuleBindVpcArrayOutputWithContext(ctx context.Context) GetRulesRuleBindVpcArrayOutput

type GetRulesRuleBindVpcArrayInput added in v3.18.0

type GetRulesRuleBindVpcArrayInput interface {
	pulumi.Input

	ToGetRulesRuleBindVpcArrayOutput() GetRulesRuleBindVpcArrayOutput
	ToGetRulesRuleBindVpcArrayOutputWithContext(context.Context) GetRulesRuleBindVpcArrayOutput
}

GetRulesRuleBindVpcArrayInput is an input type that accepts GetRulesRuleBindVpcArray and GetRulesRuleBindVpcArrayOutput values. You can construct a concrete instance of `GetRulesRuleBindVpcArrayInput` via:

GetRulesRuleBindVpcArray{ GetRulesRuleBindVpcArgs{...} }

type GetRulesRuleBindVpcArrayOutput added in v3.18.0

type GetRulesRuleBindVpcArrayOutput struct{ *pulumi.OutputState }

func (GetRulesRuleBindVpcArrayOutput) ElementType added in v3.18.0

func (GetRulesRuleBindVpcArrayOutput) Index added in v3.18.0

func (GetRulesRuleBindVpcArrayOutput) ToGetRulesRuleBindVpcArrayOutput added in v3.18.0

func (o GetRulesRuleBindVpcArrayOutput) ToGetRulesRuleBindVpcArrayOutput() GetRulesRuleBindVpcArrayOutput

func (GetRulesRuleBindVpcArrayOutput) ToGetRulesRuleBindVpcArrayOutputWithContext added in v3.18.0

func (o GetRulesRuleBindVpcArrayOutput) ToGetRulesRuleBindVpcArrayOutputWithContext(ctx context.Context) GetRulesRuleBindVpcArrayOutput

type GetRulesRuleBindVpcInput added in v3.18.0

type GetRulesRuleBindVpcInput interface {
	pulumi.Input

	ToGetRulesRuleBindVpcOutput() GetRulesRuleBindVpcOutput
	ToGetRulesRuleBindVpcOutputWithContext(context.Context) GetRulesRuleBindVpcOutput
}

GetRulesRuleBindVpcInput is an input type that accepts GetRulesRuleBindVpcArgs and GetRulesRuleBindVpcOutput values. You can construct a concrete instance of `GetRulesRuleBindVpcInput` via:

GetRulesRuleBindVpcArgs{...}

type GetRulesRuleBindVpcOutput added in v3.18.0

type GetRulesRuleBindVpcOutput struct{ *pulumi.OutputState }

func (GetRulesRuleBindVpcOutput) ElementType added in v3.18.0

func (GetRulesRuleBindVpcOutput) ElementType() reflect.Type

func (GetRulesRuleBindVpcOutput) RegionId added in v3.18.0

func (GetRulesRuleBindVpcOutput) RegionName added in v3.18.0

func (GetRulesRuleBindVpcOutput) ToGetRulesRuleBindVpcOutput added in v3.18.0

func (o GetRulesRuleBindVpcOutput) ToGetRulesRuleBindVpcOutput() GetRulesRuleBindVpcOutput

func (GetRulesRuleBindVpcOutput) ToGetRulesRuleBindVpcOutputWithContext added in v3.18.0

func (o GetRulesRuleBindVpcOutput) ToGetRulesRuleBindVpcOutputWithContext(ctx context.Context) GetRulesRuleBindVpcOutput

func (GetRulesRuleBindVpcOutput) VpcId added in v3.18.0

func (GetRulesRuleBindVpcOutput) VpcName added in v3.18.0

type GetRulesRuleForwardIp added in v3.10.0

type GetRulesRuleForwardIp struct {
	Ip   string `pulumi:"ip"`
	Port int    `pulumi:"port"`
}

type GetRulesRuleForwardIpArgs added in v3.10.0

type GetRulesRuleForwardIpArgs struct {
	Ip   pulumi.StringInput `pulumi:"ip"`
	Port pulumi.IntInput    `pulumi:"port"`
}

func (GetRulesRuleForwardIpArgs) ElementType added in v3.10.0

func (GetRulesRuleForwardIpArgs) ElementType() reflect.Type

func (GetRulesRuleForwardIpArgs) ToGetRulesRuleForwardIpOutput added in v3.10.0

func (i GetRulesRuleForwardIpArgs) ToGetRulesRuleForwardIpOutput() GetRulesRuleForwardIpOutput

func (GetRulesRuleForwardIpArgs) ToGetRulesRuleForwardIpOutputWithContext added in v3.10.0

func (i GetRulesRuleForwardIpArgs) ToGetRulesRuleForwardIpOutputWithContext(ctx context.Context) GetRulesRuleForwardIpOutput

type GetRulesRuleForwardIpArray added in v3.10.0

type GetRulesRuleForwardIpArray []GetRulesRuleForwardIpInput

func (GetRulesRuleForwardIpArray) ElementType added in v3.10.0

func (GetRulesRuleForwardIpArray) ElementType() reflect.Type

func (GetRulesRuleForwardIpArray) ToGetRulesRuleForwardIpArrayOutput added in v3.10.0

func (i GetRulesRuleForwardIpArray) ToGetRulesRuleForwardIpArrayOutput() GetRulesRuleForwardIpArrayOutput

func (GetRulesRuleForwardIpArray) ToGetRulesRuleForwardIpArrayOutputWithContext added in v3.10.0

func (i GetRulesRuleForwardIpArray) ToGetRulesRuleForwardIpArrayOutputWithContext(ctx context.Context) GetRulesRuleForwardIpArrayOutput

type GetRulesRuleForwardIpArrayInput added in v3.10.0

type GetRulesRuleForwardIpArrayInput interface {
	pulumi.Input

	ToGetRulesRuleForwardIpArrayOutput() GetRulesRuleForwardIpArrayOutput
	ToGetRulesRuleForwardIpArrayOutputWithContext(context.Context) GetRulesRuleForwardIpArrayOutput
}

GetRulesRuleForwardIpArrayInput is an input type that accepts GetRulesRuleForwardIpArray and GetRulesRuleForwardIpArrayOutput values. You can construct a concrete instance of `GetRulesRuleForwardIpArrayInput` via:

GetRulesRuleForwardIpArray{ GetRulesRuleForwardIpArgs{...} }

type GetRulesRuleForwardIpArrayOutput added in v3.10.0

type GetRulesRuleForwardIpArrayOutput struct{ *pulumi.OutputState }

func (GetRulesRuleForwardIpArrayOutput) ElementType added in v3.10.0

func (GetRulesRuleForwardIpArrayOutput) Index added in v3.10.0

func (GetRulesRuleForwardIpArrayOutput) ToGetRulesRuleForwardIpArrayOutput added in v3.10.0

func (o GetRulesRuleForwardIpArrayOutput) ToGetRulesRuleForwardIpArrayOutput() GetRulesRuleForwardIpArrayOutput

func (GetRulesRuleForwardIpArrayOutput) ToGetRulesRuleForwardIpArrayOutputWithContext added in v3.10.0

func (o GetRulesRuleForwardIpArrayOutput) ToGetRulesRuleForwardIpArrayOutputWithContext(ctx context.Context) GetRulesRuleForwardIpArrayOutput

type GetRulesRuleForwardIpInput added in v3.10.0

type GetRulesRuleForwardIpInput interface {
	pulumi.Input

	ToGetRulesRuleForwardIpOutput() GetRulesRuleForwardIpOutput
	ToGetRulesRuleForwardIpOutputWithContext(context.Context) GetRulesRuleForwardIpOutput
}

GetRulesRuleForwardIpInput is an input type that accepts GetRulesRuleForwardIpArgs and GetRulesRuleForwardIpOutput values. You can construct a concrete instance of `GetRulesRuleForwardIpInput` via:

GetRulesRuleForwardIpArgs{...}

type GetRulesRuleForwardIpOutput added in v3.10.0

type GetRulesRuleForwardIpOutput struct{ *pulumi.OutputState }

func (GetRulesRuleForwardIpOutput) ElementType added in v3.10.0

func (GetRulesRuleForwardIpOutput) Ip added in v3.10.0

func (GetRulesRuleForwardIpOutput) Port added in v3.10.0

func (GetRulesRuleForwardIpOutput) ToGetRulesRuleForwardIpOutput added in v3.10.0

func (o GetRulesRuleForwardIpOutput) ToGetRulesRuleForwardIpOutput() GetRulesRuleForwardIpOutput

func (GetRulesRuleForwardIpOutput) ToGetRulesRuleForwardIpOutputWithContext added in v3.10.0

func (o GetRulesRuleForwardIpOutput) ToGetRulesRuleForwardIpOutputWithContext(ctx context.Context) GetRulesRuleForwardIpOutput

type GetRulesRuleInput added in v3.10.0

type GetRulesRuleInput interface {
	pulumi.Input

	ToGetRulesRuleOutput() GetRulesRuleOutput
	ToGetRulesRuleOutputWithContext(context.Context) GetRulesRuleOutput
}

GetRulesRuleInput is an input type that accepts GetRulesRuleArgs and GetRulesRuleOutput values. You can construct a concrete instance of `GetRulesRuleInput` via:

GetRulesRuleArgs{...}

type GetRulesRuleOutput added in v3.10.0

type GetRulesRuleOutput struct{ *pulumi.OutputState }

func (GetRulesRuleOutput) BindVpcs added in v3.18.0

The List of the VPC. See the following `Block bindVpcs`. **NOTE:** Available in v1.158.0+.

func (GetRulesRuleOutput) CreateTime added in v3.10.0

func (o GetRulesRuleOutput) CreateTime() pulumi.StringOutput

The creation time of the resource.

func (GetRulesRuleOutput) ElementType added in v3.10.0

func (GetRulesRuleOutput) ElementType() reflect.Type

func (GetRulesRuleOutput) EndpointId added in v3.10.0

func (o GetRulesRuleOutput) EndpointId() pulumi.StringOutput

The ID of the Endpoint.

func (GetRulesRuleOutput) EndpointName added in v3.10.0

func (o GetRulesRuleOutput) EndpointName() pulumi.StringOutput

The Name of the Endpoint.

func (GetRulesRuleOutput) ForwardIps added in v3.10.0

func (GetRulesRuleOutput) Id added in v3.10.0

The ID of the Rule.

func (GetRulesRuleOutput) RuleId added in v3.10.0

The first ID of the resource.

func (GetRulesRuleOutput) RuleName added in v3.10.0

func (o GetRulesRuleOutput) RuleName() pulumi.StringOutput

The name of the resource.

func (GetRulesRuleOutput) ToGetRulesRuleOutput added in v3.10.0

func (o GetRulesRuleOutput) ToGetRulesRuleOutput() GetRulesRuleOutput

func (GetRulesRuleOutput) ToGetRulesRuleOutputWithContext added in v3.10.0

func (o GetRulesRuleOutput) ToGetRulesRuleOutputWithContext(ctx context.Context) GetRulesRuleOutput

func (GetRulesRuleOutput) Type added in v3.10.0

The type of the rule.

func (GetRulesRuleOutput) ZoneName added in v3.10.0

func (o GetRulesRuleOutput) ZoneName() pulumi.StringOutput

The name of the forwarding zone.

type GetServiceArgs

type GetServiceArgs struct {
	// Setting the value to `On` to enable the service. If has been enabled, return the result. Valid values: "On" or "Off". Default to "Off".
	//
	// > **NOTE:** Setting `enable = "On"` to open the Private Zone service that means you have read and agreed the [Private Zone Terms of Service](https://help.aliyun.com/document_detail/65657.html). The service can not closed once it is opened.
	Enable *string `pulumi:"enable"`
}

A collection of arguments for invoking getService.

type GetServiceOutputArgs added in v3.9.0

type GetServiceOutputArgs struct {
	// Setting the value to `On` to enable the service. If has been enabled, return the result. Valid values: "On" or "Off". Default to "Off".
	//
	// > **NOTE:** Setting `enable = "On"` to open the Private Zone service that means you have read and agreed the [Private Zone Terms of Service](https://help.aliyun.com/document_detail/65657.html). The service can not closed once it is opened.
	Enable pulumi.StringPtrInput `pulumi:"enable"`
}

A collection of arguments for invoking getService.

func (GetServiceOutputArgs) ElementType added in v3.9.0

func (GetServiceOutputArgs) ElementType() reflect.Type

type GetServiceResult

type GetServiceResult struct {
	Enable *string `pulumi:"enable"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The current service enable status.
	Status string `pulumi:"status"`
}

A collection of values returned by getService.

func GetService

func GetService(ctx *pulumi.Context, args *GetServiceArgs, opts ...pulumi.InvokeOption) (*GetServiceResult, error)

Using this data source can open Private Zone service automatically. If the service has been opened, it will return opened.

For information about Priavte Zone and how to use it, see [What is Private Zone](https://www.alibabacloud.com/help/en/product/64583.htm).

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

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/pvtz"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := pvtz.GetService(ctx, &pvtz.GetServiceArgs{
			Enable: pulumi.StringRef("On"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetServiceResultOutput added in v3.9.0

type GetServiceResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getService.

func GetServiceOutput added in v3.9.0

func GetServiceOutput(ctx *pulumi.Context, args GetServiceOutputArgs, opts ...pulumi.InvokeOption) GetServiceResultOutput

func (GetServiceResultOutput) ElementType added in v3.9.0

func (GetServiceResultOutput) ElementType() reflect.Type

func (GetServiceResultOutput) Enable added in v3.9.0

func (GetServiceResultOutput) Id added in v3.9.0

The provider-assigned unique ID for this managed resource.

func (GetServiceResultOutput) Status added in v3.9.0

The current service enable status.

func (GetServiceResultOutput) ToGetServiceResultOutput added in v3.9.0

func (o GetServiceResultOutput) ToGetServiceResultOutput() GetServiceResultOutput

func (GetServiceResultOutput) ToGetServiceResultOutputWithContext added in v3.9.0

func (o GetServiceResultOutput) ToGetServiceResultOutputWithContext(ctx context.Context) GetServiceResultOutput

type GetZoneRecordsArgs

type GetZoneRecordsArgs struct {
	// A list of Private Zone Record IDs.
	Ids []string `pulumi:"ids"`
	// Keyword for record rr and value.
	Keyword *string `pulumi:"keyword"`
	// User language.
	Lang *string `pulumi:"lang"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile *string `pulumi:"outputFile"`
	// Search mode. Value:
	// - LIKE: fuzzy search.
	// - EXACT: precise search. It is not filled in by default.
	SearchMode *string `pulumi:"searchMode"`
	// Resolve record status. Value:
	// - ENABLE: enable resolution.
	// - DISABLE: pause parsing.
	Status *string `pulumi:"status"`
	// It is not filled in by default, and queries the current zone resolution records. Fill in "ecs" to query the host name record list under the VPC associated with the current zone.
	Tag *string `pulumi:"tag"`
	// User ip.
	UserClientIp *string `pulumi:"userClientIp"`
	// ID of the Private Zone.
	ZoneId string `pulumi:"zoneId"`
}

A collection of arguments for invoking getZoneRecords.

type GetZoneRecordsOutputArgs added in v3.9.0

type GetZoneRecordsOutputArgs struct {
	// A list of Private Zone Record IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// Keyword for record rr and value.
	Keyword pulumi.StringPtrInput `pulumi:"keyword"`
	// User language.
	Lang pulumi.StringPtrInput `pulumi:"lang"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// Search mode. Value:
	// - LIKE: fuzzy search.
	// - EXACT: precise search. It is not filled in by default.
	SearchMode pulumi.StringPtrInput `pulumi:"searchMode"`
	// Resolve record status. Value:
	// - ENABLE: enable resolution.
	// - DISABLE: pause parsing.
	Status pulumi.StringPtrInput `pulumi:"status"`
	// It is not filled in by default, and queries the current zone resolution records. Fill in "ecs" to query the host name record list under the VPC associated with the current zone.
	Tag pulumi.StringPtrInput `pulumi:"tag"`
	// User ip.
	UserClientIp pulumi.StringPtrInput `pulumi:"userClientIp"`
	// ID of the Private Zone.
	ZoneId pulumi.StringInput `pulumi:"zoneId"`
}

A collection of arguments for invoking getZoneRecords.

func (GetZoneRecordsOutputArgs) ElementType added in v3.9.0

func (GetZoneRecordsOutputArgs) ElementType() reflect.Type

type GetZoneRecordsRecord

type GetZoneRecordsRecord struct {
	// ID of the Private Zone Record.
	Id string `pulumi:"id"`
	// Priority of the Private Zone Record.
	Priority int `pulumi:"priority"`
	// RecordId of the Private Zone Record.
	RecordId string `pulumi:"recordId"`
	// Remark of the Private Zone Record.
	Remark string `pulumi:"remark"`
	// Resource record of the Private Zone Record.
	ResourceRecord string `pulumi:"resourceRecord"`
	// Rr of the Private Zone Record.
	Rr string `pulumi:"rr"`
	// Resolve record status. Value:
	// - ENABLE: enable resolution.
	// - DISABLE: pause parsing.
	Status string `pulumi:"status"`
	// Ttl of the Private Zone Record.
	Ttl int `pulumi:"ttl"`
	// Type of the Private Zone Record.
	Type string `pulumi:"type"`
	// Value of the Private Zone Record.
	Value string `pulumi:"value"`
}

type GetZoneRecordsRecordArgs

type GetZoneRecordsRecordArgs struct {
	// ID of the Private Zone Record.
	Id pulumi.StringInput `pulumi:"id"`
	// Priority of the Private Zone Record.
	Priority pulumi.IntInput `pulumi:"priority"`
	// RecordId of the Private Zone Record.
	RecordId pulumi.StringInput `pulumi:"recordId"`
	// Remark of the Private Zone Record.
	Remark pulumi.StringInput `pulumi:"remark"`
	// Resource record of the Private Zone Record.
	ResourceRecord pulumi.StringInput `pulumi:"resourceRecord"`
	// Rr of the Private Zone Record.
	Rr pulumi.StringInput `pulumi:"rr"`
	// Resolve record status. Value:
	// - ENABLE: enable resolution.
	// - DISABLE: pause parsing.
	Status pulumi.StringInput `pulumi:"status"`
	// Ttl of the Private Zone Record.
	Ttl pulumi.IntInput `pulumi:"ttl"`
	// Type of the Private Zone Record.
	Type pulumi.StringInput `pulumi:"type"`
	// Value of the Private Zone Record.
	Value pulumi.StringInput `pulumi:"value"`
}

func (GetZoneRecordsRecordArgs) ElementType

func (GetZoneRecordsRecordArgs) ElementType() reflect.Type

func (GetZoneRecordsRecordArgs) ToGetZoneRecordsRecordOutput

func (i GetZoneRecordsRecordArgs) ToGetZoneRecordsRecordOutput() GetZoneRecordsRecordOutput

func (GetZoneRecordsRecordArgs) ToGetZoneRecordsRecordOutputWithContext

func (i GetZoneRecordsRecordArgs) ToGetZoneRecordsRecordOutputWithContext(ctx context.Context) GetZoneRecordsRecordOutput

type GetZoneRecordsRecordArray

type GetZoneRecordsRecordArray []GetZoneRecordsRecordInput

func (GetZoneRecordsRecordArray) ElementType

func (GetZoneRecordsRecordArray) ElementType() reflect.Type

func (GetZoneRecordsRecordArray) ToGetZoneRecordsRecordArrayOutput

func (i GetZoneRecordsRecordArray) ToGetZoneRecordsRecordArrayOutput() GetZoneRecordsRecordArrayOutput

func (GetZoneRecordsRecordArray) ToGetZoneRecordsRecordArrayOutputWithContext

func (i GetZoneRecordsRecordArray) ToGetZoneRecordsRecordArrayOutputWithContext(ctx context.Context) GetZoneRecordsRecordArrayOutput

type GetZoneRecordsRecordArrayInput

type GetZoneRecordsRecordArrayInput interface {
	pulumi.Input

	ToGetZoneRecordsRecordArrayOutput() GetZoneRecordsRecordArrayOutput
	ToGetZoneRecordsRecordArrayOutputWithContext(context.Context) GetZoneRecordsRecordArrayOutput
}

GetZoneRecordsRecordArrayInput is an input type that accepts GetZoneRecordsRecordArray and GetZoneRecordsRecordArrayOutput values. You can construct a concrete instance of `GetZoneRecordsRecordArrayInput` via:

GetZoneRecordsRecordArray{ GetZoneRecordsRecordArgs{...} }

type GetZoneRecordsRecordArrayOutput

type GetZoneRecordsRecordArrayOutput struct{ *pulumi.OutputState }

func (GetZoneRecordsRecordArrayOutput) ElementType

func (GetZoneRecordsRecordArrayOutput) Index

func (GetZoneRecordsRecordArrayOutput) ToGetZoneRecordsRecordArrayOutput

func (o GetZoneRecordsRecordArrayOutput) ToGetZoneRecordsRecordArrayOutput() GetZoneRecordsRecordArrayOutput

func (GetZoneRecordsRecordArrayOutput) ToGetZoneRecordsRecordArrayOutputWithContext

func (o GetZoneRecordsRecordArrayOutput) ToGetZoneRecordsRecordArrayOutputWithContext(ctx context.Context) GetZoneRecordsRecordArrayOutput

type GetZoneRecordsRecordInput

type GetZoneRecordsRecordInput interface {
	pulumi.Input

	ToGetZoneRecordsRecordOutput() GetZoneRecordsRecordOutput
	ToGetZoneRecordsRecordOutputWithContext(context.Context) GetZoneRecordsRecordOutput
}

GetZoneRecordsRecordInput is an input type that accepts GetZoneRecordsRecordArgs and GetZoneRecordsRecordOutput values. You can construct a concrete instance of `GetZoneRecordsRecordInput` via:

GetZoneRecordsRecordArgs{...}

type GetZoneRecordsRecordOutput

type GetZoneRecordsRecordOutput struct{ *pulumi.OutputState }

func (GetZoneRecordsRecordOutput) ElementType

func (GetZoneRecordsRecordOutput) ElementType() reflect.Type

func (GetZoneRecordsRecordOutput) Id

ID of the Private Zone Record.

func (GetZoneRecordsRecordOutput) Priority

Priority of the Private Zone Record.

func (GetZoneRecordsRecordOutput) RecordId

RecordId of the Private Zone Record.

func (GetZoneRecordsRecordOutput) Remark

Remark of the Private Zone Record.

func (GetZoneRecordsRecordOutput) ResourceRecord

func (o GetZoneRecordsRecordOutput) ResourceRecord() pulumi.StringOutput

Resource record of the Private Zone Record.

func (GetZoneRecordsRecordOutput) Rr

Rr of the Private Zone Record.

func (GetZoneRecordsRecordOutput) Status

Resolve record status. Value: - ENABLE: enable resolution. - DISABLE: pause parsing.

func (GetZoneRecordsRecordOutput) ToGetZoneRecordsRecordOutput

func (o GetZoneRecordsRecordOutput) ToGetZoneRecordsRecordOutput() GetZoneRecordsRecordOutput

func (GetZoneRecordsRecordOutput) ToGetZoneRecordsRecordOutputWithContext

func (o GetZoneRecordsRecordOutput) ToGetZoneRecordsRecordOutputWithContext(ctx context.Context) GetZoneRecordsRecordOutput

func (GetZoneRecordsRecordOutput) Ttl

Ttl of the Private Zone Record.

func (GetZoneRecordsRecordOutput) Type

Type of the Private Zone Record.

func (GetZoneRecordsRecordOutput) Value

Value of the Private Zone Record.

type GetZoneRecordsResult

type GetZoneRecordsResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A list of Private Zone Record IDs.
	Ids        []string `pulumi:"ids"`
	Keyword    *string  `pulumi:"keyword"`
	Lang       *string  `pulumi:"lang"`
	OutputFile *string  `pulumi:"outputFile"`
	// A list of zone records. Each element contains the following attributes:
	Records    []GetZoneRecordsRecord `pulumi:"records"`
	SearchMode *string                `pulumi:"searchMode"`
	// Status of the Private Zone Record.
	Status       *string `pulumi:"status"`
	Tag          *string `pulumi:"tag"`
	UserClientIp *string `pulumi:"userClientIp"`
	ZoneId       string  `pulumi:"zoneId"`
}

A collection of values returned by getZoneRecords.

func GetZoneRecords

func GetZoneRecords(ctx *pulumi.Context, args *GetZoneRecordsArgs, opts ...pulumi.InvokeOption) (*GetZoneRecordsResult, error)

This data source provides Private Zone Records resource information owned by an Alibaba Cloud account.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/pvtz"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		recordsDs, err := pvtz.GetZoneRecords(ctx, &pvtz.GetZoneRecordsArgs{
			ZoneId:  basic.Id,
			Keyword: pulumi.StringRef(foo.Value),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("firstRecordId", recordsDs.Records[0].Id)
		return nil
	})
}

```

type GetZoneRecordsResultOutput added in v3.9.0

type GetZoneRecordsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getZoneRecords.

func GetZoneRecordsOutput added in v3.9.0

func GetZoneRecordsOutput(ctx *pulumi.Context, args GetZoneRecordsOutputArgs, opts ...pulumi.InvokeOption) GetZoneRecordsResultOutput

func (GetZoneRecordsResultOutput) ElementType added in v3.9.0

func (GetZoneRecordsResultOutput) ElementType() reflect.Type

func (GetZoneRecordsResultOutput) Id added in v3.9.0

The provider-assigned unique ID for this managed resource.

func (GetZoneRecordsResultOutput) Ids added in v3.9.0

A list of Private Zone Record IDs.

func (GetZoneRecordsResultOutput) Keyword added in v3.9.0

func (GetZoneRecordsResultOutput) Lang added in v3.9.0

func (GetZoneRecordsResultOutput) OutputFile added in v3.9.0

func (GetZoneRecordsResultOutput) Records added in v3.9.0

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

func (GetZoneRecordsResultOutput) SearchMode added in v3.9.0

func (GetZoneRecordsResultOutput) Status added in v3.9.0

Status of the Private Zone Record.

func (GetZoneRecordsResultOutput) Tag added in v3.9.0

func (GetZoneRecordsResultOutput) ToGetZoneRecordsResultOutput added in v3.9.0

func (o GetZoneRecordsResultOutput) ToGetZoneRecordsResultOutput() GetZoneRecordsResultOutput

func (GetZoneRecordsResultOutput) ToGetZoneRecordsResultOutputWithContext added in v3.9.0

func (o GetZoneRecordsResultOutput) ToGetZoneRecordsResultOutputWithContext(ctx context.Context) GetZoneRecordsResultOutput

func (GetZoneRecordsResultOutput) UserClientIp added in v3.9.0

func (GetZoneRecordsResultOutput) ZoneId added in v3.9.0

type GetZonesArgs

type GetZonesArgs struct {
	// Default to `false`. Set it to true can output more details.
	EnableDetails *bool `pulumi:"enableDetails"`
	// A list of zone IDs.
	Ids []string `pulumi:"ids"`
	// keyword for zone name.
	Keyword *string `pulumi:"keyword"`
	// User language.
	Lang      *string `pulumi:"lang"`
	NameRegex *string `pulumi:"nameRegex"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile *string `pulumi:"outputFile"`
	// query_region_id for zone regionId.
	QueryRegionId *string `pulumi:"queryRegionId"`
	// query_vpc_id for zone vpcId.
	QueryVpcId *string `pulumi:"queryVpcId"`
	// resource_group_id for zone resourceGroupId.
	ResourceGroupId *string `pulumi:"resourceGroupId"`
	// Search mode. Value:
	// - LIKE: fuzzy search.
	// - EXACT: precise search. It is not filled in by default.
	SearchMode *string `pulumi:"searchMode"`
}

A collection of arguments for invoking getZones.

type GetZonesOutputArgs added in v3.9.0

type GetZonesOutputArgs struct {
	// Default to `false`. Set it to true can output more details.
	EnableDetails pulumi.BoolPtrInput `pulumi:"enableDetails"`
	// A list of zone IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// keyword for zone name.
	Keyword pulumi.StringPtrInput `pulumi:"keyword"`
	// User language.
	Lang      pulumi.StringPtrInput `pulumi:"lang"`
	NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// query_region_id for zone regionId.
	QueryRegionId pulumi.StringPtrInput `pulumi:"queryRegionId"`
	// query_vpc_id for zone vpcId.
	QueryVpcId pulumi.StringPtrInput `pulumi:"queryVpcId"`
	// resource_group_id for zone resourceGroupId.
	ResourceGroupId pulumi.StringPtrInput `pulumi:"resourceGroupId"`
	// Search mode. Value:
	// - LIKE: fuzzy search.
	// - EXACT: precise search. It is not filled in by default.
	SearchMode pulumi.StringPtrInput `pulumi:"searchMode"`
}

A collection of arguments for invoking getZones.

func (GetZonesOutputArgs) ElementType added in v3.9.0

func (GetZonesOutputArgs) ElementType() reflect.Type

type GetZonesResult

type GetZonesResult struct {
	EnableDetails *bool `pulumi:"enableDetails"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A list of zone IDs.
	Ids       []string `pulumi:"ids"`
	Keyword   *string  `pulumi:"keyword"`
	Lang      *string  `pulumi:"lang"`
	NameRegex *string  `pulumi:"nameRegex"`
	// A list of zone names.
	Names         []string `pulumi:"names"`
	OutputFile    *string  `pulumi:"outputFile"`
	QueryRegionId *string  `pulumi:"queryRegionId"`
	QueryVpcId    *string  `pulumi:"queryVpcId"`
	// The Id of resource group which the Private Zone belongs.
	ResourceGroupId *string `pulumi:"resourceGroupId"`
	SearchMode      *string `pulumi:"searchMode"`
	// A list of zones. Each element contains the following attributes:
	Zones []GetZonesZone `pulumi:"zones"`
}

A collection of values returned by getZones.

func GetZones

func GetZones(ctx *pulumi.Context, args *GetZonesArgs, opts ...pulumi.InvokeOption) (*GetZonesResult, error)

This data source lists a number of Private Zones resource information owned by an Alibaba Cloud account.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/pvtz"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		pvtzZonesDs, err := pvtz.GetZones(ctx, &pvtz.GetZonesArgs{
			Keyword: pulumi.StringRef(basic.ZoneName),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("firstZoneId", pvtzZonesDs.Zones[0].Id)
		return nil
	})
}

```

type GetZonesResultOutput added in v3.9.0

type GetZonesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getZones.

func GetZonesOutput added in v3.9.0

func GetZonesOutput(ctx *pulumi.Context, args GetZonesOutputArgs, opts ...pulumi.InvokeOption) GetZonesResultOutput

func (GetZonesResultOutput) ElementType added in v3.9.0

func (GetZonesResultOutput) ElementType() reflect.Type

func (GetZonesResultOutput) EnableDetails added in v3.9.0

func (o GetZonesResultOutput) EnableDetails() pulumi.BoolPtrOutput

func (GetZonesResultOutput) Id added in v3.9.0

The provider-assigned unique ID for this managed resource.

func (GetZonesResultOutput) Ids added in v3.9.0

A list of zone IDs.

func (GetZonesResultOutput) Keyword added in v3.9.0

func (GetZonesResultOutput) Lang added in v3.9.0

func (GetZonesResultOutput) NameRegex added in v3.9.0

func (GetZonesResultOutput) Names added in v3.9.0

A list of zone names.

func (GetZonesResultOutput) OutputFile added in v3.9.0

func (GetZonesResultOutput) QueryRegionId added in v3.9.0

func (o GetZonesResultOutput) QueryRegionId() pulumi.StringPtrOutput

func (GetZonesResultOutput) QueryVpcId added in v3.9.0

func (GetZonesResultOutput) ResourceGroupId added in v3.9.0

func (o GetZonesResultOutput) ResourceGroupId() pulumi.StringPtrOutput

The Id of resource group which the Private Zone belongs.

func (GetZonesResultOutput) SearchMode added in v3.9.0

func (GetZonesResultOutput) ToGetZonesResultOutput added in v3.9.0

func (o GetZonesResultOutput) ToGetZonesResultOutput() GetZonesResultOutput

func (GetZonesResultOutput) ToGetZonesResultOutputWithContext added in v3.9.0

func (o GetZonesResultOutput) ToGetZonesResultOutputWithContext(ctx context.Context) GetZonesResultOutput

func (GetZonesResultOutput) Zones added in v3.9.0

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

type GetZonesZone

type GetZonesZone struct {
	// List of the VPCs is bound to the Private Zone:
	BindVpcs []GetZonesZoneBindVpc `pulumi:"bindVpcs"`
	// Time of create of the Private Zone.
	CreateTimestamp int    `pulumi:"createTimestamp"`
	CreationTime    string `pulumi:"creationTime"`
	// ID of the Private Zone.
	Id string `pulumi:"id"`
	// Whether the Private Zone is ptr.
	IsPtr bool `pulumi:"isPtr"`
	// Name of the Private Zone.
	Name string `pulumi:"name"`
	// The recursive DNS proxy.
	ProxyPattern string `pulumi:"proxyPattern"`
	// Count of the Private Zone Record.
	RecordCount int `pulumi:"recordCount"`
	// Remark of the Private Zone.
	Remark string `pulumi:"remark"`
	// resource_group_id for zone resourceGroupId.
	ResourceGroupId string `pulumi:"resourceGroupId"`
	// Whether to turn on secondary DNS.
	SlaveDns   bool   `pulumi:"slaveDns"`
	UpdateTime string `pulumi:"updateTime"`
	// Time of update of the Private Zone.
	UpdateTimestamp int `pulumi:"updateTimestamp"`
	// ZoneId of the Private Zone.
	ZoneId string `pulumi:"zoneId"`
	// ZoneName of the Private Zone.
	ZoneName string `pulumi:"zoneName"`
}

type GetZonesZoneArgs

type GetZonesZoneArgs struct {
	// List of the VPCs is bound to the Private Zone:
	BindVpcs GetZonesZoneBindVpcArrayInput `pulumi:"bindVpcs"`
	// Time of create of the Private Zone.
	CreateTimestamp pulumi.IntInput    `pulumi:"createTimestamp"`
	CreationTime    pulumi.StringInput `pulumi:"creationTime"`
	// ID of the Private Zone.
	Id pulumi.StringInput `pulumi:"id"`
	// Whether the Private Zone is ptr.
	IsPtr pulumi.BoolInput `pulumi:"isPtr"`
	// Name of the Private Zone.
	Name pulumi.StringInput `pulumi:"name"`
	// The recursive DNS proxy.
	ProxyPattern pulumi.StringInput `pulumi:"proxyPattern"`
	// Count of the Private Zone Record.
	RecordCount pulumi.IntInput `pulumi:"recordCount"`
	// Remark of the Private Zone.
	Remark pulumi.StringInput `pulumi:"remark"`
	// resource_group_id for zone resourceGroupId.
	ResourceGroupId pulumi.StringInput `pulumi:"resourceGroupId"`
	// Whether to turn on secondary DNS.
	SlaveDns   pulumi.BoolInput   `pulumi:"slaveDns"`
	UpdateTime pulumi.StringInput `pulumi:"updateTime"`
	// Time of update of the Private Zone.
	UpdateTimestamp pulumi.IntInput `pulumi:"updateTimestamp"`
	// ZoneId of the Private Zone.
	ZoneId pulumi.StringInput `pulumi:"zoneId"`
	// ZoneName of the Private Zone.
	ZoneName pulumi.StringInput `pulumi:"zoneName"`
}

func (GetZonesZoneArgs) ElementType

func (GetZonesZoneArgs) ElementType() reflect.Type

func (GetZonesZoneArgs) ToGetZonesZoneOutput

func (i GetZonesZoneArgs) ToGetZonesZoneOutput() GetZonesZoneOutput

func (GetZonesZoneArgs) ToGetZonesZoneOutputWithContext

func (i GetZonesZoneArgs) ToGetZonesZoneOutputWithContext(ctx context.Context) GetZonesZoneOutput

type GetZonesZoneArray

type GetZonesZoneArray []GetZonesZoneInput

func (GetZonesZoneArray) ElementType

func (GetZonesZoneArray) ElementType() reflect.Type

func (GetZonesZoneArray) ToGetZonesZoneArrayOutput

func (i GetZonesZoneArray) ToGetZonesZoneArrayOutput() GetZonesZoneArrayOutput

func (GetZonesZoneArray) ToGetZonesZoneArrayOutputWithContext

func (i GetZonesZoneArray) ToGetZonesZoneArrayOutputWithContext(ctx context.Context) GetZonesZoneArrayOutput

type GetZonesZoneArrayInput

type GetZonesZoneArrayInput interface {
	pulumi.Input

	ToGetZonesZoneArrayOutput() GetZonesZoneArrayOutput
	ToGetZonesZoneArrayOutputWithContext(context.Context) GetZonesZoneArrayOutput
}

GetZonesZoneArrayInput is an input type that accepts GetZonesZoneArray and GetZonesZoneArrayOutput values. You can construct a concrete instance of `GetZonesZoneArrayInput` via:

GetZonesZoneArray{ GetZonesZoneArgs{...} }

type GetZonesZoneArrayOutput

type GetZonesZoneArrayOutput struct{ *pulumi.OutputState }

func (GetZonesZoneArrayOutput) ElementType

func (GetZonesZoneArrayOutput) ElementType() reflect.Type

func (GetZonesZoneArrayOutput) Index

func (GetZonesZoneArrayOutput) ToGetZonesZoneArrayOutput

func (o GetZonesZoneArrayOutput) ToGetZonesZoneArrayOutput() GetZonesZoneArrayOutput

func (GetZonesZoneArrayOutput) ToGetZonesZoneArrayOutputWithContext

func (o GetZonesZoneArrayOutput) ToGetZonesZoneArrayOutputWithContext(ctx context.Context) GetZonesZoneArrayOutput

type GetZonesZoneBindVpc

type GetZonesZoneBindVpc struct {
	// Binding the regionId of VPC.
	RegionId string `pulumi:"regionId"`
	// Binding the regionName of VPC.
	RegionName string `pulumi:"regionName"`
	// Binding the vpcId of VPC.
	VpcId   string `pulumi:"vpcId"`
	VpcName string `pulumi:"vpcName"`
}

type GetZonesZoneBindVpcArgs

type GetZonesZoneBindVpcArgs struct {
	// Binding the regionId of VPC.
	RegionId pulumi.StringInput `pulumi:"regionId"`
	// Binding the regionName of VPC.
	RegionName pulumi.StringInput `pulumi:"regionName"`
	// Binding the vpcId of VPC.
	VpcId   pulumi.StringInput `pulumi:"vpcId"`
	VpcName pulumi.StringInput `pulumi:"vpcName"`
}

func (GetZonesZoneBindVpcArgs) ElementType

func (GetZonesZoneBindVpcArgs) ElementType() reflect.Type

func (GetZonesZoneBindVpcArgs) ToGetZonesZoneBindVpcOutput

func (i GetZonesZoneBindVpcArgs) ToGetZonesZoneBindVpcOutput() GetZonesZoneBindVpcOutput

func (GetZonesZoneBindVpcArgs) ToGetZonesZoneBindVpcOutputWithContext

func (i GetZonesZoneBindVpcArgs) ToGetZonesZoneBindVpcOutputWithContext(ctx context.Context) GetZonesZoneBindVpcOutput

type GetZonesZoneBindVpcArray

type GetZonesZoneBindVpcArray []GetZonesZoneBindVpcInput

func (GetZonesZoneBindVpcArray) ElementType

func (GetZonesZoneBindVpcArray) ElementType() reflect.Type

func (GetZonesZoneBindVpcArray) ToGetZonesZoneBindVpcArrayOutput

func (i GetZonesZoneBindVpcArray) ToGetZonesZoneBindVpcArrayOutput() GetZonesZoneBindVpcArrayOutput

func (GetZonesZoneBindVpcArray) ToGetZonesZoneBindVpcArrayOutputWithContext

func (i GetZonesZoneBindVpcArray) ToGetZonesZoneBindVpcArrayOutputWithContext(ctx context.Context) GetZonesZoneBindVpcArrayOutput

type GetZonesZoneBindVpcArrayInput

type GetZonesZoneBindVpcArrayInput interface {
	pulumi.Input

	ToGetZonesZoneBindVpcArrayOutput() GetZonesZoneBindVpcArrayOutput
	ToGetZonesZoneBindVpcArrayOutputWithContext(context.Context) GetZonesZoneBindVpcArrayOutput
}

GetZonesZoneBindVpcArrayInput is an input type that accepts GetZonesZoneBindVpcArray and GetZonesZoneBindVpcArrayOutput values. You can construct a concrete instance of `GetZonesZoneBindVpcArrayInput` via:

GetZonesZoneBindVpcArray{ GetZonesZoneBindVpcArgs{...} }

type GetZonesZoneBindVpcArrayOutput

type GetZonesZoneBindVpcArrayOutput struct{ *pulumi.OutputState }

func (GetZonesZoneBindVpcArrayOutput) ElementType

func (GetZonesZoneBindVpcArrayOutput) Index

func (GetZonesZoneBindVpcArrayOutput) ToGetZonesZoneBindVpcArrayOutput

func (o GetZonesZoneBindVpcArrayOutput) ToGetZonesZoneBindVpcArrayOutput() GetZonesZoneBindVpcArrayOutput

func (GetZonesZoneBindVpcArrayOutput) ToGetZonesZoneBindVpcArrayOutputWithContext

func (o GetZonesZoneBindVpcArrayOutput) ToGetZonesZoneBindVpcArrayOutputWithContext(ctx context.Context) GetZonesZoneBindVpcArrayOutput

type GetZonesZoneBindVpcInput

type GetZonesZoneBindVpcInput interface {
	pulumi.Input

	ToGetZonesZoneBindVpcOutput() GetZonesZoneBindVpcOutput
	ToGetZonesZoneBindVpcOutputWithContext(context.Context) GetZonesZoneBindVpcOutput
}

GetZonesZoneBindVpcInput is an input type that accepts GetZonesZoneBindVpcArgs and GetZonesZoneBindVpcOutput values. You can construct a concrete instance of `GetZonesZoneBindVpcInput` via:

GetZonesZoneBindVpcArgs{...}

type GetZonesZoneBindVpcOutput

type GetZonesZoneBindVpcOutput struct{ *pulumi.OutputState }

func (GetZonesZoneBindVpcOutput) ElementType

func (GetZonesZoneBindVpcOutput) ElementType() reflect.Type

func (GetZonesZoneBindVpcOutput) RegionId

Binding the regionId of VPC.

func (GetZonesZoneBindVpcOutput) RegionName

Binding the regionName of VPC.

func (GetZonesZoneBindVpcOutput) ToGetZonesZoneBindVpcOutput

func (o GetZonesZoneBindVpcOutput) ToGetZonesZoneBindVpcOutput() GetZonesZoneBindVpcOutput

func (GetZonesZoneBindVpcOutput) ToGetZonesZoneBindVpcOutputWithContext

func (o GetZonesZoneBindVpcOutput) ToGetZonesZoneBindVpcOutputWithContext(ctx context.Context) GetZonesZoneBindVpcOutput

func (GetZonesZoneBindVpcOutput) VpcId

Binding the vpcId of VPC.

func (GetZonesZoneBindVpcOutput) VpcName

type GetZonesZoneInput

type GetZonesZoneInput interface {
	pulumi.Input

	ToGetZonesZoneOutput() GetZonesZoneOutput
	ToGetZonesZoneOutputWithContext(context.Context) GetZonesZoneOutput
}

GetZonesZoneInput is an input type that accepts GetZonesZoneArgs and GetZonesZoneOutput values. You can construct a concrete instance of `GetZonesZoneInput` via:

GetZonesZoneArgs{...}

type GetZonesZoneOutput

type GetZonesZoneOutput struct{ *pulumi.OutputState }

func (GetZonesZoneOutput) BindVpcs

List of the VPCs is bound to the Private Zone:

func (GetZonesZoneOutput) CreateTimestamp

func (o GetZonesZoneOutput) CreateTimestamp() pulumi.IntOutput

Time of create of the Private Zone.

func (GetZonesZoneOutput) CreationTime

func (o GetZonesZoneOutput) CreationTime() pulumi.StringOutput

func (GetZonesZoneOutput) ElementType

func (GetZonesZoneOutput) ElementType() reflect.Type

func (GetZonesZoneOutput) Id

ID of the Private Zone.

func (GetZonesZoneOutput) IsPtr

Whether the Private Zone is ptr.

func (GetZonesZoneOutput) Name

Name of the Private Zone.

func (GetZonesZoneOutput) ProxyPattern

func (o GetZonesZoneOutput) ProxyPattern() pulumi.StringOutput

The recursive DNS proxy.

func (GetZonesZoneOutput) RecordCount

func (o GetZonesZoneOutput) RecordCount() pulumi.IntOutput

Count of the Private Zone Record.

func (GetZonesZoneOutput) Remark

Remark of the Private Zone.

func (GetZonesZoneOutput) ResourceGroupId

func (o GetZonesZoneOutput) ResourceGroupId() pulumi.StringOutput

resource_group_id for zone resourceGroupId.

func (GetZonesZoneOutput) SlaveDns

func (o GetZonesZoneOutput) SlaveDns() pulumi.BoolOutput

Whether to turn on secondary DNS.

func (GetZonesZoneOutput) ToGetZonesZoneOutput

func (o GetZonesZoneOutput) ToGetZonesZoneOutput() GetZonesZoneOutput

func (GetZonesZoneOutput) ToGetZonesZoneOutputWithContext

func (o GetZonesZoneOutput) ToGetZonesZoneOutputWithContext(ctx context.Context) GetZonesZoneOutput

func (GetZonesZoneOutput) UpdateTime

func (o GetZonesZoneOutput) UpdateTime() pulumi.StringOutput

func (GetZonesZoneOutput) UpdateTimestamp

func (o GetZonesZoneOutput) UpdateTimestamp() pulumi.IntOutput

Time of update of the Private Zone.

func (GetZonesZoneOutput) ZoneId

ZoneId of the Private Zone.

func (GetZonesZoneOutput) ZoneName

func (o GetZonesZoneOutput) ZoneName() pulumi.StringOutput

ZoneName of the Private Zone.

type Rule added in v3.10.0

type Rule struct {
	pulumi.CustomResourceState

	// The ID of the Endpoint.
	EndpointId pulumi.StringOutput `pulumi:"endpointId"`
	// Forwarding target. See `forwardIps` below.
	ForwardIps RuleForwardIpArrayOutput `pulumi:"forwardIps"`
	// The name of the resource.
	RuleName pulumi.StringOutput `pulumi:"ruleName"`
	// The type of the rule. Valid values: `OUTBOUND`.
	Type pulumi.StringPtrOutput `pulumi:"type"`
	// The name of the forwarding zone.
	ZoneName pulumi.StringOutput `pulumi:"zoneName"`
}

Provides a Private Zone Rule resource.

For information about Private Zone Rule and how to use it, see [What is Rule](https://www.alibabacloud.com/help/en/privatezone/latest/add-forwarding-rule).

> **NOTE:** Available since v1.143.0.

## Import

Private Zone Rule can be imported using the id, e.g.

```sh $ pulumi import alicloud:pvtz/rule:Rule example <id> ```

func GetRule added in v3.10.0

func GetRule(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RuleState, opts ...pulumi.ResourceOption) (*Rule, error)

GetRule gets an existing Rule 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 NewRule added in v3.10.0

func NewRule(ctx *pulumi.Context,
	name string, args *RuleArgs, opts ...pulumi.ResourceOption) (*Rule, error)

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

func (*Rule) ElementType added in v3.10.0

func (*Rule) ElementType() reflect.Type

func (*Rule) ToRuleOutput added in v3.10.0

func (i *Rule) ToRuleOutput() RuleOutput

func (*Rule) ToRuleOutputWithContext added in v3.10.0

func (i *Rule) ToRuleOutputWithContext(ctx context.Context) RuleOutput

type RuleArgs added in v3.10.0

type RuleArgs struct {
	// The ID of the Endpoint.
	EndpointId pulumi.StringInput
	// Forwarding target. See `forwardIps` below.
	ForwardIps RuleForwardIpArrayInput
	// The name of the resource.
	RuleName pulumi.StringInput
	// The type of the rule. Valid values: `OUTBOUND`.
	Type pulumi.StringPtrInput
	// The name of the forwarding zone.
	ZoneName pulumi.StringInput
}

The set of arguments for constructing a Rule resource.

func (RuleArgs) ElementType added in v3.10.0

func (RuleArgs) ElementType() reflect.Type

type RuleArray added in v3.10.0

type RuleArray []RuleInput

func (RuleArray) ElementType added in v3.10.0

func (RuleArray) ElementType() reflect.Type

func (RuleArray) ToRuleArrayOutput added in v3.10.0

func (i RuleArray) ToRuleArrayOutput() RuleArrayOutput

func (RuleArray) ToRuleArrayOutputWithContext added in v3.10.0

func (i RuleArray) ToRuleArrayOutputWithContext(ctx context.Context) RuleArrayOutput

type RuleArrayInput added in v3.10.0

type RuleArrayInput interface {
	pulumi.Input

	ToRuleArrayOutput() RuleArrayOutput
	ToRuleArrayOutputWithContext(context.Context) RuleArrayOutput
}

RuleArrayInput is an input type that accepts RuleArray and RuleArrayOutput values. You can construct a concrete instance of `RuleArrayInput` via:

RuleArray{ RuleArgs{...} }

type RuleArrayOutput added in v3.10.0

type RuleArrayOutput struct{ *pulumi.OutputState }

func (RuleArrayOutput) ElementType added in v3.10.0

func (RuleArrayOutput) ElementType() reflect.Type

func (RuleArrayOutput) Index added in v3.10.0

func (RuleArrayOutput) ToRuleArrayOutput added in v3.10.0

func (o RuleArrayOutput) ToRuleArrayOutput() RuleArrayOutput

func (RuleArrayOutput) ToRuleArrayOutputWithContext added in v3.10.0

func (o RuleArrayOutput) ToRuleArrayOutputWithContext(ctx context.Context) RuleArrayOutput

type RuleAttachment added in v3.10.0

type RuleAttachment struct {
	pulumi.CustomResourceState

	// The ID of the rule.
	RuleId pulumi.StringOutput `pulumi:"ruleId"`
	// The List of the VPC. See `vpcs` below.
	Vpcs RuleAttachmentVpcArrayOutput `pulumi:"vpcs"`
}

Provides a Private Zone Rule Attachment resource.

For information about Private Zone Rule Attachment and how to use it, see [What is Rule Attachment](https://www.alibabacloud.com/help/en/doc-detail/177601.htm).

> **NOTE:** Available since v1.143.0.

## Import

Private Zone Rule Attachment can be imported using the id, e.g.

```sh $ pulumi import alicloud:pvtz/ruleAttachment:RuleAttachment example <rule_id> ```

func GetRuleAttachment added in v3.10.0

func GetRuleAttachment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RuleAttachmentState, opts ...pulumi.ResourceOption) (*RuleAttachment, error)

GetRuleAttachment gets an existing RuleAttachment 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 NewRuleAttachment added in v3.10.0

func NewRuleAttachment(ctx *pulumi.Context,
	name string, args *RuleAttachmentArgs, opts ...pulumi.ResourceOption) (*RuleAttachment, error)

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

func (*RuleAttachment) ElementType added in v3.10.0

func (*RuleAttachment) ElementType() reflect.Type

func (*RuleAttachment) ToRuleAttachmentOutput added in v3.10.0

func (i *RuleAttachment) ToRuleAttachmentOutput() RuleAttachmentOutput

func (*RuleAttachment) ToRuleAttachmentOutputWithContext added in v3.10.0

func (i *RuleAttachment) ToRuleAttachmentOutputWithContext(ctx context.Context) RuleAttachmentOutput

type RuleAttachmentArgs added in v3.10.0

type RuleAttachmentArgs struct {
	// The ID of the rule.
	RuleId pulumi.StringInput
	// The List of the VPC. See `vpcs` below.
	Vpcs RuleAttachmentVpcArrayInput
}

The set of arguments for constructing a RuleAttachment resource.

func (RuleAttachmentArgs) ElementType added in v3.10.0

func (RuleAttachmentArgs) ElementType() reflect.Type

type RuleAttachmentArray added in v3.10.0

type RuleAttachmentArray []RuleAttachmentInput

func (RuleAttachmentArray) ElementType added in v3.10.0

func (RuleAttachmentArray) ElementType() reflect.Type

func (RuleAttachmentArray) ToRuleAttachmentArrayOutput added in v3.10.0

func (i RuleAttachmentArray) ToRuleAttachmentArrayOutput() RuleAttachmentArrayOutput

func (RuleAttachmentArray) ToRuleAttachmentArrayOutputWithContext added in v3.10.0

func (i RuleAttachmentArray) ToRuleAttachmentArrayOutputWithContext(ctx context.Context) RuleAttachmentArrayOutput

type RuleAttachmentArrayInput added in v3.10.0

type RuleAttachmentArrayInput interface {
	pulumi.Input

	ToRuleAttachmentArrayOutput() RuleAttachmentArrayOutput
	ToRuleAttachmentArrayOutputWithContext(context.Context) RuleAttachmentArrayOutput
}

RuleAttachmentArrayInput is an input type that accepts RuleAttachmentArray and RuleAttachmentArrayOutput values. You can construct a concrete instance of `RuleAttachmentArrayInput` via:

RuleAttachmentArray{ RuleAttachmentArgs{...} }

type RuleAttachmentArrayOutput added in v3.10.0

type RuleAttachmentArrayOutput struct{ *pulumi.OutputState }

func (RuleAttachmentArrayOutput) ElementType added in v3.10.0

func (RuleAttachmentArrayOutput) ElementType() reflect.Type

func (RuleAttachmentArrayOutput) Index added in v3.10.0

func (RuleAttachmentArrayOutput) ToRuleAttachmentArrayOutput added in v3.10.0

func (o RuleAttachmentArrayOutput) ToRuleAttachmentArrayOutput() RuleAttachmentArrayOutput

func (RuleAttachmentArrayOutput) ToRuleAttachmentArrayOutputWithContext added in v3.10.0

func (o RuleAttachmentArrayOutput) ToRuleAttachmentArrayOutputWithContext(ctx context.Context) RuleAttachmentArrayOutput

type RuleAttachmentInput added in v3.10.0

type RuleAttachmentInput interface {
	pulumi.Input

	ToRuleAttachmentOutput() RuleAttachmentOutput
	ToRuleAttachmentOutputWithContext(ctx context.Context) RuleAttachmentOutput
}

type RuleAttachmentMap added in v3.10.0

type RuleAttachmentMap map[string]RuleAttachmentInput

func (RuleAttachmentMap) ElementType added in v3.10.0

func (RuleAttachmentMap) ElementType() reflect.Type

func (RuleAttachmentMap) ToRuleAttachmentMapOutput added in v3.10.0

func (i RuleAttachmentMap) ToRuleAttachmentMapOutput() RuleAttachmentMapOutput

func (RuleAttachmentMap) ToRuleAttachmentMapOutputWithContext added in v3.10.0

func (i RuleAttachmentMap) ToRuleAttachmentMapOutputWithContext(ctx context.Context) RuleAttachmentMapOutput

type RuleAttachmentMapInput added in v3.10.0

type RuleAttachmentMapInput interface {
	pulumi.Input

	ToRuleAttachmentMapOutput() RuleAttachmentMapOutput
	ToRuleAttachmentMapOutputWithContext(context.Context) RuleAttachmentMapOutput
}

RuleAttachmentMapInput is an input type that accepts RuleAttachmentMap and RuleAttachmentMapOutput values. You can construct a concrete instance of `RuleAttachmentMapInput` via:

RuleAttachmentMap{ "key": RuleAttachmentArgs{...} }

type RuleAttachmentMapOutput added in v3.10.0

type RuleAttachmentMapOutput struct{ *pulumi.OutputState }

func (RuleAttachmentMapOutput) ElementType added in v3.10.0

func (RuleAttachmentMapOutput) ElementType() reflect.Type

func (RuleAttachmentMapOutput) MapIndex added in v3.10.0

func (RuleAttachmentMapOutput) ToRuleAttachmentMapOutput added in v3.10.0

func (o RuleAttachmentMapOutput) ToRuleAttachmentMapOutput() RuleAttachmentMapOutput

func (RuleAttachmentMapOutput) ToRuleAttachmentMapOutputWithContext added in v3.10.0

func (o RuleAttachmentMapOutput) ToRuleAttachmentMapOutputWithContext(ctx context.Context) RuleAttachmentMapOutput

type RuleAttachmentOutput added in v3.10.0

type RuleAttachmentOutput struct{ *pulumi.OutputState }

func (RuleAttachmentOutput) ElementType added in v3.10.0

func (RuleAttachmentOutput) ElementType() reflect.Type

func (RuleAttachmentOutput) RuleId added in v3.27.0

The ID of the rule.

func (RuleAttachmentOutput) ToRuleAttachmentOutput added in v3.10.0

func (o RuleAttachmentOutput) ToRuleAttachmentOutput() RuleAttachmentOutput

func (RuleAttachmentOutput) ToRuleAttachmentOutputWithContext added in v3.10.0

func (o RuleAttachmentOutput) ToRuleAttachmentOutputWithContext(ctx context.Context) RuleAttachmentOutput

func (RuleAttachmentOutput) Vpcs added in v3.27.0

The List of the VPC. See `vpcs` below.

type RuleAttachmentState added in v3.10.0

type RuleAttachmentState struct {
	// The ID of the rule.
	RuleId pulumi.StringPtrInput
	// The List of the VPC. See `vpcs` below.
	Vpcs RuleAttachmentVpcArrayInput
}

func (RuleAttachmentState) ElementType added in v3.10.0

func (RuleAttachmentState) ElementType() reflect.Type

type RuleAttachmentVpc added in v3.10.0

type RuleAttachmentVpc struct {
	// The region of the vpc. If not set, the current region will instead of.
	RegionId string `pulumi:"regionId"`
	// The ID of the VPC.  **NOTE:** The VPC that can be associated with the forwarding rule must belong to the same region as the Endpoint.
	VpcId string `pulumi:"vpcId"`
}

type RuleAttachmentVpcArgs added in v3.10.0

type RuleAttachmentVpcArgs struct {
	// The region of the vpc. If not set, the current region will instead of.
	RegionId pulumi.StringInput `pulumi:"regionId"`
	// The ID of the VPC.  **NOTE:** The VPC that can be associated with the forwarding rule must belong to the same region as the Endpoint.
	VpcId pulumi.StringInput `pulumi:"vpcId"`
}

func (RuleAttachmentVpcArgs) ElementType added in v3.10.0

func (RuleAttachmentVpcArgs) ElementType() reflect.Type

func (RuleAttachmentVpcArgs) ToRuleAttachmentVpcOutput added in v3.10.0

func (i RuleAttachmentVpcArgs) ToRuleAttachmentVpcOutput() RuleAttachmentVpcOutput

func (RuleAttachmentVpcArgs) ToRuleAttachmentVpcOutputWithContext added in v3.10.0

func (i RuleAttachmentVpcArgs) ToRuleAttachmentVpcOutputWithContext(ctx context.Context) RuleAttachmentVpcOutput

type RuleAttachmentVpcArray added in v3.10.0

type RuleAttachmentVpcArray []RuleAttachmentVpcInput

func (RuleAttachmentVpcArray) ElementType added in v3.10.0

func (RuleAttachmentVpcArray) ElementType() reflect.Type

func (RuleAttachmentVpcArray) ToRuleAttachmentVpcArrayOutput added in v3.10.0

func (i RuleAttachmentVpcArray) ToRuleAttachmentVpcArrayOutput() RuleAttachmentVpcArrayOutput

func (RuleAttachmentVpcArray) ToRuleAttachmentVpcArrayOutputWithContext added in v3.10.0

func (i RuleAttachmentVpcArray) ToRuleAttachmentVpcArrayOutputWithContext(ctx context.Context) RuleAttachmentVpcArrayOutput

type RuleAttachmentVpcArrayInput added in v3.10.0

type RuleAttachmentVpcArrayInput interface {
	pulumi.Input

	ToRuleAttachmentVpcArrayOutput() RuleAttachmentVpcArrayOutput
	ToRuleAttachmentVpcArrayOutputWithContext(context.Context) RuleAttachmentVpcArrayOutput
}

RuleAttachmentVpcArrayInput is an input type that accepts RuleAttachmentVpcArray and RuleAttachmentVpcArrayOutput values. You can construct a concrete instance of `RuleAttachmentVpcArrayInput` via:

RuleAttachmentVpcArray{ RuleAttachmentVpcArgs{...} }

type RuleAttachmentVpcArrayOutput added in v3.10.0

type RuleAttachmentVpcArrayOutput struct{ *pulumi.OutputState }

func (RuleAttachmentVpcArrayOutput) ElementType added in v3.10.0

func (RuleAttachmentVpcArrayOutput) Index added in v3.10.0

func (RuleAttachmentVpcArrayOutput) ToRuleAttachmentVpcArrayOutput added in v3.10.0

func (o RuleAttachmentVpcArrayOutput) ToRuleAttachmentVpcArrayOutput() RuleAttachmentVpcArrayOutput

func (RuleAttachmentVpcArrayOutput) ToRuleAttachmentVpcArrayOutputWithContext added in v3.10.0

func (o RuleAttachmentVpcArrayOutput) ToRuleAttachmentVpcArrayOutputWithContext(ctx context.Context) RuleAttachmentVpcArrayOutput

type RuleAttachmentVpcInput added in v3.10.0

type RuleAttachmentVpcInput interface {
	pulumi.Input

	ToRuleAttachmentVpcOutput() RuleAttachmentVpcOutput
	ToRuleAttachmentVpcOutputWithContext(context.Context) RuleAttachmentVpcOutput
}

RuleAttachmentVpcInput is an input type that accepts RuleAttachmentVpcArgs and RuleAttachmentVpcOutput values. You can construct a concrete instance of `RuleAttachmentVpcInput` via:

RuleAttachmentVpcArgs{...}

type RuleAttachmentVpcOutput added in v3.10.0

type RuleAttachmentVpcOutput struct{ *pulumi.OutputState }

func (RuleAttachmentVpcOutput) ElementType added in v3.10.0

func (RuleAttachmentVpcOutput) ElementType() reflect.Type

func (RuleAttachmentVpcOutput) RegionId added in v3.10.0

The region of the vpc. If not set, the current region will instead of.

func (RuleAttachmentVpcOutput) ToRuleAttachmentVpcOutput added in v3.10.0

func (o RuleAttachmentVpcOutput) ToRuleAttachmentVpcOutput() RuleAttachmentVpcOutput

func (RuleAttachmentVpcOutput) ToRuleAttachmentVpcOutputWithContext added in v3.10.0

func (o RuleAttachmentVpcOutput) ToRuleAttachmentVpcOutputWithContext(ctx context.Context) RuleAttachmentVpcOutput

func (RuleAttachmentVpcOutput) VpcId added in v3.10.0

The ID of the VPC. **NOTE:** The VPC that can be associated with the forwarding rule must belong to the same region as the Endpoint.

type RuleForwardIp added in v3.10.0

type RuleForwardIp struct {
	// The ip of the forwarding destination.
	Ip string `pulumi:"ip"`
	// The port of the forwarding destination.
	Port int `pulumi:"port"`
}

type RuleForwardIpArgs added in v3.10.0

type RuleForwardIpArgs struct {
	// The ip of the forwarding destination.
	Ip pulumi.StringInput `pulumi:"ip"`
	// The port of the forwarding destination.
	Port pulumi.IntInput `pulumi:"port"`
}

func (RuleForwardIpArgs) ElementType added in v3.10.0

func (RuleForwardIpArgs) ElementType() reflect.Type

func (RuleForwardIpArgs) ToRuleForwardIpOutput added in v3.10.0

func (i RuleForwardIpArgs) ToRuleForwardIpOutput() RuleForwardIpOutput

func (RuleForwardIpArgs) ToRuleForwardIpOutputWithContext added in v3.10.0

func (i RuleForwardIpArgs) ToRuleForwardIpOutputWithContext(ctx context.Context) RuleForwardIpOutput

type RuleForwardIpArray added in v3.10.0

type RuleForwardIpArray []RuleForwardIpInput

func (RuleForwardIpArray) ElementType added in v3.10.0

func (RuleForwardIpArray) ElementType() reflect.Type

func (RuleForwardIpArray) ToRuleForwardIpArrayOutput added in v3.10.0

func (i RuleForwardIpArray) ToRuleForwardIpArrayOutput() RuleForwardIpArrayOutput

func (RuleForwardIpArray) ToRuleForwardIpArrayOutputWithContext added in v3.10.0

func (i RuleForwardIpArray) ToRuleForwardIpArrayOutputWithContext(ctx context.Context) RuleForwardIpArrayOutput

type RuleForwardIpArrayInput added in v3.10.0

type RuleForwardIpArrayInput interface {
	pulumi.Input

	ToRuleForwardIpArrayOutput() RuleForwardIpArrayOutput
	ToRuleForwardIpArrayOutputWithContext(context.Context) RuleForwardIpArrayOutput
}

RuleForwardIpArrayInput is an input type that accepts RuleForwardIpArray and RuleForwardIpArrayOutput values. You can construct a concrete instance of `RuleForwardIpArrayInput` via:

RuleForwardIpArray{ RuleForwardIpArgs{...} }

type RuleForwardIpArrayOutput added in v3.10.0

type RuleForwardIpArrayOutput struct{ *pulumi.OutputState }

func (RuleForwardIpArrayOutput) ElementType added in v3.10.0

func (RuleForwardIpArrayOutput) ElementType() reflect.Type

func (RuleForwardIpArrayOutput) Index added in v3.10.0

func (RuleForwardIpArrayOutput) ToRuleForwardIpArrayOutput added in v3.10.0

func (o RuleForwardIpArrayOutput) ToRuleForwardIpArrayOutput() RuleForwardIpArrayOutput

func (RuleForwardIpArrayOutput) ToRuleForwardIpArrayOutputWithContext added in v3.10.0

func (o RuleForwardIpArrayOutput) ToRuleForwardIpArrayOutputWithContext(ctx context.Context) RuleForwardIpArrayOutput

type RuleForwardIpInput added in v3.10.0

type RuleForwardIpInput interface {
	pulumi.Input

	ToRuleForwardIpOutput() RuleForwardIpOutput
	ToRuleForwardIpOutputWithContext(context.Context) RuleForwardIpOutput
}

RuleForwardIpInput is an input type that accepts RuleForwardIpArgs and RuleForwardIpOutput values. You can construct a concrete instance of `RuleForwardIpInput` via:

RuleForwardIpArgs{...}

type RuleForwardIpOutput added in v3.10.0

type RuleForwardIpOutput struct{ *pulumi.OutputState }

func (RuleForwardIpOutput) ElementType added in v3.10.0

func (RuleForwardIpOutput) ElementType() reflect.Type

func (RuleForwardIpOutput) Ip added in v3.10.0

The ip of the forwarding destination.

func (RuleForwardIpOutput) Port added in v3.10.0

The port of the forwarding destination.

func (RuleForwardIpOutput) ToRuleForwardIpOutput added in v3.10.0

func (o RuleForwardIpOutput) ToRuleForwardIpOutput() RuleForwardIpOutput

func (RuleForwardIpOutput) ToRuleForwardIpOutputWithContext added in v3.10.0

func (o RuleForwardIpOutput) ToRuleForwardIpOutputWithContext(ctx context.Context) RuleForwardIpOutput

type RuleInput added in v3.10.0

type RuleInput interface {
	pulumi.Input

	ToRuleOutput() RuleOutput
	ToRuleOutputWithContext(ctx context.Context) RuleOutput
}

type RuleMap added in v3.10.0

type RuleMap map[string]RuleInput

func (RuleMap) ElementType added in v3.10.0

func (RuleMap) ElementType() reflect.Type

func (RuleMap) ToRuleMapOutput added in v3.10.0

func (i RuleMap) ToRuleMapOutput() RuleMapOutput

func (RuleMap) ToRuleMapOutputWithContext added in v3.10.0

func (i RuleMap) ToRuleMapOutputWithContext(ctx context.Context) RuleMapOutput

type RuleMapInput added in v3.10.0

type RuleMapInput interface {
	pulumi.Input

	ToRuleMapOutput() RuleMapOutput
	ToRuleMapOutputWithContext(context.Context) RuleMapOutput
}

RuleMapInput is an input type that accepts RuleMap and RuleMapOutput values. You can construct a concrete instance of `RuleMapInput` via:

RuleMap{ "key": RuleArgs{...} }

type RuleMapOutput added in v3.10.0

type RuleMapOutput struct{ *pulumi.OutputState }

func (RuleMapOutput) ElementType added in v3.10.0

func (RuleMapOutput) ElementType() reflect.Type

func (RuleMapOutput) MapIndex added in v3.10.0

func (RuleMapOutput) ToRuleMapOutput added in v3.10.0

func (o RuleMapOutput) ToRuleMapOutput() RuleMapOutput

func (RuleMapOutput) ToRuleMapOutputWithContext added in v3.10.0

func (o RuleMapOutput) ToRuleMapOutputWithContext(ctx context.Context) RuleMapOutput

type RuleOutput added in v3.10.0

type RuleOutput struct{ *pulumi.OutputState }

func (RuleOutput) ElementType added in v3.10.0

func (RuleOutput) ElementType() reflect.Type

func (RuleOutput) EndpointId added in v3.27.0

func (o RuleOutput) EndpointId() pulumi.StringOutput

The ID of the Endpoint.

func (RuleOutput) ForwardIps added in v3.27.0

func (o RuleOutput) ForwardIps() RuleForwardIpArrayOutput

Forwarding target. See `forwardIps` below.

func (RuleOutput) RuleName added in v3.27.0

func (o RuleOutput) RuleName() pulumi.StringOutput

The name of the resource.

func (RuleOutput) ToRuleOutput added in v3.10.0

func (o RuleOutput) ToRuleOutput() RuleOutput

func (RuleOutput) ToRuleOutputWithContext added in v3.10.0

func (o RuleOutput) ToRuleOutputWithContext(ctx context.Context) RuleOutput

func (RuleOutput) Type added in v3.27.0

The type of the rule. Valid values: `OUTBOUND`.

func (RuleOutput) ZoneName added in v3.27.0

func (o RuleOutput) ZoneName() pulumi.StringOutput

The name of the forwarding zone.

type RuleState added in v3.10.0

type RuleState struct {
	// The ID of the Endpoint.
	EndpointId pulumi.StringPtrInput
	// Forwarding target. See `forwardIps` below.
	ForwardIps RuleForwardIpArrayInput
	// The name of the resource.
	RuleName pulumi.StringPtrInput
	// The type of the rule. Valid values: `OUTBOUND`.
	Type pulumi.StringPtrInput
	// The name of the forwarding zone.
	ZoneName pulumi.StringPtrInput
}

func (RuleState) ElementType added in v3.10.0

func (RuleState) ElementType() reflect.Type

type UserVpcAuthorization added in v3.8.0

type UserVpcAuthorization struct {
	pulumi.CustomResourceState

	// The auth channel. Valid values: `RESOURCE_DIRECTORY`.
	AuthChannel pulumi.StringPtrOutput `pulumi:"authChannel"`
	// The type of Authorization. Valid values: `NORMAL` and `CLOUD_PRODUCT`.
	AuthType pulumi.StringPtrOutput `pulumi:"authType"`
	// The primary account ID of the user who authorizes the resource.
	AuthorizedUserId pulumi.StringOutput `pulumi:"authorizedUserId"`
}

Provides a Private Zone User Vpc Authorization resource.

> **NOTE:** Available since v1.138.0.

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/pvtz"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		authorizedUserId := float64(123456789)
		if param := cfg.GetFloat64("authorizedUserId"); param != 0 {
			authorizedUserId = param
		}
		_, err := pvtz.NewUserVpcAuthorization(ctx, "example", &pvtz.UserVpcAuthorizationArgs{
			AuthorizedUserId: pulumi.Float64(authorizedUserId),
			AuthChannel:      pulumi.String("RESOURCE_DIRECTORY"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Private Zone User Vpc Authorization can be imported using the id, e.g.

```sh $ pulumi import alicloud:pvtz/userVpcAuthorization:UserVpcAuthorization example <authorized_user_id>:<auth_type> ```

func GetUserVpcAuthorization added in v3.8.0

func GetUserVpcAuthorization(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *UserVpcAuthorizationState, opts ...pulumi.ResourceOption) (*UserVpcAuthorization, error)

GetUserVpcAuthorization gets an existing UserVpcAuthorization 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 NewUserVpcAuthorization added in v3.8.0

func NewUserVpcAuthorization(ctx *pulumi.Context,
	name string, args *UserVpcAuthorizationArgs, opts ...pulumi.ResourceOption) (*UserVpcAuthorization, error)

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

func (*UserVpcAuthorization) ElementType added in v3.8.0

func (*UserVpcAuthorization) ElementType() reflect.Type

func (*UserVpcAuthorization) ToUserVpcAuthorizationOutput added in v3.8.0

func (i *UserVpcAuthorization) ToUserVpcAuthorizationOutput() UserVpcAuthorizationOutput

func (*UserVpcAuthorization) ToUserVpcAuthorizationOutputWithContext added in v3.8.0

func (i *UserVpcAuthorization) ToUserVpcAuthorizationOutputWithContext(ctx context.Context) UserVpcAuthorizationOutput

type UserVpcAuthorizationArgs added in v3.8.0

type UserVpcAuthorizationArgs struct {
	// The auth channel. Valid values: `RESOURCE_DIRECTORY`.
	AuthChannel pulumi.StringPtrInput
	// The type of Authorization. Valid values: `NORMAL` and `CLOUD_PRODUCT`.
	AuthType pulumi.StringPtrInput
	// The primary account ID of the user who authorizes the resource.
	AuthorizedUserId pulumi.StringInput
}

The set of arguments for constructing a UserVpcAuthorization resource.

func (UserVpcAuthorizationArgs) ElementType added in v3.8.0

func (UserVpcAuthorizationArgs) ElementType() reflect.Type

type UserVpcAuthorizationArray added in v3.8.0

type UserVpcAuthorizationArray []UserVpcAuthorizationInput

func (UserVpcAuthorizationArray) ElementType added in v3.8.0

func (UserVpcAuthorizationArray) ElementType() reflect.Type

func (UserVpcAuthorizationArray) ToUserVpcAuthorizationArrayOutput added in v3.8.0

func (i UserVpcAuthorizationArray) ToUserVpcAuthorizationArrayOutput() UserVpcAuthorizationArrayOutput

func (UserVpcAuthorizationArray) ToUserVpcAuthorizationArrayOutputWithContext added in v3.8.0

func (i UserVpcAuthorizationArray) ToUserVpcAuthorizationArrayOutputWithContext(ctx context.Context) UserVpcAuthorizationArrayOutput

type UserVpcAuthorizationArrayInput added in v3.8.0

type UserVpcAuthorizationArrayInput interface {
	pulumi.Input

	ToUserVpcAuthorizationArrayOutput() UserVpcAuthorizationArrayOutput
	ToUserVpcAuthorizationArrayOutputWithContext(context.Context) UserVpcAuthorizationArrayOutput
}

UserVpcAuthorizationArrayInput is an input type that accepts UserVpcAuthorizationArray and UserVpcAuthorizationArrayOutput values. You can construct a concrete instance of `UserVpcAuthorizationArrayInput` via:

UserVpcAuthorizationArray{ UserVpcAuthorizationArgs{...} }

type UserVpcAuthorizationArrayOutput added in v3.8.0

type UserVpcAuthorizationArrayOutput struct{ *pulumi.OutputState }

func (UserVpcAuthorizationArrayOutput) ElementType added in v3.8.0

func (UserVpcAuthorizationArrayOutput) Index added in v3.8.0

func (UserVpcAuthorizationArrayOutput) ToUserVpcAuthorizationArrayOutput added in v3.8.0

func (o UserVpcAuthorizationArrayOutput) ToUserVpcAuthorizationArrayOutput() UserVpcAuthorizationArrayOutput

func (UserVpcAuthorizationArrayOutput) ToUserVpcAuthorizationArrayOutputWithContext added in v3.8.0

func (o UserVpcAuthorizationArrayOutput) ToUserVpcAuthorizationArrayOutputWithContext(ctx context.Context) UserVpcAuthorizationArrayOutput

type UserVpcAuthorizationInput added in v3.8.0

type UserVpcAuthorizationInput interface {
	pulumi.Input

	ToUserVpcAuthorizationOutput() UserVpcAuthorizationOutput
	ToUserVpcAuthorizationOutputWithContext(ctx context.Context) UserVpcAuthorizationOutput
}

type UserVpcAuthorizationMap added in v3.8.0

type UserVpcAuthorizationMap map[string]UserVpcAuthorizationInput

func (UserVpcAuthorizationMap) ElementType added in v3.8.0

func (UserVpcAuthorizationMap) ElementType() reflect.Type

func (UserVpcAuthorizationMap) ToUserVpcAuthorizationMapOutput added in v3.8.0

func (i UserVpcAuthorizationMap) ToUserVpcAuthorizationMapOutput() UserVpcAuthorizationMapOutput

func (UserVpcAuthorizationMap) ToUserVpcAuthorizationMapOutputWithContext added in v3.8.0

func (i UserVpcAuthorizationMap) ToUserVpcAuthorizationMapOutputWithContext(ctx context.Context) UserVpcAuthorizationMapOutput

type UserVpcAuthorizationMapInput added in v3.8.0

type UserVpcAuthorizationMapInput interface {
	pulumi.Input

	ToUserVpcAuthorizationMapOutput() UserVpcAuthorizationMapOutput
	ToUserVpcAuthorizationMapOutputWithContext(context.Context) UserVpcAuthorizationMapOutput
}

UserVpcAuthorizationMapInput is an input type that accepts UserVpcAuthorizationMap and UserVpcAuthorizationMapOutput values. You can construct a concrete instance of `UserVpcAuthorizationMapInput` via:

UserVpcAuthorizationMap{ "key": UserVpcAuthorizationArgs{...} }

type UserVpcAuthorizationMapOutput added in v3.8.0

type UserVpcAuthorizationMapOutput struct{ *pulumi.OutputState }

func (UserVpcAuthorizationMapOutput) ElementType added in v3.8.0

func (UserVpcAuthorizationMapOutput) MapIndex added in v3.8.0

func (UserVpcAuthorizationMapOutput) ToUserVpcAuthorizationMapOutput added in v3.8.0

func (o UserVpcAuthorizationMapOutput) ToUserVpcAuthorizationMapOutput() UserVpcAuthorizationMapOutput

func (UserVpcAuthorizationMapOutput) ToUserVpcAuthorizationMapOutputWithContext added in v3.8.0

func (o UserVpcAuthorizationMapOutput) ToUserVpcAuthorizationMapOutputWithContext(ctx context.Context) UserVpcAuthorizationMapOutput

type UserVpcAuthorizationOutput added in v3.8.0

type UserVpcAuthorizationOutput struct{ *pulumi.OutputState }

func (UserVpcAuthorizationOutput) AuthChannel added in v3.27.0

The auth channel. Valid values: `RESOURCE_DIRECTORY`.

func (UserVpcAuthorizationOutput) AuthType added in v3.27.0

The type of Authorization. Valid values: `NORMAL` and `CLOUD_PRODUCT`.

func (UserVpcAuthorizationOutput) AuthorizedUserId added in v3.27.0

func (o UserVpcAuthorizationOutput) AuthorizedUserId() pulumi.StringOutput

The primary account ID of the user who authorizes the resource.

func (UserVpcAuthorizationOutput) ElementType added in v3.8.0

func (UserVpcAuthorizationOutput) ElementType() reflect.Type

func (UserVpcAuthorizationOutput) ToUserVpcAuthorizationOutput added in v3.8.0

func (o UserVpcAuthorizationOutput) ToUserVpcAuthorizationOutput() UserVpcAuthorizationOutput

func (UserVpcAuthorizationOutput) ToUserVpcAuthorizationOutputWithContext added in v3.8.0

func (o UserVpcAuthorizationOutput) ToUserVpcAuthorizationOutputWithContext(ctx context.Context) UserVpcAuthorizationOutput

type UserVpcAuthorizationState added in v3.8.0

type UserVpcAuthorizationState struct {
	// The auth channel. Valid values: `RESOURCE_DIRECTORY`.
	AuthChannel pulumi.StringPtrInput
	// The type of Authorization. Valid values: `NORMAL` and `CLOUD_PRODUCT`.
	AuthType pulumi.StringPtrInput
	// The primary account ID of the user who authorizes the resource.
	AuthorizedUserId pulumi.StringPtrInput
}

func (UserVpcAuthorizationState) ElementType added in v3.8.0

func (UserVpcAuthorizationState) ElementType() reflect.Type

type Zone

type Zone struct {
	pulumi.CustomResourceState

	// Whether the Private Zone is ptr.
	IsPtr pulumi.BoolOutput `pulumi:"isPtr"`
	// The language. Valid values: "zh", "en", "jp".
	Lang pulumi.StringPtrOutput `pulumi:"lang"`
	// The name of the Private Zone. The `name` has been deprecated from provider version 1.107.0. Please use 'zone_name' instead.
	//
	// Deprecated: Field 'name' has been deprecated from version 1.107.0. Use 'zone_name' instead.
	Name pulumi.StringOutput `pulumi:"name"`
	// The recursive DNS proxy. Valid values:
	// - ZONE: indicates that the recursive DNS proxy is disabled.
	// - RECORD: indicates that the recursive DNS proxy is enabled.
	//   Default to "ZONE".
	ProxyPattern pulumi.StringPtrOutput `pulumi:"proxyPattern"`
	// The count of the Private Zone Record.
	RecordCount pulumi.IntOutput `pulumi:"recordCount"`
	// The remark of the Private Zone.
	Remark pulumi.StringPtrOutput `pulumi:"remark"`
	// The Id of resource group which the Private Zone belongs.
	ResourceGroupId pulumi.StringOutput `pulumi:"resourceGroupId"`
	// The status of the host synchronization task. Valid values:  `ON`,`OFF`. **NOTE:** You can update the `syncStatus` to enable/disable the host synchronization task.
	SyncStatus pulumi.StringPtrOutput `pulumi:"syncStatus"`
	// The tags of the Private Zone.
	Tags pulumi.MapOutput `pulumi:"tags"`
	// The IP address of the client.
	UserClientIp pulumi.StringPtrOutput `pulumi:"userClientIp"`
	// The user information of the host synchronization task. See `userInfo` below.
	UserInfos ZoneUserInfoArrayOutput `pulumi:"userInfos"`
	// The zoneName of the Private Zone. The `zoneName` is required when the value of the `name`  is Empty.
	ZoneName pulumi.StringOutput `pulumi:"zoneName"`
}

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/pvtz"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := pvtz.NewZone(ctx, "foo", &pvtz.ZoneArgs{
			ZoneName: pulumi.String("foo.example.com"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Private Zone can be imported using the id, e.g.

```sh $ pulumi import alicloud:pvtz/zone:Zone example abc123456 ```

func GetZone

func GetZone(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ZoneState, opts ...pulumi.ResourceOption) (*Zone, error)

GetZone gets an existing Zone 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 NewZone

func NewZone(ctx *pulumi.Context,
	name string, args *ZoneArgs, opts ...pulumi.ResourceOption) (*Zone, error)

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

func (*Zone) ElementType

func (*Zone) ElementType() reflect.Type

func (*Zone) ToZoneOutput

func (i *Zone) ToZoneOutput() ZoneOutput

func (*Zone) ToZoneOutputWithContext

func (i *Zone) ToZoneOutputWithContext(ctx context.Context) ZoneOutput

type ZoneArgs

type ZoneArgs struct {
	// The language. Valid values: "zh", "en", "jp".
	Lang pulumi.StringPtrInput
	// The name of the Private Zone. The `name` has been deprecated from provider version 1.107.0. Please use 'zone_name' instead.
	//
	// Deprecated: Field 'name' has been deprecated from version 1.107.0. Use 'zone_name' instead.
	Name pulumi.StringPtrInput
	// The recursive DNS proxy. Valid values:
	// - ZONE: indicates that the recursive DNS proxy is disabled.
	// - RECORD: indicates that the recursive DNS proxy is enabled.
	//   Default to "ZONE".
	ProxyPattern pulumi.StringPtrInput
	// The remark of the Private Zone.
	Remark pulumi.StringPtrInput
	// The Id of resource group which the Private Zone belongs.
	ResourceGroupId pulumi.StringPtrInput
	// The status of the host synchronization task. Valid values:  `ON`,`OFF`. **NOTE:** You can update the `syncStatus` to enable/disable the host synchronization task.
	SyncStatus pulumi.StringPtrInput
	// The tags of the Private Zone.
	Tags pulumi.MapInput
	// The IP address of the client.
	UserClientIp pulumi.StringPtrInput
	// The user information of the host synchronization task. See `userInfo` below.
	UserInfos ZoneUserInfoArrayInput
	// The zoneName of the Private Zone. The `zoneName` is required when the value of the `name`  is Empty.
	ZoneName pulumi.StringPtrInput
}

The set of arguments for constructing a Zone resource.

func (ZoneArgs) ElementType

func (ZoneArgs) ElementType() reflect.Type

type ZoneArray

type ZoneArray []ZoneInput

func (ZoneArray) ElementType

func (ZoneArray) ElementType() reflect.Type

func (ZoneArray) ToZoneArrayOutput

func (i ZoneArray) ToZoneArrayOutput() ZoneArrayOutput

func (ZoneArray) ToZoneArrayOutputWithContext

func (i ZoneArray) ToZoneArrayOutputWithContext(ctx context.Context) ZoneArrayOutput

type ZoneArrayInput

type ZoneArrayInput interface {
	pulumi.Input

	ToZoneArrayOutput() ZoneArrayOutput
	ToZoneArrayOutputWithContext(context.Context) ZoneArrayOutput
}

ZoneArrayInput is an input type that accepts ZoneArray and ZoneArrayOutput values. You can construct a concrete instance of `ZoneArrayInput` via:

ZoneArray{ ZoneArgs{...} }

type ZoneArrayOutput

type ZoneArrayOutput struct{ *pulumi.OutputState }

func (ZoneArrayOutput) ElementType

func (ZoneArrayOutput) ElementType() reflect.Type

func (ZoneArrayOutput) Index

func (ZoneArrayOutput) ToZoneArrayOutput

func (o ZoneArrayOutput) ToZoneArrayOutput() ZoneArrayOutput

func (ZoneArrayOutput) ToZoneArrayOutputWithContext

func (o ZoneArrayOutput) ToZoneArrayOutputWithContext(ctx context.Context) ZoneArrayOutput

type ZoneAttachment

type ZoneAttachment struct {
	pulumi.CustomResourceState

	// The language of code.
	Lang pulumi.StringPtrOutput `pulumi:"lang"`
	// The user custom IP address.
	UserClientIp pulumi.StringPtrOutput `pulumi:"userClientIp"`
	// The id List of the VPC with the same region, for example:["vpc-1","vpc-2"].
	VpcIds pulumi.StringArrayOutput `pulumi:"vpcIds"`
	// See `vpcs` below.Recommend to use `vpcs`.
	Vpcs ZoneAttachmentVpcArrayOutput `pulumi:"vpcs"`
	// The name of the Private Zone Record.
	ZoneId pulumi.StringOutput `pulumi:"zoneId"`
}

## Example Usage

Using `vpcIds` to attach being in same region several vpc instances to a private zone

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/pvtz"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		zone, err := pvtz.NewZone(ctx, "zone", &pvtz.ZoneArgs{
			ZoneName: pulumi.String("foo.example.com"),
		})
		if err != nil {
			return err
		}
		first, err := vpc.NewNetwork(ctx, "first", &vpc.NetworkArgs{
			VpcName:   pulumi.String("the-first-vpc"),
			CidrBlock: pulumi.String("172.16.0.0/12"),
		})
		if err != nil {
			return err
		}
		second, err := vpc.NewNetwork(ctx, "second", &vpc.NetworkArgs{
			VpcName:   pulumi.String("the-second-vpc"),
			CidrBlock: pulumi.String("172.16.0.0/16"),
		})
		if err != nil {
			return err
		}
		_, err = pvtz.NewZoneAttachment(ctx, "zone-attachment", &pvtz.ZoneAttachmentArgs{
			ZoneId: zone.ID(),
			VpcIds: pulumi.StringArray{
				first.ID(),
				second.ID(),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

Using `vpcs` to attach being in same region several vpc instances to a private zone

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/pvtz"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		zone, err := pvtz.NewZone(ctx, "zone", &pvtz.ZoneArgs{
			ZoneName: pulumi.String("foo.example.com"),
		})
		if err != nil {
			return err
		}
		first, err := vpc.NewNetwork(ctx, "first", &vpc.NetworkArgs{
			VpcName:   pulumi.String("the-first-vpc"),
			CidrBlock: pulumi.String("172.16.0.0/12"),
		})
		if err != nil {
			return err
		}
		second, err := vpc.NewNetwork(ctx, "second", &vpc.NetworkArgs{
			VpcName:   pulumi.String("the-second-vpc"),
			CidrBlock: pulumi.String("172.16.0.0/16"),
		})
		if err != nil {
			return err
		}
		_, err = pvtz.NewZoneAttachment(ctx, "zone-attachment", &pvtz.ZoneAttachmentArgs{
			ZoneId: zone.ID(),
			Vpcs: pvtz.ZoneAttachmentVpcArray{
				&pvtz.ZoneAttachmentVpcArgs{
					VpcId: first.ID(),
				},
				&pvtz.ZoneAttachmentVpcArgs{
					VpcId: second.ID(),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

Using `vpcs` to attach being in different regions several vpc instances to a private zone

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/pvtz"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		zone, err := pvtz.NewZone(ctx, "zone", &pvtz.ZoneArgs{
			ZoneName: pulumi.String("foo.example.com"),
		})
		if err != nil {
			return err
		}
		first, err := vpc.NewNetwork(ctx, "first", &vpc.NetworkArgs{
			VpcName:   pulumi.String("the-first-vpc"),
			CidrBlock: pulumi.String("172.16.0.0/12"),
		})
		if err != nil {
			return err
		}
		second, err := vpc.NewNetwork(ctx, "second", &vpc.NetworkArgs{
			VpcName:   pulumi.String("the-second-vpc"),
			CidrBlock: pulumi.String("172.16.0.0/16"),
		})
		if err != nil {
			return err
		}
		third, err := vpc.NewNetwork(ctx, "third", &vpc.NetworkArgs{
			VpcName:   pulumi.String("the-third-vpc"),
			CidrBlock: pulumi.String("172.16.0.0/16"),
		})
		if err != nil {
			return err
		}
		_, err = pvtz.NewZoneAttachment(ctx, "zone-attachment", &pvtz.ZoneAttachmentArgs{
			ZoneId: zone.ID(),
			Vpcs: pvtz.ZoneAttachmentVpcArray{
				&pvtz.ZoneAttachmentVpcArgs{
					VpcId: first.ID(),
				},
				&pvtz.ZoneAttachmentVpcArgs{
					VpcId: second.ID(),
				},
				&pvtz.ZoneAttachmentVpcArgs{
					RegionId: pulumi.String("eu-central-1"),
					VpcId:    third.ID(),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Private Zone attachment can be imported using the id(same with `zone_id`), e.g.

```sh $ pulumi import alicloud:pvtz/zoneAttachment:ZoneAttachment example abc123456 ```

func GetZoneAttachment

func GetZoneAttachment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ZoneAttachmentState, opts ...pulumi.ResourceOption) (*ZoneAttachment, error)

GetZoneAttachment gets an existing ZoneAttachment 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 NewZoneAttachment

func NewZoneAttachment(ctx *pulumi.Context,
	name string, args *ZoneAttachmentArgs, opts ...pulumi.ResourceOption) (*ZoneAttachment, error)

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

func (*ZoneAttachment) ElementType

func (*ZoneAttachment) ElementType() reflect.Type

func (*ZoneAttachment) ToZoneAttachmentOutput

func (i *ZoneAttachment) ToZoneAttachmentOutput() ZoneAttachmentOutput

func (*ZoneAttachment) ToZoneAttachmentOutputWithContext

func (i *ZoneAttachment) ToZoneAttachmentOutputWithContext(ctx context.Context) ZoneAttachmentOutput

type ZoneAttachmentArgs

type ZoneAttachmentArgs struct {
	// The language of code.
	Lang pulumi.StringPtrInput
	// The user custom IP address.
	UserClientIp pulumi.StringPtrInput
	// The id List of the VPC with the same region, for example:["vpc-1","vpc-2"].
	VpcIds pulumi.StringArrayInput
	// See `vpcs` below.Recommend to use `vpcs`.
	Vpcs ZoneAttachmentVpcArrayInput
	// The name of the Private Zone Record.
	ZoneId pulumi.StringInput
}

The set of arguments for constructing a ZoneAttachment resource.

func (ZoneAttachmentArgs) ElementType

func (ZoneAttachmentArgs) ElementType() reflect.Type

type ZoneAttachmentArray

type ZoneAttachmentArray []ZoneAttachmentInput

func (ZoneAttachmentArray) ElementType

func (ZoneAttachmentArray) ElementType() reflect.Type

func (ZoneAttachmentArray) ToZoneAttachmentArrayOutput

func (i ZoneAttachmentArray) ToZoneAttachmentArrayOutput() ZoneAttachmentArrayOutput

func (ZoneAttachmentArray) ToZoneAttachmentArrayOutputWithContext

func (i ZoneAttachmentArray) ToZoneAttachmentArrayOutputWithContext(ctx context.Context) ZoneAttachmentArrayOutput

type ZoneAttachmentArrayInput

type ZoneAttachmentArrayInput interface {
	pulumi.Input

	ToZoneAttachmentArrayOutput() ZoneAttachmentArrayOutput
	ToZoneAttachmentArrayOutputWithContext(context.Context) ZoneAttachmentArrayOutput
}

ZoneAttachmentArrayInput is an input type that accepts ZoneAttachmentArray and ZoneAttachmentArrayOutput values. You can construct a concrete instance of `ZoneAttachmentArrayInput` via:

ZoneAttachmentArray{ ZoneAttachmentArgs{...} }

type ZoneAttachmentArrayOutput

type ZoneAttachmentArrayOutput struct{ *pulumi.OutputState }

func (ZoneAttachmentArrayOutput) ElementType

func (ZoneAttachmentArrayOutput) ElementType() reflect.Type

func (ZoneAttachmentArrayOutput) Index

func (ZoneAttachmentArrayOutput) ToZoneAttachmentArrayOutput

func (o ZoneAttachmentArrayOutput) ToZoneAttachmentArrayOutput() ZoneAttachmentArrayOutput

func (ZoneAttachmentArrayOutput) ToZoneAttachmentArrayOutputWithContext

func (o ZoneAttachmentArrayOutput) ToZoneAttachmentArrayOutputWithContext(ctx context.Context) ZoneAttachmentArrayOutput

type ZoneAttachmentInput

type ZoneAttachmentInput interface {
	pulumi.Input

	ToZoneAttachmentOutput() ZoneAttachmentOutput
	ToZoneAttachmentOutputWithContext(ctx context.Context) ZoneAttachmentOutput
}

type ZoneAttachmentMap

type ZoneAttachmentMap map[string]ZoneAttachmentInput

func (ZoneAttachmentMap) ElementType

func (ZoneAttachmentMap) ElementType() reflect.Type

func (ZoneAttachmentMap) ToZoneAttachmentMapOutput

func (i ZoneAttachmentMap) ToZoneAttachmentMapOutput() ZoneAttachmentMapOutput

func (ZoneAttachmentMap) ToZoneAttachmentMapOutputWithContext

func (i ZoneAttachmentMap) ToZoneAttachmentMapOutputWithContext(ctx context.Context) ZoneAttachmentMapOutput

type ZoneAttachmentMapInput

type ZoneAttachmentMapInput interface {
	pulumi.Input

	ToZoneAttachmentMapOutput() ZoneAttachmentMapOutput
	ToZoneAttachmentMapOutputWithContext(context.Context) ZoneAttachmentMapOutput
}

ZoneAttachmentMapInput is an input type that accepts ZoneAttachmentMap and ZoneAttachmentMapOutput values. You can construct a concrete instance of `ZoneAttachmentMapInput` via:

ZoneAttachmentMap{ "key": ZoneAttachmentArgs{...} }

type ZoneAttachmentMapOutput

type ZoneAttachmentMapOutput struct{ *pulumi.OutputState }

func (ZoneAttachmentMapOutput) ElementType

func (ZoneAttachmentMapOutput) ElementType() reflect.Type

func (ZoneAttachmentMapOutput) MapIndex

func (ZoneAttachmentMapOutput) ToZoneAttachmentMapOutput

func (o ZoneAttachmentMapOutput) ToZoneAttachmentMapOutput() ZoneAttachmentMapOutput

func (ZoneAttachmentMapOutput) ToZoneAttachmentMapOutputWithContext

func (o ZoneAttachmentMapOutput) ToZoneAttachmentMapOutputWithContext(ctx context.Context) ZoneAttachmentMapOutput

type ZoneAttachmentOutput

type ZoneAttachmentOutput struct{ *pulumi.OutputState }

func (ZoneAttachmentOutput) ElementType

func (ZoneAttachmentOutput) ElementType() reflect.Type

func (ZoneAttachmentOutput) Lang added in v3.27.0

The language of code.

func (ZoneAttachmentOutput) ToZoneAttachmentOutput

func (o ZoneAttachmentOutput) ToZoneAttachmentOutput() ZoneAttachmentOutput

func (ZoneAttachmentOutput) ToZoneAttachmentOutputWithContext

func (o ZoneAttachmentOutput) ToZoneAttachmentOutputWithContext(ctx context.Context) ZoneAttachmentOutput

func (ZoneAttachmentOutput) UserClientIp added in v3.27.0

func (o ZoneAttachmentOutput) UserClientIp() pulumi.StringPtrOutput

The user custom IP address.

func (ZoneAttachmentOutput) VpcIds added in v3.27.0

The id List of the VPC with the same region, for example:["vpc-1","vpc-2"].

func (ZoneAttachmentOutput) Vpcs added in v3.27.0

See `vpcs` below.Recommend to use `vpcs`.

func (ZoneAttachmentOutput) ZoneId added in v3.27.0

The name of the Private Zone Record.

type ZoneAttachmentState

type ZoneAttachmentState struct {
	// The language of code.
	Lang pulumi.StringPtrInput
	// The user custom IP address.
	UserClientIp pulumi.StringPtrInput
	// The id List of the VPC with the same region, for example:["vpc-1","vpc-2"].
	VpcIds pulumi.StringArrayInput
	// See `vpcs` below.Recommend to use `vpcs`.
	Vpcs ZoneAttachmentVpcArrayInput
	// The name of the Private Zone Record.
	ZoneId pulumi.StringPtrInput
}

func (ZoneAttachmentState) ElementType

func (ZoneAttachmentState) ElementType() reflect.Type

type ZoneAttachmentVpc

type ZoneAttachmentVpc struct {
	// The region of the vpc. If not set, the current region will instead of.
	RegionId *string `pulumi:"regionId"`
	// The Id of the vpc.
	VpcId string `pulumi:"vpcId"`
}

type ZoneAttachmentVpcArgs

type ZoneAttachmentVpcArgs struct {
	// The region of the vpc. If not set, the current region will instead of.
	RegionId pulumi.StringPtrInput `pulumi:"regionId"`
	// The Id of the vpc.
	VpcId pulumi.StringInput `pulumi:"vpcId"`
}

func (ZoneAttachmentVpcArgs) ElementType

func (ZoneAttachmentVpcArgs) ElementType() reflect.Type

func (ZoneAttachmentVpcArgs) ToZoneAttachmentVpcOutput

func (i ZoneAttachmentVpcArgs) ToZoneAttachmentVpcOutput() ZoneAttachmentVpcOutput

func (ZoneAttachmentVpcArgs) ToZoneAttachmentVpcOutputWithContext

func (i ZoneAttachmentVpcArgs) ToZoneAttachmentVpcOutputWithContext(ctx context.Context) ZoneAttachmentVpcOutput

type ZoneAttachmentVpcArray

type ZoneAttachmentVpcArray []ZoneAttachmentVpcInput

func (ZoneAttachmentVpcArray) ElementType

func (ZoneAttachmentVpcArray) ElementType() reflect.Type

func (ZoneAttachmentVpcArray) ToZoneAttachmentVpcArrayOutput

func (i ZoneAttachmentVpcArray) ToZoneAttachmentVpcArrayOutput() ZoneAttachmentVpcArrayOutput

func (ZoneAttachmentVpcArray) ToZoneAttachmentVpcArrayOutputWithContext

func (i ZoneAttachmentVpcArray) ToZoneAttachmentVpcArrayOutputWithContext(ctx context.Context) ZoneAttachmentVpcArrayOutput

type ZoneAttachmentVpcArrayInput

type ZoneAttachmentVpcArrayInput interface {
	pulumi.Input

	ToZoneAttachmentVpcArrayOutput() ZoneAttachmentVpcArrayOutput
	ToZoneAttachmentVpcArrayOutputWithContext(context.Context) ZoneAttachmentVpcArrayOutput
}

ZoneAttachmentVpcArrayInput is an input type that accepts ZoneAttachmentVpcArray and ZoneAttachmentVpcArrayOutput values. You can construct a concrete instance of `ZoneAttachmentVpcArrayInput` via:

ZoneAttachmentVpcArray{ ZoneAttachmentVpcArgs{...} }

type ZoneAttachmentVpcArrayOutput

type ZoneAttachmentVpcArrayOutput struct{ *pulumi.OutputState }

func (ZoneAttachmentVpcArrayOutput) ElementType

func (ZoneAttachmentVpcArrayOutput) Index

func (ZoneAttachmentVpcArrayOutput) ToZoneAttachmentVpcArrayOutput

func (o ZoneAttachmentVpcArrayOutput) ToZoneAttachmentVpcArrayOutput() ZoneAttachmentVpcArrayOutput

func (ZoneAttachmentVpcArrayOutput) ToZoneAttachmentVpcArrayOutputWithContext

func (o ZoneAttachmentVpcArrayOutput) ToZoneAttachmentVpcArrayOutputWithContext(ctx context.Context) ZoneAttachmentVpcArrayOutput

type ZoneAttachmentVpcInput

type ZoneAttachmentVpcInput interface {
	pulumi.Input

	ToZoneAttachmentVpcOutput() ZoneAttachmentVpcOutput
	ToZoneAttachmentVpcOutputWithContext(context.Context) ZoneAttachmentVpcOutput
}

ZoneAttachmentVpcInput is an input type that accepts ZoneAttachmentVpcArgs and ZoneAttachmentVpcOutput values. You can construct a concrete instance of `ZoneAttachmentVpcInput` via:

ZoneAttachmentVpcArgs{...}

type ZoneAttachmentVpcOutput

type ZoneAttachmentVpcOutput struct{ *pulumi.OutputState }

func (ZoneAttachmentVpcOutput) ElementType

func (ZoneAttachmentVpcOutput) ElementType() reflect.Type

func (ZoneAttachmentVpcOutput) RegionId

The region of the vpc. If not set, the current region will instead of.

func (ZoneAttachmentVpcOutput) ToZoneAttachmentVpcOutput

func (o ZoneAttachmentVpcOutput) ToZoneAttachmentVpcOutput() ZoneAttachmentVpcOutput

func (ZoneAttachmentVpcOutput) ToZoneAttachmentVpcOutputWithContext

func (o ZoneAttachmentVpcOutput) ToZoneAttachmentVpcOutputWithContext(ctx context.Context) ZoneAttachmentVpcOutput

func (ZoneAttachmentVpcOutput) VpcId

The Id of the vpc.

type ZoneInput

type ZoneInput interface {
	pulumi.Input

	ToZoneOutput() ZoneOutput
	ToZoneOutputWithContext(ctx context.Context) ZoneOutput
}

type ZoneMap

type ZoneMap map[string]ZoneInput

func (ZoneMap) ElementType

func (ZoneMap) ElementType() reflect.Type

func (ZoneMap) ToZoneMapOutput

func (i ZoneMap) ToZoneMapOutput() ZoneMapOutput

func (ZoneMap) ToZoneMapOutputWithContext

func (i ZoneMap) ToZoneMapOutputWithContext(ctx context.Context) ZoneMapOutput

type ZoneMapInput

type ZoneMapInput interface {
	pulumi.Input

	ToZoneMapOutput() ZoneMapOutput
	ToZoneMapOutputWithContext(context.Context) ZoneMapOutput
}

ZoneMapInput is an input type that accepts ZoneMap and ZoneMapOutput values. You can construct a concrete instance of `ZoneMapInput` via:

ZoneMap{ "key": ZoneArgs{...} }

type ZoneMapOutput

type ZoneMapOutput struct{ *pulumi.OutputState }

func (ZoneMapOutput) ElementType

func (ZoneMapOutput) ElementType() reflect.Type

func (ZoneMapOutput) MapIndex

func (ZoneMapOutput) ToZoneMapOutput

func (o ZoneMapOutput) ToZoneMapOutput() ZoneMapOutput

func (ZoneMapOutput) ToZoneMapOutputWithContext

func (o ZoneMapOutput) ToZoneMapOutputWithContext(ctx context.Context) ZoneMapOutput

type ZoneOutput

type ZoneOutput struct{ *pulumi.OutputState }

func (ZoneOutput) ElementType

func (ZoneOutput) ElementType() reflect.Type

func (ZoneOutput) IsPtr added in v3.27.0

func (o ZoneOutput) IsPtr() pulumi.BoolOutput

Whether the Private Zone is ptr.

func (ZoneOutput) Lang added in v3.27.0

The language. Valid values: "zh", "en", "jp".

func (ZoneOutput) Name deprecated added in v3.27.0

func (o ZoneOutput) Name() pulumi.StringOutput

The name of the Private Zone. The `name` has been deprecated from provider version 1.107.0. Please use 'zone_name' instead.

Deprecated: Field 'name' has been deprecated from version 1.107.0. Use 'zone_name' instead.

func (ZoneOutput) ProxyPattern added in v3.27.0

func (o ZoneOutput) ProxyPattern() pulumi.StringPtrOutput

The recursive DNS proxy. Valid values:

  • ZONE: indicates that the recursive DNS proxy is disabled.
  • RECORD: indicates that the recursive DNS proxy is enabled. Default to "ZONE".

func (ZoneOutput) RecordCount added in v3.27.0

func (o ZoneOutput) RecordCount() pulumi.IntOutput

The count of the Private Zone Record.

func (ZoneOutput) Remark added in v3.27.0

func (o ZoneOutput) Remark() pulumi.StringPtrOutput

The remark of the Private Zone.

func (ZoneOutput) ResourceGroupId added in v3.27.0

func (o ZoneOutput) ResourceGroupId() pulumi.StringOutput

The Id of resource group which the Private Zone belongs.

func (ZoneOutput) SyncStatus added in v3.27.0

func (o ZoneOutput) SyncStatus() pulumi.StringPtrOutput

The status of the host synchronization task. Valid values: `ON`,`OFF`. **NOTE:** You can update the `syncStatus` to enable/disable the host synchronization task.

func (ZoneOutput) Tags added in v3.45.0

func (o ZoneOutput) Tags() pulumi.MapOutput

The tags of the Private Zone.

func (ZoneOutput) ToZoneOutput

func (o ZoneOutput) ToZoneOutput() ZoneOutput

func (ZoneOutput) ToZoneOutputWithContext

func (o ZoneOutput) ToZoneOutputWithContext(ctx context.Context) ZoneOutput

func (ZoneOutput) UserClientIp added in v3.27.0

func (o ZoneOutput) UserClientIp() pulumi.StringPtrOutput

The IP address of the client.

func (ZoneOutput) UserInfos added in v3.27.0

func (o ZoneOutput) UserInfos() ZoneUserInfoArrayOutput

The user information of the host synchronization task. See `userInfo` below.

func (ZoneOutput) ZoneName added in v3.27.0

func (o ZoneOutput) ZoneName() pulumi.StringOutput

The zoneName of the Private Zone. The `zoneName` is required when the value of the `name` is Empty.

type ZoneRecord

type ZoneRecord struct {
	pulumi.CustomResourceState

	// User language.
	Lang pulumi.StringPtrOutput `pulumi:"lang"`
	// The priority of the Private Zone Record. At present, only can "MX" record support it. Valid values: [1-99]. Default to 1.
	Priority pulumi.IntPtrOutput `pulumi:"priority"`
	// The Private Zone Record ID.
	RecordId pulumi.StringOutput `pulumi:"recordId"`
	// The remark of the Private Zone Record.
	Remark pulumi.StringPtrOutput `pulumi:"remark"`
	// The resource record of the Private Zone Record.
	//
	// Deprecated: Field 'resource_record' has been deprecated from version 1.109.0. Use 'rr' instead.
	ResourceRecord pulumi.StringOutput `pulumi:"resourceRecord"`
	// The rr of the Private Zone Record.
	Rr pulumi.StringOutput `pulumi:"rr"`
	// Resolve record status. Value:
	// - ENABLE: enable resolution.
	// - DISABLE: pause parsing.
	Status pulumi.StringPtrOutput `pulumi:"status"`
	// The ttl of the Private Zone Record. Default to `60`.
	Ttl pulumi.IntPtrOutput `pulumi:"ttl"`
	// The type of the Private Zone Record. Valid values: A, CNAME, TXT, MX, PTR, SRV.
	Type         pulumi.StringOutput    `pulumi:"type"`
	UserClientIp pulumi.StringPtrOutput `pulumi:"userClientIp"`
	// The value of the Private Zone Record.
	Value pulumi.StringOutput `pulumi:"value"`
	// The name of the Private Zone Record.
	ZoneId pulumi.StringOutput `pulumi:"zoneId"`
}

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/pvtz"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		zone, err := pvtz.NewZone(ctx, "zone", &pvtz.ZoneArgs{
			Name: pulumi.String("foo.test.com"),
		})
		if err != nil {
			return err
		}
		_, err = pvtz.NewZoneRecord(ctx, "foo", &pvtz.ZoneRecordArgs{
			ZoneId: zone.ID(),
			Rr:     pulumi.String("www"),
			Type:   pulumi.String("CNAME"),
			Value:  pulumi.String("bbb.test.com"),
			Ttl:    pulumi.Int(60),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Private Zone Record can be imported using the id, e.g.

```sh $ pulumi import alicloud:pvtz/zoneRecord:ZoneRecord example abc123456 ```

func GetZoneRecord

func GetZoneRecord(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ZoneRecordState, opts ...pulumi.ResourceOption) (*ZoneRecord, error)

GetZoneRecord gets an existing ZoneRecord 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 NewZoneRecord

func NewZoneRecord(ctx *pulumi.Context,
	name string, args *ZoneRecordArgs, opts ...pulumi.ResourceOption) (*ZoneRecord, error)

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

func (*ZoneRecord) ElementType

func (*ZoneRecord) ElementType() reflect.Type

func (*ZoneRecord) ToZoneRecordOutput

func (i *ZoneRecord) ToZoneRecordOutput() ZoneRecordOutput

func (*ZoneRecord) ToZoneRecordOutputWithContext

func (i *ZoneRecord) ToZoneRecordOutputWithContext(ctx context.Context) ZoneRecordOutput

type ZoneRecordArgs

type ZoneRecordArgs struct {
	// User language.
	Lang pulumi.StringPtrInput
	// The priority of the Private Zone Record. At present, only can "MX" record support it. Valid values: [1-99]. Default to 1.
	Priority pulumi.IntPtrInput
	// The remark of the Private Zone Record.
	Remark pulumi.StringPtrInput
	// The resource record of the Private Zone Record.
	//
	// Deprecated: Field 'resource_record' has been deprecated from version 1.109.0. Use 'rr' instead.
	ResourceRecord pulumi.StringPtrInput
	// The rr of the Private Zone Record.
	Rr pulumi.StringPtrInput
	// Resolve record status. Value:
	// - ENABLE: enable resolution.
	// - DISABLE: pause parsing.
	Status pulumi.StringPtrInput
	// The ttl of the Private Zone Record. Default to `60`.
	Ttl pulumi.IntPtrInput
	// The type of the Private Zone Record. Valid values: A, CNAME, TXT, MX, PTR, SRV.
	Type         pulumi.StringInput
	UserClientIp pulumi.StringPtrInput
	// The value of the Private Zone Record.
	Value pulumi.StringInput
	// The name of the Private Zone Record.
	ZoneId pulumi.StringInput
}

The set of arguments for constructing a ZoneRecord resource.

func (ZoneRecordArgs) ElementType

func (ZoneRecordArgs) ElementType() reflect.Type

type ZoneRecordArray

type ZoneRecordArray []ZoneRecordInput

func (ZoneRecordArray) ElementType

func (ZoneRecordArray) ElementType() reflect.Type

func (ZoneRecordArray) ToZoneRecordArrayOutput

func (i ZoneRecordArray) ToZoneRecordArrayOutput() ZoneRecordArrayOutput

func (ZoneRecordArray) ToZoneRecordArrayOutputWithContext

func (i ZoneRecordArray) ToZoneRecordArrayOutputWithContext(ctx context.Context) ZoneRecordArrayOutput

type ZoneRecordArrayInput

type ZoneRecordArrayInput interface {
	pulumi.Input

	ToZoneRecordArrayOutput() ZoneRecordArrayOutput
	ToZoneRecordArrayOutputWithContext(context.Context) ZoneRecordArrayOutput
}

ZoneRecordArrayInput is an input type that accepts ZoneRecordArray and ZoneRecordArrayOutput values. You can construct a concrete instance of `ZoneRecordArrayInput` via:

ZoneRecordArray{ ZoneRecordArgs{...} }

type ZoneRecordArrayOutput

type ZoneRecordArrayOutput struct{ *pulumi.OutputState }

func (ZoneRecordArrayOutput) ElementType

func (ZoneRecordArrayOutput) ElementType() reflect.Type

func (ZoneRecordArrayOutput) Index

func (ZoneRecordArrayOutput) ToZoneRecordArrayOutput

func (o ZoneRecordArrayOutput) ToZoneRecordArrayOutput() ZoneRecordArrayOutput

func (ZoneRecordArrayOutput) ToZoneRecordArrayOutputWithContext

func (o ZoneRecordArrayOutput) ToZoneRecordArrayOutputWithContext(ctx context.Context) ZoneRecordArrayOutput

type ZoneRecordInput

type ZoneRecordInput interface {
	pulumi.Input

	ToZoneRecordOutput() ZoneRecordOutput
	ToZoneRecordOutputWithContext(ctx context.Context) ZoneRecordOutput
}

type ZoneRecordMap

type ZoneRecordMap map[string]ZoneRecordInput

func (ZoneRecordMap) ElementType

func (ZoneRecordMap) ElementType() reflect.Type

func (ZoneRecordMap) ToZoneRecordMapOutput

func (i ZoneRecordMap) ToZoneRecordMapOutput() ZoneRecordMapOutput

func (ZoneRecordMap) ToZoneRecordMapOutputWithContext

func (i ZoneRecordMap) ToZoneRecordMapOutputWithContext(ctx context.Context) ZoneRecordMapOutput

type ZoneRecordMapInput

type ZoneRecordMapInput interface {
	pulumi.Input

	ToZoneRecordMapOutput() ZoneRecordMapOutput
	ToZoneRecordMapOutputWithContext(context.Context) ZoneRecordMapOutput
}

ZoneRecordMapInput is an input type that accepts ZoneRecordMap and ZoneRecordMapOutput values. You can construct a concrete instance of `ZoneRecordMapInput` via:

ZoneRecordMap{ "key": ZoneRecordArgs{...} }

type ZoneRecordMapOutput

type ZoneRecordMapOutput struct{ *pulumi.OutputState }

func (ZoneRecordMapOutput) ElementType

func (ZoneRecordMapOutput) ElementType() reflect.Type

func (ZoneRecordMapOutput) MapIndex

func (ZoneRecordMapOutput) ToZoneRecordMapOutput

func (o ZoneRecordMapOutput) ToZoneRecordMapOutput() ZoneRecordMapOutput

func (ZoneRecordMapOutput) ToZoneRecordMapOutputWithContext

func (o ZoneRecordMapOutput) ToZoneRecordMapOutputWithContext(ctx context.Context) ZoneRecordMapOutput

type ZoneRecordOutput

type ZoneRecordOutput struct{ *pulumi.OutputState }

func (ZoneRecordOutput) ElementType

func (ZoneRecordOutput) ElementType() reflect.Type

func (ZoneRecordOutput) Lang added in v3.27.0

User language.

func (ZoneRecordOutput) Priority added in v3.27.0

func (o ZoneRecordOutput) Priority() pulumi.IntPtrOutput

The priority of the Private Zone Record. At present, only can "MX" record support it. Valid values: [1-99]. Default to 1.

func (ZoneRecordOutput) RecordId added in v3.27.0

func (o ZoneRecordOutput) RecordId() pulumi.StringOutput

The Private Zone Record ID.

func (ZoneRecordOutput) Remark added in v3.27.0

The remark of the Private Zone Record.

func (ZoneRecordOutput) ResourceRecord deprecated added in v3.27.0

func (o ZoneRecordOutput) ResourceRecord() pulumi.StringOutput

The resource record of the Private Zone Record.

Deprecated: Field 'resource_record' has been deprecated from version 1.109.0. Use 'rr' instead.

func (ZoneRecordOutput) Rr added in v3.27.0

The rr of the Private Zone Record.

func (ZoneRecordOutput) Status added in v3.27.0

Resolve record status. Value: - ENABLE: enable resolution. - DISABLE: pause parsing.

func (ZoneRecordOutput) ToZoneRecordOutput

func (o ZoneRecordOutput) ToZoneRecordOutput() ZoneRecordOutput

func (ZoneRecordOutput) ToZoneRecordOutputWithContext

func (o ZoneRecordOutput) ToZoneRecordOutputWithContext(ctx context.Context) ZoneRecordOutput

func (ZoneRecordOutput) Ttl added in v3.27.0

The ttl of the Private Zone Record. Default to `60`.

func (ZoneRecordOutput) Type added in v3.27.0

The type of the Private Zone Record. Valid values: A, CNAME, TXT, MX, PTR, SRV.

func (ZoneRecordOutput) UserClientIp added in v3.27.0

func (o ZoneRecordOutput) UserClientIp() pulumi.StringPtrOutput

func (ZoneRecordOutput) Value added in v3.27.0

The value of the Private Zone Record.

func (ZoneRecordOutput) ZoneId added in v3.27.0

The name of the Private Zone Record.

type ZoneRecordState

type ZoneRecordState struct {
	// User language.
	Lang pulumi.StringPtrInput
	// The priority of the Private Zone Record. At present, only can "MX" record support it. Valid values: [1-99]. Default to 1.
	Priority pulumi.IntPtrInput
	// The Private Zone Record ID.
	RecordId pulumi.StringPtrInput
	// The remark of the Private Zone Record.
	Remark pulumi.StringPtrInput
	// The resource record of the Private Zone Record.
	//
	// Deprecated: Field 'resource_record' has been deprecated from version 1.109.0. Use 'rr' instead.
	ResourceRecord pulumi.StringPtrInput
	// The rr of the Private Zone Record.
	Rr pulumi.StringPtrInput
	// Resolve record status. Value:
	// - ENABLE: enable resolution.
	// - DISABLE: pause parsing.
	Status pulumi.StringPtrInput
	// The ttl of the Private Zone Record. Default to `60`.
	Ttl pulumi.IntPtrInput
	// The type of the Private Zone Record. Valid values: A, CNAME, TXT, MX, PTR, SRV.
	Type         pulumi.StringPtrInput
	UserClientIp pulumi.StringPtrInput
	// The value of the Private Zone Record.
	Value pulumi.StringPtrInput
	// The name of the Private Zone Record.
	ZoneId pulumi.StringPtrInput
}

func (ZoneRecordState) ElementType

func (ZoneRecordState) ElementType() reflect.Type

type ZoneState

type ZoneState struct {
	// Whether the Private Zone is ptr.
	IsPtr pulumi.BoolPtrInput
	// The language. Valid values: "zh", "en", "jp".
	Lang pulumi.StringPtrInput
	// The name of the Private Zone. The `name` has been deprecated from provider version 1.107.0. Please use 'zone_name' instead.
	//
	// Deprecated: Field 'name' has been deprecated from version 1.107.0. Use 'zone_name' instead.
	Name pulumi.StringPtrInput
	// The recursive DNS proxy. Valid values:
	// - ZONE: indicates that the recursive DNS proxy is disabled.
	// - RECORD: indicates that the recursive DNS proxy is enabled.
	//   Default to "ZONE".
	ProxyPattern pulumi.StringPtrInput
	// The count of the Private Zone Record.
	RecordCount pulumi.IntPtrInput
	// The remark of the Private Zone.
	Remark pulumi.StringPtrInput
	// The Id of resource group which the Private Zone belongs.
	ResourceGroupId pulumi.StringPtrInput
	// The status of the host synchronization task. Valid values:  `ON`,`OFF`. **NOTE:** You can update the `syncStatus` to enable/disable the host synchronization task.
	SyncStatus pulumi.StringPtrInput
	// The tags of the Private Zone.
	Tags pulumi.MapInput
	// The IP address of the client.
	UserClientIp pulumi.StringPtrInput
	// The user information of the host synchronization task. See `userInfo` below.
	UserInfos ZoneUserInfoArrayInput
	// The zoneName of the Private Zone. The `zoneName` is required when the value of the `name`  is Empty.
	ZoneName pulumi.StringPtrInput
}

func (ZoneState) ElementType

func (ZoneState) ElementType() reflect.Type

type ZoneUserInfo added in v3.11.0

type ZoneUserInfo struct {
	// The list of the region IDs.
	RegionIds []string `pulumi:"regionIds"`
	// The user ID belonging to the region is used for cross-account synchronization scenarios.
	UserId *string `pulumi:"userId"`
}

type ZoneUserInfoArgs added in v3.11.0

type ZoneUserInfoArgs struct {
	// The list of the region IDs.
	RegionIds pulumi.StringArrayInput `pulumi:"regionIds"`
	// The user ID belonging to the region is used for cross-account synchronization scenarios.
	UserId pulumi.StringPtrInput `pulumi:"userId"`
}

func (ZoneUserInfoArgs) ElementType added in v3.11.0

func (ZoneUserInfoArgs) ElementType() reflect.Type

func (ZoneUserInfoArgs) ToZoneUserInfoOutput added in v3.11.0

func (i ZoneUserInfoArgs) ToZoneUserInfoOutput() ZoneUserInfoOutput

func (ZoneUserInfoArgs) ToZoneUserInfoOutputWithContext added in v3.11.0

func (i ZoneUserInfoArgs) ToZoneUserInfoOutputWithContext(ctx context.Context) ZoneUserInfoOutput

type ZoneUserInfoArray added in v3.11.0

type ZoneUserInfoArray []ZoneUserInfoInput

func (ZoneUserInfoArray) ElementType added in v3.11.0

func (ZoneUserInfoArray) ElementType() reflect.Type

func (ZoneUserInfoArray) ToZoneUserInfoArrayOutput added in v3.11.0

func (i ZoneUserInfoArray) ToZoneUserInfoArrayOutput() ZoneUserInfoArrayOutput

func (ZoneUserInfoArray) ToZoneUserInfoArrayOutputWithContext added in v3.11.0

func (i ZoneUserInfoArray) ToZoneUserInfoArrayOutputWithContext(ctx context.Context) ZoneUserInfoArrayOutput

type ZoneUserInfoArrayInput added in v3.11.0

type ZoneUserInfoArrayInput interface {
	pulumi.Input

	ToZoneUserInfoArrayOutput() ZoneUserInfoArrayOutput
	ToZoneUserInfoArrayOutputWithContext(context.Context) ZoneUserInfoArrayOutput
}

ZoneUserInfoArrayInput is an input type that accepts ZoneUserInfoArray and ZoneUserInfoArrayOutput values. You can construct a concrete instance of `ZoneUserInfoArrayInput` via:

ZoneUserInfoArray{ ZoneUserInfoArgs{...} }

type ZoneUserInfoArrayOutput added in v3.11.0

type ZoneUserInfoArrayOutput struct{ *pulumi.OutputState }

func (ZoneUserInfoArrayOutput) ElementType added in v3.11.0

func (ZoneUserInfoArrayOutput) ElementType() reflect.Type

func (ZoneUserInfoArrayOutput) Index added in v3.11.0

func (ZoneUserInfoArrayOutput) ToZoneUserInfoArrayOutput added in v3.11.0

func (o ZoneUserInfoArrayOutput) ToZoneUserInfoArrayOutput() ZoneUserInfoArrayOutput

func (ZoneUserInfoArrayOutput) ToZoneUserInfoArrayOutputWithContext added in v3.11.0

func (o ZoneUserInfoArrayOutput) ToZoneUserInfoArrayOutputWithContext(ctx context.Context) ZoneUserInfoArrayOutput

type ZoneUserInfoInput added in v3.11.0

type ZoneUserInfoInput interface {
	pulumi.Input

	ToZoneUserInfoOutput() ZoneUserInfoOutput
	ToZoneUserInfoOutputWithContext(context.Context) ZoneUserInfoOutput
}

ZoneUserInfoInput is an input type that accepts ZoneUserInfoArgs and ZoneUserInfoOutput values. You can construct a concrete instance of `ZoneUserInfoInput` via:

ZoneUserInfoArgs{...}

type ZoneUserInfoOutput added in v3.11.0

type ZoneUserInfoOutput struct{ *pulumi.OutputState }

func (ZoneUserInfoOutput) ElementType added in v3.11.0

func (ZoneUserInfoOutput) ElementType() reflect.Type

func (ZoneUserInfoOutput) RegionIds added in v3.11.0

The list of the region IDs.

func (ZoneUserInfoOutput) ToZoneUserInfoOutput added in v3.11.0

func (o ZoneUserInfoOutput) ToZoneUserInfoOutput() ZoneUserInfoOutput

func (ZoneUserInfoOutput) ToZoneUserInfoOutputWithContext added in v3.11.0

func (o ZoneUserInfoOutput) ToZoneUserInfoOutputWithContext(ctx context.Context) ZoneUserInfoOutput

func (ZoneUserInfoOutput) UserId added in v3.11.0

The user ID belonging to the region is used for cross-account synchronization scenarios.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL