Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.alicloud.pvtz.kotlin
import com.pulumi.alicloud.pvtz.ZoneArgs.builder
import com.pulumi.alicloud.pvtz.kotlin.inputs.ZoneUserInfoArgs
import com.pulumi.alicloud.pvtz.kotlin.inputs.ZoneUserInfoArgsBuilder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Deprecated
import kotlin.Pair
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.collections.Map
import kotlin.jvm.JvmName
/**
* ## Example Usage
* Basic Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as alicloud from "@pulumi/alicloud";
* const foo = new alicloud.pvtz.Zone("foo", {zoneName: "foo.example.com"});
* ```
* ```python
* import pulumi
* import pulumi_alicloud as alicloud
* foo = alicloud.pvtz.Zone("foo", zone_name="foo.example.com")
* ```
* ```csharp
* 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",
* });
* });
* ```
* ```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
* })
* }
* ```
* ```java
* 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());
* }
* }
* ```
* ```yaml
* resources:
* foo:
* type: alicloud:pvtz:Zone
* properties:
* zoneName: foo.example.com
* ```
*
* ## Import
* Private Zone can be imported using the id, e.g.
* ```sh
* $ pulumi import alicloud:pvtz/zone:Zone example abc123456
* ```
* @property lang The language. Valid values: "zh", "en", "jp".
* @property name The name of the Private Zone. The `name` has been deprecated from provider version 1.107.0. Please use 'zone_name' instead.
* @property proxyPattern 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".
* @property remark The remark of the Private Zone.
* @property resourceGroupId The Id of resource group which the Private Zone belongs.
* @property syncStatus 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.
* @property tags The tags of the Private Zone.
* @property userClientIp The IP address of the client.
* @property userInfos The user information of the host synchronization task. See `user_info` below.
* @property zoneName The zone_name of the Private Zone. The `zone_name` is required when the value of the `name` is Empty.
*/
public data class ZoneArgs(
public val lang: Output? = null,
@Deprecated(
message = """
Field 'name' has been deprecated from version 1.107.0. Use 'zone_name' instead.
""",
)
public val name: Output? = null,
public val proxyPattern: Output? = null,
public val remark: Output? = null,
public val resourceGroupId: Output? = null,
public val syncStatus: Output? = null,
public val tags: Output