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

com.pulumi.azure.nginx.outputs.GetDeploymentResult 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.nginx.outputs;

import com.pulumi.azure.nginx.outputs.GetDeploymentAutoScaleProfile;
import com.pulumi.azure.nginx.outputs.GetDeploymentFrontendPrivate;
import com.pulumi.azure.nginx.outputs.GetDeploymentFrontendPublic;
import com.pulumi.azure.nginx.outputs.GetDeploymentIdentity;
import com.pulumi.azure.nginx.outputs.GetDeploymentLoggingStorageAccount;
import com.pulumi.azure.nginx.outputs.GetDeploymentNetworkInterface;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.Integer;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;

@CustomType
public final class GetDeploymentResult {
    /**
     * @return An `auto_scale_profile` block as defined below.
     * 
     */
    private List autoScaleProfiles;
    /**
     * @return The automatic upgrade channel for this NGINX deployment.
     * 
     */
    private String automaticUpgradeChannel;
    /**
     * @return The number of NGINX capacity units for this NGINX Deployment.
     * 
     */
    private Integer capacity;
    /**
     * @return Whether metrics are exported to Azure Monitor.
     * 
     */
    private Boolean diagnoseSupportEnabled;
    /**
     * @return Preferred email associated with the NGINX Deployment.
     * 
     */
    private String email;
    /**
     * @return A `frontend_private` block as defined below.
     * 
     */
    private List frontendPrivates;
    /**
     * @return A `frontend_public` block as defined below.
     * 
     */
    private List frontendPublics;
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    private String id;
    /**
     * @return A `identity` block as defined below.
     * 
     */
    private List identities;
    /**
     * @return The list of Public IP Resource IDs for this NGINX Deployment.
     * 
     */
    private String ipAddress;
    /**
     * @return The Azure Region where the NGINX Deployment exists.
     * 
     */
    private String location;
    /**
     * @return A `logging_storage_account` block as defined below.
     * 
     */
    private List loggingStorageAccounts;
    /**
     * @return Auto-generated managed resource group for the NGINX Deployment.
     * 
     */
    private String managedResourceGroup;
    /**
     * @return Name of the autoscaling profile.
     * 
     */
    private String name;
    /**
     * @return A `network_interface` block as defined below.
     * 
     */
    private List networkInterfaces;
    /**
     * @return NGINX version of the Deployment.
     * 
     */
    private String nginxVersion;
    private String resourceGroupName;
    /**
     * @return The NGINX Deployment SKU.
     * 
     */
    private String sku;
    /**
     * @return A mapping of tags assigned to the NGINX Deployment.
     * 
     */
    private Map tags;

    private GetDeploymentResult() {}
    /**
     * @return An `auto_scale_profile` block as defined below.
     * 
     */
    public List autoScaleProfiles() {
        return this.autoScaleProfiles;
    }
    /**
     * @return The automatic upgrade channel for this NGINX deployment.
     * 
     */
    public String automaticUpgradeChannel() {
        return this.automaticUpgradeChannel;
    }
    /**
     * @return The number of NGINX capacity units for this NGINX Deployment.
     * 
     */
    public Integer capacity() {
        return this.capacity;
    }
    /**
     * @return Whether metrics are exported to Azure Monitor.
     * 
     */
    public Boolean diagnoseSupportEnabled() {
        return this.diagnoseSupportEnabled;
    }
    /**
     * @return Preferred email associated with the NGINX Deployment.
     * 
     */
    public String email() {
        return this.email;
    }
    /**
     * @return A `frontend_private` block as defined below.
     * 
     */
    public List frontendPrivates() {
        return this.frontendPrivates;
    }
    /**
     * @return A `frontend_public` block as defined below.
     * 
     */
    public List frontendPublics() {
        return this.frontendPublics;
    }
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return A `identity` block as defined below.
     * 
     */
    public List identities() {
        return this.identities;
    }
    /**
     * @return The list of Public IP Resource IDs for this NGINX Deployment.
     * 
     */
    public String ipAddress() {
        return this.ipAddress;
    }
    /**
     * @return The Azure Region where the NGINX Deployment exists.
     * 
     */
    public String location() {
        return this.location;
    }
    /**
     * @return A `logging_storage_account` block as defined below.
     * 
     */
    public List loggingStorageAccounts() {
        return this.loggingStorageAccounts;
    }
    /**
     * @return Auto-generated managed resource group for the NGINX Deployment.
     * 
     */
    public String managedResourceGroup() {
        return this.managedResourceGroup;
    }
    /**
     * @return Name of the autoscaling profile.
     * 
     */
    public String name() {
        return this.name;
    }
    /**
     * @return A `network_interface` block as defined below.
     * 
     */
    public List networkInterfaces() {
        return this.networkInterfaces;
    }
    /**
     * @return NGINX version of the Deployment.
     * 
     */
    public String nginxVersion() {
        return this.nginxVersion;
    }
    public String resourceGroupName() {
        return this.resourceGroupName;
    }
    /**
     * @return The NGINX Deployment SKU.
     * 
     */
    public String sku() {
        return this.sku;
    }
    /**
     * @return A mapping of tags assigned to the NGINX Deployment.
     * 
     */
    public Map tags() {
        return this.tags;
    }

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

    public static Builder builder(GetDeploymentResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private List autoScaleProfiles;
        private String automaticUpgradeChannel;
        private Integer capacity;
        private Boolean diagnoseSupportEnabled;
        private String email;
        private List frontendPrivates;
        private List frontendPublics;
        private String id;
        private List identities;
        private String ipAddress;
        private String location;
        private List loggingStorageAccounts;
        private String managedResourceGroup;
        private String name;
        private List networkInterfaces;
        private String nginxVersion;
        private String resourceGroupName;
        private String sku;
        private Map tags;
        public Builder() {}
        public Builder(GetDeploymentResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.autoScaleProfiles = defaults.autoScaleProfiles;
    	      this.automaticUpgradeChannel = defaults.automaticUpgradeChannel;
    	      this.capacity = defaults.capacity;
    	      this.diagnoseSupportEnabled = defaults.diagnoseSupportEnabled;
    	      this.email = defaults.email;
    	      this.frontendPrivates = defaults.frontendPrivates;
    	      this.frontendPublics = defaults.frontendPublics;
    	      this.id = defaults.id;
    	      this.identities = defaults.identities;
    	      this.ipAddress = defaults.ipAddress;
    	      this.location = defaults.location;
    	      this.loggingStorageAccounts = defaults.loggingStorageAccounts;
    	      this.managedResourceGroup = defaults.managedResourceGroup;
    	      this.name = defaults.name;
    	      this.networkInterfaces = defaults.networkInterfaces;
    	      this.nginxVersion = defaults.nginxVersion;
    	      this.resourceGroupName = defaults.resourceGroupName;
    	      this.sku = defaults.sku;
    	      this.tags = defaults.tags;
        }

        @CustomType.Setter
        public Builder autoScaleProfiles(List autoScaleProfiles) {
            if (autoScaleProfiles == null) {
              throw new MissingRequiredPropertyException("GetDeploymentResult", "autoScaleProfiles");
            }
            this.autoScaleProfiles = autoScaleProfiles;
            return this;
        }
        public Builder autoScaleProfiles(GetDeploymentAutoScaleProfile... autoScaleProfiles) {
            return autoScaleProfiles(List.of(autoScaleProfiles));
        }
        @CustomType.Setter
        public Builder automaticUpgradeChannel(String automaticUpgradeChannel) {
            if (automaticUpgradeChannel == null) {
              throw new MissingRequiredPropertyException("GetDeploymentResult", "automaticUpgradeChannel");
            }
            this.automaticUpgradeChannel = automaticUpgradeChannel;
            return this;
        }
        @CustomType.Setter
        public Builder capacity(Integer capacity) {
            if (capacity == null) {
              throw new MissingRequiredPropertyException("GetDeploymentResult", "capacity");
            }
            this.capacity = capacity;
            return this;
        }
        @CustomType.Setter
        public Builder diagnoseSupportEnabled(Boolean diagnoseSupportEnabled) {
            if (diagnoseSupportEnabled == null) {
              throw new MissingRequiredPropertyException("GetDeploymentResult", "diagnoseSupportEnabled");
            }
            this.diagnoseSupportEnabled = diagnoseSupportEnabled;
            return this;
        }
        @CustomType.Setter
        public Builder email(String email) {
            if (email == null) {
              throw new MissingRequiredPropertyException("GetDeploymentResult", "email");
            }
            this.email = email;
            return this;
        }
        @CustomType.Setter
        public Builder frontendPrivates(List frontendPrivates) {
            if (frontendPrivates == null) {
              throw new MissingRequiredPropertyException("GetDeploymentResult", "frontendPrivates");
            }
            this.frontendPrivates = frontendPrivates;
            return this;
        }
        public Builder frontendPrivates(GetDeploymentFrontendPrivate... frontendPrivates) {
            return frontendPrivates(List.of(frontendPrivates));
        }
        @CustomType.Setter
        public Builder frontendPublics(List frontendPublics) {
            if (frontendPublics == null) {
              throw new MissingRequiredPropertyException("GetDeploymentResult", "frontendPublics");
            }
            this.frontendPublics = frontendPublics;
            return this;
        }
        public Builder frontendPublics(GetDeploymentFrontendPublic... frontendPublics) {
            return frontendPublics(List.of(frontendPublics));
        }
        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetDeploymentResult", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder identities(List identities) {
            if (identities == null) {
              throw new MissingRequiredPropertyException("GetDeploymentResult", "identities");
            }
            this.identities = identities;
            return this;
        }
        public Builder identities(GetDeploymentIdentity... identities) {
            return identities(List.of(identities));
        }
        @CustomType.Setter
        public Builder ipAddress(String ipAddress) {
            if (ipAddress == null) {
              throw new MissingRequiredPropertyException("GetDeploymentResult", "ipAddress");
            }
            this.ipAddress = ipAddress;
            return this;
        }
        @CustomType.Setter
        public Builder location(String location) {
            if (location == null) {
              throw new MissingRequiredPropertyException("GetDeploymentResult", "location");
            }
            this.location = location;
            return this;
        }
        @CustomType.Setter
        public Builder loggingStorageAccounts(List loggingStorageAccounts) {
            if (loggingStorageAccounts == null) {
              throw new MissingRequiredPropertyException("GetDeploymentResult", "loggingStorageAccounts");
            }
            this.loggingStorageAccounts = loggingStorageAccounts;
            return this;
        }
        public Builder loggingStorageAccounts(GetDeploymentLoggingStorageAccount... loggingStorageAccounts) {
            return loggingStorageAccounts(List.of(loggingStorageAccounts));
        }
        @CustomType.Setter
        public Builder managedResourceGroup(String managedResourceGroup) {
            if (managedResourceGroup == null) {
              throw new MissingRequiredPropertyException("GetDeploymentResult", "managedResourceGroup");
            }
            this.managedResourceGroup = managedResourceGroup;
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("GetDeploymentResult", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder networkInterfaces(List networkInterfaces) {
            if (networkInterfaces == null) {
              throw new MissingRequiredPropertyException("GetDeploymentResult", "networkInterfaces");
            }
            this.networkInterfaces = networkInterfaces;
            return this;
        }
        public Builder networkInterfaces(GetDeploymentNetworkInterface... networkInterfaces) {
            return networkInterfaces(List.of(networkInterfaces));
        }
        @CustomType.Setter
        public Builder nginxVersion(String nginxVersion) {
            if (nginxVersion == null) {
              throw new MissingRequiredPropertyException("GetDeploymentResult", "nginxVersion");
            }
            this.nginxVersion = nginxVersion;
            return this;
        }
        @CustomType.Setter
        public Builder resourceGroupName(String resourceGroupName) {
            if (resourceGroupName == null) {
              throw new MissingRequiredPropertyException("GetDeploymentResult", "resourceGroupName");
            }
            this.resourceGroupName = resourceGroupName;
            return this;
        }
        @CustomType.Setter
        public Builder sku(String sku) {
            if (sku == null) {
              throw new MissingRequiredPropertyException("GetDeploymentResult", "sku");
            }
            this.sku = sku;
            return this;
        }
        @CustomType.Setter
        public Builder tags(Map tags) {
            if (tags == null) {
              throw new MissingRequiredPropertyException("GetDeploymentResult", "tags");
            }
            this.tags = tags;
            return this;
        }
        public GetDeploymentResult build() {
            final var _resultValue = new GetDeploymentResult();
            _resultValue.autoScaleProfiles = autoScaleProfiles;
            _resultValue.automaticUpgradeChannel = automaticUpgradeChannel;
            _resultValue.capacity = capacity;
            _resultValue.diagnoseSupportEnabled = diagnoseSupportEnabled;
            _resultValue.email = email;
            _resultValue.frontendPrivates = frontendPrivates;
            _resultValue.frontendPublics = frontendPublics;
            _resultValue.id = id;
            _resultValue.identities = identities;
            _resultValue.ipAddress = ipAddress;
            _resultValue.location = location;
            _resultValue.loggingStorageAccounts = loggingStorageAccounts;
            _resultValue.managedResourceGroup = managedResourceGroup;
            _resultValue.name = name;
            _resultValue.networkInterfaces = networkInterfaces;
            _resultValue.nginxVersion = nginxVersion;
            _resultValue.resourceGroupName = resourceGroupName;
            _resultValue.sku = sku;
            _resultValue.tags = tags;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy