public interface AvailabilitySetOperations
| Modifier and Type | Method and Description |
|---|---|
AvailabilitySetCreateOrUpdateResponse |
createOrUpdate(String resourceGroupName,
AvailabilitySet parameters)
The operation to create or update the availability set.
|
Future<AvailabilitySetCreateOrUpdateResponse> |
createOrUpdateAsync(String resourceGroupName,
AvailabilitySet parameters)
The operation to create or update the availability set.
|
OperationResponse |
delete(String resourceGroupName,
String availabilitySetName)
The operation to delete the availability set.
|
Future<OperationResponse> |
deleteAsync(String resourceGroupName,
String availabilitySetName)
The operation to delete the availability set.
|
AvailabilitySetGetResponse |
get(String resourceGroupName,
String availabilitySetName)
The operation to get the availability set.
|
Future<AvailabilitySetGetResponse> |
getAsync(String resourceGroupName,
String availabilitySetName)
The operation to get the availability set.
|
AvailabilitySetListResponse |
list(String resourceGroupName)
The operation to list the availability sets.
|
Future<AvailabilitySetListResponse> |
listAsync(String resourceGroupName)
The operation to list the availability sets.
|
VirtualMachineSizeListResponse |
listAvailableSizes(String resourceGroupName,
String availabilitySetName)
Lists virtual-machine-sizes available to be used for an availability set.
|
Future<VirtualMachineSizeListResponse> |
listAvailableSizesAsync(String resourceGroupName,
String availabilitySetName)
Lists virtual-machine-sizes available to be used for an availability set.
|
AvailabilitySetCreateOrUpdateResponse createOrUpdate(String resourceGroupName, AvailabilitySet parameters) throws IOException, ServiceException, InterruptedException, ExecutionException
resourceGroupName - Required. The name of the resource group.parameters - Required. Parameters supplied to the Create
Availability Set operation.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.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.Future<AvailabilitySetCreateOrUpdateResponse> createOrUpdateAsync(String resourceGroupName, AvailabilitySet parameters)
resourceGroupName - Required. The name of the resource group.parameters - Required. Parameters supplied to the Create
Availability Set operation.OperationResponse delete(String resourceGroupName, String availabilitySetName) throws IOException, ServiceException, InterruptedException, ExecutionException
resourceGroupName - Required. The name of the resource group.availabilitySetName - Required. The name of the availability 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.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.Future<OperationResponse> deleteAsync(String resourceGroupName, String availabilitySetName)
resourceGroupName - Required. The name of the resource group.availabilitySetName - Required. The name of the availability set.AvailabilitySetGetResponse get(String resourceGroupName, String availabilitySetName) throws IOException, ServiceException, URISyntaxException
resourceGroupName - Required. The name of the resource group.availabilitySetName - Required. The name of the availability 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.URISyntaxException - Thrown if there was an error parsing a URI in
the response.Future<AvailabilitySetGetResponse> getAsync(String resourceGroupName, String availabilitySetName)
resourceGroupName - Required. The name of the resource group.availabilitySetName - Required. The name of the availability set.AvailabilitySetListResponse list(String resourceGroupName) throws IOException, ServiceException, URISyntaxException
resourceGroupName - 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.URISyntaxException - Thrown if there was an error parsing a URI in
the response.Future<AvailabilitySetListResponse> listAsync(String resourceGroupName)
resourceGroupName - Required. The name of the resource group.VirtualMachineSizeListResponse listAvailableSizes(String resourceGroupName, String availabilitySetName) throws IOException, ServiceException
resourceGroupName - Required. The name of the resource group.availabilitySetName - Required. The name of the availability 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.Future<VirtualMachineSizeListResponse> listAvailableSizesAsync(String resourceGroupName, String availabilitySetName)
resourceGroupName - Required. The name of the resource group.availabilitySetName - Required. The name of the availability set./**
* 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.
*/