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

com.pulumi.azurenative.networkcloud.ClusterManagerArgs Maven / Gradle / Ivy

// *** 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;

import com.pulumi.azurenative.networkcloud.inputs.ManagedResourceGroupConfigurationArgs;
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.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final ClusterManagerArgs Empty = new ClusterManagerArgs();

    /**
     * The resource ID of the Log Analytics workspace that is used for the logs collection.
     * 
     */
    @Import(name="analyticsWorkspaceId")
    private @Nullable Output analyticsWorkspaceId;

    /**
     * @return The resource ID of the Log Analytics workspace that is used for the logs collection.
     * 
     */
    public Optional> analyticsWorkspaceId() {
        return Optional.ofNullable(this.analyticsWorkspaceId);
    }

    /**
     * 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.
     * 
     */
    @Import(name="availabilityZones")
    private @Nullable Output> availabilityZones;

    /**
     * @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 Optional>> availabilityZones() {
        return Optional.ofNullable(this.availabilityZones);
    }

    /**
     * The name of the cluster manager.
     * 
     */
    @Import(name="clusterManagerName")
    private @Nullable Output clusterManagerName;

    /**
     * @return The name of the cluster manager.
     * 
     */
    public Optional> clusterManagerName() {
        return Optional.ofNullable(this.clusterManagerName);
    }

    /**
     * The resource ID of the fabric controller that has one to one mapping with the cluster manager.
     * 
     */
    @Import(name="fabricControllerId", required=true)
    private Output fabricControllerId;

    /**
     * @return The resource ID of the fabric controller that has one to one mapping with the cluster manager.
     * 
     */
    public Output fabricControllerId() {
        return this.fabricControllerId;
    }

    /**
     * The geo-location where the resource lives
     * 
     */
    @Import(name="location")
    private @Nullable Output location;

    /**
     * @return The geo-location where the resource lives
     * 
     */
    public Optional> location() {
        return Optional.ofNullable(this.location);
    }

    /**
     * The configuration of the managed resource group associated with the resource.
     * 
     */
    @Import(name="managedResourceGroupConfiguration")
    private @Nullable Output managedResourceGroupConfiguration;

    /**
     * @return The configuration of the managed resource group associated with the resource.
     * 
     */
    public Optional> managedResourceGroupConfiguration() {
        return Optional.ofNullable(this.managedResourceGroupConfiguration);
    }

    /**
     * The name of the resource group. The name is case insensitive.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private Output resourceGroupName;

    /**
     * @return The name of the resource group. The name is case insensitive.
     * 
     */
    public Output resourceGroupName() {
        return this.resourceGroupName;
    }

    /**
     * Resource tags.
     * 
     */
    @Import(name="tags")
    private @Nullable Output> tags;

    /**
     * @return Resource tags.
     * 
     */
    public Optional>> tags() {
        return Optional.ofNullable(this.tags);
    }

    /**
     * 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.
     * 
     */
    @Import(name="vmSize")
    private @Nullable Output vmSize;

    /**
     * @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);
    }

    private ClusterManagerArgs() {}

    private ClusterManagerArgs(ClusterManagerArgs $) {
        this.analyticsWorkspaceId = $.analyticsWorkspaceId;
        this.availabilityZones = $.availabilityZones;
        this.clusterManagerName = $.clusterManagerName;
        this.fabricControllerId = $.fabricControllerId;
        this.location = $.location;
        this.managedResourceGroupConfiguration = $.managedResourceGroupConfiguration;
        this.resourceGroupName = $.resourceGroupName;
        this.tags = $.tags;
        this.vmSize = $.vmSize;
    }

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

    public static final class Builder {
        private ClusterManagerArgs $;

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

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

        /**
         * @param analyticsWorkspaceId The resource ID of the Log Analytics workspace that is used for the logs collection.
         * 
         * @return builder
         * 
         */
        public Builder analyticsWorkspaceId(@Nullable Output analyticsWorkspaceId) {
            $.analyticsWorkspaceId = analyticsWorkspaceId;
            return this;
        }

        /**
         * @param analyticsWorkspaceId The resource ID of the Log Analytics workspace that is used for the logs collection.
         * 
         * @return builder
         * 
         */
        public Builder analyticsWorkspaceId(String analyticsWorkspaceId) {
            return analyticsWorkspaceId(Output.of(analyticsWorkspaceId));
        }

        /**
         * @param availabilityZones 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.
         * 
         * @return builder
         * 
         */
        public Builder availabilityZones(@Nullable Output> availabilityZones) {
            $.availabilityZones = availabilityZones;
            return this;
        }

        /**
         * @param availabilityZones 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.
         * 
         * @return builder
         * 
         */
        public Builder availabilityZones(List availabilityZones) {
            return availabilityZones(Output.of(availabilityZones));
        }

        /**
         * @param availabilityZones 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.
         * 
         * @return builder
         * 
         */
        public Builder availabilityZones(String... availabilityZones) {
            return availabilityZones(List.of(availabilityZones));
        }

        /**
         * @param clusterManagerName The name of the cluster manager.
         * 
         * @return builder
         * 
         */
        public Builder clusterManagerName(@Nullable Output clusterManagerName) {
            $.clusterManagerName = clusterManagerName;
            return this;
        }

        /**
         * @param clusterManagerName The name of the cluster manager.
         * 
         * @return builder
         * 
         */
        public Builder clusterManagerName(String clusterManagerName) {
            return clusterManagerName(Output.of(clusterManagerName));
        }

        /**
         * @param fabricControllerId The resource ID of the fabric controller that has one to one mapping with the cluster manager.
         * 
         * @return builder
         * 
         */
        public Builder fabricControllerId(Output fabricControllerId) {
            $.fabricControllerId = fabricControllerId;
            return this;
        }

        /**
         * @param fabricControllerId The resource ID of the fabric controller that has one to one mapping with the cluster manager.
         * 
         * @return builder
         * 
         */
        public Builder fabricControllerId(String fabricControllerId) {
            return fabricControllerId(Output.of(fabricControllerId));
        }

        /**
         * @param location The geo-location where the resource lives
         * 
         * @return builder
         * 
         */
        public Builder location(@Nullable Output location) {
            $.location = location;
            return this;
        }

        /**
         * @param location The geo-location where the resource lives
         * 
         * @return builder
         * 
         */
        public Builder location(String location) {
            return location(Output.of(location));
        }

        /**
         * @param managedResourceGroupConfiguration The configuration of the managed resource group associated with the resource.
         * 
         * @return builder
         * 
         */
        public Builder managedResourceGroupConfiguration(@Nullable Output managedResourceGroupConfiguration) {
            $.managedResourceGroupConfiguration = managedResourceGroupConfiguration;
            return this;
        }

        /**
         * @param managedResourceGroupConfiguration The configuration of the managed resource group associated with the resource.
         * 
         * @return builder
         * 
         */
        public Builder managedResourceGroupConfiguration(ManagedResourceGroupConfigurationArgs managedResourceGroupConfiguration) {
            return managedResourceGroupConfiguration(Output.of(managedResourceGroupConfiguration));
        }

        /**
         * @param resourceGroupName The name of the resource group. The name is case insensitive.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(Output resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param resourceGroupName The name of the resource group. The name is case insensitive.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            return resourceGroupName(Output.of(resourceGroupName));
        }

        /**
         * @param tags Resource tags.
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Output> tags) {
            $.tags = tags;
            return this;
        }

        /**
         * @param tags Resource tags.
         * 
         * @return builder
         * 
         */
        public Builder tags(Map tags) {
            return tags(Output.of(tags));
        }

        /**
         * @param vmSize 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.
         * 
         * @return builder
         * 
         */
        public Builder vmSize(@Nullable Output vmSize) {
            $.vmSize = vmSize;
            return this;
        }

        /**
         * @param vmSize 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.
         * 
         * @return builder
         * 
         */
        public Builder vmSize(String vmSize) {
            return vmSize(Output.of(vmSize));
        }

        public ClusterManagerArgs build() {
            if ($.fabricControllerId == null) {
                throw new MissingRequiredPropertyException("ClusterManagerArgs", "fabricControllerId");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("ClusterManagerArgs", "resourceGroupName");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy