public interface DNSServerOperations
| Modifier and Type | Method and Description |
|---|---|
OperationStatusResponse |
addDNSServer(String serviceName,
String deploymentName,
DNSAddParameters parameters)
Add a definition for a DNS server to an existing deployment.
|
Future<OperationStatusResponse> |
addDNSServerAsync(String serviceName,
String deploymentName,
DNSAddParameters parameters)
Add a definition for a DNS server to an existing deployment.
|
OperationStatusResponse |
beginAddingDNSServer(String serviceName,
String deploymentName,
DNSAddParameters parameters)
Add a definition for a DNS server to an existing deployment.
|
Future<OperationStatusResponse> |
beginAddingDNSServerAsync(String serviceName,
String deploymentName,
DNSAddParameters parameters)
Add a definition for a DNS server to an existing deployment.
|
OperationStatusResponse |
beginDeletingDNSServer(String serviceName,
String deploymentName,
String dnsServerName)
Deletes a definition for an existing DNS server from the deployment
|
Future<OperationStatusResponse> |
beginDeletingDNSServerAsync(String serviceName,
String deploymentName,
String dnsServerName)
Deletes a definition for an existing DNS server from the deployment
|
OperationStatusResponse |
beginUpdatingDNSServer(String serviceName,
String deploymentName,
String dnsServerName,
DNSUpdateParameters parameters)
Updates a definition for an existing DNS server.
|
Future<OperationStatusResponse> |
beginUpdatingDNSServerAsync(String serviceName,
String deploymentName,
String dnsServerName,
DNSUpdateParameters parameters)
Updates a definition for an existing DNS server.
|
OperationStatusResponse |
deleteDNSServer(String serviceName,
String deploymentName,
String dnsServerName)
Deletes a definition for an existing DNS server from the deployment
|
Future<OperationStatusResponse> |
deleteDNSServerAsync(String serviceName,
String deploymentName,
String dnsServerName)
Deletes a definition for an existing DNS server from the deployment
|
OperationStatusResponse |
updateDNSServer(String serviceName,
String deploymentName,
String dnsServerName,
DNSUpdateParameters parameters)
Updates a definition for an existing DNS server.
|
Future<OperationStatusResponse> |
updateDNSServerAsync(String serviceName,
String deploymentName,
String dnsServerName,
DNSUpdateParameters parameters)
Updates a definition for an existing DNS server.
|
OperationStatusResponse addDNSServer(String serviceName, String deploymentName, DNSAddParameters parameters) throws InterruptedException, ExecutionException, ServiceException, IOException
serviceName - Required. The name of the service.deploymentName - Required. The name of the deployment.parameters - Required. Parameters supplied to the Add DNS Server
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> addDNSServerAsync(String serviceName, String deploymentName, DNSAddParameters parameters)
serviceName - Required. The name of the service.deploymentName - Required. The name of the deployment.parameters - Required. Parameters supplied to the Add DNS Server
operation.OperationStatusResponse beginAddingDNSServer(String serviceName, String deploymentName, DNSAddParameters parameters) throws ParserConfigurationException, SAXException, TransformerException, IOException, ServiceException
serviceName - Required. The name of the service.deploymentName - Required. The name of the deployment.parameters - Required. Parameters supplied to the Add DNS Server
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<OperationStatusResponse> beginAddingDNSServerAsync(String serviceName, String deploymentName, DNSAddParameters parameters)
serviceName - Required. The name of the service.deploymentName - Required. The name of the deployment.parameters - Required. Parameters supplied to the Add DNS Server
operation.OperationStatusResponse beginDeletingDNSServer(String serviceName, String deploymentName, String dnsServerName) throws IOException, ServiceException
serviceName - Required. The name of the service.deploymentName - Required. The name of the deployment.dnsServerName - Required. The name of the dns server.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<OperationStatusResponse> beginDeletingDNSServerAsync(String serviceName, String deploymentName, String dnsServerName)
serviceName - Required. The name of the service.deploymentName - Required. The name of the deployment.dnsServerName - Required. The name of the dns server.OperationStatusResponse beginUpdatingDNSServer(String serviceName, String deploymentName, String dnsServerName, DNSUpdateParameters parameters) throws ParserConfigurationException, SAXException, TransformerException, IOException, ServiceException
serviceName - Required. The name of the service.deploymentName - Required. The name of the deployment.dnsServerName - Required. The name of the dns server.parameters - Required. Parameters supplied to the Update DNS Server
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<OperationStatusResponse> beginUpdatingDNSServerAsync(String serviceName, String deploymentName, String dnsServerName, DNSUpdateParameters parameters)
serviceName - Required. The name of the service.deploymentName - Required. The name of the deployment.dnsServerName - Required. The name of the dns server.parameters - Required. Parameters supplied to the Update DNS Server
operation.OperationStatusResponse deleteDNSServer(String serviceName, String deploymentName, String dnsServerName) throws InterruptedException, ExecutionException, ServiceException, IOException
serviceName - Required. The name of the service.deploymentName - Required. The name of the deployment.dnsServerName - Required. The name of the dns server.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> deleteDNSServerAsync(String serviceName, String deploymentName, String dnsServerName)
serviceName - Required. The name of the service.deploymentName - Required. The name of the deployment.dnsServerName - Required. The name of the dns server.OperationStatusResponse updateDNSServer(String serviceName, String deploymentName, String dnsServerName, DNSUpdateParameters parameters) throws InterruptedException, ExecutionException, ServiceException, IOException
serviceName - Required. The name of the service.deploymentName - Required. The name of the deployment.dnsServerName - Required. The name of the dns server.parameters - Required. Parameters supplied to the Update DNS Server
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> updateDNSServerAsync(String serviceName, String deploymentName, String dnsServerName, DNSUpdateParameters parameters)
serviceName - Required. The name of the service.deploymentName - Required. The name of the deployment.dnsServerName - Required. The name of the dns server.parameters - Required. Parameters supplied to the Update DNS Server
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.
*/