Interface TopicTypes


public interface TopicTypes
Resource collection API of TopicTypes.
  • Method Summary

    Modifier and Type
    Method
    Description
    get(String topicTypeName)
    Get information about a topic type.
    com.azure.core.http.rest.Response<TopicTypeInfo>
    getWithResponse(String topicTypeName, com.azure.core.util.Context context)
    Get information about a topic type.
    com.azure.core.http.rest.PagedIterable<TopicTypeInfo>
    List all registered topic types.
    com.azure.core.http.rest.PagedIterable<TopicTypeInfo>
    list(com.azure.core.util.Context context)
    List all registered topic types.
    com.azure.core.http.rest.PagedIterable<EventType>
    listEventTypes(String topicTypeName)
    List event types for a topic type.
    com.azure.core.http.rest.PagedIterable<EventType>
    listEventTypes(String topicTypeName, com.azure.core.util.Context context)
    List event types for a topic type.
  • Method Details

    • list

      com.azure.core.http.rest.PagedIterable<TopicTypeInfo> 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<TopicTypeInfo> 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

      TopicTypeInfo 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<TopicTypeInfo> 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<EventType> 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<EventType> 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.