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

com.pulumi.azure.voice.inputs.ServicesCommunicationsGatewayServiceLocationArgs 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.voice.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final ServicesCommunicationsGatewayServiceLocationArgs Empty = new ServicesCommunicationsGatewayServiceLocationArgs();

    /**
     * Specifies the allowed source IP address or CIDR ranges for media.
     * 
     */
    @Import(name="allowedMediaSourceAddressPrefixes")
    private @Nullable Output> allowedMediaSourceAddressPrefixes;

    /**
     * @return Specifies the allowed source IP address or CIDR ranges for media.
     * 
     */
    public Optional>> allowedMediaSourceAddressPrefixes() {
        return Optional.ofNullable(this.allowedMediaSourceAddressPrefixes);
    }

    /**
     * Specifies the allowed source IP address or CIDR ranges for signaling.
     * 
     */
    @Import(name="allowedSignalingSourceAddressPrefixes")
    private @Nullable Output> allowedSignalingSourceAddressPrefixes;

    /**
     * @return Specifies the allowed source IP address or CIDR ranges for signaling.
     * 
     */
    public Optional>> allowedSignalingSourceAddressPrefixes() {
        return Optional.ofNullable(this.allowedSignalingSourceAddressPrefixes);
    }

    /**
     * IP address to use to contact the ESRP from this region.
     * 
     * !> **NOTE:** The `esrp_addresses` must be specified for each `service_location` when the`e911_type` is set to `DirectToEsrp`.  The `esrp_addresses` must not be specified for each `service_location` when the`e911_type` is set to `Standard`.
     * 
     */
    @Import(name="esrpAddresses")
    private @Nullable Output> esrpAddresses;

    /**
     * @return IP address to use to contact the ESRP from this region.
     * 
     * !> **NOTE:** The `esrp_addresses` must be specified for each `service_location` when the`e911_type` is set to `DirectToEsrp`.  The `esrp_addresses` must not be specified for each `service_location` when the`e911_type` is set to `Standard`.
     * 
     */
    public Optional>> esrpAddresses() {
        return Optional.ofNullable(this.esrpAddresses);
    }

    /**
     * Specifies the region in which the resources needed for Teams Calling will be deployed.
     * 
     */
    @Import(name="location", required=true)
    private Output location;

    /**
     * @return Specifies the region in which the resources needed for Teams Calling will be deployed.
     * 
     */
    public Output location() {
        return this.location;
    }

    /**
     * IP address to use to contact the operator network from this region.
     * 
     */
    @Import(name="operatorAddresses", required=true)
    private Output> operatorAddresses;

    /**
     * @return IP address to use to contact the operator network from this region.
     * 
     */
    public Output> operatorAddresses() {
        return this.operatorAddresses;
    }

    private ServicesCommunicationsGatewayServiceLocationArgs() {}

    private ServicesCommunicationsGatewayServiceLocationArgs(ServicesCommunicationsGatewayServiceLocationArgs $) {
        this.allowedMediaSourceAddressPrefixes = $.allowedMediaSourceAddressPrefixes;
        this.allowedSignalingSourceAddressPrefixes = $.allowedSignalingSourceAddressPrefixes;
        this.esrpAddresses = $.esrpAddresses;
        this.location = $.location;
        this.operatorAddresses = $.operatorAddresses;
    }

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

    public static final class Builder {
        private ServicesCommunicationsGatewayServiceLocationArgs $;

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

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

        /**
         * @param allowedMediaSourceAddressPrefixes Specifies the allowed source IP address or CIDR ranges for media.
         * 
         * @return builder
         * 
         */
        public Builder allowedMediaSourceAddressPrefixes(@Nullable Output> allowedMediaSourceAddressPrefixes) {
            $.allowedMediaSourceAddressPrefixes = allowedMediaSourceAddressPrefixes;
            return this;
        }

        /**
         * @param allowedMediaSourceAddressPrefixes Specifies the allowed source IP address or CIDR ranges for media.
         * 
         * @return builder
         * 
         */
        public Builder allowedMediaSourceAddressPrefixes(List allowedMediaSourceAddressPrefixes) {
            return allowedMediaSourceAddressPrefixes(Output.of(allowedMediaSourceAddressPrefixes));
        }

        /**
         * @param allowedMediaSourceAddressPrefixes Specifies the allowed source IP address or CIDR ranges for media.
         * 
         * @return builder
         * 
         */
        public Builder allowedMediaSourceAddressPrefixes(String... allowedMediaSourceAddressPrefixes) {
            return allowedMediaSourceAddressPrefixes(List.of(allowedMediaSourceAddressPrefixes));
        }

        /**
         * @param allowedSignalingSourceAddressPrefixes Specifies the allowed source IP address or CIDR ranges for signaling.
         * 
         * @return builder
         * 
         */
        public Builder allowedSignalingSourceAddressPrefixes(@Nullable Output> allowedSignalingSourceAddressPrefixes) {
            $.allowedSignalingSourceAddressPrefixes = allowedSignalingSourceAddressPrefixes;
            return this;
        }

        /**
         * @param allowedSignalingSourceAddressPrefixes Specifies the allowed source IP address or CIDR ranges for signaling.
         * 
         * @return builder
         * 
         */
        public Builder allowedSignalingSourceAddressPrefixes(List allowedSignalingSourceAddressPrefixes) {
            return allowedSignalingSourceAddressPrefixes(Output.of(allowedSignalingSourceAddressPrefixes));
        }

        /**
         * @param allowedSignalingSourceAddressPrefixes Specifies the allowed source IP address or CIDR ranges for signaling.
         * 
         * @return builder
         * 
         */
        public Builder allowedSignalingSourceAddressPrefixes(String... allowedSignalingSourceAddressPrefixes) {
            return allowedSignalingSourceAddressPrefixes(List.of(allowedSignalingSourceAddressPrefixes));
        }

        /**
         * @param esrpAddresses IP address to use to contact the ESRP from this region.
         * 
         * !> **NOTE:** The `esrp_addresses` must be specified for each `service_location` when the`e911_type` is set to `DirectToEsrp`.  The `esrp_addresses` must not be specified for each `service_location` when the`e911_type` is set to `Standard`.
         * 
         * @return builder
         * 
         */
        public Builder esrpAddresses(@Nullable Output> esrpAddresses) {
            $.esrpAddresses = esrpAddresses;
            return this;
        }

        /**
         * @param esrpAddresses IP address to use to contact the ESRP from this region.
         * 
         * !> **NOTE:** The `esrp_addresses` must be specified for each `service_location` when the`e911_type` is set to `DirectToEsrp`.  The `esrp_addresses` must not be specified for each `service_location` when the`e911_type` is set to `Standard`.
         * 
         * @return builder
         * 
         */
        public Builder esrpAddresses(List esrpAddresses) {
            return esrpAddresses(Output.of(esrpAddresses));
        }

        /**
         * @param esrpAddresses IP address to use to contact the ESRP from this region.
         * 
         * !> **NOTE:** The `esrp_addresses` must be specified for each `service_location` when the`e911_type` is set to `DirectToEsrp`.  The `esrp_addresses` must not be specified for each `service_location` when the`e911_type` is set to `Standard`.
         * 
         * @return builder
         * 
         */
        public Builder esrpAddresses(String... esrpAddresses) {
            return esrpAddresses(List.of(esrpAddresses));
        }

        /**
         * @param location Specifies the region in which the resources needed for Teams Calling will be deployed.
         * 
         * @return builder
         * 
         */
        public Builder location(Output location) {
            $.location = location;
            return this;
        }

        /**
         * @param location Specifies the region in which the resources needed for Teams Calling will be deployed.
         * 
         * @return builder
         * 
         */
        public Builder location(String location) {
            return location(Output.of(location));
        }

        /**
         * @param operatorAddresses IP address to use to contact the operator network from this region.
         * 
         * @return builder
         * 
         */
        public Builder operatorAddresses(Output> operatorAddresses) {
            $.operatorAddresses = operatorAddresses;
            return this;
        }

        /**
         * @param operatorAddresses IP address to use to contact the operator network from this region.
         * 
         * @return builder
         * 
         */
        public Builder operatorAddresses(List operatorAddresses) {
            return operatorAddresses(Output.of(operatorAddresses));
        }

        /**
         * @param operatorAddresses IP address to use to contact the operator network from this region.
         * 
         * @return builder
         * 
         */
        public Builder operatorAddresses(String... operatorAddresses) {
            return operatorAddresses(List.of(operatorAddresses));
        }

        public ServicesCommunicationsGatewayServiceLocationArgs build() {
            if ($.location == null) {
                throw new MissingRequiredPropertyException("ServicesCommunicationsGatewayServiceLocationArgs", "location");
            }
            if ($.operatorAddresses == null) {
                throw new MissingRequiredPropertyException("ServicesCommunicationsGatewayServiceLocationArgs", "operatorAddresses");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy