All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.gcp.vmwareengine.kotlin.PrivateCloudArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 8.10.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.vmwareengine.kotlin

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.vmwareengine.PrivateCloudArgs.builder
import com.pulumi.gcp.vmwareengine.kotlin.inputs.PrivateCloudManagementClusterArgs
import com.pulumi.gcp.vmwareengine.kotlin.inputs.PrivateCloudManagementClusterArgsBuilder
import com.pulumi.gcp.vmwareengine.kotlin.inputs.PrivateCloudNetworkConfigArgs
import com.pulumi.gcp.vmwareengine.kotlin.inputs.PrivateCloudNetworkConfigArgsBuilder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName

/**
 * Represents a private cloud resource. Private clouds are zonal resources.
 * To get more information about PrivateCloud, see:
 * * [API documentation](https://cloud.google.com/vmware-engine/docs/reference/rest/v1/projects.locations.privateClouds)
 * ## Example Usage
 * ### Vmware Engine Private Cloud Basic
 * 
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as gcp from "@pulumi/gcp";
 * const pc_nw = new gcp.vmwareengine.Network("pc-nw", {
 *     name: "pc-nw",
 *     location: "global",
 *     type: "STANDARD",
 *     description: "PC network description.",
 * });
 * const vmw_engine_pc = new gcp.vmwareengine.PrivateCloud("vmw-engine-pc", {
 *     location: "us-west1-a",
 *     name: "sample-pc",
 *     description: "Sample test PC.",
 *     networkConfig: {
 *         managementCidr: "192.168.30.0/24",
 *         vmwareEngineNetwork: pc_nw.id,
 *     },
 *     managementCluster: {
 *         clusterId: "sample-mgmt-cluster",
 *         nodeTypeConfigs: [{
 *             nodeTypeId: "standard-72",
 *             nodeCount: 3,
 *         }],
 *     },
 * });
 * ```
 * ```python
 * import pulumi
 * import pulumi_gcp as gcp
 * pc_nw = gcp.vmwareengine.Network("pc-nw",
 *     name="pc-nw",
 *     location="global",
 *     type="STANDARD",
 *     description="PC network description.")
 * vmw_engine_pc = gcp.vmwareengine.PrivateCloud("vmw-engine-pc",
 *     location="us-west1-a",
 *     name="sample-pc",
 *     description="Sample test PC.",
 *     network_config=gcp.vmwareengine.PrivateCloudNetworkConfigArgs(
 *         management_cidr="192.168.30.0/24",
 *         vmware_engine_network=pc_nw.id,
 *     ),
 *     management_cluster=gcp.vmwareengine.PrivateCloudManagementClusterArgs(
 *         cluster_id="sample-mgmt-cluster",
 *         node_type_configs=[gcp.vmwareengine.PrivateCloudManagementClusterNodeTypeConfigArgs(
 *             node_type_id="standard-72",
 *             node_count=3,
 *         )],
 *     ))
 * ```
 * ```csharp
 * using System.Collections.Generic;
 * using System.Linq;
 * using Pulumi;
 * using Gcp = Pulumi.Gcp;
 * return await Deployment.RunAsync(() =>
 * {
 *     var pc_nw = new Gcp.VMwareEngine.Network("pc-nw", new()
 *     {
 *         Name = "pc-nw",
 *         Location = "global",
 *         Type = "STANDARD",
 *         Description = "PC network description.",
 *     });
 *     var vmw_engine_pc = new Gcp.VMwareEngine.PrivateCloud("vmw-engine-pc", new()
 *     {
 *         Location = "us-west1-a",
 *         Name = "sample-pc",
 *         Description = "Sample test PC.",
 *         NetworkConfig = new Gcp.VMwareEngine.Inputs.PrivateCloudNetworkConfigArgs
 *         {
 *             ManagementCidr = "192.168.30.0/24",
 *             VmwareEngineNetwork = pc_nw.Id,
 *         },
 *         ManagementCluster = new Gcp.VMwareEngine.Inputs.PrivateCloudManagementClusterArgs
 *         {
 *             ClusterId = "sample-mgmt-cluster",
 *             NodeTypeConfigs = new[]
 *             {
 *                 new Gcp.VMwareEngine.Inputs.PrivateCloudManagementClusterNodeTypeConfigArgs
 *                 {
 *                     NodeTypeId = "standard-72",
 *                     NodeCount = 3,
 *                 },
 *             },
 *         },
 *     });
 * });
 * ```
 * ```go
 * package main
 * import (
 * 	"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/vmwareengine"
 * 	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
 * )
 * func main() {
 * 	pulumi.Run(func(ctx *pulumi.Context) error {
 * 		_, err := vmwareengine.NewNetwork(ctx, "pc-nw", &vmwareengine.NetworkArgs{
 * 			Name:        pulumi.String("pc-nw"),
 * 			Location:    pulumi.String("global"),
 * 			Type:        pulumi.String("STANDARD"),
 * 			Description: pulumi.String("PC network description."),
 * 		})
 * 		if err != nil {
 * 			return err
 * 		}
 * 		_, err = vmwareengine.NewPrivateCloud(ctx, "vmw-engine-pc", &vmwareengine.PrivateCloudArgs{
 * 			Location:    pulumi.String("us-west1-a"),
 * 			Name:        pulumi.String("sample-pc"),
 * 			Description: pulumi.String("Sample test PC."),
 * 			NetworkConfig: &vmwareengine.PrivateCloudNetworkConfigArgs{
 * 				ManagementCidr:      pulumi.String("192.168.30.0/24"),
 * 				VmwareEngineNetwork: pc_nw.ID(),
 * 			},
 * 			ManagementCluster: &vmwareengine.PrivateCloudManagementClusterArgs{
 * 				ClusterId: pulumi.String("sample-mgmt-cluster"),
 * 				NodeTypeConfigs: vmwareengine.PrivateCloudManagementClusterNodeTypeConfigArray{
 * 					&vmwareengine.PrivateCloudManagementClusterNodeTypeConfigArgs{
 * 						NodeTypeId: pulumi.String("standard-72"),
 * 						NodeCount:  pulumi.Int(3),
 * 					},
 * 				},
 * 			},
 * 		})
 * 		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.gcp.vmwareengine.Network;
 * import com.pulumi.gcp.vmwareengine.NetworkArgs;
 * import com.pulumi.gcp.vmwareengine.PrivateCloud;
 * import com.pulumi.gcp.vmwareengine.PrivateCloudArgs;
 * import com.pulumi.gcp.vmwareengine.inputs.PrivateCloudNetworkConfigArgs;
 * import com.pulumi.gcp.vmwareengine.inputs.PrivateCloudManagementClusterArgs;
 * 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 pc_nw = new Network("pc-nw", NetworkArgs.builder()
 *             .name("pc-nw")
 *             .location("global")
 *             .type("STANDARD")
 *             .description("PC network description.")
 *             .build());
 *         var vmw_engine_pc = new PrivateCloud("vmw-engine-pc", PrivateCloudArgs.builder()
 *             .location("us-west1-a")
 *             .name("sample-pc")
 *             .description("Sample test PC.")
 *             .networkConfig(PrivateCloudNetworkConfigArgs.builder()
 *                 .managementCidr("192.168.30.0/24")
 *                 .vmwareEngineNetwork(pc_nw.id())
 *                 .build())
 *             .managementCluster(PrivateCloudManagementClusterArgs.builder()
 *                 .clusterId("sample-mgmt-cluster")
 *                 .nodeTypeConfigs(PrivateCloudManagementClusterNodeTypeConfigArgs.builder()
 *                     .nodeTypeId("standard-72")
 *                     .nodeCount(3)
 *                     .build())
 *                 .build())
 *             .build());
 *     }
 * }
 * ```
 * ```yaml
 * resources:
 *   vmw-engine-pc:
 *     type: gcp:vmwareengine:PrivateCloud
 *     properties:
 *       location: us-west1-a
 *       name: sample-pc
 *       description: Sample test PC.
 *       networkConfig:
 *         managementCidr: 192.168.30.0/24
 *         vmwareEngineNetwork: ${["pc-nw"].id}
 *       managementCluster:
 *         clusterId: sample-mgmt-cluster
 *         nodeTypeConfigs:
 *           - nodeTypeId: standard-72
 *             nodeCount: 3
 *   pc-nw:
 *     type: gcp:vmwareengine:Network
 *     properties:
 *       name: pc-nw
 *       location: global
 *       type: STANDARD
 *       description: PC network description.
 * ```
 * 
 * ### Vmware Engine Private Cloud Full
 * 
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as gcp from "@pulumi/gcp";
 * const pc_nw = new gcp.vmwareengine.Network("pc-nw", {
 *     name: "pc-nw",
 *     location: "global",
 *     type: "STANDARD",
 *     description: "PC network description.",
 * });
 * const vmw_engine_pc = new gcp.vmwareengine.PrivateCloud("vmw-engine-pc", {
 *     location: "us-west1-a",
 *     name: "sample-pc",
 *     description: "Sample test PC.",
 *     type: "TIME_LIMITED",
 *     networkConfig: {
 *         managementCidr: "192.168.30.0/24",
 *         vmwareEngineNetwork: pc_nw.id,
 *     },
 *     managementCluster: {
 *         clusterId: "sample-mgmt-cluster",
 *         nodeTypeConfigs: [{
 *             nodeTypeId: "standard-72",
 *             nodeCount: 1,
 *             customCoreCount: 32,
 *         }],
 *     },
 * });
 * ```
 * ```python
 * import pulumi
 * import pulumi_gcp as gcp
 * pc_nw = gcp.vmwareengine.Network("pc-nw",
 *     name="pc-nw",
 *     location="global",
 *     type="STANDARD",
 *     description="PC network description.")
 * vmw_engine_pc = gcp.vmwareengine.PrivateCloud("vmw-engine-pc",
 *     location="us-west1-a",
 *     name="sample-pc",
 *     description="Sample test PC.",
 *     type="TIME_LIMITED",
 *     network_config=gcp.vmwareengine.PrivateCloudNetworkConfigArgs(
 *         management_cidr="192.168.30.0/24",
 *         vmware_engine_network=pc_nw.id,
 *     ),
 *     management_cluster=gcp.vmwareengine.PrivateCloudManagementClusterArgs(
 *         cluster_id="sample-mgmt-cluster",
 *         node_type_configs=[gcp.vmwareengine.PrivateCloudManagementClusterNodeTypeConfigArgs(
 *             node_type_id="standard-72",
 *             node_count=1,
 *             custom_core_count=32,
 *         )],
 *     ))
 * ```
 * ```csharp
 * using System.Collections.Generic;
 * using System.Linq;
 * using Pulumi;
 * using Gcp = Pulumi.Gcp;
 * return await Deployment.RunAsync(() =>
 * {
 *     var pc_nw = new Gcp.VMwareEngine.Network("pc-nw", new()
 *     {
 *         Name = "pc-nw",
 *         Location = "global",
 *         Type = "STANDARD",
 *         Description = "PC network description.",
 *     });
 *     var vmw_engine_pc = new Gcp.VMwareEngine.PrivateCloud("vmw-engine-pc", new()
 *     {
 *         Location = "us-west1-a",
 *         Name = "sample-pc",
 *         Description = "Sample test PC.",
 *         Type = "TIME_LIMITED",
 *         NetworkConfig = new Gcp.VMwareEngine.Inputs.PrivateCloudNetworkConfigArgs
 *         {
 *             ManagementCidr = "192.168.30.0/24",
 *             VmwareEngineNetwork = pc_nw.Id,
 *         },
 *         ManagementCluster = new Gcp.VMwareEngine.Inputs.PrivateCloudManagementClusterArgs
 *         {
 *             ClusterId = "sample-mgmt-cluster",
 *             NodeTypeConfigs = new[]
 *             {
 *                 new Gcp.VMwareEngine.Inputs.PrivateCloudManagementClusterNodeTypeConfigArgs
 *                 {
 *                     NodeTypeId = "standard-72",
 *                     NodeCount = 1,
 *                     CustomCoreCount = 32,
 *                 },
 *             },
 *         },
 *     });
 * });
 * ```
 * ```go
 * package main
 * import (
 * 	"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/vmwareengine"
 * 	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
 * )
 * func main() {
 * 	pulumi.Run(func(ctx *pulumi.Context) error {
 * 		_, err := vmwareengine.NewNetwork(ctx, "pc-nw", &vmwareengine.NetworkArgs{
 * 			Name:        pulumi.String("pc-nw"),
 * 			Location:    pulumi.String("global"),
 * 			Type:        pulumi.String("STANDARD"),
 * 			Description: pulumi.String("PC network description."),
 * 		})
 * 		if err != nil {
 * 			return err
 * 		}
 * 		_, err = vmwareengine.NewPrivateCloud(ctx, "vmw-engine-pc", &vmwareengine.PrivateCloudArgs{
 * 			Location:    pulumi.String("us-west1-a"),
 * 			Name:        pulumi.String("sample-pc"),
 * 			Description: pulumi.String("Sample test PC."),
 * 			Type:        pulumi.String("TIME_LIMITED"),
 * 			NetworkConfig: &vmwareengine.PrivateCloudNetworkConfigArgs{
 * 				ManagementCidr:      pulumi.String("192.168.30.0/24"),
 * 				VmwareEngineNetwork: pc_nw.ID(),
 * 			},
 * 			ManagementCluster: &vmwareengine.PrivateCloudManagementClusterArgs{
 * 				ClusterId: pulumi.String("sample-mgmt-cluster"),
 * 				NodeTypeConfigs: vmwareengine.PrivateCloudManagementClusterNodeTypeConfigArray{
 * 					&vmwareengine.PrivateCloudManagementClusterNodeTypeConfigArgs{
 * 						NodeTypeId:      pulumi.String("standard-72"),
 * 						NodeCount:       pulumi.Int(1),
 * 						CustomCoreCount: pulumi.Int(32),
 * 					},
 * 				},
 * 			},
 * 		})
 * 		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.gcp.vmwareengine.Network;
 * import com.pulumi.gcp.vmwareengine.NetworkArgs;
 * import com.pulumi.gcp.vmwareengine.PrivateCloud;
 * import com.pulumi.gcp.vmwareengine.PrivateCloudArgs;
 * import com.pulumi.gcp.vmwareengine.inputs.PrivateCloudNetworkConfigArgs;
 * import com.pulumi.gcp.vmwareengine.inputs.PrivateCloudManagementClusterArgs;
 * 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 pc_nw = new Network("pc-nw", NetworkArgs.builder()
 *             .name("pc-nw")
 *             .location("global")
 *             .type("STANDARD")
 *             .description("PC network description.")
 *             .build());
 *         var vmw_engine_pc = new PrivateCloud("vmw-engine-pc", PrivateCloudArgs.builder()
 *             .location("us-west1-a")
 *             .name("sample-pc")
 *             .description("Sample test PC.")
 *             .type("TIME_LIMITED")
 *             .networkConfig(PrivateCloudNetworkConfigArgs.builder()
 *                 .managementCidr("192.168.30.0/24")
 *                 .vmwareEngineNetwork(pc_nw.id())
 *                 .build())
 *             .managementCluster(PrivateCloudManagementClusterArgs.builder()
 *                 .clusterId("sample-mgmt-cluster")
 *                 .nodeTypeConfigs(PrivateCloudManagementClusterNodeTypeConfigArgs.builder()
 *                     .nodeTypeId("standard-72")
 *                     .nodeCount(1)
 *                     .customCoreCount(32)
 *                     .build())
 *                 .build())
 *             .build());
 *     }
 * }
 * ```
 * ```yaml
 * resources:
 *   vmw-engine-pc:
 *     type: gcp:vmwareengine:PrivateCloud
 *     properties:
 *       location: us-west1-a
 *       name: sample-pc
 *       description: Sample test PC.
 *       type: TIME_LIMITED
 *       networkConfig:
 *         managementCidr: 192.168.30.0/24
 *         vmwareEngineNetwork: ${["pc-nw"].id}
 *       managementCluster:
 *         clusterId: sample-mgmt-cluster
 *         nodeTypeConfigs:
 *           - nodeTypeId: standard-72
 *             nodeCount: 1
 *             customCoreCount: 32
 *   pc-nw:
 *     type: gcp:vmwareengine:Network
 *     properties:
 *       name: pc-nw
 *       location: global
 *       type: STANDARD
 *       description: PC network description.
 * ```
 * 
 * ## Import
 * PrivateCloud can be imported using any of these accepted formats:
 * * `projects/{{project}}/locations/{{location}}/privateClouds/{{name}}`
 * * `{{project}}/{{location}}/{{name}}`
 * * `{{location}}/{{name}}`
 * When using the `pulumi import` command, PrivateCloud can be imported using one of the formats above. For example:
 * ```sh
 * $ pulumi import gcp:vmwareengine/privateCloud:PrivateCloud default projects/{{project}}/locations/{{location}}/privateClouds/{{name}}
 * ```
 * ```sh
 * $ pulumi import gcp:vmwareengine/privateCloud:PrivateCloud default {{project}}/{{location}}/{{name}}
 * ```
 * ```sh
 * $ pulumi import gcp:vmwareengine/privateCloud:PrivateCloud default {{location}}/{{name}}
 * ```
 * @property description User-provided description for this private cloud.
 * @property location The location where the PrivateCloud should reside.
 * @property managementCluster The management cluster for this private cloud. This used for creating and managing the default cluster.
 * Structure is documented below.
 * @property name The ID of the PrivateCloud.
 * @property networkConfig Network configuration in the consumer project with which the peering has to be done.
 * Structure is documented below.
 * @property project
 * @property type Initial type of the private cloud. Possible values: ["STANDARD", "TIME_LIMITED", "STRETCHED"]
 */
public data class PrivateCloudArgs(
    public val description: Output? = null,
    public val location: Output? = null,
    public val managementCluster: Output? = null,
    public val name: Output? = null,
    public val networkConfig: Output? = null,
    public val project: Output? = null,
    public val type: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.vmwareengine.PrivateCloudArgs =
        com.pulumi.gcp.vmwareengine.PrivateCloudArgs.builder()
            .description(description?.applyValue({ args0 -> args0 }))
            .location(location?.applyValue({ args0 -> args0 }))
            .managementCluster(managementCluster?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .name(name?.applyValue({ args0 -> args0 }))
            .networkConfig(networkConfig?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .project(project?.applyValue({ args0 -> args0 }))
            .type(type?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [PrivateCloudArgs].
 */
@PulumiTagMarker
public class PrivateCloudArgsBuilder internal constructor() {
    private var description: Output? = null

    private var location: Output? = null

    private var managementCluster: Output? = null

    private var name: Output? = null

    private var networkConfig: Output? = null

    private var project: Output? = null

    private var type: Output? = null

    /**
     * @param value User-provided description for this private cloud.
     */
    @JvmName("ocsjtpvnnhmgalov")
    public suspend fun description(`value`: Output) {
        this.description = value
    }

    /**
     * @param value The location where the PrivateCloud should reside.
     */
    @JvmName("aovhwbiitwrrumpd")
    public suspend fun location(`value`: Output) {
        this.location = value
    }

    /**
     * @param value The management cluster for this private cloud. This used for creating and managing the default cluster.
     * Structure is documented below.
     */
    @JvmName("loutypvjwbnbynaw")
    public suspend fun managementCluster(`value`: Output) {
        this.managementCluster = value
    }

    /**
     * @param value The ID of the PrivateCloud.
     */
    @JvmName("orybccafauvqadbl")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

    /**
     * @param value Network configuration in the consumer project with which the peering has to be done.
     * Structure is documented below.
     */
    @JvmName("torrrsflheclitro")
    public suspend fun networkConfig(`value`: Output) {
        this.networkConfig = value
    }

    /**
     * @param value
     */
    @JvmName("mfpkkldwbeqlqbqf")
    public suspend fun project(`value`: Output) {
        this.project = value
    }

    /**
     * @param value Initial type of the private cloud. Possible values: ["STANDARD", "TIME_LIMITED", "STRETCHED"]
     */
    @JvmName("rxuauhgebanyewpm")
    public suspend fun type(`value`: Output) {
        this.type = value
    }

    /**
     * @param value User-provided description for this private cloud.
     */
    @JvmName("gtgrhwxynlmcxfdm")
    public suspend fun description(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.description = mapped
    }

    /**
     * @param value The location where the PrivateCloud should reside.
     */
    @JvmName("pixhnxspvkealvmv")
    public suspend fun location(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.location = mapped
    }

    /**
     * @param value The management cluster for this private cloud. This used for creating and managing the default cluster.
     * Structure is documented below.
     */
    @JvmName("bfcgjwfbpafqfcad")
    public suspend fun managementCluster(`value`: PrivateCloudManagementClusterArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.managementCluster = mapped
    }

    /**
     * @param argument The management cluster for this private cloud. This used for creating and managing the default cluster.
     * Structure is documented below.
     */
    @JvmName("fqjdecocerxkmomy")
    public suspend fun managementCluster(argument: suspend PrivateCloudManagementClusterArgsBuilder.() -> Unit) {
        val toBeMapped = PrivateCloudManagementClusterArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.managementCluster = mapped
    }

    /**
     * @param value The ID of the PrivateCloud.
     */
    @JvmName("bxbvlvlwwotmmigl")
    public suspend fun name(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.name = mapped
    }

    /**
     * @param value Network configuration in the consumer project with which the peering has to be done.
     * Structure is documented below.
     */
    @JvmName("spphdjjvgtqfkofd")
    public suspend fun networkConfig(`value`: PrivateCloudNetworkConfigArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.networkConfig = mapped
    }

    /**
     * @param argument Network configuration in the consumer project with which the peering has to be done.
     * Structure is documented below.
     */
    @JvmName("iyelkduwsnlroeyi")
    public suspend fun networkConfig(argument: suspend PrivateCloudNetworkConfigArgsBuilder.() -> Unit) {
        val toBeMapped = PrivateCloudNetworkConfigArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.networkConfig = mapped
    }

    /**
     * @param value
     */
    @JvmName("cwesdscmabfbamuu")
    public suspend fun project(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.project = mapped
    }

    /**
     * @param value Initial type of the private cloud. Possible values: ["STANDARD", "TIME_LIMITED", "STRETCHED"]
     */
    @JvmName("bwbfkiidslhjmhbw")
    public suspend fun type(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.type = mapped
    }

    internal fun build(): PrivateCloudArgs = PrivateCloudArgs(
        description = description,
        location = location,
        managementCluster = managementCluster,
        name = name,
        networkConfig = networkConfig,
        project = project,
        type = type,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy