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

com.pulumi.azure.automation.inputs.AccountState 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.automation.inputs;

import com.pulumi.azure.automation.inputs.AccountEncryptionArgs;
import com.pulumi.azure.automation.inputs.AccountIdentityArgs;
import com.pulumi.azure.automation.inputs.AccountPrivateEndpointConnectionArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Boolean;
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 AccountState extends com.pulumi.resources.ResourceArgs {

    public static final AccountState Empty = new AccountState();

    /**
     * The Primary Access Key for the DSC Endpoint associated with this Automation Account.
     * 
     */
    @Import(name="dscPrimaryAccessKey")
    private @Nullable Output dscPrimaryAccessKey;

    /**
     * @return The Primary Access Key for the DSC Endpoint associated with this Automation Account.
     * 
     */
    public Optional> dscPrimaryAccessKey() {
        return Optional.ofNullable(this.dscPrimaryAccessKey);
    }

    /**
     * The Secondary Access Key for the DSC Endpoint associated with this Automation Account.
     * 
     */
    @Import(name="dscSecondaryAccessKey")
    private @Nullable Output dscSecondaryAccessKey;

    /**
     * @return The Secondary Access Key for the DSC Endpoint associated with this Automation Account.
     * 
     */
    public Optional> dscSecondaryAccessKey() {
        return Optional.ofNullable(this.dscSecondaryAccessKey);
    }

    /**
     * The DSC Server Endpoint associated with this Automation Account.
     * 
     */
    @Import(name="dscServerEndpoint")
    private @Nullable Output dscServerEndpoint;

    /**
     * @return The DSC Server Endpoint associated with this Automation Account.
     * 
     */
    public Optional> dscServerEndpoint() {
        return Optional.ofNullable(this.dscServerEndpoint);
    }

    @Import(name="encryptions")
    private @Nullable Output> encryptions;

    public Optional>> encryptions() {
        return Optional.ofNullable(this.encryptions);
    }

    /**
     * The URL of automation hybrid service which is used for hybrid worker on-boarding With this Automation Account.
     * 
     */
    @Import(name="hybridServiceUrl")
    private @Nullable Output hybridServiceUrl;

    /**
     * @return The URL of automation hybrid service which is used for hybrid worker on-boarding With this Automation Account.
     * 
     */
    public Optional> hybridServiceUrl() {
        return Optional.ofNullable(this.hybridServiceUrl);
    }

    /**
     * An `identity` block as defined below.
     * 
     */
    @Import(name="identity")
    private @Nullable Output identity;

    /**
     * @return An `identity` block as defined below.
     * 
     */
    public Optional> identity() {
        return Optional.ofNullable(this.identity);
    }

    /**
     * Whether requests using non-AAD authentication are blocked. Defaults to `true`.
     * 
     */
    @Import(name="localAuthenticationEnabled")
    private @Nullable Output localAuthenticationEnabled;

    /**
     * @return Whether requests using non-AAD authentication are blocked. Defaults to `true`.
     * 
     */
    public Optional> localAuthenticationEnabled() {
        return Optional.ofNullable(this.localAuthenticationEnabled);
    }

    /**
     * Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="location")
    private @Nullable Output location;

    /**
     * @return Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
     * 
     */
    public Optional> location() {
        return Optional.ofNullable(this.location);
    }

    /**
     * Specifies the name of the Automation Account. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return Specifies the name of the Automation Account. Changing this forces a new resource to be created.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    @Import(name="privateEndpointConnections")
    private @Nullable Output> privateEndpointConnections;

    public Optional>> privateEndpointConnections() {
        return Optional.ofNullable(this.privateEndpointConnections);
    }

    /**
     * Whether public network access is allowed for the automation account. Defaults to `true`.
     * 
     */
    @Import(name="publicNetworkAccessEnabled")
    private @Nullable Output publicNetworkAccessEnabled;

    /**
     * @return Whether public network access is allowed for the automation account. Defaults to `true`.
     * 
     */
    public Optional> publicNetworkAccessEnabled() {
        return Optional.ofNullable(this.publicNetworkAccessEnabled);
    }

    /**
     * The name of the resource group in which the Automation Account is created. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="resourceGroupName")
    private @Nullable Output resourceGroupName;

    /**
     * @return The name of the resource group in which the Automation Account is created. Changing this forces a new resource to be created.
     * 
     */
    public Optional> resourceGroupName() {
        return Optional.ofNullable(this.resourceGroupName);
    }

    /**
     * The SKU of the account. Possible values are `Basic` and `Free`.
     * 
     */
    @Import(name="skuName")
    private @Nullable Output skuName;

    /**
     * @return The SKU of the account. Possible values are `Basic` and `Free`.
     * 
     */
    public Optional> skuName() {
        return Optional.ofNullable(this.skuName);
    }

    @Import(name="tags")
    private @Nullable Output> tags;

    public Optional>> tags() {
        return Optional.ofNullable(this.tags);
    }

    private AccountState() {}

    private AccountState(AccountState $) {
        this.dscPrimaryAccessKey = $.dscPrimaryAccessKey;
        this.dscSecondaryAccessKey = $.dscSecondaryAccessKey;
        this.dscServerEndpoint = $.dscServerEndpoint;
        this.encryptions = $.encryptions;
        this.hybridServiceUrl = $.hybridServiceUrl;
        this.identity = $.identity;
        this.localAuthenticationEnabled = $.localAuthenticationEnabled;
        this.location = $.location;
        this.name = $.name;
        this.privateEndpointConnections = $.privateEndpointConnections;
        this.publicNetworkAccessEnabled = $.publicNetworkAccessEnabled;
        this.resourceGroupName = $.resourceGroupName;
        this.skuName = $.skuName;
        this.tags = $.tags;
    }

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

    public static final class Builder {
        private AccountState $;

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

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

        /**
         * @param dscPrimaryAccessKey The Primary Access Key for the DSC Endpoint associated with this Automation Account.
         * 
         * @return builder
         * 
         */
        public Builder dscPrimaryAccessKey(@Nullable Output dscPrimaryAccessKey) {
            $.dscPrimaryAccessKey = dscPrimaryAccessKey;
            return this;
        }

        /**
         * @param dscPrimaryAccessKey The Primary Access Key for the DSC Endpoint associated with this Automation Account.
         * 
         * @return builder
         * 
         */
        public Builder dscPrimaryAccessKey(String dscPrimaryAccessKey) {
            return dscPrimaryAccessKey(Output.of(dscPrimaryAccessKey));
        }

        /**
         * @param dscSecondaryAccessKey The Secondary Access Key for the DSC Endpoint associated with this Automation Account.
         * 
         * @return builder
         * 
         */
        public Builder dscSecondaryAccessKey(@Nullable Output dscSecondaryAccessKey) {
            $.dscSecondaryAccessKey = dscSecondaryAccessKey;
            return this;
        }

        /**
         * @param dscSecondaryAccessKey The Secondary Access Key for the DSC Endpoint associated with this Automation Account.
         * 
         * @return builder
         * 
         */
        public Builder dscSecondaryAccessKey(String dscSecondaryAccessKey) {
            return dscSecondaryAccessKey(Output.of(dscSecondaryAccessKey));
        }

        /**
         * @param dscServerEndpoint The DSC Server Endpoint associated with this Automation Account.
         * 
         * @return builder
         * 
         */
        public Builder dscServerEndpoint(@Nullable Output dscServerEndpoint) {
            $.dscServerEndpoint = dscServerEndpoint;
            return this;
        }

        /**
         * @param dscServerEndpoint The DSC Server Endpoint associated with this Automation Account.
         * 
         * @return builder
         * 
         */
        public Builder dscServerEndpoint(String dscServerEndpoint) {
            return dscServerEndpoint(Output.of(dscServerEndpoint));
        }

        public Builder encryptions(@Nullable Output> encryptions) {
            $.encryptions = encryptions;
            return this;
        }

        public Builder encryptions(List encryptions) {
            return encryptions(Output.of(encryptions));
        }

        public Builder encryptions(AccountEncryptionArgs... encryptions) {
            return encryptions(List.of(encryptions));
        }

        /**
         * @param hybridServiceUrl The URL of automation hybrid service which is used for hybrid worker on-boarding With this Automation Account.
         * 
         * @return builder
         * 
         */
        public Builder hybridServiceUrl(@Nullable Output hybridServiceUrl) {
            $.hybridServiceUrl = hybridServiceUrl;
            return this;
        }

        /**
         * @param hybridServiceUrl The URL of automation hybrid service which is used for hybrid worker on-boarding With this Automation Account.
         * 
         * @return builder
         * 
         */
        public Builder hybridServiceUrl(String hybridServiceUrl) {
            return hybridServiceUrl(Output.of(hybridServiceUrl));
        }

        /**
         * @param identity An `identity` block as defined below.
         * 
         * @return builder
         * 
         */
        public Builder identity(@Nullable Output identity) {
            $.identity = identity;
            return this;
        }

        /**
         * @param identity An `identity` block as defined below.
         * 
         * @return builder
         * 
         */
        public Builder identity(AccountIdentityArgs identity) {
            return identity(Output.of(identity));
        }

        /**
         * @param localAuthenticationEnabled Whether requests using non-AAD authentication are blocked. Defaults to `true`.
         * 
         * @return builder
         * 
         */
        public Builder localAuthenticationEnabled(@Nullable Output localAuthenticationEnabled) {
            $.localAuthenticationEnabled = localAuthenticationEnabled;
            return this;
        }

        /**
         * @param localAuthenticationEnabled Whether requests using non-AAD authentication are blocked. Defaults to `true`.
         * 
         * @return builder
         * 
         */
        public Builder localAuthenticationEnabled(Boolean localAuthenticationEnabled) {
            return localAuthenticationEnabled(Output.of(localAuthenticationEnabled));
        }

        /**
         * @param location Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder location(@Nullable Output location) {
            $.location = location;
            return this;
        }

        /**
         * @param location Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder location(String location) {
            return location(Output.of(location));
        }

        /**
         * @param name Specifies the name of the Automation Account. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name Specifies the name of the Automation Account. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        public Builder privateEndpointConnections(@Nullable Output> privateEndpointConnections) {
            $.privateEndpointConnections = privateEndpointConnections;
            return this;
        }

        public Builder privateEndpointConnections(List privateEndpointConnections) {
            return privateEndpointConnections(Output.of(privateEndpointConnections));
        }

        public Builder privateEndpointConnections(AccountPrivateEndpointConnectionArgs... privateEndpointConnections) {
            return privateEndpointConnections(List.of(privateEndpointConnections));
        }

        /**
         * @param publicNetworkAccessEnabled Whether public network access is allowed for the automation account. Defaults to `true`.
         * 
         * @return builder
         * 
         */
        public Builder publicNetworkAccessEnabled(@Nullable Output publicNetworkAccessEnabled) {
            $.publicNetworkAccessEnabled = publicNetworkAccessEnabled;
            return this;
        }

        /**
         * @param publicNetworkAccessEnabled Whether public network access is allowed for the automation account. Defaults to `true`.
         * 
         * @return builder
         * 
         */
        public Builder publicNetworkAccessEnabled(Boolean publicNetworkAccessEnabled) {
            return publicNetworkAccessEnabled(Output.of(publicNetworkAccessEnabled));
        }

        /**
         * @param resourceGroupName The name of the resource group in which the Automation Account is created. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(@Nullable Output resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param resourceGroupName The name of the resource group in which the Automation Account is created. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            return resourceGroupName(Output.of(resourceGroupName));
        }

        /**
         * @param skuName The SKU of the account. Possible values are `Basic` and `Free`.
         * 
         * @return builder
         * 
         */
        public Builder skuName(@Nullable Output skuName) {
            $.skuName = skuName;
            return this;
        }

        /**
         * @param skuName The SKU of the account. Possible values are `Basic` and `Free`.
         * 
         * @return builder
         * 
         */
        public Builder skuName(String skuName) {
            return skuName(Output.of(skuName));
        }

        public Builder tags(@Nullable Output> tags) {
            $.tags = tags;
            return this;
        }

        public Builder tags(Map tags) {
            return tags(Output.of(tags));
        }

        public AccountState build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy