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

com.pulumi.azure.logicapps.outputs.StandardSiteConfigScmIpRestriction 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.logicapps.outputs;

import com.pulumi.azure.logicapps.outputs.StandardSiteConfigScmIpRestrictionHeaders;
import com.pulumi.core.annotations.CustomType;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class StandardSiteConfigScmIpRestriction {
    /**
     * @return Does this restriction `Allow` or `Deny` access for this IP range. Defaults to `Allow`.
     * 
     */
    private @Nullable String action;
    /**
     * @return The `headers` block for this specific `ip_restriction` as defined below.
     * 
     */
    private @Nullable StandardSiteConfigScmIpRestrictionHeaders headers;
    /**
     * @return The IP Address used for this IP Restriction in CIDR notation.
     * 
     */
    private @Nullable String ipAddress;
    /**
     * @return The name for this IP Restriction.
     * 
     */
    private @Nullable String name;
    /**
     * @return The priority for this IP Restriction. Restrictions are enforced in priority order. By default, the priority is set to 65000 if not specified.
     * 
     */
    private @Nullable Integer priority;
    /**
     * @return The Service Tag used for this IP Restriction.
     * 
     */
    private @Nullable String serviceTag;
    /**
     * @return The Virtual Network Subnet ID used for this IP Restriction.
     * 
     * > **NOTE:** One of either `ip_address`, `service_tag` or `virtual_network_subnet_id` must be specified
     * 
     */
    private @Nullable String virtualNetworkSubnetId;

    private StandardSiteConfigScmIpRestriction() {}
    /**
     * @return Does this restriction `Allow` or `Deny` access for this IP range. Defaults to `Allow`.
     * 
     */
    public Optional action() {
        return Optional.ofNullable(this.action);
    }
    /**
     * @return The `headers` block for this specific `ip_restriction` as defined below.
     * 
     */
    public Optional headers() {
        return Optional.ofNullable(this.headers);
    }
    /**
     * @return The IP Address used for this IP Restriction in CIDR notation.
     * 
     */
    public Optional ipAddress() {
        return Optional.ofNullable(this.ipAddress);
    }
    /**
     * @return The name for this IP Restriction.
     * 
     */
    public Optional name() {
        return Optional.ofNullable(this.name);
    }
    /**
     * @return The priority for this IP Restriction. Restrictions are enforced in priority order. By default, the priority is set to 65000 if not specified.
     * 
     */
    public Optional priority() {
        return Optional.ofNullable(this.priority);
    }
    /**
     * @return The Service Tag used for this IP Restriction.
     * 
     */
    public Optional serviceTag() {
        return Optional.ofNullable(this.serviceTag);
    }
    /**
     * @return The Virtual Network Subnet ID used for this IP Restriction.
     * 
     * > **NOTE:** One of either `ip_address`, `service_tag` or `virtual_network_subnet_id` must be specified
     * 
     */
    public Optional virtualNetworkSubnetId() {
        return Optional.ofNullable(this.virtualNetworkSubnetId);
    }

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

    public static Builder builder(StandardSiteConfigScmIpRestriction defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String action;
        private @Nullable StandardSiteConfigScmIpRestrictionHeaders headers;
        private @Nullable String ipAddress;
        private @Nullable String name;
        private @Nullable Integer priority;
        private @Nullable String serviceTag;
        private @Nullable String virtualNetworkSubnetId;
        public Builder() {}
        public Builder(StandardSiteConfigScmIpRestriction 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(@Nullable String action) {

            this.action = action;
            return this;
        }
        @CustomType.Setter
        public Builder headers(@Nullable StandardSiteConfigScmIpRestrictionHeaders headers) {

            this.headers = headers;
            return this;
        }
        @CustomType.Setter
        public Builder ipAddress(@Nullable String ipAddress) {

            this.ipAddress = ipAddress;
            return this;
        }
        @CustomType.Setter
        public Builder name(@Nullable String name) {

            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder priority(@Nullable Integer priority) {

            this.priority = priority;
            return this;
        }
        @CustomType.Setter
        public Builder serviceTag(@Nullable String serviceTag) {

            this.serviceTag = serviceTag;
            return this;
        }
        @CustomType.Setter
        public Builder virtualNetworkSubnetId(@Nullable String virtualNetworkSubnetId) {

            this.virtualNetworkSubnetId = virtualNetworkSubnetId;
            return this;
        }
        public StandardSiteConfigScmIpRestriction build() {
            final var _resultValue = new StandardSiteConfigScmIpRestriction();
            _resultValue.action = action;
            _resultValue.headers = headers;
            _resultValue.ipAddress = ipAddress;
            _resultValue.name = name;
            _resultValue.priority = priority;
            _resultValue.serviceTag = serviceTag;
            _resultValue.virtualNetworkSubnetId = virtualNetworkSubnetId;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy