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

com.pulumi.azurenative.networkcloud.outputs.GetCloudServicesNetworkResult Maven / Gradle / Ivy

There is a newer version: 2.72.0
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.azurenative.networkcloud.outputs;

import com.pulumi.azurenative.networkcloud.outputs.EgressEndpointResponse;
import com.pulumi.azurenative.networkcloud.outputs.ExtendedLocationResponse;
import com.pulumi.azurenative.networkcloud.outputs.SystemDataResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class GetCloudServicesNetworkResult {
    /**
     * @return The list of egress endpoints. This allows for connection from a Hybrid AKS cluster to the specified endpoint.
     * 
     */
    private @Nullable List additionalEgressEndpoints;
    /**
     * @return The list of resource IDs for the other Microsoft.NetworkCloud resources that have attached this network.
     * 
     */
    private List associatedResourceIds;
    /**
     * @return The resource ID of the Network Cloud cluster this cloud services network is associated with.
     * 
     */
    private String clusterId;
    /**
     * @return The more detailed status of the cloud services network.
     * 
     */
    private String detailedStatus;
    /**
     * @return The descriptive message about the current detailed status.
     * 
     */
    private String detailedStatusMessage;
    /**
     * @return The indicator of whether the platform default endpoints are allowed for the egress traffic.
     * 
     */
    private @Nullable String enableDefaultEgressEndpoints;
    /**
     * @return The full list of additional and default egress endpoints that are currently enabled.
     * 
     */
    private List enabledEgressEndpoints;
    /**
     * @return The extended location of the cluster associated with the resource.
     * 
     */
    private ExtendedLocationResponse extendedLocation;
    /**
     * @return Field Deprecated. These fields will be empty/omitted. The list of Hybrid AKS cluster resource IDs that are associated with this cloud services network.
     * 
     */
    private List hybridAksClustersAssociatedIds;
    /**
     * @return Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
     * 
     */
    private String id;
    /**
     * @return The name of the interface that will be present in the virtual machine to represent this network.
     * 
     */
    private String interfaceName;
    /**
     * @return The geo-location where the resource lives
     * 
     */
    private String location;
    /**
     * @return The name of the resource
     * 
     */
    private String name;
    /**
     * @return The provisioning state of the cloud services network.
     * 
     */
    private String provisioningState;
    /**
     * @return Azure Resource Manager metadata containing createdBy and modifiedBy information.
     * 
     */
    private SystemDataResponse systemData;
    /**
     * @return Resource tags.
     * 
     */
    private @Nullable Map tags;
    /**
     * @return The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
     * 
     */
    private String type;
    /**
     * @return Field Deprecated. These fields will be empty/omitted. The list of virtual machine resource IDs, excluding any Hybrid AKS virtual machines, that are currently using this cloud services network.
     * 
     */
    private List virtualMachinesAssociatedIds;

    private GetCloudServicesNetworkResult() {}
    /**
     * @return The list of egress endpoints. This allows for connection from a Hybrid AKS cluster to the specified endpoint.
     * 
     */
    public List additionalEgressEndpoints() {
        return this.additionalEgressEndpoints == null ? List.of() : this.additionalEgressEndpoints;
    }
    /**
     * @return The list of resource IDs for the other Microsoft.NetworkCloud resources that have attached this network.
     * 
     */
    public List associatedResourceIds() {
        return this.associatedResourceIds;
    }
    /**
     * @return The resource ID of the Network Cloud cluster this cloud services network is associated with.
     * 
     */
    public String clusterId() {
        return this.clusterId;
    }
    /**
     * @return The more detailed status of the cloud services network.
     * 
     */
    public String detailedStatus() {
        return this.detailedStatus;
    }
    /**
     * @return The descriptive message about the current detailed status.
     * 
     */
    public String detailedStatusMessage() {
        return this.detailedStatusMessage;
    }
    /**
     * @return The indicator of whether the platform default endpoints are allowed for the egress traffic.
     * 
     */
    public Optional enableDefaultEgressEndpoints() {
        return Optional.ofNullable(this.enableDefaultEgressEndpoints);
    }
    /**
     * @return The full list of additional and default egress endpoints that are currently enabled.
     * 
     */
    public List enabledEgressEndpoints() {
        return this.enabledEgressEndpoints;
    }
    /**
     * @return The extended location of the cluster associated with the resource.
     * 
     */
    public ExtendedLocationResponse extendedLocation() {
        return this.extendedLocation;
    }
    /**
     * @return Field Deprecated. These fields will be empty/omitted. The list of Hybrid AKS cluster resource IDs that are associated with this cloud services network.
     * 
     */
    public List hybridAksClustersAssociatedIds() {
        return this.hybridAksClustersAssociatedIds;
    }
    /**
     * @return Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return The name of the interface that will be present in the virtual machine to represent this network.
     * 
     */
    public String interfaceName() {
        return this.interfaceName;
    }
    /**
     * @return The geo-location where the resource lives
     * 
     */
    public String location() {
        return this.location;
    }
    /**
     * @return The name of the resource
     * 
     */
    public String name() {
        return this.name;
    }
    /**
     * @return The provisioning state of the cloud services network.
     * 
     */
    public String provisioningState() {
        return this.provisioningState;
    }
    /**
     * @return Azure Resource Manager metadata containing createdBy and modifiedBy information.
     * 
     */
    public SystemDataResponse systemData() {
        return this.systemData;
    }
    /**
     * @return Resource tags.
     * 
     */
    public Map tags() {
        return this.tags == null ? Map.of() : this.tags;
    }
    /**
     * @return The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
     * 
     */
    public String type() {
        return this.type;
    }
    /**
     * @return Field Deprecated. These fields will be empty/omitted. The list of virtual machine resource IDs, excluding any Hybrid AKS virtual machines, that are currently using this cloud services network.
     * 
     */
    public List virtualMachinesAssociatedIds() {
        return this.virtualMachinesAssociatedIds;
    }

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

    public static Builder builder(GetCloudServicesNetworkResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable List additionalEgressEndpoints;
        private List associatedResourceIds;
        private String clusterId;
        private String detailedStatus;
        private String detailedStatusMessage;
        private @Nullable String enableDefaultEgressEndpoints;
        private List enabledEgressEndpoints;
        private ExtendedLocationResponse extendedLocation;
        private List hybridAksClustersAssociatedIds;
        private String id;
        private String interfaceName;
        private String location;
        private String name;
        private String provisioningState;
        private SystemDataResponse systemData;
        private @Nullable Map tags;
        private String type;
        private List virtualMachinesAssociatedIds;
        public Builder() {}
        public Builder(GetCloudServicesNetworkResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.additionalEgressEndpoints = defaults.additionalEgressEndpoints;
    	      this.associatedResourceIds = defaults.associatedResourceIds;
    	      this.clusterId = defaults.clusterId;
    	      this.detailedStatus = defaults.detailedStatus;
    	      this.detailedStatusMessage = defaults.detailedStatusMessage;
    	      this.enableDefaultEgressEndpoints = defaults.enableDefaultEgressEndpoints;
    	      this.enabledEgressEndpoints = defaults.enabledEgressEndpoints;
    	      this.extendedLocation = defaults.extendedLocation;
    	      this.hybridAksClustersAssociatedIds = defaults.hybridAksClustersAssociatedIds;
    	      this.id = defaults.id;
    	      this.interfaceName = defaults.interfaceName;
    	      this.location = defaults.location;
    	      this.name = defaults.name;
    	      this.provisioningState = defaults.provisioningState;
    	      this.systemData = defaults.systemData;
    	      this.tags = defaults.tags;
    	      this.type = defaults.type;
    	      this.virtualMachinesAssociatedIds = defaults.virtualMachinesAssociatedIds;
        }

        @CustomType.Setter
        public Builder additionalEgressEndpoints(@Nullable List additionalEgressEndpoints) {

            this.additionalEgressEndpoints = additionalEgressEndpoints;
            return this;
        }
        public Builder additionalEgressEndpoints(EgressEndpointResponse... additionalEgressEndpoints) {
            return additionalEgressEndpoints(List.of(additionalEgressEndpoints));
        }
        @CustomType.Setter
        public Builder associatedResourceIds(List associatedResourceIds) {
            if (associatedResourceIds == null) {
              throw new MissingRequiredPropertyException("GetCloudServicesNetworkResult", "associatedResourceIds");
            }
            this.associatedResourceIds = associatedResourceIds;
            return this;
        }
        public Builder associatedResourceIds(String... associatedResourceIds) {
            return associatedResourceIds(List.of(associatedResourceIds));
        }
        @CustomType.Setter
        public Builder clusterId(String clusterId) {
            if (clusterId == null) {
              throw new MissingRequiredPropertyException("GetCloudServicesNetworkResult", "clusterId");
            }
            this.clusterId = clusterId;
            return this;
        }
        @CustomType.Setter
        public Builder detailedStatus(String detailedStatus) {
            if (detailedStatus == null) {
              throw new MissingRequiredPropertyException("GetCloudServicesNetworkResult", "detailedStatus");
            }
            this.detailedStatus = detailedStatus;
            return this;
        }
        @CustomType.Setter
        public Builder detailedStatusMessage(String detailedStatusMessage) {
            if (detailedStatusMessage == null) {
              throw new MissingRequiredPropertyException("GetCloudServicesNetworkResult", "detailedStatusMessage");
            }
            this.detailedStatusMessage = detailedStatusMessage;
            return this;
        }
        @CustomType.Setter
        public Builder enableDefaultEgressEndpoints(@Nullable String enableDefaultEgressEndpoints) {

            this.enableDefaultEgressEndpoints = enableDefaultEgressEndpoints;
            return this;
        }
        @CustomType.Setter
        public Builder enabledEgressEndpoints(List enabledEgressEndpoints) {
            if (enabledEgressEndpoints == null) {
              throw new MissingRequiredPropertyException("GetCloudServicesNetworkResult", "enabledEgressEndpoints");
            }
            this.enabledEgressEndpoints = enabledEgressEndpoints;
            return this;
        }
        public Builder enabledEgressEndpoints(EgressEndpointResponse... enabledEgressEndpoints) {
            return enabledEgressEndpoints(List.of(enabledEgressEndpoints));
        }
        @CustomType.Setter
        public Builder extendedLocation(ExtendedLocationResponse extendedLocation) {
            if (extendedLocation == null) {
              throw new MissingRequiredPropertyException("GetCloudServicesNetworkResult", "extendedLocation");
            }
            this.extendedLocation = extendedLocation;
            return this;
        }
        @CustomType.Setter
        public Builder hybridAksClustersAssociatedIds(List hybridAksClustersAssociatedIds) {
            if (hybridAksClustersAssociatedIds == null) {
              throw new MissingRequiredPropertyException("GetCloudServicesNetworkResult", "hybridAksClustersAssociatedIds");
            }
            this.hybridAksClustersAssociatedIds = hybridAksClustersAssociatedIds;
            return this;
        }
        public Builder hybridAksClustersAssociatedIds(String... hybridAksClustersAssociatedIds) {
            return hybridAksClustersAssociatedIds(List.of(hybridAksClustersAssociatedIds));
        }
        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetCloudServicesNetworkResult", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder interfaceName(String interfaceName) {
            if (interfaceName == null) {
              throw new MissingRequiredPropertyException("GetCloudServicesNetworkResult", "interfaceName");
            }
            this.interfaceName = interfaceName;
            return this;
        }
        @CustomType.Setter
        public Builder location(String location) {
            if (location == null) {
              throw new MissingRequiredPropertyException("GetCloudServicesNetworkResult", "location");
            }
            this.location = location;
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("GetCloudServicesNetworkResult", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder provisioningState(String provisioningState) {
            if (provisioningState == null) {
              throw new MissingRequiredPropertyException("GetCloudServicesNetworkResult", "provisioningState");
            }
            this.provisioningState = provisioningState;
            return this;
        }
        @CustomType.Setter
        public Builder systemData(SystemDataResponse systemData) {
            if (systemData == null) {
              throw new MissingRequiredPropertyException("GetCloudServicesNetworkResult", "systemData");
            }
            this.systemData = systemData;
            return this;
        }
        @CustomType.Setter
        public Builder tags(@Nullable Map tags) {

            this.tags = tags;
            return this;
        }
        @CustomType.Setter
        public Builder type(String type) {
            if (type == null) {
              throw new MissingRequiredPropertyException("GetCloudServicesNetworkResult", "type");
            }
            this.type = type;
            return this;
        }
        @CustomType.Setter
        public Builder virtualMachinesAssociatedIds(List virtualMachinesAssociatedIds) {
            if (virtualMachinesAssociatedIds == null) {
              throw new MissingRequiredPropertyException("GetCloudServicesNetworkResult", "virtualMachinesAssociatedIds");
            }
            this.virtualMachinesAssociatedIds = virtualMachinesAssociatedIds;
            return this;
        }
        public Builder virtualMachinesAssociatedIds(String... virtualMachinesAssociatedIds) {
            return virtualMachinesAssociatedIds(List.of(virtualMachinesAssociatedIds));
        }
        public GetCloudServicesNetworkResult build() {
            final var _resultValue = new GetCloudServicesNetworkResult();
            _resultValue.additionalEgressEndpoints = additionalEgressEndpoints;
            _resultValue.associatedResourceIds = associatedResourceIds;
            _resultValue.clusterId = clusterId;
            _resultValue.detailedStatus = detailedStatus;
            _resultValue.detailedStatusMessage = detailedStatusMessage;
            _resultValue.enableDefaultEgressEndpoints = enableDefaultEgressEndpoints;
            _resultValue.enabledEgressEndpoints = enabledEgressEndpoints;
            _resultValue.extendedLocation = extendedLocation;
            _resultValue.hybridAksClustersAssociatedIds = hybridAksClustersAssociatedIds;
            _resultValue.id = id;
            _resultValue.interfaceName = interfaceName;
            _resultValue.location = location;
            _resultValue.name = name;
            _resultValue.provisioningState = provisioningState;
            _resultValue.systemData = systemData;
            _resultValue.tags = tags;
            _resultValue.type = type;
            _resultValue.virtualMachinesAssociatedIds = virtualMachinesAssociatedIds;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy