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

com.pulumi.azure.appplatform.inputs.SpringCloudApiPortalState 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.SpringCloudApiPortalSsoArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Boolean;
import java.lang.Integer;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final SpringCloudApiPortalState Empty = new SpringCloudApiPortalState();

    /**
     * Specifies whether the API try-out feature is enabled. When enabled, users can try out the API by sending requests and viewing responses in API portal.
     * 
     */
    @Import(name="apiTryOutEnabled")
    private @Nullable Output apiTryOutEnabled;

    /**
     * @return Specifies whether the API try-out feature is enabled. When enabled, users can try out the API by sending requests and viewing responses in API portal.
     * 
     */
    public Optional> apiTryOutEnabled() {
        return Optional.ofNullable(this.apiTryOutEnabled);
    }

    /**
     * Specifies a list of Spring Cloud Gateway.
     * 
     */
    @Import(name="gatewayIds")
    private @Nullable Output> gatewayIds;

    /**
     * @return Specifies a list of Spring Cloud Gateway.
     * 
     */
    public Optional>> gatewayIds() {
        return Optional.ofNullable(this.gatewayIds);
    }

    /**
     * is only https is allowed?
     * 
     */
    @Import(name="httpsOnlyEnabled")
    private @Nullable Output httpsOnlyEnabled;

    /**
     * @return is only https is allowed?
     * 
     */
    public Optional> httpsOnlyEnabled() {
        return Optional.ofNullable(this.httpsOnlyEnabled);
    }

    /**
     * Specifies the required instance count of the Spring Cloud API Portal. 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 API Portal. Possible Values are between `1` and `500`. Defaults to `1` if not specified.
     * 
     */
    public Optional> instanceCount() {
        return Optional.ofNullable(this.instanceCount);
    }

    /**
     * The name which should be used for this Spring Cloud API Portal. Changing this forces a new Spring Cloud API Portal to be created. The only possible value is `default`.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return The name which should be used for this Spring Cloud API Portal. Changing this forces a new Spring Cloud API Portal to be created. The only possible value is `default`.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * Is the public network access enabled?
     * 
     */
    @Import(name="publicNetworkAccessEnabled")
    private @Nullable Output publicNetworkAccessEnabled;

    /**
     * @return Is the public network access enabled?
     * 
     */
    public Optional> publicNetworkAccessEnabled() {
        return Optional.ofNullable(this.publicNetworkAccessEnabled);
    }

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

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

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

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

    /**
     * TODO.
     * 
     */
    @Import(name="url")
    private @Nullable Output url;

    /**
     * @return TODO.
     * 
     */
    public Optional> url() {
        return Optional.ofNullable(this.url);
    }

    private SpringCloudApiPortalState() {}

    private SpringCloudApiPortalState(SpringCloudApiPortalState $) {
        this.apiTryOutEnabled = $.apiTryOutEnabled;
        this.gatewayIds = $.gatewayIds;
        this.httpsOnlyEnabled = $.httpsOnlyEnabled;
        this.instanceCount = $.instanceCount;
        this.name = $.name;
        this.publicNetworkAccessEnabled = $.publicNetworkAccessEnabled;
        this.springCloudServiceId = $.springCloudServiceId;
        this.sso = $.sso;
        this.url = $.url;
    }

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

    public static final class Builder {
        private SpringCloudApiPortalState $;

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

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

        /**
         * @param apiTryOutEnabled Specifies whether the API try-out feature is enabled. When enabled, users can try out the API by sending requests and viewing responses in API portal.
         * 
         * @return builder
         * 
         */
        public Builder apiTryOutEnabled(@Nullable Output apiTryOutEnabled) {
            $.apiTryOutEnabled = apiTryOutEnabled;
            return this;
        }

        /**
         * @param apiTryOutEnabled Specifies whether the API try-out feature is enabled. When enabled, users can try out the API by sending requests and viewing responses in API portal.
         * 
         * @return builder
         * 
         */
        public Builder apiTryOutEnabled(Boolean apiTryOutEnabled) {
            return apiTryOutEnabled(Output.of(apiTryOutEnabled));
        }

        /**
         * @param gatewayIds Specifies a list of Spring Cloud Gateway.
         * 
         * @return builder
         * 
         */
        public Builder gatewayIds(@Nullable Output> gatewayIds) {
            $.gatewayIds = gatewayIds;
            return this;
        }

        /**
         * @param gatewayIds Specifies a list of Spring Cloud Gateway.
         * 
         * @return builder
         * 
         */
        public Builder gatewayIds(List gatewayIds) {
            return gatewayIds(Output.of(gatewayIds));
        }

        /**
         * @param gatewayIds Specifies a list of Spring Cloud Gateway.
         * 
         * @return builder
         * 
         */
        public Builder gatewayIds(String... gatewayIds) {
            return gatewayIds(List.of(gatewayIds));
        }

        /**
         * @param httpsOnlyEnabled is only https is allowed?
         * 
         * @return builder
         * 
         */
        public Builder httpsOnlyEnabled(@Nullable Output httpsOnlyEnabled) {
            $.httpsOnlyEnabled = httpsOnlyEnabled;
            return this;
        }

        /**
         * @param httpsOnlyEnabled is only https is allowed?
         * 
         * @return builder
         * 
         */
        public Builder httpsOnlyEnabled(Boolean httpsOnlyEnabled) {
            return httpsOnlyEnabled(Output.of(httpsOnlyEnabled));
        }

        /**
         * @param instanceCount Specifies the required instance count of the Spring Cloud API Portal. 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 API Portal. 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 name The name which should be used for this Spring Cloud API Portal. Changing this forces a new Spring Cloud API Portal to be created. The only possible value is `default`.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name The name which should be used for this Spring Cloud API Portal. Changing this forces a new Spring Cloud API Portal to be created. The only possible value is `default`.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param publicNetworkAccessEnabled Is the public network access enabled?
         * 
         * @return builder
         * 
         */
        public Builder publicNetworkAccessEnabled(@Nullable Output publicNetworkAccessEnabled) {
            $.publicNetworkAccessEnabled = publicNetworkAccessEnabled;
            return this;
        }

        /**
         * @param publicNetworkAccessEnabled Is the public network access enabled?
         * 
         * @return builder
         * 
         */
        public Builder publicNetworkAccessEnabled(Boolean publicNetworkAccessEnabled) {
            return publicNetworkAccessEnabled(Output.of(publicNetworkAccessEnabled));
        }

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

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

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

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

        /**
         * @param url TODO.
         * 
         * @return builder
         * 
         */
        public Builder url(@Nullable Output url) {
            $.url = url;
            return this;
        }

        /**
         * @param url TODO.
         * 
         * @return builder
         * 
         */
        public Builder url(String url) {
            return url(Output.of(url));
        }

        public SpringCloudApiPortalState build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy