Interface ServicePrincipalsClient
public interface ServicePrincipalsClient
An instance of this class provides access to all the operations defined in ServicePrincipalsClient.
-
Method Summary
Modifier and TypeMethodDescriptionget()
Get the Automanage AAD first party Application Service Principal details for the subscription id.com.azure.core.http.rest.Response<ServicePrincipalInner>
getWithResponse
(com.azure.core.util.Context context) Get the Automanage AAD first party Application Service Principal details for the subscription id.com.azure.core.http.rest.PagedIterable<ServicePrincipalInner>
list()
Get the Automanage AAD first party Application Service Principal details for the subscription id.com.azure.core.http.rest.PagedIterable<ServicePrincipalInner>
list
(com.azure.core.util.Context context) Get the Automanage AAD first party Application Service Principal details for the subscription id.
-
Method Details
-
list
com.azure.core.http.rest.PagedIterable<ServicePrincipalInner> list()Get the Automanage AAD first party Application Service Principal details for the subscription id.- Returns:
- the Automanage AAD first party Application Service Principal details for the subscription id 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<ServicePrincipalInner> list(com.azure.core.util.Context context) Get the Automanage AAD first party Application Service Principal details for the subscription id.- Parameters:
context
- The context to associate with this operation.- Returns:
- the Automanage AAD first party Application Service Principal details for the subscription id 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.
-
get
ServicePrincipalInner get()Get the Automanage AAD first party Application Service Principal details for the subscription id.- Returns:
- the Automanage AAD first party Application Service Principal details for the subscription id.
- 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.
-
getWithResponse
com.azure.core.http.rest.Response<ServicePrincipalInner> getWithResponse(com.azure.core.util.Context context) Get the Automanage AAD first party Application Service Principal details for the subscription id.- Parameters:
context
- The context to associate with this operation.- Returns:
- the Automanage AAD first party Application Service Principal details for the subscription id 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.
-