Interface WebCategoriesClient
-
public interface WebCategoriesClientAn instance of this class provides access to all the operations defined in WebCategoriesClient.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AzureWebCategoryInnerget(String name)Gets the specified Azure Web Category.Mono<AzureWebCategoryInner>getAsync(String name)Gets the specified Azure Web Category.Mono<AzureWebCategoryInner>getAsync(String name, String expand)Gets the specified Azure Web Category.com.azure.core.http.rest.Response<AzureWebCategoryInner>getWithResponse(String name, String expand, com.azure.core.util.Context context)Gets the specified Azure Web Category.Mono<com.azure.core.http.rest.Response<AzureWebCategoryInner>>getWithResponseAsync(String name, String expand)Gets the specified Azure Web Category.com.azure.core.http.rest.PagedIterable<AzureWebCategoryInner>list()Gets all the Azure Web Categories in a subscription.com.azure.core.http.rest.PagedIterable<AzureWebCategoryInner>list(com.azure.core.util.Context context)Gets all the Azure Web Categories in a subscription.com.azure.core.http.rest.PagedFlux<AzureWebCategoryInner>listAsync()Gets all the Azure Web Categories in a subscription.
-
-
-
Method Detail
-
getWithResponseAsync
Mono<com.azure.core.http.rest.Response<AzureWebCategoryInner>> getWithResponseAsync(String name, String expand)
Gets the specified Azure Web Category.- Parameters:
name- The name of the azureWebCategory.expand- Expands resourceIds back referenced by the azureWebCategory resource.- Returns:
- the specified Azure Web Category along with
Responseon successful completion ofMono. - 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.
-
getAsync
Mono<AzureWebCategoryInner> getAsync(String name, String expand)
Gets the specified Azure Web Category.- Parameters:
name- The name of the azureWebCategory.expand- Expands resourceIds back referenced by the azureWebCategory resource.- Returns:
- the specified Azure Web Category on successful completion of
Mono. - 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.
-
getAsync
Mono<AzureWebCategoryInner> getAsync(String name)
Gets the specified Azure Web Category.- Parameters:
name- The name of the azureWebCategory.- Returns:
- the specified Azure Web Category on successful completion of
Mono. - 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
AzureWebCategoryInner get(String name)
Gets the specified Azure Web Category.- Parameters:
name- The name of the azureWebCategory.- Returns:
- the specified Azure Web Category.
- 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<AzureWebCategoryInner> getWithResponse(String name, String expand, com.azure.core.util.Context context)
Gets the specified Azure Web Category.- Parameters:
name- The name of the azureWebCategory.expand- Expands resourceIds back referenced by the azureWebCategory resource.context- The context to associate with this operation.- Returns:
- the specified Azure Web Category 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.
-
listAsync
com.azure.core.http.rest.PagedFlux<AzureWebCategoryInner> listAsync()
Gets all the Azure Web Categories in a subscription.- Returns:
- all the Azure Web Categories in a subscription as paginated response with
PagedFlux. - 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<AzureWebCategoryInner> list()
Gets all the Azure Web Categories in a subscription.- Returns:
- all the Azure Web Categories in a subscription 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<AzureWebCategoryInner> list(com.azure.core.util.Context context)
Gets all the Azure Web Categories in a subscription.- Parameters:
context- The context to associate with this operation.- Returns:
- all the Azure Web Categories in a subscription 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.
-
-