Interface InboundEndpoints


public interface InboundEndpoints
Resource collection API of InboundEndpoints.
  • Method Details

    • delete

      void delete(String resourceGroupName, String dnsResolverName, String inboundEndpointName, String ifMatch)
      Deletes an inbound 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.
      inboundEndpointName - The name of the inbound 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 inboundEndpointName)
      Deletes an inbound 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.
      inboundEndpointName - The name of the inbound 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 inboundEndpointName, String ifMatch, com.azure.core.util.Context context)
      Deletes an inbound 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.
      inboundEndpointName - The name of the inbound 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

      InboundEndpoint get(String resourceGroupName, String dnsResolverName, String inboundEndpointName)
      Gets properties of an inbound 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.
      inboundEndpointName - The name of the inbound endpoint for the DNS resolver.
      Returns:
      properties of an inbound 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<InboundEndpoint> getWithResponse(String resourceGroupName, String dnsResolverName, String inboundEndpointName, com.azure.core.util.Context context)
      Gets properties of an inbound 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.
      inboundEndpointName - The name of the inbound endpoint for the DNS resolver.
      context - The context to associate with this operation.
      Returns:
      properties of an inbound 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<InboundEndpoint> list(String resourceGroupName, String dnsResolverName)
      Lists inbound 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 inbound 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<InboundEndpoint> list(String resourceGroupName, String dnsResolverName, Integer top, com.azure.core.util.Context context)
      Lists inbound 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 inbound 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

      InboundEndpoint getById(String id)
      Gets properties of an inbound endpoint for a DNS resolver.
      Parameters:
      id - the resource ID.
      Returns:
      properties of an inbound 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<InboundEndpoint> getByIdWithResponse(String id, com.azure.core.util.Context context)
      Gets properties of an inbound endpoint for a DNS resolver.
      Parameters:
      id - the resource ID.
      context - The context to associate with this operation.
      Returns:
      properties of an inbound 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 inbound 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 inbound 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

      Begins definition for a new InboundEndpoint resource.
      Parameters:
      name - resource name.
      Returns:
      the first stage of the new InboundEndpoint definition.