Compartir vía


ServicePrincipalsClient Interface

public interface ServicePrincipalsClient

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

Method Summary

Modifier and Type Method and Description
abstract MicrosoftGraphKeyCredentialInner addKey(String servicePrincipalId, ServicePrincipalsAddKeyRequestBodyInner body)

Invoke action addKey.

abstract Mono<MicrosoftGraphKeyCredentialInner> addKeyAsync(String servicePrincipalId, ServicePrincipalsAddKeyRequestBodyInner body)

Invoke action addKey.

abstract Response<MicrosoftGraphKeyCredentialInner> addKeyWithResponse(String servicePrincipalId, ServicePrincipalsAddKeyRequestBodyInner body, Context context)

Invoke action addKey.

abstract Mono<Response<MicrosoftGraphKeyCredentialInner>> addKeyWithResponseAsync(String servicePrincipalId, ServicePrincipalsAddKeyRequestBodyInner body)

Invoke action addKey.

abstract MicrosoftGraphPasswordCredentialInner addPassword(String servicePrincipalId, ServicePrincipalsAddPasswordRequestBodyInner body)

Invoke action addPassword.

abstract Mono<MicrosoftGraphPasswordCredentialInner> addPasswordAsync(String servicePrincipalId, ServicePrincipalsAddPasswordRequestBodyInner body)

Invoke action addPassword.

abstract Response<MicrosoftGraphPasswordCredentialInner> addPasswordWithResponse(String servicePrincipalId, ServicePrincipalsAddPasswordRequestBodyInner body, Context context)

Invoke action addPassword.

abstract Mono<Response<MicrosoftGraphPasswordCredentialInner>> addPasswordWithResponseAsync(String servicePrincipalId, ServicePrincipalsAddPasswordRequestBodyInner body)

Invoke action addPassword.

Method Details

addKey

public abstract MicrosoftGraphKeyCredentialInner addKey(String servicePrincipalId, ServicePrincipalsAddKeyRequestBodyInner body)

Invoke action addKey.

Parameters:

servicePrincipalId - key: id of servicePrincipal.
body - Action parameters.

Returns:

keyCredential.

addKeyAsync

public abstract Mono addKeyAsync(String servicePrincipalId, ServicePrincipalsAddKeyRequestBodyInner body)

Invoke action addKey.

Parameters:

servicePrincipalId - key: id of servicePrincipal.
body - Action parameters.

Returns:

keyCredential on successful completion of Mono.

addKeyWithResponse

public abstract Response addKeyWithResponse(String servicePrincipalId, ServicePrincipalsAddKeyRequestBodyInner body, Context context)

Invoke action addKey.

Parameters:

servicePrincipalId - key: id of servicePrincipal.
body - Action parameters.
context - The context to associate with this operation.

Returns:

keyCredential along with Response<T>.

addKeyWithResponseAsync

public abstract Mono<>> addKeyWithResponseAsync(String servicePrincipalId, ServicePrincipalsAddKeyRequestBodyInner body)

Invoke action addKey.

Parameters:

servicePrincipalId - key: id of servicePrincipal.
body - Action parameters.

Returns:

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

addPassword

public abstract MicrosoftGraphPasswordCredentialInner addPassword(String servicePrincipalId, ServicePrincipalsAddPasswordRequestBodyInner body)

Invoke action addPassword.

Parameters:

servicePrincipalId - key: id of servicePrincipal.
body - Action parameters.

Returns:

passwordCredential.

addPasswordAsync

public abstract Mono addPasswordAsync(String servicePrincipalId, ServicePrincipalsAddPasswordRequestBodyInner body)

Invoke action addPassword.

Parameters:

servicePrincipalId - key: id of servicePrincipal.
body - Action parameters.

Returns:

passwordCredential on successful completion of Mono.

addPasswordWithResponse

public abstract Response addPasswordWithResponse(String servicePrincipalId, ServicePrincipalsAddPasswordRequestBodyInner body, Context context)

Invoke action addPassword.

Parameters:

servicePrincipalId - key: id of servicePrincipal.
body - Action parameters.
context - The context to associate with this operation.

Returns:

passwordCredential along with Response<T>.

addPasswordWithResponseAsync

public abstract Mono<>> addPasswordWithResponseAsync(String servicePrincipalId, ServicePrincipalsAddPasswordRequestBodyInner body)

Invoke action addPassword.

Parameters:

servicePrincipalId - key: id of servicePrincipal.
body - Action parameters.

Returns:

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

Applies to