Interface TopicTypesClient


public interface TopicTypesClient
An instance of this class provides access to all the operations defined in TopicTypesClient.
  • Method Details

    • list

      com.azure.core.http.rest.PagedIterable<TopicTypeInfoInner> list()
      List all registered topic types.
      Returns:
      result of the List Topic Types operation as paginated response with PagedIterable.
      Throws:
      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<TopicTypeInfoInner> list(com.azure.core.util.Context context)
      List all registered topic types.
      Parameters:
      context - The context to associate with this operation.
      Returns:
      result of the List Topic Types operation 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.
    • get

      TopicTypeInfoInner get(String topicTypeName)
      Get information about a topic type.
      Parameters:
      topicTypeName - Name of the topic type.
      Returns:
      information about a topic type.
      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<TopicTypeInfoInner> getWithResponse(String topicTypeName, com.azure.core.util.Context context)
      Get information about a topic type.
      Parameters:
      topicTypeName - Name of the topic type.
      context - The context to associate with this operation.
      Returns:
      information about a topic type 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.
    • listEventTypes

      com.azure.core.http.rest.PagedIterable<EventTypeInner> listEventTypes(String topicTypeName)
      List event types for a topic type.
      Parameters:
      topicTypeName - Name of the topic type.
      Returns:
      result of the List Event Types operation 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.
    • listEventTypes

      com.azure.core.http.rest.PagedIterable<EventTypeInner> listEventTypes(String topicTypeName, com.azure.core.util.Context context)
      List event types for a topic type.
      Parameters:
      topicTypeName - Name of the topic type.
      context - The context to associate with this operation.
      Returns:
      result of the List Event Types operation 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.