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>
- java.lang.Object
-
- com.microsoft.azure.management.resources.fluentcore.model.implementation.IndexableRefreshableImpl<FluentModelT>
-
- com.microsoft.azure.management.resources.fluentcore.model.implementation.IndexableRefreshableWrapperImpl<FluentModelT,InnerModelT>
-
- com.microsoft.azure.management.resources.fluentcore.model.implementation.CreatableUpdatableImpl<FluentModelT,InnerModelT,FluentModelImplT>
-
- com.microsoft.azure.management.resources.fluentcore.arm.models.implementation.ResourceImpl<FluentModelT,InnerModelT,FluentModelImplT>
-
- com.microsoft.azure.management.resources.fluentcore.arm.models.implementation.GroupableResourceImpl<FluentModelT,InnerModelT,FluentModelImplT,ManagerT>
-
- com.microsoft.azure.management.resources.fluentcore.arm.models.implementation.GroupableParentResourceImpl<FluentModelT,InnerModelT,FluentModelImplT,ManagerT>
-
- com.microsoft.azure.management.network.model.GroupableParentResourceWithTagsImpl<FluentModelT,InnerModelT,FluentModelImplT,ManagerT>
-
- Type Parameters:
FluentModelT- The fluent model typeInnerModelT- Azure inner resource class typeFluentModelImplT- the implementation type of the fluent model typeManagerT- the service manager type
- All Implemented Interfaces:
AppliableWithTags<FluentModelT>,UpdatableWithTags<FluentModelT>,UpdatableWithTags.UpdateWithTags<FluentModelT>,com.microsoft.azure.management.resources.fluentcore.arm.models.GroupableResource<ManagerT,InnerModelT>,com.microsoft.azure.management.resources.fluentcore.arm.models.HasId,com.microsoft.azure.management.resources.fluentcore.arm.models.HasManager<ManagerT>,com.microsoft.azure.management.resources.fluentcore.arm.models.HasName,com.microsoft.azure.management.resources.fluentcore.arm.models.HasResourceGroup,com.microsoft.azure.management.resources.fluentcore.arm.models.Resource,com.microsoft.azure.management.resources.fluentcore.dag.TaskGroup.HasTaskGroup,com.microsoft.azure.management.resources.fluentcore.model.Appliable<FluentModelT>,com.microsoft.azure.management.resources.fluentcore.model.Creatable<FluentModelT>,com.microsoft.azure.management.resources.fluentcore.model.HasInner<InnerModelT>,com.microsoft.azure.management.resources.fluentcore.model.implementation.CreateUpdateTask.ResourceCreatorUpdater<FluentModelT>,com.microsoft.azure.management.resources.fluentcore.model.Indexable,com.microsoft.azure.management.resources.fluentcore.model.Refreshable<FluentModelT>
public 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>
The implementation forGroupableResourcethat can update tags as a separate operation.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.GroupableResource
com.microsoft.azure.management.resources.fluentcore.arm.models.GroupableResource.DefinitionStages
-
Nested classes/interfaces inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.Resource
com.microsoft.azure.management.resources.fluentcore.arm.models.Resource.DefinitionWithRegion<T extends Object>, com.microsoft.azure.management.resources.fluentcore.arm.models.Resource.DefinitionWithTags<T extends Object>, com.microsoft.azure.management.resources.fluentcore.arm.models.Resource.UpdateWithTags<T extends Object>
-
Nested classes/interfaces inherited from interface com.microsoft.azure.management.network.model.UpdatableWithTags
UpdatableWithTags.UpdateWithTags<T>
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedGroupableParentResourceWithTagsImpl(String name, InnerModelT innerObject, ManagerT manager)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description FluentModelTapplyTags()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()Stringkey()StringtoString()FluentModelImplTupdateTags()Begins a tags update for a resource.-
Methods inherited from class com.microsoft.azure.management.resources.fluentcore.arm.models.implementation.GroupableParentResourceImpl
afterCreating, beforeCreating, createInner, createResourceAsync, initializeChildrenFromInner
-
Methods inherited from class com.microsoft.azure.management.resources.fluentcore.arm.models.implementation.GroupableResourceImpl
manager, resourceGroupName, resourceIdBase, withExistingResourceGroup, withExistingResourceGroup, withNewResourceGroup, withNewResourceGroup, withNewResourceGroup, withNewResourceGroup, withNewResourceGroup
-
Methods inherited from class com.microsoft.azure.management.resources.fluentcore.arm.models.implementation.ResourceImpl
id, innersFromWrappers, innersFromWrappers, isInCreateMode, name, region, regionName, tags, type, withoutTag, withRegion, withRegion, withTag, withTags
-
Methods inherited from class com.microsoft.azure.management.resources.fluentcore.model.implementation.CreatableUpdatableImpl
addDependency, addDependency, addDependency, addDependency, addeDependency, addPostRunDependent, addPostRunDependent, addPostRunDependent, addPostRunDependent, addPostRunDependent, afterPostRunAsync, apply, applyAsync, applyAsync, beforeGroupCreateOrUpdate, create, createAsync, createAsync, innerToFluentMap, isHot, taskGroup, taskResult, update, updateResourceAsync
-
Methods inherited from class com.microsoft.azure.management.resources.fluentcore.model.implementation.IndexableRefreshableWrapperImpl
getInnerAsync, inner, refresh, refreshAsync, setInner
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.HasId
id
-
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.HasInner
inner
-
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.HasManager
manager
-
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.HasName
name
-
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.HasResourceGroup
resourceGroupName
-
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.Indexable
key
-
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.Resource
region, regionName, tags, type
-
Methods inherited from interface com.microsoft.azure.management.network.model.UpdatableWithTags.UpdateWithTags
withoutTag, withTag, withTags
-
-
-
-
Field Detail
-
key
protected String key
-
-
Constructor Detail
-
GroupableParentResourceWithTagsImpl
protected GroupableParentResourceWithTagsImpl(String name, InnerModelT innerObject, ManagerT manager)
-
-
Method Detail
-
updateTags
public FluentModelImplT updateTags()
Description copied from interface:UpdatableWithTagsBegins a tags update for a resource.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().- Specified by:
updateTagsin interfaceUpdatableWithTags<FluentModelT extends com.microsoft.azure.management.resources.fluentcore.arm.models.Resource>- Returns:
- the stage of new resource update
-
applyTags
public FluentModelT applyTags()
Description copied from interface:AppliableWithTagsExecute the update request.- Specified by:
applyTagsin interfaceAppliableWithTags<FluentModelT extends com.microsoft.azure.management.resources.fluentcore.arm.models.Resource>- Returns:
- the updated resource
-
applyTagsToInnerAsync
protected abstract rx.Observable<InnerModelT> applyTagsToInnerAsync()
-
applyTagsAsync
public rx.Observable<FluentModelT> applyTagsAsync()
Description copied from interface:AppliableWithTagsExecute the update request asynchronously.- Specified by:
applyTagsAsyncin interfaceAppliableWithTags<FluentModelT extends com.microsoft.azure.management.resources.fluentcore.arm.models.Resource>- Returns:
- the handle to the REST call
-
applyTagsAsync
public com.microsoft.rest.ServiceFuture<FluentModelT> applyTagsAsync(com.microsoft.rest.ServiceCallback<FluentModelT> callback)
Description copied from interface:AppliableWithTagsExecute the update request asynchronously.- Specified by:
applyTagsAsyncin interfaceAppliableWithTags<FluentModelT extends com.microsoft.azure.management.resources.fluentcore.arm.models.Resource>- Parameters:
callback- the callback for success and failure- Returns:
- the handle to the REST call
-
key
public String key()
- Specified by:
keyin interfacecom.microsoft.azure.management.resources.fluentcore.model.Indexable
-
-