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

com.pulumi.azurenative.appplatform.inputs.ClusterResourcePropertiesArgs Maven / Gradle / Ivy

// *** 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.azurenative.appplatform.inputs;

import com.pulumi.azurenative.appplatform.inputs.MarketplaceResourceArgs;
import com.pulumi.azurenative.appplatform.inputs.NetworkProfileArgs;
import com.pulumi.azurenative.appplatform.inputs.ServiceVNetAddonsArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.core.internal.Codegen;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Service properties payload
 * 
 */
public final class ClusterResourcePropertiesArgs extends com.pulumi.resources.ResourceArgs {

    public static final ClusterResourcePropertiesArgs Empty = new ClusterResourcePropertiesArgs();

    /**
     * The name of the resource group that contains the infrastructure resources
     * 
     */
    @Import(name="infraResourceGroup")
    private @Nullable Output infraResourceGroup;

    /**
     * @return The name of the resource group that contains the infrastructure resources
     * 
     */
    public Optional> infraResourceGroup() {
        return Optional.ofNullable(this.infraResourceGroup);
    }

    /**
     * The resource Id of the Managed Environment that the Spring Apps instance builds on
     * 
     */
    @Import(name="managedEnvironmentId")
    private @Nullable Output managedEnvironmentId;

    /**
     * @return The resource Id of the Managed Environment that the Spring Apps instance builds on
     * 
     */
    public Optional> managedEnvironmentId() {
        return Optional.ofNullable(this.managedEnvironmentId);
    }

    /**
     * Purchasing 3rd party product of the Service resource.
     * 
     */
    @Import(name="marketplaceResource")
    private @Nullable Output marketplaceResource;

    /**
     * @return Purchasing 3rd party product of the Service resource.
     * 
     */
    public Optional> marketplaceResource() {
        return Optional.ofNullable(this.marketplaceResource);
    }

    /**
     * Network profile of the Service
     * 
     */
    @Import(name="networkProfile")
    private @Nullable Output networkProfile;

    /**
     * @return Network profile of the Service
     * 
     */
    public Optional> networkProfile() {
        return Optional.ofNullable(this.networkProfile);
    }

    /**
     * Additional Service settings in vnet injection instance
     * 
     */
    @Import(name="vnetAddons")
    private @Nullable Output vnetAddons;

    /**
     * @return Additional Service settings in vnet injection instance
     * 
     */
    public Optional> vnetAddons() {
        return Optional.ofNullable(this.vnetAddons);
    }

    @Import(name="zoneRedundant")
    private @Nullable Output zoneRedundant;

    public Optional> zoneRedundant() {
        return Optional.ofNullable(this.zoneRedundant);
    }

    private ClusterResourcePropertiesArgs() {}

    private ClusterResourcePropertiesArgs(ClusterResourcePropertiesArgs $) {
        this.infraResourceGroup = $.infraResourceGroup;
        this.managedEnvironmentId = $.managedEnvironmentId;
        this.marketplaceResource = $.marketplaceResource;
        this.networkProfile = $.networkProfile;
        this.vnetAddons = $.vnetAddons;
        this.zoneRedundant = $.zoneRedundant;
    }

    public static Builder builder() {
        return new Builder();
    }
    public static Builder builder(ClusterResourcePropertiesArgs defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private ClusterResourcePropertiesArgs $;

        public Builder() {
            $ = new ClusterResourcePropertiesArgs();
        }

        public Builder(ClusterResourcePropertiesArgs defaults) {
            $ = new ClusterResourcePropertiesArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param infraResourceGroup The name of the resource group that contains the infrastructure resources
         * 
         * @return builder
         * 
         */
        public Builder infraResourceGroup(@Nullable Output infraResourceGroup) {
            $.infraResourceGroup = infraResourceGroup;
            return this;
        }

        /**
         * @param infraResourceGroup The name of the resource group that contains the infrastructure resources
         * 
         * @return builder
         * 
         */
        public Builder infraResourceGroup(String infraResourceGroup) {
            return infraResourceGroup(Output.of(infraResourceGroup));
        }

        /**
         * @param managedEnvironmentId The resource Id of the Managed Environment that the Spring Apps instance builds on
         * 
         * @return builder
         * 
         */
        public Builder managedEnvironmentId(@Nullable Output managedEnvironmentId) {
            $.managedEnvironmentId = managedEnvironmentId;
            return this;
        }

        /**
         * @param managedEnvironmentId The resource Id of the Managed Environment that the Spring Apps instance builds on
         * 
         * @return builder
         * 
         */
        public Builder managedEnvironmentId(String managedEnvironmentId) {
            return managedEnvironmentId(Output.of(managedEnvironmentId));
        }

        /**
         * @param marketplaceResource Purchasing 3rd party product of the Service resource.
         * 
         * @return builder
         * 
         */
        public Builder marketplaceResource(@Nullable Output marketplaceResource) {
            $.marketplaceResource = marketplaceResource;
            return this;
        }

        /**
         * @param marketplaceResource Purchasing 3rd party product of the Service resource.
         * 
         * @return builder
         * 
         */
        public Builder marketplaceResource(MarketplaceResourceArgs marketplaceResource) {
            return marketplaceResource(Output.of(marketplaceResource));
        }

        /**
         * @param networkProfile Network profile of the Service
         * 
         * @return builder
         * 
         */
        public Builder networkProfile(@Nullable Output networkProfile) {
            $.networkProfile = networkProfile;
            return this;
        }

        /**
         * @param networkProfile Network profile of the Service
         * 
         * @return builder
         * 
         */
        public Builder networkProfile(NetworkProfileArgs networkProfile) {
            return networkProfile(Output.of(networkProfile));
        }

        /**
         * @param vnetAddons Additional Service settings in vnet injection instance
         * 
         * @return builder
         * 
         */
        public Builder vnetAddons(@Nullable Output vnetAddons) {
            $.vnetAddons = vnetAddons;
            return this;
        }

        /**
         * @param vnetAddons Additional Service settings in vnet injection instance
         * 
         * @return builder
         * 
         */
        public Builder vnetAddons(ServiceVNetAddonsArgs vnetAddons) {
            return vnetAddons(Output.of(vnetAddons));
        }

        public Builder zoneRedundant(@Nullable Output zoneRedundant) {
            $.zoneRedundant = zoneRedundant;
            return this;
        }

        public Builder zoneRedundant(Boolean zoneRedundant) {
            return zoneRedundant(Output.of(zoneRedundant));
        }

        public ClusterResourcePropertiesArgs build() {
            $.zoneRedundant = Codegen.booleanProp("zoneRedundant").output().arg($.zoneRedundant).def(false).getNullable();
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy