Interface OutboundEndpoints
-
public interface OutboundEndpoints
Resource collection API of OutboundEndpoints.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OutboundEndpoint.DefinitionStages.Blank
define(String name)
Begins definition for a new OutboundEndpoint resource.void
delete(String resourceGroupName, String dnsResolverName, String outboundEndpointName)
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.void
deleteById(String id)
Deletes an outbound endpoint for a DNS resolver.void
deleteByIdWithResponse(String id, String ifMatch, com.azure.core.util.Context context)
Deletes an outbound endpoint for a DNS resolver.OutboundEndpoint
get(String resourceGroupName, String dnsResolverName, String outboundEndpointName)
Gets properties of an outbound endpoint for a DNS resolver.OutboundEndpoint
getById(String id)
Gets properties of an outbound endpoint for a DNS resolver.com.azure.core.http.rest.Response<OutboundEndpoint>
getByIdWithResponse(String id, com.azure.core.util.Context context)
Gets properties of an outbound endpoint for a DNS resolver.com.azure.core.http.rest.Response<OutboundEndpoint>
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<OutboundEndpoint>
list(String resourceGroupName, String dnsResolverName)
Lists outbound endpoints for a DNS resolver.com.azure.core.http.rest.PagedIterable<OutboundEndpoint>
list(String resourceGroupName, String dnsResolverName, Integer top, com.azure.core.util.Context context)
Lists outbound endpoints for a DNS resolver.
-
-
-
Method Detail
-
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
void delete(String resourceGroupName, String dnsResolverName, String outboundEndpointName)
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
OutboundEndpoint 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<OutboundEndpoint> 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<OutboundEndpoint> 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<OutboundEndpoint> 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.
-
getById
OutboundEndpoint getById(String id)
Gets properties of an outbound endpoint for a DNS resolver.- Parameters:
id
- the resource ID.- 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.
-
getByIdWithResponse
com.azure.core.http.rest.Response<OutboundEndpoint> getByIdWithResponse(String id, com.azure.core.util.Context context)
Gets properties of an outbound endpoint for a DNS resolver.- Parameters:
id
- the resource ID.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.
-
deleteById
void deleteById(String id)
Deletes an outbound endpoint for a DNS resolver. WARNING: This operation cannot be undone.- Parameters:
id
- the resource ID.- 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.
-
deleteByIdWithResponse
void deleteByIdWithResponse(String id, String ifMatch, com.azure.core.util.Context context)
Deletes an outbound endpoint for a DNS resolver. WARNING: This operation cannot be undone.- Parameters:
id
- the resource ID.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.
-
define
OutboundEndpoint.DefinitionStages.Blank define(String name)
Begins definition for a new OutboundEndpoint resource.- Parameters:
name
- resource name.- Returns:
- the first stage of the new OutboundEndpoint definition.
-
-