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>

  • Type Parameters:
    FluentModelT - The fluent model type
    InnerModelT - Azure inner resource class type
    FluentModelImplT - the implementation type of the fluent model type
    ManagerT - 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 for GroupableResource that 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>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected String key  
      • Fields inherited from class com.microsoft.azure.management.resources.fluentcore.arm.models.implementation.GroupableResourceImpl

        creatableGroup, myManager
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method 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()  
      String key()  
      String toString()  
      FluentModelImplT updateTags()
      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 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
    • Field Detail

    • Constructor Detail

      • GroupableParentResourceWithTagsImpl

        protected GroupableParentResourceWithTagsImpl​(String name,
                                                      InnerModelT innerObject,
                                                      ManagerT manager)
    • Method Detail

      • updateTags

        public FluentModelImplT updateTags()
        Description copied from interface: UpdatableWithTags
        Begins 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:
        updateTags in interface UpdatableWithTags<FluentModelT extends com.microsoft.azure.management.resources.fluentcore.arm.models.Resource>
        Returns:
        the stage of new resource update
      • applyTagsToInnerAsync

        protected abstract rx.Observable<InnerModelT> applyTagsToInnerAsync()
      • applyTagsAsync

        public rx.Observable<FluentModelT> applyTagsAsync()
        Description copied from interface: AppliableWithTags
        Execute the update request asynchronously.
        Specified by:
        applyTagsAsync in interface AppliableWithTags<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: AppliableWithTags
        Execute the update request asynchronously.
        Specified by:
        applyTagsAsync in interface AppliableWithTags<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:
        key in interface com.microsoft.azure.management.resources.fluentcore.model.Indexable