Zone
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"});
Content copied to clipboard
import pulumi
import pulumi_alicloud as alicloud
foo = alicloud.pvtz.Zone("foo", zone_name="foo.example.com")
Content copied to clipboard
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",
});
});
Content copied to clipboard
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
})
}
Content copied to clipboard
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());
}
}
Content copied to clipboard
resources:
foo:
type: alicloud:pvtz:Zone
properties:
zoneName: foo.example.com
Content copied to clipboard
Import
Private Zone can be imported using the id, e.g.
$ pulumi import alicloud:pvtz/zone:Zone example abc123456
Content copied to clipboard
Properties
Link copied to clipboard
The recursive DNS proxy. Valid values:
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
The count of the Private Zone Record.
Link copied to clipboard
The Id of resource group which the Private Zone belongs.
Link copied to clipboard
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
The IP address of the client.
Link copied to clipboard
The user information of the host synchronization task. See user_info
below.