/**
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License. See License.txt in the project root for
 * license information.
 *
 * Code generated by Microsoft (R) AutoRest Code Generator.
 */

package com.microsoft.azure.management.automation.v2015_10_31;

import com.microsoft.azure.arm.model.HasInner;
import com.microsoft.azure.management.automation.v2015_10_31.implementation.DscConfigurationInner;
import com.microsoft.azure.arm.model.Indexable;
import com.microsoft.azure.arm.model.Refreshable;
import com.microsoft.azure.arm.model.Updatable;
import com.microsoft.azure.arm.model.Appliable;
import com.microsoft.azure.arm.model.Creatable;
import com.microsoft.azure.arm.resources.models.HasManager;
import com.microsoft.azure.management.automation.v2015_10_31.implementation.AutomationManager;
import java.util.Map;
import org.joda.time.DateTime;

/**
 * Type representing DscConfiguration.
 */
public interface DscConfiguration extends HasInner<DscConfigurationInner>, Indexable, Refreshable<DscConfiguration>, Updatable<DscConfiguration.Update>, HasManager<AutomationManager> {
    /**
     * @return the creationTime value.
     */
    DateTime creationTime();

    /**
     * @return the description value.
     */
    String description();

    /**
     * @return the etag value.
     */
    String etag();

    /**
     * @return the id value.
     */
    String id();

    /**
     * @return the jobCount value.
     */
    Integer jobCount();

    /**
     * @return the lastModifiedTime value.
     */
    DateTime lastModifiedTime();

    /**
     * @return the location value.
     */
    String location();

    /**
     * @return the logVerbose value.
     */
    Boolean logVerbose();

    /**
     * @return the name value.
     */
    String name();

    /**
     * @return the nodeConfigurationCount value.
     */
    int nodeConfigurationCount();

    /**
     * @return the parameters value.
     */
    Map<String, DscConfigurationParameter> parameters();

    /**
     * @return the provisioningState value.
     */
    DscConfigurationProvisioningState provisioningState();

    /**
     * @return the source value.
     */
    ContentSource source();

    /**
     * @return the state value.
     */
    DscConfigurationState state();

    /**
     * @return the tags value.
     */
    Map<String, String> tags();

    /**
     * @return the type value.
     */
    String type();

    /**
     * The entirety of the DscConfiguration definition.
     */
    interface Definition extends DefinitionStages.Blank, DefinitionStages.WithAutomationAccount, DefinitionStages.WithSource, DefinitionStages.WithCreate {
    }

    /**
     * Grouping of DscConfiguration definition stages.
     */
    interface DefinitionStages {
        /**
         * The first stage of a DscConfiguration definition.
         */
        interface Blank extends WithAutomationAccount {
        }

        /**
         * The stage of the dscconfiguration definition allowing to specify AutomationAccount.
         */
        interface WithAutomationAccount {
           /**
            * Specifies resourceGroupName, automationAccountName.
            */
            WithSource withExistingAutomationAccount(String resourceGroupName, String automationAccountName);
        }

        /**
         * The stage of the dscconfiguration definition allowing to specify Source.
         */
        interface WithSource {
           /**
            * Specifies source.
            */
            WithCreate withSource(ContentSource source);
        }

        /**
         * The stage of the dscconfiguration definition allowing to specify Description.
         */
        interface WithDescription {
            /**
             * Specifies description.
             */
            WithCreate withDescription(String description);
        }

        /**
         * The stage of the dscconfiguration definition allowing to specify Location.
         */
        interface WithLocation {
            /**
             * Specifies location.
             */
            WithCreate withLocation(String location);
        }

        /**
         * The stage of the dscconfiguration definition allowing to specify LogProgress.
         */
        interface WithLogProgress {
            /**
             * Specifies logProgress.
             */
            WithCreate withLogProgress(Boolean logProgress);
        }

        /**
         * The stage of the dscconfiguration definition allowing to specify LogVerbose.
         */
        interface WithLogVerbose {
            /**
             * Specifies logVerbose.
             */
            WithCreate withLogVerbose(Boolean logVerbose);
        }

        /**
         * The stage of the dscconfiguration definition allowing to specify Name.
         */
        interface WithName {
            /**
             * Specifies name.
             */
            WithCreate withName(String name);
        }

        /**
         * The stage of the dscconfiguration definition allowing to specify Parameters.
         */
        interface WithParameters {
            /**
             * Specifies parameters.
             */
            WithCreate withParameters(Map<String, DscConfigurationParameter> parameters);
        }

        /**
         * The stage of the dscconfiguration definition allowing to specify Tags.
         */
        interface WithTags {
            /**
             * Specifies tags.
             */
            WithCreate withTags(Map<String, String> tags);
        }

        /**
         * The stage of the definition which contains all the minimum required inputs for
         * the resource to be created (via {@link WithCreate#create()}), but also allows
         * for any other optional settings to be specified.
         */
        interface WithCreate extends Creatable<DscConfiguration>, DefinitionStages.WithDescription, DefinitionStages.WithLocation, DefinitionStages.WithLogProgress, DefinitionStages.WithLogVerbose, DefinitionStages.WithName, DefinitionStages.WithParameters, DefinitionStages.WithTags {
        }
    }
    /**
     * The template for a DscConfiguration update operation, containing all the settings that can be modified.
     */
    interface Update extends Appliable<DscConfiguration>, UpdateStages.WithDescription, UpdateStages.WithLogProgress, UpdateStages.WithLogVerbose, UpdateStages.WithName, UpdateStages.WithParameters, UpdateStages.WithTags {
    }

    /**
     * Grouping of DscConfiguration update stages.
     */
    interface UpdateStages {
        /**
         * The stage of the dscconfiguration update allowing to specify Description.
         */
        interface WithDescription {
            /**
             * Specifies description.
             */
            Update withDescription(String description);
        }

        /**
         * The stage of the dscconfiguration update allowing to specify LogProgress.
         */
        interface WithLogProgress {
            /**
             * Specifies logProgress.
             */
            Update withLogProgress(Boolean logProgress);
        }

        /**
         * The stage of the dscconfiguration update allowing to specify LogVerbose.
         */
        interface WithLogVerbose {
            /**
             * Specifies logVerbose.
             */
            Update withLogVerbose(Boolean logVerbose);
        }

        /**
         * The stage of the dscconfiguration update allowing to specify Name.
         */
        interface WithName {
            /**
             * Specifies name.
             */
            Update withName(String name);
        }

        /**
         * The stage of the dscconfiguration update allowing to specify Parameters.
         */
        interface WithParameters {
            /**
             * Specifies parameters.
             */
            Update withParameters(Map<String, DscConfigurationParameter> parameters);
        }

        /**
         * The stage of the dscconfiguration update allowing to specify Tags.
         */
        interface WithTags {
            /**
             * Specifies tags.
             */
            Update withTags(Map<String, String> tags);
        }

    }
}
