Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information.
/** * 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.resources.fluentcore.model; import com.microsoft.azure.management.apigeneration.LangDefinition; import com.microsoft.azure.management.apigeneration.Method;
Base class for resource that can be updated.
Type parameters:
  • <T> – the fluent type of the resource
/** * Base class for resource that can be updated. * * @param <T> the fluent type of the resource */
@LangDefinition(ContainerName = "ResourceActions") public interface Updatable<T> {
Begins an update for a new resource.

This is the beginning of the builder pattern used to update top level resources in Azure. The final method completing the definition and starting the actual resource creation process in Azure is Appliable.apply().

Returns:the stage of new resource update
/** * Begins an update for a new resource. * <p> * This is the beginning of the builder pattern used to update top level resources * in Azure. The final method completing the definition and starting the actual resource creation * process in Azure is {@link Appliable#apply()}. * * @return the stage of new resource update */
@Method T update(); }