public class PublicIpAddressOperationsImpl extends Object implements ServiceOperations<NetworkResourceProviderClientImpl>, PublicIpAddressOperations
| Modifier and Type | Method and Description |
|---|---|
PublicIpAddressPutResponse |
beginCreateOrUpdating(String resourceGroupName,
String publicIpAddressName,
PublicIpAddress parameters)
The Put PublicIPAddress operation creates/updates a stable/dynamic
PublicIP address
|
Future<PublicIpAddressPutResponse> |
beginCreateOrUpdatingAsync(String resourceGroupName,
String publicIpAddressName,
PublicIpAddress parameters)
The Put PublicIPAddress operation creates/updates a stable/dynamic
PublicIP address
|
UpdateOperationResponse |
beginDeleting(String resourceGroupName,
String publicIpAddressName)
The delete publicIpAddress operation deletes the specified
publicIpAddress.
|
Future<UpdateOperationResponse> |
beginDeletingAsync(String resourceGroupName,
String publicIpAddressName)
The delete publicIpAddress operation deletes the specified
publicIpAddress.
|
AzureAsyncOperationResponse |
createOrUpdate(String resourceGroupName,
String publicIpAddressName,
PublicIpAddress parameters)
The Put PublicIPAddress operation creates/updates a stable/dynamic
PublicIP address
|
Future<AzureAsyncOperationResponse> |
createOrUpdateAsync(String resourceGroupName,
String publicIpAddressName,
PublicIpAddress parameters)
The Put PublicIPAddress operation creates/updates a stable/dynamic
PublicIP address
|
OperationResponse |
delete(String resourceGroupName,
String publicIpAddressName)
The Get Role operation retrieves information about the specified virtual
machine.
|
Future<OperationResponse> |
deleteAsync(String resourceGroupName,
String publicIpAddressName)
The Get Role operation retrieves information about the specified virtual
machine.
|
PublicIpAddressGetResponse |
get(String resourceGroupName,
String publicIpAddressName)
The Get publicIpAddress operation retreives information about the
specified pubicIpAddress
|
Future<PublicIpAddressGetResponse> |
getAsync(String resourceGroupName,
String publicIpAddressName)
The Get publicIpAddress operation retreives information about the
specified pubicIpAddress
|
NetworkResourceProviderClientImpl |
getClient()
Gets a reference to the
microsoft.azure.management.network.NetworkResourceProviderClientImpl.
|
PublicIpAddressListResponse |
list(String resourceGroupName)
The List publicIpAddress opertion retrieves all the publicIpAddresses in
a resource group.
|
PublicIpAddressListResponse |
listAll()
The List publicIpAddress opertion retrieves all the publicIpAddresses in
a subscription.
|
Future<PublicIpAddressListResponse> |
listAllAsync()
The List publicIpAddress opertion retrieves all the publicIpAddresses in
a subscription.
|
Future<PublicIpAddressListResponse> |
listAsync(String resourceGroupName)
The List publicIpAddress opertion retrieves all the publicIpAddresses in
a resource group.
|
public NetworkResourceProviderClientImpl getClient()
getClient in interface ServiceOperations<NetworkResourceProviderClientImpl>public Future<PublicIpAddressPutResponse> beginCreateOrUpdatingAsync(String resourceGroupName, String publicIpAddressName, PublicIpAddress parameters)
beginCreateOrUpdatingAsync in interface PublicIpAddressOperationsresourceGroupName - Required. The name of the resource group.publicIpAddressName - Required. The name of the publicIpAddress.parameters - Required. Parameters supplied to the create/update
PublicIPAddress operationpublic PublicIpAddressPutResponse beginCreateOrUpdating(String resourceGroupName, String publicIpAddressName, PublicIpAddress parameters) throws IOException, ServiceException
beginCreateOrUpdating in interface PublicIpAddressOperationsresourceGroupName - Required. The name of the resource group.publicIpAddressName - Required. The name of the publicIpAddress.parameters - Required. Parameters supplied to the create/update
PublicIPAddress 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 publicIpAddressName)
beginDeletingAsync in interface PublicIpAddressOperationsresourceGroupName - Required. The name of the resource group.publicIpAddressName - Required. The name of the subnet.public UpdateOperationResponse beginDeleting(String resourceGroupName, String publicIpAddressName) throws IOException, ServiceException
beginDeleting in interface PublicIpAddressOperationsresourceGroupName - Required. The name of the resource group.publicIpAddressName - Required. The name of the subnet.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 publicIpAddressName, PublicIpAddress parameters)
createOrUpdateAsync in interface PublicIpAddressOperationsresourceGroupName - Required. The name of the resource group.publicIpAddressName - Required. The name of the publicIpAddress.parameters - Required. Parameters supplied to the create
PublicIPAddress operationpublic AzureAsyncOperationResponse createOrUpdate(String resourceGroupName, String publicIpAddressName, PublicIpAddress parameters) throws InterruptedException, ExecutionException, IOException
createOrUpdate in interface PublicIpAddressOperationsresourceGroupName - Required. The name of the resource group.publicIpAddressName - Required. The name of the publicIpAddress.parameters - Required. Parameters supplied to the create
PublicIPAddress 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 publicIpAddressName)
deleteAsync in interface PublicIpAddressOperationsresourceGroupName - Required. The name of the resource group.publicIpAddressName - Required. The name of the subnet.public OperationResponse delete(String resourceGroupName, String publicIpAddressName) throws InterruptedException, ExecutionException, IOException
delete in interface PublicIpAddressOperationsresourceGroupName - Required. The name of the resource group.publicIpAddressName - Required. The name of the subnet.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<PublicIpAddressGetResponse> getAsync(String resourceGroupName, String publicIpAddressName)
getAsync in interface PublicIpAddressOperationsresourceGroupName - Required. The name of the resource group.publicIpAddressName - Required. The name of the subnet.public PublicIpAddressGetResponse get(String resourceGroupName, String publicIpAddressName) throws IOException, ServiceException
get in interface PublicIpAddressOperationsresourceGroupName - Required. The name of the resource group.publicIpAddressName - Required. The name of the subnet.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<PublicIpAddressListResponse> listAsync(String resourceGroupName)
listAsync in interface PublicIpAddressOperationsresourceGroupName - Required. The name of the resource group.public PublicIpAddressListResponse list(String resourceGroupName) throws IOException, ServiceException
list in interface PublicIpAddressOperationsresourceGroupName - 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<PublicIpAddressListResponse> listAllAsync()
listAllAsync in interface PublicIpAddressOperationspublic PublicIpAddressListResponse listAll() throws IOException, ServiceException
listAll in interface PublicIpAddressOperationsIOException - 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.
*/