Zone

class Zone : KotlinCustomResource

Example Usage

Basic Usage

import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const foo = new alicloud.pvtz.Zone("foo", {zoneName: "foo.example.com"});
import pulumi
import pulumi_alicloud as alicloud
foo = alicloud.pvtz.Zone("foo", zone_name="foo.example.com")
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() =>
{
var foo = new AliCloud.Pvtz.Zone("foo", new()
{
ZoneName = "foo.example.com",
});
});
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
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.pvtz.Zone;
import com.pulumi.alicloud.pvtz.ZoneArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var foo = new Zone("foo", ZoneArgs.builder()
.zoneName("foo.example.com")
.build());
}
}
resources:
foo:
type: alicloud:pvtz:Zone
properties:
zoneName: foo.example.com

Import

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

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

Properties

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val isPtr: Output<Boolean>

Whether the Private Zone is ptr.

Link copied to clipboard
val lang: Output<String>?

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

Link copied to clipboard
val name: Output<String>

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

Link copied to clipboard
val proxyPattern: Output<String>?

The recursive DNS proxy. Valid values:

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val recordCount: Output<Int>

The count of the Private Zone Record.

Link copied to clipboard
val remark: Output<String>?

The remark of the Private Zone.

Link copied to clipboard
val resourceGroupId: Output<String>

The Id of resource group which the Private Zone belongs.

Link copied to clipboard
val syncStatus: Output<String>?

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

Link copied to clipboard
val tags: Output<Map<String, String>>?

The tags of the Private Zone.

Link copied to clipboard
val urn: Output<String>
Link copied to clipboard
val userClientIp: Output<String>?

The IP address of the client.

Link copied to clipboard

The user information of the host synchronization task. See user_info below.

Link copied to clipboard
val zoneName: Output<String>

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