ZoneArgs

data class ZoneArgs(val lang: Output<String>? = null, val name: Output<String>? = null, val proxyPattern: Output<String>? = null, val remark: Output<String>? = null, val resourceGroupId: Output<String>? = null, val syncStatus: Output<String>? = null, val userClientIp: Output<String>? = null, val userInfos: Output<List<ZoneUserInfoArgs>>? = null, val zoneName: Output<String>? = null) : ConvertibleToJava<ZoneArgs>

Example Usage

Basic Usage

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.test.com")
.build());
}
}

Import

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

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

Constructors

Link copied to clipboard
fun ZoneArgs(lang: Output<String>? = null, name: Output<String>? = null, proxyPattern: Output<String>? = null, remark: Output<String>? = null, resourceGroupId: Output<String>? = null, syncStatus: Output<String>? = null, userClientIp: Output<String>? = null, userInfos: Output<List<ZoneUserInfoArgs>>? = null, zoneName: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): ZoneArgs

Properties

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

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

Link copied to clipboard
val name: Output<String>? = null

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>? = null

The recursive DNS proxy. Valid values:

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

The remark of the Private Zone.

Link copied to clipboard
val resourceGroupId: Output<String>? = null

The Id of resource group which the Private Zone belongs.

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

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 userClientIp: Output<String>? = null

The IP address of the client.

Link copied to clipboard
val userInfos: Output<List<ZoneUserInfoArgs>>? = null

The user information of the host synchronization task. The details see Block user_info.

Link copied to clipboard
val zoneName: Output<String>? = null

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