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

com.pulumi.azure.avs.outputs.GetPrivateCloudCircuit 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.avs.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class GetPrivateCloudCircuit {
    /**
     * @return The ID of the ExpressRoute Circuit.
     * 
     */
    private String expressRouteId;
    /**
     * @return The ID of the ExpressRoute Circuit private peering.
     * 
     */
    private String expressRoutePrivatePeeringId;
    /**
     * @return The CIDR of the primary subnet.
     * 
     */
    private String primarySubnetCidr;
    /**
     * @return The CIDR of the secondary subnet.
     * 
     */
    private String secondarySubnetCidr;

    private GetPrivateCloudCircuit() {}
    /**
     * @return The ID of the ExpressRoute Circuit.
     * 
     */
    public String expressRouteId() {
        return this.expressRouteId;
    }
    /**
     * @return The ID of the ExpressRoute Circuit private peering.
     * 
     */
    public String expressRoutePrivatePeeringId() {
        return this.expressRoutePrivatePeeringId;
    }
    /**
     * @return The CIDR of the primary subnet.
     * 
     */
    public String primarySubnetCidr() {
        return this.primarySubnetCidr;
    }
    /**
     * @return The CIDR of the secondary subnet.
     * 
     */
    public String secondarySubnetCidr() {
        return this.secondarySubnetCidr;
    }

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

    public static Builder builder(GetPrivateCloudCircuit defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String expressRouteId;
        private String expressRoutePrivatePeeringId;
        private String primarySubnetCidr;
        private String secondarySubnetCidr;
        public Builder() {}
        public Builder(GetPrivateCloudCircuit defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.expressRouteId = defaults.expressRouteId;
    	      this.expressRoutePrivatePeeringId = defaults.expressRoutePrivatePeeringId;
    	      this.primarySubnetCidr = defaults.primarySubnetCidr;
    	      this.secondarySubnetCidr = defaults.secondarySubnetCidr;
        }

        @CustomType.Setter
        public Builder expressRouteId(String expressRouteId) {
            if (expressRouteId == null) {
              throw new MissingRequiredPropertyException("GetPrivateCloudCircuit", "expressRouteId");
            }
            this.expressRouteId = expressRouteId;
            return this;
        }
        @CustomType.Setter
        public Builder expressRoutePrivatePeeringId(String expressRoutePrivatePeeringId) {
            if (expressRoutePrivatePeeringId == null) {
              throw new MissingRequiredPropertyException("GetPrivateCloudCircuit", "expressRoutePrivatePeeringId");
            }
            this.expressRoutePrivatePeeringId = expressRoutePrivatePeeringId;
            return this;
        }
        @CustomType.Setter
        public Builder primarySubnetCidr(String primarySubnetCidr) {
            if (primarySubnetCidr == null) {
              throw new MissingRequiredPropertyException("GetPrivateCloudCircuit", "primarySubnetCidr");
            }
            this.primarySubnetCidr = primarySubnetCidr;
            return this;
        }
        @CustomType.Setter
        public Builder secondarySubnetCidr(String secondarySubnetCidr) {
            if (secondarySubnetCidr == null) {
              throw new MissingRequiredPropertyException("GetPrivateCloudCircuit", "secondarySubnetCidr");
            }
            this.secondarySubnetCidr = secondarySubnetCidr;
            return this;
        }
        public GetPrivateCloudCircuit build() {
            final var _resultValue = new GetPrivateCloudCircuit();
            _resultValue.expressRouteId = expressRouteId;
            _resultValue.expressRoutePrivatePeeringId = expressRoutePrivatePeeringId;
            _resultValue.primarySubnetCidr = primarySubnetCidr;
            _resultValue.secondarySubnetCidr = secondarySubnetCidr;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy