public class VirtualNetworkGatewayOperationsImpl extends Object implements ServiceOperations<NetworkResourceProviderClientImpl>, VirtualNetworkGatewayOperations
| Modifier and Type | Method and Description |
|---|---|
VirtualNetworkGatewayPutResponse |
beginCreateOrUpdating(String resourceGroupName,
String virtualNetworkGatewayName,
VirtualNetworkGateway parameters)
The Put VirtualNetworkGateway operation creates/updates a virtual network
gateway in the specified resource group through Network resource
provider.
|
Future<VirtualNetworkGatewayPutResponse> |
beginCreateOrUpdatingAsync(String resourceGroupName,
String virtualNetworkGatewayName,
VirtualNetworkGateway parameters)
The Put VirtualNetworkGateway operation creates/updates a virtual network
gateway in the specified resource group through Network resource
provider.
|
UpdateOperationResponse |
beginDeleting(String resourceGroupName,
String virtualNetworkGatewayName)
The Delete VirtualNetworkGateway operation deletes the specifed virtual
network Gateway through Network resource provider.
|
Future<UpdateOperationResponse> |
beginDeletingAsync(String resourceGroupName,
String virtualNetworkGatewayName)
The Delete VirtualNetworkGateway operation deletes the specifed virtual
network Gateway through Network resource provider.
|
VirtualNetworkGatewayPutResponse |
beginReset(String resourceGroupName,
String virtualNetworkGatewayName,
VirtualNetworkGateway parameters)
The Reset VirtualNetworkGateway operation resets the primary of the
virtual network gatewayin the specified resource group through Network
resource provider.
|
Future<VirtualNetworkGatewayPutResponse> |
beginResetAsync(String resourceGroupName,
String virtualNetworkGatewayName,
VirtualNetworkGateway parameters)
The Reset VirtualNetworkGateway operation resets the primary of the
virtual network gatewayin the specified resource group through Network
resource provider.
|
AzureAsyncOperationResponse |
createOrUpdate(String resourceGroupName,
String virtualNetworkGatewayName,
VirtualNetworkGateway parameters)
The Put VirtualNetworkGateway operation creates/updates a virtual network
gateway in the specified resource group through Network resource
provider.
|
Future<AzureAsyncOperationResponse> |
createOrUpdateAsync(String resourceGroupName,
String virtualNetworkGatewayName,
VirtualNetworkGateway parameters)
The Put VirtualNetworkGateway operation creates/updates a virtual network
gateway in the specified resource group through Network resource
provider.
|
OperationResponse |
delete(String resourceGroupName,
String virtualNetworkGatewayName)
The Delete VirtualNetworkGateway operation deletes the specifed virtual
network Gateway through Network resource provider.
|
Future<OperationResponse> |
deleteAsync(String resourceGroupName,
String virtualNetworkGatewayName)
The Delete VirtualNetworkGateway operation deletes the specifed virtual
network Gateway through Network resource provider.
|
VirtualNetworkGatewayGetResponse |
get(String resourceGroupName,
String virtualNetworkGatewayName)
The Get VirtualNetworkGateway operation retrieves information about the
specified virtual network gateway through Network resource provider.
|
Future<VirtualNetworkGatewayGetResponse> |
getAsync(String resourceGroupName,
String virtualNetworkGatewayName)
The Get VirtualNetworkGateway operation retrieves information about the
specified virtual network gateway through Network resource provider.
|
NetworkResourceProviderClientImpl |
getClient()
Gets a reference to the
microsoft.azure.management.network.NetworkResourceProviderClientImpl.
|
VirtualNetworkGatewayListResponse |
list(String resourceGroupName)
The List VirtualNetworkGateways opertion retrieves all the virtual
network gateways stored.
|
Future<VirtualNetworkGatewayListResponse> |
listAsync(String resourceGroupName)
The List VirtualNetworkGateways opertion retrieves all the virtual
network gateways stored.
|
AzureAsyncOperationResponse |
reset(String resourceGroupName,
String virtualNetworkGatewayName,
VirtualNetworkGateway parameters)
The Reset VirtualNetworkGateway operation resets the primary of the
virtual network gateway in the specified resource group through Network
resource provider.
|
Future<AzureAsyncOperationResponse> |
resetAsync(String resourceGroupName,
String virtualNetworkGatewayName,
VirtualNetworkGateway parameters)
The Reset VirtualNetworkGateway operation resets the primary of the
virtual network gateway in the specified resource group through Network
resource provider.
|
public NetworkResourceProviderClientImpl getClient()
getClient in interface ServiceOperations<NetworkResourceProviderClientImpl>public Future<VirtualNetworkGatewayPutResponse> beginCreateOrUpdatingAsync(String resourceGroupName, String virtualNetworkGatewayName, VirtualNetworkGateway parameters)
beginCreateOrUpdatingAsync in interface VirtualNetworkGatewayOperationsresourceGroupName - Required. The name of the resource group.virtualNetworkGatewayName - Required. The name of the virtual
network gateway.parameters - Required. Parameters supplied to the Begin Create or
update Virtual Network Gateway operation through Network resource
provider.public VirtualNetworkGatewayPutResponse beginCreateOrUpdating(String resourceGroupName, String virtualNetworkGatewayName, VirtualNetworkGateway parameters) throws IOException, ServiceException
beginCreateOrUpdating in interface VirtualNetworkGatewayOperationsresourceGroupName - Required. The name of the resource group.virtualNetworkGatewayName - Required. The name of the virtual
network gateway.parameters - Required. Parameters supplied to the Begin Create or
update Virtual Network Gateway operation through Network resource
provider.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.public Future<UpdateOperationResponse> beginDeletingAsync(String resourceGroupName, String virtualNetworkGatewayName)
beginDeletingAsync in interface VirtualNetworkGatewayOperationsresourceGroupName - Required. The name of the resource group.virtualNetworkGatewayName - Required. The name of the virtual
network gateway.public UpdateOperationResponse beginDeleting(String resourceGroupName, String virtualNetworkGatewayName) throws IOException, ServiceException
beginDeleting in interface VirtualNetworkGatewayOperationsresourceGroupName - Required. The name of the resource group.virtualNetworkGatewayName - Required. The name of the virtual
network gateway.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.public Future<VirtualNetworkGatewayPutResponse> beginResetAsync(String resourceGroupName, String virtualNetworkGatewayName, VirtualNetworkGateway parameters)
beginResetAsync in interface VirtualNetworkGatewayOperationsresourceGroupName - Required. The name of the resource group.virtualNetworkGatewayName - Required. The name of the virtual
network gateway.parameters - Required. Parameters supplied to the Begin Reset
Virtual Network Gateway operation through Network resource provider.public VirtualNetworkGatewayPutResponse beginReset(String resourceGroupName, String virtualNetworkGatewayName, VirtualNetworkGateway parameters) throws IOException, ServiceException
beginReset in interface VirtualNetworkGatewayOperationsresourceGroupName - Required. The name of the resource group.virtualNetworkGatewayName - Required. The name of the virtual
network gateway.parameters - Required. Parameters supplied to the Begin Reset
Virtual Network Gateway operation through Network resource provider.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.public Future<AzureAsyncOperationResponse> createOrUpdateAsync(String resourceGroupName, String virtualNetworkGatewayName, VirtualNetworkGateway parameters)
createOrUpdateAsync in interface VirtualNetworkGatewayOperationsresourceGroupName - Required. The name of the resource group.virtualNetworkGatewayName - Required. The name of the virtual
network gateway.parameters - Required. Parameters supplied to the Begin Create or
update Virtual Network Gateway operation through Network resource
provider.public AzureAsyncOperationResponse createOrUpdate(String resourceGroupName, String virtualNetworkGatewayName, VirtualNetworkGateway parameters) throws InterruptedException, ExecutionException, IOException
createOrUpdate in interface VirtualNetworkGatewayOperationsresourceGroupName - Required. The name of the resource group.virtualNetworkGatewayName - Required. The name of the virtual
network gateway.parameters - Required. Parameters supplied to the Begin Create or
update Virtual Network Gateway operation through Network resource
provider.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.public Future<OperationResponse> deleteAsync(String resourceGroupName, String virtualNetworkGatewayName)
deleteAsync in interface VirtualNetworkGatewayOperationsresourceGroupName - Required. The name of the resource group.virtualNetworkGatewayName - Required. The name of the virtual
network gateway.public OperationResponse delete(String resourceGroupName, String virtualNetworkGatewayName) throws InterruptedException, ExecutionException, IOException
delete in interface VirtualNetworkGatewayOperationsresourceGroupName - Required. The name of the resource group.virtualNetworkGatewayName - Required. The name of the virtual
network gateway.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.public Future<VirtualNetworkGatewayGetResponse> getAsync(String resourceGroupName, String virtualNetworkGatewayName)
getAsync in interface VirtualNetworkGatewayOperationsresourceGroupName - Required. The name of the resource group.virtualNetworkGatewayName - Required. The name of the virtual
network gateway.public VirtualNetworkGatewayGetResponse get(String resourceGroupName, String virtualNetworkGatewayName) throws IOException, ServiceException
get in interface VirtualNetworkGatewayOperationsresourceGroupName - Required. The name of the resource group.virtualNetworkGatewayName - Required. The name of the virtual
network gateway.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.public Future<VirtualNetworkGatewayListResponse> listAsync(String resourceGroupName)
listAsync in interface VirtualNetworkGatewayOperationsresourceGroupName - Required. The name of the resource group.public VirtualNetworkGatewayListResponse list(String resourceGroupName) throws IOException, ServiceException
list in interface VirtualNetworkGatewayOperationsresourceGroupName - Required. The name of 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.public Future<AzureAsyncOperationResponse> resetAsync(String resourceGroupName, String virtualNetworkGatewayName, VirtualNetworkGateway parameters)
resetAsync in interface VirtualNetworkGatewayOperationsresourceGroupName - Required. The name of the resource group.virtualNetworkGatewayName - Required. The name of the virtual
network gateway.parameters - Required. Parameters supplied to the Begin Reset
Virtual Network Gateway operation through Network resource provider.public AzureAsyncOperationResponse reset(String resourceGroupName, String virtualNetworkGatewayName, VirtualNetworkGateway parameters) throws InterruptedException, ExecutionException, IOException
reset in interface VirtualNetworkGatewayOperationsresourceGroupName - Required. The name of the resource group.virtualNetworkGatewayName - Required. The name of the virtual
network gateway.parameters - Required. Parameters supplied to the Begin Reset
Virtual Network Gateway operation through Network resource provider.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./**
* 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.
*/