public class ServiceCertificateOperationsImpl extends Object implements ServiceOperations<ComputeManagementClientImpl>, ServiceCertificateOperations
| Modifier and Type | Method and Description |
|---|---|
OperationResponse |
beginCreating(String serviceName,
ServiceCertificateCreateParameters parameters)
The Begin Creating Service Certificate operation adds a certificate to a
hosted service.
|
Future<OperationResponse> |
beginCreatingAsync(String serviceName,
ServiceCertificateCreateParameters parameters)
The Begin Creating Service Certificate operation adds a certificate to a
hosted service.
|
OperationResponse |
beginDeleting(ServiceCertificateDeleteParameters parameters)
The Begin Deleting Service Certificate operation deletes a service
certificate from the certificate store of a hosted service.
|
Future<OperationResponse> |
beginDeletingAsync(ServiceCertificateDeleteParameters parameters)
The Begin Deleting Service Certificate operation deletes a service
certificate from the certificate store of a hosted service.
|
OperationStatusResponse |
create(String serviceName,
ServiceCertificateCreateParameters parameters)
The Create Service Certificate operation adds a certificate to a hosted
service.
|
Future<OperationStatusResponse> |
createAsync(String serviceName,
ServiceCertificateCreateParameters parameters)
The Create Service Certificate operation adds a certificate to a hosted
service.
|
OperationStatusResponse |
delete(ServiceCertificateDeleteParameters parameters)
The Delete Service Certificate operation deletes a service certificate
from the certificate store of a hosted service.
|
Future<OperationStatusResponse> |
deleteAsync(ServiceCertificateDeleteParameters parameters)
The Delete Service Certificate operation deletes a service certificate
from the certificate store of a hosted service.
|
ServiceCertificateGetResponse |
get(ServiceCertificateGetParameters parameters)
The Get Service Certificate operation returns the public data for the
specified X.509 certificate associated with a hosted service.
|
Future<ServiceCertificateGetResponse> |
getAsync(ServiceCertificateGetParameters parameters)
The Get Service Certificate operation returns the public data for the
specified X.509 certificate associated with a hosted service.
|
ComputeManagementClientImpl |
getClient()
Gets a reference to the
microsoft.windowsazure.management.compute.ComputeManagementClientImpl.
|
ServiceCertificateListResponse |
list(String serviceName)
The List Service Certificates operation lists all of the service
certificates associated with the specified hosted service.
|
Future<ServiceCertificateListResponse> |
listAsync(String serviceName)
The List Service Certificates operation lists all of the service
certificates associated with the specified hosted service.
|
public ComputeManagementClientImpl getClient()
getClient in interface ServiceOperations<ComputeManagementClientImpl>public Future<OperationResponse> beginCreatingAsync(String serviceName, ServiceCertificateCreateParameters parameters)
beginCreatingAsync in interface ServiceCertificateOperationsserviceName - Required. The DNS prefix name of your service.parameters - Required. Parameters supplied to the Begin Creating
Service Certificate operation.public OperationResponse beginCreating(String serviceName, ServiceCertificateCreateParameters parameters) throws ParserConfigurationException, SAXException, TransformerException, IOException, ServiceException
beginCreating in interface ServiceCertificateOperationsserviceName - Required. The DNS prefix name of your service.parameters - Required. Parameters supplied to the Begin Creating
Service Certificate 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.public Future<OperationResponse> beginDeletingAsync(ServiceCertificateDeleteParameters parameters)
beginDeletingAsync in interface ServiceCertificateOperationsparameters - Required. Parameters supplied to the Begin Deleting
Service Certificate operation.public OperationResponse beginDeleting(ServiceCertificateDeleteParameters parameters) throws IOException, ServiceException
beginDeleting in interface ServiceCertificateOperationsparameters - Required. Parameters supplied to the Begin Deleting
Service Certificate 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.public Future<OperationStatusResponse> createAsync(String serviceName, ServiceCertificateCreateParameters parameters)
createAsync in interface ServiceCertificateOperationsserviceName - Required. The DNS prefix name of your service.parameters - Required. Parameters supplied to the Create Service
Certificate operation.public OperationStatusResponse create(String serviceName, ServiceCertificateCreateParameters parameters) throws InterruptedException, ExecutionException, ServiceException, IOException, ParserConfigurationException, SAXException, TransformerException, URISyntaxException
create in interface ServiceCertificateOperationsserviceName - Required. The DNS prefix name of your service.parameters - Required. Parameters supplied to the Create Service
Certificate 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.public Future<OperationStatusResponse> deleteAsync(ServiceCertificateDeleteParameters parameters)
deleteAsync in interface ServiceCertificateOperationsparameters - Required. Parameters supplied to the Delete Service
Certificate operation.public OperationStatusResponse delete(ServiceCertificateDeleteParameters parameters) throws IOException, ServiceException, InterruptedException, ExecutionException
delete in interface ServiceCertificateOperationsparameters - Required. Parameters supplied to the Delete Service
Certificate 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.ServiceException - Thrown if the server returned an error for the
request.public Future<ServiceCertificateGetResponse> getAsync(ServiceCertificateGetParameters parameters)
getAsync in interface ServiceCertificateOperationsparameters - Required. Parameters supplied to the Get Service
Certificate operation.public ServiceCertificateGetResponse get(ServiceCertificateGetParameters parameters) throws IOException, ServiceException, ParserConfigurationException, SAXException, URISyntaxException
get in interface ServiceCertificateOperationsparameters - Required. Parameters supplied to the Get Service
Certificate 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.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.public Future<ServiceCertificateListResponse> listAsync(String serviceName)
listAsync in interface ServiceCertificateOperationsserviceName - Required. The DNS prefix name of your hosted service.public ServiceCertificateListResponse list(String serviceName) throws IOException, ServiceException, ParserConfigurationException, SAXException, URISyntaxException
list in interface ServiceCertificateOperationsserviceName - Required. The DNS prefix name of your hosted 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./**
* 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.
*/