public final class PolicyCertificatesAsyncClient extends Object
Modifier and Type | Method and Description |
---|---|
Mono<PolicyCertificatesModifyResponse> |
add(String policyCertificateToAdd)
Adds a new attestation policy certificate to the set of policy management certificates.
|
Mono<com.azure.core.http.rest.Response<PolicyCertificatesModifyResponse>> |
addWithResponse(String policyCertificateToAdd)
Adds a new attestation policy certificate to the set of policy management certificates.
|
Mono<PolicyCertificatesResponse> |
get()
Retrieves the set of certificates used to express policy for the current tenant.
|
Mono<com.azure.core.http.rest.Response<PolicyCertificatesResponse>> |
getWithResponse()
Retrieves the set of certificates used to express policy for the current tenant.
|
Mono<PolicyCertificatesModifyResponse> |
remove(String policyCertificateToRemove)
Removes the specified policy management certificate.
|
Mono<com.azure.core.http.rest.Response<PolicyCertificatesModifyResponse>> |
removeWithResponse(String policyCertificateToRemove)
Removes the specified policy management certificate.
|
public Mono<com.azure.core.http.rest.Response<PolicyCertificatesResponse>> getWithResponse()
CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public Mono<PolicyCertificatesResponse> get()
CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public Mono<com.azure.core.http.rest.Response<PolicyCertificatesModifyResponse>> addWithResponse(String policyCertificateToAdd)
policyCertificateToAdd
- An RFC 7519 Json Web Token.IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public Mono<PolicyCertificatesModifyResponse> add(String policyCertificateToAdd)
policyCertificateToAdd
- An RFC 7519 Json Web Token.IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public Mono<com.azure.core.http.rest.Response<PolicyCertificatesModifyResponse>> removeWithResponse(String policyCertificateToRemove)
policyCertificateToRemove
- An RFC 7519 Json Web Token.IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public Mono<PolicyCertificatesModifyResponse> remove(String policyCertificateToRemove)
policyCertificateToRemove
- An RFC 7519 Json Web Token.IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.Copyright © 2021 Microsoft Corporation. All rights reserved.