com.pulumi.azure.logicapps.inputs.GetStandardSiteConfig Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure Show documentation
Show all versions of azure Show documentation
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.
// *** 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.logicapps.inputs;
import com.pulumi.azure.logicapps.inputs.GetStandardSiteConfigCors;
import com.pulumi.azure.logicapps.inputs.GetStandardSiteConfigIpRestriction;
import com.pulumi.azure.logicapps.inputs.GetStandardSiteConfigScmIpRestriction;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
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 GetStandardSiteConfig extends com.pulumi.resources.InvokeArgs {
public static final GetStandardSiteConfig Empty = new GetStandardSiteConfig();
@Import(name="alwaysOn")
private @Nullable Boolean alwaysOn;
public Optional alwaysOn() {
return Optional.ofNullable(this.alwaysOn);
}
@Import(name="appScaleLimit", required=true)
private Integer appScaleLimit;
public Integer appScaleLimit() {
return this.appScaleLimit;
}
@Import(name="autoSwapSlotName", required=true)
private String autoSwapSlotName;
public String autoSwapSlotName() {
return this.autoSwapSlotName;
}
@Import(name="cors", required=true)
private GetStandardSiteConfigCors cors;
public GetStandardSiteConfigCors cors() {
return this.cors;
}
@Import(name="dotnetFrameworkVersion")
private @Nullable String dotnetFrameworkVersion;
public Optional dotnetFrameworkVersion() {
return Optional.ofNullable(this.dotnetFrameworkVersion);
}
@Import(name="elasticInstanceMinimum", required=true)
private Integer elasticInstanceMinimum;
public Integer elasticInstanceMinimum() {
return this.elasticInstanceMinimum;
}
@Import(name="ftpsState", required=true)
private String ftpsState;
public String ftpsState() {
return this.ftpsState;
}
@Import(name="healthCheckPath")
private @Nullable String healthCheckPath;
public Optional healthCheckPath() {
return Optional.ofNullable(this.healthCheckPath);
}
@Import(name="http2Enabled")
private @Nullable Boolean http2Enabled;
public Optional http2Enabled() {
return Optional.ofNullable(this.http2Enabled);
}
@Import(name="ipRestrictions", required=true)
private List ipRestrictions;
public List ipRestrictions() {
return this.ipRestrictions;
}
@Import(name="linuxFxVersion", required=true)
private String linuxFxVersion;
public String linuxFxVersion() {
return this.linuxFxVersion;
}
@Import(name="minTlsVersion", required=true)
private String minTlsVersion;
public String minTlsVersion() {
return this.minTlsVersion;
}
@Import(name="preWarmedInstanceCount", required=true)
private Integer preWarmedInstanceCount;
public Integer preWarmedInstanceCount() {
return this.preWarmedInstanceCount;
}
@Import(name="publicNetworkAccessEnabled")
private @Nullable Boolean publicNetworkAccessEnabled;
public Optional publicNetworkAccessEnabled() {
return Optional.ofNullable(this.publicNetworkAccessEnabled);
}
@Import(name="runtimeScaleMonitoringEnabled")
private @Nullable Boolean runtimeScaleMonitoringEnabled;
public Optional runtimeScaleMonitoringEnabled() {
return Optional.ofNullable(this.runtimeScaleMonitoringEnabled);
}
@Import(name="scmIpRestrictions", required=true)
private List scmIpRestrictions;
public List scmIpRestrictions() {
return this.scmIpRestrictions;
}
@Import(name="scmMinTlsVersion", required=true)
private String scmMinTlsVersion;
public String scmMinTlsVersion() {
return this.scmMinTlsVersion;
}
@Import(name="scmType", required=true)
private String scmType;
public String scmType() {
return this.scmType;
}
@Import(name="scmUseMainIpRestriction")
private @Nullable Boolean scmUseMainIpRestriction;
public Optional scmUseMainIpRestriction() {
return Optional.ofNullable(this.scmUseMainIpRestriction);
}
@Import(name="use32BitWorkerProcess")
private @Nullable Boolean use32BitWorkerProcess;
public Optional use32BitWorkerProcess() {
return Optional.ofNullable(this.use32BitWorkerProcess);
}
@Import(name="vnetRouteAllEnabled", required=true)
private Boolean vnetRouteAllEnabled;
public Boolean vnetRouteAllEnabled() {
return this.vnetRouteAllEnabled;
}
@Import(name="websocketsEnabled")
private @Nullable Boolean websocketsEnabled;
public Optional websocketsEnabled() {
return Optional.ofNullable(this.websocketsEnabled);
}
private GetStandardSiteConfig() {}
private GetStandardSiteConfig(GetStandardSiteConfig $) {
this.alwaysOn = $.alwaysOn;
this.appScaleLimit = $.appScaleLimit;
this.autoSwapSlotName = $.autoSwapSlotName;
this.cors = $.cors;
this.dotnetFrameworkVersion = $.dotnetFrameworkVersion;
this.elasticInstanceMinimum = $.elasticInstanceMinimum;
this.ftpsState = $.ftpsState;
this.healthCheckPath = $.healthCheckPath;
this.http2Enabled = $.http2Enabled;
this.ipRestrictions = $.ipRestrictions;
this.linuxFxVersion = $.linuxFxVersion;
this.minTlsVersion = $.minTlsVersion;
this.preWarmedInstanceCount = $.preWarmedInstanceCount;
this.publicNetworkAccessEnabled = $.publicNetworkAccessEnabled;
this.runtimeScaleMonitoringEnabled = $.runtimeScaleMonitoringEnabled;
this.scmIpRestrictions = $.scmIpRestrictions;
this.scmMinTlsVersion = $.scmMinTlsVersion;
this.scmType = $.scmType;
this.scmUseMainIpRestriction = $.scmUseMainIpRestriction;
this.use32BitWorkerProcess = $.use32BitWorkerProcess;
this.vnetRouteAllEnabled = $.vnetRouteAllEnabled;
this.websocketsEnabled = $.websocketsEnabled;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetStandardSiteConfig defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetStandardSiteConfig $;
public Builder() {
$ = new GetStandardSiteConfig();
}
public Builder(GetStandardSiteConfig defaults) {
$ = new GetStandardSiteConfig(Objects.requireNonNull(defaults));
}
public Builder alwaysOn(@Nullable Boolean alwaysOn) {
$.alwaysOn = alwaysOn;
return this;
}
public Builder appScaleLimit(Integer appScaleLimit) {
$.appScaleLimit = appScaleLimit;
return this;
}
public Builder autoSwapSlotName(String autoSwapSlotName) {
$.autoSwapSlotName = autoSwapSlotName;
return this;
}
public Builder cors(GetStandardSiteConfigCors cors) {
$.cors = cors;
return this;
}
public Builder dotnetFrameworkVersion(@Nullable String dotnetFrameworkVersion) {
$.dotnetFrameworkVersion = dotnetFrameworkVersion;
return this;
}
public Builder elasticInstanceMinimum(Integer elasticInstanceMinimum) {
$.elasticInstanceMinimum = elasticInstanceMinimum;
return this;
}
public Builder ftpsState(String ftpsState) {
$.ftpsState = ftpsState;
return this;
}
public Builder healthCheckPath(@Nullable String healthCheckPath) {
$.healthCheckPath = healthCheckPath;
return this;
}
public Builder http2Enabled(@Nullable Boolean http2Enabled) {
$.http2Enabled = http2Enabled;
return this;
}
public Builder ipRestrictions(List ipRestrictions) {
$.ipRestrictions = ipRestrictions;
return this;
}
public Builder ipRestrictions(GetStandardSiteConfigIpRestriction... ipRestrictions) {
return ipRestrictions(List.of(ipRestrictions));
}
public Builder linuxFxVersion(String linuxFxVersion) {
$.linuxFxVersion = linuxFxVersion;
return this;
}
public Builder minTlsVersion(String minTlsVersion) {
$.minTlsVersion = minTlsVersion;
return this;
}
public Builder preWarmedInstanceCount(Integer preWarmedInstanceCount) {
$.preWarmedInstanceCount = preWarmedInstanceCount;
return this;
}
public Builder publicNetworkAccessEnabled(@Nullable Boolean publicNetworkAccessEnabled) {
$.publicNetworkAccessEnabled = publicNetworkAccessEnabled;
return this;
}
public Builder runtimeScaleMonitoringEnabled(@Nullable Boolean runtimeScaleMonitoringEnabled) {
$.runtimeScaleMonitoringEnabled = runtimeScaleMonitoringEnabled;
return this;
}
public Builder scmIpRestrictions(List scmIpRestrictions) {
$.scmIpRestrictions = scmIpRestrictions;
return this;
}
public Builder scmIpRestrictions(GetStandardSiteConfigScmIpRestriction... scmIpRestrictions) {
return scmIpRestrictions(List.of(scmIpRestrictions));
}
public Builder scmMinTlsVersion(String scmMinTlsVersion) {
$.scmMinTlsVersion = scmMinTlsVersion;
return this;
}
public Builder scmType(String scmType) {
$.scmType = scmType;
return this;
}
public Builder scmUseMainIpRestriction(@Nullable Boolean scmUseMainIpRestriction) {
$.scmUseMainIpRestriction = scmUseMainIpRestriction;
return this;
}
public Builder use32BitWorkerProcess(@Nullable Boolean use32BitWorkerProcess) {
$.use32BitWorkerProcess = use32BitWorkerProcess;
return this;
}
public Builder vnetRouteAllEnabled(Boolean vnetRouteAllEnabled) {
$.vnetRouteAllEnabled = vnetRouteAllEnabled;
return this;
}
public Builder websocketsEnabled(@Nullable Boolean websocketsEnabled) {
$.websocketsEnabled = websocketsEnabled;
return this;
}
public GetStandardSiteConfig build() {
if ($.appScaleLimit == null) {
throw new MissingRequiredPropertyException("GetStandardSiteConfig", "appScaleLimit");
}
if ($.autoSwapSlotName == null) {
throw new MissingRequiredPropertyException("GetStandardSiteConfig", "autoSwapSlotName");
}
if ($.cors == null) {
throw new MissingRequiredPropertyException("GetStandardSiteConfig", "cors");
}
if ($.elasticInstanceMinimum == null) {
throw new MissingRequiredPropertyException("GetStandardSiteConfig", "elasticInstanceMinimum");
}
if ($.ftpsState == null) {
throw new MissingRequiredPropertyException("GetStandardSiteConfig", "ftpsState");
}
if ($.ipRestrictions == null) {
throw new MissingRequiredPropertyException("GetStandardSiteConfig", "ipRestrictions");
}
if ($.linuxFxVersion == null) {
throw new MissingRequiredPropertyException("GetStandardSiteConfig", "linuxFxVersion");
}
if ($.minTlsVersion == null) {
throw new MissingRequiredPropertyException("GetStandardSiteConfig", "minTlsVersion");
}
if ($.preWarmedInstanceCount == null) {
throw new MissingRequiredPropertyException("GetStandardSiteConfig", "preWarmedInstanceCount");
}
if ($.scmIpRestrictions == null) {
throw new MissingRequiredPropertyException("GetStandardSiteConfig", "scmIpRestrictions");
}
if ($.scmMinTlsVersion == null) {
throw new MissingRequiredPropertyException("GetStandardSiteConfig", "scmMinTlsVersion");
}
if ($.scmType == null) {
throw new MissingRequiredPropertyException("GetStandardSiteConfig", "scmType");
}
if ($.vnetRouteAllEnabled == null) {
throw new MissingRequiredPropertyException("GetStandardSiteConfig", "vnetRouteAllEnabled");
}
return $;
}
}
}