Interface OutboundEndpointsClient
public interface OutboundEndpointsClient
An instance of this class provides access to all the operations defined in OutboundEndpointsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<OutboundEndpointInner>,
OutboundEndpointInner> beginCreateOrUpdate
(String resourceGroupName, String dnsResolverName, String outboundEndpointName, OutboundEndpointInner parameters, String ifMatch, String ifNoneMatch) Creates or updates an outbound endpoint for a DNS resolver.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<OutboundEndpointInner>,
OutboundEndpointInner> beginCreateOrUpdate
(String resourceGroupName, String dnsResolverName, String outboundEndpointName, OutboundEndpointInner parameters, String ifMatch, String ifNoneMatch, com.azure.core.util.Context context) Creates or updates an outbound endpoint for a DNS resolver.beginDelete
(String resourceGroupName, String dnsResolverName, String outboundEndpointName, String ifMatch) Deletes an outbound endpoint for a DNS resolver.beginDelete
(String resourceGroupName, String dnsResolverName, String outboundEndpointName, String ifMatch, com.azure.core.util.Context context) Deletes an outbound endpoint for a DNS resolver.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<OutboundEndpointInner>,
OutboundEndpointInner> beginUpdate
(String resourceGroupName, String dnsResolverName, String outboundEndpointName, OutboundEndpointPatch parameters, String ifMatch) Updates an outbound endpoint for a DNS resolver.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<OutboundEndpointInner>,
OutboundEndpointInner> beginUpdate
(String resourceGroupName, String dnsResolverName, String outboundEndpointName, OutboundEndpointPatch parameters, String ifMatch, com.azure.core.util.Context context) Updates an outbound endpoint for a DNS resolver.createOrUpdate
(String resourceGroupName, String dnsResolverName, String outboundEndpointName, OutboundEndpointInner parameters) Creates or updates an outbound endpoint for a DNS resolver.createOrUpdate
(String resourceGroupName, String dnsResolverName, String outboundEndpointName, OutboundEndpointInner parameters, String ifMatch, String ifNoneMatch) Creates or updates an outbound endpoint for a DNS resolver.createOrUpdate
(String resourceGroupName, String dnsResolverName, String outboundEndpointName, OutboundEndpointInner parameters, String ifMatch, String ifNoneMatch, com.azure.core.util.Context context) Creates or updates an outbound endpoint for a DNS resolver.void
Deletes an outbound endpoint for a DNS resolver.void
delete
(String resourceGroupName, String dnsResolverName, String outboundEndpointName, String ifMatch) Deletes an outbound endpoint for a DNS resolver.void
delete
(String resourceGroupName, String dnsResolverName, String outboundEndpointName, String ifMatch, com.azure.core.util.Context context) Deletes an outbound endpoint for a DNS resolver.Gets properties of an outbound endpoint for a DNS resolver.com.azure.core.http.rest.Response<OutboundEndpointInner>
getWithResponse
(String resourceGroupName, String dnsResolverName, String outboundEndpointName, com.azure.core.util.Context context) Gets properties of an outbound endpoint for a DNS resolver.com.azure.core.http.rest.PagedIterable<OutboundEndpointInner>
Lists outbound endpoints for a DNS resolver.com.azure.core.http.rest.PagedIterable<OutboundEndpointInner>
list
(String resourceGroupName, String dnsResolverName, Integer top, com.azure.core.util.Context context) Lists outbound endpoints for a DNS resolver.update
(String resourceGroupName, String dnsResolverName, String outboundEndpointName, OutboundEndpointPatch parameters) Updates an outbound endpoint for a DNS resolver.update
(String resourceGroupName, String dnsResolverName, String outboundEndpointName, OutboundEndpointPatch parameters, String ifMatch) Updates an outbound endpoint for a DNS resolver.update
(String resourceGroupName, String dnsResolverName, String outboundEndpointName, OutboundEndpointPatch parameters, String ifMatch, com.azure.core.util.Context context) Updates an outbound endpoint for a DNS resolver.
-
Method Details
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<OutboundEndpointInner>,OutboundEndpointInner> beginCreateOrUpdate(String resourceGroupName, String dnsResolverName, String outboundEndpointName, OutboundEndpointInner parameters, String ifMatch, String ifNoneMatch) Creates or updates an outbound endpoint for a DNS resolver.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.dnsResolverName
- The name of the DNS resolver.outboundEndpointName
- The name of the outbound endpoint for the DNS resolver.parameters
- Parameters supplied to the CreateOrUpdate operation.ifMatch
- ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes.ifNoneMatch
- Set to '*' to allow a new resource to be created, but to prevent updating an existing resource. Other values will be ignored.- Returns:
- the
SyncPoller
for polling of describes an outbound endpoint for a DNS resolver. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<OutboundEndpointInner>,OutboundEndpointInner> beginCreateOrUpdate(String resourceGroupName, String dnsResolverName, String outboundEndpointName, OutboundEndpointInner parameters, String ifMatch, String ifNoneMatch, com.azure.core.util.Context context) Creates or updates an outbound endpoint for a DNS resolver.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.dnsResolverName
- The name of the DNS resolver.outboundEndpointName
- The name of the outbound endpoint for the DNS resolver.parameters
- Parameters supplied to the CreateOrUpdate operation.ifMatch
- ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes.ifNoneMatch
- Set to '*' to allow a new resource to be created, but to prevent updating an existing resource. Other values will be ignored.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of describes an outbound endpoint for a DNS resolver. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdate
OutboundEndpointInner createOrUpdate(String resourceGroupName, String dnsResolverName, String outboundEndpointName, OutboundEndpointInner parameters, String ifMatch, String ifNoneMatch) Creates or updates an outbound endpoint for a DNS resolver.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.dnsResolverName
- The name of the DNS resolver.outboundEndpointName
- The name of the outbound endpoint for the DNS resolver.parameters
- Parameters supplied to the CreateOrUpdate operation.ifMatch
- ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes.ifNoneMatch
- Set to '*' to allow a new resource to be created, but to prevent updating an existing resource. Other values will be ignored.- Returns:
- describes an outbound endpoint for a DNS resolver.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdate
OutboundEndpointInner createOrUpdate(String resourceGroupName, String dnsResolverName, String outboundEndpointName, OutboundEndpointInner parameters) Creates or updates an outbound endpoint for a DNS resolver.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.dnsResolverName
- The name of the DNS resolver.outboundEndpointName
- The name of the outbound endpoint for the DNS resolver.parameters
- Parameters supplied to the CreateOrUpdate operation.- Returns:
- describes an outbound endpoint for a DNS resolver.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdate
OutboundEndpointInner createOrUpdate(String resourceGroupName, String dnsResolverName, String outboundEndpointName, OutboundEndpointInner parameters, String ifMatch, String ifNoneMatch, com.azure.core.util.Context context) Creates or updates an outbound endpoint for a DNS resolver.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.dnsResolverName
- The name of the DNS resolver.outboundEndpointName
- The name of the outbound endpoint for the DNS resolver.parameters
- Parameters supplied to the CreateOrUpdate operation.ifMatch
- ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes.ifNoneMatch
- Set to '*' to allow a new resource to be created, but to prevent updating an existing resource. Other values will be ignored.context
- The context to associate with this operation.- Returns:
- describes an outbound endpoint for a DNS resolver.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<OutboundEndpointInner>,OutboundEndpointInner> beginUpdate(String resourceGroupName, String dnsResolverName, String outboundEndpointName, OutboundEndpointPatch parameters, String ifMatch) Updates an outbound endpoint for a DNS resolver.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.dnsResolverName
- The name of the DNS resolver.outboundEndpointName
- The name of the outbound endpoint for the DNS resolver.parameters
- Parameters supplied to the Update operation.ifMatch
- ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes.- Returns:
- the
SyncPoller
for polling of describes an outbound endpoint for a DNS resolver. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<OutboundEndpointInner>,OutboundEndpointInner> beginUpdate(String resourceGroupName, String dnsResolverName, String outboundEndpointName, OutboundEndpointPatch parameters, String ifMatch, com.azure.core.util.Context context) Updates an outbound endpoint for a DNS resolver.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.dnsResolverName
- The name of the DNS resolver.outboundEndpointName
- The name of the outbound endpoint for the DNS resolver.parameters
- Parameters supplied to the Update operation.ifMatch
- ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of describes an outbound endpoint for a DNS resolver. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
update
OutboundEndpointInner update(String resourceGroupName, String dnsResolverName, String outboundEndpointName, OutboundEndpointPatch parameters, String ifMatch) Updates an outbound endpoint for a DNS resolver.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.dnsResolverName
- The name of the DNS resolver.outboundEndpointName
- The name of the outbound endpoint for the DNS resolver.parameters
- Parameters supplied to the Update operation.ifMatch
- ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes.- Returns:
- describes an outbound endpoint for a DNS resolver.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
update
OutboundEndpointInner update(String resourceGroupName, String dnsResolverName, String outboundEndpointName, OutboundEndpointPatch parameters) Updates an outbound endpoint for a DNS resolver.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.dnsResolverName
- The name of the DNS resolver.outboundEndpointName
- The name of the outbound endpoint for the DNS resolver.parameters
- Parameters supplied to the Update operation.- Returns:
- describes an outbound endpoint for a DNS resolver.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
update
OutboundEndpointInner update(String resourceGroupName, String dnsResolverName, String outboundEndpointName, OutboundEndpointPatch parameters, String ifMatch, com.azure.core.util.Context context) Updates an outbound endpoint for a DNS resolver.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.dnsResolverName
- The name of the DNS resolver.outboundEndpointName
- The name of the outbound endpoint for the DNS resolver.parameters
- Parameters supplied to the Update operation.ifMatch
- ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes.context
- The context to associate with this operation.- Returns:
- describes an outbound endpoint for a DNS resolver.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String dnsResolverName, String outboundEndpointName, String ifMatch) Deletes an outbound endpoint for a DNS resolver. WARNING: This operation cannot be undone.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.dnsResolverName
- The name of the DNS resolver.outboundEndpointName
- The name of the outbound endpoint for the DNS resolver.ifMatch
- ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes.- Returns:
- the
SyncPoller
for polling of long-running operation. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String dnsResolverName, String outboundEndpointName, String ifMatch, com.azure.core.util.Context context) Deletes an outbound endpoint for a DNS resolver. WARNING: This operation cannot be undone.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.dnsResolverName
- The name of the DNS resolver.outboundEndpointName
- The name of the outbound endpoint for the DNS resolver.ifMatch
- ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of long-running operation. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
delete
void delete(String resourceGroupName, String dnsResolverName, String outboundEndpointName, String ifMatch) Deletes an outbound endpoint for a DNS resolver. WARNING: This operation cannot be undone.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.dnsResolverName
- The name of the DNS resolver.outboundEndpointName
- The name of the outbound endpoint for the DNS resolver.ifMatch
- ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
delete
Deletes an outbound endpoint for a DNS resolver. WARNING: This operation cannot be undone.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.dnsResolverName
- The name of the DNS resolver.outboundEndpointName
- The name of the outbound endpoint for the DNS resolver.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
delete
void delete(String resourceGroupName, String dnsResolverName, String outboundEndpointName, String ifMatch, com.azure.core.util.Context context) Deletes an outbound endpoint for a DNS resolver. WARNING: This operation cannot be undone.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.dnsResolverName
- The name of the DNS resolver.outboundEndpointName
- The name of the outbound endpoint for the DNS resolver.ifMatch
- ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes.context
- The context to associate with this operation.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
get
OutboundEndpointInner get(String resourceGroupName, String dnsResolverName, String outboundEndpointName) Gets properties of an outbound endpoint for a DNS resolver.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.dnsResolverName
- The name of the DNS resolver.outboundEndpointName
- The name of the outbound endpoint for the DNS resolver.- Returns:
- properties of an outbound endpoint for a DNS resolver.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getWithResponse
com.azure.core.http.rest.Response<OutboundEndpointInner> getWithResponse(String resourceGroupName, String dnsResolverName, String outboundEndpointName, com.azure.core.util.Context context) Gets properties of an outbound endpoint for a DNS resolver.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.dnsResolverName
- The name of the DNS resolver.outboundEndpointName
- The name of the outbound endpoint for the DNS resolver.context
- The context to associate with this operation.- Returns:
- properties of an outbound endpoint for a DNS resolver along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
list
com.azure.core.http.rest.PagedIterable<OutboundEndpointInner> list(String resourceGroupName, String dnsResolverName) Lists outbound endpoints for a DNS resolver.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.dnsResolverName
- The name of the DNS resolver.- Returns:
- the response to an enumeration operation on outbound endpoints for a DNS resolver as paginated response
with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
list
com.azure.core.http.rest.PagedIterable<OutboundEndpointInner> list(String resourceGroupName, String dnsResolverName, Integer top, com.azure.core.util.Context context) Lists outbound endpoints for a DNS resolver.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.dnsResolverName
- The name of the DNS resolver.top
- The maximum number of results to return. If not specified, returns up to 100 results.context
- The context to associate with this operation.- Returns:
- the response to an enumeration operation on outbound endpoints for a DNS resolver as paginated response
with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-