Interface ServicePrincipals
public interface ServicePrincipals
Resource collection API of ServicePrincipals.
-
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<ServicePrincipal>
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<ServicePrincipal>
list()
Get the Automanage AAD first party Application Service Principal details for the subscription id.com.azure.core.http.rest.PagedIterable<ServicePrincipal>
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<ServicePrincipal> 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
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
ServicePrincipal 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<ServicePrincipal> 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.
-