public interface ManagementLockOperations
| Modifier and Type | Method and Description |
|---|---|
ManagementLockReturnResult |
createOrUpdateAtResourceGroupLevel(String resourceGroupName,
String lockName,
ManagementLockProperties parameters)
Create or update a management lock at the resource group level.
|
Future<ManagementLockReturnResult> |
createOrUpdateAtResourceGroupLevelAsync(String resourceGroupName,
String lockName,
ManagementLockProperties parameters)
Create or update a management lock at the resource group level.
|
ManagementLockReturnResult |
createOrUpdateAtResourceLevel(String resourceGroupName,
ResourceIdentity identity,
String lockName,
ManagementLockProperties parameters)
Create or update a management lock at the resource level or any level
below resource.
|
Future<ManagementLockReturnResult> |
createOrUpdateAtResourceLevelAsync(String resourceGroupName,
ResourceIdentity identity,
String lockName,
ManagementLockProperties parameters)
Create or update a management lock at the resource level or any level
below resource.
|
ManagementLockReturnResult |
createOrUpdateAtSubscriptionLevel(String lockName,
ManagementLockProperties parameters)
Create or update a management lock at the subscription level.
|
Future<ManagementLockReturnResult> |
createOrUpdateAtSubscriptionLevelAsync(String lockName,
ManagementLockProperties parameters)
Create or update a management lock at the subscription level.
|
OperationResponse |
deleteAtResourceGroupLevel(String resourceGroup,
String lockName)
Deletes the management lock of a resource group.
|
Future<OperationResponse> |
deleteAtResourceGroupLevelAsync(String resourceGroup,
String lockName)
Deletes the management lock of a resource group.
|
OperationResponse |
deleteAtResourceLevel(String resourceGroupName,
ResourceIdentity identity,
String lockName)
Deletes the management lock of a resource or any level below resource.
|
Future<OperationResponse> |
deleteAtResourceLevelAsync(String resourceGroupName,
ResourceIdentity identity,
String lockName)
Deletes the management lock of a resource or any level below resource.
|
OperationResponse |
deleteAtSubscriptionLevel(String lockName)
Deletes the management lock of a subscription.
|
Future<OperationResponse> |
deleteAtSubscriptionLevelAsync(String lockName)
Deletes the management lock of a subscription.
|
ManagementLockReturnResult |
get(String lockName)
Gets the management lock of a scope.
|
Future<ManagementLockReturnResult> |
getAsync(String lockName)
Gets the management lock of a scope.
|
ManagementLockListResult |
listAtResourceGroupLevel(String resourceGroupName,
ManagementLockGetQueryParameter parameters)
Gets all the management locks of a resource group.
|
Future<ManagementLockListResult> |
listAtResourceGroupLevelAsync(String resourceGroupName,
ManagementLockGetQueryParameter parameters)
Gets all the management locks of a resource group.
|
ManagementLockListResult |
listAtResourceLevel(String resourceGroupName,
ResourceIdentity identity,
ManagementLockGetQueryParameter parameters)
Gets all the management locks of a resource or any level below resource.
|
Future<ManagementLockListResult> |
listAtResourceLevelAsync(String resourceGroupName,
ResourceIdentity identity,
ManagementLockGetQueryParameter parameters)
Gets all the management locks of a resource or any level below resource.
|
ManagementLockListResult |
listAtSubscriptionLevel(ManagementLockGetQueryParameter parameters)
Gets all the management locks of a subscription.
|
Future<ManagementLockListResult> |
listAtSubscriptionLevelAsync(ManagementLockGetQueryParameter parameters)
Gets all the management locks of a subscription.
|
ManagementLockListResult |
listNext(String nextLink)
Get a list of management locks at resource level or below.
|
Future<ManagementLockListResult> |
listNextAsync(String nextLink)
Get a list of management locks at resource level or below.
|
ManagementLockReturnResult createOrUpdateAtResourceGroupLevel(String resourceGroupName, String lockName, ManagementLockProperties parameters) throws IOException, ServiceException
resourceGroupName - Required. The resource group name.lockName - Required. The lock name.parameters - Required. The management lock parameters.IOException - Signals that an I/O exception of some sort has
occurred. This class is the general class of exceptions produced by
failed or interrupted I/O operations.ServiceException - Thrown if an unexpected response is found.Future<ManagementLockReturnResult> createOrUpdateAtResourceGroupLevelAsync(String resourceGroupName, String lockName, ManagementLockProperties parameters)
resourceGroupName - Required. The resource group name.lockName - Required. The lock name.parameters - Required. The management lock parameters.ManagementLockReturnResult createOrUpdateAtResourceLevel(String resourceGroupName, ResourceIdentity identity, String lockName, ManagementLockProperties parameters) throws IOException, ServiceException
resourceGroupName - Required. The name of the resource group.identity - Required. Resource identity.lockName - Required. The name of lock.parameters - Required. Create or update management lock parameters.IOException - Signals that an I/O exception of some sort has
occurred. This class is the general class of exceptions produced by
failed or interrupted I/O operations.ServiceException - Thrown if an unexpected response is found.Future<ManagementLockReturnResult> createOrUpdateAtResourceLevelAsync(String resourceGroupName, ResourceIdentity identity, String lockName, ManagementLockProperties parameters)
resourceGroupName - Required. The name of the resource group.identity - Required. Resource identity.lockName - Required. The name of lock.parameters - Required. Create or update management lock parameters.ManagementLockReturnResult createOrUpdateAtSubscriptionLevel(String lockName, ManagementLockProperties parameters) throws IOException, ServiceException
lockName - Required. The name of lock.parameters - Required. The management lock parameters.IOException - Signals that an I/O exception of some sort has
occurred. This class is the general class of exceptions produced by
failed or interrupted I/O operations.ServiceException - Thrown if an unexpected response is found.Future<ManagementLockReturnResult> createOrUpdateAtSubscriptionLevelAsync(String lockName, ManagementLockProperties parameters)
lockName - Required. The name of lock.parameters - Required. The management lock parameters.OperationResponse deleteAtResourceGroupLevel(String resourceGroup, String lockName) throws IOException, ServiceException
resourceGroup - Required. The resource group names.lockName - Required. The name of lock.IOException - Signals that an I/O exception of some sort has
occurred. This class is the general class of exceptions produced by
failed or interrupted I/O operations.ServiceException - Thrown if an unexpected response is found.Future<OperationResponse> deleteAtResourceGroupLevelAsync(String resourceGroup, String lockName)
resourceGroup - Required. The resource group names.lockName - Required. The name of lock.OperationResponse deleteAtResourceLevel(String resourceGroupName, ResourceIdentity identity, String lockName) throws IOException, ServiceException
resourceGroupName - Required. The name of the resource group.identity - Required. Resource identity.lockName - Required. The name of lock.IOException - Signals that an I/O exception of some sort has
occurred. This class is the general class of exceptions produced by
failed or interrupted I/O operations.ServiceException - Thrown if an unexpected response is found.Future<OperationResponse> deleteAtResourceLevelAsync(String resourceGroupName, ResourceIdentity identity, String lockName)
resourceGroupName - Required. The name of the resource group.identity - Required. Resource identity.lockName - Required. The name of lock.OperationResponse deleteAtSubscriptionLevel(String lockName) throws IOException, ServiceException
lockName - Required. The name of lock.IOException - Signals that an I/O exception of some sort has
occurred. This class is the general class of exceptions produced by
failed or interrupted I/O operations.ServiceException - Thrown if an unexpected response is found.Future<OperationResponse> deleteAtSubscriptionLevelAsync(String lockName)
lockName - Required. The name of lock.ManagementLockReturnResult get(String lockName) throws IOException, ServiceException
lockName - Required. Name of the management lock.IOException - Signals that an I/O exception of some sort has
occurred. This class is the general class of exceptions produced by
failed or interrupted I/O operations.ServiceException - Thrown if an unexpected response is found.Future<ManagementLockReturnResult> getAsync(String lockName)
lockName - Required. Name of the management lock.ManagementLockListResult listAtResourceGroupLevel(String resourceGroupName, ManagementLockGetQueryParameter parameters) throws IOException, ServiceException
resourceGroupName - Required. Resource group name.parameters - Optional. Query parameters. If empty is passed returns
all locks at, above or below the resource group.IOException - Signals that an I/O exception of some sort has
occurred. This class is the general class of exceptions produced by
failed or interrupted I/O operations.ServiceException - Thrown if an unexpected response is found.Future<ManagementLockListResult> listAtResourceGroupLevelAsync(String resourceGroupName, ManagementLockGetQueryParameter parameters)
resourceGroupName - Required. Resource group name.parameters - Optional. Query parameters. If empty is passed returns
all locks at, above or below the resource group.ManagementLockListResult listAtResourceLevel(String resourceGroupName, ResourceIdentity identity, ManagementLockGetQueryParameter parameters) throws IOException, ServiceException
resourceGroupName - Required. The name of the resource group. The
name is case insensitive.identity - Required. Resource identity.parameters - Optional. Query parameters. If empty is passed returns
all locks at or below the resource.If atScope() is passed returns all
locks at the resource level.IOException - Signals that an I/O exception of some sort has
occurred. This class is the general class of exceptions produced by
failed or interrupted I/O operations.ServiceException - Thrown if an unexpected response is found.Future<ManagementLockListResult> listAtResourceLevelAsync(String resourceGroupName, ResourceIdentity identity, ManagementLockGetQueryParameter parameters)
resourceGroupName - Required. The name of the resource group. The
name is case insensitive.identity - Required. Resource identity.parameters - Optional. Query parameters. If empty is passed returns
all locks at or below the resource.If atScope() is passed returns all
locks at the resource level.ManagementLockListResult listAtSubscriptionLevel(ManagementLockGetQueryParameter parameters) throws IOException, ServiceException
parameters - Optional. Query parameters. If empty is passed returns
all locks at, above or below the subscription.IOException - Signals that an I/O exception of some sort has
occurred. This class is the general class of exceptions produced by
failed or interrupted I/O operations.ServiceException - Thrown if an unexpected response is found.Future<ManagementLockListResult> listAtSubscriptionLevelAsync(ManagementLockGetQueryParameter parameters)
parameters - Optional. Query parameters. If empty is passed returns
all locks at, above or below the subscription.ManagementLockListResult listNext(String nextLink) throws IOException, ServiceException
nextLink - Required. NextLink from the previous successful call to
List operation.IOException - Signals that an I/O exception of some sort has
occurred. This class is the general class of exceptions produced by
failed or interrupted I/O operations.ServiceException - Thrown if an unexpected response is found.Future<ManagementLockListResult> listNextAsync(String nextLink)
nextLink - Required. NextLink from the previous successful call to
List operation./**
* Copyright Microsoft Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/