public interface SecurityRuleOperations
| Modifier and Type | Method and Description |
|---|---|
SecurityRulePutResponse |
beginCreateOrUpdating(String resourceGroupName,
String networkSecurityGroupName,
String securityRuleName,
SecurityRule securityRuleParameters)
The Put network security rule operation creates/updates a security rule
in the specified network security group
|
Future<SecurityRulePutResponse> |
beginCreateOrUpdatingAsync(String resourceGroupName,
String networkSecurityGroupName,
String securityRuleName,
SecurityRule securityRuleParameters)
The Put network security rule operation creates/updates a security rule
in the specified network security group
|
UpdateOperationResponse |
beginDeleting(String resourceGroupName,
String networkSecurityGroupName,
String securityRuleName)
The delete network security rule operation deletes the specified network
security rule.
|
Future<UpdateOperationResponse> |
beginDeletingAsync(String resourceGroupName,
String networkSecurityGroupName,
String securityRuleName)
The delete network security rule operation deletes the specified network
security rule.
|
AzureAsyncOperationResponse |
createOrUpdate(String resourceGroupName,
String networkSecurityGroupName,
String securityRuleName,
SecurityRule securityRuleParameters)
The Put network security rule operation creates/updates a security rule
in the specified network security group
|
Future<AzureAsyncOperationResponse> |
createOrUpdateAsync(String resourceGroupName,
String networkSecurityGroupName,
String securityRuleName,
SecurityRule securityRuleParameters)
The Put network security rule operation creates/updates a security rule
in the specified network security group
|
OperationResponse |
delete(String resourceGroupName,
String networkSecurityGroupName,
String securityRuleName)
The delete network security rule operation deletes the specified network
security rule.
|
Future<OperationResponse> |
deleteAsync(String resourceGroupName,
String networkSecurityGroupName,
String securityRuleName)
The delete network security rule operation deletes the specified network
security rule.
|
SecurityRuleGetResponse |
get(String resourceGroupName,
String networkSecurityGroupName,
String securityRuleName)
The Get NetworkSecurityRule operation retreives information about the
specified network security rule.
|
Future<SecurityRuleGetResponse> |
getAsync(String resourceGroupName,
String networkSecurityGroupName,
String securityRuleName)
The Get NetworkSecurityRule operation retreives information about the
specified network security rule.
|
SecurityRuleListResponse |
list(String resourceGroupName,
String networkSecurityGroupName)
The List network security rule opertion retrieves all the security rules
in a network security group.
|
Future<SecurityRuleListResponse> |
listAsync(String resourceGroupName,
String networkSecurityGroupName)
The List network security rule opertion retrieves all the security rules
in a network security group.
|
SecurityRulePutResponse beginCreateOrUpdating(String resourceGroupName, String networkSecurityGroupName, String securityRuleName, SecurityRule securityRuleParameters) throws IOException, ServiceException
resourceGroupName - Required. The name of the resource group.networkSecurityGroupName - Required. The name of the network
security group.securityRuleName - Required. The name of the security rule.securityRuleParameters - Required. Parameters supplied to the
create/update network security rule operationIOException - 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<SecurityRulePutResponse> beginCreateOrUpdatingAsync(String resourceGroupName, String networkSecurityGroupName, String securityRuleName, SecurityRule securityRuleParameters)
resourceGroupName - Required. The name of the resource group.networkSecurityGroupName - Required. The name of the network
security group.securityRuleName - Required. The name of the security rule.securityRuleParameters - Required. Parameters supplied to the
create/update network security rule operationUpdateOperationResponse beginDeleting(String resourceGroupName, String networkSecurityGroupName, String securityRuleName) throws IOException, ServiceException
resourceGroupName - Required. The name of the resource group.networkSecurityGroupName - Required. The name of the network
security group.securityRuleName - Required. The name of the security rule.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<UpdateOperationResponse> beginDeletingAsync(String resourceGroupName, String networkSecurityGroupName, String securityRuleName)
resourceGroupName - Required. The name of the resource group.networkSecurityGroupName - Required. The name of the network
security group.securityRuleName - Required. The name of the security rule.AzureAsyncOperationResponse createOrUpdate(String resourceGroupName, String networkSecurityGroupName, String securityRuleName, SecurityRule securityRuleParameters) throws InterruptedException, ExecutionException, IOException
resourceGroupName - Required. The name of the resource group.networkSecurityGroupName - Required. The name of the network
security group.securityRuleName - Required. The name of the security rule.securityRuleParameters - Required. Parameters supplied to the
create/update network security rule operationInterruptedException - Thrown when a thread is waiting, sleeping,
or otherwise occupied, and the thread is interrupted, either before or
during the activity. Occasionally a method may wish to test whether the
current thread has been interrupted, and if so, to immediately throw
this exception. The following code can be used to achieve this effect:ExecutionException - Thrown when attempting to retrieve the result
of a task that aborted by throwing an exception. This exception can be
inspected using the Throwable.getCause() method.IOException - Thrown if there was an error setting up tracing for
the request.Future<AzureAsyncOperationResponse> createOrUpdateAsync(String resourceGroupName, String networkSecurityGroupName, String securityRuleName, SecurityRule securityRuleParameters)
resourceGroupName - Required. The name of the resource group.networkSecurityGroupName - Required. The name of the network
security group.securityRuleName - Required. The name of the security rule.securityRuleParameters - Required. Parameters supplied to the
create/update network security rule operationOperationResponse delete(String resourceGroupName, String networkSecurityGroupName, String securityRuleName) throws InterruptedException, ExecutionException, IOException
resourceGroupName - Required. The name of the resource group.networkSecurityGroupName - Required. The name of the network
security group.securityRuleName - Required. The name of the security rule.InterruptedException - Thrown when a thread is waiting, sleeping,
or otherwise occupied, and the thread is interrupted, either before or
during the activity. Occasionally a method may wish to test whether the
current thread has been interrupted, and if so, to immediately throw
this exception. The following code can be used to achieve this effect:ExecutionException - Thrown when attempting to retrieve the result
of a task that aborted by throwing an exception. This exception can be
inspected using the Throwable.getCause() method.IOException - Thrown if there was an error setting up tracing for
the request.Future<OperationResponse> deleteAsync(String resourceGroupName, String networkSecurityGroupName, String securityRuleName)
resourceGroupName - Required. The name of the resource group.networkSecurityGroupName - Required. The name of the network
security group.securityRuleName - Required. The name of the security rule.SecurityRuleGetResponse get(String resourceGroupName, String networkSecurityGroupName, String securityRuleName) throws IOException, ServiceException
resourceGroupName - Required. The name of the resource group.networkSecurityGroupName - Required. The name of the network
security group.securityRuleName - Required. The name of the security rule.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<SecurityRuleGetResponse> getAsync(String resourceGroupName, String networkSecurityGroupName, String securityRuleName)
resourceGroupName - Required. The name of the resource group.networkSecurityGroupName - Required. The name of the network
security group.securityRuleName - Required. The name of the security rule.SecurityRuleListResponse list(String resourceGroupName, String networkSecurityGroupName) throws IOException, ServiceException
resourceGroupName - Required. The name of the resource group.networkSecurityGroupName - Required. The name of the network
security 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<SecurityRuleListResponse> listAsync(String resourceGroupName, String networkSecurityGroupName)
resourceGroupName - Required. The name of the resource group.networkSecurityGroupName - Required. The name of the network
security group./**
* 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.
*/