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

com.pulumi.gcp.gkeonprem.kotlin.BareMetalAdminClusterArgs.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.12.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.gkeonprem.kotlin

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.gkeonprem.BareMetalAdminClusterArgs.builder
import com.pulumi.gcp.gkeonprem.kotlin.inputs.BareMetalAdminClusterClusterOperationsArgs
import com.pulumi.gcp.gkeonprem.kotlin.inputs.BareMetalAdminClusterClusterOperationsArgsBuilder
import com.pulumi.gcp.gkeonprem.kotlin.inputs.BareMetalAdminClusterControlPlaneArgs
import com.pulumi.gcp.gkeonprem.kotlin.inputs.BareMetalAdminClusterControlPlaneArgsBuilder
import com.pulumi.gcp.gkeonprem.kotlin.inputs.BareMetalAdminClusterLoadBalancerArgs
import com.pulumi.gcp.gkeonprem.kotlin.inputs.BareMetalAdminClusterLoadBalancerArgsBuilder
import com.pulumi.gcp.gkeonprem.kotlin.inputs.BareMetalAdminClusterMaintenanceConfigArgs
import com.pulumi.gcp.gkeonprem.kotlin.inputs.BareMetalAdminClusterMaintenanceConfigArgsBuilder
import com.pulumi.gcp.gkeonprem.kotlin.inputs.BareMetalAdminClusterNetworkConfigArgs
import com.pulumi.gcp.gkeonprem.kotlin.inputs.BareMetalAdminClusterNetworkConfigArgsBuilder
import com.pulumi.gcp.gkeonprem.kotlin.inputs.BareMetalAdminClusterNodeAccessConfigArgs
import com.pulumi.gcp.gkeonprem.kotlin.inputs.BareMetalAdminClusterNodeAccessConfigArgsBuilder
import com.pulumi.gcp.gkeonprem.kotlin.inputs.BareMetalAdminClusterNodeConfigArgs
import com.pulumi.gcp.gkeonprem.kotlin.inputs.BareMetalAdminClusterNodeConfigArgsBuilder
import com.pulumi.gcp.gkeonprem.kotlin.inputs.BareMetalAdminClusterProxyArgs
import com.pulumi.gcp.gkeonprem.kotlin.inputs.BareMetalAdminClusterProxyArgsBuilder
import com.pulumi.gcp.gkeonprem.kotlin.inputs.BareMetalAdminClusterSecurityConfigArgs
import com.pulumi.gcp.gkeonprem.kotlin.inputs.BareMetalAdminClusterSecurityConfigArgsBuilder
import com.pulumi.gcp.gkeonprem.kotlin.inputs.BareMetalAdminClusterStorageArgs
import com.pulumi.gcp.gkeonprem.kotlin.inputs.BareMetalAdminClusterStorageArgsBuilder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Pair
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.Map
import kotlin.jvm.JvmName

/**
 * A Google Bare Metal Admin Cluster.
 * ## Example Usage
 * ### Gkeonprem Bare Metal Admin Cluster Basic
 * 
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as gcp from "@pulumi/gcp";
 * const admin_cluster_basic = new gcp.gkeonprem.BareMetalAdminCluster("admin-cluster-basic", {
 *     name: "my-cluster",
 *     location: "us-west1",
 *     bareMetalVersion: "1.13.4",
 *     networkConfig: {
 *         islandModeCidr: {
 *             serviceAddressCidrBlocks: ["172.26.0.0/16"],
 *             podAddressCidrBlocks: ["10.240.0.0/13"],
 *         },
 *     },
 *     nodeConfig: {
 *         maxPodsPerNode: 250,
 *     },
 *     controlPlane: {
 *         controlPlaneNodePoolConfig: {
 *             nodePoolConfig: {
 *                 labels: {},
 *                 operatingSystem: "LINUX",
 *                 nodeConfigs: [
 *                     {
 *                         labels: {},
 *                         nodeIp: "10.200.0.2",
 *                     },
 *                     {
 *                         labels: {},
 *                         nodeIp: "10.200.0.3",
 *                     },
 *                     {
 *                         labels: {},
 *                         nodeIp: "10.200.0.4",
 *                     },
 *                 ],
 *             },
 *         },
 *     },
 *     loadBalancer: {
 *         portConfig: {
 *             controlPlaneLoadBalancerPort: 443,
 *         },
 *         vipConfig: {
 *             controlPlaneVip: "10.200.0.5",
 *         },
 *     },
 *     storage: {
 *         lvpShareConfig: {
 *             lvpConfig: {
 *                 path: "/mnt/localpv-share",
 *                 storageClass: "local-shared",
 *             },
 *             sharedPathPvCount: 5,
 *         },
 *         lvpNodeMountsConfig: {
 *             path: "/mnt/localpv-disk",
 *             storageClass: "local-disks",
 *         },
 *     },
 *     nodeAccessConfig: {
 *         loginUser: "root",
 *     },
 * });
 * ```
 * ```python
 * import pulumi
 * import pulumi_gcp as gcp
 * admin_cluster_basic = gcp.gkeonprem.BareMetalAdminCluster("admin-cluster-basic",
 *     name="my-cluster",
 *     location="us-west1",
 *     bare_metal_version="1.13.4",
 *     network_config=gcp.gkeonprem.BareMetalAdminClusterNetworkConfigArgs(
 *         island_mode_cidr=gcp.gkeonprem.BareMetalAdminClusterNetworkConfigIslandModeCidrArgs(
 *             service_address_cidr_blocks=["172.26.0.0/16"],
 *             pod_address_cidr_blocks=["10.240.0.0/13"],
 *         ),
 *     ),
 *     node_config=gcp.gkeonprem.BareMetalAdminClusterNodeConfigArgs(
 *         max_pods_per_node=250,
 *     ),
 *     control_plane=gcp.gkeonprem.BareMetalAdminClusterControlPlaneArgs(
 *         control_plane_node_pool_config=gcp.gkeonprem.BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigArgs(
 *             node_pool_config=gcp.gkeonprem.BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigArgs(
 *                 labels={},
 *                 operating_system="LINUX",
 *                 node_configs=[
 *                     gcp.gkeonprem.BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigNodeConfigArgs(
 *                         labels={},
 *                         node_ip="10.200.0.2",
 *                     ),
 *                     gcp.gkeonprem.BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigNodeConfigArgs(
 *                         labels={},
 *                         node_ip="10.200.0.3",
 *                     ),
 *                     gcp.gkeonprem.BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigNodeConfigArgs(
 *                         labels={},
 *                         node_ip="10.200.0.4",
 *                     ),
 *                 ],
 *             ),
 *         ),
 *     ),
 *     load_balancer=gcp.gkeonprem.BareMetalAdminClusterLoadBalancerArgs(
 *         port_config=gcp.gkeonprem.BareMetalAdminClusterLoadBalancerPortConfigArgs(
 *             control_plane_load_balancer_port=443,
 *         ),
 *         vip_config=gcp.gkeonprem.BareMetalAdminClusterLoadBalancerVipConfigArgs(
 *             control_plane_vip="10.200.0.5",
 *         ),
 *     ),
 *     storage=gcp.gkeonprem.BareMetalAdminClusterStorageArgs(
 *         lvp_share_config=gcp.gkeonprem.BareMetalAdminClusterStorageLvpShareConfigArgs(
 *             lvp_config=gcp.gkeonprem.BareMetalAdminClusterStorageLvpShareConfigLvpConfigArgs(
 *                 path="/mnt/localpv-share",
 *                 storage_class="local-shared",
 *             ),
 *             shared_path_pv_count=5,
 *         ),
 *         lvp_node_mounts_config=gcp.gkeonprem.BareMetalAdminClusterStorageLvpNodeMountsConfigArgs(
 *             path="/mnt/localpv-disk",
 *             storage_class="local-disks",
 *         ),
 *     ),
 *     node_access_config=gcp.gkeonprem.BareMetalAdminClusterNodeAccessConfigArgs(
 *         login_user="root",
 *     ))
 * ```
 * ```csharp
 * using System.Collections.Generic;
 * using System.Linq;
 * using Pulumi;
 * using Gcp = Pulumi.Gcp;
 * return await Deployment.RunAsync(() =>
 * {
 *     var admin_cluster_basic = new Gcp.GkeOnPrem.BareMetalAdminCluster("admin-cluster-basic", new()
 *     {
 *         Name = "my-cluster",
 *         Location = "us-west1",
 *         BareMetalVersion = "1.13.4",
 *         NetworkConfig = new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterNetworkConfigArgs
 *         {
 *             IslandModeCidr = new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterNetworkConfigIslandModeCidrArgs
 *             {
 *                 ServiceAddressCidrBlocks = new[]
 *                 {
 *                     "172.26.0.0/16",
 *                 },
 *                 PodAddressCidrBlocks = new[]
 *                 {
 *                     "10.240.0.0/13",
 *                 },
 *             },
 *         },
 *         NodeConfig = new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterNodeConfigArgs
 *         {
 *             MaxPodsPerNode = 250,
 *         },
 *         ControlPlane = new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterControlPlaneArgs
 *         {
 *             ControlPlaneNodePoolConfig = new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigArgs
 *             {
 *                 NodePoolConfig = new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigArgs
 *                 {
 *                     Labels = null,
 *                     OperatingSystem = "LINUX",
 *                     NodeConfigs = new[]
 *                     {
 *                         new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigNodeConfigArgs
 *                         {
 *                             Labels = null,
 *                             NodeIp = "10.200.0.2",
 *                         },
 *                         new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigNodeConfigArgs
 *                         {
 *                             Labels = null,
 *                             NodeIp = "10.200.0.3",
 *                         },
 *                         new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigNodeConfigArgs
 *                         {
 *                             Labels = null,
 *                             NodeIp = "10.200.0.4",
 *                         },
 *                     },
 *                 },
 *             },
 *         },
 *         LoadBalancer = new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterLoadBalancerArgs
 *         {
 *             PortConfig = new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterLoadBalancerPortConfigArgs
 *             {
 *                 ControlPlaneLoadBalancerPort = 443,
 *             },
 *             VipConfig = new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterLoadBalancerVipConfigArgs
 *             {
 *                 ControlPlaneVip = "10.200.0.5",
 *             },
 *         },
 *         Storage = new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterStorageArgs
 *         {
 *             LvpShareConfig = new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterStorageLvpShareConfigArgs
 *             {
 *                 LvpConfig = new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterStorageLvpShareConfigLvpConfigArgs
 *                 {
 *                     Path = "/mnt/localpv-share",
 *                     StorageClass = "local-shared",
 *                 },
 *                 SharedPathPvCount = 5,
 *             },
 *             LvpNodeMountsConfig = new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterStorageLvpNodeMountsConfigArgs
 *             {
 *                 Path = "/mnt/localpv-disk",
 *                 StorageClass = "local-disks",
 *             },
 *         },
 *         NodeAccessConfig = new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterNodeAccessConfigArgs
 *         {
 *             LoginUser = "root",
 *         },
 *     });
 * });
 * ```
 * ```go
 * package main
 * import (
 * 	"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/gkeonprem"
 * 	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
 * )
 * func main() {
 * 	pulumi.Run(func(ctx *pulumi.Context) error {
 * 		_, err := gkeonprem.NewBareMetalAdminCluster(ctx, "admin-cluster-basic", &gkeonprem.BareMetalAdminClusterArgs{
 * 			Name:             pulumi.String("my-cluster"),
 * 			Location:         pulumi.String("us-west1"),
 * 			BareMetalVersion: pulumi.String("1.13.4"),
 * 			NetworkConfig: &gkeonprem.BareMetalAdminClusterNetworkConfigArgs{
 * 				IslandModeCidr: &gkeonprem.BareMetalAdminClusterNetworkConfigIslandModeCidrArgs{
 * 					ServiceAddressCidrBlocks: pulumi.StringArray{
 * 						pulumi.String("172.26.0.0/16"),
 * 					},
 * 					PodAddressCidrBlocks: pulumi.StringArray{
 * 						pulumi.String("10.240.0.0/13"),
 * 					},
 * 				},
 * 			},
 * 			NodeConfig: &gkeonprem.BareMetalAdminClusterNodeConfigArgs{
 * 				MaxPodsPerNode: pulumi.Int(250),
 * 			},
 * 			ControlPlane: &gkeonprem.BareMetalAdminClusterControlPlaneArgs{
 * 				ControlPlaneNodePoolConfig: &gkeonprem.BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigArgs{
 * 					NodePoolConfig: &gkeonprem.BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigArgs{
 * 						Labels:          nil,
 * 						OperatingSystem: pulumi.String("LINUX"),
 * 						NodeConfigs: gkeonprem.BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigNodeConfigArray{
 * 							&gkeonprem.BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigNodeConfigArgs{
 * 								Labels: nil,
 * 								NodeIp: pulumi.String("10.200.0.2"),
 * 							},
 * 							&gkeonprem.BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigNodeConfigArgs{
 * 								Labels: nil,
 * 								NodeIp: pulumi.String("10.200.0.3"),
 * 							},
 * 							&gkeonprem.BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigNodeConfigArgs{
 * 								Labels: nil,
 * 								NodeIp: pulumi.String("10.200.0.4"),
 * 							},
 * 						},
 * 					},
 * 				},
 * 			},
 * 			LoadBalancer: &gkeonprem.BareMetalAdminClusterLoadBalancerArgs{
 * 				PortConfig: &gkeonprem.BareMetalAdminClusterLoadBalancerPortConfigArgs{
 * 					ControlPlaneLoadBalancerPort: pulumi.Int(443),
 * 				},
 * 				VipConfig: &gkeonprem.BareMetalAdminClusterLoadBalancerVipConfigArgs{
 * 					ControlPlaneVip: pulumi.String("10.200.0.5"),
 * 				},
 * 			},
 * 			Storage: &gkeonprem.BareMetalAdminClusterStorageArgs{
 * 				LvpShareConfig: &gkeonprem.BareMetalAdminClusterStorageLvpShareConfigArgs{
 * 					LvpConfig: &gkeonprem.BareMetalAdminClusterStorageLvpShareConfigLvpConfigArgs{
 * 						Path:         pulumi.String("/mnt/localpv-share"),
 * 						StorageClass: pulumi.String("local-shared"),
 * 					},
 * 					SharedPathPvCount: pulumi.Int(5),
 * 				},
 * 				LvpNodeMountsConfig: &gkeonprem.BareMetalAdminClusterStorageLvpNodeMountsConfigArgs{
 * 					Path:         pulumi.String("/mnt/localpv-disk"),
 * 					StorageClass: pulumi.String("local-disks"),
 * 				},
 * 			},
 * 			NodeAccessConfig: &gkeonprem.BareMetalAdminClusterNodeAccessConfigArgs{
 * 				LoginUser: pulumi.String("root"),
 * 			},
 * 		})
 * 		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.gkeonprem.BareMetalAdminCluster;
 * import com.pulumi.gcp.gkeonprem.BareMetalAdminClusterArgs;
 * import com.pulumi.gcp.gkeonprem.inputs.BareMetalAdminClusterNetworkConfigArgs;
 * import com.pulumi.gcp.gkeonprem.inputs.BareMetalAdminClusterNetworkConfigIslandModeCidrArgs;
 * import com.pulumi.gcp.gkeonprem.inputs.BareMetalAdminClusterNodeConfigArgs;
 * import com.pulumi.gcp.gkeonprem.inputs.BareMetalAdminClusterControlPlaneArgs;
 * import com.pulumi.gcp.gkeonprem.inputs.BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigArgs;
 * import com.pulumi.gcp.gkeonprem.inputs.BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigArgs;
 * import com.pulumi.gcp.gkeonprem.inputs.BareMetalAdminClusterLoadBalancerArgs;
 * import com.pulumi.gcp.gkeonprem.inputs.BareMetalAdminClusterLoadBalancerPortConfigArgs;
 * import com.pulumi.gcp.gkeonprem.inputs.BareMetalAdminClusterLoadBalancerVipConfigArgs;
 * import com.pulumi.gcp.gkeonprem.inputs.BareMetalAdminClusterStorageArgs;
 * import com.pulumi.gcp.gkeonprem.inputs.BareMetalAdminClusterStorageLvpShareConfigArgs;
 * import com.pulumi.gcp.gkeonprem.inputs.BareMetalAdminClusterStorageLvpShareConfigLvpConfigArgs;
 * import com.pulumi.gcp.gkeonprem.inputs.BareMetalAdminClusterStorageLvpNodeMountsConfigArgs;
 * import com.pulumi.gcp.gkeonprem.inputs.BareMetalAdminClusterNodeAccessConfigArgs;
 * 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 admin_cluster_basic = new BareMetalAdminCluster("admin-cluster-basic", BareMetalAdminClusterArgs.builder()
 *             .name("my-cluster")
 *             .location("us-west1")
 *             .bareMetalVersion("1.13.4")
 *             .networkConfig(BareMetalAdminClusterNetworkConfigArgs.builder()
 *                 .islandModeCidr(BareMetalAdminClusterNetworkConfigIslandModeCidrArgs.builder()
 *                     .serviceAddressCidrBlocks("172.26.0.0/16")
 *                     .podAddressCidrBlocks("10.240.0.0/13")
 *                     .build())
 *                 .build())
 *             .nodeConfig(BareMetalAdminClusterNodeConfigArgs.builder()
 *                 .maxPodsPerNode(250)
 *                 .build())
 *             .controlPlane(BareMetalAdminClusterControlPlaneArgs.builder()
 *                 .controlPlaneNodePoolConfig(BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigArgs.builder()
 *                     .nodePoolConfig(BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigArgs.builder()
 *                         .labels()
 *                         .operatingSystem("LINUX")
 *                         .nodeConfigs(
 *                             BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigNodeConfigArgs.builder()
 *                                 .labels()
 *                                 .nodeIp("10.200.0.2")
 *                                 .build(),
 *                             BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigNodeConfigArgs.builder()
 *                                 .labels()
 *                                 .nodeIp("10.200.0.3")
 *                                 .build(),
 *                             BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigNodeConfigArgs.builder()
 *                                 .labels()
 *                                 .nodeIp("10.200.0.4")
 *                                 .build())
 *                         .build())
 *                     .build())
 *                 .build())
 *             .loadBalancer(BareMetalAdminClusterLoadBalancerArgs.builder()
 *                 .portConfig(BareMetalAdminClusterLoadBalancerPortConfigArgs.builder()
 *                     .controlPlaneLoadBalancerPort(443)
 *                     .build())
 *                 .vipConfig(BareMetalAdminClusterLoadBalancerVipConfigArgs.builder()
 *                     .controlPlaneVip("10.200.0.5")
 *                     .build())
 *                 .build())
 *             .storage(BareMetalAdminClusterStorageArgs.builder()
 *                 .lvpShareConfig(BareMetalAdminClusterStorageLvpShareConfigArgs.builder()
 *                     .lvpConfig(BareMetalAdminClusterStorageLvpShareConfigLvpConfigArgs.builder()
 *                         .path("/mnt/localpv-share")
 *                         .storageClass("local-shared")
 *                         .build())
 *                     .sharedPathPvCount(5)
 *                     .build())
 *                 .lvpNodeMountsConfig(BareMetalAdminClusterStorageLvpNodeMountsConfigArgs.builder()
 *                     .path("/mnt/localpv-disk")
 *                     .storageClass("local-disks")
 *                     .build())
 *                 .build())
 *             .nodeAccessConfig(BareMetalAdminClusterNodeAccessConfigArgs.builder()
 *                 .loginUser("root")
 *                 .build())
 *             .build());
 *     }
 * }
 * ```
 * ```yaml
 * resources:
 *   admin-cluster-basic:
 *     type: gcp:gkeonprem:BareMetalAdminCluster
 *     properties:
 *       name: my-cluster
 *       location: us-west1
 *       bareMetalVersion: 1.13.4
 *       networkConfig:
 *         islandModeCidr:
 *           serviceAddressCidrBlocks:
 *             - 172.26.0.0/16
 *           podAddressCidrBlocks:
 *             - 10.240.0.0/13
 *       nodeConfig:
 *         maxPodsPerNode: 250
 *       controlPlane:
 *         controlPlaneNodePoolConfig:
 *           nodePoolConfig:
 *             labels: {}
 *             operatingSystem: LINUX
 *             nodeConfigs:
 *               - labels: {}
 *                 nodeIp: 10.200.0.2
 *               - labels: {}
 *                 nodeIp: 10.200.0.3
 *               - labels: {}
 *                 nodeIp: 10.200.0.4
 *       loadBalancer:
 *         portConfig:
 *           controlPlaneLoadBalancerPort: 443
 *         vipConfig:
 *           controlPlaneVip: 10.200.0.5
 *       storage:
 *         lvpShareConfig:
 *           lvpConfig:
 *             path: /mnt/localpv-share
 *             storageClass: local-shared
 *           sharedPathPvCount: 5
 *         lvpNodeMountsConfig:
 *           path: /mnt/localpv-disk
 *           storageClass: local-disks
 *       nodeAccessConfig:
 *         loginUser: root
 * ```
 * 
 * ### Gkeonprem Bare Metal Admin Cluster Full
 * 
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as gcp from "@pulumi/gcp";
 * const admin_cluster_basic = new gcp.gkeonprem.BareMetalAdminCluster("admin-cluster-basic", {
 *     name: "my-cluster",
 *     location: "us-west1",
 *     description: "test description",
 *     bareMetalVersion: "1.13.4",
 *     annotations: {
 *         env: "test",
 *     },
 *     networkConfig: {
 *         islandModeCidr: {
 *             serviceAddressCidrBlocks: ["172.26.0.0/16"],
 *             podAddressCidrBlocks: ["10.240.0.0/13"],
 *         },
 *     },
 *     nodeConfig: {
 *         maxPodsPerNode: 250,
 *     },
 *     controlPlane: {
 *         controlPlaneNodePoolConfig: {
 *             nodePoolConfig: {
 *                 labels: {},
 *                 operatingSystem: "LINUX",
 *                 nodeConfigs: [
 *                     {
 *                         labels: {},
 *                         nodeIp: "10.200.0.2",
 *                     },
 *                     {
 *                         labels: {},
 *                         nodeIp: "10.200.0.3",
 *                     },
 *                     {
 *                         labels: {},
 *                         nodeIp: "10.200.0.4",
 *                     },
 *                 ],
 *                 taints: [{
 *                     key: "test-key",
 *                     value: "test-value",
 *                     effect: "NO_EXECUTE",
 *                 }],
 *             },
 *         },
 *         apiServerArgs: [{
 *             argument: "test argument",
 *             value: "test value",
 *         }],
 *     },
 *     loadBalancer: {
 *         portConfig: {
 *             controlPlaneLoadBalancerPort: 443,
 *         },
 *         vipConfig: {
 *             controlPlaneVip: "10.200.0.5",
 *         },
 *         manualLbConfig: {
 *             enabled: true,
 *         },
 *     },
 *     storage: {
 *         lvpShareConfig: {
 *             lvpConfig: {
 *                 path: "/mnt/localpv-share",
 *                 storageClass: "local-shared",
 *             },
 *             sharedPathPvCount: 5,
 *         },
 *         lvpNodeMountsConfig: {
 *             path: "/mnt/localpv-disk",
 *             storageClass: "local-disks",
 *         },
 *     },
 *     nodeAccessConfig: {
 *         loginUser: "root",
 *     },
 *     securityConfig: {
 *         authorization: {
 *             adminUsers: [{
 *                 username: "[email protected]",
 *             }],
 *         },
 *     },
 *     maintenanceConfig: {
 *         maintenanceAddressCidrBlocks: [
 *             "10.0.0.1/32",
 *             "10.0.0.2/32",
 *         ],
 *     },
 *     clusterOperations: {
 *         enableApplicationLogs: true,
 *     },
 *     proxy: {
 *         uri: "test proxy uri",
 *         noProxies: ["127.0.0.1"],
 *     },
 * });
 * ```
 * ```python
 * import pulumi
 * import pulumi_gcp as gcp
 * admin_cluster_basic = gcp.gkeonprem.BareMetalAdminCluster("admin-cluster-basic",
 *     name="my-cluster",
 *     location="us-west1",
 *     description="test description",
 *     bare_metal_version="1.13.4",
 *     annotations={
 *         "env": "test",
 *     },
 *     network_config=gcp.gkeonprem.BareMetalAdminClusterNetworkConfigArgs(
 *         island_mode_cidr=gcp.gkeonprem.BareMetalAdminClusterNetworkConfigIslandModeCidrArgs(
 *             service_address_cidr_blocks=["172.26.0.0/16"],
 *             pod_address_cidr_blocks=["10.240.0.0/13"],
 *         ),
 *     ),
 *     node_config=gcp.gkeonprem.BareMetalAdminClusterNodeConfigArgs(
 *         max_pods_per_node=250,
 *     ),
 *     control_plane=gcp.gkeonprem.BareMetalAdminClusterControlPlaneArgs(
 *         control_plane_node_pool_config=gcp.gkeonprem.BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigArgs(
 *             node_pool_config=gcp.gkeonprem.BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigArgs(
 *                 labels={},
 *                 operating_system="LINUX",
 *                 node_configs=[
 *                     gcp.gkeonprem.BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigNodeConfigArgs(
 *                         labels={},
 *                         node_ip="10.200.0.2",
 *                     ),
 *                     gcp.gkeonprem.BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigNodeConfigArgs(
 *                         labels={},
 *                         node_ip="10.200.0.3",
 *                     ),
 *                     gcp.gkeonprem.BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigNodeConfigArgs(
 *                         labels={},
 *                         node_ip="10.200.0.4",
 *                     ),
 *                 ],
 *                 taints=[gcp.gkeonprem.BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigTaintArgs(
 *                     key="test-key",
 *                     value="test-value",
 *                     effect="NO_EXECUTE",
 *                 )],
 *             ),
 *         ),
 *         api_server_args=[gcp.gkeonprem.BareMetalAdminClusterControlPlaneApiServerArgArgs(
 *             argument="test argument",
 *             value="test value",
 *         )],
 *     ),
 *     load_balancer=gcp.gkeonprem.BareMetalAdminClusterLoadBalancerArgs(
 *         port_config=gcp.gkeonprem.BareMetalAdminClusterLoadBalancerPortConfigArgs(
 *             control_plane_load_balancer_port=443,
 *         ),
 *         vip_config=gcp.gkeonprem.BareMetalAdminClusterLoadBalancerVipConfigArgs(
 *             control_plane_vip="10.200.0.5",
 *         ),
 *         manual_lb_config=gcp.gkeonprem.BareMetalAdminClusterLoadBalancerManualLbConfigArgs(
 *             enabled=True,
 *         ),
 *     ),
 *     storage=gcp.gkeonprem.BareMetalAdminClusterStorageArgs(
 *         lvp_share_config=gcp.gkeonprem.BareMetalAdminClusterStorageLvpShareConfigArgs(
 *             lvp_config=gcp.gkeonprem.BareMetalAdminClusterStorageLvpShareConfigLvpConfigArgs(
 *                 path="/mnt/localpv-share",
 *                 storage_class="local-shared",
 *             ),
 *             shared_path_pv_count=5,
 *         ),
 *         lvp_node_mounts_config=gcp.gkeonprem.BareMetalAdminClusterStorageLvpNodeMountsConfigArgs(
 *             path="/mnt/localpv-disk",
 *             storage_class="local-disks",
 *         ),
 *     ),
 *     node_access_config=gcp.gkeonprem.BareMetalAdminClusterNodeAccessConfigArgs(
 *         login_user="root",
 *     ),
 *     security_config=gcp.gkeonprem.BareMetalAdminClusterSecurityConfigArgs(
 *         authorization=gcp.gkeonprem.BareMetalAdminClusterSecurityConfigAuthorizationArgs(
 *             admin_users=[gcp.gkeonprem.BareMetalAdminClusterSecurityConfigAuthorizationAdminUserArgs(
 *                 username="[email protected]",
 *             )],
 *         ),
 *     ),
 *     maintenance_config=gcp.gkeonprem.BareMetalAdminClusterMaintenanceConfigArgs(
 *         maintenance_address_cidr_blocks=[
 *             "10.0.0.1/32",
 *             "10.0.0.2/32",
 *         ],
 *     ),
 *     cluster_operations=gcp.gkeonprem.BareMetalAdminClusterClusterOperationsArgs(
 *         enable_application_logs=True,
 *     ),
 *     proxy=gcp.gkeonprem.BareMetalAdminClusterProxyArgs(
 *         uri="test proxy uri",
 *         no_proxies=["127.0.0.1"],
 *     ))
 * ```
 * ```csharp
 * using System.Collections.Generic;
 * using System.Linq;
 * using Pulumi;
 * using Gcp = Pulumi.Gcp;
 * return await Deployment.RunAsync(() =>
 * {
 *     var admin_cluster_basic = new Gcp.GkeOnPrem.BareMetalAdminCluster("admin-cluster-basic", new()
 *     {
 *         Name = "my-cluster",
 *         Location = "us-west1",
 *         Description = "test description",
 *         BareMetalVersion = "1.13.4",
 *         Annotations =
 *         {
 *             { "env", "test" },
 *         },
 *         NetworkConfig = new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterNetworkConfigArgs
 *         {
 *             IslandModeCidr = new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterNetworkConfigIslandModeCidrArgs
 *             {
 *                 ServiceAddressCidrBlocks = new[]
 *                 {
 *                     "172.26.0.0/16",
 *                 },
 *                 PodAddressCidrBlocks = new[]
 *                 {
 *                     "10.240.0.0/13",
 *                 },
 *             },
 *         },
 *         NodeConfig = new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterNodeConfigArgs
 *         {
 *             MaxPodsPerNode = 250,
 *         },
 *         ControlPlane = new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterControlPlaneArgs
 *         {
 *             ControlPlaneNodePoolConfig = new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigArgs
 *             {
 *                 NodePoolConfig = new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigArgs
 *                 {
 *                     Labels = null,
 *                     OperatingSystem = "LINUX",
 *                     NodeConfigs = new[]
 *                     {
 *                         new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigNodeConfigArgs
 *                         {
 *                             Labels = null,
 *                             NodeIp = "10.200.0.2",
 *                         },
 *                         new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigNodeConfigArgs
 *                         {
 *                             Labels = null,
 *                             NodeIp = "10.200.0.3",
 *                         },
 *                         new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigNodeConfigArgs
 *                         {
 *                             Labels = null,
 *                             NodeIp = "10.200.0.4",
 *                         },
 *                     },
 *                     Taints = new[]
 *                     {
 *                         new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigTaintArgs
 *                         {
 *                             Key = "test-key",
 *                             Value = "test-value",
 *                             Effect = "NO_EXECUTE",
 *                         },
 *                     },
 *                 },
 *             },
 *             ApiServerArgs = new[]
 *             {
 *                 new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterControlPlaneApiServerArgArgs
 *                 {
 *                     Argument = "test argument",
 *                     Value = "test value",
 *                 },
 *             },
 *         },
 *         LoadBalancer = new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterLoadBalancerArgs
 *         {
 *             PortConfig = new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterLoadBalancerPortConfigArgs
 *             {
 *                 ControlPlaneLoadBalancerPort = 443,
 *             },
 *             VipConfig = new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterLoadBalancerVipConfigArgs
 *             {
 *                 ControlPlaneVip = "10.200.0.5",
 *             },
 *             ManualLbConfig = new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterLoadBalancerManualLbConfigArgs
 *             {
 *                 Enabled = true,
 *             },
 *         },
 *         Storage = new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterStorageArgs
 *         {
 *             LvpShareConfig = new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterStorageLvpShareConfigArgs
 *             {
 *                 LvpConfig = new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterStorageLvpShareConfigLvpConfigArgs
 *                 {
 *                     Path = "/mnt/localpv-share",
 *                     StorageClass = "local-shared",
 *                 },
 *                 SharedPathPvCount = 5,
 *             },
 *             LvpNodeMountsConfig = new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterStorageLvpNodeMountsConfigArgs
 *             {
 *                 Path = "/mnt/localpv-disk",
 *                 StorageClass = "local-disks",
 *             },
 *         },
 *         NodeAccessConfig = new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterNodeAccessConfigArgs
 *         {
 *             LoginUser = "root",
 *         },
 *         SecurityConfig = new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterSecurityConfigArgs
 *         {
 *             Authorization = new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterSecurityConfigAuthorizationArgs
 *             {
 *                 AdminUsers = new[]
 *                 {
 *                     new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterSecurityConfigAuthorizationAdminUserArgs
 *                     {
 *                         Username = "[email protected]",
 *                     },
 *                 },
 *             },
 *         },
 *         MaintenanceConfig = new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterMaintenanceConfigArgs
 *         {
 *             MaintenanceAddressCidrBlocks = new[]
 *             {
 *                 "10.0.0.1/32",
 *                 "10.0.0.2/32",
 *             },
 *         },
 *         ClusterOperations = new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterClusterOperationsArgs
 *         {
 *             EnableApplicationLogs = true,
 *         },
 *         Proxy = new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterProxyArgs
 *         {
 *             Uri = "test proxy uri",
 *             NoProxies = new[]
 *             {
 *                 "127.0.0.1",
 *             },
 *         },
 *     });
 * });
 * ```
 * ```go
 * package main
 * import (
 * 	"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/gkeonprem"
 * 	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
 * )
 * func main() {
 * 	pulumi.Run(func(ctx *pulumi.Context) error {
 * 		_, err := gkeonprem.NewBareMetalAdminCluster(ctx, "admin-cluster-basic", &gkeonprem.BareMetalAdminClusterArgs{
 * 			Name:             pulumi.String("my-cluster"),
 * 			Location:         pulumi.String("us-west1"),
 * 			Description:      pulumi.String("test description"),
 * 			BareMetalVersion: pulumi.String("1.13.4"),
 * 			Annotations: pulumi.StringMap{
 * 				"env": pulumi.String("test"),
 * 			},
 * 			NetworkConfig: &gkeonprem.BareMetalAdminClusterNetworkConfigArgs{
 * 				IslandModeCidr: &gkeonprem.BareMetalAdminClusterNetworkConfigIslandModeCidrArgs{
 * 					ServiceAddressCidrBlocks: pulumi.StringArray{
 * 						pulumi.String("172.26.0.0/16"),
 * 					},
 * 					PodAddressCidrBlocks: pulumi.StringArray{
 * 						pulumi.String("10.240.0.0/13"),
 * 					},
 * 				},
 * 			},
 * 			NodeConfig: &gkeonprem.BareMetalAdminClusterNodeConfigArgs{
 * 				MaxPodsPerNode: pulumi.Int(250),
 * 			},
 * 			ControlPlane: &gkeonprem.BareMetalAdminClusterControlPlaneArgs{
 * 				ControlPlaneNodePoolConfig: &gkeonprem.BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigArgs{
 * 					NodePoolConfig: &gkeonprem.BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigArgs{
 * 						Labels:          nil,
 * 						OperatingSystem: pulumi.String("LINUX"),
 * 						NodeConfigs: gkeonprem.BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigNodeConfigArray{
 * 							&gkeonprem.BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigNodeConfigArgs{
 * 								Labels: nil,
 * 								NodeIp: pulumi.String("10.200.0.2"),
 * 							},
 * 							&gkeonprem.BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigNodeConfigArgs{
 * 								Labels: nil,
 * 								NodeIp: pulumi.String("10.200.0.3"),
 * 							},
 * 							&gkeonprem.BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigNodeConfigArgs{
 * 								Labels: nil,
 * 								NodeIp: pulumi.String("10.200.0.4"),
 * 							},
 * 						},
 * 						Taints: gkeonprem.BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigTaintArray{
 * 							&gkeonprem.BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigTaintArgs{
 * 								Key:    pulumi.String("test-key"),
 * 								Value:  pulumi.String("test-value"),
 * 								Effect: pulumi.String("NO_EXECUTE"),
 * 							},
 * 						},
 * 					},
 * 				},
 * 				ApiServerArgs: gkeonprem.BareMetalAdminClusterControlPlaneApiServerArgArray{
 * 					&gkeonprem.BareMetalAdminClusterControlPlaneApiServerArgArgs{
 * 						Argument: pulumi.String("test argument"),
 * 						Value:    pulumi.String("test value"),
 * 					},
 * 				},
 * 			},
 * 			LoadBalancer: &gkeonprem.BareMetalAdminClusterLoadBalancerArgs{
 * 				PortConfig: &gkeonprem.BareMetalAdminClusterLoadBalancerPortConfigArgs{
 * 					ControlPlaneLoadBalancerPort: pulumi.Int(443),
 * 				},
 * 				VipConfig: &gkeonprem.BareMetalAdminClusterLoadBalancerVipConfigArgs{
 * 					ControlPlaneVip: pulumi.String("10.200.0.5"),
 * 				},
 * 				ManualLbConfig: &gkeonprem.BareMetalAdminClusterLoadBalancerManualLbConfigArgs{
 * 					Enabled: pulumi.Bool(true),
 * 				},
 * 			},
 * 			Storage: &gkeonprem.BareMetalAdminClusterStorageArgs{
 * 				LvpShareConfig: &gkeonprem.BareMetalAdminClusterStorageLvpShareConfigArgs{
 * 					LvpConfig: &gkeonprem.BareMetalAdminClusterStorageLvpShareConfigLvpConfigArgs{
 * 						Path:         pulumi.String("/mnt/localpv-share"),
 * 						StorageClass: pulumi.String("local-shared"),
 * 					},
 * 					SharedPathPvCount: pulumi.Int(5),
 * 				},
 * 				LvpNodeMountsConfig: &gkeonprem.BareMetalAdminClusterStorageLvpNodeMountsConfigArgs{
 * 					Path:         pulumi.String("/mnt/localpv-disk"),
 * 					StorageClass: pulumi.String("local-disks"),
 * 				},
 * 			},
 * 			NodeAccessConfig: &gkeonprem.BareMetalAdminClusterNodeAccessConfigArgs{
 * 				LoginUser: pulumi.String("root"),
 * 			},
 * 			SecurityConfig: &gkeonprem.BareMetalAdminClusterSecurityConfigArgs{
 * 				Authorization: &gkeonprem.BareMetalAdminClusterSecurityConfigAuthorizationArgs{
 * 					AdminUsers: gkeonprem.BareMetalAdminClusterSecurityConfigAuthorizationAdminUserArray{
 * 						&gkeonprem.BareMetalAdminClusterSecurityConfigAuthorizationAdminUserArgs{
 * 							Username: pulumi.String("[email protected]"),
 * 						},
 * 					},
 * 				},
 * 			},
 * 			MaintenanceConfig: &gkeonprem.BareMetalAdminClusterMaintenanceConfigArgs{
 * 				MaintenanceAddressCidrBlocks: pulumi.StringArray{
 * 					pulumi.String("10.0.0.1/32"),
 * 					pulumi.String("10.0.0.2/32"),
 * 				},
 * 			},
 * 			ClusterOperations: &gkeonprem.BareMetalAdminClusterClusterOperationsArgs{
 * 				EnableApplicationLogs: pulumi.Bool(true),
 * 			},
 * 			Proxy: &gkeonprem.BareMetalAdminClusterProxyArgs{
 * 				Uri: pulumi.String("test proxy uri"),
 * 				NoProxies: pulumi.StringArray{
 * 					pulumi.String("127.0.0.1"),
 * 				},
 * 			},
 * 		})
 * 		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.gkeonprem.BareMetalAdminCluster;
 * import com.pulumi.gcp.gkeonprem.BareMetalAdminClusterArgs;
 * import com.pulumi.gcp.gkeonprem.inputs.BareMetalAdminClusterNetworkConfigArgs;
 * import com.pulumi.gcp.gkeonprem.inputs.BareMetalAdminClusterNetworkConfigIslandModeCidrArgs;
 * import com.pulumi.gcp.gkeonprem.inputs.BareMetalAdminClusterNodeConfigArgs;
 * import com.pulumi.gcp.gkeonprem.inputs.BareMetalAdminClusterControlPlaneArgs;
 * import com.pulumi.gcp.gkeonprem.inputs.BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigArgs;
 * import com.pulumi.gcp.gkeonprem.inputs.BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigArgs;
 * import com.pulumi.gcp.gkeonprem.inputs.BareMetalAdminClusterLoadBalancerArgs;
 * import com.pulumi.gcp.gkeonprem.inputs.BareMetalAdminClusterLoadBalancerPortConfigArgs;
 * import com.pulumi.gcp.gkeonprem.inputs.BareMetalAdminClusterLoadBalancerVipConfigArgs;
 * import com.pulumi.gcp.gkeonprem.inputs.BareMetalAdminClusterLoadBalancerManualLbConfigArgs;
 * import com.pulumi.gcp.gkeonprem.inputs.BareMetalAdminClusterStorageArgs;
 * import com.pulumi.gcp.gkeonprem.inputs.BareMetalAdminClusterStorageLvpShareConfigArgs;
 * import com.pulumi.gcp.gkeonprem.inputs.BareMetalAdminClusterStorageLvpShareConfigLvpConfigArgs;
 * import com.pulumi.gcp.gkeonprem.inputs.BareMetalAdminClusterStorageLvpNodeMountsConfigArgs;
 * import com.pulumi.gcp.gkeonprem.inputs.BareMetalAdminClusterNodeAccessConfigArgs;
 * import com.pulumi.gcp.gkeonprem.inputs.BareMetalAdminClusterSecurityConfigArgs;
 * import com.pulumi.gcp.gkeonprem.inputs.BareMetalAdminClusterSecurityConfigAuthorizationArgs;
 * import com.pulumi.gcp.gkeonprem.inputs.BareMetalAdminClusterMaintenanceConfigArgs;
 * import com.pulumi.gcp.gkeonprem.inputs.BareMetalAdminClusterClusterOperationsArgs;
 * import com.pulumi.gcp.gkeonprem.inputs.BareMetalAdminClusterProxyArgs;
 * 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 admin_cluster_basic = new BareMetalAdminCluster("admin-cluster-basic", BareMetalAdminClusterArgs.builder()
 *             .name("my-cluster")
 *             .location("us-west1")
 *             .description("test description")
 *             .bareMetalVersion("1.13.4")
 *             .annotations(Map.of("env", "test"))
 *             .networkConfig(BareMetalAdminClusterNetworkConfigArgs.builder()
 *                 .islandModeCidr(BareMetalAdminClusterNetworkConfigIslandModeCidrArgs.builder()
 *                     .serviceAddressCidrBlocks("172.26.0.0/16")
 *                     .podAddressCidrBlocks("10.240.0.0/13")
 *                     .build())
 *                 .build())
 *             .nodeConfig(BareMetalAdminClusterNodeConfigArgs.builder()
 *                 .maxPodsPerNode(250)
 *                 .build())
 *             .controlPlane(BareMetalAdminClusterControlPlaneArgs.builder()
 *                 .controlPlaneNodePoolConfig(BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigArgs.builder()
 *                     .nodePoolConfig(BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigArgs.builder()
 *                         .labels()
 *                         .operatingSystem("LINUX")
 *                         .nodeConfigs(
 *                             BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigNodeConfigArgs.builder()
 *                                 .labels()
 *                                 .nodeIp("10.200.0.2")
 *                                 .build(),
 *                             BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigNodeConfigArgs.builder()
 *                                 .labels()
 *                                 .nodeIp("10.200.0.3")
 *                                 .build(),
 *                             BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigNodeConfigArgs.builder()
 *                                 .labels()
 *                                 .nodeIp("10.200.0.4")
 *                                 .build())
 *                         .taints(BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigTaintArgs.builder()
 *                             .key("test-key")
 *                             .value("test-value")
 *                             .effect("NO_EXECUTE")
 *                             .build())
 *                         .build())
 *                     .build())
 *                 .apiServerArgs(BareMetalAdminClusterControlPlaneApiServerArgArgs.builder()
 *                     .argument("test argument")
 *                     .value("test value")
 *                     .build())
 *                 .build())
 *             .loadBalancer(BareMetalAdminClusterLoadBalancerArgs.builder()
 *                 .portConfig(BareMetalAdminClusterLoadBalancerPortConfigArgs.builder()
 *                     .controlPlaneLoadBalancerPort(443)
 *                     .build())
 *                 .vipConfig(BareMetalAdminClusterLoadBalancerVipConfigArgs.builder()
 *                     .controlPlaneVip("10.200.0.5")
 *                     .build())
 *                 .manualLbConfig(BareMetalAdminClusterLoadBalancerManualLbConfigArgs.builder()
 *                     .enabled(true)
 *                     .build())
 *                 .build())
 *             .storage(BareMetalAdminClusterStorageArgs.builder()
 *                 .lvpShareConfig(BareMetalAdminClusterStorageLvpShareConfigArgs.builder()
 *                     .lvpConfig(BareMetalAdminClusterStorageLvpShareConfigLvpConfigArgs.builder()
 *                         .path("/mnt/localpv-share")
 *                         .storageClass("local-shared")
 *                         .build())
 *                     .sharedPathPvCount(5)
 *                     .build())
 *                 .lvpNodeMountsConfig(BareMetalAdminClusterStorageLvpNodeMountsConfigArgs.builder()
 *                     .path("/mnt/localpv-disk")
 *                     .storageClass("local-disks")
 *                     .build())
 *                 .build())
 *             .nodeAccessConfig(BareMetalAdminClusterNodeAccessConfigArgs.builder()
 *                 .loginUser("root")
 *                 .build())
 *             .securityConfig(BareMetalAdminClusterSecurityConfigArgs.builder()
 *                 .authorization(BareMetalAdminClusterSecurityConfigAuthorizationArgs.builder()
 *                     .adminUsers(BareMetalAdminClusterSecurityConfigAuthorizationAdminUserArgs.builder()
 *                         .username("[email protected]")
 *                         .build())
 *                     .build())
 *                 .build())
 *             .maintenanceConfig(BareMetalAdminClusterMaintenanceConfigArgs.builder()
 *                 .maintenanceAddressCidrBlocks(
 *                     "10.0.0.1/32",
 *                     "10.0.0.2/32")
 *                 .build())
 *             .clusterOperations(BareMetalAdminClusterClusterOperationsArgs.builder()
 *                 .enableApplicationLogs(true)
 *                 .build())
 *             .proxy(BareMetalAdminClusterProxyArgs.builder()
 *                 .uri("test proxy uri")
 *                 .noProxies("127.0.0.1")
 *                 .build())
 *             .build());
 *     }
 * }
 * ```
 * ```yaml
 * resources:
 *   admin-cluster-basic:
 *     type: gcp:gkeonprem:BareMetalAdminCluster
 *     properties:
 *       name: my-cluster
 *       location: us-west1
 *       description: test description
 *       bareMetalVersion: 1.13.4
 *       annotations:
 *         env: test
 *       networkConfig:
 *         islandModeCidr:
 *           serviceAddressCidrBlocks:
 *             - 172.26.0.0/16
 *           podAddressCidrBlocks:
 *             - 10.240.0.0/13
 *       nodeConfig:
 *         maxPodsPerNode: 250
 *       controlPlane:
 *         controlPlaneNodePoolConfig:
 *           nodePoolConfig:
 *             labels: {}
 *             operatingSystem: LINUX
 *             nodeConfigs:
 *               - labels: {}
 *                 nodeIp: 10.200.0.2
 *               - labels: {}
 *                 nodeIp: 10.200.0.3
 *               - labels: {}
 *                 nodeIp: 10.200.0.4
 *             taints:
 *               - key: test-key
 *                 value: test-value
 *                 effect: NO_EXECUTE
 *         apiServerArgs:
 *           - argument: test argument
 *             value: test value
 *       loadBalancer:
 *         portConfig:
 *           controlPlaneLoadBalancerPort: 443
 *         vipConfig:
 *           controlPlaneVip: 10.200.0.5
 *         manualLbConfig:
 *           enabled: true
 *       storage:
 *         lvpShareConfig:
 *           lvpConfig:
 *             path: /mnt/localpv-share
 *             storageClass: local-shared
 *           sharedPathPvCount: 5
 *         lvpNodeMountsConfig:
 *           path: /mnt/localpv-disk
 *           storageClass: local-disks
 *       nodeAccessConfig:
 *         loginUser: root
 *       securityConfig:
 *         authorization:
 *           adminUsers:
 *             - username: [email protected]
 *       maintenanceConfig:
 *         maintenanceAddressCidrBlocks:
 *           - 10.0.0.1/32
 *           - 10.0.0.2/32
 *       clusterOperations:
 *         enableApplicationLogs: true
 *       proxy:
 *         uri: test proxy uri
 *         noProxies:
 *           - 127.0.0.1
 * ```
 * 
 * ## Import
 * BareMetalAdminCluster can be imported using any of these accepted formats:
 * * `projects/{{project}}/locations/{{location}}/bareMetalAdminClusters/{{name}}`
 * * `{{project}}/{{location}}/{{name}}`
 * * `{{location}}/{{name}}`
 * When using the `pulumi import` command, BareMetalAdminCluster can be imported using one of the formats above. For example:
 * ```sh
 * $ pulumi import gcp:gkeonprem/bareMetalAdminCluster:BareMetalAdminCluster default projects/{{project}}/locations/{{location}}/bareMetalAdminClusters/{{name}}
 * ```
 * ```sh
 * $ pulumi import gcp:gkeonprem/bareMetalAdminCluster:BareMetalAdminCluster default {{project}}/{{location}}/{{name}}
 * ```
 * ```sh
 * $ pulumi import gcp:gkeonprem/bareMetalAdminCluster:BareMetalAdminCluster default {{location}}/{{name}}
 * ```
 * @property annotations Annotations on the Bare Metal Admin Cluster.
 * This field has the same restrictions as Kubernetes annotations.
 * The total size of all keys and values combined is limited to 256k.
 * Key can have 2 segments: prefix (optional) and name (required),
 * separated by a slash (/).
 * Prefix must be a DNS subdomain.
 * Name must be 63 characters or less, begin and end with alphanumerics,
 * with dashes (-), underscores (_), dots (.), and alphanumerics between.
 * **Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
 * Please refer to the field `effective_annotations` for all of the annotations present on the resource.
 * @property bareMetalVersion A human readable description of this Bare Metal Admin Cluster.
 * @property clusterOperations Specifies the Admin Cluster's observability infrastructure.
 * Structure is documented below.
 * @property controlPlane Specifies the control plane configuration.
 * Structure is documented below.
 * @property description A human readable description of this Bare Metal Admin Cluster.
 * @property loadBalancer Specifies the load balancer configuration.
 * Structure is documented below.
 * @property location The location of the resource.
 * - - -
 * @property maintenanceConfig Specifies the workload node configurations.
 * Structure is documented below.
 * @property name The bare metal admin cluster name.
 * @property networkConfig Network configuration.
 * Structure is documented below.
 * @property nodeAccessConfig Specifies the node access related settings for the bare metal user cluster.
 * Structure is documented below.
 * @property nodeConfig Specifies the workload node configurations.
 * Structure is documented below.
 * @property project The ID of the project in which the resource belongs.
 * If it is not provided, the provider project is used.
 * @property proxy Specifies the cluster proxy configuration.
 * Structure is documented below.
 * @property securityConfig Specifies the security related settings for the Bare Metal User Cluster.
 * Structure is documented below.
 * @property storage Specifies the cluster storage configuration.
 * Structure is documented below.
 */
public data class BareMetalAdminClusterArgs(
    public val annotations: Output>? = null,
    public val bareMetalVersion: Output? = null,
    public val clusterOperations: Output? = null,
    public val controlPlane: Output? = null,
    public val description: Output? = null,
    public val loadBalancer: Output? = null,
    public val location: Output? = null,
    public val maintenanceConfig: Output? = null,
    public val name: Output? = null,
    public val networkConfig: Output? = null,
    public val nodeAccessConfig: Output? = null,
    public val nodeConfig: Output? = null,
    public val project: Output? = null,
    public val proxy: Output? = null,
    public val securityConfig: Output? = null,
    public val storage: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.gkeonprem.BareMetalAdminClusterArgs =
        com.pulumi.gcp.gkeonprem.BareMetalAdminClusterArgs.builder()
            .annotations(
                annotations?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.key.to(args0.value)
                    }).toMap()
                }),
            )
            .bareMetalVersion(bareMetalVersion?.applyValue({ args0 -> args0 }))
            .clusterOperations(clusterOperations?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .controlPlane(controlPlane?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .description(description?.applyValue({ args0 -> args0 }))
            .loadBalancer(loadBalancer?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .location(location?.applyValue({ args0 -> args0 }))
            .maintenanceConfig(maintenanceConfig?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .name(name?.applyValue({ args0 -> args0 }))
            .networkConfig(networkConfig?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .nodeAccessConfig(nodeAccessConfig?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .nodeConfig(nodeConfig?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .project(project?.applyValue({ args0 -> args0 }))
            .proxy(proxy?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .securityConfig(securityConfig?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .storage(storage?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}

/**
 * Builder for [BareMetalAdminClusterArgs].
 */
@PulumiTagMarker
public class BareMetalAdminClusterArgsBuilder internal constructor() {
    private var annotations: Output>? = null

    private var bareMetalVersion: Output? = null

    private var clusterOperations: Output? = null

    private var controlPlane: Output? = null

    private var description: Output? = null

    private var loadBalancer: Output? = null

    private var location: Output? = null

    private var maintenanceConfig: Output? = null

    private var name: Output? = null

    private var networkConfig: Output? = null

    private var nodeAccessConfig: Output? = null

    private var nodeConfig: Output? = null

    private var project: Output? = null

    private var proxy: Output? = null

    private var securityConfig: Output? = null

    private var storage: Output? = null

    /**
     * @param value Annotations on the Bare Metal Admin Cluster.
     * This field has the same restrictions as Kubernetes annotations.
     * The total size of all keys and values combined is limited to 256k.
     * Key can have 2 segments: prefix (optional) and name (required),
     * separated by a slash (/).
     * Prefix must be a DNS subdomain.
     * Name must be 63 characters or less, begin and end with alphanumerics,
     * with dashes (-), underscores (_), dots (.), and alphanumerics between.
     * **Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
     * Please refer to the field `effective_annotations` for all of the annotations present on the resource.
     */
    @JvmName("xsqskipfixnbwfkc")
    public suspend fun annotations(`value`: Output>) {
        this.annotations = value
    }

    /**
     * @param value A human readable description of this Bare Metal Admin Cluster.
     */
    @JvmName("vmwgxkkoposgigdx")
    public suspend fun bareMetalVersion(`value`: Output) {
        this.bareMetalVersion = value
    }

    /**
     * @param value Specifies the Admin Cluster's observability infrastructure.
     * Structure is documented below.
     */
    @JvmName("vcntfpfynjsvwobn")
    public suspend fun clusterOperations(`value`: Output) {
        this.clusterOperations = value
    }

    /**
     * @param value Specifies the control plane configuration.
     * Structure is documented below.
     */
    @JvmName("kdroeajpfmyrsenp")
    public suspend fun controlPlane(`value`: Output) {
        this.controlPlane = value
    }

    /**
     * @param value A human readable description of this Bare Metal Admin Cluster.
     */
    @JvmName("nynddxnpabtnoncd")
    public suspend fun description(`value`: Output) {
        this.description = value
    }

    /**
     * @param value Specifies the load balancer configuration.
     * Structure is documented below.
     */
    @JvmName("hbwmnksmwxiptkng")
    public suspend fun loadBalancer(`value`: Output) {
        this.loadBalancer = value
    }

    /**
     * @param value The location of the resource.
     * - - -
     */
    @JvmName("pigcixohlrprdfbo")
    public suspend fun location(`value`: Output) {
        this.location = value
    }

    /**
     * @param value Specifies the workload node configurations.
     * Structure is documented below.
     */
    @JvmName("oqgyrewqjwsrlnuk")
    public suspend fun maintenanceConfig(`value`: Output) {
        this.maintenanceConfig = value
    }

    /**
     * @param value The bare metal admin cluster name.
     */
    @JvmName("mdaqoufqefsohfak")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

    /**
     * @param value Network configuration.
     * Structure is documented below.
     */
    @JvmName("qnjslnxwxojxiuls")
    public suspend fun networkConfig(`value`: Output) {
        this.networkConfig = value
    }

    /**
     * @param value Specifies the node access related settings for the bare metal user cluster.
     * Structure is documented below.
     */
    @JvmName("atxmyovktddmnqga")
    public suspend fun nodeAccessConfig(`value`: Output) {
        this.nodeAccessConfig = value
    }

    /**
     * @param value Specifies the workload node configurations.
     * Structure is documented below.
     */
    @JvmName("eroguscckdwucukt")
    public suspend fun nodeConfig(`value`: Output) {
        this.nodeConfig = value
    }

    /**
     * @param value The ID of the project in which the resource belongs.
     * If it is not provided, the provider project is used.
     */
    @JvmName("glejqrbpriaanjnh")
    public suspend fun project(`value`: Output) {
        this.project = value
    }

    /**
     * @param value Specifies the cluster proxy configuration.
     * Structure is documented below.
     */
    @JvmName("gseijhaekwbmqbyd")
    public suspend fun proxy(`value`: Output) {
        this.proxy = value
    }

    /**
     * @param value Specifies the security related settings for the Bare Metal User Cluster.
     * Structure is documented below.
     */
    @JvmName("dmptltmyabiopghm")
    public suspend fun securityConfig(`value`: Output) {
        this.securityConfig = value
    }

    /**
     * @param value Specifies the cluster storage configuration.
     * Structure is documented below.
     */
    @JvmName("dhvvrosunyueffeh")
    public suspend fun storage(`value`: Output) {
        this.storage = value
    }

    /**
     * @param value Annotations on the Bare Metal Admin Cluster.
     * This field has the same restrictions as Kubernetes annotations.
     * The total size of all keys and values combined is limited to 256k.
     * Key can have 2 segments: prefix (optional) and name (required),
     * separated by a slash (/).
     * Prefix must be a DNS subdomain.
     * Name must be 63 characters or less, begin and end with alphanumerics,
     * with dashes (-), underscores (_), dots (.), and alphanumerics between.
     * **Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
     * Please refer to the field `effective_annotations` for all of the annotations present on the resource.
     */
    @JvmName("vfyoxcgtejrrigup")
    public suspend fun annotations(`value`: Map?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.annotations = mapped
    }

    /**
     * @param values Annotations on the Bare Metal Admin Cluster.
     * This field has the same restrictions as Kubernetes annotations.
     * The total size of all keys and values combined is limited to 256k.
     * Key can have 2 segments: prefix (optional) and name (required),
     * separated by a slash (/).
     * Prefix must be a DNS subdomain.
     * Name must be 63 characters or less, begin and end with alphanumerics,
     * with dashes (-), underscores (_), dots (.), and alphanumerics between.
     * **Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
     * Please refer to the field `effective_annotations` for all of the annotations present on the resource.
     */
    @JvmName("jehrkkmifbpokptt")
    public fun annotations(vararg values: Pair) {
        val toBeMapped = values.toMap()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.annotations = mapped
    }

    /**
     * @param value A human readable description of this Bare Metal Admin Cluster.
     */
    @JvmName("coulanxniohgmtay")
    public suspend fun bareMetalVersion(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.bareMetalVersion = mapped
    }

    /**
     * @param value Specifies the Admin Cluster's observability infrastructure.
     * Structure is documented below.
     */
    @JvmName("dwbyhritjuyahqvu")
    public suspend fun clusterOperations(`value`: BareMetalAdminClusterClusterOperationsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.clusterOperations = mapped
    }

    /**
     * @param argument Specifies the Admin Cluster's observability infrastructure.
     * Structure is documented below.
     */
    @JvmName("hrajvlnjbpvlagpu")
    public suspend fun clusterOperations(argument: suspend BareMetalAdminClusterClusterOperationsArgsBuilder.() -> Unit) {
        val toBeMapped = BareMetalAdminClusterClusterOperationsArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.clusterOperations = mapped
    }

    /**
     * @param value Specifies the control plane configuration.
     * Structure is documented below.
     */
    @JvmName("skwudcqxywgwpbwu")
    public suspend fun controlPlane(`value`: BareMetalAdminClusterControlPlaneArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.controlPlane = mapped
    }

    /**
     * @param argument Specifies the control plane configuration.
     * Structure is documented below.
     */
    @JvmName("mcrcsjiigrgprtst")
    public suspend fun controlPlane(argument: suspend BareMetalAdminClusterControlPlaneArgsBuilder.() -> Unit) {
        val toBeMapped = BareMetalAdminClusterControlPlaneArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.controlPlane = mapped
    }

    /**
     * @param value A human readable description of this Bare Metal Admin Cluster.
     */
    @JvmName("tcjqbiqiuehdgbrn")
    public suspend fun description(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.description = mapped
    }

    /**
     * @param value Specifies the load balancer configuration.
     * Structure is documented below.
     */
    @JvmName("xsukvivconkwicsl")
    public suspend fun loadBalancer(`value`: BareMetalAdminClusterLoadBalancerArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.loadBalancer = mapped
    }

    /**
     * @param argument Specifies the load balancer configuration.
     * Structure is documented below.
     */
    @JvmName("hmchkjdadlmwfjgq")
    public suspend fun loadBalancer(argument: suspend BareMetalAdminClusterLoadBalancerArgsBuilder.() -> Unit) {
        val toBeMapped = BareMetalAdminClusterLoadBalancerArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.loadBalancer = mapped
    }

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

    /**
     * @param value Specifies the workload node configurations.
     * Structure is documented below.
     */
    @JvmName("vjkrgwiykscymfhr")
    public suspend fun maintenanceConfig(`value`: BareMetalAdminClusterMaintenanceConfigArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.maintenanceConfig = mapped
    }

    /**
     * @param argument Specifies the workload node configurations.
     * Structure is documented below.
     */
    @JvmName("wgjcqebxsqvbiapy")
    public suspend fun maintenanceConfig(argument: suspend BareMetalAdminClusterMaintenanceConfigArgsBuilder.() -> Unit) {
        val toBeMapped = BareMetalAdminClusterMaintenanceConfigArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.maintenanceConfig = mapped
    }

    /**
     * @param value The bare metal admin cluster name.
     */
    @JvmName("nrbiriwwhfcxhonh")
    public suspend fun name(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.name = mapped
    }

    /**
     * @param value Network configuration.
     * Structure is documented below.
     */
    @JvmName("jesdrafswdxstido")
    public suspend fun networkConfig(`value`: BareMetalAdminClusterNetworkConfigArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.networkConfig = mapped
    }

    /**
     * @param argument Network configuration.
     * Structure is documented below.
     */
    @JvmName("wkmrsumoccdoxheu")
    public suspend fun networkConfig(argument: suspend BareMetalAdminClusterNetworkConfigArgsBuilder.() -> Unit) {
        val toBeMapped = BareMetalAdminClusterNetworkConfigArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.networkConfig = mapped
    }

    /**
     * @param value Specifies the node access related settings for the bare metal user cluster.
     * Structure is documented below.
     */
    @JvmName("wbwykfmskrbsyuhw")
    public suspend fun nodeAccessConfig(`value`: BareMetalAdminClusterNodeAccessConfigArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.nodeAccessConfig = mapped
    }

    /**
     * @param argument Specifies the node access related settings for the bare metal user cluster.
     * Structure is documented below.
     */
    @JvmName("hcxnyhewyqrgnvvr")
    public suspend fun nodeAccessConfig(argument: suspend BareMetalAdminClusterNodeAccessConfigArgsBuilder.() -> Unit) {
        val toBeMapped = BareMetalAdminClusterNodeAccessConfigArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.nodeAccessConfig = mapped
    }

    /**
     * @param value Specifies the workload node configurations.
     * Structure is documented below.
     */
    @JvmName("pxfmihtfeeayaofl")
    public suspend fun nodeConfig(`value`: BareMetalAdminClusterNodeConfigArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.nodeConfig = mapped
    }

    /**
     * @param argument Specifies the workload node configurations.
     * Structure is documented below.
     */
    @JvmName("polxomqmmyfsmmah")
    public suspend fun nodeConfig(argument: suspend BareMetalAdminClusterNodeConfigArgsBuilder.() -> Unit) {
        val toBeMapped = BareMetalAdminClusterNodeConfigArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.nodeConfig = mapped
    }

    /**
     * @param value The ID of the project in which the resource belongs.
     * If it is not provided, the provider project is used.
     */
    @JvmName("sudsddlberwsgokv")
    public suspend fun project(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.project = mapped
    }

    /**
     * @param value Specifies the cluster proxy configuration.
     * Structure is documented below.
     */
    @JvmName("djyyabjqspsoxfqw")
    public suspend fun proxy(`value`: BareMetalAdminClusterProxyArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.proxy = mapped
    }

    /**
     * @param argument Specifies the cluster proxy configuration.
     * Structure is documented below.
     */
    @JvmName("lqrkwytjvsdaibkj")
    public suspend fun proxy(argument: suspend BareMetalAdminClusterProxyArgsBuilder.() -> Unit) {
        val toBeMapped = BareMetalAdminClusterProxyArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.proxy = mapped
    }

    /**
     * @param value Specifies the security related settings for the Bare Metal User Cluster.
     * Structure is documented below.
     */
    @JvmName("bbihsdpdhyfrcxya")
    public suspend fun securityConfig(`value`: BareMetalAdminClusterSecurityConfigArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.securityConfig = mapped
    }

    /**
     * @param argument Specifies the security related settings for the Bare Metal User Cluster.
     * Structure is documented below.
     */
    @JvmName("lypcfgdqqcxjnvdf")
    public suspend fun securityConfig(argument: suspend BareMetalAdminClusterSecurityConfigArgsBuilder.() -> Unit) {
        val toBeMapped = BareMetalAdminClusterSecurityConfigArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.securityConfig = mapped
    }

    /**
     * @param value Specifies the cluster storage configuration.
     * Structure is documented below.
     */
    @JvmName("xqpkkbpyxjiftyhx")
    public suspend fun storage(`value`: BareMetalAdminClusterStorageArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.storage = mapped
    }

    /**
     * @param argument Specifies the cluster storage configuration.
     * Structure is documented below.
     */
    @JvmName("ljncymlyhjyqinyx")
    public suspend fun storage(argument: suspend BareMetalAdminClusterStorageArgsBuilder.() -> Unit) {
        val toBeMapped = BareMetalAdminClusterStorageArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.storage = mapped
    }

    internal fun build(): BareMetalAdminClusterArgs = BareMetalAdminClusterArgs(
        annotations = annotations,
        bareMetalVersion = bareMetalVersion,
        clusterOperations = clusterOperations,
        controlPlane = controlPlane,
        description = description,
        loadBalancer = loadBalancer,
        location = location,
        maintenanceConfig = maintenanceConfig,
        name = name,
        networkConfig = networkConfig,
        nodeAccessConfig = nodeAccessConfig,
        nodeConfig = nodeConfig,
        project = project,
        proxy = proxy,
        securityConfig = securityConfig,
        storage = storage,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy