Interface TopicTypes
-
public interface TopicTypesResource collection API of TopicTypes.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TopicTypeInfoget(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()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 Detail
-
list
com.azure.core.http.rest.PagedIterable<TopicTypeInfo> list()
List all registered topic types.- Returns:
- result of the List Topic Types operation.
- 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.
- 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.
- 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.
- 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.
-
-