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

com.pulumi.azure.arcmachine.inputs.AutomanageConfigurationAssignmentState 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.azure.arcmachine.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final AutomanageConfigurationAssignmentState Empty = new AutomanageConfigurationAssignmentState();

    /**
     * The ARM resource ID of the Arc Machine to assign the Automanage Configuration to. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="arcMachineId")
    private @Nullable Output arcMachineId;

    /**
     * @return The ARM resource ID of the Arc Machine to assign the Automanage Configuration to. Changing this forces a new resource to be created.
     * 
     */
    public Optional> arcMachineId() {
        return Optional.ofNullable(this.arcMachineId);
    }

    /**
     * The ARM resource ID of the Automanage Configuration to assign to the Virtual Machine. Changing this forces a new resource to be created.
     * 
     * > **NOTE:** For a successful creation of this resource, locate "Automanage API Access" app within your Entra ID tenant. Make sure it's granted access to the scope that includes the arc server.
     * 
     */
    @Import(name="configurationId")
    private @Nullable Output configurationId;

    /**
     * @return The ARM resource ID of the Automanage Configuration to assign to the Virtual Machine. Changing this forces a new resource to be created.
     * 
     * > **NOTE:** For a successful creation of this resource, locate "Automanage API Access" app within your Entra ID tenant. Make sure it's granted access to the scope that includes the arc server.
     * 
     */
    public Optional> configurationId() {
        return Optional.ofNullable(this.configurationId);
    }

    private AutomanageConfigurationAssignmentState() {}

    private AutomanageConfigurationAssignmentState(AutomanageConfigurationAssignmentState $) {
        this.arcMachineId = $.arcMachineId;
        this.configurationId = $.configurationId;
    }

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

    public static final class Builder {
        private AutomanageConfigurationAssignmentState $;

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

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

        /**
         * @param arcMachineId The ARM resource ID of the Arc Machine to assign the Automanage Configuration to. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder arcMachineId(@Nullable Output arcMachineId) {
            $.arcMachineId = arcMachineId;
            return this;
        }

        /**
         * @param arcMachineId The ARM resource ID of the Arc Machine to assign the Automanage Configuration to. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder arcMachineId(String arcMachineId) {
            return arcMachineId(Output.of(arcMachineId));
        }

        /**
         * @param configurationId The ARM resource ID of the Automanage Configuration to assign to the Virtual Machine. Changing this forces a new resource to be created.
         * 
         * > **NOTE:** For a successful creation of this resource, locate "Automanage API Access" app within your Entra ID tenant. Make sure it's granted access to the scope that includes the arc server.
         * 
         * @return builder
         * 
         */
        public Builder configurationId(@Nullable Output configurationId) {
            $.configurationId = configurationId;
            return this;
        }

        /**
         * @param configurationId The ARM resource ID of the Automanage Configuration to assign to the Virtual Machine. Changing this forces a new resource to be created.
         * 
         * > **NOTE:** For a successful creation of this resource, locate "Automanage API Access" app within your Entra ID tenant. Make sure it's granted access to the scope that includes the arc server.
         * 
         * @return builder
         * 
         */
        public Builder configurationId(String configurationId) {
            return configurationId(Output.of(configurationId));
        }

        public AutomanageConfigurationAssignmentState build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy