com.pulumi.azure.appservice.outputs.GetFunctionAppSiteConfigScmIpRestriction 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.appservice.outputs;
import com.pulumi.azure.appservice.outputs.GetFunctionAppSiteConfigScmIpRestrictionHeaders;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class GetFunctionAppSiteConfigScmIpRestriction {
/**
* @return Allow or Deny access for this IP range. Defaults to Allow.
*
*/
private String action;
private GetFunctionAppSiteConfigScmIpRestrictionHeaders headers;
/**
* @return The IP Address used for this IP Restriction in CIDR notation.
*
*/
private String ipAddress;
/**
* @return The name of the Function App resource.
*
*/
private String name;
/**
* @return The priority for this IP Restriction.
*
*/
private Integer priority;
/**
* @return The Service Tag used for this IP Restriction.
*
*/
private String serviceTag;
/**
* @return The Virtual Network Subnet ID used for this IP Restriction.
*
*/
private String virtualNetworkSubnetId;
private GetFunctionAppSiteConfigScmIpRestriction() {}
/**
* @return Allow or Deny access for this IP range. Defaults to Allow.
*
*/
public String action() {
return this.action;
}
public GetFunctionAppSiteConfigScmIpRestrictionHeaders headers() {
return this.headers;
}
/**
* @return The IP Address used for this IP Restriction in CIDR notation.
*
*/
public String ipAddress() {
return this.ipAddress;
}
/**
* @return The name of the Function App resource.
*
*/
public String name() {
return this.name;
}
/**
* @return The priority for this IP Restriction.
*
*/
public Integer priority() {
return this.priority;
}
/**
* @return The Service Tag used for this IP Restriction.
*
*/
public String serviceTag() {
return this.serviceTag;
}
/**
* @return The Virtual Network Subnet ID used for this IP Restriction.
*
*/
public String virtualNetworkSubnetId() {
return this.virtualNetworkSubnetId;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetFunctionAppSiteConfigScmIpRestriction defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String action;
private GetFunctionAppSiteConfigScmIpRestrictionHeaders headers;
private String ipAddress;
private String name;
private Integer priority;
private String serviceTag;
private String virtualNetworkSubnetId;
public Builder() {}
public Builder(GetFunctionAppSiteConfigScmIpRestriction defaults) {
Objects.requireNonNull(defaults);
this.action = defaults.action;
this.headers = defaults.headers;
this.ipAddress = defaults.ipAddress;
this.name = defaults.name;
this.priority = defaults.priority;
this.serviceTag = defaults.serviceTag;
this.virtualNetworkSubnetId = defaults.virtualNetworkSubnetId;
}
@CustomType.Setter
public Builder action(String action) {
if (action == null) {
throw new MissingRequiredPropertyException("GetFunctionAppSiteConfigScmIpRestriction", "action");
}
this.action = action;
return this;
}
@CustomType.Setter
public Builder headers(GetFunctionAppSiteConfigScmIpRestrictionHeaders headers) {
if (headers == null) {
throw new MissingRequiredPropertyException("GetFunctionAppSiteConfigScmIpRestriction", "headers");
}
this.headers = headers;
return this;
}
@CustomType.Setter
public Builder ipAddress(String ipAddress) {
if (ipAddress == null) {
throw new MissingRequiredPropertyException("GetFunctionAppSiteConfigScmIpRestriction", "ipAddress");
}
this.ipAddress = ipAddress;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetFunctionAppSiteConfigScmIpRestriction", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder priority(Integer priority) {
if (priority == null) {
throw new MissingRequiredPropertyException("GetFunctionAppSiteConfigScmIpRestriction", "priority");
}
this.priority = priority;
return this;
}
@CustomType.Setter
public Builder serviceTag(String serviceTag) {
if (serviceTag == null) {
throw new MissingRequiredPropertyException("GetFunctionAppSiteConfigScmIpRestriction", "serviceTag");
}
this.serviceTag = serviceTag;
return this;
}
@CustomType.Setter
public Builder virtualNetworkSubnetId(String virtualNetworkSubnetId) {
if (virtualNetworkSubnetId == null) {
throw new MissingRequiredPropertyException("GetFunctionAppSiteConfigScmIpRestriction", "virtualNetworkSubnetId");
}
this.virtualNetworkSubnetId = virtualNetworkSubnetId;
return this;
}
public GetFunctionAppSiteConfigScmIpRestriction build() {
final var _resultValue = new GetFunctionAppSiteConfigScmIpRestriction();
_resultValue.action = action;
_resultValue.headers = headers;
_resultValue.ipAddress = ipAddress;
_resultValue.name = name;
_resultValue.priority = priority;
_resultValue.serviceTag = serviceTag;
_resultValue.virtualNetworkSubnetId = virtualNetworkSubnetId;
return _resultValue;
}
}
}