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

com.microsoft.azure.management.network.model.AppliableWithTags Maven / Gradle / Ivy

There is a newer version: 1.41.4
Show newest version
/**
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License. See License.txt in the project root for
 * license information.
 */

package com.microsoft.azure.management.network.model;

import com.microsoft.azure.management.apigeneration.LangDefinition;
import com.microsoft.azure.management.apigeneration.Method;
import com.microsoft.rest.ServiceFuture;
import com.microsoft.rest.ServiceCallback;
import rx.Observable;

/**
 * The base interface for all template interfaces that support update tags operations.
 *
 * @param  the type of the resource returned from the update.
 */
@LangDefinition
public interface AppliableWithTags extends UpdatableWithTags.UpdateWithTags {
    /**
     * Execute the update request.
     *
     * @return the updated resource
     */
    @Method
    T applyTags();

    /**
     * Execute the update request asynchronously.
     *
     * @return the handle to the REST call
     */
    @Method
    Observable applyTagsAsync();

    /**
     * Execute the update request asynchronously.
     *
     * @param callback the callback for success and failure
     * @return the handle to the REST call
     */
    ServiceFuture applyTagsAsync(ServiceCallback callback);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy