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

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

There is a newer version: 2.82.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.ClusterAvailableVersionResponse;
import com.pulumi.azurenative.networkcloud.outputs.ExtendedLocationResponse;
import com.pulumi.azurenative.networkcloud.outputs.ManagedResourceGroupConfigurationResponse;
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 GetClusterManagerResult {
    /**
     * @return The resource ID of the Log Analytics workspace that is used for the logs collection.
     * 
     */
    private @Nullable String analyticsWorkspaceId;
    /**
     * @return Field deprecated, this value will no longer influence the cluster manager allocation process and will be removed in a future version. The Azure availability zones within the region that will be used to support the cluster manager resource.
     * 
     */
    private @Nullable List availabilityZones;
    /**
     * @return The list of the cluster versions the manager supports. It is used as input in clusterVersion property of a cluster resource.
     * 
     */
    private List clusterVersions;
    /**
     * @return The detailed status that provides additional information about the cluster manager.
     * 
     */
    private String detailedStatus;
    /**
     * @return The descriptive message about the current detailed status.
     * 
     */
    private String detailedStatusMessage;
    /**
     * @return The resource ID of the fabric controller that has one to one mapping with the cluster manager.
     * 
     */
    private String fabricControllerId;
    /**
     * @return Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
     * 
     */
    private String id;
    /**
     * @return The geo-location where the resource lives
     * 
     */
    private String location;
    /**
     * @return The configuration of the managed resource group associated with the resource.
     * 
     */
    private @Nullable ManagedResourceGroupConfigurationResponse managedResourceGroupConfiguration;
    /**
     * @return The extended location (custom location) that represents the cluster manager's control plane location. This extended location is used when creating cluster and rack manifest resources.
     * 
     */
    private ExtendedLocationResponse managerExtendedLocation;
    /**
     * @return The name of the resource
     * 
     */
    private String name;
    /**
     * @return The provisioning state of the cluster manager.
     * 
     */
    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, this value will no longer influence the cluster manager allocation process and will be removed in a future version. The size of the Azure virtual machines to use for hosting the cluster manager resource.
     * 
     */
    private @Nullable String vmSize;

    private GetClusterManagerResult() {}
    /**
     * @return The resource ID of the Log Analytics workspace that is used for the logs collection.
     * 
     */
    public Optional analyticsWorkspaceId() {
        return Optional.ofNullable(this.analyticsWorkspaceId);
    }
    /**
     * @return Field deprecated, this value will no longer influence the cluster manager allocation process and will be removed in a future version. The Azure availability zones within the region that will be used to support the cluster manager resource.
     * 
     */
    public List availabilityZones() {
        return this.availabilityZones == null ? List.of() : this.availabilityZones;
    }
    /**
     * @return The list of the cluster versions the manager supports. It is used as input in clusterVersion property of a cluster resource.
     * 
     */
    public List clusterVersions() {
        return this.clusterVersions;
    }
    /**
     * @return The detailed status that provides additional information about the cluster manager.
     * 
     */
    public String detailedStatus() {
        return this.detailedStatus;
    }
    /**
     * @return The descriptive message about the current detailed status.
     * 
     */
    public String detailedStatusMessage() {
        return this.detailedStatusMessage;
    }
    /**
     * @return The resource ID of the fabric controller that has one to one mapping with the cluster manager.
     * 
     */
    public String fabricControllerId() {
        return this.fabricControllerId;
    }
    /**
     * @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 geo-location where the resource lives
     * 
     */
    public String location() {
        return this.location;
    }
    /**
     * @return The configuration of the managed resource group associated with the resource.
     * 
     */
    public Optional managedResourceGroupConfiguration() {
        return Optional.ofNullable(this.managedResourceGroupConfiguration);
    }
    /**
     * @return The extended location (custom location) that represents the cluster manager's control plane location. This extended location is used when creating cluster and rack manifest resources.
     * 
     */
    public ExtendedLocationResponse managerExtendedLocation() {
        return this.managerExtendedLocation;
    }
    /**
     * @return The name of the resource
     * 
     */
    public String name() {
        return this.name;
    }
    /**
     * @return The provisioning state of the cluster manager.
     * 
     */
    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, this value will no longer influence the cluster manager allocation process and will be removed in a future version. The size of the Azure virtual machines to use for hosting the cluster manager resource.
     * 
     */
    public Optional vmSize() {
        return Optional.ofNullable(this.vmSize);
    }

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

    public static Builder builder(GetClusterManagerResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String analyticsWorkspaceId;
        private @Nullable List availabilityZones;
        private List clusterVersions;
        private String detailedStatus;
        private String detailedStatusMessage;
        private String fabricControllerId;
        private String id;
        private String location;
        private @Nullable ManagedResourceGroupConfigurationResponse managedResourceGroupConfiguration;
        private ExtendedLocationResponse managerExtendedLocation;
        private String name;
        private String provisioningState;
        private SystemDataResponse systemData;
        private @Nullable Map tags;
        private String type;
        private @Nullable String vmSize;
        public Builder() {}
        public Builder(GetClusterManagerResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.analyticsWorkspaceId = defaults.analyticsWorkspaceId;
    	      this.availabilityZones = defaults.availabilityZones;
    	      this.clusterVersions = defaults.clusterVersions;
    	      this.detailedStatus = defaults.detailedStatus;
    	      this.detailedStatusMessage = defaults.detailedStatusMessage;
    	      this.fabricControllerId = defaults.fabricControllerId;
    	      this.id = defaults.id;
    	      this.location = defaults.location;
    	      this.managedResourceGroupConfiguration = defaults.managedResourceGroupConfiguration;
    	      this.managerExtendedLocation = defaults.managerExtendedLocation;
    	      this.name = defaults.name;
    	      this.provisioningState = defaults.provisioningState;
    	      this.systemData = defaults.systemData;
    	      this.tags = defaults.tags;
    	      this.type = defaults.type;
    	      this.vmSize = defaults.vmSize;
        }

        @CustomType.Setter
        public Builder analyticsWorkspaceId(@Nullable String analyticsWorkspaceId) {

            this.analyticsWorkspaceId = analyticsWorkspaceId;
            return this;
        }
        @CustomType.Setter
        public Builder availabilityZones(@Nullable List availabilityZones) {

            this.availabilityZones = availabilityZones;
            return this;
        }
        public Builder availabilityZones(String... availabilityZones) {
            return availabilityZones(List.of(availabilityZones));
        }
        @CustomType.Setter
        public Builder clusterVersions(List clusterVersions) {
            if (clusterVersions == null) {
              throw new MissingRequiredPropertyException("GetClusterManagerResult", "clusterVersions");
            }
            this.clusterVersions = clusterVersions;
            return this;
        }
        public Builder clusterVersions(ClusterAvailableVersionResponse... clusterVersions) {
            return clusterVersions(List.of(clusterVersions));
        }
        @CustomType.Setter
        public Builder detailedStatus(String detailedStatus) {
            if (detailedStatus == null) {
              throw new MissingRequiredPropertyException("GetClusterManagerResult", "detailedStatus");
            }
            this.detailedStatus = detailedStatus;
            return this;
        }
        @CustomType.Setter
        public Builder detailedStatusMessage(String detailedStatusMessage) {
            if (detailedStatusMessage == null) {
              throw new MissingRequiredPropertyException("GetClusterManagerResult", "detailedStatusMessage");
            }
            this.detailedStatusMessage = detailedStatusMessage;
            return this;
        }
        @CustomType.Setter
        public Builder fabricControllerId(String fabricControllerId) {
            if (fabricControllerId == null) {
              throw new MissingRequiredPropertyException("GetClusterManagerResult", "fabricControllerId");
            }
            this.fabricControllerId = fabricControllerId;
            return this;
        }
        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetClusterManagerResult", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder location(String location) {
            if (location == null) {
              throw new MissingRequiredPropertyException("GetClusterManagerResult", "location");
            }
            this.location = location;
            return this;
        }
        @CustomType.Setter
        public Builder managedResourceGroupConfiguration(@Nullable ManagedResourceGroupConfigurationResponse managedResourceGroupConfiguration) {

            this.managedResourceGroupConfiguration = managedResourceGroupConfiguration;
            return this;
        }
        @CustomType.Setter
        public Builder managerExtendedLocation(ExtendedLocationResponse managerExtendedLocation) {
            if (managerExtendedLocation == null) {
              throw new MissingRequiredPropertyException("GetClusterManagerResult", "managerExtendedLocation");
            }
            this.managerExtendedLocation = managerExtendedLocation;
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("GetClusterManagerResult", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder provisioningState(String provisioningState) {
            if (provisioningState == null) {
              throw new MissingRequiredPropertyException("GetClusterManagerResult", "provisioningState");
            }
            this.provisioningState = provisioningState;
            return this;
        }
        @CustomType.Setter
        public Builder systemData(SystemDataResponse systemData) {
            if (systemData == null) {
              throw new MissingRequiredPropertyException("GetClusterManagerResult", "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("GetClusterManagerResult", "type");
            }
            this.type = type;
            return this;
        }
        @CustomType.Setter
        public Builder vmSize(@Nullable String vmSize) {

            this.vmSize = vmSize;
            return this;
        }
        public GetClusterManagerResult build() {
            final var _resultValue = new GetClusterManagerResult();
            _resultValue.analyticsWorkspaceId = analyticsWorkspaceId;
            _resultValue.availabilityZones = availabilityZones;
            _resultValue.clusterVersions = clusterVersions;
            _resultValue.detailedStatus = detailedStatus;
            _resultValue.detailedStatusMessage = detailedStatusMessage;
            _resultValue.fabricControllerId = fabricControllerId;
            _resultValue.id = id;
            _resultValue.location = location;
            _resultValue.managedResourceGroupConfiguration = managedResourceGroupConfiguration;
            _resultValue.managerExtendedLocation = managerExtendedLocation;
            _resultValue.name = name;
            _resultValue.provisioningState = provisioningState;
            _resultValue.systemData = systemData;
            _resultValue.tags = tags;
            _resultValue.type = type;
            _resultValue.vmSize = vmSize;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy