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

com.pulumi.azurenative.azurestackhci.ArcSettingArgs Maven / Gradle / Ivy

There is a newer version: 2.78.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.azurestackhci;

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


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

    public static final ArcSettingArgs Empty = new ArcSettingArgs();

    /**
     * App id of arc AAD identity.
     * 
     */
    @Import(name="arcApplicationClientId")
    private @Nullable Output arcApplicationClientId;

    /**
     * @return App id of arc AAD identity.
     * 
     */
    public Optional> arcApplicationClientId() {
        return Optional.ofNullable(this.arcApplicationClientId);
    }

    /**
     * Object id of arc AAD identity.
     * 
     */
    @Import(name="arcApplicationObjectId")
    private @Nullable Output arcApplicationObjectId;

    /**
     * @return Object id of arc AAD identity.
     * 
     */
    public Optional> arcApplicationObjectId() {
        return Optional.ofNullable(this.arcApplicationObjectId);
    }

    /**
     * Tenant id of arc AAD identity.
     * 
     */
    @Import(name="arcApplicationTenantId")
    private @Nullable Output arcApplicationTenantId;

    /**
     * @return Tenant id of arc AAD identity.
     * 
     */
    public Optional> arcApplicationTenantId() {
        return Optional.ofNullable(this.arcApplicationTenantId);
    }

    /**
     * The resource group that hosts the Arc agents, ie. Hybrid Compute Machine resources.
     * 
     */
    @Import(name="arcInstanceResourceGroup")
    private @Nullable Output arcInstanceResourceGroup;

    /**
     * @return The resource group that hosts the Arc agents, ie. Hybrid Compute Machine resources.
     * 
     */
    public Optional> arcInstanceResourceGroup() {
        return Optional.ofNullable(this.arcInstanceResourceGroup);
    }

    /**
     * Object id of arc AAD service principal.
     * 
     */
    @Import(name="arcServicePrincipalObjectId")
    private @Nullable Output arcServicePrincipalObjectId;

    /**
     * @return Object id of arc AAD service principal.
     * 
     */
    public Optional> arcServicePrincipalObjectId() {
        return Optional.ofNullable(this.arcServicePrincipalObjectId);
    }

    /**
     * The name of the proxy resource holding details of HCI ArcSetting information.
     * 
     */
    @Import(name="arcSettingName")
    private @Nullable Output arcSettingName;

    /**
     * @return The name of the proxy resource holding details of HCI ArcSetting information.
     * 
     */
    public Optional> arcSettingName() {
        return Optional.ofNullable(this.arcSettingName);
    }

    /**
     * The name of the cluster.
     * 
     */
    @Import(name="clusterName", required=true)
    private Output clusterName;

    /**
     * @return The name of the cluster.
     * 
     */
    public Output clusterName() {
        return this.clusterName;
    }

    /**
     * contains connectivity related configuration for ARC resources
     * 
     */
    @Import(name="connectivityProperties")
    private @Nullable Output> connectivityProperties;

    /**
     * @return contains connectivity related configuration for ARC resources
     * 
     */
    public Optional>> connectivityProperties() {
        return Optional.ofNullable(this.connectivityProperties);
    }

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

    private ArcSettingArgs() {}

    private ArcSettingArgs(ArcSettingArgs $) {
        this.arcApplicationClientId = $.arcApplicationClientId;
        this.arcApplicationObjectId = $.arcApplicationObjectId;
        this.arcApplicationTenantId = $.arcApplicationTenantId;
        this.arcInstanceResourceGroup = $.arcInstanceResourceGroup;
        this.arcServicePrincipalObjectId = $.arcServicePrincipalObjectId;
        this.arcSettingName = $.arcSettingName;
        this.clusterName = $.clusterName;
        this.connectivityProperties = $.connectivityProperties;
        this.resourceGroupName = $.resourceGroupName;
    }

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

    public static final class Builder {
        private ArcSettingArgs $;

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

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

        /**
         * @param arcApplicationClientId App id of arc AAD identity.
         * 
         * @return builder
         * 
         */
        public Builder arcApplicationClientId(@Nullable Output arcApplicationClientId) {
            $.arcApplicationClientId = arcApplicationClientId;
            return this;
        }

        /**
         * @param arcApplicationClientId App id of arc AAD identity.
         * 
         * @return builder
         * 
         */
        public Builder arcApplicationClientId(String arcApplicationClientId) {
            return arcApplicationClientId(Output.of(arcApplicationClientId));
        }

        /**
         * @param arcApplicationObjectId Object id of arc AAD identity.
         * 
         * @return builder
         * 
         */
        public Builder arcApplicationObjectId(@Nullable Output arcApplicationObjectId) {
            $.arcApplicationObjectId = arcApplicationObjectId;
            return this;
        }

        /**
         * @param arcApplicationObjectId Object id of arc AAD identity.
         * 
         * @return builder
         * 
         */
        public Builder arcApplicationObjectId(String arcApplicationObjectId) {
            return arcApplicationObjectId(Output.of(arcApplicationObjectId));
        }

        /**
         * @param arcApplicationTenantId Tenant id of arc AAD identity.
         * 
         * @return builder
         * 
         */
        public Builder arcApplicationTenantId(@Nullable Output arcApplicationTenantId) {
            $.arcApplicationTenantId = arcApplicationTenantId;
            return this;
        }

        /**
         * @param arcApplicationTenantId Tenant id of arc AAD identity.
         * 
         * @return builder
         * 
         */
        public Builder arcApplicationTenantId(String arcApplicationTenantId) {
            return arcApplicationTenantId(Output.of(arcApplicationTenantId));
        }

        /**
         * @param arcInstanceResourceGroup The resource group that hosts the Arc agents, ie. Hybrid Compute Machine resources.
         * 
         * @return builder
         * 
         */
        public Builder arcInstanceResourceGroup(@Nullable Output arcInstanceResourceGroup) {
            $.arcInstanceResourceGroup = arcInstanceResourceGroup;
            return this;
        }

        /**
         * @param arcInstanceResourceGroup The resource group that hosts the Arc agents, ie. Hybrid Compute Machine resources.
         * 
         * @return builder
         * 
         */
        public Builder arcInstanceResourceGroup(String arcInstanceResourceGroup) {
            return arcInstanceResourceGroup(Output.of(arcInstanceResourceGroup));
        }

        /**
         * @param arcServicePrincipalObjectId Object id of arc AAD service principal.
         * 
         * @return builder
         * 
         */
        public Builder arcServicePrincipalObjectId(@Nullable Output arcServicePrincipalObjectId) {
            $.arcServicePrincipalObjectId = arcServicePrincipalObjectId;
            return this;
        }

        /**
         * @param arcServicePrincipalObjectId Object id of arc AAD service principal.
         * 
         * @return builder
         * 
         */
        public Builder arcServicePrincipalObjectId(String arcServicePrincipalObjectId) {
            return arcServicePrincipalObjectId(Output.of(arcServicePrincipalObjectId));
        }

        /**
         * @param arcSettingName The name of the proxy resource holding details of HCI ArcSetting information.
         * 
         * @return builder
         * 
         */
        public Builder arcSettingName(@Nullable Output arcSettingName) {
            $.arcSettingName = arcSettingName;
            return this;
        }

        /**
         * @param arcSettingName The name of the proxy resource holding details of HCI ArcSetting information.
         * 
         * @return builder
         * 
         */
        public Builder arcSettingName(String arcSettingName) {
            return arcSettingName(Output.of(arcSettingName));
        }

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

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

        /**
         * @param connectivityProperties contains connectivity related configuration for ARC resources
         * 
         * @return builder
         * 
         */
        public Builder connectivityProperties(@Nullable Output> connectivityProperties) {
            $.connectivityProperties = connectivityProperties;
            return this;
        }

        /**
         * @param connectivityProperties contains connectivity related configuration for ARC resources
         * 
         * @return builder
         * 
         */
        public Builder connectivityProperties(List connectivityProperties) {
            return connectivityProperties(Output.of(connectivityProperties));
        }

        /**
         * @param connectivityProperties contains connectivity related configuration for ARC resources
         * 
         * @return builder
         * 
         */
        public Builder connectivityProperties(ArcConnectivityPropertiesArgs... connectivityProperties) {
            return connectivityProperties(List.of(connectivityProperties));
        }

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

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy