public class NetworkInterfaceOperationsImpl extends Object implements ServiceOperations<NetworkResourceProviderClientImpl>, NetworkInterfaceOperations
| Modifier and Type | Method and Description |
|---|---|
NetworkInterfacePutResponse |
beginCreateOrUpdating(String resourceGroupName,
String networkInterfaceName,
NetworkInterface parameters)
The Put NetworkInterface operation creates/updates a networkInterface
|
Future<NetworkInterfacePutResponse> |
beginCreateOrUpdatingAsync(String resourceGroupName,
String networkInterfaceName,
NetworkInterface parameters)
The Put NetworkInterface operation creates/updates a networkInterface
|
UpdateOperationResponse |
beginDeleting(String resourceGroupName,
String networkInterfaceName)
The delete netwokInterface operation deletes the specified
netwokInterface.
|
Future<UpdateOperationResponse> |
beginDeletingAsync(String resourceGroupName,
String networkInterfaceName)
The delete netwokInterface operation deletes the specified
netwokInterface.
|
AzureAsyncOperationResponse |
createOrUpdate(String resourceGroupName,
String networkInterfaceName,
NetworkInterface parameters)
The Put NetworkInterface operation creates/updates a networkInterface
|
Future<AzureAsyncOperationResponse> |
createOrUpdateAsync(String resourceGroupName,
String networkInterfaceName,
NetworkInterface parameters)
The Put NetworkInterface operation creates/updates a networkInterface
|
OperationResponse |
delete(String resourceGroupName,
String networkInterfaceName) |
Future<OperationResponse> |
deleteAsync(String resourceGroupName,
String networkInterfaceName) |
NetworkInterfaceGetResponse |
get(String resourceGroupName,
String networkInterfaceName)
The Get ntework interface operation retreives information about the
specified network interface.
|
Future<NetworkInterfaceGetResponse> |
getAsync(String resourceGroupName,
String networkInterfaceName)
The Get ntework interface operation retreives information about the
specified network interface.
|
NetworkResourceProviderClientImpl |
getClient()
Gets a reference to the
microsoft.azure.management.network.NetworkResourceProviderClientImpl.
|
NetworkInterfaceGetResponse |
getVirtualMachineScaleSetNetworkInterface(String resourceGroupName,
String virtualMachineScaleSetName,
String virtualmachineIndex,
String networkInterfaceName)
The Get ntework interface operation retreives information about the
specified network interface in a virtual machine scale set.
|
Future<NetworkInterfaceGetResponse> |
getVirtualMachineScaleSetNetworkInterfaceAsync(String resourceGroupName,
String virtualMachineScaleSetName,
String virtualmachineIndex,
String networkInterfaceName)
The Get ntework interface operation retreives information about the
specified network interface in a virtual machine scale set.
|
NetworkInterfaceListResponse |
list(String resourceGroupName)
The List networkInterfaces opertion retrieves all the networkInterfaces
in a resource group.
|
NetworkInterfaceListResponse |
listAll()
The List networkInterfaces opertion retrieves all the networkInterfaces
in a subscription.
|
Future<NetworkInterfaceListResponse> |
listAllAsync()
The List networkInterfaces opertion retrieves all the networkInterfaces
in a subscription.
|
Future<NetworkInterfaceListResponse> |
listAsync(String resourceGroupName)
The List networkInterfaces opertion retrieves all the networkInterfaces
in a resource group.
|
NetworkInterfaceListResponse |
listVirtualMachineScaleSetNetworkInterfaces(String resourceGroupName,
String virtualMachineScaleSetName)
The list network interface operation retrieves information about all
network interfaces in a virtual machine scale set.
|
Future<NetworkInterfaceListResponse> |
listVirtualMachineScaleSetNetworkInterfacesAsync(String resourceGroupName,
String virtualMachineScaleSetName)
The list network interface operation retrieves information about all
network interfaces in a virtual machine scale set.
|
public NetworkResourceProviderClientImpl getClient()
getClient in interface ServiceOperations<NetworkResourceProviderClientImpl>public Future<NetworkInterfacePutResponse> beginCreateOrUpdatingAsync(String resourceGroupName, String networkInterfaceName, NetworkInterface parameters)
beginCreateOrUpdatingAsync in interface NetworkInterfaceOperationsresourceGroupName - Required. The name of the resource group.networkInterfaceName - Required. The name of the network interface.parameters - Required. Parameters supplied to the create/update
NetworkInterface operationpublic NetworkInterfacePutResponse beginCreateOrUpdating(String resourceGroupName, String networkInterfaceName, NetworkInterface parameters) throws IOException, ServiceException
beginCreateOrUpdating in interface NetworkInterfaceOperationsresourceGroupName - Required. The name of the resource group.networkInterfaceName - Required. The name of the network interface.parameters - Required. Parameters supplied to the create/update
NetworkInterface 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.public Future<UpdateOperationResponse> beginDeletingAsync(String resourceGroupName, String networkInterfaceName)
beginDeletingAsync in interface NetworkInterfaceOperationsresourceGroupName - Required. The name of the resource group.networkInterfaceName - Required. The name of the network interface.public UpdateOperationResponse beginDeleting(String resourceGroupName, String networkInterfaceName) throws IOException, ServiceException
beginDeleting in interface NetworkInterfaceOperationsresourceGroupName - Required. The name of the resource group.networkInterfaceName - Required. The name of the network interface.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 networkInterfaceName, NetworkInterface parameters)
createOrUpdateAsync in interface NetworkInterfaceOperationsresourceGroupName - Required. The name of the resource group.networkInterfaceName - Required. The name of the network interface.parameters - Required. Parameters supplied to the create/update
NetworkInterface operationpublic AzureAsyncOperationResponse createOrUpdate(String resourceGroupName, String networkInterfaceName, NetworkInterface parameters) throws InterruptedException, ExecutionException, IOException
createOrUpdate in interface NetworkInterfaceOperationsresourceGroupName - Required. The name of the resource group.networkInterfaceName - Required. The name of the network interface.parameters - Required. Parameters supplied to the create/update
NetworkInterface 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.public Future<OperationResponse> deleteAsync(String resourceGroupName, String networkInterfaceName)
deleteAsync in interface NetworkInterfaceOperationsresourceGroupName - Required. The name of the resource group.networkInterfaceName - Required. The name of the network interface.public OperationResponse delete(String resourceGroupName, String networkInterfaceName) throws InterruptedException, ExecutionException, IOException
delete in interface NetworkInterfaceOperationsresourceGroupName - Required. The name of the resource group.networkInterfaceName - Required. The name of the network interface.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<NetworkInterfaceGetResponse> getAsync(String resourceGroupName, String networkInterfaceName)
getAsync in interface NetworkInterfaceOperationsresourceGroupName - Required. The name of the resource group.networkInterfaceName - Required. The name of the network interface.public NetworkInterfaceGetResponse get(String resourceGroupName, String networkInterfaceName) throws IOException, ServiceException
get in interface NetworkInterfaceOperationsresourceGroupName - Required. The name of the resource group.networkInterfaceName - Required. The name of the network interface.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<NetworkInterfaceGetResponse> getVirtualMachineScaleSetNetworkInterfaceAsync(String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName)
getVirtualMachineScaleSetNetworkInterfaceAsync in interface NetworkInterfaceOperationsresourceGroupName - Required. The name of the resource group.virtualMachineScaleSetName - Required. The name of the virtual
machine scale set.virtualmachineIndex - Required. The virtual machine index.networkInterfaceName - Required. The name of the network interface.public NetworkInterfaceGetResponse getVirtualMachineScaleSetNetworkInterface(String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName) throws IOException, ServiceException
getVirtualMachineScaleSetNetworkInterface in interface NetworkInterfaceOperationsresourceGroupName - Required. The name of the resource group.virtualMachineScaleSetName - Required. The name of the virtual
machine scale set.virtualmachineIndex - Required. The virtual machine index.networkInterfaceName - Required. The name of the network interface.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<NetworkInterfaceListResponse> listAsync(String resourceGroupName)
listAsync in interface NetworkInterfaceOperationsresourceGroupName - Required. The name of the resource group.public NetworkInterfaceListResponse list(String resourceGroupName) throws IOException, ServiceException
list in interface NetworkInterfaceOperationsresourceGroupName - 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<NetworkInterfaceListResponse> listAllAsync()
listAllAsync in interface NetworkInterfaceOperationspublic NetworkInterfaceListResponse listAll() throws IOException, ServiceException
listAll in interface NetworkInterfaceOperationsIOException - 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<NetworkInterfaceListResponse> listVirtualMachineScaleSetNetworkInterfacesAsync(String resourceGroupName, String virtualMachineScaleSetName)
listVirtualMachineScaleSetNetworkInterfacesAsync in interface NetworkInterfaceOperationsresourceGroupName - Required. The name of the resource group.virtualMachineScaleSetName - Required. The name of the virtual
machine scale set.public NetworkInterfaceListResponse listVirtualMachineScaleSetNetworkInterfaces(String resourceGroupName, String virtualMachineScaleSetName) throws IOException, ServiceException
listVirtualMachineScaleSetNetworkInterfaces in interface NetworkInterfaceOperationsresourceGroupName - Required. The name of the resource group.virtualMachineScaleSetName - Required. The name of the virtual
machine scale set.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.
*/