Interface ServicePrincipalsServicePrincipalsClient
public interface ServicePrincipalsServicePrincipalsClient
An instance of this class provides access to all the operations defined in ServicePrincipalsServicePrincipalsClient.
-
Method Summary
Modifier and TypeMethodDescriptionAdd new entity to servicePrincipals.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>>Add new entity to servicePrincipals.voiddeleteServicePrincipal(String servicePrincipalId) Delete entity from servicePrincipals.deleteServicePrincipalAsync(String servicePrincipalId) 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.deleteServicePrincipalWithResponseAsync(String servicePrincipalId, String ifMatch) Delete entity from servicePrincipals.getServicePrincipal(String servicePrincipalId) Get entity from servicePrincipals by key.getServicePrincipalAsync(String servicePrincipalId) 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>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>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.voidupdateServicePrincipal(String servicePrincipalId, MicrosoftGraphServicePrincipalInner body) Update entity in servicePrincipals.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.updateServicePrincipalWithResponseAsync(String servicePrincipalId, MicrosoftGraphServicePrincipalInner body) Update entity in servicePrincipals.
-
Method Details
-
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 as paginated response with
PagedFlux. - 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 as paginated response with
PagedFlux. - 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 as paginated response with
PagedIterable. - 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 as paginated response with
PagedIterable. - 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:
- servicePrincipal along with
Responseon successful completion ofMono. - 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:
- servicePrincipal on successful completion of
Mono. - 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:
- servicePrincipal along with
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.
-
createServicePrincipal
MicrosoftGraphServicePrincipalInner createServicePrincipal(MicrosoftGraphServicePrincipalInner body) Add new entity to servicePrincipals.- Parameters:
body- New entity.- Returns:
- 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.
-
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 along with
Responseon successful completion ofMono. - 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
Get entity from servicePrincipals by key.- Parameters:
servicePrincipalId- key: id of servicePrincipal.- Returns:
- entity from servicePrincipals by key on successful completion of
Mono. - 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 along with
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.
-
getServicePrincipal
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.
-
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
Responseon successful completion ofMono. - 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:
- A
Monothat completes when a successful response is received. - 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.
-
updateServicePrincipal
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.
-
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
Responseon successful completion ofMono. - 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
Delete entity from servicePrincipals.- Parameters:
servicePrincipalId- key: id of servicePrincipal.- Returns:
- A
Monothat completes when a successful response is received. - 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.
-
deleteServicePrincipal
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.
-