com.microsoft.azure.management.network.model.AppliableWithTags Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-mgmt-network Show documentation
Show all versions of azure-mgmt-network Show documentation
This package contains Microsoft Azure Network Management SDK.
/**
* 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);
}