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

com.pulumi.azure.appplatform.inputs.SpringCloudContainerDeploymentState 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.appplatform.inputs;

import com.pulumi.azure.appplatform.inputs.SpringCloudContainerDeploymentQuotaArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Integer;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final SpringCloudContainerDeploymentState Empty = new SpringCloudContainerDeploymentState();

    /**
     * A JSON object that contains the addon configurations of the Spring Cloud Container Deployment.
     * 
     */
    @Import(name="addonJson")
    private @Nullable Output addonJson;

    /**
     * @return A JSON object that contains the addon configurations of the Spring Cloud Container Deployment.
     * 
     */
    public Optional> addonJson() {
        return Optional.ofNullable(this.addonJson);
    }

    /**
     * Specifies a list of Spring Cloud Application Performance Monitoring IDs.
     * 
     */
    @Import(name="applicationPerformanceMonitoringIds")
    private @Nullable Output> applicationPerformanceMonitoringIds;

    /**
     * @return Specifies a list of Spring Cloud Application Performance Monitoring IDs.
     * 
     */
    public Optional>> applicationPerformanceMonitoringIds() {
        return Optional.ofNullable(this.applicationPerformanceMonitoringIds);
    }

    /**
     * Specifies the arguments to the entrypoint. The docker image's `CMD` is used if not specified.
     * 
     */
    @Import(name="arguments")
    private @Nullable Output> arguments;

    /**
     * @return Specifies the arguments to the entrypoint. The docker image's `CMD` is used if not specified.
     * 
     */
    public Optional>> arguments() {
        return Optional.ofNullable(this.arguments);
    }

    /**
     * Specifies the entrypoint array. It will not be executed within a shell. The docker image's `ENTRYPOINT` is used if not specified.
     * 
     */
    @Import(name="commands")
    private @Nullable Output> commands;

    /**
     * @return Specifies the entrypoint array. It will not be executed within a shell. The docker image's `ENTRYPOINT` is used if not specified.
     * 
     */
    public Optional>> commands() {
        return Optional.ofNullable(this.commands);
    }

    /**
     * Specifies the environment variables of the Spring Cloud Deployment as a map of key-value pairs.
     * 
     */
    @Import(name="environmentVariables")
    private @Nullable Output> environmentVariables;

    /**
     * @return Specifies the environment variables of the Spring Cloud Deployment as a map of key-value pairs.
     * 
     */
    public Optional>> environmentVariables() {
        return Optional.ofNullable(this.environmentVariables);
    }

    /**
     * Container image of the custom container. This should be in the form of `<repository>:<tag>` without the server name of the registry.
     * 
     */
    @Import(name="image")
    private @Nullable Output image;

    /**
     * @return Container image of the custom container. This should be in the form of `<repository>:<tag>` without the server name of the registry.
     * 
     */
    public Optional> image() {
        return Optional.ofNullable(this.image);
    }

    /**
     * Specifies the required instance count of the Spring Cloud Deployment. Possible Values are between `1` and `500`. Defaults to `1` if not specified.
     * 
     */
    @Import(name="instanceCount")
    private @Nullable Output instanceCount;

    /**
     * @return Specifies the required instance count of the Spring Cloud Deployment. Possible Values are between `1` and `500`. Defaults to `1` if not specified.
     * 
     */
    public Optional> instanceCount() {
        return Optional.ofNullable(this.instanceCount);
    }

    /**
     * Specifies the language framework of the container image. The only possible value is `springboot`.
     * 
     */
    @Import(name="languageFramework")
    private @Nullable Output languageFramework;

    /**
     * @return Specifies the language framework of the container image. The only possible value is `springboot`.
     * 
     */
    public Optional> languageFramework() {
        return Optional.ofNullable(this.languageFramework);
    }

    /**
     * The name which should be used for this Spring Cloud Container Deployment. Changing this forces a new Spring Cloud Container Deployment to be created.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return The name which should be used for this Spring Cloud Container Deployment. Changing this forces a new Spring Cloud Container Deployment to be created.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * A `quota` block as defined below.
     * 
     */
    @Import(name="quota")
    private @Nullable Output quota;

    /**
     * @return A `quota` block as defined below.
     * 
     */
    public Optional> quota() {
        return Optional.ofNullable(this.quota);
    }

    /**
     * The name of the registry that contains the container image.
     * 
     */
    @Import(name="server")
    private @Nullable Output server;

    /**
     * @return The name of the registry that contains the container image.
     * 
     */
    public Optional> server() {
        return Optional.ofNullable(this.server);
    }

    /**
     * The ID of the Spring Cloud Service. Changing this forces a new Spring Cloud Container Deployment to be created.
     * 
     */
    @Import(name="springCloudAppId")
    private @Nullable Output springCloudAppId;

    /**
     * @return The ID of the Spring Cloud Service. Changing this forces a new Spring Cloud Container Deployment to be created.
     * 
     */
    public Optional> springCloudAppId() {
        return Optional.ofNullable(this.springCloudAppId);
    }

    private SpringCloudContainerDeploymentState() {}

    private SpringCloudContainerDeploymentState(SpringCloudContainerDeploymentState $) {
        this.addonJson = $.addonJson;
        this.applicationPerformanceMonitoringIds = $.applicationPerformanceMonitoringIds;
        this.arguments = $.arguments;
        this.commands = $.commands;
        this.environmentVariables = $.environmentVariables;
        this.image = $.image;
        this.instanceCount = $.instanceCount;
        this.languageFramework = $.languageFramework;
        this.name = $.name;
        this.quota = $.quota;
        this.server = $.server;
        this.springCloudAppId = $.springCloudAppId;
    }

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

    public static final class Builder {
        private SpringCloudContainerDeploymentState $;

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

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

        /**
         * @param addonJson A JSON object that contains the addon configurations of the Spring Cloud Container Deployment.
         * 
         * @return builder
         * 
         */
        public Builder addonJson(@Nullable Output addonJson) {
            $.addonJson = addonJson;
            return this;
        }

        /**
         * @param addonJson A JSON object that contains the addon configurations of the Spring Cloud Container Deployment.
         * 
         * @return builder
         * 
         */
        public Builder addonJson(String addonJson) {
            return addonJson(Output.of(addonJson));
        }

        /**
         * @param applicationPerformanceMonitoringIds Specifies a list of Spring Cloud Application Performance Monitoring IDs.
         * 
         * @return builder
         * 
         */
        public Builder applicationPerformanceMonitoringIds(@Nullable Output> applicationPerformanceMonitoringIds) {
            $.applicationPerformanceMonitoringIds = applicationPerformanceMonitoringIds;
            return this;
        }

        /**
         * @param applicationPerformanceMonitoringIds Specifies a list of Spring Cloud Application Performance Monitoring IDs.
         * 
         * @return builder
         * 
         */
        public Builder applicationPerformanceMonitoringIds(List applicationPerformanceMonitoringIds) {
            return applicationPerformanceMonitoringIds(Output.of(applicationPerformanceMonitoringIds));
        }

        /**
         * @param applicationPerformanceMonitoringIds Specifies a list of Spring Cloud Application Performance Monitoring IDs.
         * 
         * @return builder
         * 
         */
        public Builder applicationPerformanceMonitoringIds(String... applicationPerformanceMonitoringIds) {
            return applicationPerformanceMonitoringIds(List.of(applicationPerformanceMonitoringIds));
        }

        /**
         * @param arguments Specifies the arguments to the entrypoint. The docker image's `CMD` is used if not specified.
         * 
         * @return builder
         * 
         */
        public Builder arguments(@Nullable Output> arguments) {
            $.arguments = arguments;
            return this;
        }

        /**
         * @param arguments Specifies the arguments to the entrypoint. The docker image's `CMD` is used if not specified.
         * 
         * @return builder
         * 
         */
        public Builder arguments(List arguments) {
            return arguments(Output.of(arguments));
        }

        /**
         * @param arguments Specifies the arguments to the entrypoint. The docker image's `CMD` is used if not specified.
         * 
         * @return builder
         * 
         */
        public Builder arguments(String... arguments) {
            return arguments(List.of(arguments));
        }

        /**
         * @param commands Specifies the entrypoint array. It will not be executed within a shell. The docker image's `ENTRYPOINT` is used if not specified.
         * 
         * @return builder
         * 
         */
        public Builder commands(@Nullable Output> commands) {
            $.commands = commands;
            return this;
        }

        /**
         * @param commands Specifies the entrypoint array. It will not be executed within a shell. The docker image's `ENTRYPOINT` is used if not specified.
         * 
         * @return builder
         * 
         */
        public Builder commands(List commands) {
            return commands(Output.of(commands));
        }

        /**
         * @param commands Specifies the entrypoint array. It will not be executed within a shell. The docker image's `ENTRYPOINT` is used if not specified.
         * 
         * @return builder
         * 
         */
        public Builder commands(String... commands) {
            return commands(List.of(commands));
        }

        /**
         * @param environmentVariables Specifies the environment variables of the Spring Cloud Deployment as a map of key-value pairs.
         * 
         * @return builder
         * 
         */
        public Builder environmentVariables(@Nullable Output> environmentVariables) {
            $.environmentVariables = environmentVariables;
            return this;
        }

        /**
         * @param environmentVariables Specifies the environment variables of the Spring Cloud Deployment as a map of key-value pairs.
         * 
         * @return builder
         * 
         */
        public Builder environmentVariables(Map environmentVariables) {
            return environmentVariables(Output.of(environmentVariables));
        }

        /**
         * @param image Container image of the custom container. This should be in the form of `<repository>:<tag>` without the server name of the registry.
         * 
         * @return builder
         * 
         */
        public Builder image(@Nullable Output image) {
            $.image = image;
            return this;
        }

        /**
         * @param image Container image of the custom container. This should be in the form of `<repository>:<tag>` without the server name of the registry.
         * 
         * @return builder
         * 
         */
        public Builder image(String image) {
            return image(Output.of(image));
        }

        /**
         * @param instanceCount Specifies the required instance count of the Spring Cloud Deployment. Possible Values are between `1` and `500`. Defaults to `1` if not specified.
         * 
         * @return builder
         * 
         */
        public Builder instanceCount(@Nullable Output instanceCount) {
            $.instanceCount = instanceCount;
            return this;
        }

        /**
         * @param instanceCount Specifies the required instance count of the Spring Cloud Deployment. Possible Values are between `1` and `500`. Defaults to `1` if not specified.
         * 
         * @return builder
         * 
         */
        public Builder instanceCount(Integer instanceCount) {
            return instanceCount(Output.of(instanceCount));
        }

        /**
         * @param languageFramework Specifies the language framework of the container image. The only possible value is `springboot`.
         * 
         * @return builder
         * 
         */
        public Builder languageFramework(@Nullable Output languageFramework) {
            $.languageFramework = languageFramework;
            return this;
        }

        /**
         * @param languageFramework Specifies the language framework of the container image. The only possible value is `springboot`.
         * 
         * @return builder
         * 
         */
        public Builder languageFramework(String languageFramework) {
            return languageFramework(Output.of(languageFramework));
        }

        /**
         * @param name The name which should be used for this Spring Cloud Container Deployment. Changing this forces a new Spring Cloud Container Deployment to be created.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name The name which should be used for this Spring Cloud Container Deployment. Changing this forces a new Spring Cloud Container Deployment to be created.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param quota A `quota` block as defined below.
         * 
         * @return builder
         * 
         */
        public Builder quota(@Nullable Output quota) {
            $.quota = quota;
            return this;
        }

        /**
         * @param quota A `quota` block as defined below.
         * 
         * @return builder
         * 
         */
        public Builder quota(SpringCloudContainerDeploymentQuotaArgs quota) {
            return quota(Output.of(quota));
        }

        /**
         * @param server The name of the registry that contains the container image.
         * 
         * @return builder
         * 
         */
        public Builder server(@Nullable Output server) {
            $.server = server;
            return this;
        }

        /**
         * @param server The name of the registry that contains the container image.
         * 
         * @return builder
         * 
         */
        public Builder server(String server) {
            return server(Output.of(server));
        }

        /**
         * @param springCloudAppId The ID of the Spring Cloud Service. Changing this forces a new Spring Cloud Container Deployment to be created.
         * 
         * @return builder
         * 
         */
        public Builder springCloudAppId(@Nullable Output springCloudAppId) {
            $.springCloudAppId = springCloudAppId;
            return this;
        }

        /**
         * @param springCloudAppId The ID of the Spring Cloud Service. Changing this forces a new Spring Cloud Container Deployment to be created.
         * 
         * @return builder
         * 
         */
        public Builder springCloudAppId(String springCloudAppId) {
            return springCloudAppId(Output.of(springCloudAppId));
        }

        public SpringCloudContainerDeploymentState build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy