public interface HostedServiceOperations
| Modifier and Type | Method and Description |
|---|---|
OperationStatusResponse |
addExtension(String serviceName,
HostedServiceAddExtensionParameters parameters)
The Add Extension operation adds an available extension to your cloud
service.
|
Future<OperationStatusResponse> |
addExtensionAsync(String serviceName,
HostedServiceAddExtensionParameters parameters)
The Add Extension operation adds an available extension to your cloud
service.
|
OperationResponse |
beginAddingExtension(String serviceName,
HostedServiceAddExtensionParameters parameters)
The Begin Adding Extension operation adds an available extension to your
cloud service.
|
Future<OperationResponse> |
beginAddingExtensionAsync(String serviceName,
HostedServiceAddExtensionParameters parameters)
The Begin Adding Extension operation adds an available extension to your
cloud service.
|
OperationResponse |
beginDeletingAll(String serviceName)
The DeleteAll Hosted Service operation deletes the specified cloud
service as well as operating system disk, attached data disks, and the
source blobs for the disks from storage from Microsoft Azure.
|
Future<OperationResponse> |
beginDeletingAllAsync(String serviceName)
The DeleteAll Hosted Service operation deletes the specified cloud
service as well as operating system disk, attached data disks, and the
source blobs for the disks from storage from Microsoft Azure.
|
OperationResponse |
beginDeletingExtension(String serviceName,
String extensionId)
The Begin Deleting Extension operation deletes the specified extension
from a cloud service.
|
Future<OperationResponse> |
beginDeletingExtensionAsync(String serviceName,
String extensionId)
The Begin Deleting Extension operation deletes the specified extension
from a cloud service.
|
HostedServiceCheckNameAvailabilityResponse |
checkNameAvailability(String serviceName)
The Check Hosted Service Name Availability operation checks for the
availability of the specified cloud service name.
|
Future<HostedServiceCheckNameAvailabilityResponse> |
checkNameAvailabilityAsync(String serviceName)
The Check Hosted Service Name Availability operation checks for the
availability of the specified cloud service name.
|
OperationResponse |
create(HostedServiceCreateParameters parameters)
The Create Hosted Service operation creates a new cloud service in Azure.
|
Future<OperationResponse> |
createAsync(HostedServiceCreateParameters parameters)
The Create Hosted Service operation creates a new cloud service in Azure.
|
OperationResponse |
delete(String serviceName)
The Delete Hosted Service operation deletes the specified cloud service
from Azure.
|
OperationStatusResponse |
deleteAll(String serviceName)
The DeleteAll Hosted Service operation deletes the specified cloud
service as well as operating system disk, attached data disks, and the
source blobs for the disks from storage from Microsoft Azure.
|
Future<OperationStatusResponse> |
deleteAllAsync(String serviceName)
The DeleteAll Hosted Service operation deletes the specified cloud
service as well as operating system disk, attached data disks, and the
source blobs for the disks from storage from Microsoft Azure.
|
Future<OperationResponse> |
deleteAsync(String serviceName)
The Delete Hosted Service operation deletes the specified cloud service
from Azure.
|
OperationStatusResponse |
deleteExtension(String serviceName,
String extensionId)
The Delete Extension operation deletes the specified extension from a
cloud service.
|
Future<OperationStatusResponse> |
deleteExtensionAsync(String serviceName,
String extensionId)
The Delete Extension operation deletes the specified extension from a
cloud service.
|
HostedServiceGetResponse |
get(String serviceName)
The Get Hosted Service Properties operation retrieves system properties
for the specified cloud service.
|
Future<HostedServiceGetResponse> |
getAsync(String serviceName)
The Get Hosted Service Properties operation retrieves system properties
for the specified cloud service.
|
HostedServiceGetDetailedResponse |
getDetailed(String serviceName)
The Get Detailed Hosted Service Properties operation retrieves system
properties for the specified cloud service.
|
Future<HostedServiceGetDetailedResponse> |
getDetailedAsync(String serviceName)
The Get Detailed Hosted Service Properties operation retrieves system
properties for the specified cloud service.
|
HostedServiceGetExtensionResponse |
getExtension(String serviceName,
String extensionId)
The Get Extension operation retrieves information about a specified
extension that was added to a cloud service.
|
Future<HostedServiceGetExtensionResponse> |
getExtensionAsync(String serviceName,
String extensionId)
The Get Extension operation retrieves information about a specified
extension that was added to a cloud service.
|
HostedServiceListResponse |
list()
The List Hosted Services operation lists the cloud services available
under the current subscription.
|
Future<HostedServiceListResponse> |
listAsync()
The List Hosted Services operation lists the cloud services available
under the current subscription.
|
HostedServiceListAvailableExtensionsResponse |
listAvailableExtensions()
The List Available Extensions operation lists the extensions that are
available to add to your cloud service.
|
Future<HostedServiceListAvailableExtensionsResponse> |
listAvailableExtensionsAsync()
The List Available Extensions operation lists the extensions that are
available to add to your cloud service.
|
HostedServiceListExtensionsResponse |
listExtensions(String serviceName)
The List Extensions operation lists all of the extensions that were added
to a cloud service.
|
Future<HostedServiceListExtensionsResponse> |
listExtensionsAsync(String serviceName)
The List Extensions operation lists all of the extensions that were added
to a cloud service.
|
HostedServiceListAvailableExtensionsResponse |
listExtensionVersions(String providerNamespace,
String extensionType)
The List Extension Versions operation lists the versions of an extension
that are available to add to a cloud service.
|
Future<HostedServiceListAvailableExtensionsResponse> |
listExtensionVersionsAsync(String providerNamespace,
String extensionType)
The List Extension Versions operation lists the versions of an extension
that are available to add to a cloud service.
|
OperationResponse |
update(String serviceName,
HostedServiceUpdateParameters parameters)
The Update Hosted Service operation can update the label or description
of a cloud service in Azure.
|
Future<OperationResponse> |
updateAsync(String serviceName,
HostedServiceUpdateParameters parameters)
The Update Hosted Service operation can update the label or description
of a cloud service in Azure.
|
OperationStatusResponse addExtension(String serviceName, HostedServiceAddExtensionParameters parameters) throws InterruptedException, ExecutionException, ServiceException, IOException
serviceName - Required. The name of the cloud service.parameters - Required. Parameters supplied to the Add Extension
operation.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.ServiceException - Thrown if the server returned an error for the
request.IOException - Thrown if there was an error setting up tracing for
the request.Future<OperationStatusResponse> addExtensionAsync(String serviceName, HostedServiceAddExtensionParameters parameters)
serviceName - Required. The name of the cloud service.parameters - Required. Parameters supplied to the Add Extension
operation.OperationResponse beginAddingExtension(String serviceName, HostedServiceAddExtensionParameters parameters) throws ParserConfigurationException, SAXException, TransformerException, IOException, ServiceException
serviceName - Required. The name of the cloud service.parameters - Required. Parameters supplied to the Begin Adding
Extension operation.ParserConfigurationException - Thrown if there was an error
configuring the parser for the response body.SAXException - Thrown if there was an error parsing the response
body.TransformerException - Thrown if there was an error creating the
DOM transformer.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<OperationResponse> beginAddingExtensionAsync(String serviceName, HostedServiceAddExtensionParameters parameters)
serviceName - Required. The name of the cloud service.parameters - Required. Parameters supplied to the Begin Adding
Extension operation.OperationResponse beginDeletingAll(String serviceName) throws IOException, ServiceException
serviceName - Required. The name of the cloud service.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<OperationResponse> beginDeletingAllAsync(String serviceName)
serviceName - Required. The name of the cloud service.OperationResponse beginDeletingExtension(String serviceName, String extensionId) throws IOException, ServiceException
serviceName - Required. The name of the cloud service.extensionId - Required. The identifier that was assigned to the
extension when it was added to the cloud serviceIOException - 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<OperationResponse> beginDeletingExtensionAsync(String serviceName, String extensionId)
serviceName - Required. The name of the cloud service.extensionId - Required. The identifier that was assigned to the
extension when it was added to the cloud serviceHostedServiceCheckNameAvailabilityResponse checkNameAvailability(String serviceName) throws IOException, ServiceException, ParserConfigurationException, SAXException
serviceName - Required. The cloud service name that you would like
to use.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.ParserConfigurationException - Thrown if there was a serious
configuration error with the document parser.SAXException - Thrown if there was an error parsing the XML
response.Future<HostedServiceCheckNameAvailabilityResponse> checkNameAvailabilityAsync(String serviceName)
serviceName - Required. The cloud service name that you would like
to use.OperationResponse create(HostedServiceCreateParameters parameters) throws InterruptedException, ExecutionException, ServiceException, IOException, ParserConfigurationException, SAXException, TransformerException, URISyntaxException
parameters - Required. Parameters supplied to the Create Hosted
Service operation.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.ServiceException - Thrown if the server returned an error for the
request.IOException - Thrown if there was an error setting up tracing for
the request.ParserConfigurationException - Thrown if there was an error
configuring the parser for the response body.SAXException - Thrown if there was an error parsing the response
body.TransformerException - Thrown if there was an error creating the
DOM transformer.ServiceException - Thrown if an unexpected response is found.URISyntaxException - Thrown if there was an error parsing a URI in
the response.Future<OperationResponse> createAsync(HostedServiceCreateParameters parameters)
parameters - Required. Parameters supplied to the Create Hosted
Service operation.OperationResponse delete(String serviceName) throws IOException, ServiceException, InterruptedException, ExecutionException
serviceName - Required. The name of the cloud service.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.ServiceException - Thrown if the server returned an error for the
request.Future<OperationResponse> deleteAsync(String serviceName)
serviceName - Required. The name of the cloud service.OperationStatusResponse deleteAll(String serviceName) throws InterruptedException, ExecutionException, ServiceException, IOException
serviceName - Required. The name of the cloud service.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.ServiceException - Thrown if the server returned an error for the
request.IOException - Thrown if there was an error setting up tracing for
the request.Future<OperationStatusResponse> deleteAllAsync(String serviceName)
serviceName - Required. The name of the cloud service.OperationStatusResponse deleteExtension(String serviceName, String extensionId) throws InterruptedException, ExecutionException, ServiceException, IOException
serviceName - Required. The name of the cloud service.extensionId - Required. The identifier that was assigned to the
extension when it was added to the cloud serviceInterruptedException - 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.ServiceException - Thrown if the server returned an error for the
request.IOException - Thrown if there was an error setting up tracing for
the request.Future<OperationStatusResponse> deleteExtensionAsync(String serviceName, String extensionId)
serviceName - Required. The name of the cloud service.extensionId - Required. The identifier that was assigned to the
extension when it was added to the cloud serviceHostedServiceGetResponse get(String serviceName) throws IOException, ServiceException, ParserConfigurationException, SAXException, URISyntaxException
serviceName - Required. The name of the cloud service.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.ParserConfigurationException - Thrown if there was a serious
configuration error with the document parser.SAXException - Thrown if there was an error parsing the XML
response.URISyntaxException - Thrown if there was an error parsing a URI in
the response.Future<HostedServiceGetResponse> getAsync(String serviceName)
serviceName - Required. The name of the cloud service.HostedServiceGetDetailedResponse getDetailed(String serviceName) throws IOException, ServiceException, ParserConfigurationException, SAXException, URISyntaxException
serviceName - Required. The name of the cloud service.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.ParserConfigurationException - Thrown if there was a serious
configuration error with the document parser.SAXException - Thrown if there was an error parsing the XML
response.URISyntaxException - Thrown if there was an error parsing a URI in
the response.Future<HostedServiceGetDetailedResponse> getDetailedAsync(String serviceName)
serviceName - Required. The name of the cloud service.HostedServiceGetExtensionResponse getExtension(String serviceName, String extensionId) throws IOException, ServiceException, ParserConfigurationException, SAXException
serviceName - Required. The name of the cloud service.extensionId - Required. The identifier that was assigned to the
extension when it was added to the cloud serviceIOException - 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.ParserConfigurationException - Thrown if there was a serious
configuration error with the document parser.SAXException - Thrown if there was an error parsing the XML
response.Future<HostedServiceGetExtensionResponse> getExtensionAsync(String serviceName, String extensionId)
serviceName - Required. The name of the cloud service.extensionId - Required. The identifier that was assigned to the
extension when it was added to the cloud serviceHostedServiceListResponse list() throws IOException, ServiceException, ParserConfigurationException, SAXException, URISyntaxException
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.ParserConfigurationException - Thrown if there was a serious
configuration error with the document parser.SAXException - Thrown if there was an error parsing the XML
response.URISyntaxException - Thrown if there was an error parsing a URI in
the response.Future<HostedServiceListResponse> listAsync()
HostedServiceListAvailableExtensionsResponse listAvailableExtensions() throws IOException, ServiceException, ParserConfigurationException, SAXException, URISyntaxException
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.ParserConfigurationException - Thrown if there was a serious
configuration error with the document parser.SAXException - Thrown if there was an error parsing the XML
response.URISyntaxException - Thrown if there was an error parsing a URI in
the response.Future<HostedServiceListAvailableExtensionsResponse> listAvailableExtensionsAsync()
HostedServiceListExtensionsResponse listExtensions(String serviceName) throws IOException, ServiceException, ParserConfigurationException, SAXException
serviceName - Required. The name of the cloud service.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.ParserConfigurationException - Thrown if there was a serious
configuration error with the document parser.SAXException - Thrown if there was an error parsing the XML
response.Future<HostedServiceListExtensionsResponse> listExtensionsAsync(String serviceName)
serviceName - Required. The name of the cloud service.HostedServiceListAvailableExtensionsResponse listExtensionVersions(String providerNamespace, String extensionType) throws IOException, ServiceException, ParserConfigurationException, SAXException, URISyntaxException
providerNamespace - Required. The provider namespace.extensionType - Required. The extension type name.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.ParserConfigurationException - Thrown if there was a serious
configuration error with the document parser.SAXException - Thrown if there was an error parsing the XML
response.URISyntaxException - Thrown if there was an error parsing a URI in
the response.Future<HostedServiceListAvailableExtensionsResponse> listExtensionVersionsAsync(String providerNamespace, String extensionType)
providerNamespace - Required. The provider namespace.extensionType - Required. The extension type name.OperationResponse update(String serviceName, HostedServiceUpdateParameters parameters) throws InterruptedException, ExecutionException, ServiceException, IOException, ParserConfigurationException, SAXException, TransformerException, URISyntaxException
serviceName - Required. The name of the cloud service.parameters - Required. Parameters supplied to the Update Hosted
Service operation.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.ServiceException - Thrown if the server returned an error for the
request.IOException - Thrown if there was an error setting up tracing for
the request.ParserConfigurationException - Thrown if there was an error
configuring the parser for the response body.SAXException - Thrown if there was an error parsing the response
body.TransformerException - Thrown if there was an error creating the
DOM transformer.ServiceException - Thrown if an unexpected response is found.URISyntaxException - Thrown if there was an error parsing a URI in
the response.Future<OperationResponse> updateAsync(String serviceName, HostedServiceUpdateParameters parameters)
serviceName - Required. The name of the cloud service.parameters - Required. Parameters supplied to the Update Hosted
Service operation./**
* 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.
*/