Interface ProviderResourceTypesClient
public interface ProviderResourceTypesClient
An instance of this class provides access to all the operations defined in ProviderResourceTypesClient.
-
Method Summary
Modifier and TypeMethodDescriptionList the resource types for a specified resource provider.List the resource types for a specified resource provider.com.azure.core.http.rest.Response<ProviderResourceTypeListResultInner> listWithResponse(String resourceProviderNamespace, String expand, com.azure.core.util.Context context) List the resource types for a specified resource provider.Mono<com.azure.core.http.rest.Response<ProviderResourceTypeListResultInner>> listWithResponseAsync(String resourceProviderNamespace, String expand) List the resource types for a specified resource provider.
-
Method Details
-
listWithResponseAsync
Mono<com.azure.core.http.rest.Response<ProviderResourceTypeListResultInner>> listWithResponseAsync(String resourceProviderNamespace, String expand) List the resource types for a specified resource provider.- Parameters:
resourceProviderNamespace- The namespace of the resource provider.expand- The $expand query parameter. For example, to include property aliases in response, use $expand=resourceTypes/aliases.- Returns:
- list of resource types of a resource provider 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.
-
listAsync
List the resource types for a specified resource provider.- Parameters:
resourceProviderNamespace- The namespace of the resource provider.- Returns:
- list of resource types of a resource provider 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.
-
listWithResponse
com.azure.core.http.rest.Response<ProviderResourceTypeListResultInner> listWithResponse(String resourceProviderNamespace, String expand, com.azure.core.util.Context context) List the resource types for a specified resource provider.- Parameters:
resourceProviderNamespace- The namespace of the resource provider.expand- The $expand query parameter. For example, to include property aliases in response, use $expand=resourceTypes/aliases.context- The context to associate with this operation.- Returns:
- list of resource types of a resource provider 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.
-
list
List the resource types for a specified resource provider.- Parameters:
resourceProviderNamespace- The namespace of the resource provider.- Returns:
- list of resource types of a resource provider.
- 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.
-