public class LocalNetworkGatewayOperationsImpl extends Object implements ServiceOperations<NetworkResourceProviderClientImpl>, LocalNetworkGatewayOperations
| Modifier and Type | Method and Description |
|---|---|
LocalNetworkGatewayPutResponse |
beginCreateOrUpdating(String resourceGroupName,
String localNetworkGatewayName,
LocalNetworkGateway parameters)
The Put LocalNetworkGateway operation creates/updates a local network
gateway in the specified resource group through Network resource
provider.
|
Future<LocalNetworkGatewayPutResponse> |
beginCreateOrUpdatingAsync(String resourceGroupName,
String localNetworkGatewayName,
LocalNetworkGateway parameters)
The Put LocalNetworkGateway operation creates/updates a local network
gateway in the specified resource group through Network resource
provider.
|
UpdateOperationResponse |
beginDeleting(String resourceGroupName,
String localNetworkGatewayName)
The Delete LocalNetworkGateway operation deletes the specifed local
network Gateway through Network resource provider.
|
Future<UpdateOperationResponse> |
beginDeletingAsync(String resourceGroupName,
String localNetworkGatewayName)
The Delete LocalNetworkGateway operation deletes the specifed local
network Gateway through Network resource provider.
|
AzureAsyncOperationResponse |
createOrUpdate(String resourceGroupName,
String localNetworkGatewayName,
LocalNetworkGateway parameters)
The Put LocalNetworkGateway operation creates/updates a local network
gateway in the specified resource group through Network resource
provider.
|
Future<AzureAsyncOperationResponse> |
createOrUpdateAsync(String resourceGroupName,
String localNetworkGatewayName,
LocalNetworkGateway parameters)
The Put LocalNetworkGateway operation creates/updates a local network
gateway in the specified resource group through Network resource
provider.
|
OperationResponse |
delete(String resourceGroupName,
String localNetworkGatewayName)
The Delete LocalNetworkGateway operation deletes the specifed local
network Gateway through Network resource provider.
|
Future<OperationResponse> |
deleteAsync(String resourceGroupName,
String localNetworkGatewayName)
The Delete LocalNetworkGateway operation deletes the specifed local
network Gateway through Network resource provider.
|
LocalNetworkGatewayGetResponse |
get(String resourceGroupName,
String localNetworkGatewayName)
The Get LocalNetworkGateway operation retrieves information about the
specified local network gateway through Network resource provider.
|
Future<LocalNetworkGatewayGetResponse> |
getAsync(String resourceGroupName,
String localNetworkGatewayName)
The Get LocalNetworkGateway operation retrieves information about the
specified local network gateway through Network resource provider.
|
NetworkResourceProviderClientImpl |
getClient()
Gets a reference to the
microsoft.azure.management.network.NetworkResourceProviderClientImpl.
|
LocalNetworkGatewayListResponse |
list(String resourceGroupName)
The List LocalNetworkGateways opertion retrieves all the local network
gateways stored.
|
Future<LocalNetworkGatewayListResponse> |
listAsync(String resourceGroupName)
The List LocalNetworkGateways opertion retrieves all the local network
gateways stored.
|
public NetworkResourceProviderClientImpl getClient()
getClient in interface ServiceOperations<NetworkResourceProviderClientImpl>public Future<LocalNetworkGatewayPutResponse> beginCreateOrUpdatingAsync(String resourceGroupName, String localNetworkGatewayName, LocalNetworkGateway parameters)
beginCreateOrUpdatingAsync in interface LocalNetworkGatewayOperationsresourceGroupName - Required. The name of the resource group.localNetworkGatewayName - Required. The name of the local network
gateway.parameters - Required. Parameters supplied to the Begin Create or
update Local Network Gateway operation through Network resource provider.public LocalNetworkGatewayPutResponse beginCreateOrUpdating(String resourceGroupName, String localNetworkGatewayName, LocalNetworkGateway parameters) throws IOException, ServiceException
beginCreateOrUpdating in interface LocalNetworkGatewayOperationsresourceGroupName - Required. The name of the resource group.localNetworkGatewayName - Required. The name of the local network
gateway.parameters - Required. Parameters supplied to the Begin Create or
update Local 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 localNetworkGatewayName)
beginDeletingAsync in interface LocalNetworkGatewayOperationsresourceGroupName - Required. The name of the resource group.localNetworkGatewayName - Required. The name of the local network
gateway.public UpdateOperationResponse beginDeleting(String resourceGroupName, String localNetworkGatewayName) throws IOException, ServiceException
beginDeleting in interface LocalNetworkGatewayOperationsresourceGroupName - Required. The name of the resource group.localNetworkGatewayName - Required. The name of the local 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<AzureAsyncOperationResponse> createOrUpdateAsync(String resourceGroupName, String localNetworkGatewayName, LocalNetworkGateway parameters)
createOrUpdateAsync in interface LocalNetworkGatewayOperationsresourceGroupName - Required. The name of the resource group.localNetworkGatewayName - Required. The name of the local network
gateway.parameters - Required. Parameters supplied to the Begin Create or
update Local Network Gateway operation through Network resource provider.public AzureAsyncOperationResponse createOrUpdate(String resourceGroupName, String localNetworkGatewayName, LocalNetworkGateway parameters) throws InterruptedException, ExecutionException, IOException
createOrUpdate in interface LocalNetworkGatewayOperationsresourceGroupName - Required. The name of the resource group.localNetworkGatewayName - Required. The name of the local network
gateway.parameters - Required. Parameters supplied to the Begin Create or
update Local 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 localNetworkGatewayName)
deleteAsync in interface LocalNetworkGatewayOperationsresourceGroupName - Required. The name of the resource group.localNetworkGatewayName - Required. The name of the local network
gateway.public OperationResponse delete(String resourceGroupName, String localNetworkGatewayName) throws InterruptedException, ExecutionException, IOException
delete in interface LocalNetworkGatewayOperationsresourceGroupName - Required. The name of the resource group.localNetworkGatewayName - Required. The name of the local 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<LocalNetworkGatewayGetResponse> getAsync(String resourceGroupName, String localNetworkGatewayName)
getAsync in interface LocalNetworkGatewayOperationsresourceGroupName - Required. The name of the resource group.localNetworkGatewayName - Required. The name of the local network
gateway.public LocalNetworkGatewayGetResponse get(String resourceGroupName, String localNetworkGatewayName) throws IOException, ServiceException
get in interface LocalNetworkGatewayOperationsresourceGroupName - Required. The name of the resource group.localNetworkGatewayName - Required. The name of the local 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<LocalNetworkGatewayListResponse> listAsync(String resourceGroupName)
listAsync in interface LocalNetworkGatewayOperationsresourceGroupName - Required. The name of the resource group.public LocalNetworkGatewayListResponse list(String resourceGroupName) throws IOException, ServiceException
list in interface LocalNetworkGatewayOperationsresourceGroupName - 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./**
* 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.
*/