Interface ExtensionTopicsClient
public interface ExtensionTopicsClient
An instance of this class provides access to all the operations defined in ExtensionTopicsClient.
-
Method Summary
Modifier and TypeMethodDescriptionGet the properties of an extension topic.com.azure.core.http.rest.Response<ExtensionTopicInner>
getWithResponse
(String scope, com.azure.core.util.Context context) Get the properties of an extension topic.
-
Method Details
-
get
Get the properties of an extension topic.- Parameters:
scope
- The identifier of the resource to which extension topic is queried. The scope can be a subscription, or a resource group, or a top level resource belonging to a resource provider namespace. For example, use '/subscriptions/{subscriptionId}/' for a subscription, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' for Azure resource.- Returns:
- the properties of an extension topic.
- 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<ExtensionTopicInner> getWithResponse(String scope, com.azure.core.util.Context context) Get the properties of an extension topic.- Parameters:
scope
- The identifier of the resource to which extension topic is queried. The scope can be a subscription, or a resource group, or a top level resource belonging to a resource provider namespace. For example, use '/subscriptions/{subscriptionId}/' for a subscription, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' for Azure resource.context
- The context to associate with this operation.- Returns:
- the properties of an extension topic 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.
-