Interface ServicePrincipalsServicePrincipalsClient
-
public interface ServicePrincipalsServicePrincipalsClient
An instance of this class provides access to all the operations defined in ServicePrincipalsServicePrincipalsClient.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MicrosoftGraphServicePrincipalInner
createServicePrincipal(MicrosoftGraphServicePrincipalInner body)
Add new entity to servicePrincipals.Mono<MicrosoftGraphServicePrincipalInner>
createServicePrincipalAsync(MicrosoftGraphServicePrincipalInner body)
Add new entity to servicePrincipals.com.azure.core.http.rest.Response<MicrosoftGraphServicePrincipalInner>
createServicePrincipalWithResponse(MicrosoftGraphServicePrincipalInner body, com.azure.core.util.Context context)
Add new entity to servicePrincipals.Mono<com.azure.core.http.rest.Response<MicrosoftGraphServicePrincipalInner>>
createServicePrincipalWithResponseAsync(MicrosoftGraphServicePrincipalInner body)
Add new entity to servicePrincipals.void
deleteServicePrincipal(String servicePrincipalId)
Delete entity from servicePrincipals.Mono<Void>
deleteServicePrincipalAsync(String servicePrincipalId)
Delete entity from servicePrincipals.Mono<Void>
deleteServicePrincipalAsync(String servicePrincipalId, String ifMatch)
Delete entity from servicePrincipals.com.azure.core.http.rest.Response<Void>
deleteServicePrincipalWithResponse(String servicePrincipalId, String ifMatch, com.azure.core.util.Context context)
Delete entity from servicePrincipals.Mono<com.azure.core.http.rest.Response<Void>>
deleteServicePrincipalWithResponseAsync(String servicePrincipalId, String ifMatch)
Delete entity from servicePrincipals.MicrosoftGraphServicePrincipalInner
getServicePrincipal(String servicePrincipalId)
Get entity from servicePrincipals by key.Mono<MicrosoftGraphServicePrincipalInner>
getServicePrincipalAsync(String servicePrincipalId)
Get entity from servicePrincipals by key.Mono<MicrosoftGraphServicePrincipalInner>
getServicePrincipalAsync(String servicePrincipalId, String consistencyLevel, List<ServicePrincipalsServicePrincipalSelect> select, List<ServicePrincipalsServicePrincipalExpand> expand)
Get entity from servicePrincipals by key.com.azure.core.http.rest.Response<MicrosoftGraphServicePrincipalInner>
getServicePrincipalWithResponse(String servicePrincipalId, String consistencyLevel, List<ServicePrincipalsServicePrincipalSelect> select, List<ServicePrincipalsServicePrincipalExpand> expand, com.azure.core.util.Context context)
Get entity from servicePrincipals by key.Mono<com.azure.core.http.rest.Response<MicrosoftGraphServicePrincipalInner>>
getServicePrincipalWithResponseAsync(String servicePrincipalId, String consistencyLevel, List<ServicePrincipalsServicePrincipalSelect> select, List<ServicePrincipalsServicePrincipalExpand> expand)
Get entity from servicePrincipals by key.com.azure.core.http.rest.PagedIterable<MicrosoftGraphServicePrincipalInner>
listServicePrincipal()
Get entities from servicePrincipals.com.azure.core.http.rest.PagedIterable<MicrosoftGraphServicePrincipalInner>
listServicePrincipal(String consistencyLevel, Integer top, Integer skip, String search, String filter, Boolean count, List<ServicePrincipalsServicePrincipalOrderby> orderby, List<ServicePrincipalsServicePrincipalSelect> select, List<ServicePrincipalsServicePrincipalExpand> expand, com.azure.core.util.Context context)
Get entities from servicePrincipals.com.azure.core.http.rest.PagedFlux<MicrosoftGraphServicePrincipalInner>
listServicePrincipalAsync()
Get entities from servicePrincipals.com.azure.core.http.rest.PagedFlux<MicrosoftGraphServicePrincipalInner>
listServicePrincipalAsync(String consistencyLevel, Integer top, Integer skip, String search, String filter, Boolean count, List<ServicePrincipalsServicePrincipalOrderby> orderby, List<ServicePrincipalsServicePrincipalSelect> select, List<ServicePrincipalsServicePrincipalExpand> expand)
Get entities from servicePrincipals.void
updateServicePrincipal(String servicePrincipalId, MicrosoftGraphServicePrincipalInner body)
Update entity in servicePrincipals.Mono<Void>
updateServicePrincipalAsync(String servicePrincipalId, MicrosoftGraphServicePrincipalInner body)
Update entity in servicePrincipals.com.azure.core.http.rest.Response<Void>
updateServicePrincipalWithResponse(String servicePrincipalId, MicrosoftGraphServicePrincipalInner body, com.azure.core.util.Context context)
Update entity in servicePrincipals.Mono<com.azure.core.http.rest.Response<Void>>
updateServicePrincipalWithResponseAsync(String servicePrincipalId, MicrosoftGraphServicePrincipalInner body)
Update entity in servicePrincipals.
-
-
-
Method Detail
-
listServicePrincipalAsync
com.azure.core.http.rest.PagedFlux<MicrosoftGraphServicePrincipalInner> listServicePrincipalAsync(String consistencyLevel, Integer top, Integer skip, String search, String filter, Boolean count, List<ServicePrincipalsServicePrincipalOrderby> orderby, List<ServicePrincipalsServicePrincipalSelect> select, List<ServicePrincipalsServicePrincipalExpand> expand)
Get entities from servicePrincipals.- Parameters:
consistencyLevel
- Indicates the requested consistency level.top
- Show only the first n items.skip
- Skip the first n items.search
- Search items by search phrases.filter
- Filter items by property values.count
- Include count of items.orderby
- Order items by property values.select
- Select properties to be returned.expand
- Expand related entities.- Returns:
- entities from servicePrincipals.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listServicePrincipalAsync
com.azure.core.http.rest.PagedFlux<MicrosoftGraphServicePrincipalInner> listServicePrincipalAsync()
Get entities from servicePrincipals.- Returns:
- entities from servicePrincipals.
- Throws:
OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listServicePrincipal
com.azure.core.http.rest.PagedIterable<MicrosoftGraphServicePrincipalInner> listServicePrincipal()
Get entities from servicePrincipals.- Returns:
- entities from servicePrincipals.
- Throws:
OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listServicePrincipal
com.azure.core.http.rest.PagedIterable<MicrosoftGraphServicePrincipalInner> listServicePrincipal(String consistencyLevel, Integer top, Integer skip, String search, String filter, Boolean count, List<ServicePrincipalsServicePrincipalOrderby> orderby, List<ServicePrincipalsServicePrincipalSelect> select, List<ServicePrincipalsServicePrincipalExpand> expand, com.azure.core.util.Context context)
Get entities from servicePrincipals.- Parameters:
consistencyLevel
- Indicates the requested consistency level.top
- Show only the first n items.skip
- Skip the first n items.search
- Search items by search phrases.filter
- Filter items by property values.count
- Include count of items.orderby
- Order items by property values.select
- Select properties to be returned.expand
- Expand related entities.context
- The context to associate with this operation.- Returns:
- entities from servicePrincipals.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
createServicePrincipalWithResponseAsync
Mono<com.azure.core.http.rest.Response<MicrosoftGraphServicePrincipalInner>> createServicePrincipalWithResponseAsync(MicrosoftGraphServicePrincipalInner body)
Add new entity to servicePrincipals.- Parameters:
body
- New entity.- Returns:
- represents an Azure Active Directory object.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
createServicePrincipalAsync
Mono<MicrosoftGraphServicePrincipalInner> createServicePrincipalAsync(MicrosoftGraphServicePrincipalInner body)
Add new entity to servicePrincipals.- Parameters:
body
- New entity.- Returns:
- represents an Azure Active Directory object.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
createServicePrincipal
MicrosoftGraphServicePrincipalInner createServicePrincipal(MicrosoftGraphServicePrincipalInner body)
Add new entity to servicePrincipals.- Parameters:
body
- New entity.- Returns:
- represents an Azure Active Directory object.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
createServicePrincipalWithResponse
com.azure.core.http.rest.Response<MicrosoftGraphServicePrincipalInner> createServicePrincipalWithResponse(MicrosoftGraphServicePrincipalInner body, com.azure.core.util.Context context)
Add new entity to servicePrincipals.- Parameters:
body
- New entity.context
- The context to associate with this operation.- Returns:
- represents an Azure Active Directory object.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getServicePrincipalWithResponseAsync
Mono<com.azure.core.http.rest.Response<MicrosoftGraphServicePrincipalInner>> getServicePrincipalWithResponseAsync(String servicePrincipalId, String consistencyLevel, List<ServicePrincipalsServicePrincipalSelect> select, List<ServicePrincipalsServicePrincipalExpand> expand)
Get entity from servicePrincipals by key.- Parameters:
servicePrincipalId
- key: id of servicePrincipal.consistencyLevel
- Indicates the requested consistency level.select
- Select properties to be returned.expand
- Expand related entities.- Returns:
- entity from servicePrincipals by key.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getServicePrincipalAsync
Mono<MicrosoftGraphServicePrincipalInner> getServicePrincipalAsync(String servicePrincipalId, String consistencyLevel, List<ServicePrincipalsServicePrincipalSelect> select, List<ServicePrincipalsServicePrincipalExpand> expand)
Get entity from servicePrincipals by key.- Parameters:
servicePrincipalId
- key: id of servicePrincipal.consistencyLevel
- Indicates the requested consistency level.select
- Select properties to be returned.expand
- Expand related entities.- Returns:
- entity from servicePrincipals by key.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getServicePrincipalAsync
Mono<MicrosoftGraphServicePrincipalInner> getServicePrincipalAsync(String servicePrincipalId)
Get entity from servicePrincipals by key.- Parameters:
servicePrincipalId
- key: id of servicePrincipal.- Returns:
- entity from servicePrincipals by key.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getServicePrincipal
MicrosoftGraphServicePrincipalInner getServicePrincipal(String servicePrincipalId)
Get entity from servicePrincipals by key.- Parameters:
servicePrincipalId
- key: id of servicePrincipal.- Returns:
- entity from servicePrincipals by key.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getServicePrincipalWithResponse
com.azure.core.http.rest.Response<MicrosoftGraphServicePrincipalInner> getServicePrincipalWithResponse(String servicePrincipalId, String consistencyLevel, List<ServicePrincipalsServicePrincipalSelect> select, List<ServicePrincipalsServicePrincipalExpand> expand, com.azure.core.util.Context context)
Get entity from servicePrincipals by key.- Parameters:
servicePrincipalId
- key: id of servicePrincipal.consistencyLevel
- Indicates the requested consistency level.select
- Select properties to be returned.expand
- Expand related entities.context
- The context to associate with this operation.- Returns:
- entity from servicePrincipals by key.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
updateServicePrincipalWithResponseAsync
Mono<com.azure.core.http.rest.Response<Void>> updateServicePrincipalWithResponseAsync(String servicePrincipalId, MicrosoftGraphServicePrincipalInner body)
Update entity in servicePrincipals.- Parameters:
servicePrincipalId
- key: id of servicePrincipal.body
- New property values.- Returns:
- the completion.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
updateServicePrincipalAsync
Mono<Void> updateServicePrincipalAsync(String servicePrincipalId, MicrosoftGraphServicePrincipalInner body)
Update entity in servicePrincipals.- Parameters:
servicePrincipalId
- key: id of servicePrincipal.body
- New property values.- Returns:
- the completion.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
updateServicePrincipal
void updateServicePrincipal(String servicePrincipalId, MicrosoftGraphServicePrincipalInner body)
Update entity in servicePrincipals.- Parameters:
servicePrincipalId
- key: id of servicePrincipal.body
- New property values.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
updateServicePrincipalWithResponse
com.azure.core.http.rest.Response<Void> updateServicePrincipalWithResponse(String servicePrincipalId, MicrosoftGraphServicePrincipalInner body, com.azure.core.util.Context context)
Update entity in servicePrincipals.- Parameters:
servicePrincipalId
- key: id of servicePrincipal.body
- New property values.context
- The context to associate with this operation.- Returns:
- the response.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
deleteServicePrincipalWithResponseAsync
Mono<com.azure.core.http.rest.Response<Void>> deleteServicePrincipalWithResponseAsync(String servicePrincipalId, String ifMatch)
Delete entity from servicePrincipals.- Parameters:
servicePrincipalId
- key: id of servicePrincipal.ifMatch
- ETag.- Returns:
- the completion.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
deleteServicePrincipalAsync
Mono<Void> deleteServicePrincipalAsync(String servicePrincipalId, String ifMatch)
Delete entity from servicePrincipals.- Parameters:
servicePrincipalId
- key: id of servicePrincipal.ifMatch
- ETag.- Returns:
- the completion.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
deleteServicePrincipalAsync
Mono<Void> deleteServicePrincipalAsync(String servicePrincipalId)
Delete entity from servicePrincipals.- Parameters:
servicePrincipalId
- key: id of servicePrincipal.- Returns:
- the completion.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
deleteServicePrincipal
void deleteServicePrincipal(String servicePrincipalId)
Delete entity from servicePrincipals.- Parameters:
servicePrincipalId
- key: id of servicePrincipal.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
deleteServicePrincipalWithResponse
com.azure.core.http.rest.Response<Void> deleteServicePrincipalWithResponse(String servicePrincipalId, String ifMatch, com.azure.core.util.Context context)
Delete entity from servicePrincipals.- Parameters:
servicePrincipalId
- key: id of servicePrincipal.ifMatch
- ETag.context
- The context to associate with this operation.- Returns:
- the response.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
-