pvtz

package
v2.35.1 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2021 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 GetServiceArgs added in v2.34.0

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".
	Enable *string `pulumi:"enable"`
}

A collection of arguments for invoking getService.

type GetServiceResult added in v2.34.0

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 added in v2.34.0

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/v2/go/alicloud/pvtz"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

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

```

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"`
	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 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 int `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.IntInput `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 added in v2.28.0

RecordId of the Private Zone Record.

func (GetZoneRecordsRecordOutput) Remark added in v2.28.0

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 added in v2.28.0

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/v2/go/alicloud/pvtz"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

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

```

type GetZonesArgs

type GetZonesArgs struct {
	// -(Optional, Available 1.107.0+) 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"`
	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 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/v2/go/alicloud/pvtz"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

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

```

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 added in v2.28.0

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 added in v2.28.0

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 added in v2.28.0

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 added in v2.28.0

func (o GetZonesZoneOutput) ResourceGroupId() pulumi.StringOutput

resource_group_id for zone resourceGroupId.

func (GetZonesZoneOutput) SlaveDns added in v2.28.0

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 added in v2.28.0

func (o GetZonesZoneOutput) UpdateTimestamp() pulumi.IntOutput

Time of update of the Private Zone.

func (GetZonesZoneOutput) ZoneId added in v2.28.0

ZoneId of the Private Zone.

func (GetZonesZoneOutput) ZoneName added in v2.28.0

func (o GetZonesZoneOutput) ZoneName() pulumi.StringOutput

ZoneName of the Private Zone.

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.
	//
	// 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.StringPtrOutput `pulumi:"resourceGroupId"`
	// The IP address of the client.
	UserClientIp pulumi.StringPtrOutput `pulumi:"userClientIp"`
	// The zoneName of the Private Zone.
	ZoneName pulumi.StringOutput `pulumi:"zoneName"`
}

## 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 added in v2.25.1

func (*Zone) ElementType() reflect.Type

func (*Zone) ToZoneOutput added in v2.25.1

func (i *Zone) ToZoneOutput() ZoneOutput

func (*Zone) ToZoneOutputWithContext added in v2.25.1

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

func (*Zone) ToZonePtrOutput added in v2.35.1

func (i *Zone) ToZonePtrOutput() ZonePtrOutput

func (*Zone) ToZonePtrOutputWithContext added in v2.35.1

func (i *Zone) ToZonePtrOutputWithContext(ctx context.Context) ZonePtrOutput

type ZoneArgs

type ZoneArgs struct {
	// The language. Valid values: "zh", "en", "jp".
	Lang pulumi.StringPtrInput
	// The name of the Private Zone.
	//
	// 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 IP address of the client.
	UserClientIp pulumi.StringPtrInput
	// The zoneName of the Private Zone.
	ZoneName pulumi.StringPtrInput
}

The set of arguments for constructing a Zone resource.

func (ZoneArgs) ElementType

func (ZoneArgs) ElementType() reflect.Type

type ZoneArray added in v2.35.1

type ZoneArray []ZoneInput

func (ZoneArray) ElementType added in v2.35.1

func (ZoneArray) ElementType() reflect.Type

func (ZoneArray) ToZoneArrayOutput added in v2.35.1

func (i ZoneArray) ToZoneArrayOutput() ZoneArrayOutput

func (ZoneArray) ToZoneArrayOutputWithContext added in v2.35.1

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

type ZoneArrayInput added in v2.35.1

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 added in v2.35.1

type ZoneArrayOutput struct{ *pulumi.OutputState }

func (ZoneArrayOutput) ElementType added in v2.35.1

func (ZoneArrayOutput) ElementType() reflect.Type

func (ZoneArrayOutput) Index added in v2.35.1

func (ZoneArrayOutput) ToZoneArrayOutput added in v2.35.1

func (o ZoneArrayOutput) ToZoneArrayOutput() ZoneArrayOutput

func (ZoneArrayOutput) ToZoneArrayOutputWithContext added in v2.35.1

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"`
	// The List of the VPC:
	Vpcs ZoneAttachmentVpcArrayOutput `pulumi:"vpcs"`
	// The name of the Private Zone Record.
	ZoneId pulumi.StringOutput `pulumi:"zoneId"`
}

## 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 added in v2.25.1

func (*ZoneAttachment) ElementType() reflect.Type

func (*ZoneAttachment) ToZoneAttachmentOutput added in v2.25.1

func (i *ZoneAttachment) ToZoneAttachmentOutput() ZoneAttachmentOutput

func (*ZoneAttachment) ToZoneAttachmentOutputWithContext added in v2.25.1

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

func (*ZoneAttachment) ToZoneAttachmentPtrOutput added in v2.35.1

func (i *ZoneAttachment) ToZoneAttachmentPtrOutput() ZoneAttachmentPtrOutput

func (*ZoneAttachment) ToZoneAttachmentPtrOutputWithContext added in v2.35.1

func (i *ZoneAttachment) ToZoneAttachmentPtrOutputWithContext(ctx context.Context) ZoneAttachmentPtrOutput

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
	// The List of the VPC:
	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 added in v2.35.1

type ZoneAttachmentArray []ZoneAttachmentInput

func (ZoneAttachmentArray) ElementType added in v2.35.1

func (ZoneAttachmentArray) ElementType() reflect.Type

func (ZoneAttachmentArray) ToZoneAttachmentArrayOutput added in v2.35.1

func (i ZoneAttachmentArray) ToZoneAttachmentArrayOutput() ZoneAttachmentArrayOutput

func (ZoneAttachmentArray) ToZoneAttachmentArrayOutputWithContext added in v2.35.1

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

type ZoneAttachmentArrayInput added in v2.35.1

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 added in v2.35.1

type ZoneAttachmentArrayOutput struct{ *pulumi.OutputState }

func (ZoneAttachmentArrayOutput) ElementType added in v2.35.1

func (ZoneAttachmentArrayOutput) ElementType() reflect.Type

func (ZoneAttachmentArrayOutput) Index added in v2.35.1

func (ZoneAttachmentArrayOutput) ToZoneAttachmentArrayOutput added in v2.35.1

func (o ZoneAttachmentArrayOutput) ToZoneAttachmentArrayOutput() ZoneAttachmentArrayOutput

func (ZoneAttachmentArrayOutput) ToZoneAttachmentArrayOutputWithContext added in v2.35.1

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

type ZoneAttachmentInput added in v2.25.1

type ZoneAttachmentInput interface {
	pulumi.Input

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

type ZoneAttachmentMap added in v2.35.1

type ZoneAttachmentMap map[string]ZoneAttachmentInput

func (ZoneAttachmentMap) ElementType added in v2.35.1

func (ZoneAttachmentMap) ElementType() reflect.Type

func (ZoneAttachmentMap) ToZoneAttachmentMapOutput added in v2.35.1

func (i ZoneAttachmentMap) ToZoneAttachmentMapOutput() ZoneAttachmentMapOutput

func (ZoneAttachmentMap) ToZoneAttachmentMapOutputWithContext added in v2.35.1

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

type ZoneAttachmentMapInput added in v2.35.1

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 added in v2.35.1

type ZoneAttachmentMapOutput struct{ *pulumi.OutputState }

func (ZoneAttachmentMapOutput) ElementType added in v2.35.1

func (ZoneAttachmentMapOutput) ElementType() reflect.Type

func (ZoneAttachmentMapOutput) MapIndex added in v2.35.1

func (ZoneAttachmentMapOutput) ToZoneAttachmentMapOutput added in v2.35.1

func (o ZoneAttachmentMapOutput) ToZoneAttachmentMapOutput() ZoneAttachmentMapOutput

func (ZoneAttachmentMapOutput) ToZoneAttachmentMapOutputWithContext added in v2.35.1

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

type ZoneAttachmentOutput added in v2.25.1

type ZoneAttachmentOutput struct {
	*pulumi.OutputState
}

func (ZoneAttachmentOutput) ElementType added in v2.25.1

func (ZoneAttachmentOutput) ElementType() reflect.Type

func (ZoneAttachmentOutput) ToZoneAttachmentOutput added in v2.25.1

func (o ZoneAttachmentOutput) ToZoneAttachmentOutput() ZoneAttachmentOutput

func (ZoneAttachmentOutput) ToZoneAttachmentOutputWithContext added in v2.25.1

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

func (ZoneAttachmentOutput) ToZoneAttachmentPtrOutput added in v2.35.1

func (o ZoneAttachmentOutput) ToZoneAttachmentPtrOutput() ZoneAttachmentPtrOutput

func (ZoneAttachmentOutput) ToZoneAttachmentPtrOutputWithContext added in v2.35.1

func (o ZoneAttachmentOutput) ToZoneAttachmentPtrOutputWithContext(ctx context.Context) ZoneAttachmentPtrOutput

type ZoneAttachmentPtrInput added in v2.35.1

type ZoneAttachmentPtrInput interface {
	pulumi.Input

	ToZoneAttachmentPtrOutput() ZoneAttachmentPtrOutput
	ToZoneAttachmentPtrOutputWithContext(ctx context.Context) ZoneAttachmentPtrOutput
}

type ZoneAttachmentPtrOutput added in v2.35.1

type ZoneAttachmentPtrOutput struct {
	*pulumi.OutputState
}

func (ZoneAttachmentPtrOutput) ElementType added in v2.35.1

func (ZoneAttachmentPtrOutput) ElementType() reflect.Type

func (ZoneAttachmentPtrOutput) ToZoneAttachmentPtrOutput added in v2.35.1

func (o ZoneAttachmentPtrOutput) ToZoneAttachmentPtrOutput() ZoneAttachmentPtrOutput

func (ZoneAttachmentPtrOutput) ToZoneAttachmentPtrOutputWithContext added in v2.35.1

func (o ZoneAttachmentPtrOutput) ToZoneAttachmentPtrOutputWithContext(ctx context.Context) ZoneAttachmentPtrOutput

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
	// The List of the VPC:
	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 added in v2.25.1

type ZoneInput interface {
	pulumi.Input

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

type ZoneMap added in v2.35.1

type ZoneMap map[string]ZoneInput

func (ZoneMap) ElementType added in v2.35.1

func (ZoneMap) ElementType() reflect.Type

func (ZoneMap) ToZoneMapOutput added in v2.35.1

func (i ZoneMap) ToZoneMapOutput() ZoneMapOutput

func (ZoneMap) ToZoneMapOutputWithContext added in v2.35.1

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

type ZoneMapInput added in v2.35.1

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 added in v2.35.1

type ZoneMapOutput struct{ *pulumi.OutputState }

func (ZoneMapOutput) ElementType added in v2.35.1

func (ZoneMapOutput) ElementType() reflect.Type

func (ZoneMapOutput) MapIndex added in v2.35.1

func (ZoneMapOutput) ToZoneMapOutput added in v2.35.1

func (o ZoneMapOutput) ToZoneMapOutput() ZoneMapOutput

func (ZoneMapOutput) ToZoneMapOutputWithContext added in v2.35.1

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

type ZoneOutput added in v2.25.1

type ZoneOutput struct {
	*pulumi.OutputState
}

func (ZoneOutput) ElementType added in v2.25.1

func (ZoneOutput) ElementType() reflect.Type

func (ZoneOutput) ToZoneOutput added in v2.25.1

func (o ZoneOutput) ToZoneOutput() ZoneOutput

func (ZoneOutput) ToZoneOutputWithContext added in v2.25.1

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

func (ZoneOutput) ToZonePtrOutput added in v2.35.1

func (o ZoneOutput) ToZonePtrOutput() ZonePtrOutput

func (ZoneOutput) ToZonePtrOutputWithContext added in v2.35.1

func (o ZoneOutput) ToZonePtrOutputWithContext(ctx context.Context) ZonePtrOutput

type ZonePtrInput added in v2.35.1

type ZonePtrInput interface {
	pulumi.Input

	ToZonePtrOutput() ZonePtrOutput
	ToZonePtrOutputWithContext(ctx context.Context) ZonePtrOutput
}

type ZonePtrOutput added in v2.35.1

type ZonePtrOutput struct {
	*pulumi.OutputState
}

func (ZonePtrOutput) ElementType added in v2.35.1

func (ZonePtrOutput) ElementType() reflect.Type

func (ZonePtrOutput) ToZonePtrOutput added in v2.35.1

func (o ZonePtrOutput) ToZonePtrOutput() ZonePtrOutput

func (ZonePtrOutput) ToZonePtrOutputWithContext added in v2.35.1

func (o ZonePtrOutput) ToZonePtrOutputWithContext(ctx context.Context) ZonePtrOutput

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.IntOutput `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"`
}

## 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 added in v2.25.1

func (*ZoneRecord) ElementType() reflect.Type

func (*ZoneRecord) ToZoneRecordOutput added in v2.25.1

func (i *ZoneRecord) ToZoneRecordOutput() ZoneRecordOutput

func (*ZoneRecord) ToZoneRecordOutputWithContext added in v2.25.1

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

func (*ZoneRecord) ToZoneRecordPtrOutput added in v2.35.1

func (i *ZoneRecord) ToZoneRecordPtrOutput() ZoneRecordPtrOutput

func (*ZoneRecord) ToZoneRecordPtrOutputWithContext added in v2.35.1

func (i *ZoneRecord) ToZoneRecordPtrOutputWithContext(ctx context.Context) ZoneRecordPtrOutput

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 added in v2.35.1

type ZoneRecordArray []ZoneRecordInput

func (ZoneRecordArray) ElementType added in v2.35.1

func (ZoneRecordArray) ElementType() reflect.Type

func (ZoneRecordArray) ToZoneRecordArrayOutput added in v2.35.1

func (i ZoneRecordArray) ToZoneRecordArrayOutput() ZoneRecordArrayOutput

func (ZoneRecordArray) ToZoneRecordArrayOutputWithContext added in v2.35.1

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

type ZoneRecordArrayInput added in v2.35.1

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 added in v2.35.1

type ZoneRecordArrayOutput struct{ *pulumi.OutputState }

func (ZoneRecordArrayOutput) ElementType added in v2.35.1

func (ZoneRecordArrayOutput) ElementType() reflect.Type

func (ZoneRecordArrayOutput) Index added in v2.35.1

func (ZoneRecordArrayOutput) ToZoneRecordArrayOutput added in v2.35.1

func (o ZoneRecordArrayOutput) ToZoneRecordArrayOutput() ZoneRecordArrayOutput

func (ZoneRecordArrayOutput) ToZoneRecordArrayOutputWithContext added in v2.35.1

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

type ZoneRecordInput added in v2.25.1

type ZoneRecordInput interface {
	pulumi.Input

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

type ZoneRecordMap added in v2.35.1

type ZoneRecordMap map[string]ZoneRecordInput

func (ZoneRecordMap) ElementType added in v2.35.1

func (ZoneRecordMap) ElementType() reflect.Type

func (ZoneRecordMap) ToZoneRecordMapOutput added in v2.35.1

func (i ZoneRecordMap) ToZoneRecordMapOutput() ZoneRecordMapOutput

func (ZoneRecordMap) ToZoneRecordMapOutputWithContext added in v2.35.1

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

type ZoneRecordMapInput added in v2.35.1

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 added in v2.35.1

type ZoneRecordMapOutput struct{ *pulumi.OutputState }

func (ZoneRecordMapOutput) ElementType added in v2.35.1

func (ZoneRecordMapOutput) ElementType() reflect.Type

func (ZoneRecordMapOutput) MapIndex added in v2.35.1

func (ZoneRecordMapOutput) ToZoneRecordMapOutput added in v2.35.1

func (o ZoneRecordMapOutput) ToZoneRecordMapOutput() ZoneRecordMapOutput

func (ZoneRecordMapOutput) ToZoneRecordMapOutputWithContext added in v2.35.1

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

type ZoneRecordOutput added in v2.25.1

type ZoneRecordOutput struct {
	*pulumi.OutputState
}

func (ZoneRecordOutput) ElementType added in v2.25.1

func (ZoneRecordOutput) ElementType() reflect.Type

func (ZoneRecordOutput) ToZoneRecordOutput added in v2.25.1

func (o ZoneRecordOutput) ToZoneRecordOutput() ZoneRecordOutput

func (ZoneRecordOutput) ToZoneRecordOutputWithContext added in v2.25.1

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

func (ZoneRecordOutput) ToZoneRecordPtrOutput added in v2.35.1

func (o ZoneRecordOutput) ToZoneRecordPtrOutput() ZoneRecordPtrOutput

func (ZoneRecordOutput) ToZoneRecordPtrOutputWithContext added in v2.35.1

func (o ZoneRecordOutput) ToZoneRecordPtrOutputWithContext(ctx context.Context) ZoneRecordPtrOutput

type ZoneRecordPtrInput added in v2.35.1

type ZoneRecordPtrInput interface {
	pulumi.Input

	ToZoneRecordPtrOutput() ZoneRecordPtrOutput
	ToZoneRecordPtrOutputWithContext(ctx context.Context) ZoneRecordPtrOutput
}

type ZoneRecordPtrOutput added in v2.35.1

type ZoneRecordPtrOutput struct {
	*pulumi.OutputState
}

func (ZoneRecordPtrOutput) ElementType added in v2.35.1

func (ZoneRecordPtrOutput) ElementType() reflect.Type

func (ZoneRecordPtrOutput) ToZoneRecordPtrOutput added in v2.35.1

func (o ZoneRecordPtrOutput) ToZoneRecordPtrOutput() ZoneRecordPtrOutput

func (ZoneRecordPtrOutput) ToZoneRecordPtrOutputWithContext added in v2.35.1

func (o ZoneRecordPtrOutput) ToZoneRecordPtrOutputWithContext(ctx context.Context) ZoneRecordPtrOutput

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.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.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.
	//
	// 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 IP address of the client.
	UserClientIp pulumi.StringPtrInput
	// The zoneName of the Private Zone.
	ZoneName pulumi.StringPtrInput
}

func (ZoneState) ElementType

func (ZoneState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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