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) Create or update a certificate.createOrUpdateAsync(String resourceGroupName, String name, CertificateInner certificateEnvelope) 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) Create or update a certificate.Mono<com.azure.core.http.rest.Response<CertificateInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String name, CertificateInner certificateEnvelope) Create or update a certificate.voidDelete a certificate.deleteAsync(String resourceGroupName, String name) Delete a certificate.com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String name, com.azure.core.util.Context context) Delete a certificate.deleteWithResponseAsync(String resourceGroupName, String name) Delete a certificate.getByResourceGroup(String resourceGroupName, String name) Get a certificate.getByResourceGroupAsync(String resourceGroupName, String name) Get a certificate.com.azure.core.http.rest.Response<CertificateInner> getByResourceGroupWithResponse(String resourceGroupName, String name, com.azure.core.util.Context context) Get a certificate.Mono<com.azure.core.http.rest.Response<CertificateInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String name) Get a certificate.com.azure.core.http.rest.PagedIterable<CertificateInner> list()Get all certificates for a subscription.com.azure.core.http.rest.PagedIterable<CertificateInner> Get all certificates for a subscription.com.azure.core.http.rest.PagedFlux<CertificateInner> Get all certificates for a subscription.com.azure.core.http.rest.PagedFlux<CertificateInner> Get all certificates for a subscription.com.azure.core.http.rest.PagedIterable<CertificateInner> listByResourceGroup(String resourceGroupName) Get all certificates in a resource group.com.azure.core.http.rest.PagedIterable<CertificateInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context) Get all certificates in a resource group.com.azure.core.http.rest.PagedFlux<CertificateInner> listByResourceGroupAsync(String resourceGroupName) Get all certificates in a resource group.update(String resourceGroupName, String name, CertificatePatchResource certificateEnvelope) Create or update a certificate.updateAsync(String resourceGroupName, String name, CertificatePatchResource certificateEnvelope) 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) Create or update a certificate.Mono<com.azure.core.http.rest.Response<CertificateInner>> updateWithResponseAsync(String resourceGroupName, String name, CertificatePatchResource certificateEnvelope) Create or update a certificate.
-
Method Details
-
listAsync
Get all certificates for a subscription. 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()Get all certificates for a subscription. Description for Get all certificates for a subscription.- Specified by:
listAsyncin 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()Get all certificates for a subscription. Description for Get all certificates for a subscription.- Specified by:
listin 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) Get all certificates for a subscription. 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) Get all certificates in a resource group. Description for Get all certificates in a resource group.- Specified by:
listByResourceGroupAsyncin 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) Get all certificates in a resource group. Description for Get all certificates in a resource group.- Specified by:
listByResourceGroupin 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) Get all certificates in a resource group. 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) Get a certificate. 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
Responseon 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
Get a certificate. Description for Get a certificate.- Specified by:
getByResourceGroupAsyncin 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.
-
getByResourceGroupWithResponse
com.azure.core.http.rest.Response<CertificateInner> getByResourceGroupWithResponse(String resourceGroupName, String name, com.azure.core.util.Context context) Get a certificate. 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.
-
getByResourceGroup
Get a certificate. Description for Get a certificate.- Specified by:
getByResourceGroupin 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.
-
createOrUpdateWithResponseAsync
Mono<com.azure.core.http.rest.Response<CertificateInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String name, CertificateInner certificateEnvelope) Create or update a certificate. 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
Responseon 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) Create or update a certificate. 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.
-
createOrUpdateWithResponse
com.azure.core.http.rest.Response<CertificateInner> createOrUpdateWithResponse(String resourceGroupName, String name, CertificateInner certificateEnvelope, com.azure.core.util.Context context) Create or update a certificate. 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.
-
createOrUpdate
CertificateInner createOrUpdate(String resourceGroupName, String name, CertificateInner certificateEnvelope) Create or update a certificate. 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.
-
deleteWithResponseAsync
Mono<com.azure.core.http.rest.Response<Void>> deleteWithResponseAsync(String resourceGroupName, String name) Delete a certificate. Description for Delete a certificate.- Parameters:
resourceGroupName- Name of the resource group to which the resource belongs.name- Name of the certificate.- Returns:
- the
Responseon 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
Delete a certificate. Description for Delete a certificate.- Specified by:
deleteAsyncin interfaceInnerSupportsDelete<Void>- Parameters:
resourceGroupName- Name of the resource group to which the resource belongs.name- Name of the certificate.- Returns:
- A
Monothat 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.
-
deleteWithResponse
com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String name, com.azure.core.util.Context context) Delete a certificate. 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.
-
delete
Delete a certificate. 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.
-
updateWithResponseAsync
Mono<com.azure.core.http.rest.Response<CertificateInner>> updateWithResponseAsync(String resourceGroupName, String name, CertificatePatchResource certificateEnvelope) Create or update a certificate. 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
Responseon 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) Create or update a certificate. 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.
-
updateWithResponse
com.azure.core.http.rest.Response<CertificateInner> updateWithResponse(String resourceGroupName, String name, CertificatePatchResource certificateEnvelope, com.azure.core.util.Context context) Create or update a certificate. 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.
-
update
CertificateInner update(String resourceGroupName, String name, CertificatePatchResource certificateEnvelope) Create or update a certificate. 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.
-