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

com.pulumi.azure.machinelearning.inputs.ComputeInstanceState 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.machinelearning.inputs;

import com.pulumi.azure.machinelearning.inputs.ComputeInstanceAssignToUserArgs;
import com.pulumi.azure.machinelearning.inputs.ComputeInstanceIdentityArgs;
import com.pulumi.azure.machinelearning.inputs.ComputeInstanceSshArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Boolean;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final ComputeInstanceState Empty = new ComputeInstanceState();

    /**
     * A `assign_to_user` block as defined below. A user explicitly assigned to a personal compute instance. Changing this forces a new Machine Learning Compute Instance to be created.
     * 
     */
    @Import(name="assignToUser")
    private @Nullable Output assignToUser;

    /**
     * @return A `assign_to_user` block as defined below. A user explicitly assigned to a personal compute instance. Changing this forces a new Machine Learning Compute Instance to be created.
     * 
     */
    public Optional> assignToUser() {
        return Optional.ofNullable(this.assignToUser);
    }

    /**
     * The Compute Instance Authorization type. Possible values include: `personal`. Changing this forces a new Machine Learning Compute Instance to be created.
     * 
     */
    @Import(name="authorizationType")
    private @Nullable Output authorizationType;

    /**
     * @return The Compute Instance Authorization type. Possible values include: `personal`. Changing this forces a new Machine Learning Compute Instance to be created.
     * 
     */
    public Optional> authorizationType() {
        return Optional.ofNullable(this.authorizationType);
    }

    /**
     * The description of the Machine Learning Compute Instance. Changing this forces a new Machine Learning Compute Instance to be created.
     * 
     */
    @Import(name="description")
    private @Nullable Output description;

    /**
     * @return The description of the Machine Learning Compute Instance. Changing this forces a new Machine Learning Compute Instance to be created.
     * 
     */
    public Optional> description() {
        return Optional.ofNullable(this.description);
    }

    /**
     * An `identity` block as defined below. Changing this forces a new Machine Learning Compute Instance to be created.
     * 
     */
    @Import(name="identity")
    private @Nullable Output identity;

    /**
     * @return An `identity` block as defined below. Changing this forces a new Machine Learning Compute Instance to be created.
     * 
     */
    public Optional> identity() {
        return Optional.ofNullable(this.identity);
    }

    /**
     * Whether local authentication methods is enabled. Defaults to `true`. Changing this forces a new Machine Learning Compute Instance to be created.
     * 
     */
    @Import(name="localAuthEnabled")
    private @Nullable Output localAuthEnabled;

    /**
     * @return Whether local authentication methods is enabled. Defaults to `true`. Changing this forces a new Machine Learning Compute Instance to be created.
     * 
     */
    public Optional> localAuthEnabled() {
        return Optional.ofNullable(this.localAuthEnabled);
    }

    /**
     * The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning Compute Instance to be created.
     * 
     */
    @Import(name="machineLearningWorkspaceId")
    private @Nullable Output machineLearningWorkspaceId;

    /**
     * @return The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning Compute Instance to be created.
     * 
     */
    public Optional> machineLearningWorkspaceId() {
        return Optional.ofNullable(this.machineLearningWorkspaceId);
    }

    /**
     * The name which should be used for this Machine Learning Compute Instance. Changing this forces a new Machine Learning Compute Instance to be created.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return The name which should be used for this Machine Learning Compute Instance. Changing this forces a new Machine Learning Compute Instance to be created.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * Whether the compute instance will have a public ip. To set this to false a `subnet_resource_id` needs to be set. Defaults to `true`. Changing this forces a new Machine Learning Compute Cluster to be created.
     * 
     */
    @Import(name="nodePublicIpEnabled")
    private @Nullable Output nodePublicIpEnabled;

    /**
     * @return Whether the compute instance will have a public ip. To set this to false a `subnet_resource_id` needs to be set. Defaults to `true`. Changing this forces a new Machine Learning Compute Cluster to be created.
     * 
     */
    public Optional> nodePublicIpEnabled() {
        return Optional.ofNullable(this.nodePublicIpEnabled);
    }

    /**
     * A `ssh` block as defined below. Specifies policy and settings for SSH access. Changing this forces a new Machine Learning Compute Instance to be created.
     * 
     */
    @Import(name="ssh")
    private @Nullable Output ssh;

    /**
     * @return A `ssh` block as defined below. Specifies policy and settings for SSH access. Changing this forces a new Machine Learning Compute Instance to be created.
     * 
     */
    public Optional> ssh() {
        return Optional.ofNullable(this.ssh);
    }

    /**
     * Virtual network subnet resource ID the compute nodes belong to. Changing this forces a new Machine Learning Compute Instance to be created.
     * 
     */
    @Import(name="subnetResourceId")
    private @Nullable Output subnetResourceId;

    /**
     * @return Virtual network subnet resource ID the compute nodes belong to. Changing this forces a new Machine Learning Compute Instance to be created.
     * 
     */
    public Optional> subnetResourceId() {
        return Optional.ofNullable(this.subnetResourceId);
    }

    /**
     * A mapping of tags which should be assigned to the Machine Learning Compute Instance. Changing this forces a new Machine Learning Compute Instance to be created.
     * 
     */
    @Import(name="tags")
    private @Nullable Output> tags;

    /**
     * @return A mapping of tags which should be assigned to the Machine Learning Compute Instance. Changing this forces a new Machine Learning Compute Instance to be created.
     * 
     */
    public Optional>> tags() {
        return Optional.ofNullable(this.tags);
    }

    /**
     * The Virtual Machine Size. Changing this forces a new Machine Learning Compute Instance to be created.
     * 
     */
    @Import(name="virtualMachineSize")
    private @Nullable Output virtualMachineSize;

    /**
     * @return The Virtual Machine Size. Changing this forces a new Machine Learning Compute Instance to be created.
     * 
     */
    public Optional> virtualMachineSize() {
        return Optional.ofNullable(this.virtualMachineSize);
    }

    private ComputeInstanceState() {}

    private ComputeInstanceState(ComputeInstanceState $) {
        this.assignToUser = $.assignToUser;
        this.authorizationType = $.authorizationType;
        this.description = $.description;
        this.identity = $.identity;
        this.localAuthEnabled = $.localAuthEnabled;
        this.machineLearningWorkspaceId = $.machineLearningWorkspaceId;
        this.name = $.name;
        this.nodePublicIpEnabled = $.nodePublicIpEnabled;
        this.ssh = $.ssh;
        this.subnetResourceId = $.subnetResourceId;
        this.tags = $.tags;
        this.virtualMachineSize = $.virtualMachineSize;
    }

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

    public static final class Builder {
        private ComputeInstanceState $;

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

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

        /**
         * @param assignToUser A `assign_to_user` block as defined below. A user explicitly assigned to a personal compute instance. Changing this forces a new Machine Learning Compute Instance to be created.
         * 
         * @return builder
         * 
         */
        public Builder assignToUser(@Nullable Output assignToUser) {
            $.assignToUser = assignToUser;
            return this;
        }

        /**
         * @param assignToUser A `assign_to_user` block as defined below. A user explicitly assigned to a personal compute instance. Changing this forces a new Machine Learning Compute Instance to be created.
         * 
         * @return builder
         * 
         */
        public Builder assignToUser(ComputeInstanceAssignToUserArgs assignToUser) {
            return assignToUser(Output.of(assignToUser));
        }

        /**
         * @param authorizationType The Compute Instance Authorization type. Possible values include: `personal`. Changing this forces a new Machine Learning Compute Instance to be created.
         * 
         * @return builder
         * 
         */
        public Builder authorizationType(@Nullable Output authorizationType) {
            $.authorizationType = authorizationType;
            return this;
        }

        /**
         * @param authorizationType The Compute Instance Authorization type. Possible values include: `personal`. Changing this forces a new Machine Learning Compute Instance to be created.
         * 
         * @return builder
         * 
         */
        public Builder authorizationType(String authorizationType) {
            return authorizationType(Output.of(authorizationType));
        }

        /**
         * @param description The description of the Machine Learning Compute Instance. Changing this forces a new Machine Learning Compute Instance to be created.
         * 
         * @return builder
         * 
         */
        public Builder description(@Nullable Output description) {
            $.description = description;
            return this;
        }

        /**
         * @param description The description of the Machine Learning Compute Instance. Changing this forces a new Machine Learning Compute Instance to be created.
         * 
         * @return builder
         * 
         */
        public Builder description(String description) {
            return description(Output.of(description));
        }

        /**
         * @param identity An `identity` block as defined below. Changing this forces a new Machine Learning Compute Instance to be created.
         * 
         * @return builder
         * 
         */
        public Builder identity(@Nullable Output identity) {
            $.identity = identity;
            return this;
        }

        /**
         * @param identity An `identity` block as defined below. Changing this forces a new Machine Learning Compute Instance to be created.
         * 
         * @return builder
         * 
         */
        public Builder identity(ComputeInstanceIdentityArgs identity) {
            return identity(Output.of(identity));
        }

        /**
         * @param localAuthEnabled Whether local authentication methods is enabled. Defaults to `true`. Changing this forces a new Machine Learning Compute Instance to be created.
         * 
         * @return builder
         * 
         */
        public Builder localAuthEnabled(@Nullable Output localAuthEnabled) {
            $.localAuthEnabled = localAuthEnabled;
            return this;
        }

        /**
         * @param localAuthEnabled Whether local authentication methods is enabled. Defaults to `true`. Changing this forces a new Machine Learning Compute Instance to be created.
         * 
         * @return builder
         * 
         */
        public Builder localAuthEnabled(Boolean localAuthEnabled) {
            return localAuthEnabled(Output.of(localAuthEnabled));
        }

        /**
         * @param machineLearningWorkspaceId The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning Compute Instance to be created.
         * 
         * @return builder
         * 
         */
        public Builder machineLearningWorkspaceId(@Nullable Output machineLearningWorkspaceId) {
            $.machineLearningWorkspaceId = machineLearningWorkspaceId;
            return this;
        }

        /**
         * @param machineLearningWorkspaceId The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning Compute Instance to be created.
         * 
         * @return builder
         * 
         */
        public Builder machineLearningWorkspaceId(String machineLearningWorkspaceId) {
            return machineLearningWorkspaceId(Output.of(machineLearningWorkspaceId));
        }

        /**
         * @param name The name which should be used for this Machine Learning Compute Instance. Changing this forces a new Machine Learning Compute Instance to be created.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name The name which should be used for this Machine Learning Compute Instance. Changing this forces a new Machine Learning Compute Instance to be created.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param nodePublicIpEnabled Whether the compute instance will have a public ip. To set this to false a `subnet_resource_id` needs to be set. Defaults to `true`. Changing this forces a new Machine Learning Compute Cluster to be created.
         * 
         * @return builder
         * 
         */
        public Builder nodePublicIpEnabled(@Nullable Output nodePublicIpEnabled) {
            $.nodePublicIpEnabled = nodePublicIpEnabled;
            return this;
        }

        /**
         * @param nodePublicIpEnabled Whether the compute instance will have a public ip. To set this to false a `subnet_resource_id` needs to be set. Defaults to `true`. Changing this forces a new Machine Learning Compute Cluster to be created.
         * 
         * @return builder
         * 
         */
        public Builder nodePublicIpEnabled(Boolean nodePublicIpEnabled) {
            return nodePublicIpEnabled(Output.of(nodePublicIpEnabled));
        }

        /**
         * @param ssh A `ssh` block as defined below. Specifies policy and settings for SSH access. Changing this forces a new Machine Learning Compute Instance to be created.
         * 
         * @return builder
         * 
         */
        public Builder ssh(@Nullable Output ssh) {
            $.ssh = ssh;
            return this;
        }

        /**
         * @param ssh A `ssh` block as defined below. Specifies policy and settings for SSH access. Changing this forces a new Machine Learning Compute Instance to be created.
         * 
         * @return builder
         * 
         */
        public Builder ssh(ComputeInstanceSshArgs ssh) {
            return ssh(Output.of(ssh));
        }

        /**
         * @param subnetResourceId Virtual network subnet resource ID the compute nodes belong to. Changing this forces a new Machine Learning Compute Instance to be created.
         * 
         * @return builder
         * 
         */
        public Builder subnetResourceId(@Nullable Output subnetResourceId) {
            $.subnetResourceId = subnetResourceId;
            return this;
        }

        /**
         * @param subnetResourceId Virtual network subnet resource ID the compute nodes belong to. Changing this forces a new Machine Learning Compute Instance to be created.
         * 
         * @return builder
         * 
         */
        public Builder subnetResourceId(String subnetResourceId) {
            return subnetResourceId(Output.of(subnetResourceId));
        }

        /**
         * @param tags A mapping of tags which should be assigned to the Machine Learning Compute Instance. Changing this forces a new Machine Learning Compute Instance to be created.
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Output> tags) {
            $.tags = tags;
            return this;
        }

        /**
         * @param tags A mapping of tags which should be assigned to the Machine Learning Compute Instance. Changing this forces a new Machine Learning Compute Instance to be created.
         * 
         * @return builder
         * 
         */
        public Builder tags(Map tags) {
            return tags(Output.of(tags));
        }

        /**
         * @param virtualMachineSize The Virtual Machine Size. Changing this forces a new Machine Learning Compute Instance to be created.
         * 
         * @return builder
         * 
         */
        public Builder virtualMachineSize(@Nullable Output virtualMachineSize) {
            $.virtualMachineSize = virtualMachineSize;
            return this;
        }

        /**
         * @param virtualMachineSize The Virtual Machine Size. Changing this forces a new Machine Learning Compute Instance to be created.
         * 
         * @return builder
         * 
         */
        public Builder virtualMachineSize(String virtualMachineSize) {
            return virtualMachineSize(Output.of(virtualMachineSize));
        }

        public ComputeInstanceState build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy