你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ServicePrincipalsServicePrincipalsClient Interface

public interface ServicePrincipalsServicePrincipalsClient

An instance of this class provides access to all the operations defined in ServicePrincipalsServicePrincipalsClient.

Method Summary

Modifier and Type Method and Description
abstract MicrosoftGraphServicePrincipalInner createServicePrincipal(MicrosoftGraphServicePrincipalInner body)

Add new entity to servicePrincipals.

abstract Mono<MicrosoftGraphServicePrincipalInner> createServicePrincipalAsync(MicrosoftGraphServicePrincipalInner body)

Add new entity to servicePrincipals.

abstract Response<MicrosoftGraphServicePrincipalInner> createServicePrincipalWithResponse(MicrosoftGraphServicePrincipalInner body, Context context)

Add new entity to servicePrincipals.

abstract Mono<Response<MicrosoftGraphServicePrincipalInner>> createServicePrincipalWithResponseAsync(MicrosoftGraphServicePrincipalInner body)

Add new entity to servicePrincipals.

abstract void deleteServicePrincipal(String servicePrincipalId)

Delete entity from servicePrincipals.

abstract Mono<Void> deleteServicePrincipalAsync(String servicePrincipalId)

Delete entity from servicePrincipals.

abstract Response<Void> deleteServicePrincipalWithResponse(String servicePrincipalId, String ifMatch, Context context)

Delete entity from servicePrincipals.

abstract Mono<Response<Void>> deleteServicePrincipalWithResponseAsync(String servicePrincipalId, String ifMatch)

Delete entity from servicePrincipals.

abstract MicrosoftGraphServicePrincipalInner getServicePrincipal(String servicePrincipalId)

Get entity from servicePrincipals by key.

abstract Mono<MicrosoftGraphServicePrincipalInner> getServicePrincipalAsync(String servicePrincipalId)

Get entity from servicePrincipals by key.

abstract Response<MicrosoftGraphServicePrincipalInner> getServicePrincipalWithResponse(String servicePrincipalId, String consistencyLevel, List<ServicePrincipalsServicePrincipalSelect> select, List<ServicePrincipalsServicePrincipalExpand> expand, Context context)

Get entity from servicePrincipals by key.

abstract Mono<Response<MicrosoftGraphServicePrincipalInner>> getServicePrincipalWithResponseAsync(String servicePrincipalId, String consistencyLevel, List<ServicePrincipalsServicePrincipalSelect> select, List<ServicePrincipalsServicePrincipalExpand> expand)

Get entity from servicePrincipals by key.

abstract PagedIterable<MicrosoftGraphServicePrincipalInner> listServicePrincipal()

Get entities from servicePrincipals.

abstract PagedIterable<MicrosoftGraphServicePrincipalInner> listServicePrincipal(String consistencyLevel, Integer top, Integer skip, String search, String filter, Boolean count, List<ServicePrincipalsServicePrincipalOrderby> orderby, List<ServicePrincipalsServicePrincipalSelect> select, List<ServicePrincipalsServicePrincipalExpand> expand, Context context)

Get entities from servicePrincipals.

abstract PagedFlux<MicrosoftGraphServicePrincipalInner> listServicePrincipalAsync()

Get entities from servicePrincipals.

abstract 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.

abstract void updateServicePrincipal(String servicePrincipalId, MicrosoftGraphServicePrincipalInner body)

Update entity in servicePrincipals.

abstract Mono<Void> updateServicePrincipalAsync(String servicePrincipalId, MicrosoftGraphServicePrincipalInner body)

Update entity in servicePrincipals.

abstract Response<Void> updateServicePrincipalWithResponse(String servicePrincipalId, MicrosoftGraphServicePrincipalInner body, Context context)

Update entity in servicePrincipals.

abstract Mono<Response<Void>> updateServicePrincipalWithResponseAsync(String servicePrincipalId, MicrosoftGraphServicePrincipalInner body)

Update entity in servicePrincipals.

Method Details

createServicePrincipal

public abstract MicrosoftGraphServicePrincipalInner createServicePrincipal(MicrosoftGraphServicePrincipalInner body)

Add new entity to servicePrincipals.

Parameters:

body - New entity.

Returns:

servicePrincipal.

createServicePrincipalAsync

public abstract Mono<MicrosoftGraphServicePrincipalInner> createServicePrincipalAsync(MicrosoftGraphServicePrincipalInner body)

Add new entity to servicePrincipals.

Parameters:

body - New entity.

Returns:

servicePrincipal on successful completion of Mono.

createServicePrincipalWithResponse

public abstract Response<MicrosoftGraphServicePrincipalInner> createServicePrincipalWithResponse(MicrosoftGraphServicePrincipalInner body, Context context)

Add new entity to servicePrincipals.

Parameters:

body - New entity.
context - The context to associate with this operation.

Returns:

servicePrincipal along with Response<T>.

createServicePrincipalWithResponseAsync

public abstract Mono<Response<MicrosoftGraphServicePrincipalInner>> createServicePrincipalWithResponseAsync(MicrosoftGraphServicePrincipalInner body)

Add new entity to servicePrincipals.

Parameters:

body - New entity.

Returns:

servicePrincipal along with Response<T> on successful completion of Mono.

deleteServicePrincipal

public abstract void deleteServicePrincipal(String servicePrincipalId)

Delete entity from servicePrincipals.

Parameters:

servicePrincipalId - key: id of servicePrincipal.

deleteServicePrincipalAsync

public abstract Mono<Void> deleteServicePrincipalAsync(String servicePrincipalId)

Delete entity from servicePrincipals.

Parameters:

servicePrincipalId - key: id of servicePrincipal.

Returns:

A Mono that completes when a successful response is received.

deleteServicePrincipalWithResponse

public abstract Response<Void> deleteServicePrincipalWithResponse(String servicePrincipalId, String ifMatch, Context context)

Delete entity from servicePrincipals.

Parameters:

servicePrincipalId - key: id of servicePrincipal.
ifMatch - ETag.
context - The context to associate with this operation.

Returns:

deleteServicePrincipalWithResponseAsync

public abstract Mono<Response<Void>> deleteServicePrincipalWithResponseAsync(String servicePrincipalId, String ifMatch)

Delete entity from servicePrincipals.

Parameters:

servicePrincipalId - key: id of servicePrincipal.
ifMatch - ETag.

Returns:

the Response<T> on successful completion of Mono.

getServicePrincipal

public abstract MicrosoftGraphServicePrincipalInner getServicePrincipal(String servicePrincipalId)

Get entity from servicePrincipals by key.

Parameters:

servicePrincipalId - key: id of servicePrincipal.

Returns:

entity from servicePrincipals by key.

getServicePrincipalAsync

public abstract Mono<MicrosoftGraphServicePrincipalInner> getServicePrincipalAsync(String servicePrincipalId)

Get entity from servicePrincipals by key.

Parameters:

servicePrincipalId - key: id of servicePrincipal.

Returns:

entity from servicePrincipals by key on successful completion of Mono.

getServicePrincipalWithResponse

public abstract Response<MicrosoftGraphServicePrincipalInner> getServicePrincipalWithResponse(String servicePrincipalId, String consistencyLevel, List<ServicePrincipalsServicePrincipalSelect> select, List<ServicePrincipalsServicePrincipalExpand> expand, 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<T>.

getServicePrincipalWithResponseAsync

public abstract Mono<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 Response<T> on successful completion of Mono.

listServicePrincipal

public abstract PagedIterable<MicrosoftGraphServicePrincipalInner> listServicePrincipal()

Get entities from servicePrincipals.

Returns:

entities from servicePrincipals as paginated response with PagedIterable<T>.

listServicePrincipal

public abstract PagedIterable<MicrosoftGraphServicePrincipalInner> listServicePrincipal(String consistencyLevel, Integer top, Integer skip, String search, String filter, Boolean count, List<ServicePrincipalsServicePrincipalOrderby> orderby, List<ServicePrincipalsServicePrincipalSelect> select, List<ServicePrincipalsServicePrincipalExpand> expand, 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<T>.

listServicePrincipalAsync

public abstract PagedFlux<MicrosoftGraphServicePrincipalInner> listServicePrincipalAsync()

Get entities from servicePrincipals.

Returns:

entities from servicePrincipals as paginated response with PagedFlux<T>.

listServicePrincipalAsync

public abstract 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<T>.

updateServicePrincipal

public abstract void updateServicePrincipal(String servicePrincipalId, MicrosoftGraphServicePrincipalInner body)

Update entity in servicePrincipals.

Parameters:

servicePrincipalId - key: id of servicePrincipal.
body - New property values.

updateServicePrincipalAsync

public abstract Mono<Void> updateServicePrincipalAsync(String servicePrincipalId, MicrosoftGraphServicePrincipalInner body)

Update entity in servicePrincipals.

Parameters:

servicePrincipalId - key: id of servicePrincipal.
body - New property values.

Returns:

A Mono that completes when a successful response is received.

updateServicePrincipalWithResponse

public abstract Response<Void> updateServicePrincipalWithResponse(String servicePrincipalId, MicrosoftGraphServicePrincipalInner body, 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:

updateServicePrincipalWithResponseAsync

public abstract Mono<Response<Void>> updateServicePrincipalWithResponseAsync(String servicePrincipalId, MicrosoftGraphServicePrincipalInner body)

Update entity in servicePrincipals.

Parameters:

servicePrincipalId - key: id of servicePrincipal.
body - New property values.

Returns:

the Response<T> on successful completion of Mono.

Applies to