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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CertificateInnercreateOrUpdate(String resourceGroupName, String name, CertificateInner certificateEnvelope)Description for Create or update a certificate.Mono<CertificateInner>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.voiddelete(String resourceGroupName, String name)Description for Delete a certificate.Mono<Void>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.Mono<com.azure.core.http.rest.Response<Void>>deleteWithResponseAsync(String resourceGroupName, String name)Description for Delete a certificate.CertificateInnergetByResourceGroup(String resourceGroupName, String name)Description for Get a certificate.Mono<CertificateInner>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>list(String filter, com.azure.core.util.Context context)Description for Get all certificates for a subscription.com.azure.core.http.rest.PagedFlux<CertificateInner>listAsync()Description for Get all certificates for a subscription.com.azure.core.http.rest.PagedFlux<CertificateInner>listAsync(String filter)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.CertificateInnerupdate(String resourceGroupName, String name, CertificatePatchResource certificateEnvelope)Description for Create or update a certificate.Mono<CertificateInner>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 Detail
-
listAsync
com.azure.core.http.rest.PagedFlux<CertificateInner> listAsync(String filter)
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.
- 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:
listAsyncin interfaceInnerSupportsListing<CertificateInner>- Returns:
- collection of certificates.
- 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:
listin interfaceInnerSupportsListing<CertificateInner>- Returns:
- collection of certificates.
- 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.
- 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:
listByResourceGroupAsyncin interfaceInnerSupportsListing<CertificateInner>- Parameters:
resourceGroupName- Name of the resource group to which the resource belongs.- Returns:
- collection of certificates.
- 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:
listByResourceGroupin interfaceInnerSupportsListing<CertificateInner>- Parameters:
resourceGroupName- Name of the resource group to which the resource belongs.- Returns:
- collection of certificates.
- 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.
- 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.
- 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
Mono<CertificateInner> getByResourceGroupAsync(String resourceGroupName, String name)
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.
- 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
CertificateInner getByResourceGroup(String resourceGroupName, String name)
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.
-
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.
- 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.
- 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.
- 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.
- 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 completion.
- 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
Mono<Void> deleteAsync(String resourceGroupName, String name)
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:
- the completion.
- 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
void delete(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.- 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.
- 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.
- 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.
- 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.
-
-