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

com.pulumi.azure.containerservice.inputs.KubernetesClusterAciConnectorLinuxArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.

There is a newer version: 6.10.0-alpha.1731737215
Show newest version
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.azure.containerservice.inputs;

import com.pulumi.azure.containerservice.inputs.KubernetesClusterAciConnectorLinuxConnectorIdentityArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class KubernetesClusterAciConnectorLinuxArgs extends com.pulumi.resources.ResourceArgs {

    public static final KubernetesClusterAciConnectorLinuxArgs Empty = new KubernetesClusterAciConnectorLinuxArgs();

    /**
     * A `connector_identity` block is exported. The exported attributes are defined below.
     * 
     */
    @Import(name="connectorIdentities")
    private @Nullable Output> connectorIdentities;

    /**
     * @return A `connector_identity` block is exported. The exported attributes are defined below.
     * 
     */
    public Optional>> connectorIdentities() {
        return Optional.ofNullable(this.connectorIdentities);
    }

    /**
     * The subnet name for the virtual nodes to run.
     * 
     * > **Note:** At this time ACI Connectors are not supported in Azure China.
     * 
     * > **Note:** AKS will add a delegation to the subnet named here. To prevent further runs from failing you should make sure that the subnet you create for virtual nodes has a delegation, like so.
     * 
     * <!--Start PulumiCodeChooser -->
     * 
     * {@code
     * package generated_program;
     * 
     * import com.pulumi.Context;
     * import com.pulumi.Pulumi;
     * import com.pulumi.core.Output;
     * import com.pulumi.azure.network.Subnet;
     * import com.pulumi.azure.network.SubnetArgs;
     * import com.pulumi.azure.network.inputs.SubnetDelegationArgs;
     * import com.pulumi.azure.network.inputs.SubnetDelegationServiceDelegationArgs;
     * 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 virtual = new Subnet("virtual", SubnetArgs.builder()
     *             .delegations(SubnetDelegationArgs.builder()
     *                 .name("aciDelegation")
     *                 .serviceDelegation(SubnetDelegationServiceDelegationArgs.builder()
     *                     .name("Microsoft.ContainerInstance/containerGroups")
     *                     .actions("Microsoft.Network/virtualNetworks/subnets/action")
     *                     .build())
     *                 .build())
     *             .build());
     * 
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ @Import(name="subnetName", required=true) private Output subnetName; /** * @return The subnet name for the virtual nodes to run. * * > **Note:** At this time ACI Connectors are not supported in Azure China. * * > **Note:** AKS will add a delegation to the subnet named here. To prevent further runs from failing you should make sure that the subnet you create for virtual nodes has a delegation, like so. * * <!--Start PulumiCodeChooser --> *
     * {@code
     * package generated_program;
     * 
     * import com.pulumi.Context;
     * import com.pulumi.Pulumi;
     * import com.pulumi.core.Output;
     * import com.pulumi.azure.network.Subnet;
     * import com.pulumi.azure.network.SubnetArgs;
     * import com.pulumi.azure.network.inputs.SubnetDelegationArgs;
     * import com.pulumi.azure.network.inputs.SubnetDelegationServiceDelegationArgs;
     * 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 virtual = new Subnet("virtual", SubnetArgs.builder()
     *             .delegations(SubnetDelegationArgs.builder()
     *                 .name("aciDelegation")
     *                 .serviceDelegation(SubnetDelegationServiceDelegationArgs.builder()
     *                     .name("Microsoft.ContainerInstance/containerGroups")
     *                     .actions("Microsoft.Network/virtualNetworks/subnets/action")
     *                     .build())
     *                 .build())
     *             .build());
     * 
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public Output subnetName() { return this.subnetName; } private KubernetesClusterAciConnectorLinuxArgs() {} private KubernetesClusterAciConnectorLinuxArgs(KubernetesClusterAciConnectorLinuxArgs $) { this.connectorIdentities = $.connectorIdentities; this.subnetName = $.subnetName; } public static Builder builder() { return new Builder(); } public static Builder builder(KubernetesClusterAciConnectorLinuxArgs defaults) { return new Builder(defaults); } public static final class Builder { private KubernetesClusterAciConnectorLinuxArgs $; public Builder() { $ = new KubernetesClusterAciConnectorLinuxArgs(); } public Builder(KubernetesClusterAciConnectorLinuxArgs defaults) { $ = new KubernetesClusterAciConnectorLinuxArgs(Objects.requireNonNull(defaults)); } /** * @param connectorIdentities A `connector_identity` block is exported. The exported attributes are defined below. * * @return builder * */ public Builder connectorIdentities(@Nullable Output> connectorIdentities) { $.connectorIdentities = connectorIdentities; return this; } /** * @param connectorIdentities A `connector_identity` block is exported. The exported attributes are defined below. * * @return builder * */ public Builder connectorIdentities(List connectorIdentities) { return connectorIdentities(Output.of(connectorIdentities)); } /** * @param connectorIdentities A `connector_identity` block is exported. The exported attributes are defined below. * * @return builder * */ public Builder connectorIdentities(KubernetesClusterAciConnectorLinuxConnectorIdentityArgs... connectorIdentities) { return connectorIdentities(List.of(connectorIdentities)); } /** * @param subnetName The subnet name for the virtual nodes to run. * * > **Note:** At this time ACI Connectors are not supported in Azure China. * * > **Note:** AKS will add a delegation to the subnet named here. To prevent further runs from failing you should make sure that the subnet you create for virtual nodes has a delegation, like so. * * <!--Start PulumiCodeChooser --> *
         * {@code
         * package generated_program;
         * 
         * import com.pulumi.Context;
         * import com.pulumi.Pulumi;
         * import com.pulumi.core.Output;
         * import com.pulumi.azure.network.Subnet;
         * import com.pulumi.azure.network.SubnetArgs;
         * import com.pulumi.azure.network.inputs.SubnetDelegationArgs;
         * import com.pulumi.azure.network.inputs.SubnetDelegationServiceDelegationArgs;
         * 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 virtual = new Subnet("virtual", SubnetArgs.builder()
         *             .delegations(SubnetDelegationArgs.builder()
         *                 .name("aciDelegation")
         *                 .serviceDelegation(SubnetDelegationServiceDelegationArgs.builder()
         *                     .name("Microsoft.ContainerInstance/containerGroups")
         *                     .actions("Microsoft.Network/virtualNetworks/subnets/action")
         *                     .build())
         *                 .build())
         *             .build());
         * 
         *     }
         * }
         * }
         * 
* <!--End PulumiCodeChooser --> * * @return builder * */ public Builder subnetName(Output subnetName) { $.subnetName = subnetName; return this; } /** * @param subnetName The subnet name for the virtual nodes to run. * * > **Note:** At this time ACI Connectors are not supported in Azure China. * * > **Note:** AKS will add a delegation to the subnet named here. To prevent further runs from failing you should make sure that the subnet you create for virtual nodes has a delegation, like so. * * <!--Start PulumiCodeChooser --> *
         * {@code
         * package generated_program;
         * 
         * import com.pulumi.Context;
         * import com.pulumi.Pulumi;
         * import com.pulumi.core.Output;
         * import com.pulumi.azure.network.Subnet;
         * import com.pulumi.azure.network.SubnetArgs;
         * import com.pulumi.azure.network.inputs.SubnetDelegationArgs;
         * import com.pulumi.azure.network.inputs.SubnetDelegationServiceDelegationArgs;
         * 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 virtual = new Subnet("virtual", SubnetArgs.builder()
         *             .delegations(SubnetDelegationArgs.builder()
         *                 .name("aciDelegation")
         *                 .serviceDelegation(SubnetDelegationServiceDelegationArgs.builder()
         *                     .name("Microsoft.ContainerInstance/containerGroups")
         *                     .actions("Microsoft.Network/virtualNetworks/subnets/action")
         *                     .build())
         *                 .build())
         *             .build());
         * 
         *     }
         * }
         * }
         * 
* <!--End PulumiCodeChooser --> * * @return builder * */ public Builder subnetName(String subnetName) { return subnetName(Output.of(subnetName)); } public KubernetesClusterAciConnectorLinuxArgs build() { if ($.subnetName == null) { throw new MissingRequiredPropertyException("KubernetesClusterAciConnectorLinuxArgs", "subnetName"); } return $; } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy