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

com.pulumi.gcp.gkeonprem.kotlin.BareMetalClusterArgs.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.gkeonprem.kotlin

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.gkeonprem.BareMetalClusterArgs.builder
import com.pulumi.gcp.gkeonprem.kotlin.inputs.BareMetalClusterBinaryAuthorizationArgs
import com.pulumi.gcp.gkeonprem.kotlin.inputs.BareMetalClusterBinaryAuthorizationArgsBuilder
import com.pulumi.gcp.gkeonprem.kotlin.inputs.BareMetalClusterClusterOperationsArgs
import com.pulumi.gcp.gkeonprem.kotlin.inputs.BareMetalClusterClusterOperationsArgsBuilder
import com.pulumi.gcp.gkeonprem.kotlin.inputs.BareMetalClusterControlPlaneArgs
import com.pulumi.gcp.gkeonprem.kotlin.inputs.BareMetalClusterControlPlaneArgsBuilder
import com.pulumi.gcp.gkeonprem.kotlin.inputs.BareMetalClusterLoadBalancerArgs
import com.pulumi.gcp.gkeonprem.kotlin.inputs.BareMetalClusterLoadBalancerArgsBuilder
import com.pulumi.gcp.gkeonprem.kotlin.inputs.BareMetalClusterMaintenanceConfigArgs
import com.pulumi.gcp.gkeonprem.kotlin.inputs.BareMetalClusterMaintenanceConfigArgsBuilder
import com.pulumi.gcp.gkeonprem.kotlin.inputs.BareMetalClusterNetworkConfigArgs
import com.pulumi.gcp.gkeonprem.kotlin.inputs.BareMetalClusterNetworkConfigArgsBuilder
import com.pulumi.gcp.gkeonprem.kotlin.inputs.BareMetalClusterNodeAccessConfigArgs
import com.pulumi.gcp.gkeonprem.kotlin.inputs.BareMetalClusterNodeAccessConfigArgsBuilder
import com.pulumi.gcp.gkeonprem.kotlin.inputs.BareMetalClusterNodeConfigArgs
import com.pulumi.gcp.gkeonprem.kotlin.inputs.BareMetalClusterNodeConfigArgsBuilder
import com.pulumi.gcp.gkeonprem.kotlin.inputs.BareMetalClusterOsEnvironmentConfigArgs
import com.pulumi.gcp.gkeonprem.kotlin.inputs.BareMetalClusterOsEnvironmentConfigArgsBuilder
import com.pulumi.gcp.gkeonprem.kotlin.inputs.BareMetalClusterProxyArgs
import com.pulumi.gcp.gkeonprem.kotlin.inputs.BareMetalClusterProxyArgsBuilder
import com.pulumi.gcp.gkeonprem.kotlin.inputs.BareMetalClusterSecurityConfigArgs
import com.pulumi.gcp.gkeonprem.kotlin.inputs.BareMetalClusterSecurityConfigArgsBuilder
import com.pulumi.gcp.gkeonprem.kotlin.inputs.BareMetalClusterStorageArgs
import com.pulumi.gcp.gkeonprem.kotlin.inputs.BareMetalClusterStorageArgsBuilder
import com.pulumi.gcp.gkeonprem.kotlin.inputs.BareMetalClusterUpgradePolicyArgs
import com.pulumi.gcp.gkeonprem.kotlin.inputs.BareMetalClusterUpgradePolicyArgsBuilder
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 User Cluster.
 * ## Example Usage
 * ### Gkeonprem Bare Metal Cluster Basic
 * 
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as gcp from "@pulumi/gcp";
 * const cluster_basic = new gcp.gkeonprem.BareMetalCluster("cluster-basic", {
 *     name: "my-cluster",
 *     location: "us-west1",
 *     adminClusterMembership: "projects/870316890899/locations/global/memberships/gkeonprem-terraform-test",
 *     bareMetalVersion: "1.12.3",
 *     networkConfig: {
 *         islandModeCidr: {
 *             serviceAddressCidrBlocks: ["172.26.0.0/16"],
 *             podAddressCidrBlocks: ["10.240.0.0/13"],
 *         },
 *     },
 *     controlPlane: {
 *         controlPlaneNodePoolConfig: {
 *             nodePoolConfig: {
 *                 labels: {},
 *                 operatingSystem: "LINUX",
 *                 nodeConfigs: [{
 *                     labels: {},
 *                     nodeIp: "10.200.0.9",
 *                 }],
 *             },
 *         },
 *     },
 *     loadBalancer: {
 *         portConfig: {
 *             controlPlaneLoadBalancerPort: 443,
 *         },
 *         vipConfig: {
 *             controlPlaneVip: "10.200.0.13",
 *             ingressVip: "10.200.0.14",
 *         },
 *         metalLbConfig: {
 *             addressPools: [{
 *                 pool: "pool1",
 *                 addresses: [
 *                     "10.200.0.14/32",
 *                     "10.200.0.15/32",
 *                     "10.200.0.16/32",
 *                     "10.200.0.17/32",
 *                     "10.200.0.18/32",
 *                     "fd00:1::f/128",
 *                     "fd00:1::10/128",
 *                     "fd00:1::11/128",
 *                     "fd00:1::12/128",
 *                 ],
 *                 avoidBuggyIps: true,
 *                 manualAssign: true,
 *             }],
 *         },
 *     },
 *     storage: {
 *         lvpShareConfig: {
 *             lvpConfig: {
 *                 path: "/mnt/localpv-share",
 *                 storageClass: "local-shared",
 *             },
 *             sharedPathPvCount: 5,
 *         },
 *         lvpNodeMountsConfig: {
 *             path: "/mnt/localpv-disk",
 *             storageClass: "local-disks",
 *         },
 *     },
 *     securityConfig: {
 *         authorization: {
 *             adminUsers: [{
 *                 username: "[email protected]",
 *             }],
 *         },
 *     },
 * });
 * ```
 * ```python
 * import pulumi
 * import pulumi_gcp as gcp
 * cluster_basic = gcp.gkeonprem.BareMetalCluster("cluster-basic",
 *     name="my-cluster",
 *     location="us-west1",
 *     admin_cluster_membership="projects/870316890899/locations/global/memberships/gkeonprem-terraform-test",
 *     bare_metal_version="1.12.3",
 *     network_config=gcp.gkeonprem.BareMetalClusterNetworkConfigArgs(
 *         island_mode_cidr=gcp.gkeonprem.BareMetalClusterNetworkConfigIslandModeCidrArgs(
 *             service_address_cidr_blocks=["172.26.0.0/16"],
 *             pod_address_cidr_blocks=["10.240.0.0/13"],
 *         ),
 *     ),
 *     control_plane=gcp.gkeonprem.BareMetalClusterControlPlaneArgs(
 *         control_plane_node_pool_config=gcp.gkeonprem.BareMetalClusterControlPlaneControlPlaneNodePoolConfigArgs(
 *             node_pool_config=gcp.gkeonprem.BareMetalClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigArgs(
 *                 labels={},
 *                 operating_system="LINUX",
 *                 node_configs=[gcp.gkeonprem.BareMetalClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigNodeConfigArgs(
 *                     labels={},
 *                     node_ip="10.200.0.9",
 *                 )],
 *             ),
 *         ),
 *     ),
 *     load_balancer=gcp.gkeonprem.BareMetalClusterLoadBalancerArgs(
 *         port_config=gcp.gkeonprem.BareMetalClusterLoadBalancerPortConfigArgs(
 *             control_plane_load_balancer_port=443,
 *         ),
 *         vip_config=gcp.gkeonprem.BareMetalClusterLoadBalancerVipConfigArgs(
 *             control_plane_vip="10.200.0.13",
 *             ingress_vip="10.200.0.14",
 *         ),
 *         metal_lb_config=gcp.gkeonprem.BareMetalClusterLoadBalancerMetalLbConfigArgs(
 *             address_pools=[gcp.gkeonprem.BareMetalClusterLoadBalancerMetalLbConfigAddressPoolArgs(
 *                 pool="pool1",
 *                 addresses=[
 *                     "10.200.0.14/32",
 *                     "10.200.0.15/32",
 *                     "10.200.0.16/32",
 *                     "10.200.0.17/32",
 *                     "10.200.0.18/32",
 *                     "fd00:1::f/128",
 *                     "fd00:1::10/128",
 *                     "fd00:1::11/128",
 *                     "fd00:1::12/128",
 *                 ],
 *                 avoid_buggy_ips=True,
 *                 manual_assign=True,
 *             )],
 *         ),
 *     ),
 *     storage=gcp.gkeonprem.BareMetalClusterStorageArgs(
 *         lvp_share_config=gcp.gkeonprem.BareMetalClusterStorageLvpShareConfigArgs(
 *             lvp_config=gcp.gkeonprem.BareMetalClusterStorageLvpShareConfigLvpConfigArgs(
 *                 path="/mnt/localpv-share",
 *                 storage_class="local-shared",
 *             ),
 *             shared_path_pv_count=5,
 *         ),
 *         lvp_node_mounts_config=gcp.gkeonprem.BareMetalClusterStorageLvpNodeMountsConfigArgs(
 *             path="/mnt/localpv-disk",
 *             storage_class="local-disks",
 *         ),
 *     ),
 *     security_config=gcp.gkeonprem.BareMetalClusterSecurityConfigArgs(
 *         authorization=gcp.gkeonprem.BareMetalClusterSecurityConfigAuthorizationArgs(
 *             admin_users=[gcp.gkeonprem.BareMetalClusterSecurityConfigAuthorizationAdminUserArgs(
 *                 username="[email protected]",
 *             )],
 *         ),
 *     ))
 * ```
 * ```csharp
 * using System.Collections.Generic;
 * using System.Linq;
 * using Pulumi;
 * using Gcp = Pulumi.Gcp;
 * return await Deployment.RunAsync(() =>
 * {
 *     var cluster_basic = new Gcp.GkeOnPrem.BareMetalCluster("cluster-basic", new()
 *     {
 *         Name = "my-cluster",
 *         Location = "us-west1",
 *         AdminClusterMembership = "projects/870316890899/locations/global/memberships/gkeonprem-terraform-test",
 *         BareMetalVersion = "1.12.3",
 *         NetworkConfig = new Gcp.GkeOnPrem.Inputs.BareMetalClusterNetworkConfigArgs
 *         {
 *             IslandModeCidr = new Gcp.GkeOnPrem.Inputs.BareMetalClusterNetworkConfigIslandModeCidrArgs
 *             {
 *                 ServiceAddressCidrBlocks = new[]
 *                 {
 *                     "172.26.0.0/16",
 *                 },
 *                 PodAddressCidrBlocks = new[]
 *                 {
 *                     "10.240.0.0/13",
 *                 },
 *             },
 *         },
 *         ControlPlane = new Gcp.GkeOnPrem.Inputs.BareMetalClusterControlPlaneArgs
 *         {
 *             ControlPlaneNodePoolConfig = new Gcp.GkeOnPrem.Inputs.BareMetalClusterControlPlaneControlPlaneNodePoolConfigArgs
 *             {
 *                 NodePoolConfig = new Gcp.GkeOnPrem.Inputs.BareMetalClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigArgs
 *                 {
 *                     Labels = null,
 *                     OperatingSystem = "LINUX",
 *                     NodeConfigs = new[]
 *                     {
 *                         new Gcp.GkeOnPrem.Inputs.BareMetalClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigNodeConfigArgs
 *                         {
 *                             Labels = null,
 *                             NodeIp = "10.200.0.9",
 *                         },
 *                     },
 *                 },
 *             },
 *         },
 *         LoadBalancer = new Gcp.GkeOnPrem.Inputs.BareMetalClusterLoadBalancerArgs
 *         {
 *             PortConfig = new Gcp.GkeOnPrem.Inputs.BareMetalClusterLoadBalancerPortConfigArgs
 *             {
 *                 ControlPlaneLoadBalancerPort = 443,
 *             },
 *             VipConfig = new Gcp.GkeOnPrem.Inputs.BareMetalClusterLoadBalancerVipConfigArgs
 *             {
 *                 ControlPlaneVip = "10.200.0.13",
 *                 IngressVip = "10.200.0.14",
 *             },
 *             MetalLbConfig = new Gcp.GkeOnPrem.Inputs.BareMetalClusterLoadBalancerMetalLbConfigArgs
 *             {
 *                 AddressPools = new[]
 *                 {
 *                     new Gcp.GkeOnPrem.Inputs.BareMetalClusterLoadBalancerMetalLbConfigAddressPoolArgs
 *                     {
 *                         Pool = "pool1",
 *                         Addresses = new[]
 *                         {
 *                             "10.200.0.14/32",
 *                             "10.200.0.15/32",
 *                             "10.200.0.16/32",
 *                             "10.200.0.17/32",
 *                             "10.200.0.18/32",
 *                             "fd00:1::f/128",
 *                             "fd00:1::10/128",
 *                             "fd00:1::11/128",
 *                             "fd00:1::12/128",
 *                         },
 *                         AvoidBuggyIps = true,
 *                         ManualAssign = true,
 *                     },
 *                 },
 *             },
 *         },
 *         Storage = new Gcp.GkeOnPrem.Inputs.BareMetalClusterStorageArgs
 *         {
 *             LvpShareConfig = new Gcp.GkeOnPrem.Inputs.BareMetalClusterStorageLvpShareConfigArgs
 *             {
 *                 LvpConfig = new Gcp.GkeOnPrem.Inputs.BareMetalClusterStorageLvpShareConfigLvpConfigArgs
 *                 {
 *                     Path = "/mnt/localpv-share",
 *                     StorageClass = "local-shared",
 *                 },
 *                 SharedPathPvCount = 5,
 *             },
 *             LvpNodeMountsConfig = new Gcp.GkeOnPrem.Inputs.BareMetalClusterStorageLvpNodeMountsConfigArgs
 *             {
 *                 Path = "/mnt/localpv-disk",
 *                 StorageClass = "local-disks",
 *             },
 *         },
 *         SecurityConfig = new Gcp.GkeOnPrem.Inputs.BareMetalClusterSecurityConfigArgs
 *         {
 *             Authorization = new Gcp.GkeOnPrem.Inputs.BareMetalClusterSecurityConfigAuthorizationArgs
 *             {
 *                 AdminUsers = new[]
 *                 {
 *                     new Gcp.GkeOnPrem.Inputs.BareMetalClusterSecurityConfigAuthorizationAdminUserArgs
 *                     {
 *                         Username = "[email protected]",
 *                     },
 *                 },
 *             },
 *         },
 *     });
 * });
 * ```
 * ```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.NewBareMetalCluster(ctx, "cluster-basic", &gkeonprem.BareMetalClusterArgs{
 * 			Name:                   pulumi.String("my-cluster"),
 * 			Location:               pulumi.String("us-west1"),
 * 			AdminClusterMembership: pulumi.String("projects/870316890899/locations/global/memberships/gkeonprem-terraform-test"),
 * 			BareMetalVersion:       pulumi.String("1.12.3"),
 * 			NetworkConfig: &gkeonprem.BareMetalClusterNetworkConfigArgs{
 * 				IslandModeCidr: &gkeonprem.BareMetalClusterNetworkConfigIslandModeCidrArgs{
 * 					ServiceAddressCidrBlocks: pulumi.StringArray{
 * 						pulumi.String("172.26.0.0/16"),
 * 					},
 * 					PodAddressCidrBlocks: pulumi.StringArray{
 * 						pulumi.String("10.240.0.0/13"),
 * 					},
 * 				},
 * 			},
 * 			ControlPlane: &gkeonprem.BareMetalClusterControlPlaneArgs{
 * 				ControlPlaneNodePoolConfig: &gkeonprem.BareMetalClusterControlPlaneControlPlaneNodePoolConfigArgs{
 * 					NodePoolConfig: &gkeonprem.BareMetalClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigArgs{
 * 						Labels:          nil,
 * 						OperatingSystem: pulumi.String("LINUX"),
 * 						NodeConfigs: gkeonprem.BareMetalClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigNodeConfigArray{
 * 							&gkeonprem.BareMetalClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigNodeConfigArgs{
 * 								Labels: nil,
 * 								NodeIp: pulumi.String("10.200.0.9"),
 * 							},
 * 						},
 * 					},
 * 				},
 * 			},
 * 			LoadBalancer: &gkeonprem.BareMetalClusterLoadBalancerArgs{
 * 				PortConfig: &gkeonprem.BareMetalClusterLoadBalancerPortConfigArgs{
 * 					ControlPlaneLoadBalancerPort: pulumi.Int(443),
 * 				},
 * 				VipConfig: &gkeonprem.BareMetalClusterLoadBalancerVipConfigArgs{
 * 					ControlPlaneVip: pulumi.String("10.200.0.13"),
 * 					IngressVip:      pulumi.String("10.200.0.14"),
 * 				},
 * 				MetalLbConfig: &gkeonprem.BareMetalClusterLoadBalancerMetalLbConfigArgs{
 * 					AddressPools: gkeonprem.BareMetalClusterLoadBalancerMetalLbConfigAddressPoolArray{
 * 						&gkeonprem.BareMetalClusterLoadBalancerMetalLbConfigAddressPoolArgs{
 * 							Pool: pulumi.String("pool1"),
 * 							Addresses: pulumi.StringArray{
 * 								pulumi.String("10.200.0.14/32"),
 * 								pulumi.String("10.200.0.15/32"),
 * 								pulumi.String("10.200.0.16/32"),
 * 								pulumi.String("10.200.0.17/32"),
 * 								pulumi.String("10.200.0.18/32"),
 * 								pulumi.String("fd00:1::f/128"),
 * 								pulumi.String("fd00:1::10/128"),
 * 								pulumi.String("fd00:1::11/128"),
 * 								pulumi.String("fd00:1::12/128"),
 * 							},
 * 							AvoidBuggyIps: pulumi.Bool(true),
 * 							ManualAssign:  pulumi.Bool(true),
 * 						},
 * 					},
 * 				},
 * 			},
 * 			Storage: &gkeonprem.BareMetalClusterStorageArgs{
 * 				LvpShareConfig: &gkeonprem.BareMetalClusterStorageLvpShareConfigArgs{
 * 					LvpConfig: &gkeonprem.BareMetalClusterStorageLvpShareConfigLvpConfigArgs{
 * 						Path:         pulumi.String("/mnt/localpv-share"),
 * 						StorageClass: pulumi.String("local-shared"),
 * 					},
 * 					SharedPathPvCount: pulumi.Int(5),
 * 				},
 * 				LvpNodeMountsConfig: &gkeonprem.BareMetalClusterStorageLvpNodeMountsConfigArgs{
 * 					Path:         pulumi.String("/mnt/localpv-disk"),
 * 					StorageClass: pulumi.String("local-disks"),
 * 				},
 * 			},
 * 			SecurityConfig: &gkeonprem.BareMetalClusterSecurityConfigArgs{
 * 				Authorization: &gkeonprem.BareMetalClusterSecurityConfigAuthorizationArgs{
 * 					AdminUsers: gkeonprem.BareMetalClusterSecurityConfigAuthorizationAdminUserArray{
 * 						&gkeonprem.BareMetalClusterSecurityConfigAuthorizationAdminUserArgs{
 * 							Username: pulumi.String("[email protected]"),
 * 						},
 * 					},
 * 				},
 * 			},
 * 		})
 * 		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.BareMetalCluster;
 * import com.pulumi.gcp.gkeonprem.BareMetalClusterArgs;
 * import com.pulumi.gcp.gkeonprem.inputs.BareMetalClusterNetworkConfigArgs;
 * import com.pulumi.gcp.gkeonprem.inputs.BareMetalClusterNetworkConfigIslandModeCidrArgs;
 * import com.pulumi.gcp.gkeonprem.inputs.BareMetalClusterControlPlaneArgs;
 * import com.pulumi.gcp.gkeonprem.inputs.BareMetalClusterControlPlaneControlPlaneNodePoolConfigArgs;
 * import com.pulumi.gcp.gkeonprem.inputs.BareMetalClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigArgs;
 * import com.pulumi.gcp.gkeonprem.inputs.BareMetalClusterLoadBalancerArgs;
 * import com.pulumi.gcp.gkeonprem.inputs.BareMetalClusterLoadBalancerPortConfigArgs;
 * import com.pulumi.gcp.gkeonprem.inputs.BareMetalClusterLoadBalancerVipConfigArgs;
 * import com.pulumi.gcp.gkeonprem.inputs.BareMetalClusterLoadBalancerMetalLbConfigArgs;
 * import com.pulumi.gcp.gkeonprem.inputs.BareMetalClusterStorageArgs;
 * import com.pulumi.gcp.gkeonprem.inputs.BareMetalClusterStorageLvpShareConfigArgs;
 * import com.pulumi.gcp.gkeonprem.inputs.BareMetalClusterStorageLvpShareConfigLvpConfigArgs;
 * import com.pulumi.gcp.gkeonprem.inputs.BareMetalClusterStorageLvpNodeMountsConfigArgs;
 * import com.pulumi.gcp.gkeonprem.inputs.BareMetalClusterSecurityConfigArgs;
 * import com.pulumi.gcp.gkeonprem.inputs.BareMetalClusterSecurityConfigAuthorizationArgs;
 * 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 cluster_basic = new BareMetalCluster("cluster-basic", BareMetalClusterArgs.builder()
 *             .name("my-cluster")
 *             .location("us-west1")
 *             .adminClusterMembership("projects/870316890899/locations/global/memberships/gkeonprem-terraform-test")
 *             .bareMetalVersion("1.12.3")
 *             .networkConfig(BareMetalClusterNetworkConfigArgs.builder()
 *                 .islandModeCidr(BareMetalClusterNetworkConfigIslandModeCidrArgs.builder()
 *                     .serviceAddressCidrBlocks("172.26.0.0/16")
 *                     .podAddressCidrBlocks("10.240.0.0/13")
 *                     .build())
 *                 .build())
 *             .controlPlane(BareMetalClusterControlPlaneArgs.builder()
 *                 .controlPlaneNodePoolConfig(BareMetalClusterControlPlaneControlPlaneNodePoolConfigArgs.builder()
 *                     .nodePoolConfig(BareMetalClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigArgs.builder()
 *                         .labels()
 *                         .operatingSystem("LINUX")
 *                         .nodeConfigs(BareMetalClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigNodeConfigArgs.builder()
 *                             .labels()
 *                             .nodeIp("10.200.0.9")
 *                             .build())
 *                         .build())
 *                     .build())
 *                 .build())
 *             .loadBalancer(BareMetalClusterLoadBalancerArgs.builder()
 *                 .portConfig(BareMetalClusterLoadBalancerPortConfigArgs.builder()
 *                     .controlPlaneLoadBalancerPort(443)
 *                     .build())
 *                 .vipConfig(BareMetalClusterLoadBalancerVipConfigArgs.builder()
 *                     .controlPlaneVip("10.200.0.13")
 *                     .ingressVip("10.200.0.14")
 *                     .build())
 *                 .metalLbConfig(BareMetalClusterLoadBalancerMetalLbConfigArgs.builder()
 *                     .addressPools(BareMetalClusterLoadBalancerMetalLbConfigAddressPoolArgs.builder()
 *                         .pool("pool1")
 *                         .addresses(
 *                             "10.200.0.14/32",
 *                             "10.200.0.15/32",
 *                             "10.200.0.16/32",
 *                             "10.200.0.17/32",
 *                             "10.200.0.18/32",
 *                             "fd00:1::f/128",
 *                             "fd00:1::10/128",
 *                             "fd00:1::11/128",
 *                             "fd00:1::12/128")
 *                         .avoidBuggyIps(true)
 *                         .manualAssign(true)
 *                         .build())
 *                     .build())
 *                 .build())
 *             .storage(BareMetalClusterStorageArgs.builder()
 *                 .lvpShareConfig(BareMetalClusterStorageLvpShareConfigArgs.builder()
 *                     .lvpConfig(BareMetalClusterStorageLvpShareConfigLvpConfigArgs.builder()
 *                         .path("/mnt/localpv-share")
 *                         .storageClass("local-shared")
 *                         .build())
 *                     .sharedPathPvCount(5)
 *                     .build())
 *                 .lvpNodeMountsConfig(BareMetalClusterStorageLvpNodeMountsConfigArgs.builder()
 *                     .path("/mnt/localpv-disk")
 *                     .storageClass("local-disks")
 *                     .build())
 *                 .build())
 *             .securityConfig(BareMetalClusterSecurityConfigArgs.builder()
 *                 .authorization(BareMetalClusterSecurityConfigAuthorizationArgs.builder()
 *                     .adminUsers(BareMetalClusterSecurityConfigAuthorizationAdminUserArgs.builder()
 *                         .username("[email protected]")
 *                         .build())
 *                     .build())
 *                 .build())
 *             .build());
 *     }
 * }
 * ```
 * ```yaml
 * resources:
 *   cluster-basic:
 *     type: gcp:gkeonprem:BareMetalCluster
 *     properties:
 *       name: my-cluster
 *       location: us-west1
 *       adminClusterMembership: projects/870316890899/locations/global/memberships/gkeonprem-terraform-test
 *       bareMetalVersion: 1.12.3
 *       networkConfig:
 *         islandModeCidr:
 *           serviceAddressCidrBlocks:
 *             - 172.26.0.0/16
 *           podAddressCidrBlocks:
 *             - 10.240.0.0/13
 *       controlPlane:
 *         controlPlaneNodePoolConfig:
 *           nodePoolConfig:
 *             labels: {}
 *             operatingSystem: LINUX
 *             nodeConfigs:
 *               - labels: {}
 *                 nodeIp: 10.200.0.9
 *       loadBalancer:
 *         portConfig:
 *           controlPlaneLoadBalancerPort: 443
 *         vipConfig:
 *           controlPlaneVip: 10.200.0.13
 *           ingressVip: 10.200.0.14
 *         metalLbConfig:
 *           addressPools:
 *             - pool: pool1
 *               addresses:
 *                 - 10.200.0.14/32
 *                 - 10.200.0.15/32
 *                 - 10.200.0.16/32
 *                 - 10.200.0.17/32
 *                 - 10.200.0.18/32
 *                 - fd00:1::f/128
 *                 - fd00:1::10/128
 *                 - fd00:1::11/128
 *                 - fd00:1::12/128
 *               avoidBuggyIps: true
 *               manualAssign: true
 *       storage:
 *         lvpShareConfig:
 *           lvpConfig:
 *             path: /mnt/localpv-share
 *             storageClass: local-shared
 *           sharedPathPvCount: 5
 *         lvpNodeMountsConfig:
 *           path: /mnt/localpv-disk
 *           storageClass: local-disks
 *       securityConfig:
 *         authorization:
 *           adminUsers:
 *             - username: [email protected]
 * ```
 * 
 * ### Gkeonprem Bare Metal Cluster Manuallb
 * 
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as gcp from "@pulumi/gcp";
 * const cluster_manuallb = new gcp.gkeonprem.BareMetalCluster("cluster-manuallb", {
 *     name: "cluster-manuallb",
 *     location: "us-west1",
 *     adminClusterMembership: "projects/870316890899/locations/global/memberships/gkeonprem-terraform-test",
 *     bareMetalVersion: "1.12.3",
 *     networkConfig: {
 *         islandModeCidr: {
 *             serviceAddressCidrBlocks: ["172.26.0.0/16"],
 *             podAddressCidrBlocks: ["10.240.0.0/13"],
 *         },
 *     },
 *     controlPlane: {
 *         controlPlaneNodePoolConfig: {
 *             nodePoolConfig: {
 *                 labels: {},
 *                 operatingSystem: "LINUX",
 *                 nodeConfigs: [{
 *                     labels: {},
 *                     nodeIp: "10.200.0.9",
 *                 }],
 *             },
 *         },
 *     },
 *     loadBalancer: {
 *         portConfig: {
 *             controlPlaneLoadBalancerPort: 443,
 *         },
 *         vipConfig: {
 *             controlPlaneVip: "10.200.0.13",
 *             ingressVip: "10.200.0.14",
 *         },
 *         manualLbConfig: {
 *             enabled: true,
 *         },
 *     },
 *     storage: {
 *         lvpShareConfig: {
 *             lvpConfig: {
 *                 path: "/mnt/localpv-share",
 *                 storageClass: "local-shared",
 *             },
 *             sharedPathPvCount: 5,
 *         },
 *         lvpNodeMountsConfig: {
 *             path: "/mnt/localpv-disk",
 *             storageClass: "local-disks",
 *         },
 *     },
 *     securityConfig: {
 *         authorization: {
 *             adminUsers: [{
 *                 username: "[email protected]",
 *             }],
 *         },
 *     },
 *     binaryAuthorization: {
 *         evaluationMode: "DISABLED",
 *     },
 *     upgradePolicy: {
 *         policy: "SERIAL",
 *     },
 * });
 * ```
 * ```python
 * import pulumi
 * import pulumi_gcp as gcp
 * cluster_manuallb = gcp.gkeonprem.BareMetalCluster("cluster-manuallb",
 *     name="cluster-manuallb",
 *     location="us-west1",
 *     admin_cluster_membership="projects/870316890899/locations/global/memberships/gkeonprem-terraform-test",
 *     bare_metal_version="1.12.3",
 *     network_config=gcp.gkeonprem.BareMetalClusterNetworkConfigArgs(
 *         island_mode_cidr=gcp.gkeonprem.BareMetalClusterNetworkConfigIslandModeCidrArgs(
 *             service_address_cidr_blocks=["172.26.0.0/16"],
 *             pod_address_cidr_blocks=["10.240.0.0/13"],
 *         ),
 *     ),
 *     control_plane=gcp.gkeonprem.BareMetalClusterControlPlaneArgs(
 *         control_plane_node_pool_config=gcp.gkeonprem.BareMetalClusterControlPlaneControlPlaneNodePoolConfigArgs(
 *             node_pool_config=gcp.gkeonprem.BareMetalClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigArgs(
 *                 labels={},
 *                 operating_system="LINUX",
 *                 node_configs=[gcp.gkeonprem.BareMetalClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigNodeConfigArgs(
 *                     labels={},
 *                     node_ip="10.200.0.9",
 *                 )],
 *             ),
 *         ),
 *     ),
 *     load_balancer=gcp.gkeonprem.BareMetalClusterLoadBalancerArgs(
 *         port_config=gcp.gkeonprem.BareMetalClusterLoadBalancerPortConfigArgs(
 *             control_plane_load_balancer_port=443,
 *         ),
 *         vip_config=gcp.gkeonprem.BareMetalClusterLoadBalancerVipConfigArgs(
 *             control_plane_vip="10.200.0.13",
 *             ingress_vip="10.200.0.14",
 *         ),
 *         manual_lb_config=gcp.gkeonprem.BareMetalClusterLoadBalancerManualLbConfigArgs(
 *             enabled=True,
 *         ),
 *     ),
 *     storage=gcp.gkeonprem.BareMetalClusterStorageArgs(
 *         lvp_share_config=gcp.gkeonprem.BareMetalClusterStorageLvpShareConfigArgs(
 *             lvp_config=gcp.gkeonprem.BareMetalClusterStorageLvpShareConfigLvpConfigArgs(
 *                 path="/mnt/localpv-share",
 *                 storage_class="local-shared",
 *             ),
 *             shared_path_pv_count=5,
 *         ),
 *         lvp_node_mounts_config=gcp.gkeonprem.BareMetalClusterStorageLvpNodeMountsConfigArgs(
 *             path="/mnt/localpv-disk",
 *             storage_class="local-disks",
 *         ),
 *     ),
 *     security_config=gcp.gkeonprem.BareMetalClusterSecurityConfigArgs(
 *         authorization=gcp.gkeonprem.BareMetalClusterSecurityConfigAuthorizationArgs(
 *             admin_users=[gcp.gkeonprem.BareMetalClusterSecurityConfigAuthorizationAdminUserArgs(
 *                 username="[email protected]",
 *             )],
 *         ),
 *     ),
 *     binary_authorization=gcp.gkeonprem.BareMetalClusterBinaryAuthorizationArgs(
 *         evaluation_mode="DISABLED",
 *     ),
 *     upgrade_policy=gcp.gkeonprem.BareMetalClusterUpgradePolicyArgs(
 *         policy="SERIAL",
 *     ))
 * ```
 * ```csharp
 * using System.Collections.Generic;
 * using System.Linq;
 * using Pulumi;
 * using Gcp = Pulumi.Gcp;
 * return await Deployment.RunAsync(() =>
 * {
 *     var cluster_manuallb = new Gcp.GkeOnPrem.BareMetalCluster("cluster-manuallb", new()
 *     {
 *         Name = "cluster-manuallb",
 *         Location = "us-west1",
 *         AdminClusterMembership = "projects/870316890899/locations/global/memberships/gkeonprem-terraform-test",
 *         BareMetalVersion = "1.12.3",
 *         NetworkConfig = new Gcp.GkeOnPrem.Inputs.BareMetalClusterNetworkConfigArgs
 *         {
 *             IslandModeCidr = new Gcp.GkeOnPrem.Inputs.BareMetalClusterNetworkConfigIslandModeCidrArgs
 *             {
 *                 ServiceAddressCidrBlocks = new[]
 *                 {
 *                     "172.26.0.0/16",
 *                 },
 *                 PodAddressCidrBlocks = new[]
 *                 {
 *                     "10.240.0.0/13",
 *                 },
 *             },
 *         },
 *         ControlPlane = new Gcp.GkeOnPrem.Inputs.BareMetalClusterControlPlaneArgs
 *         {
 *             ControlPlaneNodePoolConfig = new Gcp.GkeOnPrem.Inputs.BareMetalClusterControlPlaneControlPlaneNodePoolConfigArgs
 *             {
 *                 NodePoolConfig = new Gcp.GkeOnPrem.Inputs.BareMetalClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigArgs
 *                 {
 *                     Labels = null,
 *                     OperatingSystem = "LINUX",
 *                     NodeConfigs = new[]
 *                     {
 *                         new Gcp.GkeOnPrem.Inputs.BareMetalClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigNodeConfigArgs
 *                         {
 *                             Labels = null,
 *                             NodeIp = "10.200.0.9",
 *                         },
 *                     },
 *                 },
 *             },
 *         },
 *         LoadBalancer = new Gcp.GkeOnPrem.Inputs.BareMetalClusterLoadBalancerArgs
 *         {
 *             PortConfig = new Gcp.GkeOnPrem.Inputs.BareMetalClusterLoadBalancerPortConfigArgs
 *             {
 *                 ControlPlaneLoadBalancerPort = 443,
 *             },
 *             VipConfig = new Gcp.GkeOnPrem.Inputs.BareMetalClusterLoadBalancerVipConfigArgs
 *             {
 *                 ControlPlaneVip = "10.200.0.13",
 *                 IngressVip = "10.200.0.14",
 *             },
 *             ManualLbConfig = new Gcp.GkeOnPrem.Inputs.BareMetalClusterLoadBalancerManualLbConfigArgs
 *             {
 *                 Enabled = true,
 *             },
 *         },
 *         Storage = new Gcp.GkeOnPrem.Inputs.BareMetalClusterStorageArgs
 *         {
 *             LvpShareConfig = new Gcp.GkeOnPrem.Inputs.BareMetalClusterStorageLvpShareConfigArgs
 *             {
 *                 LvpConfig = new Gcp.GkeOnPrem.Inputs.BareMetalClusterStorageLvpShareConfigLvpConfigArgs
 *                 {
 *                     Path = "/mnt/localpv-share",
 *                     StorageClass = "local-shared",
 *                 },
 *                 SharedPathPvCount = 5,
 *             },
 *             LvpNodeMountsConfig = new Gcp.GkeOnPrem.Inputs.BareMetalClusterStorageLvpNodeMountsConfigArgs
 *             {
 *                 Path = "/mnt/localpv-disk",
 *                 StorageClass = "local-disks",
 *             },
 *         },
 *         SecurityConfig = new Gcp.GkeOnPrem.Inputs.BareMetalClusterSecurityConfigArgs
 *         {
 *             Authorization = new Gcp.GkeOnPrem.Inputs.BareMetalClusterSecurityConfigAuthorizationArgs
 *             {
 *                 AdminUsers = new[]
 *                 {
 *                     new Gcp.GkeOnPrem.Inputs.BareMetalClusterSecurityConfigAuthorizationAdminUserArgs
 *                     {
 *                         Username = "[email protected]",
 *                     },
 *                 },
 *             },
 *         },
 *         BinaryAuthorization = new Gcp.GkeOnPrem.Inputs.BareMetalClusterBinaryAuthorizationArgs
 *         {
 *             EvaluationMode = "DISABLED",
 *         },
 *         UpgradePolicy = new Gcp.GkeOnPrem.Inputs.BareMetalClusterUpgradePolicyArgs
 *         {
 *             Policy = "SERIAL",
 *         },
 *     });
 * });
 * ```
 * ```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.NewBareMetalCluster(ctx, "cluster-manuallb", &gkeonprem.BareMetalClusterArgs{
 * 			Name:                   pulumi.String("cluster-manuallb"),
 * 			Location:               pulumi.String("us-west1"),
 * 			AdminClusterMembership: pulumi.String("projects/870316890899/locations/global/memberships/gkeonprem-terraform-test"),
 * 			BareMetalVersion:       pulumi.String("1.12.3"),
 * 			NetworkConfig: &gkeonprem.BareMetalClusterNetworkConfigArgs{
 * 				IslandModeCidr: &gkeonprem.BareMetalClusterNetworkConfigIslandModeCidrArgs{
 * 					ServiceAddressCidrBlocks: pulumi.StringArray{
 * 						pulumi.String("172.26.0.0/16"),
 * 					},
 * 					PodAddressCidrBlocks: pulumi.StringArray{
 * 						pulumi.String("10.240.0.0/13"),
 * 					},
 * 				},
 * 			},
 * 			ControlPlane: &gkeonprem.BareMetalClusterControlPlaneArgs{
 * 				ControlPlaneNodePoolConfig: &gkeonprem.BareMetalClusterControlPlaneControlPlaneNodePoolConfigArgs{
 * 					NodePoolConfig: &gkeonprem.BareMetalClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigArgs{
 * 						Labels:          nil,
 * 						OperatingSystem: pulumi.String("LINUX"),
 * 						NodeConfigs: gkeonprem.BareMetalClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigNodeConfigArray{
 * 							&gkeonprem.BareMetalClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigNodeConfigArgs{
 * 								Labels: nil,
 * 								NodeIp: pulumi.String("10.200.0.9"),
 * 							},
 * 						},
 * 					},
 * 				},
 * 			},
 * 			LoadBalancer: &gkeonprem.BareMetalClusterLoadBalancerArgs{
 * 				PortConfig: &gkeonprem.BareMetalClusterLoadBalancerPortConfigArgs{
 * 					ControlPlaneLoadBalancerPort: pulumi.Int(443),
 * 				},
 * 				VipConfig: &gkeonprem.BareMetalClusterLoadBalancerVipConfigArgs{
 * 					ControlPlaneVip: pulumi.String("10.200.0.13"),
 * 					IngressVip:      pulumi.String("10.200.0.14"),
 * 				},
 * 				ManualLbConfig: &gkeonprem.BareMetalClusterLoadBalancerManualLbConfigArgs{
 * 					Enabled: pulumi.Bool(true),
 * 				},
 * 			},
 * 			Storage: &gkeonprem.BareMetalClusterStorageArgs{
 * 				LvpShareConfig: &gkeonprem.BareMetalClusterStorageLvpShareConfigArgs{
 * 					LvpConfig: &gkeonprem.BareMetalClusterStorageLvpShareConfigLvpConfigArgs{
 * 						Path:         pulumi.String("/mnt/localpv-share"),
 * 						StorageClass: pulumi.String("local-shared"),
 * 					},
 * 					SharedPathPvCount: pulumi.Int(5),
 * 				},
 * 				LvpNodeMountsConfig: &gkeonprem.BareMetalClusterStorageLvpNodeMountsConfigArgs{
 * 					Path:         pulumi.String("/mnt/localpv-disk"),
 * 					StorageClass: pulumi.String("local-disks"),
 * 				},
 * 			},
 * 			SecurityConfig: &gkeonprem.BareMetalClusterSecurityConfigArgs{
 * 				Authorization: &gkeonprem.BareMetalClusterSecurityConfigAuthorizationArgs{
 * 					AdminUsers: gkeonprem.BareMetalClusterSecurityConfigAuthorizationAdminUserArray{
 * 						&gkeonprem.BareMetalClusterSecurityConfigAuthorizationAdminUserArgs{
 * 							Username: pulumi.String("[email protected]"),
 * 						},
 * 					},
 * 				},
 * 			},
 * 			BinaryAuthorization: &gkeonprem.BareMetalClusterBinaryAuthorizationArgs{
 * 				EvaluationMode: pulumi.String("DISABLED"),
 * 			},
 * 			UpgradePolicy: &gkeonprem.BareMetalClusterUpgradePolicyArgs{
 * 				Policy: pulumi.String("SERIAL"),
 * 			},
 * 		})
 * 		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.BareMetalCluster;
 * import com.pulumi.gcp.gkeonprem.BareMetalClusterArgs;
 * import com.pulumi.gcp.gkeonprem.inputs.BareMetalClusterNetworkConfigArgs;
 * import com.pulumi.gcp.gkeonprem.inputs.BareMetalClusterNetworkConfigIslandModeCidrArgs;
 * import com.pulumi.gcp.gkeonprem.inputs.BareMetalClusterControlPlaneArgs;
 * import com.pulumi.gcp.gkeonprem.inputs.BareMetalClusterControlPlaneControlPlaneNodePoolConfigArgs;
 * import com.pulumi.gcp.gkeonprem.inputs.BareMetalClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigArgs;
 * import com.pulumi.gcp.gkeonprem.inputs.BareMetalClusterLoadBalancerArgs;
 * import com.pulumi.gcp.gkeonprem.inputs.BareMetalClusterLoadBalancerPortConfigArgs;
 * import com.pulumi.gcp.gkeonprem.inputs.BareMetalClusterLoadBalancerVipConfigArgs;
 * import com.pulumi.gcp.gkeonprem.inputs.BareMetalClusterLoadBalancerManualLbConfigArgs;
 * import com.pulumi.gcp.gkeonprem.inputs.BareMetalClusterStorageArgs;
 * import com.pulumi.gcp.gkeonprem.inputs.BareMetalClusterStorageLvpShareConfigArgs;
 * import com.pulumi.gcp.gkeonprem.inputs.BareMetalClusterStorageLvpShareConfigLvpConfigArgs;
 * import com.pulumi.gcp.gkeonprem.inputs.BareMetalClusterStorageLvpNodeMountsConfigArgs;
 * import com.pulumi.gcp.gkeonprem.inputs.BareMetalClusterSecurityConfigArgs;
 * import com.pulumi.gcp.gkeonprem.inputs.BareMetalClusterSecurityConfigAuthorizationArgs;
 * import com.pulumi.gcp.gkeonprem.inputs.BareMetalClusterBinaryAuthorizationArgs;
 * import com.pulumi.gcp.gkeonprem.inputs.BareMetalClusterUpgradePolicyArgs;
 * 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 cluster_manuallb = new BareMetalCluster("cluster-manuallb", BareMetalClusterArgs.builder()
 *             .name("cluster-manuallb")
 *             .location("us-west1")
 *             .adminClusterMembership("projects/870316890899/locations/global/memberships/gkeonprem-terraform-test")
 *             .bareMetalVersion("1.12.3")
 *             .networkConfig(BareMetalClusterNetworkConfigArgs.builder()
 *                 .islandModeCidr(BareMetalClusterNetworkConfigIslandModeCidrArgs.builder()
 *                     .serviceAddressCidrBlocks("172.26.0.0/16")
 *                     .podAddressCidrBlocks("10.240.0.0/13")
 *                     .build())
 *                 .build())
 *             .controlPlane(BareMetalClusterControlPlaneArgs.builder()
 *                 .controlPlaneNodePoolConfig(BareMetalClusterControlPlaneControlPlaneNodePoolConfigArgs.builder()
 *                     .nodePoolConfig(BareMetalClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigArgs.builder()
 *                         .labels()
 *                         .operatingSystem("LINUX")
 *                         .nodeConfigs(BareMetalClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigNodeConfigArgs.builder()
 *                             .labels()
 *                             .nodeIp("10.200.0.9")
 *                             .build())
 *                         .build())
 *                     .build())
 *                 .build())
 *             .loadBalancer(BareMetalClusterLoadBalancerArgs.builder()
 *                 .portConfig(BareMetalClusterLoadBalancerPortConfigArgs.builder()
 *                     .controlPlaneLoadBalancerPort(443)
 *                     .build())
 *                 .vipConfig(BareMetalClusterLoadBalancerVipConfigArgs.builder()
 *                     .controlPlaneVip("10.200.0.13")
 *                     .ingressVip("10.200.0.14")
 *                     .build())
 *                 .manualLbConfig(BareMetalClusterLoadBalancerManualLbConfigArgs.builder()
 *                     .enabled(true)
 *                     .build())
 *                 .build())
 *             .storage(BareMetalClusterStorageArgs.builder()
 *                 .lvpShareConfig(BareMetalClusterStorageLvpShareConfigArgs.builder()
 *                     .lvpConfig(BareMetalClusterStorageLvpShareConfigLvpConfigArgs.builder()
 *                         .path("/mnt/localpv-share")
 *                         .storageClass("local-shared")
 *                         .build())
 *                     .sharedPathPvCount(5)
 *                     .build())
 *                 .lvpNodeMountsConfig(BareMetalClusterStorageLvpNodeMountsConfigArgs.builder()
 *                     .path("/mnt/localpv-disk")
 *                     .storageClass("local-disks")
 *                     .build())
 *                 .build())
 *             .securityConfig(BareMetalClusterSecurityConfigArgs.builder()
 *                 .authorization(BareMetalClusterSecurityConfigAuthorizationArgs.builder()
 *                     .adminUsers(BareMetalClusterSecurityConfigAuthorizationAdminUserArgs.builder()
 *                         .username("[email protected]")
 *                         .build())
 *                     .build())
 *                 .build())
 *             .binaryAuthorization(BareMetalClusterBinaryAuthorizationArgs.builder()
 *                 .evaluationMode("DISABLED")
 *                 .build())
 *             .upgradePolicy(BareMetalClusterUpgradePolicyArgs.builder()
 *                 .policy("SERIAL")
 *                 .build())
 *             .build());
 *     }
 * }
 * ```
 * ```yaml
 * resources:
 *   cluster-manuallb:
 *     type: gcp:gkeonprem:BareMetalCluster
 *     properties:
 *       name: cluster-manuallb
 *       location: us-west1
 *       adminClusterMembership: projects/870316890899/locations/global/memberships/gkeonprem-terraform-test
 *       bareMetalVersion: 1.12.3
 *       networkConfig:
 *         islandModeCidr:
 *           serviceAddressCidrBlocks:
 *             - 172.26.0.0/16
 *           podAddressCidrBlocks:
 *             - 10.240.0.0/13
 *       controlPlane:
 *         controlPlaneNodePoolConfig:
 *           nodePoolConfig:
 *             labels: {}
 *             operatingSystem: LINUX
 *             nodeConfigs:
 *               - labels: {}
 *                 nodeIp: 10.200.0.9
 *       loadBalancer:
 *         portConfig:
 *           controlPlaneLoadBalancerPort: 443
 *         vipConfig:
 *           controlPlaneVip: 10.200.0.13
 *           ingressVip: 10.200.0.14
 *         manualLbConfig:
 *           enabled: true
 *       storage:
 *         lvpShareConfig:
 *           lvpConfig:
 *             path: /mnt/localpv-share
 *             storageClass: local-shared
 *           sharedPathPvCount: 5
 *         lvpNodeMountsConfig:
 *           path: /mnt/localpv-disk
 *           storageClass: local-disks
 *       securityConfig:
 *         authorization:
 *           adminUsers:
 *             - username: [email protected]
 *       binaryAuthorization:
 *         evaluationMode: DISABLED
 *       upgradePolicy:
 *         policy: SERIAL
 * ```
 * 
 * ### Gkeonprem Bare Metal Cluster Bgplb
 * 
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as gcp from "@pulumi/gcp";
 * const cluster_bgplb = new gcp.gkeonprem.BareMetalCluster("cluster-bgplb", {
 *     name: "cluster-bgplb",
 *     location: "us-west1",
 *     adminClusterMembership: "projects/870316890899/locations/global/memberships/gkeonprem-terraform-test",
 *     bareMetalVersion: "1.12.3",
 *     networkConfig: {
 *         islandModeCidr: {
 *             serviceAddressCidrBlocks: ["172.26.0.0/16"],
 *             podAddressCidrBlocks: ["10.240.0.0/13"],
 *         },
 *         advancedNetworking: true,
 *         multipleNetworkInterfacesConfig: {
 *             enabled: true,
 *         },
 *         srIovConfig: {
 *             enabled: true,
 *         },
 *     },
 *     controlPlane: {
 *         controlPlaneNodePoolConfig: {
 *             nodePoolConfig: {
 *                 labels: {},
 *                 operatingSystem: "LINUX",
 *                 nodeConfigs: [{
 *                     labels: {},
 *                     nodeIp: "10.200.0.9",
 *                 }],
 *                 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.13",
 *             ingressVip: "10.200.0.14",
 *         },
 *         bgpLbConfig: {
 *             asn: 123456,
 *             bgpPeerConfigs: [{
 *                 asn: 123457,
 *                 ipAddress: "10.0.0.1",
 *                 controlPlaneNodes: ["test-node"],
 *             }],
 *             addressPools: [{
 *                 pool: "pool1",
 *                 addresses: [
 *                     "10.200.0.14/32",
 *                     "10.200.0.15/32",
 *                     "10.200.0.16/32",
 *                     "10.200.0.17/32",
 *                     "10.200.0.18/32",
 *                     "fd00:1::f/128",
 *                     "fd00:1::10/128",
 *                     "fd00:1::11/128",
 *                     "fd00:1::12/128",
 *                 ],
 *             }],
 *             loadBalancerNodePoolConfig: {
 *                 nodePoolConfig: {
 *                     labels: {},
 *                     operatingSystem: "LINUX",
 *                     nodeConfigs: [{
 *                         labels: {},
 *                         nodeIp: "10.200.0.9",
 *                     }],
 *                     taints: [{
 *                         key: "test-key",
 *                         value: "test-value",
 *                         effect: "NO_EXECUTE",
 *                     }],
 *                     kubeletConfig: {
 *                         registryPullQps: 10,
 *                         registryBurst: 12,
 *                         serializeImagePullsDisabled: true,
 *                     },
 *                 },
 *             },
 *         },
 *     },
 *     storage: {
 *         lvpShareConfig: {
 *             lvpConfig: {
 *                 path: "/mnt/localpv-share",
 *                 storageClass: "local-shared",
 *             },
 *             sharedPathPvCount: 5,
 *         },
 *         lvpNodeMountsConfig: {
 *             path: "/mnt/localpv-disk",
 *             storageClass: "local-disks",
 *         },
 *     },
 *     securityConfig: {
 *         authorization: {
 *             adminUsers: [{
 *                 username: "[email protected]",
 *             }],
 *         },
 *     },
 *     proxy: {
 *         uri: "http://test-domain/test",
 *         noProxies: ["127.0.0.1"],
 *     },
 *     clusterOperations: {
 *         enableApplicationLogs: true,
 *     },
 *     maintenanceConfig: {
 *         maintenanceAddressCidrBlocks: ["192.168.0.1/20"],
 *     },
 *     nodeConfig: {
 *         maxPodsPerNode: 10,
 *         containerRuntime: "CONTAINERD",
 *     },
 *     nodeAccessConfig: {
 *         loginUser: "[email protected]",
 *     },
 *     osEnvironmentConfig: {
 *         packageRepoExcluded: true,
 *     },
 * });
 * ```
 * ```python
 * import pulumi
 * import pulumi_gcp as gcp
 * cluster_bgplb = gcp.gkeonprem.BareMetalCluster("cluster-bgplb",
 *     name="cluster-bgplb",
 *     location="us-west1",
 *     admin_cluster_membership="projects/870316890899/locations/global/memberships/gkeonprem-terraform-test",
 *     bare_metal_version="1.12.3",
 *     network_config=gcp.gkeonprem.BareMetalClusterNetworkConfigArgs(
 *         island_mode_cidr=gcp.gkeonprem.BareMetalClusterNetworkConfigIslandModeCidrArgs(
 *             service_address_cidr_blocks=["172.26.0.0/16"],
 *             pod_address_cidr_blocks=["10.240.0.0/13"],
 *         ),
 *         advanced_networking=True,
 *         multiple_network_interfaces_config=gcp.gkeonprem.BareMetalClusterNetworkConfigMultipleNetworkInterfacesConfigArgs(
 *             enabled=True,
 *         ),
 *         sr_iov_config=gcp.gkeonprem.BareMetalClusterNetworkConfigSrIovConfigArgs(
 *             enabled=True,
 *         ),
 *     ),
 *     control_plane=gcp.gkeonprem.BareMetalClusterControlPlaneArgs(
 *         control_plane_node_pool_config=gcp.gkeonprem.BareMetalClusterControlPlaneControlPlaneNodePoolConfigArgs(
 *             node_pool_config=gcp.gkeonprem.BareMetalClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigArgs(
 *                 labels={},
 *                 operating_system="LINUX",
 *                 node_configs=[gcp.gkeonprem.BareMetalClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigNodeConfigArgs(
 *                     labels={},
 *                     node_ip="10.200.0.9",
 *                 )],
 *                 taints=[gcp.gkeonprem.BareMetalClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigTaintArgs(
 *                     key="test-key",
 *                     value="test-value",
 *                     effect="NO_EXECUTE",
 *                 )],
 *             ),
 *         ),
 *         api_server_args=[gcp.gkeonprem.BareMetalClusterControlPlaneApiServerArgArgs(
 *             argument="test-argument",
 *             value="test-value",
 *         )],
 *     ),
 *     load_balancer=gcp.gkeonprem.BareMetalClusterLoadBalancerArgs(
 *         port_config=gcp.gkeonprem.BareMetalClusterLoadBalancerPortConfigArgs(
 *             control_plane_load_balancer_port=443,
 *         ),
 *         vip_config=gcp.gkeonprem.BareMetalClusterLoadBalancerVipConfigArgs(
 *             control_plane_vip="10.200.0.13",
 *             ingress_vip="10.200.0.14",
 *         ),
 *         bgp_lb_config=gcp.gkeonprem.BareMetalClusterLoadBalancerBgpLbConfigArgs(
 *             asn=123456,
 *             bgp_peer_configs=[gcp.gkeonprem.BareMetalClusterLoadBalancerBgpLbConfigBgpPeerConfigArgs(
 *                 asn=123457,
 *                 ip_address="10.0.0.1",
 *                 control_plane_nodes=["test-node"],
 *             )],
 *             address_pools=[gcp.gkeonprem.BareMetalClusterLoadBalancerBgpLbConfigAddressPoolArgs(
 *                 pool="pool1",
 *                 addresses=[
 *                     "10.200.0.14/32",
 *                     "10.200.0.15/32",
 *                     "10.200.0.16/32",
 *                     "10.200.0.17/32",
 *                     "10.200.0.18/32",
 *                     "fd00:1::f/128",
 *                     "fd00:1::10/128",
 *                     "fd00:1::11/128",
 *                     "fd00:1::12/128",
 *                 ],
 *             )],
 *             load_balancer_node_pool_config=gcp.gkeonprem.BareMetalClusterLoadBalancerBgpLbConfigLoadBalancerNodePoolConfigArgs(
 *                 node_pool_config=gcp.gkeonprem.BareMetalClusterLoadBalancerBgpLbConfigLoadBalancerNodePoolConfigNodePoolConfigArgs(
 *                     labels={},
 *                     operating_system="LINUX",
 *                     node_configs=[gcp.gkeonprem.BareMetalClusterLoadBalancerBgpLbConfigLoadBalancerNodePoolConfigNodePoolConfigNodeConfigArgs(
 *                         labels={},
 *                         node_ip="10.200.0.9",
 *                     )],
 *                     taints=[gcp.gkeonprem.BareMetalClusterLoadBalancerBgpLbConfigLoadBalancerNodePoolConfigNodePoolConfigTaintArgs(
 *                         key="test-key",
 *                         value="test-value",
 *                         effect="NO_EXECUTE",
 *                     )],
 *                     kubelet_config=gcp.gkeonprem.BareMetalClusterLoadBalancerBgpLbConfigLoadBalancerNodePoolConfigNodePoolConfigKubeletConfigArgs(
 *                         registry_pull_qps=10,
 *                         registry_burst=12,
 *                         serialize_image_pulls_disabled=True,
 *                     ),
 *                 ),
 *             ),
 *         ),
 *     ),
 *     storage=gcp.gkeonprem.BareMetalClusterStorageArgs(
 *         lvp_share_config=gcp.gkeonprem.BareMetalClusterStorageLvpShareConfigArgs(
 *             lvp_config=gcp.gkeonprem.BareMetalClusterStorageLvpShareConfigLvpConfigArgs(
 *                 path="/mnt/localpv-share",
 *                 storage_class="local-shared",
 *             ),
 *             shared_path_pv_count=5,
 *         ),
 *         lvp_node_mounts_config=gcp.gkeonprem.BareMetalClusterStorageLvpNodeMountsConfigArgs(
 *             path="/mnt/localpv-disk",
 *             storage_class="local-disks",
 *         ),
 *     ),
 *     security_config=gcp.gkeonprem.BareMetalClusterSecurityConfigArgs(
 *         authorization=gcp.gkeonprem.BareMetalClusterSecurityConfigAuthorizationArgs(
 *             admin_users=[gcp.gkeonprem.BareMetalClusterSecurityConfigAuthorizationAdminUserArgs(
 *                 username="[email protected]",
 *             )],
 *         ),
 *     ),
 *     proxy=gcp.gkeonprem.BareMetalClusterProxyArgs(
 *         uri="http://test-domain/test",
 *         no_proxies=["127.0.0.1"],
 *     ),
 *     cluster_operations=gcp.gkeonprem.BareMetalClusterClusterOperationsArgs(
 *         enable_application_logs=True,
 *     ),
 *     maintenance_config=gcp.gkeonprem.BareMetalClusterMaintenanceConfigArgs(
 *         maintenance_address_cidr_blocks=["192.168.0.1/20"],
 *     ),
 *     node_config=gcp.gkeonprem.BareMetalClusterNodeConfigArgs(
 *         max_pods_per_node=10,
 *         container_runtime="CONTAINERD",
 *     ),
 *     node_access_config=gcp.gkeonprem.BareMetalClusterNodeAccessConfigArgs(
 *         login_user="[email protected]",
 *     ),
 *     os_environment_config=gcp.gkeonprem.BareMetalClusterOsEnvironmentConfigArgs(
 *         package_repo_excluded=True,
 *     ))
 * ```
 * ```csharp
 * using System.Collections.Generic;
 * using System.Linq;
 * using Pulumi;
 * using Gcp = Pulumi.Gcp;
 * return await Deployment.RunAsync(() =>
 * {
 *     var cluster_bgplb = new Gcp.GkeOnPrem.BareMetalCluster("cluster-bgplb", new()
 *     {
 *         Name = "cluster-bgplb",
 *         Location = "us-west1",
 *         AdminClusterMembership = "projects/870316890899/locations/global/memberships/gkeonprem-terraform-test",
 *         BareMetalVersion = "1.12.3",
 *         NetworkConfig = new Gcp.GkeOnPrem.Inputs.BareMetalClusterNetworkConfigArgs
 *         {
 *             IslandModeCidr = new Gcp.GkeOnPrem.Inputs.BareMetalClusterNetworkConfigIslandModeCidrArgs
 *             {
 *                 ServiceAddressCidrBlocks = new[]
 *                 {
 *                     "172.26.0.0/16",
 *                 },
 *                 PodAddressCidrBlocks = new[]
 *                 {
 *                     "10.240.0.0/13",
 *                 },
 *             },
 *             AdvancedNetworking = true,
 *             MultipleNetworkInterfacesConfig = new Gcp.GkeOnPrem.Inputs.BareMetalClusterNetworkConfigMultipleNetworkInterfacesConfigArgs
 *             {
 *                 Enabled = true,
 *             },
 *             SrIovConfig = new Gcp.GkeOnPrem.Inputs.BareMetalClusterNetworkConfigSrIovConfigArgs
 *             {
 *                 Enabled = true,
 *             },
 *         },
 *         ControlPlane = new Gcp.GkeOnPrem.Inputs.BareMetalClusterControlPlaneArgs
 *         {
 *             ControlPlaneNodePoolConfig = new Gcp.GkeOnPrem.Inputs.BareMetalClusterControlPlaneControlPlaneNodePoolConfigArgs
 *             {
 *                 NodePoolConfig = new Gcp.GkeOnPrem.Inputs.BareMetalClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigArgs
 *                 {
 *                     Labels = null,
 *                     OperatingSystem = "LINUX",
 *                     NodeConfigs = new[]
 *                     {
 *                         new Gcp.GkeOnPrem.Inputs.BareMetalClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigNodeConfigArgs
 *                         {
 *                             Labels = null,
 *                             NodeIp = "10.200.0.9",
 *                         },
 *                     },
 *                     Taints = new[]
 *                     {
 *                         new Gcp.GkeOnPrem.Inputs.BareMetalClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigTaintArgs
 *                         {
 *                             Key = "test-key",
 *                             Value = "test-value",
 *                             Effect = "NO_EXECUTE",
 *                         },
 *                     },
 *                 },
 *             },
 *             ApiServerArgs = new[]
 *             {
 *                 new Gcp.GkeOnPrem.Inputs.BareMetalClusterControlPlaneApiServerArgArgs
 *                 {
 *                     Argument = "test-argument",
 *                     Value = "test-value",
 *                 },
 *             },
 *         },
 *         LoadBalancer = new Gcp.GkeOnPrem.Inputs.BareMetalClusterLoadBalancerArgs
 *         {
 *             PortConfig = new Gcp.GkeOnPrem.Inputs.BareMetalClusterLoadBalancerPortConfigArgs
 *             {
 *                 ControlPlaneLoadBalancerPort = 443,
 *             },
 *             VipConfig = new Gcp.GkeOnPrem.Inputs.BareMetalClusterLoadBalancerVipConfigArgs
 *             {
 *                 ControlPlaneVip = "10.200.0.13",
 *                 IngressVip = "10.200.0.14",
 *             },
 *             BgpLbConfig = new Gcp.GkeOnPrem.Inputs.BareMetalClusterLoadBalancerBgpLbConfigArgs
 *             {
 *                 Asn = 123456,
 *                 BgpPeerConfigs = new[]
 *                 {
 *                     new Gcp.GkeOnPrem.Inputs.BareMetalClusterLoadBalancerBgpLbConfigBgpPeerConfigArgs
 *                     {
 *                         Asn = 123457,
 *                         IpAddress = "10.0.0.1",
 *                         ControlPlaneNodes = new[]
 *                         {
 *                             "test-node",
 *                         },
 *                     },
 *                 },
 *                 AddressPools = new[]
 *                 {
 *                     new Gcp.GkeOnPrem.Inputs.BareMetalClusterLoadBalancerBgpLbConfigAddressPoolArgs
 *                     {
 *                         Pool = "pool1",
 *                         Addresses = new[]
 *                         {
 *                             "10.200.0.14/32",
 *                             "10.200.0.15/32",
 *                             "10.200.0.16/32",
 *                             "10.200.0.17/32",
 *                             "10.200.0.18/32",
 *                             "fd00:1::f/128",
 *                             "fd00:1::10/128",
 *                             "fd00:1::11/128",
 *                             "fd00:1::12/128",
 *                         },
 *                     },
 *                 },
 *                 LoadBalancerNodePoolConfig = new Gcp.GkeOnPrem.Inputs.BareMetalClusterLoadBalancerBgpLbConfigLoadBalancerNodePoolConfigArgs
 *                 {
 *                     NodePoolConfig = new Gcp.GkeOnPrem.Inputs.BareMetalClusterLoadBalancerBgpLbConfigLoadBalancerNodePoolConfigNodePoolConfigArgs
 *                     {
 *                         Labels = null,
 *                         OperatingSystem = "LINUX",
 *                         NodeConfigs = new[]
 *                         {
 *                             new Gcp.GkeOnPrem.Inputs.BareMetalClusterLoadBalancerBgpLbConfigLoadBalancerNodePoolConfigNodePoolConfigNodeConfigArgs
 *                             {
 *                                 Labels = null,
 *                                 NodeIp = "10.200.0.9",
 *                             },
 *                         },
 *                         Taints = new[]
 *                         {
 *                             new Gcp.GkeOnPrem.Inputs.BareMetalClusterLoadBalancerBgpLbConfigLoadBalancerNodePoolConfigNodePoolConfigTaintArgs
 *                             {
 *                                 Key = "test-key",
 *                                 Value = "test-value",
 *                                 Effect = "NO_EXECUTE",
 *                             },
 *                         },
 *                         KubeletConfig = new Gcp.GkeOnPrem.Inputs.BareMetalClusterLoadBalancerBgpLbConfigLoadBalancerNodePoolConfigNodePoolConfigKubeletConfigArgs
 *                         {
 *                             RegistryPullQps = 10,
 *                             RegistryBurst = 12,
 *                             SerializeImagePullsDisabled = true,
 *                         },
 *                     },
 *                 },
 *             },
 *         },
 *         Storage = new Gcp.GkeOnPrem.Inputs.BareMetalClusterStorageArgs
 *         {
 *             LvpShareConfig = new Gcp.GkeOnPrem.Inputs.BareMetalClusterStorageLvpShareConfigArgs
 *             {
 *                 LvpConfig = new Gcp.GkeOnPrem.Inputs.BareMetalClusterStorageLvpShareConfigLvpConfigArgs
 *                 {
 *                     Path = "/mnt/localpv-share",
 *                     StorageClass = "local-shared",
 *                 },
 *                 SharedPathPvCount = 5,
 *             },
 *             LvpNodeMountsConfig = new Gcp.GkeOnPrem.Inputs.BareMetalClusterStorageLvpNodeMountsConfigArgs
 *             {
 *                 Path = "/mnt/localpv-disk",
 *                 StorageClass = "local-disks",
 *             },
 *         },
 *         SecurityConfig = new Gcp.GkeOnPrem.Inputs.BareMetalClusterSecurityConfigArgs
 *         {
 *             Authorization = new Gcp.GkeOnPrem.Inputs.BareMetalClusterSecurityConfigAuthorizationArgs
 *             {
 *                 AdminUsers = new[]
 *                 {
 *                     new Gcp.GkeOnPrem.Inputs.BareMetalClusterSecurityConfigAuthorizationAdminUserArgs
 *                     {
 *                         Username = "[email protected]",
 *                     },
 *                 },
 *             },
 *         },
 *         Proxy = new Gcp.GkeOnPrem.Inputs.BareMetalClusterProxyArgs
 *         {
 *             Uri = "http://test-domain/test",
 *             NoProxies = new[]
 *             {
 *                 "127.0.0.1",
 *             },
 *         },
 *         ClusterOperations = new Gcp.GkeOnPrem.Inputs.BareMetalClusterClusterOperationsArgs
 *         {
 *             EnableApplicationLogs = true,
 *         },
 *         MaintenanceConfig = new Gcp.GkeOnPrem.Inputs.BareMetalClusterMaintenanceConfigArgs
 *         {
 *             MaintenanceAddressCidrBlocks = new[]
 *             {
 *                 "192.168.0.1/20",
 *             },
 *         },
 *         NodeConfig = new Gcp.GkeOnPrem.Inputs.BareMetalClusterNodeConfigArgs
 *         {
 *             MaxPodsPerNode = 10,
 *             ContainerRuntime = "CONTAINERD",
 *         },
 *         NodeAccessConfig = new Gcp.GkeOnPrem.Inputs.BareMetalClusterNodeAccessConfigArgs
 *         {
 *             LoginUser = "[email protected]",
 *         },
 *         OsEnvironmentConfig = new Gcp.GkeOnPrem.Inputs.BareMetalClusterOsEnvironmentConfigArgs
 *         {
 *             PackageRepoExcluded = true,
 *         },
 *     });
 * });
 * ```
 * ```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.NewBareMetalCluster(ctx, "cluster-bgplb", &gkeonprem.BareMetalClusterArgs{
 * 			Name:                   pulumi.String("cluster-bgplb"),
 * 			Location:               pulumi.String("us-west1"),
 * 			AdminClusterMembership: pulumi.String("projects/870316890899/locations/global/memberships/gkeonprem-terraform-test"),
 * 			BareMetalVersion:       pulumi.String("1.12.3"),
 * 			NetworkConfig: &gkeonprem.BareMetalClusterNetworkConfigArgs{
 * 				IslandModeCidr: &gkeonprem.BareMetalClusterNetworkConfigIslandModeCidrArgs{
 * 					ServiceAddressCidrBlocks: pulumi.StringArray{
 * 						pulumi.String("172.26.0.0/16"),
 * 					},
 * 					PodAddressCidrBlocks: pulumi.StringArray{
 * 						pulumi.String("10.240.0.0/13"),
 * 					},
 * 				},
 * 				AdvancedNetworking: pulumi.Bool(true),
 * 				MultipleNetworkInterfacesConfig: &gkeonprem.BareMetalClusterNetworkConfigMultipleNetworkInterfacesConfigArgs{
 * 					Enabled: pulumi.Bool(true),
 * 				},
 * 				SrIovConfig: &gkeonprem.BareMetalClusterNetworkConfigSrIovConfigArgs{
 * 					Enabled: pulumi.Bool(true),
 * 				},
 * 			},
 * 			ControlPlane: &gkeonprem.BareMetalClusterControlPlaneArgs{
 * 				ControlPlaneNodePoolConfig: &gkeonprem.BareMetalClusterControlPlaneControlPlaneNodePoolConfigArgs{
 * 					NodePoolConfig: &gkeonprem.BareMetalClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigArgs{
 * 						Labels:          nil,
 * 						OperatingSystem: pulumi.String("LINUX"),
 * 						NodeConfigs: gkeonprem.BareMetalClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigNodeConfigArray{
 * 							&gkeonprem.BareMetalClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigNodeConfigArgs{
 * 								Labels: nil,
 * 								NodeIp: pulumi.String("10.200.0.9"),
 * 							},
 * 						},
 * 						Taints: gkeonprem.BareMetalClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigTaintArray{
 * 							&gkeonprem.BareMetalClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigTaintArgs{
 * 								Key:    pulumi.String("test-key"),
 * 								Value:  pulumi.String("test-value"),
 * 								Effect: pulumi.String("NO_EXECUTE"),
 * 							},
 * 						},
 * 					},
 * 				},
 * 				ApiServerArgs: gkeonprem.BareMetalClusterControlPlaneApiServerArgArray{
 * 					&gkeonprem.BareMetalClusterControlPlaneApiServerArgArgs{
 * 						Argument: pulumi.String("test-argument"),
 * 						Value:    pulumi.String("test-value"),
 * 					},
 * 				},
 * 			},
 * 			LoadBalancer: &gkeonprem.BareMetalClusterLoadBalancerArgs{
 * 				PortConfig: &gkeonprem.BareMetalClusterLoadBalancerPortConfigArgs{
 * 					ControlPlaneLoadBalancerPort: pulumi.Int(443),
 * 				},
 * 				VipConfig: &gkeonprem.BareMetalClusterLoadBalancerVipConfigArgs{
 * 					ControlPlaneVip: pulumi.String("10.200.0.13"),
 * 					IngressVip:      pulumi.String("10.200.0.14"),
 * 				},
 * 				BgpLbConfig: &gkeonprem.BareMetalClusterLoadBalancerBgpLbConfigArgs{
 * 					Asn: pulumi.Int(123456),
 * 					BgpPeerConfigs: gkeonprem.BareMetalClusterLoadBalancerBgpLbConfigBgpPeerConfigArray{
 * 						&gkeonprem.BareMetalClusterLoadBalancerBgpLbConfigBgpPeerConfigArgs{
 * 							Asn:       pulumi.Int(123457),
 * 							IpAddress: pulumi.String("10.0.0.1"),
 * 							ControlPlaneNodes: pulumi.StringArray{
 * 								pulumi.String("test-node"),
 * 							},
 * 						},
 * 					},
 * 					AddressPools: gkeonprem.BareMetalClusterLoadBalancerBgpLbConfigAddressPoolArray{
 * 						&gkeonprem.BareMetalClusterLoadBalancerBgpLbConfigAddressPoolArgs{
 * 							Pool: pulumi.String("pool1"),
 * 							Addresses: pulumi.StringArray{
 * 								pulumi.String("10.200.0.14/32"),
 * 								pulumi.String("10.200.0.15/32"),
 * 								pulumi.String("10.200.0.16/32"),
 * 								pulumi.String("10.200.0.17/32"),
 * 								pulumi.String("10.200.0.18/32"),
 * 								pulumi.String("fd00:1::f/128"),
 * 								pulumi.String("fd00:1::10/128"),
 * 								pulumi.String("fd00:1::11/128"),
 * 								pulumi.String("fd00:1::12/128"),
 * 							},
 * 						},
 * 					},
 * 					LoadBalancerNodePoolConfig: &gkeonprem.BareMetalClusterLoadBalancerBgpLbConfigLoadBalancerNodePoolConfigArgs{
 * 						NodePoolConfig: &gkeonprem.BareMetalClusterLoadBalancerBgpLbConfigLoadBalancerNodePoolConfigNodePoolConfigArgs{
 * 							Labels:          nil,
 * 							OperatingSystem: pulumi.String("LINUX"),
 * 							NodeConfigs: gkeonprem.BareMetalClusterLoadBalancerBgpLbConfigLoadBalancerNodePoolConfigNodePoolConfigNodeConfigArray{
 * 								&gkeonprem.BareMetalClusterLoadBalancerBgpLbConfigLoadBalancerNodePoolConfigNodePoolConfigNodeConfigArgs{
 * 									Labels: nil,
 * 									NodeIp: pulumi.String("10.200.0.9"),
 * 								},
 * 							},
 * 							Taints: gkeonprem.BareMetalClusterLoadBalancerBgpLbConfigLoadBalancerNodePoolConfigNodePoolConfigTaintArray{
 * 								&gkeonprem.BareMetalClusterLoadBalancerBgpLbConfigLoadBalancerNodePoolConfigNodePoolConfigTaintArgs{
 * 									Key:    pulumi.String("test-key"),
 * 									Value:  pulumi.String("test-value"),
 * 									Effect: pulumi.String("NO_EXECUTE"),
 * 								},
 * 							},
 * 							KubeletConfig: &gkeonprem.BareMetalClusterLoadBalancerBgpLbConfigLoadBalancerNodePoolConfigNodePoolConfigKubeletConfigArgs{
 * 								RegistryPullQps:             pulumi.Int(10),
 * 								RegistryBurst:               pulumi.Int(12),
 * 								SerializeImagePullsDisabled: pulumi.Bool(true),
 * 							},
 * 						},
 * 					},
 * 				},
 * 			},
 * 			Storage: &gkeonprem.BareMetalClusterStorageArgs{
 * 				LvpShareConfig: &gkeonprem.BareMetalClusterStorageLvpShareConfigArgs{
 * 					LvpConfig: &gkeonprem.BareMetalClusterStorageLvpShareConfigLvpConfigArgs{
 * 						Path:         pulumi.String("/mnt/localpv-share"),
 * 						StorageClass: pulumi.String("local-shared"),
 * 					},
 * 					SharedPathPvCount: pulumi.Int(5),
 * 				},
 * 				LvpNodeMountsConfig: &gkeonprem.BareMetalClusterStorageLvpNodeMountsConfigArgs{
 * 					Path:         pulumi.String("/mnt/localpv-disk"),
 * 					StorageClass: pulumi.String("local-disks"),
 * 				},
 * 			},
 * 			SecurityConfig: &gkeonprem.BareMetalClusterSecurityConfigArgs{
 * 				Authorization: &gkeonprem.BareMetalClusterSecurityConfigAuthorizationArgs{
 * 					AdminUsers: gkeonprem.BareMetalClusterSecurityConfigAuthorizationAdminUserArray{
 * 						&gkeonprem.BareMetalClusterSecurityConfigAuthorizationAdminUserArgs{
 * 							Username: pulumi.String("[email protected]"),
 * 						},
 * 					},
 * 				},
 * 			},
 * 			Proxy: &gkeonprem.BareMetalClusterProxyArgs{
 * 				Uri: pulumi.String("http://test-domain/test"),
 * 				NoProxies: pulumi.StringArray{
 * 					pulumi.String("127.0.0.1"),
 * 				},
 * 			},
 * 			ClusterOperations: &gkeonprem.BareMetalClusterClusterOperationsArgs{
 * 				EnableApplicationLogs: pulumi.Bool(true),
 * 			},
 * 			MaintenanceConfig: &gkeonprem.BareMetalClusterMaintenanceConfigArgs{
 * 				MaintenanceAddressCidrBlocks: pulumi.StringArray{
 * 					pulumi.String("192.168.0.1/20"),
 * 				},
 * 			},
 * 			NodeConfig: &gkeonprem.BareMetalClusterNodeConfigArgs{
 * 				MaxPodsPerNode:   pulumi.Int(10),
 * 				ContainerRuntime: pulumi.String("CONTAINERD"),
 * 			},
 * 			NodeAccessConfig: &gkeonprem.BareMetalClusterNodeAccessConfigArgs{
 * 				LoginUser: pulumi.String("[email protected]"),
 * 			},
 * 			OsEnvironmentConfig: &gkeonprem.BareMetalClusterOsEnvironmentConfigArgs{
 * 				PackageRepoExcluded: pulumi.Bool(true),
 * 			},
 * 		})
 * 		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.BareMetalCluster;
 * import com.pulumi.gcp.gkeonprem.BareMetalClusterArgs;
 * import com.pulumi.gcp.gkeonprem.inputs.BareMetalClusterNetworkConfigArgs;
 * import com.pulumi.gcp.gkeonprem.inputs.BareMetalClusterNetworkConfigIslandModeCidrArgs;
 * import com.pulumi.gcp.gkeonprem.inputs.BareMetalClusterNetworkConfigMultipleNetworkInterfacesConfigArgs;
 * import com.pulumi.gcp.gkeonprem.inputs.BareMetalClusterNetworkConfigSrIovConfigArgs;
 * import com.pulumi.gcp.gkeonprem.inputs.BareMetalClusterControlPlaneArgs;
 * import com.pulumi.gcp.gkeonprem.inputs.BareMetalClusterControlPlaneControlPlaneNodePoolConfigArgs;
 * import com.pulumi.gcp.gkeonprem.inputs.BareMetalClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigArgs;
 * import com.pulumi.gcp.gkeonprem.inputs.BareMetalClusterLoadBalancerArgs;
 * import com.pulumi.gcp.gkeonprem.inputs.BareMetalClusterLoadBalancerPortConfigArgs;
 * import com.pulumi.gcp.gkeonprem.inputs.BareMetalClusterLoadBalancerVipConfigArgs;
 * import com.pulumi.gcp.gkeonprem.inputs.BareMetalClusterLoadBalancerBgpLbConfigArgs;
 * import com.pulumi.gcp.gkeonprem.inputs.BareMetalClusterLoadBalancerBgpLbConfigLoadBalancerNodePoolConfigArgs;
 * import com.pulumi.gcp.gkeonprem.inputs.BareMetalClusterLoadBalancerBgpLbConfigLoadBalancerNodePoolConfigNodePoolConfigArgs;
 * import com.pulumi.gcp.gkeonprem.inputs.BareMetalClusterLoadBalancerBgpLbConfigLoadBalancerNodePoolConfigNodePoolConfigKubeletConfigArgs;
 * import com.pulumi.gcp.gkeonprem.inputs.BareMetalClusterStorageArgs;
 * import com.pulumi.gcp.gkeonprem.inputs.BareMetalClusterStorageLvpShareConfigArgs;
 * import com.pulumi.gcp.gkeonprem.inputs.BareMetalClusterStorageLvpShareConfigLvpConfigArgs;
 * import com.pulumi.gcp.gkeonprem.inputs.BareMetalClusterStorageLvpNodeMountsConfigArgs;
 * import com.pulumi.gcp.gkeonprem.inputs.BareMetalClusterSecurityConfigArgs;
 * import com.pulumi.gcp.gkeonprem.inputs.BareMetalClusterSecurityConfigAuthorizationArgs;
 * import com.pulumi.gcp.gkeonprem.inputs.BareMetalClusterProxyArgs;
 * import com.pulumi.gcp.gkeonprem.inputs.BareMetalClusterClusterOperationsArgs;
 * import com.pulumi.gcp.gkeonprem.inputs.BareMetalClusterMaintenanceConfigArgs;
 * import com.pulumi.gcp.gkeonprem.inputs.BareMetalClusterNodeConfigArgs;
 * import com.pulumi.gcp.gkeonprem.inputs.BareMetalClusterNodeAccessConfigArgs;
 * import com.pulumi.gcp.gkeonprem.inputs.BareMetalClusterOsEnvironmentConfigArgs;
 * 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 cluster_bgplb = new BareMetalCluster("cluster-bgplb", BareMetalClusterArgs.builder()
 *             .name("cluster-bgplb")
 *             .location("us-west1")
 *             .adminClusterMembership("projects/870316890899/locations/global/memberships/gkeonprem-terraform-test")
 *             .bareMetalVersion("1.12.3")
 *             .networkConfig(BareMetalClusterNetworkConfigArgs.builder()
 *                 .islandModeCidr(BareMetalClusterNetworkConfigIslandModeCidrArgs.builder()
 *                     .serviceAddressCidrBlocks("172.26.0.0/16")
 *                     .podAddressCidrBlocks("10.240.0.0/13")
 *                     .build())
 *                 .advancedNetworking(true)
 *                 .multipleNetworkInterfacesConfig(BareMetalClusterNetworkConfigMultipleNetworkInterfacesConfigArgs.builder()
 *                     .enabled(true)
 *                     .build())
 *                 .srIovConfig(BareMetalClusterNetworkConfigSrIovConfigArgs.builder()
 *                     .enabled(true)
 *                     .build())
 *                 .build())
 *             .controlPlane(BareMetalClusterControlPlaneArgs.builder()
 *                 .controlPlaneNodePoolConfig(BareMetalClusterControlPlaneControlPlaneNodePoolConfigArgs.builder()
 *                     .nodePoolConfig(BareMetalClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigArgs.builder()
 *                         .labels()
 *                         .operatingSystem("LINUX")
 *                         .nodeConfigs(BareMetalClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigNodeConfigArgs.builder()
 *                             .labels()
 *                             .nodeIp("10.200.0.9")
 *                             .build())
 *                         .taints(BareMetalClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigTaintArgs.builder()
 *                             .key("test-key")
 *                             .value("test-value")
 *                             .effect("NO_EXECUTE")
 *                             .build())
 *                         .build())
 *                     .build())
 *                 .apiServerArgs(BareMetalClusterControlPlaneApiServerArgArgs.builder()
 *                     .argument("test-argument")
 *                     .value("test-value")
 *                     .build())
 *                 .build())
 *             .loadBalancer(BareMetalClusterLoadBalancerArgs.builder()
 *                 .portConfig(BareMetalClusterLoadBalancerPortConfigArgs.builder()
 *                     .controlPlaneLoadBalancerPort(443)
 *                     .build())
 *                 .vipConfig(BareMetalClusterLoadBalancerVipConfigArgs.builder()
 *                     .controlPlaneVip("10.200.0.13")
 *                     .ingressVip("10.200.0.14")
 *                     .build())
 *                 .bgpLbConfig(BareMetalClusterLoadBalancerBgpLbConfigArgs.builder()
 *                     .asn(123456)
 *                     .bgpPeerConfigs(BareMetalClusterLoadBalancerBgpLbConfigBgpPeerConfigArgs.builder()
 *                         .asn(123457)
 *                         .ipAddress("10.0.0.1")
 *                         .controlPlaneNodes("test-node")
 *                         .build())
 *                     .addressPools(BareMetalClusterLoadBalancerBgpLbConfigAddressPoolArgs.builder()
 *                         .pool("pool1")
 *                         .addresses(
 *                             "10.200.0.14/32",
 *                             "10.200.0.15/32",
 *                             "10.200.0.16/32",
 *                             "10.200.0.17/32",
 *                             "10.200.0.18/32",
 *                             "fd00:1::f/128",
 *                             "fd00:1::10/128",
 *                             "fd00:1::11/128",
 *                             "fd00:1::12/128")
 *                         .build())
 *                     .loadBalancerNodePoolConfig(BareMetalClusterLoadBalancerBgpLbConfigLoadBalancerNodePoolConfigArgs.builder()
 *                         .nodePoolConfig(BareMetalClusterLoadBalancerBgpLbConfigLoadBalancerNodePoolConfigNodePoolConfigArgs.builder()
 *                             .labels()
 *                             .operatingSystem("LINUX")
 *                             .nodeConfigs(BareMetalClusterLoadBalancerBgpLbConfigLoadBalancerNodePoolConfigNodePoolConfigNodeConfigArgs.builder()
 *                                 .labels()
 *                                 .nodeIp("10.200.0.9")
 *                                 .build())
 *                             .taints(BareMetalClusterLoadBalancerBgpLbConfigLoadBalancerNodePoolConfigNodePoolConfigTaintArgs.builder()
 *                                 .key("test-key")
 *                                 .value("test-value")
 *                                 .effect("NO_EXECUTE")
 *                                 .build())
 *                             .kubeletConfig(BareMetalClusterLoadBalancerBgpLbConfigLoadBalancerNodePoolConfigNodePoolConfigKubeletConfigArgs.builder()
 *                                 .registryPullQps(10)
 *                                 .registryBurst(12)
 *                                 .serializeImagePullsDisabled(true)
 *                                 .build())
 *                             .build())
 *                         .build())
 *                     .build())
 *                 .build())
 *             .storage(BareMetalClusterStorageArgs.builder()
 *                 .lvpShareConfig(BareMetalClusterStorageLvpShareConfigArgs.builder()
 *                     .lvpConfig(BareMetalClusterStorageLvpShareConfigLvpConfigArgs.builder()
 *                         .path("/mnt/localpv-share")
 *                         .storageClass("local-shared")
 *                         .build())
 *                     .sharedPathPvCount(5)
 *                     .build())
 *                 .lvpNodeMountsConfig(BareMetalClusterStorageLvpNodeMountsConfigArgs.builder()
 *                     .path("/mnt/localpv-disk")
 *                     .storageClass("local-disks")
 *                     .build())
 *                 .build())
 *             .securityConfig(BareMetalClusterSecurityConfigArgs.builder()
 *                 .authorization(BareMetalClusterSecurityConfigAuthorizationArgs.builder()
 *                     .adminUsers(BareMetalClusterSecurityConfigAuthorizationAdminUserArgs.builder()
 *                         .username("[email protected]")
 *                         .build())
 *                     .build())
 *                 .build())
 *             .proxy(BareMetalClusterProxyArgs.builder()
 *                 .uri("http://test-domain/test")
 *                 .noProxies("127.0.0.1")
 *                 .build())
 *             .clusterOperations(BareMetalClusterClusterOperationsArgs.builder()
 *                 .enableApplicationLogs(true)
 *                 .build())
 *             .maintenanceConfig(BareMetalClusterMaintenanceConfigArgs.builder()
 *                 .maintenanceAddressCidrBlocks("192.168.0.1/20")
 *                 .build())
 *             .nodeConfig(BareMetalClusterNodeConfigArgs.builder()
 *                 .maxPodsPerNode(10)
 *                 .containerRuntime("CONTAINERD")
 *                 .build())
 *             .nodeAccessConfig(BareMetalClusterNodeAccessConfigArgs.builder()
 *                 .loginUser("[email protected]")
 *                 .build())
 *             .osEnvironmentConfig(BareMetalClusterOsEnvironmentConfigArgs.builder()
 *                 .packageRepoExcluded(true)
 *                 .build())
 *             .build());
 *     }
 * }
 * ```
 * ```yaml
 * resources:
 *   cluster-bgplb:
 *     type: gcp:gkeonprem:BareMetalCluster
 *     properties:
 *       name: cluster-bgplb
 *       location: us-west1
 *       adminClusterMembership: projects/870316890899/locations/global/memberships/gkeonprem-terraform-test
 *       bareMetalVersion: 1.12.3
 *       networkConfig:
 *         islandModeCidr:
 *           serviceAddressCidrBlocks:
 *             - 172.26.0.0/16
 *           podAddressCidrBlocks:
 *             - 10.240.0.0/13
 *         advancedNetworking: true
 *         multipleNetworkInterfacesConfig:
 *           enabled: true
 *         srIovConfig:
 *           enabled: true
 *       controlPlane:
 *         controlPlaneNodePoolConfig:
 *           nodePoolConfig:
 *             labels: {}
 *             operatingSystem: LINUX
 *             nodeConfigs:
 *               - labels: {}
 *                 nodeIp: 10.200.0.9
 *             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.13
 *           ingressVip: 10.200.0.14
 *         bgpLbConfig:
 *           asn: 123456
 *           bgpPeerConfigs:
 *             - asn: 123457
 *               ipAddress: 10.0.0.1
 *               controlPlaneNodes:
 *                 - test-node
 *           addressPools:
 *             - pool: pool1
 *               addresses:
 *                 - 10.200.0.14/32
 *                 - 10.200.0.15/32
 *                 - 10.200.0.16/32
 *                 - 10.200.0.17/32
 *                 - 10.200.0.18/32
 *                 - fd00:1::f/128
 *                 - fd00:1::10/128
 *                 - fd00:1::11/128
 *                 - fd00:1::12/128
 *           loadBalancerNodePoolConfig:
 *             nodePoolConfig:
 *               labels: {}
 *               operatingSystem: LINUX
 *               nodeConfigs:
 *                 - labels: {}
 *                   nodeIp: 10.200.0.9
 *               taints:
 *                 - key: test-key
 *                   value: test-value
 *                   effect: NO_EXECUTE
 *               kubeletConfig:
 *                 registryPullQps: 10
 *                 registryBurst: 12
 *                 serializeImagePullsDisabled: true
 *       storage:
 *         lvpShareConfig:
 *           lvpConfig:
 *             path: /mnt/localpv-share
 *             storageClass: local-shared
 *           sharedPathPvCount: 5
 *         lvpNodeMountsConfig:
 *           path: /mnt/localpv-disk
 *           storageClass: local-disks
 *       securityConfig:
 *         authorization:
 *           adminUsers:
 *             - username: [email protected]
 *       proxy:
 *         uri: http://test-domain/test
 *         noProxies:
 *           - 127.0.0.1
 *       clusterOperations:
 *         enableApplicationLogs: true
 *       maintenanceConfig:
 *         maintenanceAddressCidrBlocks:
 *           - 192.168.0.1/20
 *       nodeConfig:
 *         maxPodsPerNode: 10
 *         containerRuntime: CONTAINERD
 *       nodeAccessConfig:
 *         loginUser: [email protected]
 *       osEnvironmentConfig:
 *         packageRepoExcluded: true
 * ```
 * 
 * ## Import
 * BareMetalCluster can be imported using any of these accepted formats:
 * * `projects/{{project}}/locations/{{location}}/bareMetalClusters/{{name}}`
 * * `{{project}}/{{location}}/{{name}}`
 * * `{{location}}/{{name}}`
 * When using the `pulumi import` command, BareMetalCluster can be imported using one of the formats above. For example:
 * ```sh
 * $ pulumi import gcp:gkeonprem/bareMetalCluster:BareMetalCluster default projects/{{project}}/locations/{{location}}/bareMetalClusters/{{name}}
 * ```
 * ```sh
 * $ pulumi import gcp:gkeonprem/bareMetalCluster:BareMetalCluster default {{project}}/{{location}}/{{name}}
 * ```
 * ```sh
 * $ pulumi import gcp:gkeonprem/bareMetalCluster:BareMetalCluster default {{location}}/{{name}}
 * ```
 * @property adminClusterMembership The Admin Cluster this Bare Metal User Cluster belongs to.
 * This is the full resource name of the Admin Cluster's hub membership.
 * @property annotations Annotations on the Bare Metal User 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 User Cluster.
 * @property binaryAuthorization Binary Authorization related configurations.
 * @property clusterOperations Specifies the User Cluster's observability infrastructure.
 * @property controlPlane Specifies the control plane configuration.
 * Structure is documented below.
 * @property description (Output)
 * The description of the validation check.
 * @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.
 * @property name The bare metal cluster name.
 * @property networkConfig Network configuration.
 * Structure is documented below.
 * @property nodeAccessConfig Specifies the node access related settings for the bare metal user cluster.
 * @property nodeConfig Specifies the workload node configurations.
 * @property osEnvironmentConfig OS environment related configurations.
 * @property project
 * @property proxy Specifies the cluster proxy configuration.
 * @property securityConfig Specifies the security related settings for the Bare Metal User Cluster.
 * @property storage Specifies the cluster storage configuration.
 * Structure is documented below.
 * @property upgradePolicy The cluster upgrade policy.
 */
public data class BareMetalClusterArgs(
    public val adminClusterMembership: Output? = null,
    public val annotations: Output>? = null,
    public val bareMetalVersion: Output? = null,
    public val binaryAuthorization: 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 osEnvironmentConfig: Output? = null,
    public val project: Output? = null,
    public val proxy: Output? = null,
    public val securityConfig: Output? = null,
    public val storage: Output? = null,
    public val upgradePolicy: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.gkeonprem.BareMetalClusterArgs =
        com.pulumi.gcp.gkeonprem.BareMetalClusterArgs.builder()
            .adminClusterMembership(adminClusterMembership?.applyValue({ args0 -> args0 }))
            .annotations(
                annotations?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.key.to(args0.value)
                    }).toMap()
                }),
            )
            .bareMetalVersion(bareMetalVersion?.applyValue({ args0 -> args0 }))
            .binaryAuthorization(
                binaryAuthorization?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            )
            .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() }) }))
            .osEnvironmentConfig(
                osEnvironmentConfig?.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() }) }))
            .upgradePolicy(upgradePolicy?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}

/**
 * Builder for [BareMetalClusterArgs].
 */
@PulumiTagMarker
public class BareMetalClusterArgsBuilder internal constructor() {
    private var adminClusterMembership: Output? = null

    private var annotations: Output>? = null

    private var bareMetalVersion: Output? = null

    private var binaryAuthorization: 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 osEnvironmentConfig: Output? = null

    private var project: Output? = null

    private var proxy: Output? = null

    private var securityConfig: Output? = null

    private var storage: Output? = null

    private var upgradePolicy: Output? = null

    /**
     * @param value The Admin Cluster this Bare Metal User Cluster belongs to.
     * This is the full resource name of the Admin Cluster's hub membership.
     */
    @JvmName("ucpsmcsuyqispnuu")
    public suspend fun adminClusterMembership(`value`: Output) {
        this.adminClusterMembership = value
    }

    /**
     * @param value Annotations on the Bare Metal User 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("yntwsbtckuchvxsu")
    public suspend fun annotations(`value`: Output>) {
        this.annotations = value
    }

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

    /**
     * @param value Binary Authorization related configurations.
     */
    @JvmName("qxjcgcjfhpkcvond")
    public suspend fun binaryAuthorization(`value`: Output) {
        this.binaryAuthorization = value
    }

    /**
     * @param value Specifies the User Cluster's observability infrastructure.
     */
    @JvmName("tgfqjfwayekvmkfq")
    public suspend fun clusterOperations(`value`: Output) {
        this.clusterOperations = value
    }

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

    /**
     * @param value (Output)
     * The description of the validation check.
     */
    @JvmName("jacmlbwqebghvmgd")
    public suspend fun description(`value`: Output) {
        this.description = value
    }

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

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

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

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

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

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

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

    /**
     * @param value OS environment related configurations.
     */
    @JvmName("qedggdqeqvapfmgl")
    public suspend fun osEnvironmentConfig(`value`: Output) {
        this.osEnvironmentConfig = value
    }

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

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

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

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

    /**
     * @param value The cluster upgrade policy.
     */
    @JvmName("birnmbotubmqqrtw")
    public suspend fun upgradePolicy(`value`: Output) {
        this.upgradePolicy = value
    }

    /**
     * @param value The Admin Cluster this Bare Metal User Cluster belongs to.
     * This is the full resource name of the Admin Cluster's hub membership.
     */
    @JvmName("yplrvdivbmuubqle")
    public suspend fun adminClusterMembership(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.adminClusterMembership = mapped
    }

    /**
     * @param value Annotations on the Bare Metal User 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("sthrlrkycypathgr")
    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 User 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("mrbvxoctoyjlqcpx")
    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 User Cluster.
     */
    @JvmName("moeydptorowrioue")
    public suspend fun bareMetalVersion(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.bareMetalVersion = mapped
    }

    /**
     * @param value Binary Authorization related configurations.
     */
    @JvmName("tkvrhqeaqvhtyixk")
    public suspend fun binaryAuthorization(`value`: BareMetalClusterBinaryAuthorizationArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.binaryAuthorization = mapped
    }

    /**
     * @param argument Binary Authorization related configurations.
     */
    @JvmName("rdenwptlnolvrltc")
    public suspend fun binaryAuthorization(argument: suspend BareMetalClusterBinaryAuthorizationArgsBuilder.() -> Unit) {
        val toBeMapped = BareMetalClusterBinaryAuthorizationArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.binaryAuthorization = mapped
    }

    /**
     * @param value Specifies the User Cluster's observability infrastructure.
     */
    @JvmName("rybnsyafshfkhhww")
    public suspend fun clusterOperations(`value`: BareMetalClusterClusterOperationsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.clusterOperations = mapped
    }

    /**
     * @param argument Specifies the User Cluster's observability infrastructure.
     */
    @JvmName("aloglstqlywislep")
    public suspend fun clusterOperations(argument: suspend BareMetalClusterClusterOperationsArgsBuilder.() -> Unit) {
        val toBeMapped = BareMetalClusterClusterOperationsArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.clusterOperations = mapped
    }

    /**
     * @param value Specifies the control plane configuration.
     * Structure is documented below.
     */
    @JvmName("jutyedyxtkddbexs")
    public suspend fun controlPlane(`value`: BareMetalClusterControlPlaneArgs?) {
        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("vivghumsttyktdrf")
    public suspend fun controlPlane(argument: suspend BareMetalClusterControlPlaneArgsBuilder.() -> Unit) {
        val toBeMapped = BareMetalClusterControlPlaneArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.controlPlane = mapped
    }

    /**
     * @param value (Output)
     * The description of the validation check.
     */
    @JvmName("qrevksyvgmxadfxc")
    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("pntyitisotgnycor")
    public suspend fun loadBalancer(`value`: BareMetalClusterLoadBalancerArgs?) {
        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("ttbwqrqfbjtoydcb")
    public suspend fun loadBalancer(argument: suspend BareMetalClusterLoadBalancerArgsBuilder.() -> Unit) {
        val toBeMapped = BareMetalClusterLoadBalancerArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.loadBalancer = mapped
    }

    /**
     * @param value The location of the resource.
     */
    @JvmName("wqjltlvviuyclloc")
    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.
     */
    @JvmName("llrrfnekscllnhgd")
    public suspend fun maintenanceConfig(`value`: BareMetalClusterMaintenanceConfigArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.maintenanceConfig = mapped
    }

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

    /**
     * @param value The bare metal cluster name.
     */
    @JvmName("bwbphdghcnudicaq")
    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("vnyqdbvbnqgoggmm")
    public suspend fun networkConfig(`value`: BareMetalClusterNetworkConfigArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.networkConfig = mapped
    }

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

    /**
     * @param value Specifies the node access related settings for the bare metal user cluster.
     */
    @JvmName("ptwuspcabujcftfr")
    public suspend fun nodeAccessConfig(`value`: BareMetalClusterNodeAccessConfigArgs?) {
        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.
     */
    @JvmName("ufwychwkdptyfika")
    public suspend fun nodeAccessConfig(argument: suspend BareMetalClusterNodeAccessConfigArgsBuilder.() -> Unit) {
        val toBeMapped = BareMetalClusterNodeAccessConfigArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.nodeAccessConfig = mapped
    }

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

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

    /**
     * @param value OS environment related configurations.
     */
    @JvmName("qkkkuuekaxschcdj")
    public suspend fun osEnvironmentConfig(`value`: BareMetalClusterOsEnvironmentConfigArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.osEnvironmentConfig = mapped
    }

    /**
     * @param argument OS environment related configurations.
     */
    @JvmName("elrggxlmrqmvwnfc")
    public suspend fun osEnvironmentConfig(argument: suspend BareMetalClusterOsEnvironmentConfigArgsBuilder.() -> Unit) {
        val toBeMapped = BareMetalClusterOsEnvironmentConfigArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.osEnvironmentConfig = mapped
    }

    /**
     * @param value
     */
    @JvmName("iwnjrkvlkbnkgnrl")
    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.
     */
    @JvmName("soasgugtvknnutam")
    public suspend fun proxy(`value`: BareMetalClusterProxyArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.proxy = mapped
    }

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

    /**
     * @param value Specifies the security related settings for the Bare Metal User Cluster.
     */
    @JvmName("epcpqqfkfxlshlej")
    public suspend fun securityConfig(`value`: BareMetalClusterSecurityConfigArgs?) {
        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.
     */
    @JvmName("nhgasbwxeoxigtrw")
    public suspend fun securityConfig(argument: suspend BareMetalClusterSecurityConfigArgsBuilder.() -> Unit) {
        val toBeMapped = BareMetalClusterSecurityConfigArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.securityConfig = mapped
    }

    /**
     * @param value Specifies the cluster storage configuration.
     * Structure is documented below.
     */
    @JvmName("sfmyrbdlnbqygshe")
    public suspend fun storage(`value`: BareMetalClusterStorageArgs?) {
        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("geojylikkbifcfhp")
    public suspend fun storage(argument: suspend BareMetalClusterStorageArgsBuilder.() -> Unit) {
        val toBeMapped = BareMetalClusterStorageArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.storage = mapped
    }

    /**
     * @param value The cluster upgrade policy.
     */
    @JvmName("hkoiiyyiuxgjbfmo")
    public suspend fun upgradePolicy(`value`: BareMetalClusterUpgradePolicyArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.upgradePolicy = mapped
    }

    /**
     * @param argument The cluster upgrade policy.
     */
    @JvmName("rhnrdeihlnmejblh")
    public suspend fun upgradePolicy(argument: suspend BareMetalClusterUpgradePolicyArgsBuilder.() -> Unit) {
        val toBeMapped = BareMetalClusterUpgradePolicyArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.upgradePolicy = mapped
    }

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy