Interface CertificatesClient
- All Superinterfaces:
InnerSupportsDelete<Void>
,InnerSupportsGet<CertificateInner>
,InnerSupportsListing<CertificateInner>
public interface CertificatesClient
extends InnerSupportsGet<CertificateInner>, InnerSupportsListing<CertificateInner>, InnerSupportsDelete<Void>
An instance of this class provides access to all the operations defined in CertificatesClient.
-
Method Summary
Modifier and TypeMethodDescriptioncreateOrUpdate
(String resourceGroupName, String name, CertificateInner certificateEnvelope) Description for Create or update a certificate.createOrUpdateAsync
(String resourceGroupName, String name, CertificateInner certificateEnvelope) Description for Create or update a certificate.com.azure.core.http.rest.Response<CertificateInner>
createOrUpdateWithResponse
(String resourceGroupName, String name, CertificateInner certificateEnvelope, com.azure.core.util.Context context) Description for Create or update a certificate.Mono<com.azure.core.http.rest.Response<CertificateInner>>
createOrUpdateWithResponseAsync
(String resourceGroupName, String name, CertificateInner certificateEnvelope) Description for Create or update a certificate.void
Description for Delete a certificate.deleteAsync
(String resourceGroupName, String name) Description for Delete a certificate.com.azure.core.http.rest.Response<Void>
deleteWithResponse
(String resourceGroupName, String name, com.azure.core.util.Context context) Description for Delete a certificate.deleteWithResponseAsync
(String resourceGroupName, String name) Description for Delete a certificate.getByResourceGroup
(String resourceGroupName, String name) Description for Get a certificate.getByResourceGroupAsync
(String resourceGroupName, String name) Description for Get a certificate.com.azure.core.http.rest.Response<CertificateInner>
getByResourceGroupWithResponse
(String resourceGroupName, String name, com.azure.core.util.Context context) Description for Get a certificate.Mono<com.azure.core.http.rest.Response<CertificateInner>>
getByResourceGroupWithResponseAsync
(String resourceGroupName, String name) Description for Get a certificate.com.azure.core.http.rest.PagedIterable<CertificateInner>
list()
Description for Get all certificates for a subscription.com.azure.core.http.rest.PagedIterable<CertificateInner>
Description for Get all certificates for a subscription.com.azure.core.http.rest.PagedFlux<CertificateInner>
Description for Get all certificates for a subscription.com.azure.core.http.rest.PagedFlux<CertificateInner>
Description for Get all certificates for a subscription.com.azure.core.http.rest.PagedIterable<CertificateInner>
listByResourceGroup
(String resourceGroupName) Description for Get all certificates in a resource group.com.azure.core.http.rest.PagedIterable<CertificateInner>
listByResourceGroup
(String resourceGroupName, com.azure.core.util.Context context) Description for Get all certificates in a resource group.com.azure.core.http.rest.PagedFlux<CertificateInner>
listByResourceGroupAsync
(String resourceGroupName) Description for Get all certificates in a resource group.update
(String resourceGroupName, String name, CertificatePatchResource certificateEnvelope) Description for Create or update a certificate.updateAsync
(String resourceGroupName, String name, CertificatePatchResource certificateEnvelope) Description for Create or update a certificate.com.azure.core.http.rest.Response<CertificateInner>
updateWithResponse
(String resourceGroupName, String name, CertificatePatchResource certificateEnvelope, com.azure.core.util.Context context) Description for Create or update a certificate.Mono<com.azure.core.http.rest.Response<CertificateInner>>
updateWithResponseAsync
(String resourceGroupName, String name, CertificatePatchResource certificateEnvelope) Description for Create or update a certificate.
-
Method Details
-
listAsync
Description for Get all certificates for a subscription.- Parameters:
filter
- Return only information specified in the filter (using OData syntax). For example: $filter=KeyVaultId eq 'KeyVaultId'.- Returns:
- collection of certificates as paginated response with
PagedFlux
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listAsync
com.azure.core.http.rest.PagedFlux<CertificateInner> listAsync()Description for Get all certificates for a subscription.- Specified by:
listAsync
in interfaceInnerSupportsListing<CertificateInner>
- Returns:
- collection of certificates as paginated response with
PagedFlux
. - Throws:
DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
list
com.azure.core.http.rest.PagedIterable<CertificateInner> list()Description for Get all certificates for a subscription.- Specified by:
list
in interfaceInnerSupportsListing<CertificateInner>
- Returns:
- collection of certificates as paginated response with
PagedIterable
. - Throws:
DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
list
com.azure.core.http.rest.PagedIterable<CertificateInner> list(String filter, com.azure.core.util.Context context) Description for Get all certificates for a subscription.- Parameters:
filter
- Return only information specified in the filter (using OData syntax). For example: $filter=KeyVaultId eq 'KeyVaultId'.context
- The context to associate with this operation.- Returns:
- collection of certificates as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listByResourceGroupAsync
com.azure.core.http.rest.PagedFlux<CertificateInner> listByResourceGroupAsync(String resourceGroupName) Description for Get all certificates in a resource group.- Specified by:
listByResourceGroupAsync
in interfaceInnerSupportsListing<CertificateInner>
- Parameters:
resourceGroupName
- Name of the resource group to which the resource belongs.- Returns:
- collection of certificates as paginated response with
PagedFlux
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<CertificateInner> listByResourceGroup(String resourceGroupName) Description for Get all certificates in a resource group.- Specified by:
listByResourceGroup
in interfaceInnerSupportsListing<CertificateInner>
- Parameters:
resourceGroupName
- Name of the resource group to which the resource belongs.- Returns:
- collection of certificates as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<CertificateInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context) Description for Get all certificates in a resource group.- Parameters:
resourceGroupName
- Name of the resource group to which the resource belongs.context
- The context to associate with this operation.- Returns:
- collection of certificates as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getByResourceGroupWithResponseAsync
Mono<com.azure.core.http.rest.Response<CertificateInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String name) Description for Get a certificate.- Parameters:
resourceGroupName
- Name of the resource group to which the resource belongs.name
- Name of the certificate.- Returns:
- sSL certificate for an app along with
Response
on successful completion ofMono
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getByResourceGroupAsync
Description for Get a certificate.- Specified by:
getByResourceGroupAsync
in interfaceInnerSupportsGet<CertificateInner>
- Parameters:
resourceGroupName
- Name of the resource group to which the resource belongs.name
- Name of the certificate.- Returns:
- sSL certificate for an app on successful completion of
Mono
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getByResourceGroup
Description for Get a certificate.- Specified by:
getByResourceGroup
in interfaceInnerSupportsGet<CertificateInner>
- Parameters:
resourceGroupName
- Name of the resource group to which the resource belongs.name
- Name of the certificate.- Returns:
- sSL certificate for an app.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getByResourceGroupWithResponse
com.azure.core.http.rest.Response<CertificateInner> getByResourceGroupWithResponse(String resourceGroupName, String name, com.azure.core.util.Context context) Description for Get a certificate.- Parameters:
resourceGroupName
- Name of the resource group to which the resource belongs.name
- Name of the certificate.context
- The context to associate with this operation.- Returns:
- sSL certificate for an app along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateWithResponseAsync
Mono<com.azure.core.http.rest.Response<CertificateInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String name, CertificateInner certificateEnvelope) Description for Create or update a certificate.- Parameters:
resourceGroupName
- Name of the resource group to which the resource belongs.name
- Name of the certificate.certificateEnvelope
- Details of certificate, if it exists already.- Returns:
- sSL certificate for an app along with
Response
on successful completion ofMono
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateAsync
Mono<CertificateInner> createOrUpdateAsync(String resourceGroupName, String name, CertificateInner certificateEnvelope) Description for Create or update a certificate.- Parameters:
resourceGroupName
- Name of the resource group to which the resource belongs.name
- Name of the certificate.certificateEnvelope
- Details of certificate, if it exists already.- Returns:
- sSL certificate for an app on successful completion of
Mono
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdate
CertificateInner createOrUpdate(String resourceGroupName, String name, CertificateInner certificateEnvelope) Description for Create or update a certificate.- Parameters:
resourceGroupName
- Name of the resource group to which the resource belongs.name
- Name of the certificate.certificateEnvelope
- Details of certificate, if it exists already.- Returns:
- sSL certificate for an app.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateWithResponse
com.azure.core.http.rest.Response<CertificateInner> createOrUpdateWithResponse(String resourceGroupName, String name, CertificateInner certificateEnvelope, com.azure.core.util.Context context) Description for Create or update a certificate.- Parameters:
resourceGroupName
- Name of the resource group to which the resource belongs.name
- Name of the certificate.certificateEnvelope
- Details of certificate, if it exists already.context
- The context to associate with this operation.- Returns:
- sSL certificate for an app along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
deleteWithResponseAsync
Mono<com.azure.core.http.rest.Response<Void>> deleteWithResponseAsync(String resourceGroupName, String name) Description for Delete a certificate.- Parameters:
resourceGroupName
- Name of the resource group to which the resource belongs.name
- Name of the certificate.- Returns:
- the
Response
on successful completion ofMono
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
deleteAsync
Description for Delete a certificate.- Specified by:
deleteAsync
in interfaceInnerSupportsDelete<Void>
- Parameters:
resourceGroupName
- Name of the resource group to which the resource belongs.name
- Name of the certificate.- Returns:
- A
Mono
that completes when a successful response is received. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
delete
Description for Delete a certificate.- Parameters:
resourceGroupName
- Name of the resource group to which the resource belongs.name
- Name of the certificate.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
deleteWithResponse
com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String name, com.azure.core.util.Context context) Description for Delete a certificate.- Parameters:
resourceGroupName
- Name of the resource group to which the resource belongs.name
- Name of the certificate.context
- The context to associate with this operation.- Returns:
- the
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
updateWithResponseAsync
Mono<com.azure.core.http.rest.Response<CertificateInner>> updateWithResponseAsync(String resourceGroupName, String name, CertificatePatchResource certificateEnvelope) Description for Create or update a certificate.- Parameters:
resourceGroupName
- Name of the resource group to which the resource belongs.name
- Name of the certificate.certificateEnvelope
- Details of certificate, if it exists already.- Returns:
- sSL certificate for an app along with
Response
on successful completion ofMono
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
updateAsync
Mono<CertificateInner> updateAsync(String resourceGroupName, String name, CertificatePatchResource certificateEnvelope) Description for Create or update a certificate.- Parameters:
resourceGroupName
- Name of the resource group to which the resource belongs.name
- Name of the certificate.certificateEnvelope
- Details of certificate, if it exists already.- Returns:
- sSL certificate for an app on successful completion of
Mono
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
update
CertificateInner update(String resourceGroupName, String name, CertificatePatchResource certificateEnvelope) Description for Create or update a certificate.- Parameters:
resourceGroupName
- Name of the resource group to which the resource belongs.name
- Name of the certificate.certificateEnvelope
- Details of certificate, if it exists already.- Returns:
- sSL certificate for an app.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
updateWithResponse
com.azure.core.http.rest.Response<CertificateInner> updateWithResponse(String resourceGroupName, String name, CertificatePatchResource certificateEnvelope, com.azure.core.util.Context context) Description for Create or update a certificate.- Parameters:
resourceGroupName
- Name of the resource group to which the resource belongs.name
- Name of the certificate.certificateEnvelope
- Details of certificate, if it exists already.context
- The context to associate with this operation.- Returns:
- sSL certificate for an app along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-