FluentModelT - The fluent model typeInnerModelT - Azure inner resource class typeFluentModelImplT - the implementation type of the fluent model typeManagerT - the service manager typepublic abstract class GroupableParentResourceWithTagsImpl<FluentModelT extends com.microsoft.azure.management.resources.fluentcore.arm.models.Resource,InnerModelT extends com.microsoft.azure.Resource,FluentModelImplT extends GroupableParentResourceWithTagsImpl<FluentModelT,InnerModelT,FluentModelImplT,ManagerT>,ManagerT extends com.microsoft.azure.management.resources.fluentcore.arm.implementation.ManagerBase> extends com.microsoft.azure.management.resources.fluentcore.arm.models.implementation.GroupableParentResourceImpl<FluentModelT,InnerModelT,FluentModelImplT,ManagerT> implements UpdatableWithTags<FluentModelT>, AppliableWithTags<FluentModelT>
GroupableResource that can update tags as a separate operation.UpdatableWithTags.UpdateWithTags<T>com.microsoft.azure.management.resources.fluentcore.arm.models.GroupableResource.DefinitionStagescom.microsoft.azure.management.resources.fluentcore.arm.models.Resource.DefinitionWithRegion<T>, com.microsoft.azure.management.resources.fluentcore.arm.models.Resource.DefinitionWithTags<T>, com.microsoft.azure.management.resources.fluentcore.arm.models.Resource.UpdateWithTags<T>| Modifier | Constructor and Description |
|---|---|
protected |
GroupableParentResourceWithTagsImpl(String name,
InnerModelT innerObject,
ManagerT manager) |
| Modifier and Type | Method and Description |
|---|---|
FluentModelT |
applyTags()
Execute the update request.
|
rx.Observable<FluentModelT> |
applyTagsAsync()
Execute the update request asynchronously.
|
com.microsoft.rest.ServiceFuture<FluentModelT> |
applyTagsAsync(com.microsoft.rest.ServiceCallback<FluentModelT> callback)
Execute the update request asynchronously.
|
protected abstract rx.Observable<InnerModelT> |
applyTagsToInnerAsync() |
FluentModelImplT |
updateTags()
Begins a tags update for a resource.
|
afterCreating, beforeCreating, createInner, createResourceAsync, initializeChildrenFromInnermanager, resourceGroupName, resourceIdBase, withExistingResourceGroup, withExistingResourceGroup, withNewResourceGroup, withNewResourceGroup, withNewResourceGroup, withNewResourceGroup, withNewResourceGroupid, innersFromWrappers, innersFromWrappers, isInCreateMode, name, region, regionName, tags, type, withoutTag, withRegion, withRegion, withTag, withTagsaddDependency, addDependency, addDependency, addDependency, addeDependency, addPostRunDependent, addPostRunDependent, addPostRunDependent, addPostRunDependent, addPostRunDependent, afterPostRunAsync, apply, applyAsync, applyAsync, beforeGroupCreateOrUpdate, create, createAsync, createAsync, innerToFluentMap, isHot, taskGroup, taskResult, update, updateResourceAsyncgetInnerAsync, inner, refresh, refreshAsync, setInnerclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitwithoutTag, withTag, withTagsregion, regionName, tags, typekeyidnameresourceGroupNameprotected String key
protected GroupableParentResourceWithTagsImpl(String name, InnerModelT innerObject, ManagerT manager)
public FluentModelImplT updateTags()
UpdatableWithTags
This is the beginning of the builder pattern used to update tags for a resources
in Azure. The final method completing the definition and starting the actual resource update
process in Azure is AppliableWithTags.applyTags().
updateTags in interface UpdatableWithTags<FluentModelT extends com.microsoft.azure.management.resources.fluentcore.arm.models.Resource>public FluentModelT applyTags()
AppliableWithTagsapplyTags in interface AppliableWithTags<FluentModelT extends com.microsoft.azure.management.resources.fluentcore.arm.models.Resource>protected abstract rx.Observable<InnerModelT> applyTagsToInnerAsync()
public rx.Observable<FluentModelT> applyTagsAsync()
AppliableWithTagsapplyTagsAsync in interface AppliableWithTags<FluentModelT extends com.microsoft.azure.management.resources.fluentcore.arm.models.Resource>public com.microsoft.rest.ServiceFuture<FluentModelT> applyTagsAsync(com.microsoft.rest.ServiceCallback<FluentModelT> callback)
AppliableWithTagsapplyTagsAsync in interface AppliableWithTags<FluentModelT extends com.microsoft.azure.management.resources.fluentcore.arm.models.Resource>callback - the callback for success and failure/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/