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 Resource,InnerModelT extends 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>
GroupableResource.DefinitionStages
Resource.DefinitionWithRegion<T>, Resource.DefinitionWithTags<T>, 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.
|
ServiceFuture<FluentModelT> |
applyTagsAsync(ServiceCallback<FluentModelT> callback)
Execute the update request asynchronously.
|
protected abstract rx.Observable<InnerModelT> |
applyTagsToInnerAsync() |
String |
key() |
String |
toString() |
FluentModelImplT |
updateTags()
Begins a tags update for a resource.
|
afterCreating, beforeCreating, createInner, createResourceAsync, initializeChildrenFromInner
manager, resourceGroupName, resourceIdBase, withExistingResourceGroup, withExistingResourceGroup, withNewResourceGroup, withNewResourceGroup, withNewResourceGroup, withNewResourceGroup, withNewResourceGroup
id, innersFromWrappers, innersFromWrappers, isInCreateMode, name, region, regionName, tags, type, withoutTag, withRegion, withRegion, withTag, withTags
addDependency, addDependency, addDependency, addDependency, addeDependency, addPostRunDependent, addPostRunDependent, addPostRunDependent, addPostRunDependent, addPostRunDependent, afterPostRunAsync, apply, applyAsync, applyAsync, beforeGroupCreateOrUpdate, create, createAsync, createAsync, innerToFluentMap, isHot, taskGroup, taskResult, update, updateResourceAsync
getInnerAsync, inner, refresh, refreshAsync, setInner
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
withoutTag, withTag, withTags
region, regionName, tags, type
key
id
name
resourceGroupName
manager
protected 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 Resource>
public FluentModelT applyTags()
AppliableWithTags
applyTags
in interface AppliableWithTags<FluentModelT extends Resource>
protected abstract rx.Observable<InnerModelT> applyTagsToInnerAsync()
public rx.Observable<FluentModelT> applyTagsAsync()
AppliableWithTags
applyTagsAsync
in interface AppliableWithTags<FluentModelT extends Resource>
public ServiceFuture<FluentModelT> applyTagsAsync(ServiceCallback<FluentModelT> callback)
AppliableWithTags
applyTagsAsync
in interface AppliableWithTags<FluentModelT extends Resource>
callback
- the callback for success and failureCopyright © 2019. All rights reserved.