// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.deploymentmanager.models;

import com.azure.resourcemanager.deploymentmanager.fluent.models.RolloutInner;
import java.util.List;
import java.util.Map;

/** An immutable client-side representation of Rollout. */
public interface Rollout {
    /**
     * Gets the id property: Fully qualified resource Id for the resource.
     *
     * @return the id value.
     */
    String id();

    /**
     * Gets the name property: The name of the resource.
     *
     * @return the name value.
     */
    String name();

    /**
     * Gets the type property: The type of the resource.
     *
     * @return the type value.
     */
    String type();

    /**
     * Gets the location property: The geo-location where the resource lives.
     *
     * @return the location value.
     */
    String location();

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

    /**
     * Gets the identity property: Identity for the resource.
     *
     * @return the identity value.
     */
    Identity identity();

    /**
     * Gets the status property: The current status of the rollout.
     *
     * @return the status value.
     */
    String status();

    /**
     * Gets the totalRetryAttempts property: The cardinal count of total number of retries performed on the rollout at a
     * given time.
     *
     * @return the totalRetryAttempts value.
     */
    Integer totalRetryAttempts();

    /**
     * Gets the operationInfo property: Operational information of the rollout.
     *
     * @return the operationInfo value.
     */
    RolloutOperationInfo operationInfo();

    /**
     * Gets the services property: The detailed information on the services being deployed.
     *
     * @return the services value.
     */
    List<Service> services();

    /**
     * Gets the buildVersion property: The version of the build being deployed.
     *
     * @return the buildVersion value.
     */
    String buildVersion();

    /**
     * Gets the artifactSourceId property: The reference to the artifact source resource Id where the payload is
     * located.
     *
     * @return the artifactSourceId value.
     */
    String artifactSourceId();

    /**
     * Gets the targetServiceTopologyId property: The resource Id of the service topology from which service units are
     * being referenced in step groups to be deployed.
     *
     * @return the targetServiceTopologyId value.
     */
    String targetServiceTopologyId();

    /**
     * Gets the stepGroups property: The list of step groups that define the orchestration.
     *
     * @return the stepGroups value.
     */
    List<StepGroup> stepGroups();

    /**
     * Gets the inner com.azure.resourcemanager.deploymentmanager.fluent.models.RolloutInner object.
     *
     * @return the inner object.
     */
    RolloutInner innerModel();
}
