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

com.azure.resourcemanager.resources.models.DeploymentOperation Maven / Gradle / Ivy

// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

package com.azure.resourcemanager.resources.models;

import com.azure.core.annotation.Fluent;
import com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel;
import com.azure.resourcemanager.resources.fluentcore.model.Indexable;
import com.azure.resourcemanager.resources.fluentcore.model.Refreshable;
import com.azure.resourcemanager.resources.fluent.models.DeploymentOperationInner;

import java.time.OffsetDateTime;

/**
 * An immutable client-side representation of a deployment operation.
 */
@Fluent
public interface DeploymentOperation
    extends Indexable, Refreshable, HasInnerModel {

    /**
     * Gets the deployment operation id.
     *
     * @return the deployment operation id
     */
    String operationId();

    /**
     * Gets the state of the provisioning resource being deployed.
     *
     * @return the state of the provisioning resource being deployed
     */
    String provisioningState();

    /**
     * Gets the name of the current provisioning operation.
     *
     * @return the name of the current provisioning operation
     */
    ProvisioningOperation provisioningOperation();

    /**
     * Gets the date and time of the operation.
     *
     * @return the date and time of the operation
     */
    OffsetDateTime timestamp();

    /**
     * Gets the operation status code.
     *
     * @return the operation status code.
     */
    String statusCode();

    /**
     * Gets the operation status message.
     *
     * @return the operation status message
     */
    Object statusMessage();

    /**
     * Gets the target resource.
     *
     * @return the target resource
     */
    TargetResource targetResource();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy