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