All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.microsoft.azure.management.locks.ManagementLocks Maven / Gradle / Ivy

Go to download

This package contains Microsoft Locks Management SDK. This package has been deprecated. A replacement package com.azure.resourcemanager:azure-resourcemanager-resources is available as of 31-March-2022. We strongly encourage you to upgrade to continue receiving updates. See Migration Guide https://aka.ms/java-track2-migration-guide for guidance on upgrading. Refer to our deprecation policy https://azure.github.io/azure-sdk/policies_support.html for more details.

There is a newer version: 1.41.4
Show newest version
/**
 * 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.locks;

import com.microsoft.azure.PagedList;
import com.microsoft.azure.management.apigeneration.Beta;
import com.microsoft.azure.management.apigeneration.Beta.SinceVersion;
import com.microsoft.azure.management.apigeneration.Fluent;
import com.microsoft.azure.management.locks.implementation.AuthorizationManager;
import com.microsoft.azure.management.locks.implementation.ManagementLocksInner;
import com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsBatchDeletion;
import com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsDeletingByResourceGroup;
import com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsGettingByResourceGroup;
import com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsGettingById;
import com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsListingByResourceGroup;
import com.microsoft.azure.management.resources.fluentcore.arm.models.HasManager;
import com.microsoft.azure.management.resources.fluentcore.collection.SupportsBatchCreation;
import com.microsoft.azure.management.resources.fluentcore.collection.SupportsCreating;
import com.microsoft.azure.management.resources.fluentcore.collection.SupportsDeletingById;
import com.microsoft.azure.management.resources.fluentcore.collection.SupportsListing;
import com.microsoft.azure.management.resources.fluentcore.model.HasInner;

import rx.Observable;

/**
 * Entry point to management lock management.
 */
@Fluent()
@Beta(SinceVersion.V1_4_0)
public interface ManagementLocks extends
    SupportsListing,
    SupportsCreating,
    SupportsDeletingById,
    SupportsListingByResourceGroup,
    SupportsGettingByResourceGroup,
    SupportsGettingById,
    SupportsDeletingByResourceGroup,
    SupportsBatchCreation,
    SupportsBatchDeletion,
    HasManager,
    HasInner {

    /**
     * Lists management locks associated with the specified resource, its resource group and any resources below the resource.
     *
     * @param resourceId the resource ID of the resource
     * @return management locks
     */
    PagedList listForResource(String resourceId);

    /**
     * Lists management locks associated with the specified resource, its resource group, and any level below the resource.
     *
     * @param resourceId the resource Id of the resource
     * @return management locks
     */
    Observable listForResourceAsync(String resourceId);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy