Interface TenantsClient
-
public interface TenantsClientAn instance of this class provides access to all the operations defined in TenantsClient.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.azure.core.http.rest.PagedIterable<TenantIdDescriptionInner>list()Gets the tenants for your account.com.azure.core.http.rest.PagedIterable<TenantIdDescriptionInner>list(com.azure.core.util.Context context)Gets the tenants for your account.com.azure.core.http.rest.PagedFlux<TenantIdDescriptionInner>listAsync()Gets the tenants for your account.
-
-
-
Method Detail
-
listAsync
com.azure.core.http.rest.PagedFlux<TenantIdDescriptionInner> listAsync()
Gets the tenants for your account.- Returns:
- the tenants for your account 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<TenantIdDescriptionInner> list()
Gets the tenants for your account.- Returns:
- the tenants for your account 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<TenantIdDescriptionInner> list(com.azure.core.util.Context context)
Gets the tenants for your account.- Parameters:
context- The context to associate with this operation.- Returns:
- the tenants for your account 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.
-
-